]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/windows_wrap.cpp
It *does* work now
[wxWidgets.git] / wxPython / src / gtk / windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.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 return self->m_modalShowing;
348
349
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("splitter"));
360 static const wxString wxPySashNameStr(wxT("sashWindow"));
361 static const wxString wxPySashLayoutNameStr(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("Printout"));
786 static const wxString wxPyPreviewCanvasNameStr(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 * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2014 PyObject *obj;
2015 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2016 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2017 Py_INCREF(obj);
2018 return Py_BuildValue((char *)"");
2019 }
2020 static int _wrap_FrameNameStr_set(PyObject *_val) {
2021 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2022 return 1;
2023 }
2024
2025
2026 static PyObject *_wrap_FrameNameStr_get() {
2027 PyObject *pyobj;
2028
2029 {
2030 #if wxUSE_UNICODE
2031 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2032 #else
2033 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2034 #endif
2035 }
2036 return pyobj;
2037 }
2038
2039
2040 static int _wrap_DialogNameStr_set(PyObject *_val) {
2041 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2042 return 1;
2043 }
2044
2045
2046 static PyObject *_wrap_DialogNameStr_get() {
2047 PyObject *pyobj;
2048
2049 {
2050 #if wxUSE_UNICODE
2051 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2052 #else
2053 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2054 #endif
2055 }
2056 return pyobj;
2057 }
2058
2059
2060 static int _wrap_StatusLineNameStr_set(PyObject *_val) {
2061 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2062 return 1;
2063 }
2064
2065
2066 static PyObject *_wrap_StatusLineNameStr_get() {
2067 PyObject *pyobj;
2068
2069 {
2070 #if wxUSE_UNICODE
2071 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2072 #else
2073 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2074 #endif
2075 }
2076 return pyobj;
2077 }
2078
2079
2080 static int _wrap_ToolBarNameStr_set(PyObject *_val) {
2081 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2082 return 1;
2083 }
2084
2085
2086 static PyObject *_wrap_ToolBarNameStr_get() {
2087 PyObject *pyobj;
2088
2089 {
2090 #if wxUSE_UNICODE
2091 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2092 #else
2093 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2094 #endif
2095 }
2096 return pyobj;
2097 }
2098
2099
2100 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2101 PyObject *resultobj;
2102 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2103 bool arg2 = (bool) True ;
2104 PyObject * obj0 = 0 ;
2105 PyObject * obj1 = 0 ;
2106 char *kwnames[] = {
2107 (char *) "self",(char *) "maximize", NULL
2108 };
2109
2110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2112 if (obj1) {
2113 arg2 = PyInt_AsLong(obj1) ? true : false;
2114 if (PyErr_Occurred()) SWIG_fail;
2115 }
2116 {
2117 PyThreadState* __tstate = wxPyBeginAllowThreads();
2118 (arg1)->Maximize(arg2);
2119
2120 wxPyEndAllowThreads(__tstate);
2121 if (PyErr_Occurred()) SWIG_fail;
2122 }
2123 Py_INCREF(Py_None); resultobj = Py_None;
2124 return resultobj;
2125 fail:
2126 return NULL;
2127 }
2128
2129
2130 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2131 PyObject *resultobj;
2132 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2133 PyObject * obj0 = 0 ;
2134 char *kwnames[] = {
2135 (char *) "self", NULL
2136 };
2137
2138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2140 {
2141 PyThreadState* __tstate = wxPyBeginAllowThreads();
2142 (arg1)->Restore();
2143
2144 wxPyEndAllowThreads(__tstate);
2145 if (PyErr_Occurred()) SWIG_fail;
2146 }
2147 Py_INCREF(Py_None); resultobj = Py_None;
2148 return resultobj;
2149 fail:
2150 return NULL;
2151 }
2152
2153
2154 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2155 PyObject *resultobj;
2156 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2157 bool arg2 = (bool) True ;
2158 PyObject * obj0 = 0 ;
2159 PyObject * obj1 = 0 ;
2160 char *kwnames[] = {
2161 (char *) "self",(char *) "iconize", NULL
2162 };
2163
2164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2166 if (obj1) {
2167 arg2 = PyInt_AsLong(obj1) ? true : false;
2168 if (PyErr_Occurred()) SWIG_fail;
2169 }
2170 {
2171 PyThreadState* __tstate = wxPyBeginAllowThreads();
2172 (arg1)->Iconize(arg2);
2173
2174 wxPyEndAllowThreads(__tstate);
2175 if (PyErr_Occurred()) SWIG_fail;
2176 }
2177 Py_INCREF(Py_None); resultobj = Py_None;
2178 return resultobj;
2179 fail:
2180 return NULL;
2181 }
2182
2183
2184 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2185 PyObject *resultobj;
2186 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2187 bool result;
2188 PyObject * obj0 = 0 ;
2189 char *kwnames[] = {
2190 (char *) "self", NULL
2191 };
2192
2193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2195 {
2196 PyThreadState* __tstate = wxPyBeginAllowThreads();
2197 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2198
2199 wxPyEndAllowThreads(__tstate);
2200 if (PyErr_Occurred()) SWIG_fail;
2201 }
2202 resultobj = PyInt_FromLong((long)result);
2203 return resultobj;
2204 fail:
2205 return NULL;
2206 }
2207
2208
2209 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2210 PyObject *resultobj;
2211 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2212 bool result;
2213 PyObject * obj0 = 0 ;
2214 char *kwnames[] = {
2215 (char *) "self", NULL
2216 };
2217
2218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2220 {
2221 PyThreadState* __tstate = wxPyBeginAllowThreads();
2222 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2223
2224 wxPyEndAllowThreads(__tstate);
2225 if (PyErr_Occurred()) SWIG_fail;
2226 }
2227 resultobj = PyInt_FromLong((long)result);
2228 return resultobj;
2229 fail:
2230 return NULL;
2231 }
2232
2233
2234 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2235 PyObject *resultobj;
2236 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2237 wxIcon result;
2238 PyObject * obj0 = 0 ;
2239 char *kwnames[] = {
2240 (char *) "self", NULL
2241 };
2242
2243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2245 {
2246 PyThreadState* __tstate = wxPyBeginAllowThreads();
2247 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2248
2249 wxPyEndAllowThreads(__tstate);
2250 if (PyErr_Occurred()) SWIG_fail;
2251 }
2252 {
2253 wxIcon * resultptr;
2254 resultptr = new wxIcon((wxIcon &) result);
2255 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
2256 }
2257 return resultobj;
2258 fail:
2259 return NULL;
2260 }
2261
2262
2263 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2264 PyObject *resultobj;
2265 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2266 wxIcon *arg2 = 0 ;
2267 PyObject * obj0 = 0 ;
2268 PyObject * obj1 = 0 ;
2269 char *kwnames[] = {
2270 (char *) "self",(char *) "icon", NULL
2271 };
2272
2273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2275 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2276 if (arg2 == NULL) {
2277 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2278 }
2279 {
2280 PyThreadState* __tstate = wxPyBeginAllowThreads();
2281 (arg1)->SetIcon((wxIcon const &)*arg2);
2282
2283 wxPyEndAllowThreads(__tstate);
2284 if (PyErr_Occurred()) SWIG_fail;
2285 }
2286 Py_INCREF(Py_None); resultobj = Py_None;
2287 return resultobj;
2288 fail:
2289 return NULL;
2290 }
2291
2292
2293 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2294 PyObject *resultobj;
2295 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2296 wxIconBundle *arg2 = 0 ;
2297 PyObject * obj0 = 0 ;
2298 PyObject * obj1 = 0 ;
2299 char *kwnames[] = {
2300 (char *) "self",(char *) "icons", NULL
2301 };
2302
2303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2305 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIconBundle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2306 if (arg2 == NULL) {
2307 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2308 }
2309 {
2310 PyThreadState* __tstate = wxPyBeginAllowThreads();
2311 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2312
2313 wxPyEndAllowThreads(__tstate);
2314 if (PyErr_Occurred()) SWIG_fail;
2315 }
2316 Py_INCREF(Py_None); resultobj = Py_None;
2317 return resultobj;
2318 fail:
2319 return NULL;
2320 }
2321
2322
2323 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2324 PyObject *resultobj;
2325 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2326 bool arg2 ;
2327 long arg3 = (long) wxFULLSCREEN_ALL ;
2328 bool result;
2329 PyObject * obj0 = 0 ;
2330 PyObject * obj1 = 0 ;
2331 char *kwnames[] = {
2332 (char *) "self",(char *) "show",(char *) "style", NULL
2333 };
2334
2335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&arg3)) goto fail;
2336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2337 arg2 = PyInt_AsLong(obj1) ? true : false;
2338 if (PyErr_Occurred()) SWIG_fail;
2339 {
2340 PyThreadState* __tstate = wxPyBeginAllowThreads();
2341 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2342
2343 wxPyEndAllowThreads(__tstate);
2344 if (PyErr_Occurred()) SWIG_fail;
2345 }
2346 resultobj = PyInt_FromLong((long)result);
2347 return resultobj;
2348 fail:
2349 return NULL;
2350 }
2351
2352
2353 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2354 PyObject *resultobj;
2355 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2356 bool result;
2357 PyObject * obj0 = 0 ;
2358 char *kwnames[] = {
2359 (char *) "self", NULL
2360 };
2361
2362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2364 {
2365 PyThreadState* __tstate = wxPyBeginAllowThreads();
2366 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2367
2368 wxPyEndAllowThreads(__tstate);
2369 if (PyErr_Occurred()) SWIG_fail;
2370 }
2371 resultobj = PyInt_FromLong((long)result);
2372 return resultobj;
2373 fail:
2374 return NULL;
2375 }
2376
2377
2378 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2379 PyObject *resultobj;
2380 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2381 wxString *arg2 = 0 ;
2382 bool temp2 = False ;
2383 PyObject * obj0 = 0 ;
2384 PyObject * obj1 = 0 ;
2385 char *kwnames[] = {
2386 (char *) "self",(char *) "title", NULL
2387 };
2388
2389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2391 {
2392 arg2 = wxString_in_helper(obj1);
2393 if (arg2 == NULL) SWIG_fail;
2394 temp2 = True;
2395 }
2396 {
2397 PyThreadState* __tstate = wxPyBeginAllowThreads();
2398 (arg1)->SetTitle((wxString const &)*arg2);
2399
2400 wxPyEndAllowThreads(__tstate);
2401 if (PyErr_Occurred()) SWIG_fail;
2402 }
2403 Py_INCREF(Py_None); resultobj = Py_None;
2404 {
2405 if (temp2)
2406 delete arg2;
2407 }
2408 return resultobj;
2409 fail:
2410 {
2411 if (temp2)
2412 delete arg2;
2413 }
2414 return NULL;
2415 }
2416
2417
2418 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2419 PyObject *resultobj;
2420 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2421 wxString result;
2422 PyObject * obj0 = 0 ;
2423 char *kwnames[] = {
2424 (char *) "self", NULL
2425 };
2426
2427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2429 {
2430 PyThreadState* __tstate = wxPyBeginAllowThreads();
2431 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2432
2433 wxPyEndAllowThreads(__tstate);
2434 if (PyErr_Occurred()) SWIG_fail;
2435 }
2436 {
2437 #if wxUSE_UNICODE
2438 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2439 #else
2440 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2441 #endif
2442 }
2443 return resultobj;
2444 fail:
2445 return NULL;
2446 }
2447
2448
2449 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2450 PyObject *resultobj;
2451 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2452 wxRegion *arg2 = 0 ;
2453 bool result;
2454 PyObject * obj0 = 0 ;
2455 PyObject * obj1 = 0 ;
2456 char *kwnames[] = {
2457 (char *) "self",(char *) "region", NULL
2458 };
2459
2460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2462 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2463 if (arg2 == NULL) {
2464 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2465 }
2466 {
2467 PyThreadState* __tstate = wxPyBeginAllowThreads();
2468 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2469
2470 wxPyEndAllowThreads(__tstate);
2471 if (PyErr_Occurred()) SWIG_fail;
2472 }
2473 resultobj = PyInt_FromLong((long)result);
2474 return resultobj;
2475 fail:
2476 return NULL;
2477 }
2478
2479
2480 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
2481 PyObject *obj;
2482 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2483 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
2484 Py_INCREF(obj);
2485 return Py_BuildValue((char *)"");
2486 }
2487 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
2488 PyObject *resultobj;
2489 wxWindow *arg1 = (wxWindow *) 0 ;
2490 int arg2 ;
2491 wxString *arg3 = 0 ;
2492 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2493 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2494 wxSize const &arg5_defvalue = wxDefaultSize ;
2495 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2496 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
2497 wxString const &arg7_defvalue = wxPyFrameNameStr ;
2498 wxString *arg7 = (wxString *) &arg7_defvalue ;
2499 wxFrame *result;
2500 bool temp3 = False ;
2501 wxPoint temp4 ;
2502 wxSize temp5 ;
2503 bool temp7 = False ;
2504 PyObject * obj0 = 0 ;
2505 PyObject * obj2 = 0 ;
2506 PyObject * obj3 = 0 ;
2507 PyObject * obj4 = 0 ;
2508 PyObject * obj6 = 0 ;
2509 char *kwnames[] = {
2510 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2511 };
2512
2513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Frame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
2514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2515 {
2516 arg3 = wxString_in_helper(obj2);
2517 if (arg3 == NULL) SWIG_fail;
2518 temp3 = True;
2519 }
2520 if (obj3) {
2521 {
2522 arg4 = &temp4;
2523 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2524 }
2525 }
2526 if (obj4) {
2527 {
2528 arg5 = &temp5;
2529 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2530 }
2531 }
2532 if (obj6) {
2533 {
2534 arg7 = wxString_in_helper(obj6);
2535 if (arg7 == NULL) SWIG_fail;
2536 temp7 = True;
2537 }
2538 }
2539 {
2540 PyThreadState* __tstate = wxPyBeginAllowThreads();
2541 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2542
2543 wxPyEndAllowThreads(__tstate);
2544 if (PyErr_Occurred()) SWIG_fail;
2545 }
2546 {
2547 resultobj = wxPyMake_wxObject(result);
2548 }
2549 {
2550 if (temp3)
2551 delete arg3;
2552 }
2553 {
2554 if (temp7)
2555 delete arg7;
2556 }
2557 return resultobj;
2558 fail:
2559 {
2560 if (temp3)
2561 delete arg3;
2562 }
2563 {
2564 if (temp7)
2565 delete arg7;
2566 }
2567 return NULL;
2568 }
2569
2570
2571 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
2572 PyObject *resultobj;
2573 wxFrame *result;
2574 char *kwnames[] = {
2575 NULL
2576 };
2577
2578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
2579 {
2580 PyThreadState* __tstate = wxPyBeginAllowThreads();
2581 result = (wxFrame *)new wxFrame();
2582
2583 wxPyEndAllowThreads(__tstate);
2584 if (PyErr_Occurred()) SWIG_fail;
2585 }
2586 {
2587 resultobj = wxPyMake_wxObject(result);
2588 }
2589 return resultobj;
2590 fail:
2591 return NULL;
2592 }
2593
2594
2595 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2596 PyObject *resultobj;
2597 wxFrame *arg1 = (wxFrame *) 0 ;
2598 wxWindow *arg2 = (wxWindow *) 0 ;
2599 int arg3 ;
2600 wxString *arg4 = 0 ;
2601 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2602 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2603 wxSize const &arg6_defvalue = wxDefaultSize ;
2604 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2605 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
2606 wxString const &arg8_defvalue = wxPyFrameNameStr ;
2607 wxString *arg8 = (wxString *) &arg8_defvalue ;
2608 bool result;
2609 bool temp4 = False ;
2610 wxPoint temp5 ;
2611 wxSize temp6 ;
2612 bool temp8 = False ;
2613 PyObject * obj0 = 0 ;
2614 PyObject * obj1 = 0 ;
2615 PyObject * obj3 = 0 ;
2616 PyObject * obj4 = 0 ;
2617 PyObject * obj5 = 0 ;
2618 PyObject * obj7 = 0 ;
2619 char *kwnames[] = {
2620 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2621 };
2622
2623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Frame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
2624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2625 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2626 {
2627 arg4 = wxString_in_helper(obj3);
2628 if (arg4 == NULL) SWIG_fail;
2629 temp4 = True;
2630 }
2631 if (obj4) {
2632 {
2633 arg5 = &temp5;
2634 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2635 }
2636 }
2637 if (obj5) {
2638 {
2639 arg6 = &temp6;
2640 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2641 }
2642 }
2643 if (obj7) {
2644 {
2645 arg8 = wxString_in_helper(obj7);
2646 if (arg8 == NULL) SWIG_fail;
2647 temp8 = True;
2648 }
2649 }
2650 {
2651 PyThreadState* __tstate = wxPyBeginAllowThreads();
2652 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
2653
2654 wxPyEndAllowThreads(__tstate);
2655 if (PyErr_Occurred()) SWIG_fail;
2656 }
2657 resultobj = PyInt_FromLong((long)result);
2658 {
2659 if (temp4)
2660 delete arg4;
2661 }
2662 {
2663 if (temp8)
2664 delete arg8;
2665 }
2666 return resultobj;
2667 fail:
2668 {
2669 if (temp4)
2670 delete arg4;
2671 }
2672 {
2673 if (temp8)
2674 delete arg8;
2675 }
2676 return NULL;
2677 }
2678
2679
2680 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
2681 PyObject *resultobj;
2682 wxFrame *arg1 = (wxFrame *) 0 ;
2683 wxPoint result;
2684 PyObject * obj0 = 0 ;
2685 char *kwnames[] = {
2686 (char *) "self", NULL
2687 };
2688
2689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
2690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2691 {
2692 PyThreadState* __tstate = wxPyBeginAllowThreads();
2693 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
2694
2695 wxPyEndAllowThreads(__tstate);
2696 if (PyErr_Occurred()) SWIG_fail;
2697 }
2698 {
2699 wxPoint * resultptr;
2700 resultptr = new wxPoint((wxPoint &) result);
2701 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2702 }
2703 return resultobj;
2704 fail:
2705 return NULL;
2706 }
2707
2708
2709 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
2710 PyObject *resultobj;
2711 wxFrame *arg1 = (wxFrame *) 0 ;
2712 PyObject * obj0 = 0 ;
2713 char *kwnames[] = {
2714 (char *) "self", NULL
2715 };
2716
2717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
2718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2719 {
2720 PyThreadState* __tstate = wxPyBeginAllowThreads();
2721 (arg1)->SendSizeEvent();
2722
2723 wxPyEndAllowThreads(__tstate);
2724 if (PyErr_Occurred()) SWIG_fail;
2725 }
2726 Py_INCREF(Py_None); resultobj = Py_None;
2727 return resultobj;
2728 fail:
2729 return NULL;
2730 }
2731
2732
2733 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2734 PyObject *resultobj;
2735 wxFrame *arg1 = (wxFrame *) 0 ;
2736 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
2737 PyObject * obj0 = 0 ;
2738 PyObject * obj1 = 0 ;
2739 char *kwnames[] = {
2740 (char *) "self",(char *) "menubar", NULL
2741 };
2742
2743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
2744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2745 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2746 {
2747 PyThreadState* __tstate = wxPyBeginAllowThreads();
2748 (arg1)->SetMenuBar(arg2);
2749
2750 wxPyEndAllowThreads(__tstate);
2751 if (PyErr_Occurred()) SWIG_fail;
2752 }
2753 Py_INCREF(Py_None); resultobj = Py_None;
2754 return resultobj;
2755 fail:
2756 return NULL;
2757 }
2758
2759
2760 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2761 PyObject *resultobj;
2762 wxFrame *arg1 = (wxFrame *) 0 ;
2763 wxMenuBar *result;
2764 PyObject * obj0 = 0 ;
2765 char *kwnames[] = {
2766 (char *) "self", NULL
2767 };
2768
2769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
2770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2771 {
2772 PyThreadState* __tstate = wxPyBeginAllowThreads();
2773 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
2774
2775 wxPyEndAllowThreads(__tstate);
2776 if (PyErr_Occurred()) SWIG_fail;
2777 }
2778 {
2779 resultobj = wxPyMake_wxObject(result);
2780 }
2781 return resultobj;
2782 fail:
2783 return NULL;
2784 }
2785
2786
2787 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
2788 PyObject *resultobj;
2789 wxFrame *arg1 = (wxFrame *) 0 ;
2790 int arg2 ;
2791 bool result;
2792 PyObject * obj0 = 0 ;
2793 char *kwnames[] = {
2794 (char *) "self",(char *) "winid", NULL
2795 };
2796
2797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_ProcessCommand",kwnames,&obj0,&arg2)) goto fail;
2798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2799 {
2800 PyThreadState* __tstate = wxPyBeginAllowThreads();
2801 result = (bool)(arg1)->ProcessCommand(arg2);
2802
2803 wxPyEndAllowThreads(__tstate);
2804 if (PyErr_Occurred()) SWIG_fail;
2805 }
2806 resultobj = PyInt_FromLong((long)result);
2807 return resultobj;
2808 fail:
2809 return NULL;
2810 }
2811
2812
2813 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2814 PyObject *resultobj;
2815 wxFrame *arg1 = (wxFrame *) 0 ;
2816 int arg2 = (int) 1 ;
2817 long arg3 = (long) wxST_SIZEGRIP ;
2818 int arg4 = (int) 0 ;
2819 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
2820 wxString *arg5 = (wxString *) &arg5_defvalue ;
2821 wxStatusBar *result;
2822 bool temp5 = False ;
2823 PyObject * obj0 = 0 ;
2824 PyObject * obj4 = 0 ;
2825 char *kwnames[] = {
2826 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
2827 };
2828
2829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iliO:Frame_CreateStatusBar",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
2830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2831 if (obj4) {
2832 {
2833 arg5 = wxString_in_helper(obj4);
2834 if (arg5 == NULL) SWIG_fail;
2835 temp5 = True;
2836 }
2837 }
2838 {
2839 PyThreadState* __tstate = wxPyBeginAllowThreads();
2840 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
2841
2842 wxPyEndAllowThreads(__tstate);
2843 if (PyErr_Occurred()) SWIG_fail;
2844 }
2845 {
2846 resultobj = wxPyMake_wxObject(result);
2847 }
2848 {
2849 if (temp5)
2850 delete arg5;
2851 }
2852 return resultobj;
2853 fail:
2854 {
2855 if (temp5)
2856 delete arg5;
2857 }
2858 return NULL;
2859 }
2860
2861
2862 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2863 PyObject *resultobj;
2864 wxFrame *arg1 = (wxFrame *) 0 ;
2865 wxStatusBar *result;
2866 PyObject * obj0 = 0 ;
2867 char *kwnames[] = {
2868 (char *) "self", NULL
2869 };
2870
2871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
2872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2873 {
2874 PyThreadState* __tstate = wxPyBeginAllowThreads();
2875 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
2876
2877 wxPyEndAllowThreads(__tstate);
2878 if (PyErr_Occurred()) SWIG_fail;
2879 }
2880 {
2881 resultobj = wxPyMake_wxObject(result);
2882 }
2883 return resultobj;
2884 fail:
2885 return NULL;
2886 }
2887
2888
2889 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2890 PyObject *resultobj;
2891 wxFrame *arg1 = (wxFrame *) 0 ;
2892 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
2893 PyObject * obj0 = 0 ;
2894 PyObject * obj1 = 0 ;
2895 char *kwnames[] = {
2896 (char *) "self",(char *) "statBar", NULL
2897 };
2898
2899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
2900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2901 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2902 {
2903 PyThreadState* __tstate = wxPyBeginAllowThreads();
2904 (arg1)->SetStatusBar(arg2);
2905
2906 wxPyEndAllowThreads(__tstate);
2907 if (PyErr_Occurred()) SWIG_fail;
2908 }
2909 Py_INCREF(Py_None); resultobj = Py_None;
2910 return resultobj;
2911 fail:
2912 return NULL;
2913 }
2914
2915
2916 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
2917 PyObject *resultobj;
2918 wxFrame *arg1 = (wxFrame *) 0 ;
2919 wxString *arg2 = 0 ;
2920 int arg3 = (int) 0 ;
2921 bool temp2 = False ;
2922 PyObject * obj0 = 0 ;
2923 PyObject * obj1 = 0 ;
2924 char *kwnames[] = {
2925 (char *) "self",(char *) "text",(char *) "number", NULL
2926 };
2927
2928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
2929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2930 {
2931 arg2 = wxString_in_helper(obj1);
2932 if (arg2 == NULL) SWIG_fail;
2933 temp2 = True;
2934 }
2935 {
2936 PyThreadState* __tstate = wxPyBeginAllowThreads();
2937 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
2938
2939 wxPyEndAllowThreads(__tstate);
2940 if (PyErr_Occurred()) SWIG_fail;
2941 }
2942 Py_INCREF(Py_None); resultobj = Py_None;
2943 {
2944 if (temp2)
2945 delete arg2;
2946 }
2947 return resultobj;
2948 fail:
2949 {
2950 if (temp2)
2951 delete arg2;
2952 }
2953 return NULL;
2954 }
2955
2956
2957 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
2958 PyObject *resultobj;
2959 wxFrame *arg1 = (wxFrame *) 0 ;
2960 int arg2 ;
2961 int *arg3 = (int *) 0 ;
2962 PyObject * obj0 = 0 ;
2963 PyObject * obj1 = 0 ;
2964 char *kwnames[] = {
2965 (char *) "self",(char *) "widths", NULL
2966 };
2967
2968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
2969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2970 {
2971 arg2 = PyList_Size(obj1);
2972 arg3 = int_LIST_helper(obj1);
2973 if (arg3 == NULL) SWIG_fail;
2974 }
2975 {
2976 PyThreadState* __tstate = wxPyBeginAllowThreads();
2977 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
2978
2979 wxPyEndAllowThreads(__tstate);
2980 if (PyErr_Occurred()) SWIG_fail;
2981 }
2982 Py_INCREF(Py_None); resultobj = Py_None;
2983 {
2984 if (arg3) delete [] arg3;
2985 }
2986 return resultobj;
2987 fail:
2988 {
2989 if (arg3) delete [] arg3;
2990 }
2991 return NULL;
2992 }
2993
2994
2995 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
2996 PyObject *resultobj;
2997 wxFrame *arg1 = (wxFrame *) 0 ;
2998 wxString *arg2 = 0 ;
2999 int arg3 = (int) 0 ;
3000 bool temp2 = False ;
3001 PyObject * obj0 = 0 ;
3002 PyObject * obj1 = 0 ;
3003 char *kwnames[] = {
3004 (char *) "self",(char *) "text",(char *) "number", NULL
3005 };
3006
3007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
3008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3009 {
3010 arg2 = wxString_in_helper(obj1);
3011 if (arg2 == NULL) SWIG_fail;
3012 temp2 = True;
3013 }
3014 {
3015 PyThreadState* __tstate = wxPyBeginAllowThreads();
3016 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3017
3018 wxPyEndAllowThreads(__tstate);
3019 if (PyErr_Occurred()) SWIG_fail;
3020 }
3021 Py_INCREF(Py_None); resultobj = Py_None;
3022 {
3023 if (temp2)
3024 delete arg2;
3025 }
3026 return resultobj;
3027 fail:
3028 {
3029 if (temp2)
3030 delete arg2;
3031 }
3032 return NULL;
3033 }
3034
3035
3036 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3037 PyObject *resultobj;
3038 wxFrame *arg1 = (wxFrame *) 0 ;
3039 int arg2 = (int) 0 ;
3040 PyObject * obj0 = 0 ;
3041 char *kwnames[] = {
3042 (char *) "self",(char *) "number", NULL
3043 };
3044
3045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Frame_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
3046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3047 {
3048 PyThreadState* __tstate = wxPyBeginAllowThreads();
3049 (arg1)->PopStatusText(arg2);
3050
3051 wxPyEndAllowThreads(__tstate);
3052 if (PyErr_Occurred()) SWIG_fail;
3053 }
3054 Py_INCREF(Py_None); resultobj = Py_None;
3055 return resultobj;
3056 fail:
3057 return NULL;
3058 }
3059
3060
3061 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3062 PyObject *resultobj;
3063 wxFrame *arg1 = (wxFrame *) 0 ;
3064 int arg2 ;
3065 PyObject * obj0 = 0 ;
3066 char *kwnames[] = {
3067 (char *) "self",(char *) "n", NULL
3068 };
3069
3070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_SetStatusBarPane",kwnames,&obj0,&arg2)) goto fail;
3071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3072 {
3073 PyThreadState* __tstate = wxPyBeginAllowThreads();
3074 (arg1)->SetStatusBarPane(arg2);
3075
3076 wxPyEndAllowThreads(__tstate);
3077 if (PyErr_Occurred()) SWIG_fail;
3078 }
3079 Py_INCREF(Py_None); resultobj = Py_None;
3080 return resultobj;
3081 fail:
3082 return NULL;
3083 }
3084
3085
3086 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3087 PyObject *resultobj;
3088 wxFrame *arg1 = (wxFrame *) 0 ;
3089 int result;
3090 PyObject * obj0 = 0 ;
3091 char *kwnames[] = {
3092 (char *) "self", NULL
3093 };
3094
3095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3097 {
3098 PyThreadState* __tstate = wxPyBeginAllowThreads();
3099 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3100
3101 wxPyEndAllowThreads(__tstate);
3102 if (PyErr_Occurred()) SWIG_fail;
3103 }
3104 resultobj = PyInt_FromLong((long)result);
3105 return resultobj;
3106 fail:
3107 return NULL;
3108 }
3109
3110
3111 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3112 PyObject *resultobj;
3113 wxFrame *arg1 = (wxFrame *) 0 ;
3114 long arg2 = (long) -1 ;
3115 int arg3 = (int) -1 ;
3116 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3117 wxString *arg4 = (wxString *) &arg4_defvalue ;
3118 wxToolBar *result;
3119 bool temp4 = False ;
3120 PyObject * obj0 = 0 ;
3121 PyObject * obj3 = 0 ;
3122 char *kwnames[] = {
3123 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3124 };
3125
3126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|liO:Frame_CreateToolBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
3127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3128 if (obj3) {
3129 {
3130 arg4 = wxString_in_helper(obj3);
3131 if (arg4 == NULL) SWIG_fail;
3132 temp4 = True;
3133 }
3134 }
3135 {
3136 PyThreadState* __tstate = wxPyBeginAllowThreads();
3137 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3138
3139 wxPyEndAllowThreads(__tstate);
3140 if (PyErr_Occurred()) SWIG_fail;
3141 }
3142 {
3143 resultobj = wxPyMake_wxObject(result);
3144 }
3145 {
3146 if (temp4)
3147 delete arg4;
3148 }
3149 return resultobj;
3150 fail:
3151 {
3152 if (temp4)
3153 delete arg4;
3154 }
3155 return NULL;
3156 }
3157
3158
3159 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3160 PyObject *resultobj;
3161 wxFrame *arg1 = (wxFrame *) 0 ;
3162 wxToolBar *result;
3163 PyObject * obj0 = 0 ;
3164 char *kwnames[] = {
3165 (char *) "self", NULL
3166 };
3167
3168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3170 {
3171 PyThreadState* __tstate = wxPyBeginAllowThreads();
3172 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3173
3174 wxPyEndAllowThreads(__tstate);
3175 if (PyErr_Occurred()) SWIG_fail;
3176 }
3177 {
3178 resultobj = wxPyMake_wxObject(result);
3179 }
3180 return resultobj;
3181 fail:
3182 return NULL;
3183 }
3184
3185
3186 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3187 PyObject *resultobj;
3188 wxFrame *arg1 = (wxFrame *) 0 ;
3189 wxToolBar *arg2 = (wxToolBar *) 0 ;
3190 PyObject * obj0 = 0 ;
3191 PyObject * obj1 = 0 ;
3192 char *kwnames[] = {
3193 (char *) "self",(char *) "toolbar", NULL
3194 };
3195
3196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3198 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3199 {
3200 PyThreadState* __tstate = wxPyBeginAllowThreads();
3201 (arg1)->SetToolBar(arg2);
3202
3203 wxPyEndAllowThreads(__tstate);
3204 if (PyErr_Occurred()) SWIG_fail;
3205 }
3206 Py_INCREF(Py_None); resultobj = Py_None;
3207 return resultobj;
3208 fail:
3209 return NULL;
3210 }
3211
3212
3213 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3214 PyObject *resultobj;
3215 wxFrame *arg1 = (wxFrame *) 0 ;
3216 wxString *arg2 = 0 ;
3217 bool arg3 ;
3218 bool temp2 = False ;
3219 PyObject * obj0 = 0 ;
3220 PyObject * obj1 = 0 ;
3221 PyObject * obj2 = 0 ;
3222 char *kwnames[] = {
3223 (char *) "self",(char *) "text",(char *) "show", NULL
3224 };
3225
3226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3228 {
3229 arg2 = wxString_in_helper(obj1);
3230 if (arg2 == NULL) SWIG_fail;
3231 temp2 = True;
3232 }
3233 arg3 = PyInt_AsLong(obj2) ? true : false;
3234 if (PyErr_Occurred()) SWIG_fail;
3235 {
3236 PyThreadState* __tstate = wxPyBeginAllowThreads();
3237 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3238
3239 wxPyEndAllowThreads(__tstate);
3240 if (PyErr_Occurred()) SWIG_fail;
3241 }
3242 Py_INCREF(Py_None); resultobj = Py_None;
3243 {
3244 if (temp2)
3245 delete arg2;
3246 }
3247 return resultobj;
3248 fail:
3249 {
3250 if (temp2)
3251 delete arg2;
3252 }
3253 return NULL;
3254 }
3255
3256
3257 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3258 PyObject *resultobj;
3259 wxFrame *arg1 = (wxFrame *) 0 ;
3260 wxMenu *arg2 = (wxMenu *) NULL ;
3261 PyObject * obj0 = 0 ;
3262 PyObject * obj1 = 0 ;
3263 char *kwnames[] = {
3264 (char *) "self",(char *) "menu", NULL
3265 };
3266
3267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3269 if (obj1) {
3270 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3271 }
3272 {
3273 PyThreadState* __tstate = wxPyBeginAllowThreads();
3274 (arg1)->DoMenuUpdates(arg2);
3275
3276 wxPyEndAllowThreads(__tstate);
3277 if (PyErr_Occurred()) SWIG_fail;
3278 }
3279 Py_INCREF(Py_None); resultobj = Py_None;
3280 return resultobj;
3281 fail:
3282 return NULL;
3283 }
3284
3285
3286 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3287 PyObject *obj;
3288 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3289 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3290 Py_INCREF(obj);
3291 return Py_BuildValue((char *)"");
3292 }
3293 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3294 PyObject *resultobj;
3295 wxWindow *arg1 = (wxWindow *) 0 ;
3296 int arg2 ;
3297 wxString *arg3 = 0 ;
3298 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3299 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3300 wxSize const &arg5_defvalue = wxDefaultSize ;
3301 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3302 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3303 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3304 wxString *arg7 = (wxString *) &arg7_defvalue ;
3305 wxDialog *result;
3306 bool temp3 = False ;
3307 wxPoint temp4 ;
3308 wxSize temp5 ;
3309 bool temp7 = False ;
3310 PyObject * obj0 = 0 ;
3311 PyObject * obj2 = 0 ;
3312 PyObject * obj3 = 0 ;
3313 PyObject * obj4 = 0 ;
3314 PyObject * obj6 = 0 ;
3315 char *kwnames[] = {
3316 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3317 };
3318
3319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Dialog",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3321 {
3322 arg3 = wxString_in_helper(obj2);
3323 if (arg3 == NULL) SWIG_fail;
3324 temp3 = True;
3325 }
3326 if (obj3) {
3327 {
3328 arg4 = &temp4;
3329 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3330 }
3331 }
3332 if (obj4) {
3333 {
3334 arg5 = &temp5;
3335 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3336 }
3337 }
3338 if (obj6) {
3339 {
3340 arg7 = wxString_in_helper(obj6);
3341 if (arg7 == NULL) SWIG_fail;
3342 temp7 = True;
3343 }
3344 }
3345 {
3346 PyThreadState* __tstate = wxPyBeginAllowThreads();
3347 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3348
3349 wxPyEndAllowThreads(__tstate);
3350 if (PyErr_Occurred()) SWIG_fail;
3351 }
3352 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3353 {
3354 if (temp3)
3355 delete arg3;
3356 }
3357 {
3358 if (temp7)
3359 delete arg7;
3360 }
3361 return resultobj;
3362 fail:
3363 {
3364 if (temp3)
3365 delete arg3;
3366 }
3367 {
3368 if (temp7)
3369 delete arg7;
3370 }
3371 return NULL;
3372 }
3373
3374
3375 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3376 PyObject *resultobj;
3377 wxDialog *result;
3378 char *kwnames[] = {
3379 NULL
3380 };
3381
3382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
3383 {
3384 PyThreadState* __tstate = wxPyBeginAllowThreads();
3385 result = (wxDialog *)new wxDialog();
3386
3387 wxPyEndAllowThreads(__tstate);
3388 if (PyErr_Occurred()) SWIG_fail;
3389 }
3390 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3391 return resultobj;
3392 fail:
3393 return NULL;
3394 }
3395
3396
3397 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3398 PyObject *resultobj;
3399 wxDialog *arg1 = (wxDialog *) 0 ;
3400 wxWindow *arg2 = (wxWindow *) 0 ;
3401 int arg3 ;
3402 wxString *arg4 = 0 ;
3403 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3404 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3405 wxSize const &arg6_defvalue = wxDefaultSize ;
3406 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3407 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
3408 wxString const &arg8_defvalue = wxPyDialogNameStr ;
3409 wxString *arg8 = (wxString *) &arg8_defvalue ;
3410 bool result;
3411 bool temp4 = False ;
3412 wxPoint temp5 ;
3413 wxSize temp6 ;
3414 bool temp8 = False ;
3415 PyObject * obj0 = 0 ;
3416 PyObject * obj1 = 0 ;
3417 PyObject * obj3 = 0 ;
3418 PyObject * obj4 = 0 ;
3419 PyObject * obj5 = 0 ;
3420 PyObject * obj7 = 0 ;
3421 char *kwnames[] = {
3422 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3423 };
3424
3425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Dialog_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3427 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3428 {
3429 arg4 = wxString_in_helper(obj3);
3430 if (arg4 == NULL) SWIG_fail;
3431 temp4 = True;
3432 }
3433 if (obj4) {
3434 {
3435 arg5 = &temp5;
3436 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3437 }
3438 }
3439 if (obj5) {
3440 {
3441 arg6 = &temp6;
3442 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3443 }
3444 }
3445 if (obj7) {
3446 {
3447 arg8 = wxString_in_helper(obj7);
3448 if (arg8 == NULL) SWIG_fail;
3449 temp8 = True;
3450 }
3451 }
3452 {
3453 PyThreadState* __tstate = wxPyBeginAllowThreads();
3454 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3455
3456 wxPyEndAllowThreads(__tstate);
3457 if (PyErr_Occurred()) SWIG_fail;
3458 }
3459 resultobj = PyInt_FromLong((long)result);
3460 {
3461 if (temp4)
3462 delete arg4;
3463 }
3464 {
3465 if (temp8)
3466 delete arg8;
3467 }
3468 return resultobj;
3469 fail:
3470 {
3471 if (temp4)
3472 delete arg4;
3473 }
3474 {
3475 if (temp8)
3476 delete arg8;
3477 }
3478 return NULL;
3479 }
3480
3481
3482 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3483 PyObject *resultobj;
3484 wxDialog *arg1 = (wxDialog *) 0 ;
3485 int arg2 ;
3486 PyObject * obj0 = 0 ;
3487 char *kwnames[] = {
3488 (char *) "self",(char *) "returnCode", NULL
3489 };
3490
3491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_SetReturnCode",kwnames,&obj0,&arg2)) goto fail;
3492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3493 {
3494 PyThreadState* __tstate = wxPyBeginAllowThreads();
3495 (arg1)->SetReturnCode(arg2);
3496
3497 wxPyEndAllowThreads(__tstate);
3498 if (PyErr_Occurred()) SWIG_fail;
3499 }
3500 Py_INCREF(Py_None); resultobj = Py_None;
3501 return resultobj;
3502 fail:
3503 return NULL;
3504 }
3505
3506
3507 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3508 PyObject *resultobj;
3509 wxDialog *arg1 = (wxDialog *) 0 ;
3510 int result;
3511 PyObject * obj0 = 0 ;
3512 char *kwnames[] = {
3513 (char *) "self", NULL
3514 };
3515
3516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
3517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3518 {
3519 PyThreadState* __tstate = wxPyBeginAllowThreads();
3520 result = (int)((wxDialog const *)arg1)->GetReturnCode();
3521
3522 wxPyEndAllowThreads(__tstate);
3523 if (PyErr_Occurred()) SWIG_fail;
3524 }
3525 resultobj = PyInt_FromLong((long)result);
3526 return resultobj;
3527 fail:
3528 return NULL;
3529 }
3530
3531
3532 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3533 PyObject *resultobj;
3534 wxDialog *arg1 = (wxDialog *) 0 ;
3535 wxString *arg2 = 0 ;
3536 wxSizer *result;
3537 bool temp2 = False ;
3538 PyObject * obj0 = 0 ;
3539 PyObject * obj1 = 0 ;
3540 char *kwnames[] = {
3541 (char *) "self",(char *) "message", NULL
3542 };
3543
3544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
3545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3546 {
3547 arg2 = wxString_in_helper(obj1);
3548 if (arg2 == NULL) SWIG_fail;
3549 temp2 = True;
3550 }
3551 {
3552 PyThreadState* __tstate = wxPyBeginAllowThreads();
3553 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
3554
3555 wxPyEndAllowThreads(__tstate);
3556 if (PyErr_Occurred()) SWIG_fail;
3557 }
3558 {
3559 resultobj = wxPyMake_wxSizer(result);
3560 }
3561 {
3562 if (temp2)
3563 delete arg2;
3564 }
3565 return resultobj;
3566 fail:
3567 {
3568 if (temp2)
3569 delete arg2;
3570 }
3571 return NULL;
3572 }
3573
3574
3575 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3576 PyObject *resultobj;
3577 wxDialog *arg1 = (wxDialog *) 0 ;
3578 long arg2 ;
3579 wxSizer *result;
3580 PyObject * obj0 = 0 ;
3581 char *kwnames[] = {
3582 (char *) "self",(char *) "flags", NULL
3583 };
3584
3585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Dialog_CreateButtonSizer",kwnames,&obj0,&arg2)) goto fail;
3586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3587 {
3588 PyThreadState* __tstate = wxPyBeginAllowThreads();
3589 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
3590
3591 wxPyEndAllowThreads(__tstate);
3592 if (PyErr_Occurred()) SWIG_fail;
3593 }
3594 {
3595 resultobj = wxPyMake_wxSizer(result);
3596 }
3597 return resultobj;
3598 fail:
3599 return NULL;
3600 }
3601
3602
3603 static PyObject *_wrap_Dialog_SetModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3604 PyObject *resultobj;
3605 wxDialog *arg1 = (wxDialog *) 0 ;
3606 bool arg2 ;
3607 PyObject * obj0 = 0 ;
3608 PyObject * obj1 = 0 ;
3609 char *kwnames[] = {
3610 (char *) "self",(char *) "flag", NULL
3611 };
3612
3613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetModal",kwnames,&obj0,&obj1)) goto fail;
3614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3615 arg2 = PyInt_AsLong(obj1) ? true : false;
3616 if (PyErr_Occurred()) SWIG_fail;
3617 {
3618 PyThreadState* __tstate = wxPyBeginAllowThreads();
3619 (arg1)->SetModal(arg2);
3620
3621 wxPyEndAllowThreads(__tstate);
3622 if (PyErr_Occurred()) SWIG_fail;
3623 }
3624 Py_INCREF(Py_None); resultobj = Py_None;
3625 return resultobj;
3626 fail:
3627 return NULL;
3628 }
3629
3630
3631 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3632 PyObject *resultobj;
3633 wxDialog *arg1 = (wxDialog *) 0 ;
3634 bool result;
3635 PyObject * obj0 = 0 ;
3636 char *kwnames[] = {
3637 (char *) "self", NULL
3638 };
3639
3640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
3641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3642 {
3643 PyThreadState* __tstate = wxPyBeginAllowThreads();
3644 result = (bool)((wxDialog const *)arg1)->IsModal();
3645
3646 wxPyEndAllowThreads(__tstate);
3647 if (PyErr_Occurred()) SWIG_fail;
3648 }
3649 resultobj = PyInt_FromLong((long)result);
3650 return resultobj;
3651 fail:
3652 return NULL;
3653 }
3654
3655
3656 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3657 PyObject *resultobj;
3658 wxDialog *arg1 = (wxDialog *) 0 ;
3659 int result;
3660 PyObject * obj0 = 0 ;
3661 char *kwnames[] = {
3662 (char *) "self", NULL
3663 };
3664
3665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
3666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3667 {
3668 PyThreadState* __tstate = wxPyBeginAllowThreads();
3669 result = (int)(arg1)->ShowModal();
3670
3671 wxPyEndAllowThreads(__tstate);
3672 if (PyErr_Occurred()) SWIG_fail;
3673 }
3674 resultobj = PyInt_FromLong((long)result);
3675 return resultobj;
3676 fail:
3677 return NULL;
3678 }
3679
3680
3681 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3682 PyObject *resultobj;
3683 wxDialog *arg1 = (wxDialog *) 0 ;
3684 int arg2 ;
3685 PyObject * obj0 = 0 ;
3686 char *kwnames[] = {
3687 (char *) "self",(char *) "retCode", NULL
3688 };
3689
3690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_EndModal",kwnames,&obj0,&arg2)) goto fail;
3691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3692 {
3693 PyThreadState* __tstate = wxPyBeginAllowThreads();
3694 (arg1)->EndModal(arg2);
3695
3696 wxPyEndAllowThreads(__tstate);
3697 if (PyErr_Occurred()) SWIG_fail;
3698 }
3699 Py_INCREF(Py_None); resultobj = Py_None;
3700 return resultobj;
3701 fail:
3702 return NULL;
3703 }
3704
3705
3706 static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) {
3707 PyObject *resultobj;
3708 wxDialog *arg1 = (wxDialog *) 0 ;
3709 bool result;
3710 PyObject * obj0 = 0 ;
3711 char *kwnames[] = {
3712 (char *) "self", NULL
3713 };
3714
3715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
3716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3717 {
3718 PyThreadState* __tstate = wxPyBeginAllowThreads();
3719 result = (bool)wxDialog_IsModalShowing(arg1);
3720
3721 wxPyEndAllowThreads(__tstate);
3722 if (PyErr_Occurred()) SWIG_fail;
3723 }
3724 resultobj = PyInt_FromLong((long)result);
3725 return resultobj;
3726 fail:
3727 return NULL;
3728 }
3729
3730
3731 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
3732 PyObject *obj;
3733 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3734 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
3735 Py_INCREF(obj);
3736 return Py_BuildValue((char *)"");
3737 }
3738 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3739 PyObject *resultobj;
3740 wxWindow *arg1 = (wxWindow *) 0 ;
3741 int arg2 ;
3742 wxString *arg3 = 0 ;
3743 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3744 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3745 wxSize const &arg5_defvalue = wxDefaultSize ;
3746 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3747 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3748 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3749 wxString *arg7 = (wxString *) &arg7_defvalue ;
3750 wxMiniFrame *result;
3751 bool temp3 = False ;
3752 wxPoint temp4 ;
3753 wxSize temp5 ;
3754 bool temp7 = False ;
3755 PyObject * obj0 = 0 ;
3756 PyObject * obj2 = 0 ;
3757 PyObject * obj3 = 0 ;
3758 PyObject * obj4 = 0 ;
3759 PyObject * obj6 = 0 ;
3760 char *kwnames[] = {
3761 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3762 };
3763
3764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MiniFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3766 {
3767 arg3 = wxString_in_helper(obj2);
3768 if (arg3 == NULL) SWIG_fail;
3769 temp3 = True;
3770 }
3771 if (obj3) {
3772 {
3773 arg4 = &temp4;
3774 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3775 }
3776 }
3777 if (obj4) {
3778 {
3779 arg5 = &temp5;
3780 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3781 }
3782 }
3783 if (obj6) {
3784 {
3785 arg7 = wxString_in_helper(obj6);
3786 if (arg7 == NULL) SWIG_fail;
3787 temp7 = True;
3788 }
3789 }
3790 {
3791 PyThreadState* __tstate = wxPyBeginAllowThreads();
3792 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3793
3794 wxPyEndAllowThreads(__tstate);
3795 if (PyErr_Occurred()) SWIG_fail;
3796 }
3797 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
3798 {
3799 if (temp3)
3800 delete arg3;
3801 }
3802 {
3803 if (temp7)
3804 delete arg7;
3805 }
3806 return resultobj;
3807 fail:
3808 {
3809 if (temp3)
3810 delete arg3;
3811 }
3812 {
3813 if (temp7)
3814 delete arg7;
3815 }
3816 return NULL;
3817 }
3818
3819
3820 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3821 PyObject *resultobj;
3822 wxMiniFrame *result;
3823 char *kwnames[] = {
3824 NULL
3825 };
3826
3827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
3828 {
3829 PyThreadState* __tstate = wxPyBeginAllowThreads();
3830 result = (wxMiniFrame *)new wxMiniFrame();
3831
3832 wxPyEndAllowThreads(__tstate);
3833 if (PyErr_Occurred()) SWIG_fail;
3834 }
3835 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
3836 return resultobj;
3837 fail:
3838 return NULL;
3839 }
3840
3841
3842 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3843 PyObject *resultobj;
3844 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
3845 wxWindow *arg2 = (wxWindow *) 0 ;
3846 int arg3 ;
3847 wxString *arg4 = 0 ;
3848 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3849 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3850 wxSize const &arg6_defvalue = wxDefaultSize ;
3851 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3852 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3853 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3854 wxString *arg8 = (wxString *) &arg8_defvalue ;
3855 bool result;
3856 bool temp4 = False ;
3857 wxPoint temp5 ;
3858 wxSize temp6 ;
3859 bool temp8 = False ;
3860 PyObject * obj0 = 0 ;
3861 PyObject * obj1 = 0 ;
3862 PyObject * obj3 = 0 ;
3863 PyObject * obj4 = 0 ;
3864 PyObject * obj5 = 0 ;
3865 PyObject * obj7 = 0 ;
3866 char *kwnames[] = {
3867 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3868 };
3869
3870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MiniFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMiniFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3872 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3873 {
3874 arg4 = wxString_in_helper(obj3);
3875 if (arg4 == NULL) SWIG_fail;
3876 temp4 = True;
3877 }
3878 if (obj4) {
3879 {
3880 arg5 = &temp5;
3881 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3882 }
3883 }
3884 if (obj5) {
3885 {
3886 arg6 = &temp6;
3887 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3888 }
3889 }
3890 if (obj7) {
3891 {
3892 arg8 = wxString_in_helper(obj7);
3893 if (arg8 == NULL) SWIG_fail;
3894 temp8 = True;
3895 }
3896 }
3897 {
3898 PyThreadState* __tstate = wxPyBeginAllowThreads();
3899 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3900
3901 wxPyEndAllowThreads(__tstate);
3902 if (PyErr_Occurred()) SWIG_fail;
3903 }
3904 resultobj = PyInt_FromLong((long)result);
3905 {
3906 if (temp4)
3907 delete arg4;
3908 }
3909 {
3910 if (temp8)
3911 delete arg8;
3912 }
3913 return resultobj;
3914 fail:
3915 {
3916 if (temp4)
3917 delete arg4;
3918 }
3919 {
3920 if (temp8)
3921 delete arg8;
3922 }
3923 return NULL;
3924 }
3925
3926
3927 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
3928 PyObject *obj;
3929 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3930 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
3931 Py_INCREF(obj);
3932 return Py_BuildValue((char *)"");
3933 }
3934 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3935 PyObject *resultobj;
3936 wxBitmap *arg1 = 0 ;
3937 wxWindow *arg2 = (wxWindow *) 0 ;
3938 int arg3 ;
3939 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3940 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3941 wxSize const &arg5_defvalue = wxDefaultSize ;
3942 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3943 long arg6 = (long) wxNO_BORDER ;
3944 wxSplashScreenWindow *result;
3945 wxPoint temp4 ;
3946 wxSize temp5 ;
3947 PyObject * obj0 = 0 ;
3948 PyObject * obj1 = 0 ;
3949 PyObject * obj3 = 0 ;
3950 PyObject * obj4 = 0 ;
3951 char *kwnames[] = {
3952 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3953 };
3954
3955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOl:new_SplashScreenWindow",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
3956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3957 if (arg1 == NULL) {
3958 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3959 }
3960 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3961 if (obj3) {
3962 {
3963 arg4 = &temp4;
3964 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3965 }
3966 }
3967 if (obj4) {
3968 {
3969 arg5 = &temp5;
3970 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3971 }
3972 }
3973 {
3974 PyThreadState* __tstate = wxPyBeginAllowThreads();
3975 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
3976
3977 wxPyEndAllowThreads(__tstate);
3978 if (PyErr_Occurred()) SWIG_fail;
3979 }
3980 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 1);
3981 return resultobj;
3982 fail:
3983 return NULL;
3984 }
3985
3986
3987 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
3988 PyObject *resultobj;
3989 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
3990 wxBitmap *arg2 = 0 ;
3991 PyObject * obj0 = 0 ;
3992 PyObject * obj1 = 0 ;
3993 char *kwnames[] = {
3994 (char *) "self",(char *) "bitmap", NULL
3995 };
3996
3997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
3998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3999 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4000 if (arg2 == NULL) {
4001 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4002 }
4003 {
4004 PyThreadState* __tstate = wxPyBeginAllowThreads();
4005 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4006
4007 wxPyEndAllowThreads(__tstate);
4008 if (PyErr_Occurred()) SWIG_fail;
4009 }
4010 Py_INCREF(Py_None); resultobj = Py_None;
4011 return resultobj;
4012 fail:
4013 return NULL;
4014 }
4015
4016
4017 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4018 PyObject *resultobj;
4019 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4020 wxBitmap *result;
4021 PyObject * obj0 = 0 ;
4022 char *kwnames[] = {
4023 (char *) "self", NULL
4024 };
4025
4026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4028 {
4029 PyThreadState* __tstate = wxPyBeginAllowThreads();
4030 {
4031 wxBitmap &_result_ref = (arg1)->GetBitmap();
4032 result = (wxBitmap *) &_result_ref;
4033 }
4034
4035 wxPyEndAllowThreads(__tstate);
4036 if (PyErr_Occurred()) SWIG_fail;
4037 }
4038 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
4039 return resultobj;
4040 fail:
4041 return NULL;
4042 }
4043
4044
4045 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4046 PyObject *obj;
4047 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4048 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4049 Py_INCREF(obj);
4050 return Py_BuildValue((char *)"");
4051 }
4052 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4053 PyObject *resultobj;
4054 wxBitmap *arg1 = 0 ;
4055 long arg2 ;
4056 int arg3 ;
4057 wxWindow *arg4 = (wxWindow *) 0 ;
4058 int arg5 ;
4059 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4060 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4061 wxSize const &arg7_defvalue = wxDefaultSize ;
4062 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4063 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4064 wxSplashScreen *result;
4065 wxPoint temp6 ;
4066 wxSize temp7 ;
4067 PyObject * obj0 = 0 ;
4068 PyObject * obj3 = 0 ;
4069 PyObject * obj5 = 0 ;
4070 PyObject * obj6 = 0 ;
4071 char *kwnames[] = {
4072 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4073 };
4074
4075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliOi|OOl:new_SplashScreen",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5,&obj5,&obj6,&arg8)) goto fail;
4076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4077 if (arg1 == NULL) {
4078 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4079 }
4080 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4081 if (obj5) {
4082 {
4083 arg6 = &temp6;
4084 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4085 }
4086 }
4087 if (obj6) {
4088 {
4089 arg7 = &temp7;
4090 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4091 }
4092 }
4093 {
4094 PyThreadState* __tstate = wxPyBeginAllowThreads();
4095 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4096
4097 wxPyEndAllowThreads(__tstate);
4098 if (PyErr_Occurred()) SWIG_fail;
4099 }
4100 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreen, 1);
4101 return resultobj;
4102 fail:
4103 return NULL;
4104 }
4105
4106
4107 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4108 PyObject *resultobj;
4109 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4110 long result;
4111 PyObject * obj0 = 0 ;
4112 char *kwnames[] = {
4113 (char *) "self", NULL
4114 };
4115
4116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4118 {
4119 PyThreadState* __tstate = wxPyBeginAllowThreads();
4120 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4121
4122 wxPyEndAllowThreads(__tstate);
4123 if (PyErr_Occurred()) SWIG_fail;
4124 }
4125 resultobj = PyInt_FromLong((long)result);
4126 return resultobj;
4127 fail:
4128 return NULL;
4129 }
4130
4131
4132 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4133 PyObject *resultobj;
4134 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4135 wxSplashScreenWindow *result;
4136 PyObject * obj0 = 0 ;
4137 char *kwnames[] = {
4138 (char *) "self", NULL
4139 };
4140
4141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4143 {
4144 PyThreadState* __tstate = wxPyBeginAllowThreads();
4145 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4146
4147 wxPyEndAllowThreads(__tstate);
4148 if (PyErr_Occurred()) SWIG_fail;
4149 }
4150 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 0);
4151 return resultobj;
4152 fail:
4153 return NULL;
4154 }
4155
4156
4157 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4158 PyObject *resultobj;
4159 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4160 int result;
4161 PyObject * obj0 = 0 ;
4162 char *kwnames[] = {
4163 (char *) "self", NULL
4164 };
4165
4166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4168 {
4169 PyThreadState* __tstate = wxPyBeginAllowThreads();
4170 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4171
4172 wxPyEndAllowThreads(__tstate);
4173 if (PyErr_Occurred()) SWIG_fail;
4174 }
4175 resultobj = PyInt_FromLong((long)result);
4176 return resultobj;
4177 fail:
4178 return NULL;
4179 }
4180
4181
4182 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4183 PyObject *obj;
4184 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4185 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4186 Py_INCREF(obj);
4187 return Py_BuildValue((char *)"");
4188 }
4189 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4190 PyObject *resultobj;
4191 wxWindow *arg1 = (wxWindow *) 0 ;
4192 int arg2 = (int) -1 ;
4193 long arg3 = (long) wxST_SIZEGRIP ;
4194 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4195 wxString *arg4 = (wxString *) &arg4_defvalue ;
4196 wxStatusBar *result;
4197 bool temp4 = False ;
4198 PyObject * obj0 = 0 ;
4199 PyObject * obj3 = 0 ;
4200 char *kwnames[] = {
4201 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4202 };
4203
4204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ilO:new_StatusBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
4205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4206 if (obj3) {
4207 {
4208 arg4 = wxString_in_helper(obj3);
4209 if (arg4 == NULL) SWIG_fail;
4210 temp4 = True;
4211 }
4212 }
4213 {
4214 PyThreadState* __tstate = wxPyBeginAllowThreads();
4215 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4216
4217 wxPyEndAllowThreads(__tstate);
4218 if (PyErr_Occurred()) SWIG_fail;
4219 }
4220 {
4221 resultobj = wxPyMake_wxObject(result);
4222 }
4223 {
4224 if (temp4)
4225 delete arg4;
4226 }
4227 return resultobj;
4228 fail:
4229 {
4230 if (temp4)
4231 delete arg4;
4232 }
4233 return NULL;
4234 }
4235
4236
4237 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4238 PyObject *resultobj;
4239 wxStatusBar *result;
4240 char *kwnames[] = {
4241 NULL
4242 };
4243
4244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4245 {
4246 PyThreadState* __tstate = wxPyBeginAllowThreads();
4247 result = (wxStatusBar *)new wxStatusBar();
4248
4249 wxPyEndAllowThreads(__tstate);
4250 if (PyErr_Occurred()) SWIG_fail;
4251 }
4252 {
4253 resultobj = wxPyMake_wxObject(result);
4254 }
4255 return resultobj;
4256 fail:
4257 return NULL;
4258 }
4259
4260
4261 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4262 PyObject *resultobj;
4263 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4264 wxWindow *arg2 = (wxWindow *) 0 ;
4265 int arg3 ;
4266 long arg4 = (long) wxST_SIZEGRIP ;
4267 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4268 wxString *arg5 = (wxString *) &arg5_defvalue ;
4269 bool result;
4270 bool temp5 = False ;
4271 PyObject * obj0 = 0 ;
4272 PyObject * obj1 = 0 ;
4273 PyObject * obj4 = 0 ;
4274 char *kwnames[] = {
4275 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4276 };
4277
4278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|lO:StatusBar_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
4279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4280 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4281 if (obj4) {
4282 {
4283 arg5 = wxString_in_helper(obj4);
4284 if (arg5 == NULL) SWIG_fail;
4285 temp5 = True;
4286 }
4287 }
4288 {
4289 PyThreadState* __tstate = wxPyBeginAllowThreads();
4290 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4291
4292 wxPyEndAllowThreads(__tstate);
4293 if (PyErr_Occurred()) SWIG_fail;
4294 }
4295 resultobj = PyInt_FromLong((long)result);
4296 {
4297 if (temp5)
4298 delete arg5;
4299 }
4300 return resultobj;
4301 fail:
4302 {
4303 if (temp5)
4304 delete arg5;
4305 }
4306 return NULL;
4307 }
4308
4309
4310 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4311 PyObject *resultobj;
4312 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4313 int arg2 = (int) 1 ;
4314 PyObject * obj0 = 0 ;
4315 char *kwnames[] = {
4316 (char *) "self",(char *) "number", NULL
4317 };
4318
4319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_SetFieldsCount",kwnames,&obj0,&arg2)) goto fail;
4320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4321 {
4322 PyThreadState* __tstate = wxPyBeginAllowThreads();
4323 (arg1)->SetFieldsCount(arg2);
4324
4325 wxPyEndAllowThreads(__tstate);
4326 if (PyErr_Occurred()) SWIG_fail;
4327 }
4328 Py_INCREF(Py_None); resultobj = Py_None;
4329 return resultobj;
4330 fail:
4331 return NULL;
4332 }
4333
4334
4335 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4336 PyObject *resultobj;
4337 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4338 int result;
4339 PyObject * obj0 = 0 ;
4340 char *kwnames[] = {
4341 (char *) "self", NULL
4342 };
4343
4344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
4345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4346 {
4347 PyThreadState* __tstate = wxPyBeginAllowThreads();
4348 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
4349
4350 wxPyEndAllowThreads(__tstate);
4351 if (PyErr_Occurred()) SWIG_fail;
4352 }
4353 resultobj = PyInt_FromLong((long)result);
4354 return resultobj;
4355 fail:
4356 return NULL;
4357 }
4358
4359
4360 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4361 PyObject *resultobj;
4362 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4363 wxString *arg2 = 0 ;
4364 int arg3 = (int) 0 ;
4365 bool temp2 = False ;
4366 PyObject * obj0 = 0 ;
4367 PyObject * obj1 = 0 ;
4368 char *kwnames[] = {
4369 (char *) "self",(char *) "text",(char *) "number", NULL
4370 };
4371
4372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4374 {
4375 arg2 = wxString_in_helper(obj1);
4376 if (arg2 == NULL) SWIG_fail;
4377 temp2 = True;
4378 }
4379 {
4380 PyThreadState* __tstate = wxPyBeginAllowThreads();
4381 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
4382
4383 wxPyEndAllowThreads(__tstate);
4384 if (PyErr_Occurred()) SWIG_fail;
4385 }
4386 Py_INCREF(Py_None); resultobj = Py_None;
4387 {
4388 if (temp2)
4389 delete arg2;
4390 }
4391 return resultobj;
4392 fail:
4393 {
4394 if (temp2)
4395 delete arg2;
4396 }
4397 return NULL;
4398 }
4399
4400
4401 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4402 PyObject *resultobj;
4403 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4404 int arg2 = (int) 0 ;
4405 wxString result;
4406 PyObject * obj0 = 0 ;
4407 char *kwnames[] = {
4408 (char *) "self",(char *) "number", NULL
4409 };
4410
4411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_GetStatusText",kwnames,&obj0,&arg2)) goto fail;
4412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4413 {
4414 PyThreadState* __tstate = wxPyBeginAllowThreads();
4415 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
4416
4417 wxPyEndAllowThreads(__tstate);
4418 if (PyErr_Occurred()) SWIG_fail;
4419 }
4420 {
4421 #if wxUSE_UNICODE
4422 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4423 #else
4424 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4425 #endif
4426 }
4427 return resultobj;
4428 fail:
4429 return NULL;
4430 }
4431
4432
4433 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4434 PyObject *resultobj;
4435 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4436 wxString *arg2 = 0 ;
4437 int arg3 = (int) 0 ;
4438 bool temp2 = False ;
4439 PyObject * obj0 = 0 ;
4440 PyObject * obj1 = 0 ;
4441 char *kwnames[] = {
4442 (char *) "self",(char *) "text",(char *) "number", NULL
4443 };
4444
4445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4447 {
4448 arg2 = wxString_in_helper(obj1);
4449 if (arg2 == NULL) SWIG_fail;
4450 temp2 = True;
4451 }
4452 {
4453 PyThreadState* __tstate = wxPyBeginAllowThreads();
4454 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
4455
4456 wxPyEndAllowThreads(__tstate);
4457 if (PyErr_Occurred()) SWIG_fail;
4458 }
4459 Py_INCREF(Py_None); resultobj = Py_None;
4460 {
4461 if (temp2)
4462 delete arg2;
4463 }
4464 return resultobj;
4465 fail:
4466 {
4467 if (temp2)
4468 delete arg2;
4469 }
4470 return NULL;
4471 }
4472
4473
4474 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4475 PyObject *resultobj;
4476 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4477 int arg2 = (int) 0 ;
4478 PyObject * obj0 = 0 ;
4479 char *kwnames[] = {
4480 (char *) "self",(char *) "number", NULL
4481 };
4482
4483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
4484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4485 {
4486 PyThreadState* __tstate = wxPyBeginAllowThreads();
4487 (arg1)->PopStatusText(arg2);
4488
4489 wxPyEndAllowThreads(__tstate);
4490 if (PyErr_Occurred()) SWIG_fail;
4491 }
4492 Py_INCREF(Py_None); resultobj = Py_None;
4493 return resultobj;
4494 fail:
4495 return NULL;
4496 }
4497
4498
4499 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
4500 PyObject *resultobj;
4501 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4502 int arg2 ;
4503 int *arg3 = (int *) 0 ;
4504 PyObject * obj0 = 0 ;
4505 PyObject * obj1 = 0 ;
4506 char *kwnames[] = {
4507 (char *) "self",(char *) "widths", NULL
4508 };
4509
4510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
4511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4512 {
4513 arg2 = PyList_Size(obj1);
4514 arg3 = int_LIST_helper(obj1);
4515 if (arg3 == NULL) SWIG_fail;
4516 }
4517 {
4518 PyThreadState* __tstate = wxPyBeginAllowThreads();
4519 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
4520
4521 wxPyEndAllowThreads(__tstate);
4522 if (PyErr_Occurred()) SWIG_fail;
4523 }
4524 Py_INCREF(Py_None); resultobj = Py_None;
4525 {
4526 if (arg3) delete [] arg3;
4527 }
4528 return resultobj;
4529 fail:
4530 {
4531 if (arg3) delete [] arg3;
4532 }
4533 return NULL;
4534 }
4535
4536
4537 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4538 PyObject *resultobj;
4539 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4540 int arg2 ;
4541 wxRect result;
4542 PyObject * obj0 = 0 ;
4543 char *kwnames[] = {
4544 (char *) "self",(char *) "i", NULL
4545 };
4546
4547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_GetFieldRect",kwnames,&obj0,&arg2)) goto fail;
4548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4549 {
4550 PyThreadState* __tstate = wxPyBeginAllowThreads();
4551 result = wxStatusBar_GetFieldRect(arg1,arg2);
4552
4553 wxPyEndAllowThreads(__tstate);
4554 if (PyErr_Occurred()) SWIG_fail;
4555 }
4556 {
4557 wxRect * resultptr;
4558 resultptr = new wxRect((wxRect &) result);
4559 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
4560 }
4561 return resultobj;
4562 fail:
4563 return NULL;
4564 }
4565
4566
4567 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
4568 PyObject *resultobj;
4569 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4570 int arg2 ;
4571 PyObject * obj0 = 0 ;
4572 char *kwnames[] = {
4573 (char *) "self",(char *) "height", NULL
4574 };
4575
4576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_SetMinHeight",kwnames,&obj0,&arg2)) goto fail;
4577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4578 {
4579 PyThreadState* __tstate = wxPyBeginAllowThreads();
4580 (arg1)->SetMinHeight(arg2);
4581
4582 wxPyEndAllowThreads(__tstate);
4583 if (PyErr_Occurred()) SWIG_fail;
4584 }
4585 Py_INCREF(Py_None); resultobj = Py_None;
4586 return resultobj;
4587 fail:
4588 return NULL;
4589 }
4590
4591
4592 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
4593 PyObject *resultobj;
4594 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4595 int result;
4596 PyObject * obj0 = 0 ;
4597 char *kwnames[] = {
4598 (char *) "self", NULL
4599 };
4600
4601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
4602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4603 {
4604 PyThreadState* __tstate = wxPyBeginAllowThreads();
4605 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
4606
4607 wxPyEndAllowThreads(__tstate);
4608 if (PyErr_Occurred()) SWIG_fail;
4609 }
4610 resultobj = PyInt_FromLong((long)result);
4611 return resultobj;
4612 fail:
4613 return NULL;
4614 }
4615
4616
4617 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
4618 PyObject *resultobj;
4619 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4620 int result;
4621 PyObject * obj0 = 0 ;
4622 char *kwnames[] = {
4623 (char *) "self", NULL
4624 };
4625
4626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
4627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4628 {
4629 PyThreadState* __tstate = wxPyBeginAllowThreads();
4630 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
4631
4632 wxPyEndAllowThreads(__tstate);
4633 if (PyErr_Occurred()) SWIG_fail;
4634 }
4635 resultobj = PyInt_FromLong((long)result);
4636 return resultobj;
4637 fail:
4638 return NULL;
4639 }
4640
4641
4642 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
4643 PyObject *obj;
4644 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4645 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
4646 Py_INCREF(obj);
4647 return Py_BuildValue((char *)"");
4648 }
4649 static int _wrap_SplitterNameStr_set(PyObject *_val) {
4650 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
4651 return 1;
4652 }
4653
4654
4655 static PyObject *_wrap_SplitterNameStr_get() {
4656 PyObject *pyobj;
4657
4658 {
4659 #if wxUSE_UNICODE
4660 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
4661 #else
4662 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
4663 #endif
4664 }
4665 return pyobj;
4666 }
4667
4668
4669 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4670 PyObject *resultobj;
4671 wxWindow *arg1 = (wxWindow *) 0 ;
4672 int arg2 ;
4673 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4674 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4675 wxSize const &arg4_defvalue = wxDefaultSize ;
4676 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4677 long arg5 = (long) wxSP_3D ;
4678 wxString const &arg6_defvalue = wxPySplitterNameStr ;
4679 wxString *arg6 = (wxString *) &arg6_defvalue ;
4680 wxSplitterWindow *result;
4681 wxPoint temp3 ;
4682 wxSize temp4 ;
4683 bool temp6 = False ;
4684 PyObject * obj0 = 0 ;
4685 PyObject * obj2 = 0 ;
4686 PyObject * obj3 = 0 ;
4687 PyObject * obj5 = 0 ;
4688 char *kwnames[] = {
4689 (char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4690 };
4691
4692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SplitterWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
4693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4694 if (obj2) {
4695 {
4696 arg3 = &temp3;
4697 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4698 }
4699 }
4700 if (obj3) {
4701 {
4702 arg4 = &temp4;
4703 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4704 }
4705 }
4706 if (obj5) {
4707 {
4708 arg6 = wxString_in_helper(obj5);
4709 if (arg6 == NULL) SWIG_fail;
4710 temp6 = True;
4711 }
4712 }
4713 {
4714 PyThreadState* __tstate = wxPyBeginAllowThreads();
4715 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4716
4717 wxPyEndAllowThreads(__tstate);
4718 if (PyErr_Occurred()) SWIG_fail;
4719 }
4720 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
4721 {
4722 if (temp6)
4723 delete arg6;
4724 }
4725 return resultobj;
4726 fail:
4727 {
4728 if (temp6)
4729 delete arg6;
4730 }
4731 return NULL;
4732 }
4733
4734
4735 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4736 PyObject *resultobj;
4737 wxSplitterWindow *result;
4738 char *kwnames[] = {
4739 NULL
4740 };
4741
4742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
4743 {
4744 PyThreadState* __tstate = wxPyBeginAllowThreads();
4745 result = (wxSplitterWindow *)new wxSplitterWindow();
4746
4747 wxPyEndAllowThreads(__tstate);
4748 if (PyErr_Occurred()) SWIG_fail;
4749 }
4750 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
4751 return resultobj;
4752 fail:
4753 return NULL;
4754 }
4755
4756
4757 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4758 PyObject *resultobj;
4759 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4760 wxWindow *arg2 = (wxWindow *) 0 ;
4761 int arg3 ;
4762 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4763 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4764 wxSize const &arg5_defvalue = wxDefaultSize ;
4765 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4766 long arg6 = (long) wxSP_3D ;
4767 wxString const &arg7_defvalue = wxPySplitterNameStr ;
4768 wxString *arg7 = (wxString *) &arg7_defvalue ;
4769 bool result;
4770 wxPoint temp4 ;
4771 wxSize temp5 ;
4772 bool temp7 = False ;
4773 PyObject * obj0 = 0 ;
4774 PyObject * obj1 = 0 ;
4775 PyObject * obj3 = 0 ;
4776 PyObject * obj4 = 0 ;
4777 PyObject * obj6 = 0 ;
4778 char *kwnames[] = {
4779 (char *) "self",(char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4780 };
4781
4782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SplitterWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
4783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4784 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4785 if (obj3) {
4786 {
4787 arg4 = &temp4;
4788 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4789 }
4790 }
4791 if (obj4) {
4792 {
4793 arg5 = &temp5;
4794 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4795 }
4796 }
4797 if (obj6) {
4798 {
4799 arg7 = wxString_in_helper(obj6);
4800 if (arg7 == NULL) SWIG_fail;
4801 temp7 = True;
4802 }
4803 }
4804 {
4805 PyThreadState* __tstate = wxPyBeginAllowThreads();
4806 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4807
4808 wxPyEndAllowThreads(__tstate);
4809 if (PyErr_Occurred()) SWIG_fail;
4810 }
4811 resultobj = PyInt_FromLong((long)result);
4812 {
4813 if (temp7)
4814 delete arg7;
4815 }
4816 return resultobj;
4817 fail:
4818 {
4819 if (temp7)
4820 delete arg7;
4821 }
4822 return NULL;
4823 }
4824
4825
4826 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
4827 PyObject *resultobj;
4828 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4829 wxWindow *result;
4830 PyObject * obj0 = 0 ;
4831 char *kwnames[] = {
4832 (char *) "self", NULL
4833 };
4834
4835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
4836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4837 {
4838 PyThreadState* __tstate = wxPyBeginAllowThreads();
4839 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
4840
4841 wxPyEndAllowThreads(__tstate);
4842 if (PyErr_Occurred()) SWIG_fail;
4843 }
4844 {
4845 resultobj = wxPyMake_wxObject(result);
4846 }
4847 return resultobj;
4848 fail:
4849 return NULL;
4850 }
4851
4852
4853 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
4854 PyObject *resultobj;
4855 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4856 wxWindow *result;
4857 PyObject * obj0 = 0 ;
4858 char *kwnames[] = {
4859 (char *) "self", NULL
4860 };
4861
4862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
4863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4864 {
4865 PyThreadState* __tstate = wxPyBeginAllowThreads();
4866 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
4867
4868 wxPyEndAllowThreads(__tstate);
4869 if (PyErr_Occurred()) SWIG_fail;
4870 }
4871 {
4872 resultobj = wxPyMake_wxObject(result);
4873 }
4874 return resultobj;
4875 fail:
4876 return NULL;
4877 }
4878
4879
4880 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4881 PyObject *resultobj;
4882 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4883 int arg2 ;
4884 PyObject * obj0 = 0 ;
4885 char *kwnames[] = {
4886 (char *) "self",(char *) "mode", NULL
4887 };
4888
4889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSplitMode",kwnames,&obj0,&arg2)) goto fail;
4890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4891 {
4892 PyThreadState* __tstate = wxPyBeginAllowThreads();
4893 (arg1)->SetSplitMode(arg2);
4894
4895 wxPyEndAllowThreads(__tstate);
4896 if (PyErr_Occurred()) SWIG_fail;
4897 }
4898 Py_INCREF(Py_None); resultobj = Py_None;
4899 return resultobj;
4900 fail:
4901 return NULL;
4902 }
4903
4904
4905 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4906 PyObject *resultobj;
4907 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4908 int result;
4909 PyObject * obj0 = 0 ;
4910 char *kwnames[] = {
4911 (char *) "self", NULL
4912 };
4913
4914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
4915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4916 {
4917 PyThreadState* __tstate = wxPyBeginAllowThreads();
4918 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
4919
4920 wxPyEndAllowThreads(__tstate);
4921 if (PyErr_Occurred()) SWIG_fail;
4922 }
4923 resultobj = PyInt_FromLong((long)result);
4924 return resultobj;
4925 fail:
4926 return NULL;
4927 }
4928
4929
4930 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
4931 PyObject *resultobj;
4932 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4933 wxWindow *arg2 = (wxWindow *) 0 ;
4934 PyObject * obj0 = 0 ;
4935 PyObject * obj1 = 0 ;
4936 char *kwnames[] = {
4937 (char *) "self",(char *) "window", NULL
4938 };
4939
4940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
4941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4942 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4943 {
4944 PyThreadState* __tstate = wxPyBeginAllowThreads();
4945 (arg1)->Initialize(arg2);
4946
4947 wxPyEndAllowThreads(__tstate);
4948 if (PyErr_Occurred()) SWIG_fail;
4949 }
4950 Py_INCREF(Py_None); resultobj = Py_None;
4951 return resultobj;
4952 fail:
4953 return NULL;
4954 }
4955
4956
4957 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
4958 PyObject *resultobj;
4959 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4960 wxWindow *arg2 = (wxWindow *) 0 ;
4961 wxWindow *arg3 = (wxWindow *) 0 ;
4962 int arg4 = (int) 0 ;
4963 bool result;
4964 PyObject * obj0 = 0 ;
4965 PyObject * obj1 = 0 ;
4966 PyObject * obj2 = 0 ;
4967 char *kwnames[] = {
4968 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
4969 };
4970
4971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
4972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4973 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4974 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4975 {
4976 PyThreadState* __tstate = wxPyBeginAllowThreads();
4977 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
4978
4979 wxPyEndAllowThreads(__tstate);
4980 if (PyErr_Occurred()) SWIG_fail;
4981 }
4982 resultobj = PyInt_FromLong((long)result);
4983 return resultobj;
4984 fail:
4985 return NULL;
4986 }
4987
4988
4989 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
4990 PyObject *resultobj;
4991 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4992 wxWindow *arg2 = (wxWindow *) 0 ;
4993 wxWindow *arg3 = (wxWindow *) 0 ;
4994 int arg4 = (int) 0 ;
4995 bool result;
4996 PyObject * obj0 = 0 ;
4997 PyObject * obj1 = 0 ;
4998 PyObject * obj2 = 0 ;
4999 char *kwnames[] = {
5000 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5001 };
5002
5003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
5004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5005 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5006 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5007 {
5008 PyThreadState* __tstate = wxPyBeginAllowThreads();
5009 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5010
5011 wxPyEndAllowThreads(__tstate);
5012 if (PyErr_Occurred()) SWIG_fail;
5013 }
5014 resultobj = PyInt_FromLong((long)result);
5015 return resultobj;
5016 fail:
5017 return NULL;
5018 }
5019
5020
5021 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5022 PyObject *resultobj;
5023 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5024 wxWindow *arg2 = (wxWindow *) NULL ;
5025 bool result;
5026 PyObject * obj0 = 0 ;
5027 PyObject * obj1 = 0 ;
5028 char *kwnames[] = {
5029 (char *) "self",(char *) "toRemove", NULL
5030 };
5031
5032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5034 if (obj1) {
5035 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5036 }
5037 {
5038 PyThreadState* __tstate = wxPyBeginAllowThreads();
5039 result = (bool)(arg1)->Unsplit(arg2);
5040
5041 wxPyEndAllowThreads(__tstate);
5042 if (PyErr_Occurred()) SWIG_fail;
5043 }
5044 resultobj = PyInt_FromLong((long)result);
5045 return resultobj;
5046 fail:
5047 return NULL;
5048 }
5049
5050
5051 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5052 PyObject *resultobj;
5053 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5054 wxWindow *arg2 = (wxWindow *) 0 ;
5055 wxWindow *arg3 = (wxWindow *) 0 ;
5056 bool result;
5057 PyObject * obj0 = 0 ;
5058 PyObject * obj1 = 0 ;
5059 PyObject * obj2 = 0 ;
5060 char *kwnames[] = {
5061 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5062 };
5063
5064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5066 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5067 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5068 {
5069 PyThreadState* __tstate = wxPyBeginAllowThreads();
5070 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5071
5072 wxPyEndAllowThreads(__tstate);
5073 if (PyErr_Occurred()) SWIG_fail;
5074 }
5075 resultobj = PyInt_FromLong((long)result);
5076 return resultobj;
5077 fail:
5078 return NULL;
5079 }
5080
5081
5082 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5083 PyObject *resultobj;
5084 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5085 bool result;
5086 PyObject * obj0 = 0 ;
5087 char *kwnames[] = {
5088 (char *) "self", NULL
5089 };
5090
5091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5093 {
5094 PyThreadState* __tstate = wxPyBeginAllowThreads();
5095 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5096
5097 wxPyEndAllowThreads(__tstate);
5098 if (PyErr_Occurred()) SWIG_fail;
5099 }
5100 resultobj = PyInt_FromLong((long)result);
5101 return resultobj;
5102 fail:
5103 return NULL;
5104 }
5105
5106
5107 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5108 PyObject *resultobj;
5109 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5110 int arg2 ;
5111 PyObject * obj0 = 0 ;
5112 char *kwnames[] = {
5113 (char *) "self",(char *) "width", NULL
5114 };
5115
5116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSashSize",kwnames,&obj0,&arg2)) goto fail;
5117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5118 {
5119 PyThreadState* __tstate = wxPyBeginAllowThreads();
5120 (arg1)->SetSashSize(arg2);
5121
5122 wxPyEndAllowThreads(__tstate);
5123 if (PyErr_Occurred()) SWIG_fail;
5124 }
5125 Py_INCREF(Py_None); resultobj = Py_None;
5126 return resultobj;
5127 fail:
5128 return NULL;
5129 }
5130
5131
5132 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5133 PyObject *resultobj;
5134 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5135 int arg2 ;
5136 PyObject * obj0 = 0 ;
5137 char *kwnames[] = {
5138 (char *) "self",(char *) "width", NULL
5139 };
5140
5141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetBorderSize",kwnames,&obj0,&arg2)) goto fail;
5142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5143 {
5144 PyThreadState* __tstate = wxPyBeginAllowThreads();
5145 (arg1)->SetBorderSize(arg2);
5146
5147 wxPyEndAllowThreads(__tstate);
5148 if (PyErr_Occurred()) SWIG_fail;
5149 }
5150 Py_INCREF(Py_None); resultobj = Py_None;
5151 return resultobj;
5152 fail:
5153 return NULL;
5154 }
5155
5156
5157 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5158 PyObject *resultobj;
5159 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5160 int result;
5161 PyObject * obj0 = 0 ;
5162 char *kwnames[] = {
5163 (char *) "self", NULL
5164 };
5165
5166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
5167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5168 {
5169 PyThreadState* __tstate = wxPyBeginAllowThreads();
5170 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
5171
5172 wxPyEndAllowThreads(__tstate);
5173 if (PyErr_Occurred()) SWIG_fail;
5174 }
5175 resultobj = PyInt_FromLong((long)result);
5176 return resultobj;
5177 fail:
5178 return NULL;
5179 }
5180
5181
5182 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5183 PyObject *resultobj;
5184 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5185 int result;
5186 PyObject * obj0 = 0 ;
5187 char *kwnames[] = {
5188 (char *) "self", NULL
5189 };
5190
5191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
5192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5193 {
5194 PyThreadState* __tstate = wxPyBeginAllowThreads();
5195 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
5196
5197 wxPyEndAllowThreads(__tstate);
5198 if (PyErr_Occurred()) SWIG_fail;
5199 }
5200 resultobj = PyInt_FromLong((long)result);
5201 return resultobj;
5202 fail:
5203 return NULL;
5204 }
5205
5206
5207 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5208 PyObject *resultobj;
5209 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5210 int arg2 ;
5211 bool arg3 = (bool) True ;
5212 PyObject * obj0 = 0 ;
5213 PyObject * obj2 = 0 ;
5214 char *kwnames[] = {
5215 (char *) "self",(char *) "position",(char *) "redraw", NULL
5216 };
5217
5218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
5219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5220 if (obj2) {
5221 arg3 = PyInt_AsLong(obj2) ? true : false;
5222 if (PyErr_Occurred()) SWIG_fail;
5223 }
5224 {
5225 PyThreadState* __tstate = wxPyBeginAllowThreads();
5226 (arg1)->SetSashPosition(arg2,arg3);
5227
5228 wxPyEndAllowThreads(__tstate);
5229 if (PyErr_Occurred()) SWIG_fail;
5230 }
5231 Py_INCREF(Py_None); resultobj = Py_None;
5232 return resultobj;
5233 fail:
5234 return NULL;
5235 }
5236
5237
5238 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5239 PyObject *resultobj;
5240 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5241 int result;
5242 PyObject * obj0 = 0 ;
5243 char *kwnames[] = {
5244 (char *) "self", NULL
5245 };
5246
5247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
5248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5249 {
5250 PyThreadState* __tstate = wxPyBeginAllowThreads();
5251 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
5252
5253 wxPyEndAllowThreads(__tstate);
5254 if (PyErr_Occurred()) SWIG_fail;
5255 }
5256 resultobj = PyInt_FromLong((long)result);
5257 return resultobj;
5258 fail:
5259 return NULL;
5260 }
5261
5262
5263 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5264 PyObject *resultobj;
5265 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5266 int arg2 ;
5267 PyObject * obj0 = 0 ;
5268 char *kwnames[] = {
5269 (char *) "self",(char *) "min", NULL
5270 };
5271
5272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&arg2)) goto fail;
5273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5274 {
5275 PyThreadState* __tstate = wxPyBeginAllowThreads();
5276 (arg1)->SetMinimumPaneSize(arg2);
5277
5278 wxPyEndAllowThreads(__tstate);
5279 if (PyErr_Occurred()) SWIG_fail;
5280 }
5281 Py_INCREF(Py_None); resultobj = Py_None;
5282 return resultobj;
5283 fail:
5284 return NULL;
5285 }
5286
5287
5288 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5289 PyObject *resultobj;
5290 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5291 int result;
5292 PyObject * obj0 = 0 ;
5293 char *kwnames[] = {
5294 (char *) "self", NULL
5295 };
5296
5297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
5298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5299 {
5300 PyThreadState* __tstate = wxPyBeginAllowThreads();
5301 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
5302
5303 wxPyEndAllowThreads(__tstate);
5304 if (PyErr_Occurred()) SWIG_fail;
5305 }
5306 resultobj = PyInt_FromLong((long)result);
5307 return resultobj;
5308 fail:
5309 return NULL;
5310 }
5311
5312
5313 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5314 PyObject *resultobj;
5315 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5316 int arg2 ;
5317 int arg3 ;
5318 int arg4 = (int) 5 ;
5319 bool result;
5320 PyObject * obj0 = 0 ;
5321 char *kwnames[] = {
5322 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5323 };
5324
5325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SplitterWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
5326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5327 {
5328 PyThreadState* __tstate = wxPyBeginAllowThreads();
5329 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
5330
5331 wxPyEndAllowThreads(__tstate);
5332 if (PyErr_Occurred()) SWIG_fail;
5333 }
5334 resultobj = PyInt_FromLong((long)result);
5335 return resultobj;
5336 fail:
5337 return NULL;
5338 }
5339
5340
5341 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
5342 PyObject *resultobj;
5343 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5344 PyObject * obj0 = 0 ;
5345 char *kwnames[] = {
5346 (char *) "self", NULL
5347 };
5348
5349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
5350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5351 {
5352 PyThreadState* __tstate = wxPyBeginAllowThreads();
5353 (arg1)->SizeWindows();
5354
5355 wxPyEndAllowThreads(__tstate);
5356 if (PyErr_Occurred()) SWIG_fail;
5357 }
5358 Py_INCREF(Py_None); resultobj = Py_None;
5359 return resultobj;
5360 fail:
5361 return NULL;
5362 }
5363
5364
5365 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5366 PyObject *resultobj;
5367 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5368 bool arg2 ;
5369 PyObject * obj0 = 0 ;
5370 PyObject * obj1 = 0 ;
5371 char *kwnames[] = {
5372 (char *) "self",(char *) "needUpdating", NULL
5373 };
5374
5375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
5376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5377 arg2 = PyInt_AsLong(obj1) ? true : false;
5378 if (PyErr_Occurred()) SWIG_fail;
5379 {
5380 PyThreadState* __tstate = wxPyBeginAllowThreads();
5381 (arg1)->SetNeedUpdating(arg2);
5382
5383 wxPyEndAllowThreads(__tstate);
5384 if (PyErr_Occurred()) SWIG_fail;
5385 }
5386 Py_INCREF(Py_None); resultobj = Py_None;
5387 return resultobj;
5388 fail:
5389 return NULL;
5390 }
5391
5392
5393 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5394 PyObject *resultobj;
5395 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5396 bool result;
5397 PyObject * obj0 = 0 ;
5398 char *kwnames[] = {
5399 (char *) "self", NULL
5400 };
5401
5402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
5403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5404 {
5405 PyThreadState* __tstate = wxPyBeginAllowThreads();
5406 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
5407
5408 wxPyEndAllowThreads(__tstate);
5409 if (PyErr_Occurred()) SWIG_fail;
5410 }
5411 resultobj = PyInt_FromLong((long)result);
5412 return resultobj;
5413 fail:
5414 return NULL;
5415 }
5416
5417
5418 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
5419 PyObject *obj;
5420 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5421 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
5422 Py_INCREF(obj);
5423 return Py_BuildValue((char *)"");
5424 }
5425 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5426 PyObject *resultobj;
5427 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
5428 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
5429 wxSplitterEvent *result;
5430 PyObject * obj1 = 0 ;
5431 char *kwnames[] = {
5432 (char *) "type",(char *) "splitter", NULL
5433 };
5434
5435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_SplitterEvent",kwnames,&arg1,&obj1)) goto fail;
5436 if (obj1) {
5437 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5438 }
5439 {
5440 PyThreadState* __tstate = wxPyBeginAllowThreads();
5441 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
5442
5443 wxPyEndAllowThreads(__tstate);
5444 if (PyErr_Occurred()) SWIG_fail;
5445 }
5446 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterEvent, 1);
5447 return resultobj;
5448 fail:
5449 return NULL;
5450 }
5451
5452
5453 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5454 PyObject *resultobj;
5455 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5456 int arg2 ;
5457 PyObject * obj0 = 0 ;
5458 char *kwnames[] = {
5459 (char *) "self",(char *) "pos", NULL
5460 };
5461
5462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterEvent_SetSashPosition",kwnames,&obj0,&arg2)) goto fail;
5463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5464 {
5465 PyThreadState* __tstate = wxPyBeginAllowThreads();
5466 (arg1)->SetSashPosition(arg2);
5467
5468 wxPyEndAllowThreads(__tstate);
5469 if (PyErr_Occurred()) SWIG_fail;
5470 }
5471 Py_INCREF(Py_None); resultobj = Py_None;
5472 return resultobj;
5473 fail:
5474 return NULL;
5475 }
5476
5477
5478 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5479 PyObject *resultobj;
5480 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5481 int result;
5482 PyObject * obj0 = 0 ;
5483 char *kwnames[] = {
5484 (char *) "self", NULL
5485 };
5486
5487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
5488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5489 {
5490 PyThreadState* __tstate = wxPyBeginAllowThreads();
5491 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
5492
5493 wxPyEndAllowThreads(__tstate);
5494 if (PyErr_Occurred()) SWIG_fail;
5495 }
5496 resultobj = PyInt_FromLong((long)result);
5497 return resultobj;
5498 fail:
5499 return NULL;
5500 }
5501
5502
5503 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
5504 PyObject *resultobj;
5505 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5506 wxWindow *result;
5507 PyObject * obj0 = 0 ;
5508 char *kwnames[] = {
5509 (char *) "self", NULL
5510 };
5511
5512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
5513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5514 {
5515 PyThreadState* __tstate = wxPyBeginAllowThreads();
5516 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
5517
5518 wxPyEndAllowThreads(__tstate);
5519 if (PyErr_Occurred()) SWIG_fail;
5520 }
5521 {
5522 resultobj = wxPyMake_wxObject(result);
5523 }
5524 return resultobj;
5525 fail:
5526 return NULL;
5527 }
5528
5529
5530 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
5531 PyObject *resultobj;
5532 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5533 int result;
5534 PyObject * obj0 = 0 ;
5535 char *kwnames[] = {
5536 (char *) "self", NULL
5537 };
5538
5539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
5540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5541 {
5542 PyThreadState* __tstate = wxPyBeginAllowThreads();
5543 result = (int)((wxSplitterEvent const *)arg1)->GetX();
5544
5545 wxPyEndAllowThreads(__tstate);
5546 if (PyErr_Occurred()) SWIG_fail;
5547 }
5548 resultobj = PyInt_FromLong((long)result);
5549 return resultobj;
5550 fail:
5551 return NULL;
5552 }
5553
5554
5555 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
5556 PyObject *resultobj;
5557 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5558 int result;
5559 PyObject * obj0 = 0 ;
5560 char *kwnames[] = {
5561 (char *) "self", NULL
5562 };
5563
5564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
5565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5566 {
5567 PyThreadState* __tstate = wxPyBeginAllowThreads();
5568 result = (int)((wxSplitterEvent const *)arg1)->GetY();
5569
5570 wxPyEndAllowThreads(__tstate);
5571 if (PyErr_Occurred()) SWIG_fail;
5572 }
5573 resultobj = PyInt_FromLong((long)result);
5574 return resultobj;
5575 fail:
5576 return NULL;
5577 }
5578
5579
5580 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
5581 PyObject *obj;
5582 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5583 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
5584 Py_INCREF(obj);
5585 return Py_BuildValue((char *)"");
5586 }
5587 static int _wrap_SashNameStr_set(PyObject *_val) {
5588 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
5589 return 1;
5590 }
5591
5592
5593 static PyObject *_wrap_SashNameStr_get() {
5594 PyObject *pyobj;
5595
5596 {
5597 #if wxUSE_UNICODE
5598 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
5599 #else
5600 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
5601 #endif
5602 }
5603 return pyobj;
5604 }
5605
5606
5607 static int _wrap_SashLayoutNameStr_set(PyObject *_val) {
5608 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
5609 return 1;
5610 }
5611
5612
5613 static PyObject *_wrap_SashLayoutNameStr_get() {
5614 PyObject *pyobj;
5615
5616 {
5617 #if wxUSE_UNICODE
5618 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
5619 #else
5620 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
5621 #endif
5622 }
5623 return pyobj;
5624 }
5625
5626
5627 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5628 PyObject *resultobj;
5629 wxWindow *arg1 = (wxWindow *) 0 ;
5630 int arg2 ;
5631 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5632 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5633 wxSize const &arg4_defvalue = wxDefaultSize ;
5634 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5635 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
5636 wxString const &arg6_defvalue = wxPySashNameStr ;
5637 wxString *arg6 = (wxString *) &arg6_defvalue ;
5638 wxSashWindow *result;
5639 wxPoint temp3 ;
5640 wxSize temp4 ;
5641 bool temp6 = False ;
5642 PyObject * obj0 = 0 ;
5643 PyObject * obj2 = 0 ;
5644 PyObject * obj3 = 0 ;
5645 PyObject * obj5 = 0 ;
5646 char *kwnames[] = {
5647 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5648 };
5649
5650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
5651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5652 if (obj2) {
5653 {
5654 arg3 = &temp3;
5655 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5656 }
5657 }
5658 if (obj3) {
5659 {
5660 arg4 = &temp4;
5661 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5662 }
5663 }
5664 if (obj5) {
5665 {
5666 arg6 = wxString_in_helper(obj5);
5667 if (arg6 == NULL) SWIG_fail;
5668 temp6 = True;
5669 }
5670 }
5671 {
5672 PyThreadState* __tstate = wxPyBeginAllowThreads();
5673 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5674
5675 wxPyEndAllowThreads(__tstate);
5676 if (PyErr_Occurred()) SWIG_fail;
5677 }
5678 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
5679 {
5680 if (temp6)
5681 delete arg6;
5682 }
5683 return resultobj;
5684 fail:
5685 {
5686 if (temp6)
5687 delete arg6;
5688 }
5689 return NULL;
5690 }
5691
5692
5693 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5694 PyObject *resultobj;
5695 wxSashWindow *result;
5696 char *kwnames[] = {
5697 NULL
5698 };
5699
5700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
5701 {
5702 PyThreadState* __tstate = wxPyBeginAllowThreads();
5703 result = (wxSashWindow *)new wxSashWindow();
5704
5705 wxPyEndAllowThreads(__tstate);
5706 if (PyErr_Occurred()) SWIG_fail;
5707 }
5708 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
5709 return resultobj;
5710 fail:
5711 return NULL;
5712 }
5713
5714
5715 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5716 PyObject *resultobj;
5717 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5718 wxWindow *arg2 = (wxWindow *) 0 ;
5719 int arg3 ;
5720 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5721 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5722 wxSize const &arg5_defvalue = wxDefaultSize ;
5723 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5724 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
5725 wxString const &arg7_defvalue = wxPySashNameStr ;
5726 wxString *arg7 = (wxString *) &arg7_defvalue ;
5727 bool result;
5728 wxPoint temp4 ;
5729 wxSize temp5 ;
5730 bool temp7 = False ;
5731 PyObject * obj0 = 0 ;
5732 PyObject * obj1 = 0 ;
5733 PyObject * obj3 = 0 ;
5734 PyObject * obj4 = 0 ;
5735 PyObject * obj6 = 0 ;
5736 char *kwnames[] = {
5737 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5738 };
5739
5740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
5741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5742 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5743 if (obj3) {
5744 {
5745 arg4 = &temp4;
5746 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5747 }
5748 }
5749 if (obj4) {
5750 {
5751 arg5 = &temp5;
5752 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5753 }
5754 }
5755 if (obj6) {
5756 {
5757 arg7 = wxString_in_helper(obj6);
5758 if (arg7 == NULL) SWIG_fail;
5759 temp7 = True;
5760 }
5761 }
5762 {
5763 PyThreadState* __tstate = wxPyBeginAllowThreads();
5764 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5765
5766 wxPyEndAllowThreads(__tstate);
5767 if (PyErr_Occurred()) SWIG_fail;
5768 }
5769 resultobj = PyInt_FromLong((long)result);
5770 {
5771 if (temp7)
5772 delete arg7;
5773 }
5774 return resultobj;
5775 fail:
5776 {
5777 if (temp7)
5778 delete arg7;
5779 }
5780 return NULL;
5781 }
5782
5783
5784 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5785 PyObject *resultobj;
5786 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5787 int arg2 ;
5788 bool arg3 ;
5789 PyObject * obj0 = 0 ;
5790 PyObject * obj2 = 0 ;
5791 char *kwnames[] = {
5792 (char *) "self",(char *) "edge",(char *) "sash", NULL
5793 };
5794
5795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashVisible",kwnames,&obj0,&arg2,&obj2)) goto fail;
5796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5797 arg3 = PyInt_AsLong(obj2) ? true : false;
5798 if (PyErr_Occurred()) SWIG_fail;
5799 {
5800 PyThreadState* __tstate = wxPyBeginAllowThreads();
5801 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
5802
5803 wxPyEndAllowThreads(__tstate);
5804 if (PyErr_Occurred()) SWIG_fail;
5805 }
5806 Py_INCREF(Py_None); resultobj = Py_None;
5807 return resultobj;
5808 fail:
5809 return NULL;
5810 }
5811
5812
5813 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5814 PyObject *resultobj;
5815 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5816 int arg2 ;
5817 bool result;
5818 PyObject * obj0 = 0 ;
5819 char *kwnames[] = {
5820 (char *) "self",(char *) "edge", NULL
5821 };
5822
5823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetSashVisible",kwnames,&obj0,&arg2)) goto fail;
5824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5825 {
5826 PyThreadState* __tstate = wxPyBeginAllowThreads();
5827 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
5828
5829 wxPyEndAllowThreads(__tstate);
5830 if (PyErr_Occurred()) SWIG_fail;
5831 }
5832 resultobj = PyInt_FromLong((long)result);
5833 return resultobj;
5834 fail:
5835 return NULL;
5836 }
5837
5838
5839 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
5840 PyObject *resultobj;
5841 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5842 int arg2 ;
5843 bool arg3 ;
5844 PyObject * obj0 = 0 ;
5845 PyObject * obj2 = 0 ;
5846 char *kwnames[] = {
5847 (char *) "self",(char *) "edge",(char *) "border", NULL
5848 };
5849
5850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashBorder",kwnames,&obj0,&arg2,&obj2)) goto fail;
5851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5852 arg3 = PyInt_AsLong(obj2) ? true : false;
5853 if (PyErr_Occurred()) SWIG_fail;
5854 {
5855 PyThreadState* __tstate = wxPyBeginAllowThreads();
5856 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
5857
5858 wxPyEndAllowThreads(__tstate);
5859 if (PyErr_Occurred()) SWIG_fail;
5860 }
5861 Py_INCREF(Py_None); resultobj = Py_None;
5862 return resultobj;
5863 fail:
5864 return NULL;
5865 }
5866
5867
5868 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
5869 PyObject *resultobj;
5870 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5871 int arg2 ;
5872 bool result;
5873 PyObject * obj0 = 0 ;
5874 char *kwnames[] = {
5875 (char *) "self",(char *) "edge", NULL
5876 };
5877
5878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_HasBorder",kwnames,&obj0,&arg2)) goto fail;
5879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5880 {
5881 PyThreadState* __tstate = wxPyBeginAllowThreads();
5882 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
5883
5884 wxPyEndAllowThreads(__tstate);
5885 if (PyErr_Occurred()) SWIG_fail;
5886 }
5887 resultobj = PyInt_FromLong((long)result);
5888 return resultobj;
5889 fail:
5890 return NULL;
5891 }
5892
5893
5894 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
5895 PyObject *resultobj;
5896 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5897 int arg2 ;
5898 int result;
5899 PyObject * obj0 = 0 ;
5900 char *kwnames[] = {
5901 (char *) "self",(char *) "edge", NULL
5902 };
5903
5904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetEdgeMargin",kwnames,&obj0,&arg2)) goto fail;
5905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5906 {
5907 PyThreadState* __tstate = wxPyBeginAllowThreads();
5908 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
5909
5910 wxPyEndAllowThreads(__tstate);
5911 if (PyErr_Occurred()) SWIG_fail;
5912 }
5913 resultobj = PyInt_FromLong((long)result);
5914 return resultobj;
5915 fail:
5916 return NULL;
5917 }
5918
5919
5920 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5921 PyObject *resultobj;
5922 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5923 int arg2 ;
5924 PyObject * obj0 = 0 ;
5925 char *kwnames[] = {
5926 (char *) "self",(char *) "width", NULL
5927 };
5928
5929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&arg2)) goto fail;
5930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5931 {
5932 PyThreadState* __tstate = wxPyBeginAllowThreads();
5933 (arg1)->SetDefaultBorderSize(arg2);
5934
5935 wxPyEndAllowThreads(__tstate);
5936 if (PyErr_Occurred()) SWIG_fail;
5937 }
5938 Py_INCREF(Py_None); resultobj = Py_None;
5939 return resultobj;
5940 fail:
5941 return NULL;
5942 }
5943
5944
5945 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5946 PyObject *resultobj;
5947 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5948 int result;
5949 PyObject * obj0 = 0 ;
5950 char *kwnames[] = {
5951 (char *) "self", NULL
5952 };
5953
5954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
5955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5956 {
5957 PyThreadState* __tstate = wxPyBeginAllowThreads();
5958 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
5959
5960 wxPyEndAllowThreads(__tstate);
5961 if (PyErr_Occurred()) SWIG_fail;
5962 }
5963 resultobj = PyInt_FromLong((long)result);
5964 return resultobj;
5965 fail:
5966 return NULL;
5967 }
5968
5969
5970 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5971 PyObject *resultobj;
5972 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5973 int arg2 ;
5974 PyObject * obj0 = 0 ;
5975 char *kwnames[] = {
5976 (char *) "self",(char *) "width", NULL
5977 };
5978
5979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetExtraBorderSize",kwnames,&obj0,&arg2)) goto fail;
5980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5981 {
5982 PyThreadState* __tstate = wxPyBeginAllowThreads();
5983 (arg1)->SetExtraBorderSize(arg2);
5984
5985 wxPyEndAllowThreads(__tstate);
5986 if (PyErr_Occurred()) SWIG_fail;
5987 }
5988 Py_INCREF(Py_None); resultobj = Py_None;
5989 return resultobj;
5990 fail:
5991 return NULL;
5992 }
5993
5994
5995 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5996 PyObject *resultobj;
5997 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5998 int result;
5999 PyObject * obj0 = 0 ;
6000 char *kwnames[] = {
6001 (char *) "self", NULL
6002 };
6003
6004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
6005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6006 {
6007 PyThreadState* __tstate = wxPyBeginAllowThreads();
6008 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
6009
6010 wxPyEndAllowThreads(__tstate);
6011 if (PyErr_Occurred()) SWIG_fail;
6012 }
6013 resultobj = PyInt_FromLong((long)result);
6014 return resultobj;
6015 fail:
6016 return NULL;
6017 }
6018
6019
6020 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6021 PyObject *resultobj;
6022 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6023 int arg2 ;
6024 PyObject * obj0 = 0 ;
6025 char *kwnames[] = {
6026 (char *) "self",(char *) "min", NULL
6027 };
6028
6029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeX",kwnames,&obj0,&arg2)) goto fail;
6030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6031 {
6032 PyThreadState* __tstate = wxPyBeginAllowThreads();
6033 (arg1)->SetMinimumSizeX(arg2);
6034
6035 wxPyEndAllowThreads(__tstate);
6036 if (PyErr_Occurred()) SWIG_fail;
6037 }
6038 Py_INCREF(Py_None); resultobj = Py_None;
6039 return resultobj;
6040 fail:
6041 return NULL;
6042 }
6043
6044
6045 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6046 PyObject *resultobj;
6047 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6048 int arg2 ;
6049 PyObject * obj0 = 0 ;
6050 char *kwnames[] = {
6051 (char *) "self",(char *) "min", NULL
6052 };
6053
6054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeY",kwnames,&obj0,&arg2)) goto fail;
6055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6056 {
6057 PyThreadState* __tstate = wxPyBeginAllowThreads();
6058 (arg1)->SetMinimumSizeY(arg2);
6059
6060 wxPyEndAllowThreads(__tstate);
6061 if (PyErr_Occurred()) SWIG_fail;
6062 }
6063 Py_INCREF(Py_None); resultobj = Py_None;
6064 return resultobj;
6065 fail:
6066 return NULL;
6067 }
6068
6069
6070 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6071 PyObject *resultobj;
6072 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6073 int result;
6074 PyObject * obj0 = 0 ;
6075 char *kwnames[] = {
6076 (char *) "self", NULL
6077 };
6078
6079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
6080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6081 {
6082 PyThreadState* __tstate = wxPyBeginAllowThreads();
6083 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
6084
6085 wxPyEndAllowThreads(__tstate);
6086 if (PyErr_Occurred()) SWIG_fail;
6087 }
6088 resultobj = PyInt_FromLong((long)result);
6089 return resultobj;
6090 fail:
6091 return NULL;
6092 }
6093
6094
6095 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6096 PyObject *resultobj;
6097 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6098 int result;
6099 PyObject * obj0 = 0 ;
6100 char *kwnames[] = {
6101 (char *) "self", NULL
6102 };
6103
6104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
6105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6106 {
6107 PyThreadState* __tstate = wxPyBeginAllowThreads();
6108 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
6109
6110 wxPyEndAllowThreads(__tstate);
6111 if (PyErr_Occurred()) SWIG_fail;
6112 }
6113 resultobj = PyInt_FromLong((long)result);
6114 return resultobj;
6115 fail:
6116 return NULL;
6117 }
6118
6119
6120 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6121 PyObject *resultobj;
6122 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6123 int arg2 ;
6124 PyObject * obj0 = 0 ;
6125 char *kwnames[] = {
6126 (char *) "self",(char *) "max", NULL
6127 };
6128
6129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeX",kwnames,&obj0,&arg2)) goto fail;
6130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6131 {
6132 PyThreadState* __tstate = wxPyBeginAllowThreads();
6133 (arg1)->SetMaximumSizeX(arg2);
6134
6135 wxPyEndAllowThreads(__tstate);
6136 if (PyErr_Occurred()) SWIG_fail;
6137 }
6138 Py_INCREF(Py_None); resultobj = Py_None;
6139 return resultobj;
6140 fail:
6141 return NULL;
6142 }
6143
6144
6145 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6146 PyObject *resultobj;
6147 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6148 int arg2 ;
6149 PyObject * obj0 = 0 ;
6150 char *kwnames[] = {
6151 (char *) "self",(char *) "max", NULL
6152 };
6153
6154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeY",kwnames,&obj0,&arg2)) goto fail;
6155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6156 {
6157 PyThreadState* __tstate = wxPyBeginAllowThreads();
6158 (arg1)->SetMaximumSizeY(arg2);
6159
6160 wxPyEndAllowThreads(__tstate);
6161 if (PyErr_Occurred()) SWIG_fail;
6162 }
6163 Py_INCREF(Py_None); resultobj = Py_None;
6164 return resultobj;
6165 fail:
6166 return NULL;
6167 }
6168
6169
6170 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6171 PyObject *resultobj;
6172 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6173 int result;
6174 PyObject * obj0 = 0 ;
6175 char *kwnames[] = {
6176 (char *) "self", NULL
6177 };
6178
6179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
6180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6181 {
6182 PyThreadState* __tstate = wxPyBeginAllowThreads();
6183 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
6184
6185 wxPyEndAllowThreads(__tstate);
6186 if (PyErr_Occurred()) SWIG_fail;
6187 }
6188 resultobj = PyInt_FromLong((long)result);
6189 return resultobj;
6190 fail:
6191 return NULL;
6192 }
6193
6194
6195 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6196 PyObject *resultobj;
6197 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6198 int result;
6199 PyObject * obj0 = 0 ;
6200 char *kwnames[] = {
6201 (char *) "self", NULL
6202 };
6203
6204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
6205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6206 {
6207 PyThreadState* __tstate = wxPyBeginAllowThreads();
6208 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
6209
6210 wxPyEndAllowThreads(__tstate);
6211 if (PyErr_Occurred()) SWIG_fail;
6212 }
6213 resultobj = PyInt_FromLong((long)result);
6214 return resultobj;
6215 fail:
6216 return NULL;
6217 }
6218
6219
6220 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6221 PyObject *resultobj;
6222 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6223 int arg2 ;
6224 int arg3 ;
6225 int arg4 = (int) 2 ;
6226 int result;
6227 PyObject * obj0 = 0 ;
6228 char *kwnames[] = {
6229 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6230 };
6231
6232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SashWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
6233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6234 {
6235 PyThreadState* __tstate = wxPyBeginAllowThreads();
6236 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
6237
6238 wxPyEndAllowThreads(__tstate);
6239 if (PyErr_Occurred()) SWIG_fail;
6240 }
6241 resultobj = PyInt_FromLong((long)result);
6242 return resultobj;
6243 fail:
6244 return NULL;
6245 }
6246
6247
6248 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6249 PyObject *resultobj;
6250 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6251 PyObject * obj0 = 0 ;
6252 char *kwnames[] = {
6253 (char *) "self", NULL
6254 };
6255
6256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
6257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6258 {
6259 PyThreadState* __tstate = wxPyBeginAllowThreads();
6260 (arg1)->SizeWindows();
6261
6262 wxPyEndAllowThreads(__tstate);
6263 if (PyErr_Occurred()) SWIG_fail;
6264 }
6265 Py_INCREF(Py_None); resultobj = Py_None;
6266 return resultobj;
6267 fail:
6268 return NULL;
6269 }
6270
6271
6272 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
6273 PyObject *obj;
6274 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6275 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
6276 Py_INCREF(obj);
6277 return Py_BuildValue((char *)"");
6278 }
6279 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6280 PyObject *resultobj;
6281 int arg1 = (int) 0 ;
6282 int arg2 = (int) wxSASH_NONE ;
6283 wxSashEvent *result;
6284 char *kwnames[] = {
6285 (char *) "id",(char *) "edge", NULL
6286 };
6287
6288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_SashEvent",kwnames,&arg1,&arg2)) goto fail;
6289 {
6290 PyThreadState* __tstate = wxPyBeginAllowThreads();
6291 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
6292
6293 wxPyEndAllowThreads(__tstate);
6294 if (PyErr_Occurred()) SWIG_fail;
6295 }
6296 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashEvent, 1);
6297 return resultobj;
6298 fail:
6299 return NULL;
6300 }
6301
6302
6303 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6304 PyObject *resultobj;
6305 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6306 int arg2 ;
6307 PyObject * obj0 = 0 ;
6308 char *kwnames[] = {
6309 (char *) "self",(char *) "edge", NULL
6310 };
6311
6312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetEdge",kwnames,&obj0,&arg2)) goto fail;
6313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6314 {
6315 PyThreadState* __tstate = wxPyBeginAllowThreads();
6316 (arg1)->SetEdge((wxSashEdgePosition )arg2);
6317
6318 wxPyEndAllowThreads(__tstate);
6319 if (PyErr_Occurred()) SWIG_fail;
6320 }
6321 Py_INCREF(Py_None); resultobj = Py_None;
6322 return resultobj;
6323 fail:
6324 return NULL;
6325 }
6326
6327
6328 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6329 PyObject *resultobj;
6330 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6331 int result;
6332 PyObject * obj0 = 0 ;
6333 char *kwnames[] = {
6334 (char *) "self", NULL
6335 };
6336
6337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
6338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6339 {
6340 PyThreadState* __tstate = wxPyBeginAllowThreads();
6341 result = (int)((wxSashEvent const *)arg1)->GetEdge();
6342
6343 wxPyEndAllowThreads(__tstate);
6344 if (PyErr_Occurred()) SWIG_fail;
6345 }
6346 resultobj = PyInt_FromLong((long)result);
6347 return resultobj;
6348 fail:
6349 return NULL;
6350 }
6351
6352
6353 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6354 PyObject *resultobj;
6355 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6356 wxRect *arg2 = 0 ;
6357 wxRect temp2 ;
6358 PyObject * obj0 = 0 ;
6359 PyObject * obj1 = 0 ;
6360 char *kwnames[] = {
6361 (char *) "self",(char *) "rect", NULL
6362 };
6363
6364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
6365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6366 {
6367 arg2 = &temp2;
6368 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6369 }
6370 {
6371 PyThreadState* __tstate = wxPyBeginAllowThreads();
6372 (arg1)->SetDragRect((wxRect const &)*arg2);
6373
6374 wxPyEndAllowThreads(__tstate);
6375 if (PyErr_Occurred()) SWIG_fail;
6376 }
6377 Py_INCREF(Py_None); resultobj = Py_None;
6378 return resultobj;
6379 fail:
6380 return NULL;
6381 }
6382
6383
6384 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6385 PyObject *resultobj;
6386 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6387 wxRect result;
6388 PyObject * obj0 = 0 ;
6389 char *kwnames[] = {
6390 (char *) "self", NULL
6391 };
6392
6393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
6394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6395 {
6396 PyThreadState* __tstate = wxPyBeginAllowThreads();
6397 result = ((wxSashEvent const *)arg1)->GetDragRect();
6398
6399 wxPyEndAllowThreads(__tstate);
6400 if (PyErr_Occurred()) SWIG_fail;
6401 }
6402 {
6403 wxRect * resultptr;
6404 resultptr = new wxRect((wxRect &) result);
6405 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
6406 }
6407 return resultobj;
6408 fail:
6409 return NULL;
6410 }
6411
6412
6413 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6414 PyObject *resultobj;
6415 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6416 int arg2 ;
6417 PyObject * obj0 = 0 ;
6418 char *kwnames[] = {
6419 (char *) "self",(char *) "status", NULL
6420 };
6421
6422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetDragStatus",kwnames,&obj0,&arg2)) goto fail;
6423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6424 {
6425 PyThreadState* __tstate = wxPyBeginAllowThreads();
6426 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
6427
6428 wxPyEndAllowThreads(__tstate);
6429 if (PyErr_Occurred()) SWIG_fail;
6430 }
6431 Py_INCREF(Py_None); resultobj = Py_None;
6432 return resultobj;
6433 fail:
6434 return NULL;
6435 }
6436
6437
6438 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6439 PyObject *resultobj;
6440 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6441 int result;
6442 PyObject * obj0 = 0 ;
6443 char *kwnames[] = {
6444 (char *) "self", NULL
6445 };
6446
6447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
6448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6449 {
6450 PyThreadState* __tstate = wxPyBeginAllowThreads();
6451 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
6452
6453 wxPyEndAllowThreads(__tstate);
6454 if (PyErr_Occurred()) SWIG_fail;
6455 }
6456 resultobj = PyInt_FromLong((long)result);
6457 return resultobj;
6458 fail:
6459 return NULL;
6460 }
6461
6462
6463 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
6464 PyObject *obj;
6465 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6466 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
6467 Py_INCREF(obj);
6468 return Py_BuildValue((char *)"");
6469 }
6470 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6471 PyObject *resultobj;
6472 int arg1 = (int) 0 ;
6473 wxQueryLayoutInfoEvent *result;
6474 char *kwnames[] = {
6475 (char *) "id", NULL
6476 };
6477
6478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_QueryLayoutInfoEvent",kwnames,&arg1)) goto fail;
6479 {
6480 PyThreadState* __tstate = wxPyBeginAllowThreads();
6481 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
6482
6483 wxPyEndAllowThreads(__tstate);
6484 if (PyErr_Occurred()) SWIG_fail;
6485 }
6486 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
6487 return resultobj;
6488 fail:
6489 return NULL;
6490 }
6491
6492
6493 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6494 PyObject *resultobj;
6495 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6496 int arg2 ;
6497 PyObject * obj0 = 0 ;
6498 char *kwnames[] = {
6499 (char *) "self",(char *) "length", NULL
6500 };
6501
6502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&arg2)) goto fail;
6503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6504 {
6505 PyThreadState* __tstate = wxPyBeginAllowThreads();
6506 (arg1)->SetRequestedLength(arg2);
6507
6508 wxPyEndAllowThreads(__tstate);
6509 if (PyErr_Occurred()) SWIG_fail;
6510 }
6511 Py_INCREF(Py_None); resultobj = Py_None;
6512 return resultobj;
6513 fail:
6514 return NULL;
6515 }
6516
6517
6518 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6519 PyObject *resultobj;
6520 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6521 int result;
6522 PyObject * obj0 = 0 ;
6523 char *kwnames[] = {
6524 (char *) "self", NULL
6525 };
6526
6527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
6528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6529 {
6530 PyThreadState* __tstate = wxPyBeginAllowThreads();
6531 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
6532
6533 wxPyEndAllowThreads(__tstate);
6534 if (PyErr_Occurred()) SWIG_fail;
6535 }
6536 resultobj = PyInt_FromLong((long)result);
6537 return resultobj;
6538 fail:
6539 return NULL;
6540 }
6541
6542
6543 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6544 PyObject *resultobj;
6545 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6546 int arg2 ;
6547 PyObject * obj0 = 0 ;
6548 char *kwnames[] = {
6549 (char *) "self",(char *) "flags", NULL
6550 };
6551
6552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6554 {
6555 PyThreadState* __tstate = wxPyBeginAllowThreads();
6556 (arg1)->SetFlags(arg2);
6557
6558 wxPyEndAllowThreads(__tstate);
6559 if (PyErr_Occurred()) SWIG_fail;
6560 }
6561 Py_INCREF(Py_None); resultobj = Py_None;
6562 return resultobj;
6563 fail:
6564 return NULL;
6565 }
6566
6567
6568 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6569 PyObject *resultobj;
6570 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6571 int result;
6572 PyObject * obj0 = 0 ;
6573 char *kwnames[] = {
6574 (char *) "self", NULL
6575 };
6576
6577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
6578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6579 {
6580 PyThreadState* __tstate = wxPyBeginAllowThreads();
6581 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
6582
6583 wxPyEndAllowThreads(__tstate);
6584 if (PyErr_Occurred()) SWIG_fail;
6585 }
6586 resultobj = PyInt_FromLong((long)result);
6587 return resultobj;
6588 fail:
6589 return NULL;
6590 }
6591
6592
6593 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6594 PyObject *resultobj;
6595 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6596 wxSize *arg2 = 0 ;
6597 wxSize temp2 ;
6598 PyObject * obj0 = 0 ;
6599 PyObject * obj1 = 0 ;
6600 char *kwnames[] = {
6601 (char *) "self",(char *) "size", NULL
6602 };
6603
6604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
6605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6606 {
6607 arg2 = &temp2;
6608 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
6609 }
6610 {
6611 PyThreadState* __tstate = wxPyBeginAllowThreads();
6612 (arg1)->SetSize((wxSize const &)*arg2);
6613
6614 wxPyEndAllowThreads(__tstate);
6615 if (PyErr_Occurred()) SWIG_fail;
6616 }
6617 Py_INCREF(Py_None); resultobj = Py_None;
6618 return resultobj;
6619 fail:
6620 return NULL;
6621 }
6622
6623
6624 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6625 PyObject *resultobj;
6626 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6627 wxSize result;
6628 PyObject * obj0 = 0 ;
6629 char *kwnames[] = {
6630 (char *) "self", NULL
6631 };
6632
6633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
6634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6635 {
6636 PyThreadState* __tstate = wxPyBeginAllowThreads();
6637 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
6638
6639 wxPyEndAllowThreads(__tstate);
6640 if (PyErr_Occurred()) SWIG_fail;
6641 }
6642 {
6643 wxSize * resultptr;
6644 resultptr = new wxSize((wxSize &) result);
6645 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
6646 }
6647 return resultobj;
6648 fail:
6649 return NULL;
6650 }
6651
6652
6653 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6654 PyObject *resultobj;
6655 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6656 int arg2 ;
6657 PyObject * obj0 = 0 ;
6658 char *kwnames[] = {
6659 (char *) "self",(char *) "orient", NULL
6660 };
6661
6662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
6663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6664 {
6665 PyThreadState* __tstate = wxPyBeginAllowThreads();
6666 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
6667
6668 wxPyEndAllowThreads(__tstate);
6669 if (PyErr_Occurred()) SWIG_fail;
6670 }
6671 Py_INCREF(Py_None); resultobj = Py_None;
6672 return resultobj;
6673 fail:
6674 return NULL;
6675 }
6676
6677
6678 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6679 PyObject *resultobj;
6680 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6681 int result;
6682 PyObject * obj0 = 0 ;
6683 char *kwnames[] = {
6684 (char *) "self", NULL
6685 };
6686
6687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
6688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6689 {
6690 PyThreadState* __tstate = wxPyBeginAllowThreads();
6691 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
6692
6693 wxPyEndAllowThreads(__tstate);
6694 if (PyErr_Occurred()) SWIG_fail;
6695 }
6696 resultobj = PyInt_FromLong((long)result);
6697 return resultobj;
6698 fail:
6699 return NULL;
6700 }
6701
6702
6703 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6704 PyObject *resultobj;
6705 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6706 int arg2 ;
6707 PyObject * obj0 = 0 ;
6708 char *kwnames[] = {
6709 (char *) "self",(char *) "align", NULL
6710 };
6711
6712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
6713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6714 {
6715 PyThreadState* __tstate = wxPyBeginAllowThreads();
6716 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
6717
6718 wxPyEndAllowThreads(__tstate);
6719 if (PyErr_Occurred()) SWIG_fail;
6720 }
6721 Py_INCREF(Py_None); resultobj = Py_None;
6722 return resultobj;
6723 fail:
6724 return NULL;
6725 }
6726
6727
6728 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6729 PyObject *resultobj;
6730 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6731 int result;
6732 PyObject * obj0 = 0 ;
6733 char *kwnames[] = {
6734 (char *) "self", NULL
6735 };
6736
6737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
6738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6739 {
6740 PyThreadState* __tstate = wxPyBeginAllowThreads();
6741 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
6742
6743 wxPyEndAllowThreads(__tstate);
6744 if (PyErr_Occurred()) SWIG_fail;
6745 }
6746 resultobj = PyInt_FromLong((long)result);
6747 return resultobj;
6748 fail:
6749 return NULL;
6750 }
6751
6752
6753 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
6754 PyObject *obj;
6755 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6756 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
6757 Py_INCREF(obj);
6758 return Py_BuildValue((char *)"");
6759 }
6760 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6761 PyObject *resultobj;
6762 int arg1 = (int) 0 ;
6763 wxCalculateLayoutEvent *result;
6764 char *kwnames[] = {
6765 (char *) "id", NULL
6766 };
6767
6768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_CalculateLayoutEvent",kwnames,&arg1)) goto fail;
6769 {
6770 PyThreadState* __tstate = wxPyBeginAllowThreads();
6771 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
6772
6773 wxPyEndAllowThreads(__tstate);
6774 if (PyErr_Occurred()) SWIG_fail;
6775 }
6776 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCalculateLayoutEvent, 1);
6777 return resultobj;
6778 fail:
6779 return NULL;
6780 }
6781
6782
6783 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6784 PyObject *resultobj;
6785 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6786 int arg2 ;
6787 PyObject * obj0 = 0 ;
6788 char *kwnames[] = {
6789 (char *) "self",(char *) "flags", NULL
6790 };
6791
6792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6794 {
6795 PyThreadState* __tstate = wxPyBeginAllowThreads();
6796 (arg1)->SetFlags(arg2);
6797
6798 wxPyEndAllowThreads(__tstate);
6799 if (PyErr_Occurred()) SWIG_fail;
6800 }
6801 Py_INCREF(Py_None); resultobj = Py_None;
6802 return resultobj;
6803 fail:
6804 return NULL;
6805 }
6806
6807
6808 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6809 PyObject *resultobj;
6810 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6811 int result;
6812 PyObject * obj0 = 0 ;
6813 char *kwnames[] = {
6814 (char *) "self", NULL
6815 };
6816
6817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
6818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6819 {
6820 PyThreadState* __tstate = wxPyBeginAllowThreads();
6821 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
6822
6823 wxPyEndAllowThreads(__tstate);
6824 if (PyErr_Occurred()) SWIG_fail;
6825 }
6826 resultobj = PyInt_FromLong((long)result);
6827 return resultobj;
6828 fail:
6829 return NULL;
6830 }
6831
6832
6833 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6834 PyObject *resultobj;
6835 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6836 wxRect *arg2 = 0 ;
6837 wxRect temp2 ;
6838 PyObject * obj0 = 0 ;
6839 PyObject * obj1 = 0 ;
6840 char *kwnames[] = {
6841 (char *) "self",(char *) "rect", NULL
6842 };
6843
6844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
6845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6846 {
6847 arg2 = &temp2;
6848 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6849 }
6850 {
6851 PyThreadState* __tstate = wxPyBeginAllowThreads();
6852 (arg1)->SetRect((wxRect const &)*arg2);
6853
6854 wxPyEndAllowThreads(__tstate);
6855 if (PyErr_Occurred()) SWIG_fail;
6856 }
6857 Py_INCREF(Py_None); resultobj = Py_None;
6858 return resultobj;
6859 fail:
6860 return NULL;
6861 }
6862
6863
6864 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6865 PyObject *resultobj;
6866 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6867 wxRect result;
6868 PyObject * obj0 = 0 ;
6869 char *kwnames[] = {
6870 (char *) "self", NULL
6871 };
6872
6873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
6874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6875 {
6876 PyThreadState* __tstate = wxPyBeginAllowThreads();
6877 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
6878
6879 wxPyEndAllowThreads(__tstate);
6880 if (PyErr_Occurred()) SWIG_fail;
6881 }
6882 {
6883 wxRect * resultptr;
6884 resultptr = new wxRect((wxRect &) result);
6885 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
6886 }
6887 return resultobj;
6888 fail:
6889 return NULL;
6890 }
6891
6892
6893 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
6894 PyObject *obj;
6895 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6896 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
6897 Py_INCREF(obj);
6898 return Py_BuildValue((char *)"");
6899 }
6900 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6901 PyObject *resultobj;
6902 wxWindow *arg1 = (wxWindow *) 0 ;
6903 int arg2 ;
6904 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6905 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6906 wxSize const &arg4_defvalue = wxDefaultSize ;
6907 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6908 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6909 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
6910 wxString *arg6 = (wxString *) &arg6_defvalue ;
6911 wxSashLayoutWindow *result;
6912 wxPoint temp3 ;
6913 wxSize temp4 ;
6914 bool temp6 = False ;
6915 PyObject * obj0 = 0 ;
6916 PyObject * obj2 = 0 ;
6917 PyObject * obj3 = 0 ;
6918 PyObject * obj5 = 0 ;
6919 char *kwnames[] = {
6920 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6921 };
6922
6923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashLayoutWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
6924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6925 if (obj2) {
6926 {
6927 arg3 = &temp3;
6928 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6929 }
6930 }
6931 if (obj3) {
6932 {
6933 arg4 = &temp4;
6934 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6935 }
6936 }
6937 if (obj5) {
6938 {
6939 arg6 = wxString_in_helper(obj5);
6940 if (arg6 == NULL) SWIG_fail;
6941 temp6 = True;
6942 }
6943 }
6944 {
6945 PyThreadState* __tstate = wxPyBeginAllowThreads();
6946 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6947
6948 wxPyEndAllowThreads(__tstate);
6949 if (PyErr_Occurred()) SWIG_fail;
6950 }
6951 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
6952 {
6953 if (temp6)
6954 delete arg6;
6955 }
6956 return resultobj;
6957 fail:
6958 {
6959 if (temp6)
6960 delete arg6;
6961 }
6962 return NULL;
6963 }
6964
6965
6966 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6967 PyObject *resultobj;
6968 wxSashLayoutWindow *result;
6969 char *kwnames[] = {
6970 NULL
6971 };
6972
6973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
6974 {
6975 PyThreadState* __tstate = wxPyBeginAllowThreads();
6976 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
6977
6978 wxPyEndAllowThreads(__tstate);
6979 if (PyErr_Occurred()) SWIG_fail;
6980 }
6981 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
6982 return resultobj;
6983 fail:
6984 return NULL;
6985 }
6986
6987
6988 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6989 PyObject *resultobj;
6990 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
6991 wxWindow *arg2 = (wxWindow *) 0 ;
6992 int arg3 ;
6993 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6994 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6995 wxSize const &arg5_defvalue = wxDefaultSize ;
6996 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6997 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6998 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
6999 wxString *arg7 = (wxString *) &arg7_defvalue ;
7000 bool result;
7001 wxPoint temp4 ;
7002 wxSize temp5 ;
7003 bool temp7 = False ;
7004 PyObject * obj0 = 0 ;
7005 PyObject * obj1 = 0 ;
7006 PyObject * obj3 = 0 ;
7007 PyObject * obj4 = 0 ;
7008 PyObject * obj6 = 0 ;
7009 char *kwnames[] = {
7010 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7011 };
7012
7013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
7014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7015 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7016 if (obj3) {
7017 {
7018 arg4 = &temp4;
7019 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7020 }
7021 }
7022 if (obj4) {
7023 {
7024 arg5 = &temp5;
7025 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7026 }
7027 }
7028 if (obj6) {
7029 {
7030 arg7 = wxString_in_helper(obj6);
7031 if (arg7 == NULL) SWIG_fail;
7032 temp7 = True;
7033 }
7034 }
7035 {
7036 PyThreadState* __tstate = wxPyBeginAllowThreads();
7037 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7038
7039 wxPyEndAllowThreads(__tstate);
7040 if (PyErr_Occurred()) SWIG_fail;
7041 }
7042 resultobj = PyInt_FromLong((long)result);
7043 {
7044 if (temp7)
7045 delete arg7;
7046 }
7047 return resultobj;
7048 fail:
7049 {
7050 if (temp7)
7051 delete arg7;
7052 }
7053 return NULL;
7054 }
7055
7056
7057 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7058 PyObject *resultobj;
7059 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7060 int result;
7061 PyObject * obj0 = 0 ;
7062 char *kwnames[] = {
7063 (char *) "self", NULL
7064 };
7065
7066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
7067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7068 {
7069 PyThreadState* __tstate = wxPyBeginAllowThreads();
7070 result = (int)(arg1)->GetAlignment();
7071
7072 wxPyEndAllowThreads(__tstate);
7073 if (PyErr_Occurred()) SWIG_fail;
7074 }
7075 resultobj = PyInt_FromLong((long)result);
7076 return resultobj;
7077 fail:
7078 return NULL;
7079 }
7080
7081
7082 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7083 PyObject *resultobj;
7084 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7085 int result;
7086 PyObject * obj0 = 0 ;
7087 char *kwnames[] = {
7088 (char *) "self", NULL
7089 };
7090
7091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
7092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7093 {
7094 PyThreadState* __tstate = wxPyBeginAllowThreads();
7095 result = (int)(arg1)->GetOrientation();
7096
7097 wxPyEndAllowThreads(__tstate);
7098 if (PyErr_Occurred()) SWIG_fail;
7099 }
7100 resultobj = PyInt_FromLong((long)result);
7101 return resultobj;
7102 fail:
7103 return NULL;
7104 }
7105
7106
7107 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7108 PyObject *resultobj;
7109 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7110 int arg2 ;
7111 PyObject * obj0 = 0 ;
7112 char *kwnames[] = {
7113 (char *) "self",(char *) "alignment", NULL
7114 };
7115
7116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
7117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7118 {
7119 PyThreadState* __tstate = wxPyBeginAllowThreads();
7120 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7121
7122 wxPyEndAllowThreads(__tstate);
7123 if (PyErr_Occurred()) SWIG_fail;
7124 }
7125 Py_INCREF(Py_None); resultobj = Py_None;
7126 return resultobj;
7127 fail:
7128 return NULL;
7129 }
7130
7131
7132 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7133 PyObject *resultobj;
7134 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7135 wxSize *arg2 = 0 ;
7136 wxSize temp2 ;
7137 PyObject * obj0 = 0 ;
7138 PyObject * obj1 = 0 ;
7139 char *kwnames[] = {
7140 (char *) "self",(char *) "size", NULL
7141 };
7142
7143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
7144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7145 {
7146 arg2 = &temp2;
7147 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7148 }
7149 {
7150 PyThreadState* __tstate = wxPyBeginAllowThreads();
7151 (arg1)->SetDefaultSize((wxSize const &)*arg2);
7152
7153 wxPyEndAllowThreads(__tstate);
7154 if (PyErr_Occurred()) SWIG_fail;
7155 }
7156 Py_INCREF(Py_None); resultobj = Py_None;
7157 return resultobj;
7158 fail:
7159 return NULL;
7160 }
7161
7162
7163 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7164 PyObject *resultobj;
7165 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7166 int arg2 ;
7167 PyObject * obj0 = 0 ;
7168 char *kwnames[] = {
7169 (char *) "self",(char *) "orientation", NULL
7170 };
7171
7172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
7173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7174 {
7175 PyThreadState* __tstate = wxPyBeginAllowThreads();
7176 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7177
7178 wxPyEndAllowThreads(__tstate);
7179 if (PyErr_Occurred()) SWIG_fail;
7180 }
7181 Py_INCREF(Py_None); resultobj = Py_None;
7182 return resultobj;
7183 fail:
7184 return NULL;
7185 }
7186
7187
7188 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
7189 PyObject *obj;
7190 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7191 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
7192 Py_INCREF(obj);
7193 return Py_BuildValue((char *)"");
7194 }
7195 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7196 PyObject *resultobj;
7197 wxLayoutAlgorithm *result;
7198 char *kwnames[] = {
7199 NULL
7200 };
7201
7202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
7203 {
7204 PyThreadState* __tstate = wxPyBeginAllowThreads();
7205 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
7206
7207 wxPyEndAllowThreads(__tstate);
7208 if (PyErr_Occurred()) SWIG_fail;
7209 }
7210 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutAlgorithm, 1);
7211 return resultobj;
7212 fail:
7213 return NULL;
7214 }
7215
7216
7217 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7218 PyObject *resultobj;
7219 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7220 PyObject * obj0 = 0 ;
7221 char *kwnames[] = {
7222 (char *) "self", NULL
7223 };
7224
7225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
7226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7227 {
7228 PyThreadState* __tstate = wxPyBeginAllowThreads();
7229 delete arg1;
7230
7231 wxPyEndAllowThreads(__tstate);
7232 if (PyErr_Occurred()) SWIG_fail;
7233 }
7234 Py_INCREF(Py_None); resultobj = Py_None;
7235 return resultobj;
7236 fail:
7237 return NULL;
7238 }
7239
7240
7241 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7242 PyObject *resultobj;
7243 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7244 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
7245 wxRect *arg3 = (wxRect *) NULL ;
7246 bool result;
7247 PyObject * obj0 = 0 ;
7248 PyObject * obj1 = 0 ;
7249 PyObject * obj2 = 0 ;
7250 char *kwnames[] = {
7251 (char *) "self",(char *) "frame",(char *) "rect", NULL
7252 };
7253
7254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7256 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7257 if (obj2) {
7258 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7259 }
7260 {
7261 PyThreadState* __tstate = wxPyBeginAllowThreads();
7262 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
7263
7264 wxPyEndAllowThreads(__tstate);
7265 if (PyErr_Occurred()) SWIG_fail;
7266 }
7267 resultobj = PyInt_FromLong((long)result);
7268 return resultobj;
7269 fail:
7270 return NULL;
7271 }
7272
7273
7274 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7275 PyObject *resultobj;
7276 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7277 wxFrame *arg2 = (wxFrame *) 0 ;
7278 wxWindow *arg3 = (wxWindow *) NULL ;
7279 bool result;
7280 PyObject * obj0 = 0 ;
7281 PyObject * obj1 = 0 ;
7282 PyObject * obj2 = 0 ;
7283 char *kwnames[] = {
7284 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
7285 };
7286
7287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7289 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7290 if (obj2) {
7291 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7292 }
7293 {
7294 PyThreadState* __tstate = wxPyBeginAllowThreads();
7295 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
7296
7297 wxPyEndAllowThreads(__tstate);
7298 if (PyErr_Occurred()) SWIG_fail;
7299 }
7300 resultobj = PyInt_FromLong((long)result);
7301 return resultobj;
7302 fail:
7303 return NULL;
7304 }
7305
7306
7307 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7308 PyObject *resultobj;
7309 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7310 wxWindow *arg2 = (wxWindow *) 0 ;
7311 wxWindow *arg3 = (wxWindow *) NULL ;
7312 bool result;
7313 PyObject * obj0 = 0 ;
7314 PyObject * obj1 = 0 ;
7315 PyObject * obj2 = 0 ;
7316 char *kwnames[] = {
7317 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
7318 };
7319
7320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
7321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7322 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7323 if (obj2) {
7324 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7325 }
7326 {
7327 PyThreadState* __tstate = wxPyBeginAllowThreads();
7328 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
7329
7330 wxPyEndAllowThreads(__tstate);
7331 if (PyErr_Occurred()) SWIG_fail;
7332 }
7333 resultobj = PyInt_FromLong((long)result);
7334 return resultobj;
7335 fail:
7336 return NULL;
7337 }
7338
7339
7340 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
7341 PyObject *obj;
7342 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7343 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
7344 Py_INCREF(obj);
7345 return Py_BuildValue((char *)"");
7346 }
7347 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7348 PyObject *resultobj;
7349 wxWindow *arg1 = (wxWindow *) 0 ;
7350 int arg2 = (int) wxBORDER_NONE ;
7351 wxPopupWindow *result;
7352 PyObject * obj0 = 0 ;
7353 char *kwnames[] = {
7354 (char *) "parent",(char *) "flags", NULL
7355 };
7356
7357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupWindow",kwnames,&obj0,&arg2)) goto fail;
7358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7359 {
7360 PyThreadState* __tstate = wxPyBeginAllowThreads();
7361 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
7362
7363 wxPyEndAllowThreads(__tstate);
7364 if (PyErr_Occurred()) SWIG_fail;
7365 }
7366 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7367 return resultobj;
7368 fail:
7369 return NULL;
7370 }
7371
7372
7373 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7374 PyObject *resultobj;
7375 wxPopupWindow *result;
7376 char *kwnames[] = {
7377 NULL
7378 };
7379
7380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
7381 {
7382 PyThreadState* __tstate = wxPyBeginAllowThreads();
7383 result = (wxPopupWindow *)new wxPopupWindow();
7384
7385 wxPyEndAllowThreads(__tstate);
7386 if (PyErr_Occurred()) SWIG_fail;
7387 }
7388 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7389 return resultobj;
7390 fail:
7391 return NULL;
7392 }
7393
7394
7395 static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7396 PyObject *resultobj;
7397 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
7398 wxWindow *arg2 = (wxWindow *) 0 ;
7399 int arg3 = (int) wxBORDER_NONE ;
7400 bool result;
7401 PyObject * obj0 = 0 ;
7402 PyObject * obj1 = 0 ;
7403 char *kwnames[] = {
7404 (char *) "self",(char *) "parent",(char *) "flags", NULL
7405 };
7406
7407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:PopupWindow_Create",kwnames,&obj0,&obj1,&arg3)) goto fail;
7408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7409 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7410 {
7411 PyThreadState* __tstate = wxPyBeginAllowThreads();
7412 result = (bool)(arg1)->Create(arg2,arg3);
7413
7414 wxPyEndAllowThreads(__tstate);
7415 if (PyErr_Occurred()) SWIG_fail;
7416 }
7417 resultobj = PyInt_FromLong((long)result);
7418 return resultobj;
7419 fail:
7420 return NULL;
7421 }
7422
7423
7424 static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
7425 PyObject *resultobj;
7426 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
7427 wxPoint *arg2 = 0 ;
7428 wxSize *arg3 = 0 ;
7429 wxPoint temp2 ;
7430 wxSize temp3 ;
7431 PyObject * obj0 = 0 ;
7432 PyObject * obj1 = 0 ;
7433 PyObject * obj2 = 0 ;
7434 char *kwnames[] = {
7435 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
7436 };
7437
7438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
7439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7440 {
7441 arg2 = &temp2;
7442 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7443 }
7444 {
7445 arg3 = &temp3;
7446 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
7447 }
7448 {
7449 PyThreadState* __tstate = wxPyBeginAllowThreads();
7450 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
7451
7452 wxPyEndAllowThreads(__tstate);
7453 if (PyErr_Occurred()) SWIG_fail;
7454 }
7455 Py_INCREF(Py_None); resultobj = Py_None;
7456 return resultobj;
7457 fail:
7458 return NULL;
7459 }
7460
7461
7462 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
7463 PyObject *obj;
7464 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7465 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
7466 Py_INCREF(obj);
7467 return Py_BuildValue((char *)"");
7468 }
7469 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7470 PyObject *resultobj;
7471 wxWindow *arg1 = (wxWindow *) 0 ;
7472 int arg2 = (int) wxBORDER_NONE ;
7473 wxPyPopupTransientWindow *result;
7474 PyObject * obj0 = 0 ;
7475 char *kwnames[] = {
7476 (char *) "parent",(char *) "style", NULL
7477 };
7478
7479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupTransientWindow",kwnames,&obj0,&arg2)) goto fail;
7480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7481 {
7482 PyThreadState* __tstate = wxPyBeginAllowThreads();
7483 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
7484
7485 wxPyEndAllowThreads(__tstate);
7486 if (PyErr_Occurred()) SWIG_fail;
7487 }
7488 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7489 return resultobj;
7490 fail:
7491 return NULL;
7492 }
7493
7494
7495 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7496 PyObject *resultobj;
7497 wxPyPopupTransientWindow *result;
7498 char *kwnames[] = {
7499 NULL
7500 };
7501
7502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
7503 {
7504 PyThreadState* __tstate = wxPyBeginAllowThreads();
7505 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
7506
7507 wxPyEndAllowThreads(__tstate);
7508 if (PyErr_Occurred()) SWIG_fail;
7509 }
7510 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7511 return resultobj;
7512 fail:
7513 return NULL;
7514 }
7515
7516
7517 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7518 PyObject *resultobj;
7519 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7520 PyObject *arg2 = (PyObject *) 0 ;
7521 PyObject *arg3 = (PyObject *) 0 ;
7522 PyObject * obj0 = 0 ;
7523 PyObject * obj1 = 0 ;
7524 PyObject * obj2 = 0 ;
7525 char *kwnames[] = {
7526 (char *) "self",(char *) "self",(char *) "_class", NULL
7527 };
7528
7529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7531 arg2 = obj1;
7532 arg3 = obj2;
7533 {
7534 PyThreadState* __tstate = wxPyBeginAllowThreads();
7535 (arg1)->_setCallbackInfo(arg2,arg3);
7536
7537 wxPyEndAllowThreads(__tstate);
7538 if (PyErr_Occurred()) SWIG_fail;
7539 }
7540 Py_INCREF(Py_None); resultobj = Py_None;
7541 return resultobj;
7542 fail:
7543 return NULL;
7544 }
7545
7546
7547 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
7548 PyObject *resultobj;
7549 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7550 wxWindow *arg2 = (wxWindow *) NULL ;
7551 PyObject * obj0 = 0 ;
7552 PyObject * obj1 = 0 ;
7553 char *kwnames[] = {
7554 (char *) "self",(char *) "focus", NULL
7555 };
7556
7557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
7558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7559 if (obj1) {
7560 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7561 }
7562 {
7563 PyThreadState* __tstate = wxPyBeginAllowThreads();
7564 (arg1)->Popup(arg2);
7565
7566 wxPyEndAllowThreads(__tstate);
7567 if (PyErr_Occurred()) SWIG_fail;
7568 }
7569 Py_INCREF(Py_None); resultobj = Py_None;
7570 return resultobj;
7571 fail:
7572 return NULL;
7573 }
7574
7575
7576 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
7577 PyObject *resultobj;
7578 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7579 PyObject * obj0 = 0 ;
7580 char *kwnames[] = {
7581 (char *) "self", NULL
7582 };
7583
7584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
7585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7586 {
7587 PyThreadState* __tstate = wxPyBeginAllowThreads();
7588 (arg1)->Dismiss();
7589
7590 wxPyEndAllowThreads(__tstate);
7591 if (PyErr_Occurred()) SWIG_fail;
7592 }
7593 Py_INCREF(Py_None); resultobj = Py_None;
7594 return resultobj;
7595 fail:
7596 return NULL;
7597 }
7598
7599
7600 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
7601 PyObject *obj;
7602 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7603 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
7604 Py_INCREF(obj);
7605 return Py_BuildValue((char *)"");
7606 }
7607 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7608 PyObject *resultobj;
7609 wxWindow *arg1 = (wxWindow *) 0 ;
7610 wxString *arg2 = 0 ;
7611 int arg3 = (int) 100 ;
7612 wxRect *arg4 = (wxRect *) NULL ;
7613 wxTipWindow *result;
7614 bool temp2 = False ;
7615 PyObject * obj0 = 0 ;
7616 PyObject * obj1 = 0 ;
7617 PyObject * obj3 = 0 ;
7618 char *kwnames[] = {
7619 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
7620 };
7621
7622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iO:new_TipWindow",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
7623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7624 {
7625 arg2 = wxString_in_helper(obj1);
7626 if (arg2 == NULL) SWIG_fail;
7627 temp2 = True;
7628 }
7629 if (obj3) {
7630 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7631 }
7632 {
7633 PyThreadState* __tstate = wxPyBeginAllowThreads();
7634 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
7635
7636 wxPyEndAllowThreads(__tstate);
7637 if (PyErr_Occurred()) SWIG_fail;
7638 }
7639 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipWindow, 1);
7640 {
7641 if (temp2)
7642 delete arg2;
7643 }
7644 return resultobj;
7645 fail:
7646 {
7647 if (temp2)
7648 delete arg2;
7649 }
7650 return NULL;
7651 }
7652
7653
7654 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7655 PyObject *resultobj;
7656 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7657 wxRect *arg2 = 0 ;
7658 wxRect temp2 ;
7659 PyObject * obj0 = 0 ;
7660 PyObject * obj1 = 0 ;
7661 char *kwnames[] = {
7662 (char *) "self",(char *) "rectBound", NULL
7663 };
7664
7665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
7666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7667 {
7668 arg2 = &temp2;
7669 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7670 }
7671 {
7672 PyThreadState* __tstate = wxPyBeginAllowThreads();
7673 (arg1)->SetBoundingRect((wxRect const &)*arg2);
7674
7675 wxPyEndAllowThreads(__tstate);
7676 if (PyErr_Occurred()) SWIG_fail;
7677 }
7678 Py_INCREF(Py_None); resultobj = Py_None;
7679 return resultobj;
7680 fail:
7681 return NULL;
7682 }
7683
7684
7685 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
7686 PyObject *resultobj;
7687 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7688 PyObject * obj0 = 0 ;
7689 char *kwnames[] = {
7690 (char *) "self", NULL
7691 };
7692
7693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
7694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7695 {
7696 PyThreadState* __tstate = wxPyBeginAllowThreads();
7697 (arg1)->Close();
7698
7699 wxPyEndAllowThreads(__tstate);
7700 if (PyErr_Occurred()) SWIG_fail;
7701 }
7702 Py_INCREF(Py_None); resultobj = Py_None;
7703 return resultobj;
7704 fail:
7705 return NULL;
7706 }
7707
7708
7709 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
7710 PyObject *obj;
7711 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7712 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
7713 Py_INCREF(obj);
7714 return Py_BuildValue((char *)"");
7715 }
7716 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7717 PyObject *resultobj;
7718 wxWindow *arg1 = (wxWindow *) 0 ;
7719 int arg2 = (int) wxID_ANY ;
7720 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7721 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7722 wxSize const &arg4_defvalue = wxDefaultSize ;
7723 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7724 long arg5 = (long) 0 ;
7725 wxString const &arg6_defvalue = wxPyPanelNameStr ;
7726 wxString *arg6 = (wxString *) &arg6_defvalue ;
7727 wxPyVScrolledWindow *result;
7728 wxPoint temp3 ;
7729 wxSize temp4 ;
7730 bool temp6 = False ;
7731 PyObject * obj0 = 0 ;
7732 PyObject * obj2 = 0 ;
7733 PyObject * obj3 = 0 ;
7734 PyObject * obj5 = 0 ;
7735 char *kwnames[] = {
7736 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7737 };
7738
7739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
7740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7741 if (obj2) {
7742 {
7743 arg3 = &temp3;
7744 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7745 }
7746 }
7747 if (obj3) {
7748 {
7749 arg4 = &temp4;
7750 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7751 }
7752 }
7753 if (obj5) {
7754 {
7755 arg6 = wxString_in_helper(obj5);
7756 if (arg6 == NULL) SWIG_fail;
7757 temp6 = True;
7758 }
7759 }
7760 {
7761 PyThreadState* __tstate = wxPyBeginAllowThreads();
7762 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7763
7764 wxPyEndAllowThreads(__tstate);
7765 if (PyErr_Occurred()) SWIG_fail;
7766 }
7767 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
7768 {
7769 if (temp6)
7770 delete arg6;
7771 }
7772 return resultobj;
7773 fail:
7774 {
7775 if (temp6)
7776 delete arg6;
7777 }
7778 return NULL;
7779 }
7780
7781
7782 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7783 PyObject *resultobj;
7784 wxPyVScrolledWindow *result;
7785 char *kwnames[] = {
7786 NULL
7787 };
7788
7789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
7790 {
7791 PyThreadState* __tstate = wxPyBeginAllowThreads();
7792 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
7793
7794 wxPyEndAllowThreads(__tstate);
7795 if (PyErr_Occurred()) SWIG_fail;
7796 }
7797 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
7798 return resultobj;
7799 fail:
7800 return NULL;
7801 }
7802
7803
7804 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7805 PyObject *resultobj;
7806 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7807 PyObject *arg2 = (PyObject *) 0 ;
7808 PyObject *arg3 = (PyObject *) 0 ;
7809 PyObject * obj0 = 0 ;
7810 PyObject * obj1 = 0 ;
7811 PyObject * obj2 = 0 ;
7812 char *kwnames[] = {
7813 (char *) "self",(char *) "self",(char *) "_class", NULL
7814 };
7815
7816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7818 arg2 = obj1;
7819 arg3 = obj2;
7820 {
7821 PyThreadState* __tstate = wxPyBeginAllowThreads();
7822 (arg1)->_setCallbackInfo(arg2,arg3);
7823
7824 wxPyEndAllowThreads(__tstate);
7825 if (PyErr_Occurred()) SWIG_fail;
7826 }
7827 Py_INCREF(Py_None); resultobj = Py_None;
7828 return resultobj;
7829 fail:
7830 return NULL;
7831 }
7832
7833
7834 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7835 PyObject *resultobj;
7836 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7837 wxWindow *arg2 = (wxWindow *) 0 ;
7838 int arg3 = (int) wxID_ANY ;
7839 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7840 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7841 wxSize const &arg5_defvalue = wxDefaultSize ;
7842 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7843 long arg6 = (long) 0 ;
7844 wxString const &arg7_defvalue = wxPyPanelNameStr ;
7845 wxString *arg7 = (wxString *) &arg7_defvalue ;
7846 bool result;
7847 wxPoint temp4 ;
7848 wxSize temp5 ;
7849 bool temp7 = False ;
7850 PyObject * obj0 = 0 ;
7851 PyObject * obj1 = 0 ;
7852 PyObject * obj3 = 0 ;
7853 PyObject * obj4 = 0 ;
7854 PyObject * obj6 = 0 ;
7855 char *kwnames[] = {
7856 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7857 };
7858
7859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
7860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7861 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7862 if (obj3) {
7863 {
7864 arg4 = &temp4;
7865 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7866 }
7867 }
7868 if (obj4) {
7869 {
7870 arg5 = &temp5;
7871 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7872 }
7873 }
7874 if (obj6) {
7875 {
7876 arg7 = wxString_in_helper(obj6);
7877 if (arg7 == NULL) SWIG_fail;
7878 temp7 = True;
7879 }
7880 }
7881 {
7882 PyThreadState* __tstate = wxPyBeginAllowThreads();
7883 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7884
7885 wxPyEndAllowThreads(__tstate);
7886 if (PyErr_Occurred()) SWIG_fail;
7887 }
7888 resultobj = PyInt_FromLong((long)result);
7889 {
7890 if (temp7)
7891 delete arg7;
7892 }
7893 return resultobj;
7894 fail:
7895 {
7896 if (temp7)
7897 delete arg7;
7898 }
7899 return NULL;
7900 }
7901
7902
7903 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7904 PyObject *resultobj;
7905 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7906 size_t arg2 ;
7907 PyObject * obj0 = 0 ;
7908 PyObject * obj1 = 0 ;
7909 char *kwnames[] = {
7910 (char *) "self",(char *) "count", NULL
7911 };
7912
7913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
7914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7915 arg2 = (size_t) PyInt_AsLong(obj1);
7916 if (PyErr_Occurred()) SWIG_fail;
7917 {
7918 PyThreadState* __tstate = wxPyBeginAllowThreads();
7919 (arg1)->SetLineCount(arg2);
7920
7921 wxPyEndAllowThreads(__tstate);
7922 if (PyErr_Occurred()) SWIG_fail;
7923 }
7924 Py_INCREF(Py_None); resultobj = Py_None;
7925 return resultobj;
7926 fail:
7927 return NULL;
7928 }
7929
7930
7931 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7932 PyObject *resultobj;
7933 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7934 size_t arg2 ;
7935 bool result;
7936 PyObject * obj0 = 0 ;
7937 PyObject * obj1 = 0 ;
7938 char *kwnames[] = {
7939 (char *) "self",(char *) "line", NULL
7940 };
7941
7942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
7943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7944 arg2 = (size_t) PyInt_AsLong(obj1);
7945 if (PyErr_Occurred()) SWIG_fail;
7946 {
7947 PyThreadState* __tstate = wxPyBeginAllowThreads();
7948 result = (bool)(arg1)->ScrollToLine(arg2);
7949
7950 wxPyEndAllowThreads(__tstate);
7951 if (PyErr_Occurred()) SWIG_fail;
7952 }
7953 resultobj = PyInt_FromLong((long)result);
7954 return resultobj;
7955 fail:
7956 return NULL;
7957 }
7958
7959
7960 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7961 PyObject *resultobj;
7962 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7963 int arg2 ;
7964 bool result;
7965 PyObject * obj0 = 0 ;
7966 char *kwnames[] = {
7967 (char *) "self",(char *) "lines", NULL
7968 };
7969
7970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollLines",kwnames,&obj0,&arg2)) goto fail;
7971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7972 {
7973 PyThreadState* __tstate = wxPyBeginAllowThreads();
7974 result = (bool)(arg1)->ScrollLines(arg2);
7975
7976 wxPyEndAllowThreads(__tstate);
7977 if (PyErr_Occurred()) SWIG_fail;
7978 }
7979 resultobj = PyInt_FromLong((long)result);
7980 return resultobj;
7981 fail:
7982 return NULL;
7983 }
7984
7985
7986 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
7987 PyObject *resultobj;
7988 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7989 int arg2 ;
7990 bool result;
7991 PyObject * obj0 = 0 ;
7992 char *kwnames[] = {
7993 (char *) "self",(char *) "pages", NULL
7994 };
7995
7996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollPages",kwnames,&obj0,&arg2)) goto fail;
7997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7998 {
7999 PyThreadState* __tstate = wxPyBeginAllowThreads();
8000 result = (bool)(arg1)->ScrollPages(arg2);
8001
8002 wxPyEndAllowThreads(__tstate);
8003 if (PyErr_Occurred()) SWIG_fail;
8004 }
8005 resultobj = PyInt_FromLong((long)result);
8006 return resultobj;
8007 fail:
8008 return NULL;
8009 }
8010
8011
8012 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8013 PyObject *resultobj;
8014 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8015 size_t arg2 ;
8016 PyObject * obj0 = 0 ;
8017 PyObject * obj1 = 0 ;
8018 char *kwnames[] = {
8019 (char *) "self",(char *) "line", NULL
8020 };
8021
8022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
8023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8024 arg2 = (size_t) PyInt_AsLong(obj1);
8025 if (PyErr_Occurred()) SWIG_fail;
8026 {
8027 PyThreadState* __tstate = wxPyBeginAllowThreads();
8028 (arg1)->RefreshLine(arg2);
8029
8030 wxPyEndAllowThreads(__tstate);
8031 if (PyErr_Occurred()) SWIG_fail;
8032 }
8033 Py_INCREF(Py_None); resultobj = Py_None;
8034 return resultobj;
8035 fail:
8036 return NULL;
8037 }
8038
8039
8040 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8041 PyObject *resultobj;
8042 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8043 size_t arg2 ;
8044 size_t arg3 ;
8045 PyObject * obj0 = 0 ;
8046 PyObject * obj1 = 0 ;
8047 PyObject * obj2 = 0 ;
8048 char *kwnames[] = {
8049 (char *) "self",(char *) "from",(char *) "to", NULL
8050 };
8051
8052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
8053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8054 arg2 = (size_t) PyInt_AsLong(obj1);
8055 if (PyErr_Occurred()) SWIG_fail;
8056 arg3 = (size_t) PyInt_AsLong(obj2);
8057 if (PyErr_Occurred()) SWIG_fail;
8058 {
8059 PyThreadState* __tstate = wxPyBeginAllowThreads();
8060 (arg1)->RefreshLines(arg2,arg3);
8061
8062 wxPyEndAllowThreads(__tstate);
8063 if (PyErr_Occurred()) SWIG_fail;
8064 }
8065 Py_INCREF(Py_None); resultobj = Py_None;
8066 return resultobj;
8067 fail:
8068 return NULL;
8069 }
8070
8071
8072 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
8073 PyObject *resultobj;
8074 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8075 int arg2 ;
8076 int arg3 ;
8077 int result;
8078 PyObject * obj0 = 0 ;
8079 char *kwnames[] = {
8080 (char *) "self",(char *) "x",(char *) "y", NULL
8081 };
8082
8083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VScrolledWindow_HitTestXT",kwnames,&obj0,&arg2,&arg3)) goto fail;
8084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8085 {
8086 PyThreadState* __tstate = wxPyBeginAllowThreads();
8087 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
8088
8089 wxPyEndAllowThreads(__tstate);
8090 if (PyErr_Occurred()) SWIG_fail;
8091 }
8092 resultobj = PyInt_FromLong((long)result);
8093 return resultobj;
8094 fail:
8095 return NULL;
8096 }
8097
8098
8099 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8100 PyObject *resultobj;
8101 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8102 wxPoint *arg2 = 0 ;
8103 int result;
8104 wxPoint temp2 ;
8105 PyObject * obj0 = 0 ;
8106 PyObject * obj1 = 0 ;
8107 char *kwnames[] = {
8108 (char *) "self",(char *) "pt", NULL
8109 };
8110
8111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
8112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8113 {
8114 arg2 = &temp2;
8115 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8116 }
8117 {
8118 PyThreadState* __tstate = wxPyBeginAllowThreads();
8119 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
8120
8121 wxPyEndAllowThreads(__tstate);
8122 if (PyErr_Occurred()) SWIG_fail;
8123 }
8124 resultobj = PyInt_FromLong((long)result);
8125 return resultobj;
8126 fail:
8127 return NULL;
8128 }
8129
8130
8131 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8132 PyObject *resultobj;
8133 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8134 PyObject * obj0 = 0 ;
8135 char *kwnames[] = {
8136 (char *) "self", NULL
8137 };
8138
8139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
8140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8141 {
8142 PyThreadState* __tstate = wxPyBeginAllowThreads();
8143 (arg1)->RefreshAll();
8144
8145 wxPyEndAllowThreads(__tstate);
8146 if (PyErr_Occurred()) SWIG_fail;
8147 }
8148 Py_INCREF(Py_None); resultobj = Py_None;
8149 return resultobj;
8150 fail:
8151 return NULL;
8152 }
8153
8154
8155 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8156 PyObject *resultobj;
8157 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8158 size_t result;
8159 PyObject * obj0 = 0 ;
8160 char *kwnames[] = {
8161 (char *) "self", NULL
8162 };
8163
8164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
8165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8166 {
8167 PyThreadState* __tstate = wxPyBeginAllowThreads();
8168 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
8169
8170 wxPyEndAllowThreads(__tstate);
8171 if (PyErr_Occurred()) SWIG_fail;
8172 }
8173 resultobj = PyInt_FromLong((long)result);
8174 return resultobj;
8175 fail:
8176 return NULL;
8177 }
8178
8179
8180 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8181 PyObject *resultobj;
8182 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8183 size_t result;
8184 PyObject * obj0 = 0 ;
8185 char *kwnames[] = {
8186 (char *) "self", NULL
8187 };
8188
8189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
8190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8191 {
8192 PyThreadState* __tstate = wxPyBeginAllowThreads();
8193 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
8194
8195 wxPyEndAllowThreads(__tstate);
8196 if (PyErr_Occurred()) SWIG_fail;
8197 }
8198 resultobj = PyInt_FromLong((long)result);
8199 return resultobj;
8200 fail:
8201 return NULL;
8202 }
8203
8204
8205 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8206 PyObject *resultobj;
8207 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8208 size_t result;
8209 PyObject * obj0 = 0 ;
8210 char *kwnames[] = {
8211 (char *) "self", NULL
8212 };
8213
8214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
8215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8216 {
8217 PyThreadState* __tstate = wxPyBeginAllowThreads();
8218 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
8219
8220 wxPyEndAllowThreads(__tstate);
8221 if (PyErr_Occurred()) SWIG_fail;
8222 }
8223 resultobj = PyInt_FromLong((long)result);
8224 return resultobj;
8225 fail:
8226 return NULL;
8227 }
8228
8229
8230 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8231 PyObject *resultobj;
8232 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8233 size_t arg2 ;
8234 bool result;
8235 PyObject * obj0 = 0 ;
8236 PyObject * obj1 = 0 ;
8237 char *kwnames[] = {
8238 (char *) "self",(char *) "line", NULL
8239 };
8240
8241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
8242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8243 arg2 = (size_t) PyInt_AsLong(obj1);
8244 if (PyErr_Occurred()) SWIG_fail;
8245 {
8246 PyThreadState* __tstate = wxPyBeginAllowThreads();
8247 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
8248
8249 wxPyEndAllowThreads(__tstate);
8250 if (PyErr_Occurred()) SWIG_fail;
8251 }
8252 resultobj = PyInt_FromLong((long)result);
8253 return resultobj;
8254 fail:
8255 return NULL;
8256 }
8257
8258
8259 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
8260 PyObject *obj;
8261 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8262 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
8263 Py_INCREF(obj);
8264 return Py_BuildValue((char *)"");
8265 }
8266 static int _wrap_VListBoxNameStr_set(PyObject *_val) {
8267 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
8268 return 1;
8269 }
8270
8271
8272 static PyObject *_wrap_VListBoxNameStr_get() {
8273 PyObject *pyobj;
8274
8275 {
8276 #if wxUSE_UNICODE
8277 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
8278 #else
8279 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
8280 #endif
8281 }
8282 return pyobj;
8283 }
8284
8285
8286 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8287 PyObject *resultobj;
8288 wxWindow *arg1 = (wxWindow *) 0 ;
8289 int arg2 = (int) wxID_ANY ;
8290 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8291 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8292 wxSize const &arg4_defvalue = wxDefaultSize ;
8293 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8294 long arg5 = (long) 0 ;
8295 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
8296 wxString *arg6 = (wxString *) &arg6_defvalue ;
8297 wxPyVListBox *result;
8298 wxPoint temp3 ;
8299 wxSize temp4 ;
8300 bool temp6 = False ;
8301 PyObject * obj0 = 0 ;
8302 PyObject * obj2 = 0 ;
8303 PyObject * obj3 = 0 ;
8304 PyObject * obj5 = 0 ;
8305 char *kwnames[] = {
8306 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8307 };
8308
8309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8311 if (obj2) {
8312 {
8313 arg3 = &temp3;
8314 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8315 }
8316 }
8317 if (obj3) {
8318 {
8319 arg4 = &temp4;
8320 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8321 }
8322 }
8323 if (obj5) {
8324 {
8325 arg6 = wxString_in_helper(obj5);
8326 if (arg6 == NULL) SWIG_fail;
8327 temp6 = True;
8328 }
8329 }
8330 {
8331 PyThreadState* __tstate = wxPyBeginAllowThreads();
8332 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8333
8334 wxPyEndAllowThreads(__tstate);
8335 if (PyErr_Occurred()) SWIG_fail;
8336 }
8337 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8338 {
8339 if (temp6)
8340 delete arg6;
8341 }
8342 return resultobj;
8343 fail:
8344 {
8345 if (temp6)
8346 delete arg6;
8347 }
8348 return NULL;
8349 }
8350
8351
8352 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8353 PyObject *resultobj;
8354 wxPyVListBox *result;
8355 char *kwnames[] = {
8356 NULL
8357 };
8358
8359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
8360 {
8361 PyThreadState* __tstate = wxPyBeginAllowThreads();
8362 result = (wxPyVListBox *)new wxPyVListBox();
8363
8364 wxPyEndAllowThreads(__tstate);
8365 if (PyErr_Occurred()) SWIG_fail;
8366 }
8367 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8368 return resultobj;
8369 fail:
8370 return NULL;
8371 }
8372
8373
8374 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8375 PyObject *resultobj;
8376 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8377 PyObject *arg2 = (PyObject *) 0 ;
8378 PyObject *arg3 = (PyObject *) 0 ;
8379 PyObject * obj0 = 0 ;
8380 PyObject * obj1 = 0 ;
8381 PyObject * obj2 = 0 ;
8382 char *kwnames[] = {
8383 (char *) "self",(char *) "self",(char *) "_class", NULL
8384 };
8385
8386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8388 arg2 = obj1;
8389 arg3 = obj2;
8390 {
8391 PyThreadState* __tstate = wxPyBeginAllowThreads();
8392 (arg1)->_setCallbackInfo(arg2,arg3);
8393
8394 wxPyEndAllowThreads(__tstate);
8395 if (PyErr_Occurred()) SWIG_fail;
8396 }
8397 Py_INCREF(Py_None); resultobj = Py_None;
8398 return resultobj;
8399 fail:
8400 return NULL;
8401 }
8402
8403
8404 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8405 PyObject *resultobj;
8406 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8407 wxWindow *arg2 = (wxWindow *) 0 ;
8408 int arg3 = (int) wxID_ANY ;
8409 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8410 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8411 wxSize const &arg5_defvalue = wxDefaultSize ;
8412 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8413 long arg6 = (long) 0 ;
8414 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
8415 wxString *arg7 = (wxString *) &arg7_defvalue ;
8416 bool result;
8417 wxPoint temp4 ;
8418 wxSize temp5 ;
8419 bool temp7 = False ;
8420 PyObject * obj0 = 0 ;
8421 PyObject * obj1 = 0 ;
8422 PyObject * obj3 = 0 ;
8423 PyObject * obj4 = 0 ;
8424 PyObject * obj6 = 0 ;
8425 char *kwnames[] = {
8426 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8427 };
8428
8429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8431 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8432 if (obj3) {
8433 {
8434 arg4 = &temp4;
8435 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8436 }
8437 }
8438 if (obj4) {
8439 {
8440 arg5 = &temp5;
8441 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8442 }
8443 }
8444 if (obj6) {
8445 {
8446 arg7 = wxString_in_helper(obj6);
8447 if (arg7 == NULL) SWIG_fail;
8448 temp7 = True;
8449 }
8450 }
8451 {
8452 PyThreadState* __tstate = wxPyBeginAllowThreads();
8453 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8454
8455 wxPyEndAllowThreads(__tstate);
8456 if (PyErr_Occurred()) SWIG_fail;
8457 }
8458 resultobj = PyInt_FromLong((long)result);
8459 {
8460 if (temp7)
8461 delete arg7;
8462 }
8463 return resultobj;
8464 fail:
8465 {
8466 if (temp7)
8467 delete arg7;
8468 }
8469 return NULL;
8470 }
8471
8472
8473 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8474 PyObject *resultobj;
8475 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8476 size_t result;
8477 PyObject * obj0 = 0 ;
8478 char *kwnames[] = {
8479 (char *) "self", NULL
8480 };
8481
8482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
8483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8484 {
8485 PyThreadState* __tstate = wxPyBeginAllowThreads();
8486 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
8487
8488 wxPyEndAllowThreads(__tstate);
8489 if (PyErr_Occurred()) SWIG_fail;
8490 }
8491 resultobj = PyInt_FromLong((long)result);
8492 return resultobj;
8493 fail:
8494 return NULL;
8495 }
8496
8497
8498 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8499 PyObject *resultobj;
8500 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8501 bool result;
8502 PyObject * obj0 = 0 ;
8503 char *kwnames[] = {
8504 (char *) "self", NULL
8505 };
8506
8507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
8508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8509 {
8510 PyThreadState* __tstate = wxPyBeginAllowThreads();
8511 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
8512
8513 wxPyEndAllowThreads(__tstate);
8514 if (PyErr_Occurred()) SWIG_fail;
8515 }
8516 resultobj = PyInt_FromLong((long)result);
8517 return resultobj;
8518 fail:
8519 return NULL;
8520 }
8521
8522
8523 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8524 PyObject *resultobj;
8525 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8526 int result;
8527 PyObject * obj0 = 0 ;
8528 char *kwnames[] = {
8529 (char *) "self", NULL
8530 };
8531
8532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
8533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8534 {
8535 PyThreadState* __tstate = wxPyBeginAllowThreads();
8536 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
8537
8538 wxPyEndAllowThreads(__tstate);
8539 if (PyErr_Occurred()) SWIG_fail;
8540 }
8541 resultobj = PyInt_FromLong((long)result);
8542 return resultobj;
8543 fail:
8544 return NULL;
8545 }
8546
8547
8548 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
8549 PyObject *resultobj;
8550 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8551 size_t arg2 ;
8552 bool result;
8553 PyObject * obj0 = 0 ;
8554 PyObject * obj1 = 0 ;
8555 char *kwnames[] = {
8556 (char *) "self",(char *) "item", NULL
8557 };
8558
8559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
8560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8561 arg2 = (size_t) PyInt_AsLong(obj1);
8562 if (PyErr_Occurred()) SWIG_fail;
8563 {
8564 PyThreadState* __tstate = wxPyBeginAllowThreads();
8565 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
8566
8567 wxPyEndAllowThreads(__tstate);
8568 if (PyErr_Occurred()) SWIG_fail;
8569 }
8570 resultobj = PyInt_FromLong((long)result);
8571 return resultobj;
8572 fail:
8573 return NULL;
8574 }
8575
8576
8577 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8578 PyObject *resultobj;
8579 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8580 size_t arg2 ;
8581 bool result;
8582 PyObject * obj0 = 0 ;
8583 PyObject * obj1 = 0 ;
8584 char *kwnames[] = {
8585 (char *) "self",(char *) "item", NULL
8586 };
8587
8588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
8589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8590 arg2 = (size_t) PyInt_AsLong(obj1);
8591 if (PyErr_Occurred()) SWIG_fail;
8592 {
8593 PyThreadState* __tstate = wxPyBeginAllowThreads();
8594 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
8595
8596 wxPyEndAllowThreads(__tstate);
8597 if (PyErr_Occurred()) SWIG_fail;
8598 }
8599 resultobj = PyInt_FromLong((long)result);
8600 return resultobj;
8601 fail:
8602 return NULL;
8603 }
8604
8605
8606 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8607 PyObject *resultobj;
8608 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8609 size_t result;
8610 PyObject * obj0 = 0 ;
8611 char *kwnames[] = {
8612 (char *) "self", NULL
8613 };
8614
8615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
8616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8617 {
8618 PyThreadState* __tstate = wxPyBeginAllowThreads();
8619 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
8620
8621 wxPyEndAllowThreads(__tstate);
8622 if (PyErr_Occurred()) SWIG_fail;
8623 }
8624 resultobj = PyInt_FromLong((long)result);
8625 return resultobj;
8626 fail:
8627 return NULL;
8628 }
8629
8630
8631 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8632 PyObject *resultobj;
8633 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8634 unsigned long *arg2 = 0 ;
8635 int result;
8636 PyObject * obj0 = 0 ;
8637 PyObject * obj1 = 0 ;
8638 char *kwnames[] = {
8639 (char *) "self",(char *) "cookie", NULL
8640 };
8641
8642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
8643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8644 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8645 if (arg2 == NULL) {
8646 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8647 }
8648 {
8649 PyThreadState* __tstate = wxPyBeginAllowThreads();
8650 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
8651
8652 wxPyEndAllowThreads(__tstate);
8653 if (PyErr_Occurred()) SWIG_fail;
8654 }
8655 resultobj = PyInt_FromLong((long)result);
8656 return resultobj;
8657 fail:
8658 return NULL;
8659 }
8660
8661
8662 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8663 PyObject *resultobj;
8664 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8665 unsigned long *arg2 = 0 ;
8666 int result;
8667 PyObject * obj0 = 0 ;
8668 PyObject * obj1 = 0 ;
8669 char *kwnames[] = {
8670 (char *) "self",(char *) "cookie", NULL
8671 };
8672
8673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
8674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8675 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8676 if (arg2 == NULL) {
8677 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8678 }
8679 {
8680 PyThreadState* __tstate = wxPyBeginAllowThreads();
8681 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
8682
8683 wxPyEndAllowThreads(__tstate);
8684 if (PyErr_Occurred()) SWIG_fail;
8685 }
8686 resultobj = PyInt_FromLong((long)result);
8687 return resultobj;
8688 fail:
8689 return NULL;
8690 }
8691
8692
8693 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
8694 PyObject *resultobj;
8695 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8696 wxPoint result;
8697 PyObject * obj0 = 0 ;
8698 char *kwnames[] = {
8699 (char *) "self", NULL
8700 };
8701
8702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
8703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8704 {
8705 PyThreadState* __tstate = wxPyBeginAllowThreads();
8706 result = ((wxPyVListBox const *)arg1)->GetMargins();
8707
8708 wxPyEndAllowThreads(__tstate);
8709 if (PyErr_Occurred()) SWIG_fail;
8710 }
8711 {
8712 wxPoint * resultptr;
8713 resultptr = new wxPoint((wxPoint &) result);
8714 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
8715 }
8716 return resultobj;
8717 fail:
8718 return NULL;
8719 }
8720
8721
8722 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8723 PyObject *resultobj;
8724 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8725 wxColour *result;
8726 PyObject * obj0 = 0 ;
8727 char *kwnames[] = {
8728 (char *) "self", NULL
8729 };
8730
8731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
8732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8733 {
8734 PyThreadState* __tstate = wxPyBeginAllowThreads();
8735 {
8736 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
8737 result = (wxColour *) &_result_ref;
8738 }
8739
8740 wxPyEndAllowThreads(__tstate);
8741 if (PyErr_Occurred()) SWIG_fail;
8742 }
8743 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
8744 return resultobj;
8745 fail:
8746 return NULL;
8747 }
8748
8749
8750 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8751 PyObject *resultobj;
8752 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8753 size_t arg2 ;
8754 PyObject * obj0 = 0 ;
8755 PyObject * obj1 = 0 ;
8756 char *kwnames[] = {
8757 (char *) "self",(char *) "count", NULL
8758 };
8759
8760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
8761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8762 arg2 = (size_t) PyInt_AsLong(obj1);
8763 if (PyErr_Occurred()) SWIG_fail;
8764 {
8765 PyThreadState* __tstate = wxPyBeginAllowThreads();
8766 (arg1)->SetItemCount(arg2);
8767
8768 wxPyEndAllowThreads(__tstate);
8769 if (PyErr_Occurred()) SWIG_fail;
8770 }
8771 Py_INCREF(Py_None); resultobj = Py_None;
8772 return resultobj;
8773 fail:
8774 return NULL;
8775 }
8776
8777
8778 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8779 PyObject *resultobj;
8780 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8781 PyObject * obj0 = 0 ;
8782 char *kwnames[] = {
8783 (char *) "self", NULL
8784 };
8785
8786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
8787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8788 {
8789 PyThreadState* __tstate = wxPyBeginAllowThreads();
8790 (arg1)->Clear();
8791
8792 wxPyEndAllowThreads(__tstate);
8793 if (PyErr_Occurred()) SWIG_fail;
8794 }
8795 Py_INCREF(Py_None); resultobj = Py_None;
8796 return resultobj;
8797 fail:
8798 return NULL;
8799 }
8800
8801
8802 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8803 PyObject *resultobj;
8804 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8805 int arg2 ;
8806 PyObject * obj0 = 0 ;
8807 char *kwnames[] = {
8808 (char *) "self",(char *) "selection", NULL
8809 };
8810
8811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VListBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
8812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8813 {
8814 PyThreadState* __tstate = wxPyBeginAllowThreads();
8815 (arg1)->SetSelection(arg2);
8816
8817 wxPyEndAllowThreads(__tstate);
8818 if (PyErr_Occurred()) SWIG_fail;
8819 }
8820 Py_INCREF(Py_None); resultobj = Py_None;
8821 return resultobj;
8822 fail:
8823 return NULL;
8824 }
8825
8826
8827 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
8828 PyObject *resultobj;
8829 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8830 size_t arg2 ;
8831 bool arg3 = (bool) True ;
8832 bool result;
8833 PyObject * obj0 = 0 ;
8834 PyObject * obj1 = 0 ;
8835 PyObject * obj2 = 0 ;
8836 char *kwnames[] = {
8837 (char *) "self",(char *) "item",(char *) "select", NULL
8838 };
8839
8840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
8841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8842 arg2 = (size_t) PyInt_AsLong(obj1);
8843 if (PyErr_Occurred()) SWIG_fail;
8844 if (obj2) {
8845 arg3 = PyInt_AsLong(obj2) ? true : false;
8846 if (PyErr_Occurred()) SWIG_fail;
8847 }
8848 {
8849 PyThreadState* __tstate = wxPyBeginAllowThreads();
8850 result = (bool)(arg1)->Select(arg2,arg3);
8851
8852 wxPyEndAllowThreads(__tstate);
8853 if (PyErr_Occurred()) SWIG_fail;
8854 }
8855 resultobj = PyInt_FromLong((long)result);
8856 return resultobj;
8857 fail:
8858 return NULL;
8859 }
8860
8861
8862 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8863 PyObject *resultobj;
8864 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8865 size_t arg2 ;
8866 size_t arg3 ;
8867 bool result;
8868 PyObject * obj0 = 0 ;
8869 PyObject * obj1 = 0 ;
8870 PyObject * obj2 = 0 ;
8871 char *kwnames[] = {
8872 (char *) "self",(char *) "from",(char *) "to", NULL
8873 };
8874
8875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
8876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8877 arg2 = (size_t) PyInt_AsLong(obj1);
8878 if (PyErr_Occurred()) SWIG_fail;
8879 arg3 = (size_t) PyInt_AsLong(obj2);
8880 if (PyErr_Occurred()) SWIG_fail;
8881 {
8882 PyThreadState* __tstate = wxPyBeginAllowThreads();
8883 result = (bool)(arg1)->SelectRange(arg2,arg3);
8884
8885 wxPyEndAllowThreads(__tstate);
8886 if (PyErr_Occurred()) SWIG_fail;
8887 }
8888 resultobj = PyInt_FromLong((long)result);
8889 return resultobj;
8890 fail:
8891 return NULL;
8892 }
8893
8894
8895 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
8896 PyObject *resultobj;
8897 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8898 size_t arg2 ;
8899 PyObject * obj0 = 0 ;
8900 PyObject * obj1 = 0 ;
8901 char *kwnames[] = {
8902 (char *) "self",(char *) "item", NULL
8903 };
8904
8905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
8906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8907 arg2 = (size_t) PyInt_AsLong(obj1);
8908 if (PyErr_Occurred()) SWIG_fail;
8909 {
8910 PyThreadState* __tstate = wxPyBeginAllowThreads();
8911 (arg1)->Toggle(arg2);
8912
8913 wxPyEndAllowThreads(__tstate);
8914 if (PyErr_Occurred()) SWIG_fail;
8915 }
8916 Py_INCREF(Py_None); resultobj = Py_None;
8917 return resultobj;
8918 fail:
8919 return NULL;
8920 }
8921
8922
8923 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8924 PyObject *resultobj;
8925 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8926 bool result;
8927 PyObject * obj0 = 0 ;
8928 char *kwnames[] = {
8929 (char *) "self", NULL
8930 };
8931
8932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
8933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8934 {
8935 PyThreadState* __tstate = wxPyBeginAllowThreads();
8936 result = (bool)(arg1)->SelectAll();
8937
8938 wxPyEndAllowThreads(__tstate);
8939 if (PyErr_Occurred()) SWIG_fail;
8940 }
8941 resultobj = PyInt_FromLong((long)result);
8942 return resultobj;
8943 fail:
8944 return NULL;
8945 }
8946
8947
8948 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8949 PyObject *resultobj;
8950 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8951 bool result;
8952 PyObject * obj0 = 0 ;
8953 char *kwnames[] = {
8954 (char *) "self", NULL
8955 };
8956
8957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
8958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8959 {
8960 PyThreadState* __tstate = wxPyBeginAllowThreads();
8961 result = (bool)(arg1)->DeselectAll();
8962
8963 wxPyEndAllowThreads(__tstate);
8964 if (PyErr_Occurred()) SWIG_fail;
8965 }
8966 resultobj = PyInt_FromLong((long)result);
8967 return resultobj;
8968 fail:
8969 return NULL;
8970 }
8971
8972
8973 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
8974 PyObject *resultobj;
8975 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8976 wxPoint *arg2 = 0 ;
8977 wxPoint temp2 ;
8978 PyObject * obj0 = 0 ;
8979 PyObject * obj1 = 0 ;
8980 char *kwnames[] = {
8981 (char *) "self",(char *) "pt", NULL
8982 };
8983
8984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
8985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8986 {
8987 arg2 = &temp2;
8988 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8989 }
8990 {
8991 PyThreadState* __tstate = wxPyBeginAllowThreads();
8992 (arg1)->SetMargins((wxPoint const &)*arg2);
8993
8994 wxPyEndAllowThreads(__tstate);
8995 if (PyErr_Occurred()) SWIG_fail;
8996 }
8997 Py_INCREF(Py_None); resultobj = Py_None;
8998 return resultobj;
8999 fail:
9000 return NULL;
9001 }
9002
9003
9004 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
9005 PyObject *resultobj;
9006 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9007 int arg2 ;
9008 int arg3 ;
9009 PyObject * obj0 = 0 ;
9010 char *kwnames[] = {
9011 (char *) "self",(char *) "x",(char *) "y", NULL
9012 };
9013
9014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VListBox_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
9015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9016 {
9017 PyThreadState* __tstate = wxPyBeginAllowThreads();
9018 (arg1)->SetMargins(arg2,arg3);
9019
9020 wxPyEndAllowThreads(__tstate);
9021 if (PyErr_Occurred()) SWIG_fail;
9022 }
9023 Py_INCREF(Py_None); resultobj = Py_None;
9024 return resultobj;
9025 fail:
9026 return NULL;
9027 }
9028
9029
9030 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9031 PyObject *resultobj;
9032 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9033 wxColour *arg2 = 0 ;
9034 wxColour temp2 ;
9035 PyObject * obj0 = 0 ;
9036 PyObject * obj1 = 0 ;
9037 char *kwnames[] = {
9038 (char *) "self",(char *) "col", NULL
9039 };
9040
9041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
9042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9043 {
9044 arg2 = &temp2;
9045 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9046 }
9047 {
9048 PyThreadState* __tstate = wxPyBeginAllowThreads();
9049 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
9050
9051 wxPyEndAllowThreads(__tstate);
9052 if (PyErr_Occurred()) SWIG_fail;
9053 }
9054 Py_INCREF(Py_None); resultobj = Py_None;
9055 return resultobj;
9056 fail:
9057 return NULL;
9058 }
9059
9060
9061 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
9062 PyObject *obj;
9063 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9064 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
9065 Py_INCREF(obj);
9066 return Py_BuildValue((char *)"");
9067 }
9068 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9069 PyObject *resultobj;
9070 wxWindow *arg1 = (wxWindow *) 0 ;
9071 int arg2 = (int) wxID_ANY ;
9072 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9073 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9074 wxSize const &arg4_defvalue = wxDefaultSize ;
9075 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9076 long arg5 = (long) 0 ;
9077 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9078 wxString *arg6 = (wxString *) &arg6_defvalue ;
9079 wxPyHtmlListBox *result;
9080 wxPoint temp3 ;
9081 wxSize temp4 ;
9082 bool temp6 = False ;
9083 PyObject * obj0 = 0 ;
9084 PyObject * obj2 = 0 ;
9085 PyObject * obj3 = 0 ;
9086 PyObject * obj5 = 0 ;
9087 char *kwnames[] = {
9088 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9089 };
9090
9091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_HtmlListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
9092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9093 if (obj2) {
9094 {
9095 arg3 = &temp3;
9096 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9097 }
9098 }
9099 if (obj3) {
9100 {
9101 arg4 = &temp4;
9102 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9103 }
9104 }
9105 if (obj5) {
9106 {
9107 arg6 = wxString_in_helper(obj5);
9108 if (arg6 == NULL) SWIG_fail;
9109 temp6 = True;
9110 }
9111 }
9112 {
9113 PyThreadState* __tstate = wxPyBeginAllowThreads();
9114 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9115
9116 wxPyEndAllowThreads(__tstate);
9117 if (PyErr_Occurred()) SWIG_fail;
9118 }
9119 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
9120 {
9121 if (temp6)
9122 delete arg6;
9123 }
9124 return resultobj;
9125 fail:
9126 {
9127 if (temp6)
9128 delete arg6;
9129 }
9130 return NULL;
9131 }
9132
9133
9134 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9135 PyObject *resultobj;
9136 wxPyHtmlListBox *result;
9137 char *kwnames[] = {
9138 NULL
9139 };
9140
9141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
9142 {
9143 PyThreadState* __tstate = wxPyBeginAllowThreads();
9144 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
9145
9146 wxPyEndAllowThreads(__tstate);
9147 if (PyErr_Occurred()) SWIG_fail;
9148 }
9149 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
9150 return resultobj;
9151 fail:
9152 return NULL;
9153 }
9154
9155
9156 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9157 PyObject *resultobj;
9158 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9159 PyObject *arg2 = (PyObject *) 0 ;
9160 PyObject *arg3 = (PyObject *) 0 ;
9161 PyObject * obj0 = 0 ;
9162 PyObject * obj1 = 0 ;
9163 PyObject * obj2 = 0 ;
9164 char *kwnames[] = {
9165 (char *) "self",(char *) "self",(char *) "_class", NULL
9166 };
9167
9168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9170 arg2 = obj1;
9171 arg3 = obj2;
9172 {
9173 PyThreadState* __tstate = wxPyBeginAllowThreads();
9174 (arg1)->_setCallbackInfo(arg2,arg3);
9175
9176 wxPyEndAllowThreads(__tstate);
9177 if (PyErr_Occurred()) SWIG_fail;
9178 }
9179 Py_INCREF(Py_None); resultobj = Py_None;
9180 return resultobj;
9181 fail:
9182 return NULL;
9183 }
9184
9185
9186 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9187 PyObject *resultobj;
9188 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9189 wxWindow *arg2 = (wxWindow *) 0 ;
9190 int arg3 = (int) wxID_ANY ;
9191 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9192 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9193 wxSize const &arg5_defvalue = wxDefaultSize ;
9194 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9195 long arg6 = (long) 0 ;
9196 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9197 wxString *arg7 = (wxString *) &arg7_defvalue ;
9198 bool result;
9199 wxPoint temp4 ;
9200 wxSize temp5 ;
9201 bool temp7 = False ;
9202 PyObject * obj0 = 0 ;
9203 PyObject * obj1 = 0 ;
9204 PyObject * obj3 = 0 ;
9205 PyObject * obj4 = 0 ;
9206 PyObject * obj6 = 0 ;
9207 char *kwnames[] = {
9208 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9209 };
9210
9211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:HtmlListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
9212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9213 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9214 if (obj3) {
9215 {
9216 arg4 = &temp4;
9217 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9218 }
9219 }
9220 if (obj4) {
9221 {
9222 arg5 = &temp5;
9223 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9224 }
9225 }
9226 if (obj6) {
9227 {
9228 arg7 = wxString_in_helper(obj6);
9229 if (arg7 == NULL) SWIG_fail;
9230 temp7 = True;
9231 }
9232 }
9233 {
9234 PyThreadState* __tstate = wxPyBeginAllowThreads();
9235 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9236
9237 wxPyEndAllowThreads(__tstate);
9238 if (PyErr_Occurred()) SWIG_fail;
9239 }
9240 resultobj = PyInt_FromLong((long)result);
9241 {
9242 if (temp7)
9243 delete arg7;
9244 }
9245 return resultobj;
9246 fail:
9247 {
9248 if (temp7)
9249 delete arg7;
9250 }
9251 return NULL;
9252 }
9253
9254
9255 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9256 PyObject *resultobj;
9257 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9258 PyObject * obj0 = 0 ;
9259 char *kwnames[] = {
9260 (char *) "self", NULL
9261 };
9262
9263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
9264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9265 {
9266 PyThreadState* __tstate = wxPyBeginAllowThreads();
9267 (arg1)->RefreshAll();
9268
9269 wxPyEndAllowThreads(__tstate);
9270 if (PyErr_Occurred()) SWIG_fail;
9271 }
9272 Py_INCREF(Py_None); resultobj = Py_None;
9273 return resultobj;
9274 fail:
9275 return NULL;
9276 }
9277
9278
9279 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9280 PyObject *resultobj;
9281 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9282 size_t arg2 ;
9283 PyObject * obj0 = 0 ;
9284 PyObject * obj1 = 0 ;
9285 char *kwnames[] = {
9286 (char *) "self",(char *) "count", NULL
9287 };
9288
9289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9291 arg2 = (size_t) PyInt_AsLong(obj1);
9292 if (PyErr_Occurred()) SWIG_fail;
9293 {
9294 PyThreadState* __tstate = wxPyBeginAllowThreads();
9295 (arg1)->SetItemCount(arg2);
9296
9297 wxPyEndAllowThreads(__tstate);
9298 if (PyErr_Occurred()) SWIG_fail;
9299 }
9300 Py_INCREF(Py_None); resultobj = Py_None;
9301 return resultobj;
9302 fail:
9303 return NULL;
9304 }
9305
9306
9307 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
9308 PyObject *obj;
9309 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9310 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
9311 Py_INCREF(obj);
9312 return Py_BuildValue((char *)"");
9313 }
9314 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9315 PyObject *resultobj;
9316 wxTaskBarIcon *result;
9317 char *kwnames[] = {
9318 NULL
9319 };
9320
9321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
9322 {
9323 PyThreadState* __tstate = wxPyBeginAllowThreads();
9324 result = (wxTaskBarIcon *)new wxTaskBarIcon();
9325
9326 wxPyEndAllowThreads(__tstate);
9327 if (PyErr_Occurred()) SWIG_fail;
9328 }
9329 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIcon, 1);
9330 return resultobj;
9331 fail:
9332 return NULL;
9333 }
9334
9335
9336 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9337 PyObject *resultobj;
9338 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9339 PyObject * obj0 = 0 ;
9340 char *kwnames[] = {
9341 (char *) "self", NULL
9342 };
9343
9344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
9345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9346 {
9347 PyThreadState* __tstate = wxPyBeginAllowThreads();
9348 delete arg1;
9349
9350 wxPyEndAllowThreads(__tstate);
9351 if (PyErr_Occurred()) SWIG_fail;
9352 }
9353 Py_INCREF(Py_None); resultobj = Py_None;
9354 return resultobj;
9355 fail:
9356 return NULL;
9357 }
9358
9359
9360 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
9361 PyObject *resultobj;
9362 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9363 bool result;
9364 PyObject * obj0 = 0 ;
9365 char *kwnames[] = {
9366 (char *) "self", NULL
9367 };
9368
9369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
9370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9371 {
9372 PyThreadState* __tstate = wxPyBeginAllowThreads();
9373 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
9374
9375 wxPyEndAllowThreads(__tstate);
9376 if (PyErr_Occurred()) SWIG_fail;
9377 }
9378 resultobj = PyInt_FromLong((long)result);
9379 return resultobj;
9380 fail:
9381 return NULL;
9382 }
9383
9384
9385 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
9386 PyObject *resultobj;
9387 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9388 bool result;
9389 PyObject * obj0 = 0 ;
9390 char *kwnames[] = {
9391 (char *) "self", NULL
9392 };
9393
9394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
9395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9396 {
9397 PyThreadState* __tstate = wxPyBeginAllowThreads();
9398 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
9399
9400 wxPyEndAllowThreads(__tstate);
9401 if (PyErr_Occurred()) SWIG_fail;
9402 }
9403 resultobj = PyInt_FromLong((long)result);
9404 return resultobj;
9405 fail:
9406 return NULL;
9407 }
9408
9409
9410 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9411 PyObject *resultobj;
9412 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9413 wxIcon *arg2 = 0 ;
9414 wxString const &arg3_defvalue = wxPyEmptyString ;
9415 wxString *arg3 = (wxString *) &arg3_defvalue ;
9416 bool result;
9417 bool temp3 = False ;
9418 PyObject * obj0 = 0 ;
9419 PyObject * obj1 = 0 ;
9420 PyObject * obj2 = 0 ;
9421 char *kwnames[] = {
9422 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
9423 };
9424
9425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
9426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9427 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9428 if (arg2 == NULL) {
9429 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9430 }
9431 if (obj2) {
9432 {
9433 arg3 = wxString_in_helper(obj2);
9434 if (arg3 == NULL) SWIG_fail;
9435 temp3 = True;
9436 }
9437 }
9438 {
9439 PyThreadState* __tstate = wxPyBeginAllowThreads();
9440 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
9441
9442 wxPyEndAllowThreads(__tstate);
9443 if (PyErr_Occurred()) SWIG_fail;
9444 }
9445 resultobj = PyInt_FromLong((long)result);
9446 {
9447 if (temp3)
9448 delete arg3;
9449 }
9450 return resultobj;
9451 fail:
9452 {
9453 if (temp3)
9454 delete arg3;
9455 }
9456 return NULL;
9457 }
9458
9459
9460 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9461 PyObject *resultobj;
9462 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9463 bool result;
9464 PyObject * obj0 = 0 ;
9465 char *kwnames[] = {
9466 (char *) "self", NULL
9467 };
9468
9469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
9470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9471 {
9472 PyThreadState* __tstate = wxPyBeginAllowThreads();
9473 result = (bool)(arg1)->RemoveIcon();
9474
9475 wxPyEndAllowThreads(__tstate);
9476 if (PyErr_Occurred()) SWIG_fail;
9477 }
9478 resultobj = PyInt_FromLong((long)result);
9479 return resultobj;
9480 fail:
9481 return NULL;
9482 }
9483
9484
9485 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
9486 PyObject *resultobj;
9487 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9488 wxMenu *arg2 = (wxMenu *) 0 ;
9489 bool result;
9490 PyObject * obj0 = 0 ;
9491 PyObject * obj1 = 0 ;
9492 char *kwnames[] = {
9493 (char *) "self",(char *) "menu", NULL
9494 };
9495
9496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
9497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9498 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9499 {
9500 PyThreadState* __tstate = wxPyBeginAllowThreads();
9501 result = (bool)(arg1)->PopupMenu(arg2);
9502
9503 wxPyEndAllowThreads(__tstate);
9504 if (PyErr_Occurred()) SWIG_fail;
9505 }
9506 resultobj = PyInt_FromLong((long)result);
9507 return resultobj;
9508 fail:
9509 return NULL;
9510 }
9511
9512
9513 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
9514 PyObject *obj;
9515 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9516 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
9517 Py_INCREF(obj);
9518 return Py_BuildValue((char *)"");
9519 }
9520 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9521 PyObject *resultobj;
9522 wxEventType arg1 ;
9523 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
9524 wxTaskBarIconEvent *result;
9525 PyObject * obj1 = 0 ;
9526 char *kwnames[] = {
9527 (char *) "evtType",(char *) "tbIcon", NULL
9528 };
9529
9530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iO:new_TaskBarIconEvent",kwnames,&arg1,&obj1)) goto fail;
9531 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9532 {
9533 PyThreadState* __tstate = wxPyBeginAllowThreads();
9534 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
9535
9536 wxPyEndAllowThreads(__tstate);
9537 if (PyErr_Occurred()) SWIG_fail;
9538 }
9539 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIconEvent, 1);
9540 return resultobj;
9541 fail:
9542 return NULL;
9543 }
9544
9545
9546 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
9547 PyObject *obj;
9548 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9549 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
9550 Py_INCREF(obj);
9551 return Py_BuildValue((char *)"");
9552 }
9553 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
9554 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
9555 return 1;
9556 }
9557
9558
9559 static PyObject *_wrap_FileSelectorPromptStr_get() {
9560 PyObject *pyobj;
9561
9562 {
9563 #if wxUSE_UNICODE
9564 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
9565 #else
9566 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
9567 #endif
9568 }
9569 return pyobj;
9570 }
9571
9572
9573 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
9574 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
9575 return 1;
9576 }
9577
9578
9579 static PyObject *_wrap_DirSelectorPromptStr_get() {
9580 PyObject *pyobj;
9581
9582 {
9583 #if wxUSE_UNICODE
9584 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
9585 #else
9586 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
9587 #endif
9588 }
9589 return pyobj;
9590 }
9591
9592
9593 static int _wrap_DirDialogNameStr_set(PyObject *_val) {
9594 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
9595 return 1;
9596 }
9597
9598
9599 static PyObject *_wrap_DirDialogNameStr_get() {
9600 PyObject *pyobj;
9601
9602 {
9603 #if wxUSE_UNICODE
9604 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
9605 #else
9606 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
9607 #endif
9608 }
9609 return pyobj;
9610 }
9611
9612
9613 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
9614 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
9615 return 1;
9616 }
9617
9618
9619 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
9620 PyObject *pyobj;
9621
9622 {
9623 #if wxUSE_UNICODE
9624 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
9625 #else
9626 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
9627 #endif
9628 }
9629 return pyobj;
9630 }
9631
9632
9633 static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) {
9634 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
9635 return 1;
9636 }
9637
9638
9639 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
9640 PyObject *pyobj;
9641
9642 {
9643 #if wxUSE_UNICODE
9644 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
9645 #else
9646 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
9647 #endif
9648 }
9649 return pyobj;
9650 }
9651
9652
9653 static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) {
9654 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
9655 return 1;
9656 }
9657
9658
9659 static PyObject *_wrap_MessageBoxCaptionStr_get() {
9660 PyObject *pyobj;
9661
9662 {
9663 #if wxUSE_UNICODE
9664 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
9665 #else
9666 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
9667 #endif
9668 }
9669 return pyobj;
9670 }
9671
9672
9673 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9674 PyObject *resultobj;
9675 wxColourData *result;
9676 char *kwnames[] = {
9677 NULL
9678 };
9679
9680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
9681 {
9682 PyThreadState* __tstate = wxPyBeginAllowThreads();
9683 result = (wxColourData *)new wxColourData();
9684
9685 wxPyEndAllowThreads(__tstate);
9686 if (PyErr_Occurred()) SWIG_fail;
9687 }
9688 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 1);
9689 return resultobj;
9690 fail:
9691 return NULL;
9692 }
9693
9694
9695 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9696 PyObject *resultobj;
9697 wxColourData *arg1 = (wxColourData *) 0 ;
9698 PyObject * obj0 = 0 ;
9699 char *kwnames[] = {
9700 (char *) "self", NULL
9701 };
9702
9703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
9704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9705 {
9706 PyThreadState* __tstate = wxPyBeginAllowThreads();
9707 delete arg1;
9708
9709 wxPyEndAllowThreads(__tstate);
9710 if (PyErr_Occurred()) SWIG_fail;
9711 }
9712 Py_INCREF(Py_None); resultobj = Py_None;
9713 return resultobj;
9714 fail:
9715 return NULL;
9716 }
9717
9718
9719 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9720 PyObject *resultobj;
9721 wxColourData *arg1 = (wxColourData *) 0 ;
9722 bool result;
9723 PyObject * obj0 = 0 ;
9724 char *kwnames[] = {
9725 (char *) "self", NULL
9726 };
9727
9728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
9729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9730 {
9731 PyThreadState* __tstate = wxPyBeginAllowThreads();
9732 result = (bool)(arg1)->GetChooseFull();
9733
9734 wxPyEndAllowThreads(__tstate);
9735 if (PyErr_Occurred()) SWIG_fail;
9736 }
9737 resultobj = PyInt_FromLong((long)result);
9738 return resultobj;
9739 fail:
9740 return NULL;
9741 }
9742
9743
9744 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9745 PyObject *resultobj;
9746 wxColourData *arg1 = (wxColourData *) 0 ;
9747 wxColour result;
9748 PyObject * obj0 = 0 ;
9749 char *kwnames[] = {
9750 (char *) "self", NULL
9751 };
9752
9753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
9754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9755 {
9756 PyThreadState* __tstate = wxPyBeginAllowThreads();
9757 result = (arg1)->GetColour();
9758
9759 wxPyEndAllowThreads(__tstate);
9760 if (PyErr_Occurred()) SWIG_fail;
9761 }
9762 {
9763 wxColour * resultptr;
9764 resultptr = new wxColour((wxColour &) result);
9765 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9766 }
9767 return resultobj;
9768 fail:
9769 return NULL;
9770 }
9771
9772
9773 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9774 PyObject *resultobj;
9775 wxColourData *arg1 = (wxColourData *) 0 ;
9776 int arg2 ;
9777 wxColour result;
9778 PyObject * obj0 = 0 ;
9779 char *kwnames[] = {
9780 (char *) "self",(char *) "i", NULL
9781 };
9782
9783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_GetCustomColour",kwnames,&obj0,&arg2)) goto fail;
9784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9785 {
9786 PyThreadState* __tstate = wxPyBeginAllowThreads();
9787 result = (arg1)->GetCustomColour(arg2);
9788
9789 wxPyEndAllowThreads(__tstate);
9790 if (PyErr_Occurred()) SWIG_fail;
9791 }
9792 {
9793 wxColour * resultptr;
9794 resultptr = new wxColour((wxColour &) result);
9795 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9796 }
9797 return resultobj;
9798 fail:
9799 return NULL;
9800 }
9801
9802
9803 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9804 PyObject *resultobj;
9805 wxColourData *arg1 = (wxColourData *) 0 ;
9806 int arg2 ;
9807 PyObject * obj0 = 0 ;
9808 char *kwnames[] = {
9809 (char *) "self",(char *) "flag", NULL
9810 };
9811
9812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_SetChooseFull",kwnames,&obj0,&arg2)) goto fail;
9813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9814 {
9815 PyThreadState* __tstate = wxPyBeginAllowThreads();
9816 (arg1)->SetChooseFull(arg2);
9817
9818 wxPyEndAllowThreads(__tstate);
9819 if (PyErr_Occurred()) SWIG_fail;
9820 }
9821 Py_INCREF(Py_None); resultobj = Py_None;
9822 return resultobj;
9823 fail:
9824 return NULL;
9825 }
9826
9827
9828 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9829 PyObject *resultobj;
9830 wxColourData *arg1 = (wxColourData *) 0 ;
9831 wxColour *arg2 = 0 ;
9832 wxColour temp2 ;
9833 PyObject * obj0 = 0 ;
9834 PyObject * obj1 = 0 ;
9835 char *kwnames[] = {
9836 (char *) "self",(char *) "colour", NULL
9837 };
9838
9839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
9840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9841 {
9842 arg2 = &temp2;
9843 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9844 }
9845 {
9846 PyThreadState* __tstate = wxPyBeginAllowThreads();
9847 (arg1)->SetColour((wxColour const &)*arg2);
9848
9849 wxPyEndAllowThreads(__tstate);
9850 if (PyErr_Occurred()) SWIG_fail;
9851 }
9852 Py_INCREF(Py_None); resultobj = Py_None;
9853 return resultobj;
9854 fail:
9855 return NULL;
9856 }
9857
9858
9859 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9860 PyObject *resultobj;
9861 wxColourData *arg1 = (wxColourData *) 0 ;
9862 int arg2 ;
9863 wxColour *arg3 = 0 ;
9864 wxColour temp3 ;
9865 PyObject * obj0 = 0 ;
9866 PyObject * obj2 = 0 ;
9867 char *kwnames[] = {
9868 (char *) "self",(char *) "i",(char *) "colour", NULL
9869 };
9870
9871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ColourData_SetCustomColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
9872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9873 {
9874 arg3 = &temp3;
9875 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9876 }
9877 {
9878 PyThreadState* __tstate = wxPyBeginAllowThreads();
9879 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
9880
9881 wxPyEndAllowThreads(__tstate);
9882 if (PyErr_Occurred()) SWIG_fail;
9883 }
9884 Py_INCREF(Py_None); resultobj = Py_None;
9885 return resultobj;
9886 fail:
9887 return NULL;
9888 }
9889
9890
9891 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
9892 PyObject *obj;
9893 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9894 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
9895 Py_INCREF(obj);
9896 return Py_BuildValue((char *)"");
9897 }
9898 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
9899 PyObject *resultobj;
9900 wxWindow *arg1 = (wxWindow *) 0 ;
9901 wxColourData *arg2 = (wxColourData *) NULL ;
9902 wxColourDialog *result;
9903 PyObject * obj0 = 0 ;
9904 PyObject * obj1 = 0 ;
9905 char *kwnames[] = {
9906 (char *) "parent",(char *) "data", NULL
9907 };
9908
9909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
9910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9911 if (obj1) {
9912 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9913 }
9914 {
9915 PyThreadState* __tstate = wxPyBeginAllowThreads();
9916 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
9917
9918 wxPyEndAllowThreads(__tstate);
9919 if (PyErr_Occurred()) SWIG_fail;
9920 }
9921 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourDialog, 1);
9922 return resultobj;
9923 fail:
9924 return NULL;
9925 }
9926
9927
9928 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9929 PyObject *resultobj;
9930 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
9931 wxColourData *result;
9932 PyObject * obj0 = 0 ;
9933 char *kwnames[] = {
9934 (char *) "self", NULL
9935 };
9936
9937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
9938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9939 {
9940 PyThreadState* __tstate = wxPyBeginAllowThreads();
9941 {
9942 wxColourData &_result_ref = (arg1)->GetColourData();
9943 result = (wxColourData *) &_result_ref;
9944 }
9945
9946 wxPyEndAllowThreads(__tstate);
9947 if (PyErr_Occurred()) SWIG_fail;
9948 }
9949 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 0);
9950 return resultobj;
9951 fail:
9952 return NULL;
9953 }
9954
9955
9956 static PyObject *_wrap_ColourDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
9957 PyObject *resultobj;
9958 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
9959 int result;
9960 PyObject * obj0 = 0 ;
9961 char *kwnames[] = {
9962 (char *) "self", NULL
9963 };
9964
9965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_ShowModal",kwnames,&obj0)) goto fail;
9966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9967 {
9968 PyThreadState* __tstate = wxPyBeginAllowThreads();
9969 result = (int)(arg1)->ShowModal();
9970
9971 wxPyEndAllowThreads(__tstate);
9972 if (PyErr_Occurred()) SWIG_fail;
9973 }
9974 resultobj = PyInt_FromLong((long)result);
9975 return resultobj;
9976 fail:
9977 return NULL;
9978 }
9979
9980
9981 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
9982 PyObject *obj;
9983 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9984 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
9985 Py_INCREF(obj);
9986 return Py_BuildValue((char *)"");
9987 }
9988 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
9989 PyObject *resultobj;
9990 wxWindow *arg1 = (wxWindow *) 0 ;
9991 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
9992 wxString *arg2 = (wxString *) &arg2_defvalue ;
9993 wxString const &arg3_defvalue = wxPyEmptyString ;
9994 wxString *arg3 = (wxString *) &arg3_defvalue ;
9995 long arg4 = (long) 0 ;
9996 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9997 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9998 wxSize const &arg6_defvalue = wxDefaultSize ;
9999 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10000 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
10001 wxString *arg7 = (wxString *) &arg7_defvalue ;
10002 wxDirDialog *result;
10003 bool temp2 = False ;
10004 bool temp3 = False ;
10005 wxPoint temp5 ;
10006 wxSize temp6 ;
10007 bool temp7 = False ;
10008 PyObject * obj0 = 0 ;
10009 PyObject * obj1 = 0 ;
10010 PyObject * obj2 = 0 ;
10011 PyObject * obj4 = 0 ;
10012 PyObject * obj5 = 0 ;
10013 PyObject * obj6 = 0 ;
10014 char *kwnames[] = {
10015 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
10016 };
10017
10018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOlOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&obj5,&obj6)) goto fail;
10019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10020 if (obj1) {
10021 {
10022 arg2 = wxString_in_helper(obj1);
10023 if (arg2 == NULL) SWIG_fail;
10024 temp2 = True;
10025 }
10026 }
10027 if (obj2) {
10028 {
10029 arg3 = wxString_in_helper(obj2);
10030 if (arg3 == NULL) SWIG_fail;
10031 temp3 = True;
10032 }
10033 }
10034 if (obj4) {
10035 {
10036 arg5 = &temp5;
10037 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10038 }
10039 }
10040 if (obj5) {
10041 {
10042 arg6 = &temp6;
10043 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10044 }
10045 }
10046 if (obj6) {
10047 {
10048 arg7 = wxString_in_helper(obj6);
10049 if (arg7 == NULL) SWIG_fail;
10050 temp7 = True;
10051 }
10052 }
10053 {
10054 PyThreadState* __tstate = wxPyBeginAllowThreads();
10055 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
10056
10057 wxPyEndAllowThreads(__tstate);
10058 if (PyErr_Occurred()) SWIG_fail;
10059 }
10060 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirDialog, 1);
10061 {
10062 if (temp2)
10063 delete arg2;
10064 }
10065 {
10066 if (temp3)
10067 delete arg3;
10068 }
10069 {
10070 if (temp7)
10071 delete arg7;
10072 }
10073 return resultobj;
10074 fail:
10075 {
10076 if (temp2)
10077 delete arg2;
10078 }
10079 {
10080 if (temp3)
10081 delete arg3;
10082 }
10083 {
10084 if (temp7)
10085 delete arg7;
10086 }
10087 return NULL;
10088 }
10089
10090
10091 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10092 PyObject *resultobj;
10093 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10094 wxString result;
10095 PyObject * obj0 = 0 ;
10096 char *kwnames[] = {
10097 (char *) "self", NULL
10098 };
10099
10100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
10101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10102 {
10103 PyThreadState* __tstate = wxPyBeginAllowThreads();
10104 result = (arg1)->GetPath();
10105
10106 wxPyEndAllowThreads(__tstate);
10107 if (PyErr_Occurred()) SWIG_fail;
10108 }
10109 {
10110 #if wxUSE_UNICODE
10111 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10112 #else
10113 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10114 #endif
10115 }
10116 return resultobj;
10117 fail:
10118 return NULL;
10119 }
10120
10121
10122 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10123 PyObject *resultobj;
10124 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10125 wxString result;
10126 PyObject * obj0 = 0 ;
10127 char *kwnames[] = {
10128 (char *) "self", NULL
10129 };
10130
10131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
10132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10133 {
10134 PyThreadState* __tstate = wxPyBeginAllowThreads();
10135 result = (arg1)->GetMessage();
10136
10137 wxPyEndAllowThreads(__tstate);
10138 if (PyErr_Occurred()) SWIG_fail;
10139 }
10140 {
10141 #if wxUSE_UNICODE
10142 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10143 #else
10144 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10145 #endif
10146 }
10147 return resultobj;
10148 fail:
10149 return NULL;
10150 }
10151
10152
10153 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10154 PyObject *resultobj;
10155 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10156 long result;
10157 PyObject * obj0 = 0 ;
10158 char *kwnames[] = {
10159 (char *) "self", NULL
10160 };
10161
10162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
10163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10164 {
10165 PyThreadState* __tstate = wxPyBeginAllowThreads();
10166 result = (long)(arg1)->GetStyle();
10167
10168 wxPyEndAllowThreads(__tstate);
10169 if (PyErr_Occurred()) SWIG_fail;
10170 }
10171 resultobj = PyInt_FromLong((long)result);
10172 return resultobj;
10173 fail:
10174 return NULL;
10175 }
10176
10177
10178 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10179 PyObject *resultobj;
10180 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10181 wxString *arg2 = 0 ;
10182 bool temp2 = False ;
10183 PyObject * obj0 = 0 ;
10184 PyObject * obj1 = 0 ;
10185 char *kwnames[] = {
10186 (char *) "self",(char *) "message", NULL
10187 };
10188
10189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
10190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10191 {
10192 arg2 = wxString_in_helper(obj1);
10193 if (arg2 == NULL) SWIG_fail;
10194 temp2 = True;
10195 }
10196 {
10197 PyThreadState* __tstate = wxPyBeginAllowThreads();
10198 (arg1)->SetMessage((wxString const &)*arg2);
10199
10200 wxPyEndAllowThreads(__tstate);
10201 if (PyErr_Occurred()) SWIG_fail;
10202 }
10203 Py_INCREF(Py_None); resultobj = Py_None;
10204 {
10205 if (temp2)
10206 delete arg2;
10207 }
10208 return resultobj;
10209 fail:
10210 {
10211 if (temp2)
10212 delete arg2;
10213 }
10214 return NULL;
10215 }
10216
10217
10218 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10219 PyObject *resultobj;
10220 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10221 wxString *arg2 = 0 ;
10222 bool temp2 = False ;
10223 PyObject * obj0 = 0 ;
10224 PyObject * obj1 = 0 ;
10225 char *kwnames[] = {
10226 (char *) "self",(char *) "path", NULL
10227 };
10228
10229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
10230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10231 {
10232 arg2 = wxString_in_helper(obj1);
10233 if (arg2 == NULL) SWIG_fail;
10234 temp2 = True;
10235 }
10236 {
10237 PyThreadState* __tstate = wxPyBeginAllowThreads();
10238 (arg1)->SetPath((wxString const &)*arg2);
10239
10240 wxPyEndAllowThreads(__tstate);
10241 if (PyErr_Occurred()) SWIG_fail;
10242 }
10243 Py_INCREF(Py_None); resultobj = Py_None;
10244 {
10245 if (temp2)
10246 delete arg2;
10247 }
10248 return resultobj;
10249 fail:
10250 {
10251 if (temp2)
10252 delete arg2;
10253 }
10254 return NULL;
10255 }
10256
10257
10258 static PyObject *_wrap_DirDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
10259 PyObject *resultobj;
10260 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10261 int result;
10262 PyObject * obj0 = 0 ;
10263 char *kwnames[] = {
10264 (char *) "self", NULL
10265 };
10266
10267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_ShowModal",kwnames,&obj0)) goto fail;
10268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10269 {
10270 PyThreadState* __tstate = wxPyBeginAllowThreads();
10271 result = (int)(arg1)->ShowModal();
10272
10273 wxPyEndAllowThreads(__tstate);
10274 if (PyErr_Occurred()) SWIG_fail;
10275 }
10276 resultobj = PyInt_FromLong((long)result);
10277 return resultobj;
10278 fail:
10279 return NULL;
10280 }
10281
10282
10283 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
10284 PyObject *obj;
10285 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10286 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
10287 Py_INCREF(obj);
10288 return Py_BuildValue((char *)"");
10289 }
10290 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10291 PyObject *resultobj;
10292 wxWindow *arg1 = (wxWindow *) 0 ;
10293 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
10294 wxString *arg2 = (wxString *) &arg2_defvalue ;
10295 wxString const &arg3_defvalue = wxPyEmptyString ;
10296 wxString *arg3 = (wxString *) &arg3_defvalue ;
10297 wxString const &arg4_defvalue = wxPyEmptyString ;
10298 wxString *arg4 = (wxString *) &arg4_defvalue ;
10299 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
10300 wxString *arg5 = (wxString *) &arg5_defvalue ;
10301 long arg6 = (long) 0 ;
10302 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10303 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10304 wxFileDialog *result;
10305 bool temp2 = False ;
10306 bool temp3 = False ;
10307 bool temp4 = False ;
10308 bool temp5 = False ;
10309 wxPoint temp7 ;
10310 PyObject * obj0 = 0 ;
10311 PyObject * obj1 = 0 ;
10312 PyObject * obj2 = 0 ;
10313 PyObject * obj3 = 0 ;
10314 PyObject * obj4 = 0 ;
10315 PyObject * obj6 = 0 ;
10316 char *kwnames[] = {
10317 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
10318 };
10319
10320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOlO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
10321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10322 if (obj1) {
10323 {
10324 arg2 = wxString_in_helper(obj1);
10325 if (arg2 == NULL) SWIG_fail;
10326 temp2 = True;
10327 }
10328 }
10329 if (obj2) {
10330 {
10331 arg3 = wxString_in_helper(obj2);
10332 if (arg3 == NULL) SWIG_fail;
10333 temp3 = True;
10334 }
10335 }
10336 if (obj3) {
10337 {
10338 arg4 = wxString_in_helper(obj3);
10339 if (arg4 == NULL) SWIG_fail;
10340 temp4 = True;
10341 }
10342 }
10343 if (obj4) {
10344 {
10345 arg5 = wxString_in_helper(obj4);
10346 if (arg5 == NULL) SWIG_fail;
10347 temp5 = True;
10348 }
10349 }
10350 if (obj6) {
10351 {
10352 arg7 = &temp7;
10353 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10354 }
10355 }
10356 {
10357 PyThreadState* __tstate = wxPyBeginAllowThreads();
10358 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
10359
10360 wxPyEndAllowThreads(__tstate);
10361 if (PyErr_Occurred()) SWIG_fail;
10362 }
10363 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDialog, 1);
10364 {
10365 if (temp2)
10366 delete arg2;
10367 }
10368 {
10369 if (temp3)
10370 delete arg3;
10371 }
10372 {
10373 if (temp4)
10374 delete arg4;
10375 }
10376 {
10377 if (temp5)
10378 delete arg5;
10379 }
10380 return resultobj;
10381 fail:
10382 {
10383 if (temp2)
10384 delete arg2;
10385 }
10386 {
10387 if (temp3)
10388 delete arg3;
10389 }
10390 {
10391 if (temp4)
10392 delete arg4;
10393 }
10394 {
10395 if (temp5)
10396 delete arg5;
10397 }
10398 return NULL;
10399 }
10400
10401
10402 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10403 PyObject *resultobj;
10404 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10405 wxString *arg2 = 0 ;
10406 bool temp2 = False ;
10407 PyObject * obj0 = 0 ;
10408 PyObject * obj1 = 0 ;
10409 char *kwnames[] = {
10410 (char *) "self",(char *) "message", NULL
10411 };
10412
10413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
10414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10415 {
10416 arg2 = wxString_in_helper(obj1);
10417 if (arg2 == NULL) SWIG_fail;
10418 temp2 = True;
10419 }
10420 {
10421 PyThreadState* __tstate = wxPyBeginAllowThreads();
10422 (arg1)->SetMessage((wxString const &)*arg2);
10423
10424 wxPyEndAllowThreads(__tstate);
10425 if (PyErr_Occurred()) SWIG_fail;
10426 }
10427 Py_INCREF(Py_None); resultobj = Py_None;
10428 {
10429 if (temp2)
10430 delete arg2;
10431 }
10432 return resultobj;
10433 fail:
10434 {
10435 if (temp2)
10436 delete arg2;
10437 }
10438 return NULL;
10439 }
10440
10441
10442 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10443 PyObject *resultobj;
10444 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10445 wxString *arg2 = 0 ;
10446 bool temp2 = False ;
10447 PyObject * obj0 = 0 ;
10448 PyObject * obj1 = 0 ;
10449 char *kwnames[] = {
10450 (char *) "self",(char *) "path", NULL
10451 };
10452
10453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
10454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10455 {
10456 arg2 = wxString_in_helper(obj1);
10457 if (arg2 == NULL) SWIG_fail;
10458 temp2 = True;
10459 }
10460 {
10461 PyThreadState* __tstate = wxPyBeginAllowThreads();
10462 (arg1)->SetPath((wxString const &)*arg2);
10463
10464 wxPyEndAllowThreads(__tstate);
10465 if (PyErr_Occurred()) SWIG_fail;
10466 }
10467 Py_INCREF(Py_None); resultobj = Py_None;
10468 {
10469 if (temp2)
10470 delete arg2;
10471 }
10472 return resultobj;
10473 fail:
10474 {
10475 if (temp2)
10476 delete arg2;
10477 }
10478 return NULL;
10479 }
10480
10481
10482 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10483 PyObject *resultobj;
10484 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10485 wxString *arg2 = 0 ;
10486 bool temp2 = False ;
10487 PyObject * obj0 = 0 ;
10488 PyObject * obj1 = 0 ;
10489 char *kwnames[] = {
10490 (char *) "self",(char *) "dir", NULL
10491 };
10492
10493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
10494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10495 {
10496 arg2 = wxString_in_helper(obj1);
10497 if (arg2 == NULL) SWIG_fail;
10498 temp2 = True;
10499 }
10500 {
10501 PyThreadState* __tstate = wxPyBeginAllowThreads();
10502 (arg1)->SetDirectory((wxString const &)*arg2);
10503
10504 wxPyEndAllowThreads(__tstate);
10505 if (PyErr_Occurred()) SWIG_fail;
10506 }
10507 Py_INCREF(Py_None); resultobj = Py_None;
10508 {
10509 if (temp2)
10510 delete arg2;
10511 }
10512 return resultobj;
10513 fail:
10514 {
10515 if (temp2)
10516 delete arg2;
10517 }
10518 return NULL;
10519 }
10520
10521
10522 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10523 PyObject *resultobj;
10524 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10525 wxString *arg2 = 0 ;
10526 bool temp2 = False ;
10527 PyObject * obj0 = 0 ;
10528 PyObject * obj1 = 0 ;
10529 char *kwnames[] = {
10530 (char *) "self",(char *) "name", NULL
10531 };
10532
10533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
10534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10535 {
10536 arg2 = wxString_in_helper(obj1);
10537 if (arg2 == NULL) SWIG_fail;
10538 temp2 = True;
10539 }
10540 {
10541 PyThreadState* __tstate = wxPyBeginAllowThreads();
10542 (arg1)->SetFilename((wxString const &)*arg2);
10543
10544 wxPyEndAllowThreads(__tstate);
10545 if (PyErr_Occurred()) SWIG_fail;
10546 }
10547 Py_INCREF(Py_None); resultobj = Py_None;
10548 {
10549 if (temp2)
10550 delete arg2;
10551 }
10552 return resultobj;
10553 fail:
10554 {
10555 if (temp2)
10556 delete arg2;
10557 }
10558 return NULL;
10559 }
10560
10561
10562 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10563 PyObject *resultobj;
10564 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10565 wxString *arg2 = 0 ;
10566 bool temp2 = False ;
10567 PyObject * obj0 = 0 ;
10568 PyObject * obj1 = 0 ;
10569 char *kwnames[] = {
10570 (char *) "self",(char *) "wildCard", NULL
10571 };
10572
10573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
10574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10575 {
10576 arg2 = wxString_in_helper(obj1);
10577 if (arg2 == NULL) SWIG_fail;
10578 temp2 = True;
10579 }
10580 {
10581 PyThreadState* __tstate = wxPyBeginAllowThreads();
10582 (arg1)->SetWildcard((wxString const &)*arg2);
10583
10584 wxPyEndAllowThreads(__tstate);
10585 if (PyErr_Occurred()) SWIG_fail;
10586 }
10587 Py_INCREF(Py_None); resultobj = Py_None;
10588 {
10589 if (temp2)
10590 delete arg2;
10591 }
10592 return resultobj;
10593 fail:
10594 {
10595 if (temp2)
10596 delete arg2;
10597 }
10598 return NULL;
10599 }
10600
10601
10602 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10603 PyObject *resultobj;
10604 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10605 long arg2 ;
10606 PyObject * obj0 = 0 ;
10607 char *kwnames[] = {
10608 (char *) "self",(char *) "style", NULL
10609 };
10610
10611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:FileDialog_SetStyle",kwnames,&obj0,&arg2)) goto fail;
10612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10613 {
10614 PyThreadState* __tstate = wxPyBeginAllowThreads();
10615 (arg1)->SetStyle(arg2);
10616
10617 wxPyEndAllowThreads(__tstate);
10618 if (PyErr_Occurred()) SWIG_fail;
10619 }
10620 Py_INCREF(Py_None); resultobj = Py_None;
10621 return resultobj;
10622 fail:
10623 return NULL;
10624 }
10625
10626
10627 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10628 PyObject *resultobj;
10629 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10630 int arg2 ;
10631 PyObject * obj0 = 0 ;
10632 char *kwnames[] = {
10633 (char *) "self",(char *) "filterIndex", NULL
10634 };
10635
10636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileDialog_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
10637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10638 {
10639 PyThreadState* __tstate = wxPyBeginAllowThreads();
10640 (arg1)->SetFilterIndex(arg2);
10641
10642 wxPyEndAllowThreads(__tstate);
10643 if (PyErr_Occurred()) SWIG_fail;
10644 }
10645 Py_INCREF(Py_None); resultobj = Py_None;
10646 return resultobj;
10647 fail:
10648 return NULL;
10649 }
10650
10651
10652 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10653 PyObject *resultobj;
10654 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10655 wxString result;
10656 PyObject * obj0 = 0 ;
10657 char *kwnames[] = {
10658 (char *) "self", NULL
10659 };
10660
10661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
10662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10663 {
10664 PyThreadState* __tstate = wxPyBeginAllowThreads();
10665 result = ((wxFileDialog const *)arg1)->GetMessage();
10666
10667 wxPyEndAllowThreads(__tstate);
10668 if (PyErr_Occurred()) SWIG_fail;
10669 }
10670 {
10671 #if wxUSE_UNICODE
10672 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10673 #else
10674 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10675 #endif
10676 }
10677 return resultobj;
10678 fail:
10679 return NULL;
10680 }
10681
10682
10683 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10684 PyObject *resultobj;
10685 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10686 wxString result;
10687 PyObject * obj0 = 0 ;
10688 char *kwnames[] = {
10689 (char *) "self", NULL
10690 };
10691
10692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
10693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10694 {
10695 PyThreadState* __tstate = wxPyBeginAllowThreads();
10696 result = ((wxFileDialog const *)arg1)->GetPath();
10697
10698 wxPyEndAllowThreads(__tstate);
10699 if (PyErr_Occurred()) SWIG_fail;
10700 }
10701 {
10702 #if wxUSE_UNICODE
10703 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10704 #else
10705 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10706 #endif
10707 }
10708 return resultobj;
10709 fail:
10710 return NULL;
10711 }
10712
10713
10714 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10715 PyObject *resultobj;
10716 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10717 wxString result;
10718 PyObject * obj0 = 0 ;
10719 char *kwnames[] = {
10720 (char *) "self", NULL
10721 };
10722
10723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
10724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10725 {
10726 PyThreadState* __tstate = wxPyBeginAllowThreads();
10727 result = ((wxFileDialog const *)arg1)->GetDirectory();
10728
10729 wxPyEndAllowThreads(__tstate);
10730 if (PyErr_Occurred()) SWIG_fail;
10731 }
10732 {
10733 #if wxUSE_UNICODE
10734 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10735 #else
10736 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10737 #endif
10738 }
10739 return resultobj;
10740 fail:
10741 return NULL;
10742 }
10743
10744
10745 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10746 PyObject *resultobj;
10747 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10748 wxString result;
10749 PyObject * obj0 = 0 ;
10750 char *kwnames[] = {
10751 (char *) "self", NULL
10752 };
10753
10754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
10755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10756 {
10757 PyThreadState* __tstate = wxPyBeginAllowThreads();
10758 result = ((wxFileDialog const *)arg1)->GetFilename();
10759
10760 wxPyEndAllowThreads(__tstate);
10761 if (PyErr_Occurred()) SWIG_fail;
10762 }
10763 {
10764 #if wxUSE_UNICODE
10765 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10766 #else
10767 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10768 #endif
10769 }
10770 return resultobj;
10771 fail:
10772 return NULL;
10773 }
10774
10775
10776 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10777 PyObject *resultobj;
10778 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10779 wxString result;
10780 PyObject * obj0 = 0 ;
10781 char *kwnames[] = {
10782 (char *) "self", NULL
10783 };
10784
10785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
10786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10787 {
10788 PyThreadState* __tstate = wxPyBeginAllowThreads();
10789 result = ((wxFileDialog const *)arg1)->GetWildcard();
10790
10791 wxPyEndAllowThreads(__tstate);
10792 if (PyErr_Occurred()) SWIG_fail;
10793 }
10794 {
10795 #if wxUSE_UNICODE
10796 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10797 #else
10798 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10799 #endif
10800 }
10801 return resultobj;
10802 fail:
10803 return NULL;
10804 }
10805
10806
10807 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10808 PyObject *resultobj;
10809 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10810 long result;
10811 PyObject * obj0 = 0 ;
10812 char *kwnames[] = {
10813 (char *) "self", NULL
10814 };
10815
10816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
10817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10818 {
10819 PyThreadState* __tstate = wxPyBeginAllowThreads();
10820 result = (long)((wxFileDialog const *)arg1)->GetStyle();
10821
10822 wxPyEndAllowThreads(__tstate);
10823 if (PyErr_Occurred()) SWIG_fail;
10824 }
10825 resultobj = PyInt_FromLong((long)result);
10826 return resultobj;
10827 fail:
10828 return NULL;
10829 }
10830
10831
10832 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10833 PyObject *resultobj;
10834 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10835 int result;
10836 PyObject * obj0 = 0 ;
10837 char *kwnames[] = {
10838 (char *) "self", NULL
10839 };
10840
10841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
10842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10843 {
10844 PyThreadState* __tstate = wxPyBeginAllowThreads();
10845 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
10846
10847 wxPyEndAllowThreads(__tstate);
10848 if (PyErr_Occurred()) SWIG_fail;
10849 }
10850 resultobj = PyInt_FromLong((long)result);
10851 return resultobj;
10852 fail:
10853 return NULL;
10854 }
10855
10856
10857 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
10858 PyObject *resultobj;
10859 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10860 PyObject *result;
10861 PyObject * obj0 = 0 ;
10862 char *kwnames[] = {
10863 (char *) "self", NULL
10864 };
10865
10866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
10867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10868 {
10869 PyThreadState* __tstate = wxPyBeginAllowThreads();
10870 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
10871
10872 wxPyEndAllowThreads(__tstate);
10873 if (PyErr_Occurred()) SWIG_fail;
10874 }
10875 resultobj = result;
10876 return resultobj;
10877 fail:
10878 return NULL;
10879 }
10880
10881
10882 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
10883 PyObject *resultobj;
10884 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10885 PyObject *result;
10886 PyObject * obj0 = 0 ;
10887 char *kwnames[] = {
10888 (char *) "self", NULL
10889 };
10890
10891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
10892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10893 {
10894 PyThreadState* __tstate = wxPyBeginAllowThreads();
10895 result = (PyObject *)wxFileDialog_GetPaths(arg1);
10896
10897 wxPyEndAllowThreads(__tstate);
10898 if (PyErr_Occurred()) SWIG_fail;
10899 }
10900 resultobj = result;
10901 return resultobj;
10902 fail:
10903 return NULL;
10904 }
10905
10906
10907 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
10908 PyObject *obj;
10909 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10910 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
10911 Py_INCREF(obj);
10912 return Py_BuildValue((char *)"");
10913 }
10914 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10915 PyObject *resultobj;
10916 wxWindow *arg1 = (wxWindow *) 0 ;
10917 wxString *arg2 = 0 ;
10918 wxString *arg3 = 0 ;
10919 int arg4 ;
10920 wxString *arg5 = (wxString *) 0 ;
10921 long arg6 = (long) wxCHOICEDLG_STYLE ;
10922 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10923 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10924 wxMultiChoiceDialog *result;
10925 bool temp2 = False ;
10926 bool temp3 = False ;
10927 bool temp5 = False ;
10928 wxPoint temp7 ;
10929 PyObject * obj0 = 0 ;
10930 PyObject * obj1 = 0 ;
10931 PyObject * obj2 = 0 ;
10932 PyObject * obj4 = 0 ;
10933 PyObject * obj6 = 0 ;
10934 char *kwnames[] = {
10935 (char *) "parent",(char *) "message",(char *) "caption",(char *) "LCOUNT",(char *) "choices",(char *) "style",(char *) "pos", NULL
10936 };
10937
10938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiO|lO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&arg6,&obj6)) goto fail;
10939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10940 {
10941 arg2 = wxString_in_helper(obj1);
10942 if (arg2 == NULL) SWIG_fail;
10943 temp2 = True;
10944 }
10945 {
10946 arg3 = wxString_in_helper(obj2);
10947 if (arg3 == NULL) SWIG_fail;
10948 temp3 = True;
10949 }
10950 {
10951 arg5 = wxString_in_helper(obj4);
10952 if (arg5 == NULL) SWIG_fail;
10953 temp5 = True;
10954 }
10955 if (obj6) {
10956 {
10957 arg7 = &temp7;
10958 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10959 }
10960 }
10961 {
10962 PyThreadState* __tstate = wxPyBeginAllowThreads();
10963 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
10964
10965 wxPyEndAllowThreads(__tstate);
10966 if (PyErr_Occurred()) SWIG_fail;
10967 }
10968 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMultiChoiceDialog, 1);
10969 {
10970 if (temp2)
10971 delete arg2;
10972 }
10973 {
10974 if (temp3)
10975 delete arg3;
10976 }
10977 {
10978 if (temp5)
10979 delete arg5;
10980 }
10981 return resultobj;
10982 fail:
10983 {
10984 if (temp2)
10985 delete arg2;
10986 }
10987 {
10988 if (temp3)
10989 delete arg3;
10990 }
10991 {
10992 if (temp5)
10993 delete arg5;
10994 }
10995 return NULL;
10996 }
10997
10998
10999 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
11000 PyObject *resultobj;
11001 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
11002 wxArrayInt *arg2 = 0 ;
11003 PyObject * obj0 = 0 ;
11004 PyObject * obj1 = 0 ;
11005 char *kwnames[] = {
11006 (char *) "self",(char *) "selections", NULL
11007 };
11008
11009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
11010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11011 {
11012 if (! PySequence_Check(obj1)) {
11013 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
11014 SWIG_fail;
11015 }
11016 arg2 = new wxArrayInt;
11017 int i, len=PySequence_Length(obj1);
11018 for (i=0; i<len; i++) {
11019 PyObject* item = PySequence_GetItem(obj1, i);
11020 PyObject* number = PyNumber_Int(item);
11021 arg2->Add(PyInt_AS_LONG(number));
11022 Py_DECREF(item);
11023 Py_DECREF(number);
11024 }
11025 }
11026 {
11027 PyThreadState* __tstate = wxPyBeginAllowThreads();
11028 (arg1)->SetSelections((wxArrayInt const &)*arg2);
11029
11030 wxPyEndAllowThreads(__tstate);
11031 if (PyErr_Occurred()) SWIG_fail;
11032 }
11033 Py_INCREF(Py_None); resultobj = Py_None;
11034 {
11035 if (arg2) delete arg2;
11036 }
11037 return resultobj;
11038 fail:
11039 {
11040 if (arg2) delete arg2;
11041 }
11042 return NULL;
11043 }
11044
11045
11046 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
11047 PyObject *resultobj;
11048 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
11049 PyObject *result;
11050 PyObject * obj0 = 0 ;
11051 char *kwnames[] = {
11052 (char *) "self", NULL
11053 };
11054
11055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
11056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11057 {
11058 PyThreadState* __tstate = wxPyBeginAllowThreads();
11059 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
11060
11061 wxPyEndAllowThreads(__tstate);
11062 if (PyErr_Occurred()) SWIG_fail;
11063 }
11064 resultobj = result;
11065 return resultobj;
11066 fail:
11067 return NULL;
11068 }
11069
11070
11071 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
11072 PyObject *obj;
11073 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11074 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
11075 Py_INCREF(obj);
11076 return Py_BuildValue((char *)"");
11077 }
11078 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11079 PyObject *resultobj;
11080 wxWindow *arg1 = (wxWindow *) 0 ;
11081 wxString *arg2 = 0 ;
11082 wxString *arg3 = 0 ;
11083 int arg4 ;
11084 wxString *arg5 = (wxString *) 0 ;
11085 long arg6 = (long) wxCHOICEDLG_STYLE ;
11086 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11087 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11088 wxSingleChoiceDialog *result;
11089 bool temp2 = False ;
11090 bool temp3 = False ;
11091 wxPoint temp6 ;
11092 PyObject * obj0 = 0 ;
11093 PyObject * obj1 = 0 ;
11094 PyObject * obj2 = 0 ;
11095 PyObject * obj3 = 0 ;
11096 PyObject * obj5 = 0 ;
11097 char *kwnames[] = {
11098 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11099 };
11100
11101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|lO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&obj5)) goto fail;
11102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11103 {
11104 arg2 = wxString_in_helper(obj1);
11105 if (arg2 == NULL) SWIG_fail;
11106 temp2 = True;
11107 }
11108 {
11109 arg3 = wxString_in_helper(obj2);
11110 if (arg3 == NULL) SWIG_fail;
11111 temp3 = True;
11112 }
11113 {
11114 arg4 = PyList_Size(obj3);
11115 arg5 = wxString_LIST_helper(obj3);
11116 if (arg5 == NULL) SWIG_fail;
11117 }
11118 if (obj5) {
11119 {
11120 arg7 = &temp6;
11121 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
11122 }
11123 }
11124 {
11125 PyThreadState* __tstate = wxPyBeginAllowThreads();
11126 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
11127
11128 wxPyEndAllowThreads(__tstate);
11129 if (PyErr_Occurred()) SWIG_fail;
11130 }
11131 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleChoiceDialog, 1);
11132 {
11133 if (temp2)
11134 delete arg2;
11135 }
11136 {
11137 if (temp3)
11138 delete arg3;
11139 }
11140 {
11141 if (arg5) delete [] arg5;
11142 }
11143 return resultobj;
11144 fail:
11145 {
11146 if (temp2)
11147 delete arg2;
11148 }
11149 {
11150 if (temp3)
11151 delete arg3;
11152 }
11153 {
11154 if (arg5) delete [] arg5;
11155 }
11156 return NULL;
11157 }
11158
11159
11160 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11161 PyObject *resultobj;
11162 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11163 int result;
11164 PyObject * obj0 = 0 ;
11165 char *kwnames[] = {
11166 (char *) "self", NULL
11167 };
11168
11169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
11170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11171 {
11172 PyThreadState* __tstate = wxPyBeginAllowThreads();
11173 result = (int)(arg1)->GetSelection();
11174
11175 wxPyEndAllowThreads(__tstate);
11176 if (PyErr_Occurred()) SWIG_fail;
11177 }
11178 resultobj = PyInt_FromLong((long)result);
11179 return resultobj;
11180 fail:
11181 return NULL;
11182 }
11183
11184
11185 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11186 PyObject *resultobj;
11187 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11188 wxString result;
11189 PyObject * obj0 = 0 ;
11190 char *kwnames[] = {
11191 (char *) "self", NULL
11192 };
11193
11194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
11195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11196 {
11197 PyThreadState* __tstate = wxPyBeginAllowThreads();
11198 result = (arg1)->GetStringSelection();
11199
11200 wxPyEndAllowThreads(__tstate);
11201 if (PyErr_Occurred()) SWIG_fail;
11202 }
11203 {
11204 #if wxUSE_UNICODE
11205 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11206 #else
11207 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11208 #endif
11209 }
11210 return resultobj;
11211 fail:
11212 return NULL;
11213 }
11214
11215
11216 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11217 PyObject *resultobj;
11218 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11219 int arg2 ;
11220 PyObject * obj0 = 0 ;
11221 char *kwnames[] = {
11222 (char *) "self",(char *) "sel", NULL
11223 };
11224
11225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SingleChoiceDialog_SetSelection",kwnames,&obj0,&arg2)) goto fail;
11226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11227 {
11228 PyThreadState* __tstate = wxPyBeginAllowThreads();
11229 (arg1)->SetSelection(arg2);
11230
11231 wxPyEndAllowThreads(__tstate);
11232 if (PyErr_Occurred()) SWIG_fail;
11233 }
11234 Py_INCREF(Py_None); resultobj = Py_None;
11235 return resultobj;
11236 fail:
11237 return NULL;
11238 }
11239
11240
11241 static PyObject *_wrap_SingleChoiceDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11242 PyObject *resultobj;
11243 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11244 int result;
11245 PyObject * obj0 = 0 ;
11246 char *kwnames[] = {
11247 (char *) "self", NULL
11248 };
11249
11250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_ShowModal",kwnames,&obj0)) goto fail;
11251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11252 {
11253 PyThreadState* __tstate = wxPyBeginAllowThreads();
11254 result = (int)(arg1)->ShowModal();
11255
11256 wxPyEndAllowThreads(__tstate);
11257 if (PyErr_Occurred()) SWIG_fail;
11258 }
11259 resultobj = PyInt_FromLong((long)result);
11260 return resultobj;
11261 fail:
11262 return NULL;
11263 }
11264
11265
11266 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
11267 PyObject *obj;
11268 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11269 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
11270 Py_INCREF(obj);
11271 return Py_BuildValue((char *)"");
11272 }
11273 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11274 PyObject *resultobj;
11275 wxWindow *arg1 = (wxWindow *) 0 ;
11276 wxString *arg2 = 0 ;
11277 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
11278 wxString *arg3 = (wxString *) &arg3_defvalue ;
11279 wxString const &arg4_defvalue = wxPyEmptyString ;
11280 wxString *arg4 = (wxString *) &arg4_defvalue ;
11281 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
11282 wxPoint const &arg6_defvalue = wxDefaultPosition ;
11283 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
11284 wxTextEntryDialog *result;
11285 bool temp2 = False ;
11286 bool temp3 = False ;
11287 bool temp4 = False ;
11288 wxPoint temp6 ;
11289 PyObject * obj0 = 0 ;
11290 PyObject * obj1 = 0 ;
11291 PyObject * obj2 = 0 ;
11292 PyObject * obj3 = 0 ;
11293 PyObject * obj5 = 0 ;
11294 char *kwnames[] = {
11295 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
11296 };
11297
11298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
11299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11300 {
11301 arg2 = wxString_in_helper(obj1);
11302 if (arg2 == NULL) SWIG_fail;
11303 temp2 = True;
11304 }
11305 if (obj2) {
11306 {
11307 arg3 = wxString_in_helper(obj2);
11308 if (arg3 == NULL) SWIG_fail;
11309 temp3 = True;
11310 }
11311 }
11312 if (obj3) {
11313 {
11314 arg4 = wxString_in_helper(obj3);
11315 if (arg4 == NULL) SWIG_fail;
11316 temp4 = True;
11317 }
11318 }
11319 if (obj5) {
11320 {
11321 arg6 = &temp6;
11322 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
11323 }
11324 }
11325 {
11326 PyThreadState* __tstate = wxPyBeginAllowThreads();
11327 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
11328
11329 wxPyEndAllowThreads(__tstate);
11330 if (PyErr_Occurred()) SWIG_fail;
11331 }
11332 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextEntryDialog, 1);
11333 {
11334 if (temp2)
11335 delete arg2;
11336 }
11337 {
11338 if (temp3)
11339 delete arg3;
11340 }
11341 {
11342 if (temp4)
11343 delete arg4;
11344 }
11345 return resultobj;
11346 fail:
11347 {
11348 if (temp2)
11349 delete arg2;
11350 }
11351 {
11352 if (temp3)
11353 delete arg3;
11354 }
11355 {
11356 if (temp4)
11357 delete arg4;
11358 }
11359 return NULL;
11360 }
11361
11362
11363 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11364 PyObject *resultobj;
11365 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11366 wxString result;
11367 PyObject * obj0 = 0 ;
11368 char *kwnames[] = {
11369 (char *) "self", NULL
11370 };
11371
11372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
11373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11374 {
11375 PyThreadState* __tstate = wxPyBeginAllowThreads();
11376 result = (arg1)->GetValue();
11377
11378 wxPyEndAllowThreads(__tstate);
11379 if (PyErr_Occurred()) SWIG_fail;
11380 }
11381 {
11382 #if wxUSE_UNICODE
11383 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11384 #else
11385 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11386 #endif
11387 }
11388 return resultobj;
11389 fail:
11390 return NULL;
11391 }
11392
11393
11394 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11395 PyObject *resultobj;
11396 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11397 wxString *arg2 = 0 ;
11398 bool temp2 = False ;
11399 PyObject * obj0 = 0 ;
11400 PyObject * obj1 = 0 ;
11401 char *kwnames[] = {
11402 (char *) "self",(char *) "value", NULL
11403 };
11404
11405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
11406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11407 {
11408 arg2 = wxString_in_helper(obj1);
11409 if (arg2 == NULL) SWIG_fail;
11410 temp2 = True;
11411 }
11412 {
11413 PyThreadState* __tstate = wxPyBeginAllowThreads();
11414 (arg1)->SetValue((wxString const &)*arg2);
11415
11416 wxPyEndAllowThreads(__tstate);
11417 if (PyErr_Occurred()) SWIG_fail;
11418 }
11419 Py_INCREF(Py_None); resultobj = Py_None;
11420 {
11421 if (temp2)
11422 delete arg2;
11423 }
11424 return resultobj;
11425 fail:
11426 {
11427 if (temp2)
11428 delete arg2;
11429 }
11430 return NULL;
11431 }
11432
11433
11434 static PyObject *_wrap_TextEntryDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11435 PyObject *resultobj;
11436 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11437 int result;
11438 PyObject * obj0 = 0 ;
11439 char *kwnames[] = {
11440 (char *) "self", NULL
11441 };
11442
11443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_ShowModal",kwnames,&obj0)) goto fail;
11444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11445 {
11446 PyThreadState* __tstate = wxPyBeginAllowThreads();
11447 result = (int)(arg1)->ShowModal();
11448
11449 wxPyEndAllowThreads(__tstate);
11450 if (PyErr_Occurred()) SWIG_fail;
11451 }
11452 resultobj = PyInt_FromLong((long)result);
11453 return resultobj;
11454 fail:
11455 return NULL;
11456 }
11457
11458
11459 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
11460 PyObject *obj;
11461 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11462 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
11463 Py_INCREF(obj);
11464 return Py_BuildValue((char *)"");
11465 }
11466 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11467 PyObject *resultobj;
11468 wxFontData *result;
11469 char *kwnames[] = {
11470 NULL
11471 };
11472
11473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
11474 {
11475 PyThreadState* __tstate = wxPyBeginAllowThreads();
11476 result = (wxFontData *)new wxFontData();
11477
11478 wxPyEndAllowThreads(__tstate);
11479 if (PyErr_Occurred()) SWIG_fail;
11480 }
11481 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 1);
11482 return resultobj;
11483 fail:
11484 return NULL;
11485 }
11486
11487
11488 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11489 PyObject *resultobj;
11490 wxFontData *arg1 = (wxFontData *) 0 ;
11491 PyObject * obj0 = 0 ;
11492 char *kwnames[] = {
11493 (char *) "self", NULL
11494 };
11495
11496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
11497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11498 {
11499 PyThreadState* __tstate = wxPyBeginAllowThreads();
11500 delete arg1;
11501
11502 wxPyEndAllowThreads(__tstate);
11503 if (PyErr_Occurred()) SWIG_fail;
11504 }
11505 Py_INCREF(Py_None); resultobj = Py_None;
11506 return resultobj;
11507 fail:
11508 return NULL;
11509 }
11510
11511
11512 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11513 PyObject *resultobj;
11514 wxFontData *arg1 = (wxFontData *) 0 ;
11515 bool arg2 ;
11516 PyObject * obj0 = 0 ;
11517 PyObject * obj1 = 0 ;
11518 char *kwnames[] = {
11519 (char *) "self",(char *) "enable", NULL
11520 };
11521
11522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
11523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11524 arg2 = PyInt_AsLong(obj1) ? true : false;
11525 if (PyErr_Occurred()) SWIG_fail;
11526 {
11527 PyThreadState* __tstate = wxPyBeginAllowThreads();
11528 (arg1)->EnableEffects(arg2);
11529
11530 wxPyEndAllowThreads(__tstate);
11531 if (PyErr_Occurred()) SWIG_fail;
11532 }
11533 Py_INCREF(Py_None); resultobj = Py_None;
11534 return resultobj;
11535 fail:
11536 return NULL;
11537 }
11538
11539
11540 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11541 PyObject *resultobj;
11542 wxFontData *arg1 = (wxFontData *) 0 ;
11543 bool result;
11544 PyObject * obj0 = 0 ;
11545 char *kwnames[] = {
11546 (char *) "self", NULL
11547 };
11548
11549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
11550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11551 {
11552 PyThreadState* __tstate = wxPyBeginAllowThreads();
11553 result = (bool)(arg1)->GetAllowSymbols();
11554
11555 wxPyEndAllowThreads(__tstate);
11556 if (PyErr_Occurred()) SWIG_fail;
11557 }
11558 resultobj = PyInt_FromLong((long)result);
11559 return resultobj;
11560 fail:
11561 return NULL;
11562 }
11563
11564
11565 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11566 PyObject *resultobj;
11567 wxFontData *arg1 = (wxFontData *) 0 ;
11568 wxColour result;
11569 PyObject * obj0 = 0 ;
11570 char *kwnames[] = {
11571 (char *) "self", NULL
11572 };
11573
11574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
11575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11576 {
11577 PyThreadState* __tstate = wxPyBeginAllowThreads();
11578 result = (arg1)->GetColour();
11579
11580 wxPyEndAllowThreads(__tstate);
11581 if (PyErr_Occurred()) SWIG_fail;
11582 }
11583 {
11584 wxColour * resultptr;
11585 resultptr = new wxColour((wxColour &) result);
11586 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
11587 }
11588 return resultobj;
11589 fail:
11590 return NULL;
11591 }
11592
11593
11594 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11595 PyObject *resultobj;
11596 wxFontData *arg1 = (wxFontData *) 0 ;
11597 wxFont result;
11598 PyObject * obj0 = 0 ;
11599 char *kwnames[] = {
11600 (char *) "self", NULL
11601 };
11602
11603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
11604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11605 {
11606 PyThreadState* __tstate = wxPyBeginAllowThreads();
11607 result = (arg1)->GetChosenFont();
11608
11609 wxPyEndAllowThreads(__tstate);
11610 if (PyErr_Occurred()) SWIG_fail;
11611 }
11612 {
11613 wxFont * resultptr;
11614 resultptr = new wxFont((wxFont &) result);
11615 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11616 }
11617 return resultobj;
11618 fail:
11619 return NULL;
11620 }
11621
11622
11623 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11624 PyObject *resultobj;
11625 wxFontData *arg1 = (wxFontData *) 0 ;
11626 bool result;
11627 PyObject * obj0 = 0 ;
11628 char *kwnames[] = {
11629 (char *) "self", NULL
11630 };
11631
11632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
11633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11634 {
11635 PyThreadState* __tstate = wxPyBeginAllowThreads();
11636 result = (bool)(arg1)->GetEnableEffects();
11637
11638 wxPyEndAllowThreads(__tstate);
11639 if (PyErr_Occurred()) SWIG_fail;
11640 }
11641 resultobj = PyInt_FromLong((long)result);
11642 return resultobj;
11643 fail:
11644 return NULL;
11645 }
11646
11647
11648 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11649 PyObject *resultobj;
11650 wxFontData *arg1 = (wxFontData *) 0 ;
11651 wxFont result;
11652 PyObject * obj0 = 0 ;
11653 char *kwnames[] = {
11654 (char *) "self", NULL
11655 };
11656
11657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
11658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11659 {
11660 PyThreadState* __tstate = wxPyBeginAllowThreads();
11661 result = (arg1)->GetInitialFont();
11662
11663 wxPyEndAllowThreads(__tstate);
11664 if (PyErr_Occurred()) SWIG_fail;
11665 }
11666 {
11667 wxFont * resultptr;
11668 resultptr = new wxFont((wxFont &) result);
11669 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11670 }
11671 return resultobj;
11672 fail:
11673 return NULL;
11674 }
11675
11676
11677 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11678 PyObject *resultobj;
11679 wxFontData *arg1 = (wxFontData *) 0 ;
11680 bool result;
11681 PyObject * obj0 = 0 ;
11682 char *kwnames[] = {
11683 (char *) "self", NULL
11684 };
11685
11686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
11687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11688 {
11689 PyThreadState* __tstate = wxPyBeginAllowThreads();
11690 result = (bool)(arg1)->GetShowHelp();
11691
11692 wxPyEndAllowThreads(__tstate);
11693 if (PyErr_Occurred()) SWIG_fail;
11694 }
11695 resultobj = PyInt_FromLong((long)result);
11696 return resultobj;
11697 fail:
11698 return NULL;
11699 }
11700
11701
11702 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11703 PyObject *resultobj;
11704 wxFontData *arg1 = (wxFontData *) 0 ;
11705 bool arg2 ;
11706 PyObject * obj0 = 0 ;
11707 PyObject * obj1 = 0 ;
11708 char *kwnames[] = {
11709 (char *) "self",(char *) "allowSymbols", NULL
11710 };
11711
11712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
11713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11714 arg2 = PyInt_AsLong(obj1) ? true : false;
11715 if (PyErr_Occurred()) SWIG_fail;
11716 {
11717 PyThreadState* __tstate = wxPyBeginAllowThreads();
11718 (arg1)->SetAllowSymbols(arg2);
11719
11720 wxPyEndAllowThreads(__tstate);
11721 if (PyErr_Occurred()) SWIG_fail;
11722 }
11723 Py_INCREF(Py_None); resultobj = Py_None;
11724 return resultobj;
11725 fail:
11726 return NULL;
11727 }
11728
11729
11730 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11731 PyObject *resultobj;
11732 wxFontData *arg1 = (wxFontData *) 0 ;
11733 wxFont *arg2 = 0 ;
11734 PyObject * obj0 = 0 ;
11735 PyObject * obj1 = 0 ;
11736 char *kwnames[] = {
11737 (char *) "self",(char *) "font", NULL
11738 };
11739
11740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
11741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11742 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11743 if (arg2 == NULL) {
11744 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11745 }
11746 {
11747 PyThreadState* __tstate = wxPyBeginAllowThreads();
11748 (arg1)->SetChosenFont((wxFont const &)*arg2);
11749
11750 wxPyEndAllowThreads(__tstate);
11751 if (PyErr_Occurred()) SWIG_fail;
11752 }
11753 Py_INCREF(Py_None); resultobj = Py_None;
11754 return resultobj;
11755 fail:
11756 return NULL;
11757 }
11758
11759
11760 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11761 PyObject *resultobj;
11762 wxFontData *arg1 = (wxFontData *) 0 ;
11763 wxColour *arg2 = 0 ;
11764 wxColour temp2 ;
11765 PyObject * obj0 = 0 ;
11766 PyObject * obj1 = 0 ;
11767 char *kwnames[] = {
11768 (char *) "self",(char *) "colour", NULL
11769 };
11770
11771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11773 {
11774 arg2 = &temp2;
11775 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11776 }
11777 {
11778 PyThreadState* __tstate = wxPyBeginAllowThreads();
11779 (arg1)->SetColour((wxColour const &)*arg2);
11780
11781 wxPyEndAllowThreads(__tstate);
11782 if (PyErr_Occurred()) SWIG_fail;
11783 }
11784 Py_INCREF(Py_None); resultobj = Py_None;
11785 return resultobj;
11786 fail:
11787 return NULL;
11788 }
11789
11790
11791 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11792 PyObject *resultobj;
11793 wxFontData *arg1 = (wxFontData *) 0 ;
11794 wxFont *arg2 = 0 ;
11795 PyObject * obj0 = 0 ;
11796 PyObject * obj1 = 0 ;
11797 char *kwnames[] = {
11798 (char *) "self",(char *) "font", NULL
11799 };
11800
11801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
11802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11803 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11804 if (arg2 == NULL) {
11805 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11806 }
11807 {
11808 PyThreadState* __tstate = wxPyBeginAllowThreads();
11809 (arg1)->SetInitialFont((wxFont const &)*arg2);
11810
11811 wxPyEndAllowThreads(__tstate);
11812 if (PyErr_Occurred()) SWIG_fail;
11813 }
11814 Py_INCREF(Py_None); resultobj = Py_None;
11815 return resultobj;
11816 fail:
11817 return NULL;
11818 }
11819
11820
11821 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11822 PyObject *resultobj;
11823 wxFontData *arg1 = (wxFontData *) 0 ;
11824 int arg2 ;
11825 int arg3 ;
11826 PyObject * obj0 = 0 ;
11827 char *kwnames[] = {
11828 (char *) "self",(char *) "min",(char *) "max", NULL
11829 };
11830
11831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:FontData_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
11832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11833 {
11834 PyThreadState* __tstate = wxPyBeginAllowThreads();
11835 (arg1)->SetRange(arg2,arg3);
11836
11837 wxPyEndAllowThreads(__tstate);
11838 if (PyErr_Occurred()) SWIG_fail;
11839 }
11840 Py_INCREF(Py_None); resultobj = Py_None;
11841 return resultobj;
11842 fail:
11843 return NULL;
11844 }
11845
11846
11847 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11848 PyObject *resultobj;
11849 wxFontData *arg1 = (wxFontData *) 0 ;
11850 bool arg2 ;
11851 PyObject * obj0 = 0 ;
11852 PyObject * obj1 = 0 ;
11853 char *kwnames[] = {
11854 (char *) "self",(char *) "showHelp", NULL
11855 };
11856
11857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
11858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11859 arg2 = PyInt_AsLong(obj1) ? true : false;
11860 if (PyErr_Occurred()) SWIG_fail;
11861 {
11862 PyThreadState* __tstate = wxPyBeginAllowThreads();
11863 (arg1)->SetShowHelp(arg2);
11864
11865 wxPyEndAllowThreads(__tstate);
11866 if (PyErr_Occurred()) SWIG_fail;
11867 }
11868 Py_INCREF(Py_None); resultobj = Py_None;
11869 return resultobj;
11870 fail:
11871 return NULL;
11872 }
11873
11874
11875 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
11876 PyObject *obj;
11877 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11878 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
11879 Py_INCREF(obj);
11880 return Py_BuildValue((char *)"");
11881 }
11882 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11883 PyObject *resultobj;
11884 wxWindow *arg1 = (wxWindow *) 0 ;
11885 wxFontData *arg2 = 0 ;
11886 wxFontDialog *result;
11887 PyObject * obj0 = 0 ;
11888 PyObject * obj1 = 0 ;
11889 char *kwnames[] = {
11890 (char *) "parent",(char *) "data", NULL
11891 };
11892
11893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
11894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11895 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11896 if (arg2 == NULL) {
11897 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11898 }
11899 {
11900 PyThreadState* __tstate = wxPyBeginAllowThreads();
11901 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
11902
11903 wxPyEndAllowThreads(__tstate);
11904 if (PyErr_Occurred()) SWIG_fail;
11905 }
11906 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontDialog, 1);
11907 return resultobj;
11908 fail:
11909 return NULL;
11910 }
11911
11912
11913 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11914 PyObject *resultobj;
11915 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
11916 wxFontData *result;
11917 PyObject * obj0 = 0 ;
11918 char *kwnames[] = {
11919 (char *) "self", NULL
11920 };
11921
11922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
11923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11924 {
11925 PyThreadState* __tstate = wxPyBeginAllowThreads();
11926 {
11927 wxFontData &_result_ref = (arg1)->GetFontData();
11928 result = (wxFontData *) &_result_ref;
11929 }
11930
11931 wxPyEndAllowThreads(__tstate);
11932 if (PyErr_Occurred()) SWIG_fail;
11933 }
11934 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 0);
11935 return resultobj;
11936 fail:
11937 return NULL;
11938 }
11939
11940
11941 static PyObject *_wrap_FontDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11942 PyObject *resultobj;
11943 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
11944 int result;
11945 PyObject * obj0 = 0 ;
11946 char *kwnames[] = {
11947 (char *) "self", NULL
11948 };
11949
11950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_ShowModal",kwnames,&obj0)) goto fail;
11951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11952 {
11953 PyThreadState* __tstate = wxPyBeginAllowThreads();
11954 result = (int)(arg1)->ShowModal();
11955
11956 wxPyEndAllowThreads(__tstate);
11957 if (PyErr_Occurred()) SWIG_fail;
11958 }
11959 resultobj = PyInt_FromLong((long)result);
11960 return resultobj;
11961 fail:
11962 return NULL;
11963 }
11964
11965
11966 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
11967 PyObject *obj;
11968 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11969 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
11970 Py_INCREF(obj);
11971 return Py_BuildValue((char *)"");
11972 }
11973 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11974 PyObject *resultobj;
11975 wxWindow *arg1 = (wxWindow *) 0 ;
11976 wxString *arg2 = 0 ;
11977 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
11978 wxString *arg3 = (wxString *) &arg3_defvalue ;
11979 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
11980 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11981 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11982 wxMessageDialog *result;
11983 bool temp2 = False ;
11984 bool temp3 = False ;
11985 wxPoint temp5 ;
11986 PyObject * obj0 = 0 ;
11987 PyObject * obj1 = 0 ;
11988 PyObject * obj2 = 0 ;
11989 PyObject * obj4 = 0 ;
11990 char *kwnames[] = {
11991 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
11992 };
11993
11994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OlO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4)) goto fail;
11995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11996 {
11997 arg2 = wxString_in_helper(obj1);
11998 if (arg2 == NULL) SWIG_fail;
11999 temp2 = True;
12000 }
12001 if (obj2) {
12002 {
12003 arg3 = wxString_in_helper(obj2);
12004 if (arg3 == NULL) SWIG_fail;
12005 temp3 = True;
12006 }
12007 }
12008 if (obj4) {
12009 {
12010 arg5 = &temp5;
12011 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12012 }
12013 }
12014 {
12015 PyThreadState* __tstate = wxPyBeginAllowThreads();
12016 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
12017
12018 wxPyEndAllowThreads(__tstate);
12019 if (PyErr_Occurred()) SWIG_fail;
12020 }
12021 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMessageDialog, 1);
12022 {
12023 if (temp2)
12024 delete arg2;
12025 }
12026 {
12027 if (temp3)
12028 delete arg3;
12029 }
12030 return resultobj;
12031 fail:
12032 {
12033 if (temp2)
12034 delete arg2;
12035 }
12036 {
12037 if (temp3)
12038 delete arg3;
12039 }
12040 return NULL;
12041 }
12042
12043
12044 static PyObject *_wrap_MessageDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
12045 PyObject *resultobj;
12046 wxMessageDialog *arg1 = (wxMessageDialog *) 0 ;
12047 int result;
12048 PyObject * obj0 = 0 ;
12049 char *kwnames[] = {
12050 (char *) "self", NULL
12051 };
12052
12053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MessageDialog_ShowModal",kwnames,&obj0)) goto fail;
12054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMessageDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12055 {
12056 PyThreadState* __tstate = wxPyBeginAllowThreads();
12057 result = (int)(arg1)->ShowModal();
12058
12059 wxPyEndAllowThreads(__tstate);
12060 if (PyErr_Occurred()) SWIG_fail;
12061 }
12062 resultobj = PyInt_FromLong((long)result);
12063 return resultobj;
12064 fail:
12065 return NULL;
12066 }
12067
12068
12069 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
12070 PyObject *obj;
12071 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12072 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
12073 Py_INCREF(obj);
12074 return Py_BuildValue((char *)"");
12075 }
12076 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12077 PyObject *resultobj;
12078 wxString *arg1 = 0 ;
12079 wxString *arg2 = 0 ;
12080 int arg3 = (int) 100 ;
12081 wxWindow *arg4 = (wxWindow *) NULL ;
12082 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
12083 wxProgressDialog *result;
12084 bool temp1 = False ;
12085 bool temp2 = False ;
12086 PyObject * obj0 = 0 ;
12087 PyObject * obj1 = 0 ;
12088 PyObject * obj3 = 0 ;
12089 char *kwnames[] = {
12090 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
12091 };
12092
12093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOi:new_ProgressDialog",kwnames,&obj0,&obj1,&arg3,&obj3,&arg5)) goto fail;
12094 {
12095 arg1 = wxString_in_helper(obj0);
12096 if (arg1 == NULL) SWIG_fail;
12097 temp1 = True;
12098 }
12099 {
12100 arg2 = wxString_in_helper(obj1);
12101 if (arg2 == NULL) SWIG_fail;
12102 temp2 = True;
12103 }
12104 if (obj3) {
12105 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12106 }
12107 {
12108 PyThreadState* __tstate = wxPyBeginAllowThreads();
12109 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
12110
12111 wxPyEndAllowThreads(__tstate);
12112 if (PyErr_Occurred()) SWIG_fail;
12113 }
12114 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProgressDialog, 1);
12115 {
12116 if (temp1)
12117 delete arg1;
12118 }
12119 {
12120 if (temp2)
12121 delete arg2;
12122 }
12123 return resultobj;
12124 fail:
12125 {
12126 if (temp1)
12127 delete arg1;
12128 }
12129 {
12130 if (temp2)
12131 delete arg2;
12132 }
12133 return NULL;
12134 }
12135
12136
12137 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
12138 PyObject *resultobj;
12139 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
12140 int arg2 ;
12141 wxString const &arg3_defvalue = wxPyEmptyString ;
12142 wxString *arg3 = (wxString *) &arg3_defvalue ;
12143 bool result;
12144 bool temp3 = False ;
12145 PyObject * obj0 = 0 ;
12146 PyObject * obj2 = 0 ;
12147 char *kwnames[] = {
12148 (char *) "self",(char *) "value",(char *) "newmsg", NULL
12149 };
12150
12151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ProgressDialog_Update",kwnames,&obj0,&arg2,&obj2)) goto fail;
12152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12153 if (obj2) {
12154 {
12155 arg3 = wxString_in_helper(obj2);
12156 if (arg3 == NULL) SWIG_fail;
12157 temp3 = True;
12158 }
12159 }
12160 {
12161 PyThreadState* __tstate = wxPyBeginAllowThreads();
12162 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
12163
12164 wxPyEndAllowThreads(__tstate);
12165 if (PyErr_Occurred()) SWIG_fail;
12166 }
12167 resultobj = PyInt_FromLong((long)result);
12168 {
12169 if (temp3)
12170 delete arg3;
12171 }
12172 return resultobj;
12173 fail:
12174 {
12175 if (temp3)
12176 delete arg3;
12177 }
12178 return NULL;
12179 }
12180
12181
12182 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
12183 PyObject *resultobj;
12184 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
12185 PyObject * obj0 = 0 ;
12186 char *kwnames[] = {
12187 (char *) "self", NULL
12188 };
12189
12190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
12191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12192 {
12193 PyThreadState* __tstate = wxPyBeginAllowThreads();
12194 (arg1)->Resume();
12195
12196 wxPyEndAllowThreads(__tstate);
12197 if (PyErr_Occurred()) SWIG_fail;
12198 }
12199 Py_INCREF(Py_None); resultobj = Py_None;
12200 return resultobj;
12201 fail:
12202 return NULL;
12203 }
12204
12205
12206 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
12207 PyObject *obj;
12208 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12209 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
12210 Py_INCREF(obj);
12211 return Py_BuildValue((char *)"");
12212 }
12213 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12214 PyObject *resultobj;
12215 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12216 int arg2 = (int) 0 ;
12217 wxFindDialogEvent *result;
12218 char *kwnames[] = {
12219 (char *) "commandType",(char *) "id", NULL
12220 };
12221
12222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_FindDialogEvent",kwnames,&arg1,&arg2)) goto fail;
12223 {
12224 PyThreadState* __tstate = wxPyBeginAllowThreads();
12225 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
12226
12227 wxPyEndAllowThreads(__tstate);
12228 if (PyErr_Occurred()) SWIG_fail;
12229 }
12230 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindDialogEvent, 1);
12231 return resultobj;
12232 fail:
12233 return NULL;
12234 }
12235
12236
12237 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12238 PyObject *resultobj;
12239 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12240 int result;
12241 PyObject * obj0 = 0 ;
12242 char *kwnames[] = {
12243 (char *) "self", NULL
12244 };
12245
12246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
12247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12248 {
12249 PyThreadState* __tstate = wxPyBeginAllowThreads();
12250 result = (int)(arg1)->GetFlags();
12251
12252 wxPyEndAllowThreads(__tstate);
12253 if (PyErr_Occurred()) SWIG_fail;
12254 }
12255 resultobj = PyInt_FromLong((long)result);
12256 return resultobj;
12257 fail:
12258 return NULL;
12259 }
12260
12261
12262 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12263 PyObject *resultobj;
12264 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12265 wxString *result;
12266 PyObject * obj0 = 0 ;
12267 char *kwnames[] = {
12268 (char *) "self", NULL
12269 };
12270
12271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
12272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12273 {
12274 PyThreadState* __tstate = wxPyBeginAllowThreads();
12275 {
12276 wxString const &_result_ref = (arg1)->GetFindString();
12277 result = (wxString *) &_result_ref;
12278 }
12279
12280 wxPyEndAllowThreads(__tstate);
12281 if (PyErr_Occurred()) SWIG_fail;
12282 }
12283 {
12284 #if wxUSE_UNICODE
12285 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12286 #else
12287 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12288 #endif
12289 }
12290 return resultobj;
12291 fail:
12292 return NULL;
12293 }
12294
12295
12296 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12297 PyObject *resultobj;
12298 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12299 wxString *result;
12300 PyObject * obj0 = 0 ;
12301 char *kwnames[] = {
12302 (char *) "self", NULL
12303 };
12304
12305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
12306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12307 {
12308 PyThreadState* __tstate = wxPyBeginAllowThreads();
12309 {
12310 wxString const &_result_ref = (arg1)->GetReplaceString();
12311 result = (wxString *) &_result_ref;
12312 }
12313
12314 wxPyEndAllowThreads(__tstate);
12315 if (PyErr_Occurred()) SWIG_fail;
12316 }
12317 {
12318 #if wxUSE_UNICODE
12319 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12320 #else
12321 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12322 #endif
12323 }
12324 return resultobj;
12325 fail:
12326 return NULL;
12327 }
12328
12329
12330 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12331 PyObject *resultobj;
12332 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12333 wxFindReplaceDialog *result;
12334 PyObject * obj0 = 0 ;
12335 char *kwnames[] = {
12336 (char *) "self", NULL
12337 };
12338
12339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
12340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12341 {
12342 PyThreadState* __tstate = wxPyBeginAllowThreads();
12343 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
12344
12345 wxPyEndAllowThreads(__tstate);
12346 if (PyErr_Occurred()) SWIG_fail;
12347 }
12348 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 0);
12349 return resultobj;
12350 fail:
12351 return NULL;
12352 }
12353
12354
12355 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12356 PyObject *resultobj;
12357 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12358 int arg2 ;
12359 PyObject * obj0 = 0 ;
12360 char *kwnames[] = {
12361 (char *) "self",(char *) "flags", NULL
12362 };
12363
12364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindDialogEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12366 {
12367 PyThreadState* __tstate = wxPyBeginAllowThreads();
12368 (arg1)->SetFlags(arg2);
12369
12370 wxPyEndAllowThreads(__tstate);
12371 if (PyErr_Occurred()) SWIG_fail;
12372 }
12373 Py_INCREF(Py_None); resultobj = Py_None;
12374 return resultobj;
12375 fail:
12376 return NULL;
12377 }
12378
12379
12380 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12381 PyObject *resultobj;
12382 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12383 wxString *arg2 = 0 ;
12384 bool temp2 = False ;
12385 PyObject * obj0 = 0 ;
12386 PyObject * obj1 = 0 ;
12387 char *kwnames[] = {
12388 (char *) "self",(char *) "str", NULL
12389 };
12390
12391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12393 {
12394 arg2 = wxString_in_helper(obj1);
12395 if (arg2 == NULL) SWIG_fail;
12396 temp2 = True;
12397 }
12398 {
12399 PyThreadState* __tstate = wxPyBeginAllowThreads();
12400 (arg1)->SetFindString((wxString const &)*arg2);
12401
12402 wxPyEndAllowThreads(__tstate);
12403 if (PyErr_Occurred()) SWIG_fail;
12404 }
12405 Py_INCREF(Py_None); resultobj = Py_None;
12406 {
12407 if (temp2)
12408 delete arg2;
12409 }
12410 return resultobj;
12411 fail:
12412 {
12413 if (temp2)
12414 delete arg2;
12415 }
12416 return NULL;
12417 }
12418
12419
12420 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12421 PyObject *resultobj;
12422 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12423 wxString *arg2 = 0 ;
12424 bool temp2 = False ;
12425 PyObject * obj0 = 0 ;
12426 PyObject * obj1 = 0 ;
12427 char *kwnames[] = {
12428 (char *) "self",(char *) "str", NULL
12429 };
12430
12431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12433 {
12434 arg2 = wxString_in_helper(obj1);
12435 if (arg2 == NULL) SWIG_fail;
12436 temp2 = True;
12437 }
12438 {
12439 PyThreadState* __tstate = wxPyBeginAllowThreads();
12440 (arg1)->SetReplaceString((wxString const &)*arg2);
12441
12442 wxPyEndAllowThreads(__tstate);
12443 if (PyErr_Occurred()) SWIG_fail;
12444 }
12445 Py_INCREF(Py_None); resultobj = Py_None;
12446 {
12447 if (temp2)
12448 delete arg2;
12449 }
12450 return resultobj;
12451 fail:
12452 {
12453 if (temp2)
12454 delete arg2;
12455 }
12456 return NULL;
12457 }
12458
12459
12460 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
12461 PyObject *obj;
12462 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12463 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
12464 Py_INCREF(obj);
12465 return Py_BuildValue((char *)"");
12466 }
12467 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12468 PyObject *resultobj;
12469 int arg1 = (int) 0 ;
12470 wxFindReplaceData *result;
12471 char *kwnames[] = {
12472 (char *) "flags", NULL
12473 };
12474
12475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_FindReplaceData",kwnames,&arg1)) goto fail;
12476 {
12477 PyThreadState* __tstate = wxPyBeginAllowThreads();
12478 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
12479
12480 wxPyEndAllowThreads(__tstate);
12481 if (PyErr_Occurred()) SWIG_fail;
12482 }
12483 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 1);
12484 return resultobj;
12485 fail:
12486 return NULL;
12487 }
12488
12489
12490 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12491 PyObject *resultobj;
12492 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12493 PyObject * obj0 = 0 ;
12494 char *kwnames[] = {
12495 (char *) "self", NULL
12496 };
12497
12498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
12499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12500 {
12501 PyThreadState* __tstate = wxPyBeginAllowThreads();
12502 delete arg1;
12503
12504 wxPyEndAllowThreads(__tstate);
12505 if (PyErr_Occurred()) SWIG_fail;
12506 }
12507 Py_INCREF(Py_None); resultobj = Py_None;
12508 return resultobj;
12509 fail:
12510 return NULL;
12511 }
12512
12513
12514 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12515 PyObject *resultobj;
12516 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12517 wxString *result;
12518 PyObject * obj0 = 0 ;
12519 char *kwnames[] = {
12520 (char *) "self", NULL
12521 };
12522
12523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
12524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12525 {
12526 PyThreadState* __tstate = wxPyBeginAllowThreads();
12527 {
12528 wxString const &_result_ref = (arg1)->GetFindString();
12529 result = (wxString *) &_result_ref;
12530 }
12531
12532 wxPyEndAllowThreads(__tstate);
12533 if (PyErr_Occurred()) SWIG_fail;
12534 }
12535 {
12536 #if wxUSE_UNICODE
12537 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12538 #else
12539 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12540 #endif
12541 }
12542 return resultobj;
12543 fail:
12544 return NULL;
12545 }
12546
12547
12548 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12549 PyObject *resultobj;
12550 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12551 wxString *result;
12552 PyObject * obj0 = 0 ;
12553 char *kwnames[] = {
12554 (char *) "self", NULL
12555 };
12556
12557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
12558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12559 {
12560 PyThreadState* __tstate = wxPyBeginAllowThreads();
12561 {
12562 wxString const &_result_ref = (arg1)->GetReplaceString();
12563 result = (wxString *) &_result_ref;
12564 }
12565
12566 wxPyEndAllowThreads(__tstate);
12567 if (PyErr_Occurred()) SWIG_fail;
12568 }
12569 {
12570 #if wxUSE_UNICODE
12571 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12572 #else
12573 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12574 #endif
12575 }
12576 return resultobj;
12577 fail:
12578 return NULL;
12579 }
12580
12581
12582 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12583 PyObject *resultobj;
12584 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12585 int result;
12586 PyObject * obj0 = 0 ;
12587 char *kwnames[] = {
12588 (char *) "self", NULL
12589 };
12590
12591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
12592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12593 {
12594 PyThreadState* __tstate = wxPyBeginAllowThreads();
12595 result = (int)(arg1)->GetFlags();
12596
12597 wxPyEndAllowThreads(__tstate);
12598 if (PyErr_Occurred()) SWIG_fail;
12599 }
12600 resultobj = PyInt_FromLong((long)result);
12601 return resultobj;
12602 fail:
12603 return NULL;
12604 }
12605
12606
12607 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12608 PyObject *resultobj;
12609 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12610 int arg2 ;
12611 PyObject * obj0 = 0 ;
12612 char *kwnames[] = {
12613 (char *) "self",(char *) "flags", NULL
12614 };
12615
12616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindReplaceData_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12618 {
12619 PyThreadState* __tstate = wxPyBeginAllowThreads();
12620 (arg1)->SetFlags(arg2);
12621
12622 wxPyEndAllowThreads(__tstate);
12623 if (PyErr_Occurred()) SWIG_fail;
12624 }
12625 Py_INCREF(Py_None); resultobj = Py_None;
12626 return resultobj;
12627 fail:
12628 return NULL;
12629 }
12630
12631
12632 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12633 PyObject *resultobj;
12634 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12635 wxString *arg2 = 0 ;
12636 bool temp2 = False ;
12637 PyObject * obj0 = 0 ;
12638 PyObject * obj1 = 0 ;
12639 char *kwnames[] = {
12640 (char *) "self",(char *) "str", NULL
12641 };
12642
12643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12645 {
12646 arg2 = wxString_in_helper(obj1);
12647 if (arg2 == NULL) SWIG_fail;
12648 temp2 = True;
12649 }
12650 {
12651 PyThreadState* __tstate = wxPyBeginAllowThreads();
12652 (arg1)->SetFindString((wxString const &)*arg2);
12653
12654 wxPyEndAllowThreads(__tstate);
12655 if (PyErr_Occurred()) SWIG_fail;
12656 }
12657 Py_INCREF(Py_None); resultobj = Py_None;
12658 {
12659 if (temp2)
12660 delete arg2;
12661 }
12662 return resultobj;
12663 fail:
12664 {
12665 if (temp2)
12666 delete arg2;
12667 }
12668 return NULL;
12669 }
12670
12671
12672 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12673 PyObject *resultobj;
12674 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12675 wxString *arg2 = 0 ;
12676 bool temp2 = False ;
12677 PyObject * obj0 = 0 ;
12678 PyObject * obj1 = 0 ;
12679 char *kwnames[] = {
12680 (char *) "self",(char *) "str", NULL
12681 };
12682
12683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12685 {
12686 arg2 = wxString_in_helper(obj1);
12687 if (arg2 == NULL) SWIG_fail;
12688 temp2 = True;
12689 }
12690 {
12691 PyThreadState* __tstate = wxPyBeginAllowThreads();
12692 (arg1)->SetReplaceString((wxString const &)*arg2);
12693
12694 wxPyEndAllowThreads(__tstate);
12695 if (PyErr_Occurred()) SWIG_fail;
12696 }
12697 Py_INCREF(Py_None); resultobj = Py_None;
12698 {
12699 if (temp2)
12700 delete arg2;
12701 }
12702 return resultobj;
12703 fail:
12704 {
12705 if (temp2)
12706 delete arg2;
12707 }
12708 return NULL;
12709 }
12710
12711
12712 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
12713 PyObject *obj;
12714 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12715 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
12716 Py_INCREF(obj);
12717 return Py_BuildValue((char *)"");
12718 }
12719 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12720 PyObject *resultobj;
12721 wxWindow *arg1 = (wxWindow *) 0 ;
12722 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12723 wxString *arg3 = 0 ;
12724 int arg4 = (int) 0 ;
12725 wxFindReplaceDialog *result;
12726 bool temp3 = False ;
12727 PyObject * obj0 = 0 ;
12728 PyObject * obj1 = 0 ;
12729 PyObject * obj2 = 0 ;
12730 char *kwnames[] = {
12731 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12732 };
12733
12734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
12735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12736 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12737 {
12738 arg3 = wxString_in_helper(obj2);
12739 if (arg3 == NULL) SWIG_fail;
12740 temp3 = True;
12741 }
12742 {
12743 PyThreadState* __tstate = wxPyBeginAllowThreads();
12744 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
12745
12746 wxPyEndAllowThreads(__tstate);
12747 if (PyErr_Occurred()) SWIG_fail;
12748 }
12749 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12750 {
12751 if (temp3)
12752 delete arg3;
12753 }
12754 return resultobj;
12755 fail:
12756 {
12757 if (temp3)
12758 delete arg3;
12759 }
12760 return NULL;
12761 }
12762
12763
12764 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12765 PyObject *resultobj;
12766 wxFindReplaceDialog *result;
12767 char *kwnames[] = {
12768 NULL
12769 };
12770
12771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
12772 {
12773 PyThreadState* __tstate = wxPyBeginAllowThreads();
12774 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
12775
12776 wxPyEndAllowThreads(__tstate);
12777 if (PyErr_Occurred()) SWIG_fail;
12778 }
12779 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12780 return resultobj;
12781 fail:
12782 return NULL;
12783 }
12784
12785
12786 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12787 PyObject *resultobj;
12788 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12789 wxWindow *arg2 = (wxWindow *) 0 ;
12790 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
12791 wxString *arg4 = 0 ;
12792 int arg5 = (int) 0 ;
12793 bool result;
12794 bool temp4 = False ;
12795 PyObject * obj0 = 0 ;
12796 PyObject * obj1 = 0 ;
12797 PyObject * obj2 = 0 ;
12798 PyObject * obj3 = 0 ;
12799 char *kwnames[] = {
12800 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12801 };
12802
12803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|i:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
12804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12805 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12806 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12807 {
12808 arg4 = wxString_in_helper(obj3);
12809 if (arg4 == NULL) SWIG_fail;
12810 temp4 = True;
12811 }
12812 {
12813 PyThreadState* __tstate = wxPyBeginAllowThreads();
12814 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
12815
12816 wxPyEndAllowThreads(__tstate);
12817 if (PyErr_Occurred()) SWIG_fail;
12818 }
12819 resultobj = PyInt_FromLong((long)result);
12820 {
12821 if (temp4)
12822 delete arg4;
12823 }
12824 return resultobj;
12825 fail:
12826 {
12827 if (temp4)
12828 delete arg4;
12829 }
12830 return NULL;
12831 }
12832
12833
12834 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12835 PyObject *resultobj;
12836 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12837 wxFindReplaceData *result;
12838 PyObject * obj0 = 0 ;
12839 char *kwnames[] = {
12840 (char *) "self", NULL
12841 };
12842
12843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
12844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12845 {
12846 PyThreadState* __tstate = wxPyBeginAllowThreads();
12847 result = (wxFindReplaceData *)(arg1)->GetData();
12848
12849 wxPyEndAllowThreads(__tstate);
12850 if (PyErr_Occurred()) SWIG_fail;
12851 }
12852 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 0);
12853 return resultobj;
12854 fail:
12855 return NULL;
12856 }
12857
12858
12859 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12860 PyObject *resultobj;
12861 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12862 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12863 PyObject * obj0 = 0 ;
12864 PyObject * obj1 = 0 ;
12865 char *kwnames[] = {
12866 (char *) "self",(char *) "data", NULL
12867 };
12868
12869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
12870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12871 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12872 {
12873 PyThreadState* __tstate = wxPyBeginAllowThreads();
12874 (arg1)->SetData(arg2);
12875
12876 wxPyEndAllowThreads(__tstate);
12877 if (PyErr_Occurred()) SWIG_fail;
12878 }
12879 Py_INCREF(Py_None); resultobj = Py_None;
12880 return resultobj;
12881 fail:
12882 return NULL;
12883 }
12884
12885
12886 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
12887 PyObject *obj;
12888 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12889 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
12890 Py_INCREF(obj);
12891 return Py_BuildValue((char *)"");
12892 }
12893 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
12894 PyObject *resultobj;
12895 wxWindow *arg1 = (wxWindow *) 0 ;
12896 int arg2 ;
12897 wxString *arg3 = 0 ;
12898 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12899 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12900 wxSize const &arg5_defvalue = wxDefaultSize ;
12901 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12902 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
12903 wxString const &arg7_defvalue = wxPyFrameNameStr ;
12904 wxString *arg7 = (wxString *) &arg7_defvalue ;
12905 wxMDIParentFrame *result;
12906 bool temp3 = False ;
12907 wxPoint temp4 ;
12908 wxSize temp5 ;
12909 bool temp7 = False ;
12910 PyObject * obj0 = 0 ;
12911 PyObject * obj2 = 0 ;
12912 PyObject * obj3 = 0 ;
12913 PyObject * obj4 = 0 ;
12914 PyObject * obj6 = 0 ;
12915 char *kwnames[] = {
12916 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12917 };
12918
12919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIParentFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
12920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12921 {
12922 arg3 = wxString_in_helper(obj2);
12923 if (arg3 == NULL) SWIG_fail;
12924 temp3 = True;
12925 }
12926 if (obj3) {
12927 {
12928 arg4 = &temp4;
12929 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12930 }
12931 }
12932 if (obj4) {
12933 {
12934 arg5 = &temp5;
12935 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12936 }
12937 }
12938 if (obj6) {
12939 {
12940 arg7 = wxString_in_helper(obj6);
12941 if (arg7 == NULL) SWIG_fail;
12942 temp7 = True;
12943 }
12944 }
12945 {
12946 PyThreadState* __tstate = wxPyBeginAllowThreads();
12947 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12948
12949 wxPyEndAllowThreads(__tstate);
12950 if (PyErr_Occurred()) SWIG_fail;
12951 }
12952 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
12953 {
12954 if (temp3)
12955 delete arg3;
12956 }
12957 {
12958 if (temp7)
12959 delete arg7;
12960 }
12961 return resultobj;
12962 fail:
12963 {
12964 if (temp3)
12965 delete arg3;
12966 }
12967 {
12968 if (temp7)
12969 delete arg7;
12970 }
12971 return NULL;
12972 }
12973
12974
12975 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
12976 PyObject *resultobj;
12977 wxMDIParentFrame *result;
12978 char *kwnames[] = {
12979 NULL
12980 };
12981
12982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
12983 {
12984 PyThreadState* __tstate = wxPyBeginAllowThreads();
12985 result = (wxMDIParentFrame *)new wxMDIParentFrame();
12986
12987 wxPyEndAllowThreads(__tstate);
12988 if (PyErr_Occurred()) SWIG_fail;
12989 }
12990 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
12991 return resultobj;
12992 fail:
12993 return NULL;
12994 }
12995
12996
12997 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12998 PyObject *resultobj;
12999 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13000 wxWindow *arg2 = (wxWindow *) 0 ;
13001 int arg3 ;
13002 wxString *arg4 = 0 ;
13003 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13004 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13005 wxSize const &arg6_defvalue = wxDefaultSize ;
13006 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13007 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
13008 wxString const &arg8_defvalue = wxPyFrameNameStr ;
13009 wxString *arg8 = (wxString *) &arg8_defvalue ;
13010 bool result;
13011 bool temp4 = False ;
13012 wxPoint temp5 ;
13013 wxSize temp6 ;
13014 bool temp8 = False ;
13015 PyObject * obj0 = 0 ;
13016 PyObject * obj1 = 0 ;
13017 PyObject * obj3 = 0 ;
13018 PyObject * obj4 = 0 ;
13019 PyObject * obj5 = 0 ;
13020 PyObject * obj7 = 0 ;
13021 char *kwnames[] = {
13022 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13023 };
13024
13025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
13026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13027 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13028 {
13029 arg4 = wxString_in_helper(obj3);
13030 if (arg4 == NULL) SWIG_fail;
13031 temp4 = True;
13032 }
13033 if (obj4) {
13034 {
13035 arg5 = &temp5;
13036 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13037 }
13038 }
13039 if (obj5) {
13040 {
13041 arg6 = &temp6;
13042 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13043 }
13044 }
13045 if (obj7) {
13046 {
13047 arg8 = wxString_in_helper(obj7);
13048 if (arg8 == NULL) SWIG_fail;
13049 temp8 = True;
13050 }
13051 }
13052 {
13053 PyThreadState* __tstate = wxPyBeginAllowThreads();
13054 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
13055
13056 wxPyEndAllowThreads(__tstate);
13057 if (PyErr_Occurred()) SWIG_fail;
13058 }
13059 resultobj = PyInt_FromLong((long)result);
13060 {
13061 if (temp4)
13062 delete arg4;
13063 }
13064 {
13065 if (temp8)
13066 delete arg8;
13067 }
13068 return resultobj;
13069 fail:
13070 {
13071 if (temp4)
13072 delete arg4;
13073 }
13074 {
13075 if (temp8)
13076 delete arg8;
13077 }
13078 return NULL;
13079 }
13080
13081
13082 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
13083 PyObject *resultobj;
13084 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13085 PyObject * obj0 = 0 ;
13086 char *kwnames[] = {
13087 (char *) "self", NULL
13088 };
13089
13090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
13091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13092 {
13093 PyThreadState* __tstate = wxPyBeginAllowThreads();
13094 (arg1)->ActivateNext();
13095
13096 wxPyEndAllowThreads(__tstate);
13097 if (PyErr_Occurred()) SWIG_fail;
13098 }
13099 Py_INCREF(Py_None); resultobj = Py_None;
13100 return resultobj;
13101 fail:
13102 return NULL;
13103 }
13104
13105
13106 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
13107 PyObject *resultobj;
13108 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13109 PyObject * obj0 = 0 ;
13110 char *kwnames[] = {
13111 (char *) "self", NULL
13112 };
13113
13114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
13115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13116 {
13117 PyThreadState* __tstate = wxPyBeginAllowThreads();
13118 (arg1)->ActivatePrevious();
13119
13120 wxPyEndAllowThreads(__tstate);
13121 if (PyErr_Occurred()) SWIG_fail;
13122 }
13123 Py_INCREF(Py_None); resultobj = Py_None;
13124 return resultobj;
13125 fail:
13126 return NULL;
13127 }
13128
13129
13130 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
13131 PyObject *resultobj;
13132 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13133 PyObject * obj0 = 0 ;
13134 char *kwnames[] = {
13135 (char *) "self", NULL
13136 };
13137
13138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
13139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13140 {
13141 PyThreadState* __tstate = wxPyBeginAllowThreads();
13142 (arg1)->ArrangeIcons();
13143
13144 wxPyEndAllowThreads(__tstate);
13145 if (PyErr_Occurred()) SWIG_fail;
13146 }
13147 Py_INCREF(Py_None); resultobj = Py_None;
13148 return resultobj;
13149 fail:
13150 return NULL;
13151 }
13152
13153
13154 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
13155 PyObject *resultobj;
13156 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13157 PyObject * obj0 = 0 ;
13158 char *kwnames[] = {
13159 (char *) "self", NULL
13160 };
13161
13162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
13163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13164 {
13165 PyThreadState* __tstate = wxPyBeginAllowThreads();
13166 (arg1)->Cascade();
13167
13168 wxPyEndAllowThreads(__tstate);
13169 if (PyErr_Occurred()) SWIG_fail;
13170 }
13171 Py_INCREF(Py_None); resultobj = Py_None;
13172 return resultobj;
13173 fail:
13174 return NULL;
13175 }
13176
13177
13178 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
13179 PyObject *resultobj;
13180 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13181 wxMDIChildFrame *result;
13182 PyObject * obj0 = 0 ;
13183 char *kwnames[] = {
13184 (char *) "self", NULL
13185 };
13186
13187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
13188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13189 {
13190 PyThreadState* __tstate = wxPyBeginAllowThreads();
13191 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
13192
13193 wxPyEndAllowThreads(__tstate);
13194 if (PyErr_Occurred()) SWIG_fail;
13195 }
13196 {
13197 resultobj = wxPyMake_wxObject(result);
13198 }
13199 return resultobj;
13200 fail:
13201 return NULL;
13202 }
13203
13204
13205 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13206 PyObject *resultobj;
13207 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13208 wxMDIClientWindow *result;
13209 PyObject * obj0 = 0 ;
13210 char *kwnames[] = {
13211 (char *) "self", NULL
13212 };
13213
13214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
13215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13216 {
13217 PyThreadState* __tstate = wxPyBeginAllowThreads();
13218 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
13219
13220 wxPyEndAllowThreads(__tstate);
13221 if (PyErr_Occurred()) SWIG_fail;
13222 }
13223 {
13224 resultobj = wxPyMake_wxObject(result);
13225 }
13226 return resultobj;
13227 fail:
13228 return NULL;
13229 }
13230
13231
13232 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
13233 PyObject *resultobj;
13234 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13235 wxWindow *result;
13236 PyObject * obj0 = 0 ;
13237 char *kwnames[] = {
13238 (char *) "self", NULL
13239 };
13240
13241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
13242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13243 {
13244 PyThreadState* __tstate = wxPyBeginAllowThreads();
13245 result = (wxWindow *)(arg1)->GetToolBar();
13246
13247 wxPyEndAllowThreads(__tstate);
13248 if (PyErr_Occurred()) SWIG_fail;
13249 }
13250 {
13251 resultobj = wxPyMake_wxObject(result);
13252 }
13253 return resultobj;
13254 fail:
13255 return NULL;
13256 }
13257
13258
13259 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
13260 PyObject *resultobj;
13261 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13262 PyObject * obj0 = 0 ;
13263 char *kwnames[] = {
13264 (char *) "self", NULL
13265 };
13266
13267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
13268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13269 {
13270 PyThreadState* __tstate = wxPyBeginAllowThreads();
13271 (arg1)->Tile();
13272
13273 wxPyEndAllowThreads(__tstate);
13274 if (PyErr_Occurred()) SWIG_fail;
13275 }
13276 Py_INCREF(Py_None); resultobj = Py_None;
13277 return resultobj;
13278 fail:
13279 return NULL;
13280 }
13281
13282
13283 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
13284 PyObject *obj;
13285 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13286 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
13287 Py_INCREF(obj);
13288 return Py_BuildValue((char *)"");
13289 }
13290 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13291 PyObject *resultobj;
13292 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13293 int arg2 ;
13294 wxString *arg3 = 0 ;
13295 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13296 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13297 wxSize const &arg5_defvalue = wxDefaultSize ;
13298 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13299 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
13300 wxString const &arg7_defvalue = wxPyFrameNameStr ;
13301 wxString *arg7 = (wxString *) &arg7_defvalue ;
13302 wxMDIChildFrame *result;
13303 bool temp3 = False ;
13304 wxPoint temp4 ;
13305 wxSize temp5 ;
13306 bool temp7 = False ;
13307 PyObject * obj0 = 0 ;
13308 PyObject * obj2 = 0 ;
13309 PyObject * obj3 = 0 ;
13310 PyObject * obj4 = 0 ;
13311 PyObject * obj6 = 0 ;
13312 char *kwnames[] = {
13313 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13314 };
13315
13316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIChildFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
13317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13318 {
13319 arg3 = wxString_in_helper(obj2);
13320 if (arg3 == NULL) SWIG_fail;
13321 temp3 = True;
13322 }
13323 if (obj3) {
13324 {
13325 arg4 = &temp4;
13326 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13327 }
13328 }
13329 if (obj4) {
13330 {
13331 arg5 = &temp5;
13332 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13333 }
13334 }
13335 if (obj6) {
13336 {
13337 arg7 = wxString_in_helper(obj6);
13338 if (arg7 == NULL) SWIG_fail;
13339 temp7 = True;
13340 }
13341 }
13342 {
13343 PyThreadState* __tstate = wxPyBeginAllowThreads();
13344 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13345
13346 wxPyEndAllowThreads(__tstate);
13347 if (PyErr_Occurred()) SWIG_fail;
13348 }
13349 {
13350 resultobj = wxPyMake_wxObject(result);
13351 }
13352 {
13353 if (temp3)
13354 delete arg3;
13355 }
13356 {
13357 if (temp7)
13358 delete arg7;
13359 }
13360 return resultobj;
13361 fail:
13362 {
13363 if (temp3)
13364 delete arg3;
13365 }
13366 {
13367 if (temp7)
13368 delete arg7;
13369 }
13370 return NULL;
13371 }
13372
13373
13374 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13375 PyObject *resultobj;
13376 wxMDIChildFrame *result;
13377 char *kwnames[] = {
13378 NULL
13379 };
13380
13381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
13382 {
13383 PyThreadState* __tstate = wxPyBeginAllowThreads();
13384 result = (wxMDIChildFrame *)new wxMDIChildFrame();
13385
13386 wxPyEndAllowThreads(__tstate);
13387 if (PyErr_Occurred()) SWIG_fail;
13388 }
13389 {
13390 resultobj = wxPyMake_wxObject(result);
13391 }
13392 return resultobj;
13393 fail:
13394 return NULL;
13395 }
13396
13397
13398 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13399 PyObject *resultobj;
13400 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13401 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13402 int arg3 ;
13403 wxString *arg4 = 0 ;
13404 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13405 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13406 wxSize const &arg6_defvalue = wxDefaultSize ;
13407 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13408 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
13409 wxString const &arg8_defvalue = wxPyFrameNameStr ;
13410 wxString *arg8 = (wxString *) &arg8_defvalue ;
13411 bool result;
13412 bool temp4 = False ;
13413 wxPoint temp5 ;
13414 wxSize temp6 ;
13415 bool temp8 = False ;
13416 PyObject * obj0 = 0 ;
13417 PyObject * obj1 = 0 ;
13418 PyObject * obj3 = 0 ;
13419 PyObject * obj4 = 0 ;
13420 PyObject * obj5 = 0 ;
13421 PyObject * obj7 = 0 ;
13422 char *kwnames[] = {
13423 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13424 };
13425
13426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
13427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13428 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13429 {
13430 arg4 = wxString_in_helper(obj3);
13431 if (arg4 == NULL) SWIG_fail;
13432 temp4 = True;
13433 }
13434 if (obj4) {
13435 {
13436 arg5 = &temp5;
13437 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13438 }
13439 }
13440 if (obj5) {
13441 {
13442 arg6 = &temp6;
13443 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13444 }
13445 }
13446 if (obj7) {
13447 {
13448 arg8 = wxString_in_helper(obj7);
13449 if (arg8 == NULL) SWIG_fail;
13450 temp8 = True;
13451 }
13452 }
13453 {
13454 PyThreadState* __tstate = wxPyBeginAllowThreads();
13455 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
13456
13457 wxPyEndAllowThreads(__tstate);
13458 if (PyErr_Occurred()) SWIG_fail;
13459 }
13460 resultobj = PyInt_FromLong((long)result);
13461 {
13462 if (temp4)
13463 delete arg4;
13464 }
13465 {
13466 if (temp8)
13467 delete arg8;
13468 }
13469 return resultobj;
13470 fail:
13471 {
13472 if (temp4)
13473 delete arg4;
13474 }
13475 {
13476 if (temp8)
13477 delete arg8;
13478 }
13479 return NULL;
13480 }
13481
13482
13483 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
13484 PyObject *resultobj;
13485 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13486 PyObject * obj0 = 0 ;
13487 char *kwnames[] = {
13488 (char *) "self", NULL
13489 };
13490
13491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
13492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13493 {
13494 PyThreadState* __tstate = wxPyBeginAllowThreads();
13495 (arg1)->Activate();
13496
13497 wxPyEndAllowThreads(__tstate);
13498 if (PyErr_Occurred()) SWIG_fail;
13499 }
13500 Py_INCREF(Py_None); resultobj = Py_None;
13501 return resultobj;
13502 fail:
13503 return NULL;
13504 }
13505
13506
13507 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
13508 PyObject *resultobj;
13509 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13510 bool arg2 ;
13511 PyObject * obj0 = 0 ;
13512 PyObject * obj1 = 0 ;
13513 char *kwnames[] = {
13514 (char *) "self",(char *) "maximize", NULL
13515 };
13516
13517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
13518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13519 arg2 = PyInt_AsLong(obj1) ? true : false;
13520 if (PyErr_Occurred()) SWIG_fail;
13521 {
13522 PyThreadState* __tstate = wxPyBeginAllowThreads();
13523 (arg1)->Maximize(arg2);
13524
13525 wxPyEndAllowThreads(__tstate);
13526 if (PyErr_Occurred()) SWIG_fail;
13527 }
13528 Py_INCREF(Py_None); resultobj = Py_None;
13529 return resultobj;
13530 fail:
13531 return NULL;
13532 }
13533
13534
13535 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
13536 PyObject *resultobj;
13537 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13538 PyObject * obj0 = 0 ;
13539 char *kwnames[] = {
13540 (char *) "self", NULL
13541 };
13542
13543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
13544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13545 {
13546 PyThreadState* __tstate = wxPyBeginAllowThreads();
13547 (arg1)->Restore();
13548
13549 wxPyEndAllowThreads(__tstate);
13550 if (PyErr_Occurred()) SWIG_fail;
13551 }
13552 Py_INCREF(Py_None); resultobj = Py_None;
13553 return resultobj;
13554 fail:
13555 return NULL;
13556 }
13557
13558
13559 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
13560 PyObject *obj;
13561 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13562 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
13563 Py_INCREF(obj);
13564 return Py_BuildValue((char *)"");
13565 }
13566 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13567 PyObject *resultobj;
13568 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13569 long arg2 = (long) 0 ;
13570 wxMDIClientWindow *result;
13571 PyObject * obj0 = 0 ;
13572 char *kwnames[] = {
13573 (char *) "parent",(char *) "style", NULL
13574 };
13575
13576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:new_MDIClientWindow",kwnames,&obj0,&arg2)) goto fail;
13577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13578 {
13579 PyThreadState* __tstate = wxPyBeginAllowThreads();
13580 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
13581
13582 wxPyEndAllowThreads(__tstate);
13583 if (PyErr_Occurred()) SWIG_fail;
13584 }
13585 {
13586 resultobj = wxPyMake_wxObject(result);
13587 }
13588 return resultobj;
13589 fail:
13590 return NULL;
13591 }
13592
13593
13594 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13595 PyObject *resultobj;
13596 wxMDIClientWindow *result;
13597 char *kwnames[] = {
13598 NULL
13599 };
13600
13601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
13602 {
13603 PyThreadState* __tstate = wxPyBeginAllowThreads();
13604 result = (wxMDIClientWindow *)new wxMDIClientWindow();
13605
13606 wxPyEndAllowThreads(__tstate);
13607 if (PyErr_Occurred()) SWIG_fail;
13608 }
13609 {
13610 resultobj = wxPyMake_wxObject(result);
13611 }
13612 return resultobj;
13613 fail:
13614 return NULL;
13615 }
13616
13617
13618 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13619 PyObject *resultobj;
13620 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
13621 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13622 long arg3 = (long) 0 ;
13623 bool result;
13624 PyObject * obj0 = 0 ;
13625 PyObject * obj1 = 0 ;
13626 char *kwnames[] = {
13627 (char *) "self",(char *) "parent",(char *) "style", NULL
13628 };
13629
13630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:MDIClientWindow_Create",kwnames,&obj0,&obj1,&arg3)) goto fail;
13631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIClientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13632 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13633 {
13634 PyThreadState* __tstate = wxPyBeginAllowThreads();
13635 result = (bool)(arg1)->Create(arg2,arg3);
13636
13637 wxPyEndAllowThreads(__tstate);
13638 if (PyErr_Occurred()) SWIG_fail;
13639 }
13640 resultobj = PyInt_FromLong((long)result);
13641 return resultobj;
13642 fail:
13643 return NULL;
13644 }
13645
13646
13647 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
13648 PyObject *obj;
13649 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13650 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
13651 Py_INCREF(obj);
13652 return Py_BuildValue((char *)"");
13653 }
13654 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13655 PyObject *resultobj;
13656 wxWindow *arg1 = (wxWindow *) 0 ;
13657 int arg2 ;
13658 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13659 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13660 wxSize const &arg4_defvalue = wxDefaultSize ;
13661 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13662 long arg5 = (long) 0 ;
13663 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13664 wxString *arg6 = (wxString *) &arg6_defvalue ;
13665 wxPyWindow *result;
13666 wxPoint temp3 ;
13667 wxSize temp4 ;
13668 bool temp6 = False ;
13669 PyObject * obj0 = 0 ;
13670 PyObject * obj2 = 0 ;
13671 PyObject * obj3 = 0 ;
13672 PyObject * obj5 = 0 ;
13673 char *kwnames[] = {
13674 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13675 };
13676
13677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
13678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13679 if (obj2) {
13680 {
13681 arg3 = &temp3;
13682 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13683 }
13684 }
13685 if (obj3) {
13686 {
13687 arg4 = &temp4;
13688 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13689 }
13690 }
13691 if (obj5) {
13692 {
13693 arg6 = wxString_in_helper(obj5);
13694 if (arg6 == NULL) SWIG_fail;
13695 temp6 = True;
13696 }
13697 }
13698 {
13699 PyThreadState* __tstate = wxPyBeginAllowThreads();
13700 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13701
13702 wxPyEndAllowThreads(__tstate);
13703 if (PyErr_Occurred()) SWIG_fail;
13704 }
13705 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyWindow, 1);
13706 {
13707 if (temp6)
13708 delete arg6;
13709 }
13710 return resultobj;
13711 fail:
13712 {
13713 if (temp6)
13714 delete arg6;
13715 }
13716 return NULL;
13717 }
13718
13719
13720 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
13721 PyObject *resultobj;
13722 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13723 PyObject *arg2 = (PyObject *) 0 ;
13724 PyObject *arg3 = (PyObject *) 0 ;
13725 PyObject * obj0 = 0 ;
13726 PyObject * obj1 = 0 ;
13727 PyObject * obj2 = 0 ;
13728 char *kwnames[] = {
13729 (char *) "self",(char *) "self",(char *) "_class", NULL
13730 };
13731
13732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
13733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13734 arg2 = obj1;
13735 arg3 = obj2;
13736 {
13737 PyThreadState* __tstate = wxPyBeginAllowThreads();
13738 (arg1)->_setCallbackInfo(arg2,arg3);
13739
13740 wxPyEndAllowThreads(__tstate);
13741 if (PyErr_Occurred()) SWIG_fail;
13742 }
13743 Py_INCREF(Py_None); resultobj = Py_None;
13744 return resultobj;
13745 fail:
13746 return NULL;
13747 }
13748
13749
13750 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13751 PyObject *resultobj;
13752 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13753 int arg2 ;
13754 int arg3 ;
13755 int arg4 ;
13756 int arg5 ;
13757 PyObject * obj0 = 0 ;
13758 char *kwnames[] = {
13759 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13760 };
13761
13762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyWindow_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13764 {
13765 PyThreadState* __tstate = wxPyBeginAllowThreads();
13766 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
13767
13768 wxPyEndAllowThreads(__tstate);
13769 if (PyErr_Occurred()) SWIG_fail;
13770 }
13771 Py_INCREF(Py_None); resultobj = Py_None;
13772 return resultobj;
13773 fail:
13774 return NULL;
13775 }
13776
13777
13778 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13779 PyObject *resultobj;
13780 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13781 int arg2 ;
13782 int arg3 ;
13783 int arg4 ;
13784 int arg5 ;
13785 int arg6 = (int) wxSIZE_AUTO ;
13786 PyObject * obj0 = 0 ;
13787 char *kwnames[] = {
13788 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
13789 };
13790
13791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyWindow_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
13792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13793 {
13794 PyThreadState* __tstate = wxPyBeginAllowThreads();
13795 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
13796
13797 wxPyEndAllowThreads(__tstate);
13798 if (PyErr_Occurred()) SWIG_fail;
13799 }
13800 Py_INCREF(Py_None); resultobj = Py_None;
13801 return resultobj;
13802 fail:
13803 return NULL;
13804 }
13805
13806
13807 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13808 PyObject *resultobj;
13809 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13810 int arg2 ;
13811 int arg3 ;
13812 PyObject * obj0 = 0 ;
13813 char *kwnames[] = {
13814 (char *) "self",(char *) "width",(char *) "height", NULL
13815 };
13816
13817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13819 {
13820 PyThreadState* __tstate = wxPyBeginAllowThreads();
13821 (arg1)->base_DoSetClientSize(arg2,arg3);
13822
13823 wxPyEndAllowThreads(__tstate);
13824 if (PyErr_Occurred()) SWIG_fail;
13825 }
13826 Py_INCREF(Py_None); resultobj = Py_None;
13827 return resultobj;
13828 fail:
13829 return NULL;
13830 }
13831
13832
13833 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13834 PyObject *resultobj;
13835 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13836 int arg2 ;
13837 int arg3 ;
13838 PyObject * obj0 = 0 ;
13839 char *kwnames[] = {
13840 (char *) "self",(char *) "x",(char *) "y", NULL
13841 };
13842
13843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13845 {
13846 PyThreadState* __tstate = wxPyBeginAllowThreads();
13847 (arg1)->base_DoSetVirtualSize(arg2,arg3);
13848
13849 wxPyEndAllowThreads(__tstate);
13850 if (PyErr_Occurred()) SWIG_fail;
13851 }
13852 Py_INCREF(Py_None); resultobj = Py_None;
13853 return resultobj;
13854 fail:
13855 return NULL;
13856 }
13857
13858
13859 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13860 PyObject *resultobj;
13861 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13862 int *arg2 = (int *) 0 ;
13863 int *arg3 = (int *) 0 ;
13864 int temp2 ;
13865 int temp3 ;
13866 PyObject * obj0 = 0 ;
13867 char *kwnames[] = {
13868 (char *) "self", NULL
13869 };
13870
13871 arg2 = &temp2;
13872 arg3 = &temp3;
13873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
13874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13875 {
13876 PyThreadState* __tstate = wxPyBeginAllowThreads();
13877 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
13878
13879 wxPyEndAllowThreads(__tstate);
13880 if (PyErr_Occurred()) SWIG_fail;
13881 }
13882 Py_INCREF(Py_None); resultobj = Py_None;
13883 {
13884 PyObject *o = PyInt_FromLong((long) (*arg2));
13885 resultobj = t_output_helper(resultobj,o);
13886 }
13887 {
13888 PyObject *o = PyInt_FromLong((long) (*arg3));
13889 resultobj = t_output_helper(resultobj,o);
13890 }
13891 return resultobj;
13892 fail:
13893 return NULL;
13894 }
13895
13896
13897 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13898 PyObject *resultobj;
13899 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13900 int *arg2 = (int *) 0 ;
13901 int *arg3 = (int *) 0 ;
13902 int temp2 ;
13903 int temp3 ;
13904 PyObject * obj0 = 0 ;
13905 char *kwnames[] = {
13906 (char *) "self", NULL
13907 };
13908
13909 arg2 = &temp2;
13910 arg3 = &temp3;
13911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
13912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13913 {
13914 PyThreadState* __tstate = wxPyBeginAllowThreads();
13915 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
13916
13917 wxPyEndAllowThreads(__tstate);
13918 if (PyErr_Occurred()) SWIG_fail;
13919 }
13920 Py_INCREF(Py_None); resultobj = Py_None;
13921 {
13922 PyObject *o = PyInt_FromLong((long) (*arg2));
13923 resultobj = t_output_helper(resultobj,o);
13924 }
13925 {
13926 PyObject *o = PyInt_FromLong((long) (*arg3));
13927 resultobj = t_output_helper(resultobj,o);
13928 }
13929 return resultobj;
13930 fail:
13931 return NULL;
13932 }
13933
13934
13935 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13936 PyObject *resultobj;
13937 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13938 int *arg2 = (int *) 0 ;
13939 int *arg3 = (int *) 0 ;
13940 int temp2 ;
13941 int temp3 ;
13942 PyObject * obj0 = 0 ;
13943 char *kwnames[] = {
13944 (char *) "self", NULL
13945 };
13946
13947 arg2 = &temp2;
13948 arg3 = &temp3;
13949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
13950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13951 {
13952 PyThreadState* __tstate = wxPyBeginAllowThreads();
13953 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
13954
13955 wxPyEndAllowThreads(__tstate);
13956 if (PyErr_Occurred()) SWIG_fail;
13957 }
13958 Py_INCREF(Py_None); resultobj = Py_None;
13959 {
13960 PyObject *o = PyInt_FromLong((long) (*arg2));
13961 resultobj = t_output_helper(resultobj,o);
13962 }
13963 {
13964 PyObject *o = PyInt_FromLong((long) (*arg3));
13965 resultobj = t_output_helper(resultobj,o);
13966 }
13967 return resultobj;
13968 fail:
13969 return NULL;
13970 }
13971
13972
13973 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13974 PyObject *resultobj;
13975 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13976 wxSize result;
13977 PyObject * obj0 = 0 ;
13978 char *kwnames[] = {
13979 (char *) "self", NULL
13980 };
13981
13982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
13983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13984 {
13985 PyThreadState* __tstate = wxPyBeginAllowThreads();
13986 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
13987
13988 wxPyEndAllowThreads(__tstate);
13989 if (PyErr_Occurred()) SWIG_fail;
13990 }
13991 {
13992 wxSize * resultptr;
13993 resultptr = new wxSize((wxSize &) result);
13994 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13995 }
13996 return resultobj;
13997 fail:
13998 return NULL;
13999 }
14000
14001
14002 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14003 PyObject *resultobj;
14004 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14005 wxSize result;
14006 PyObject * obj0 = 0 ;
14007 char *kwnames[] = {
14008 (char *) "self", NULL
14009 };
14010
14011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
14012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14013 {
14014 PyThreadState* __tstate = wxPyBeginAllowThreads();
14015 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
14016
14017 wxPyEndAllowThreads(__tstate);
14018 if (PyErr_Occurred()) SWIG_fail;
14019 }
14020 {
14021 wxSize * resultptr;
14022 resultptr = new wxSize((wxSize &) result);
14023 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14024 }
14025 return resultobj;
14026 fail:
14027 return NULL;
14028 }
14029
14030
14031 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14032 PyObject *resultobj;
14033 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14034 PyObject * obj0 = 0 ;
14035 char *kwnames[] = {
14036 (char *) "self", NULL
14037 };
14038
14039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",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 (arg1)->base_InitDialog();
14044
14045 wxPyEndAllowThreads(__tstate);
14046 if (PyErr_Occurred()) SWIG_fail;
14047 }
14048 Py_INCREF(Py_None); resultobj = Py_None;
14049 return resultobj;
14050 fail:
14051 return NULL;
14052 }
14053
14054
14055 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14056 PyObject *resultobj;
14057 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14058 bool result;
14059 PyObject * obj0 = 0 ;
14060 char *kwnames[] = {
14061 (char *) "self", NULL
14062 };
14063
14064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
14065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14066 {
14067 PyThreadState* __tstate = wxPyBeginAllowThreads();
14068 result = (bool)(arg1)->base_TransferDataToWindow();
14069
14070 wxPyEndAllowThreads(__tstate);
14071 if (PyErr_Occurred()) SWIG_fail;
14072 }
14073 resultobj = PyInt_FromLong((long)result);
14074 return resultobj;
14075 fail:
14076 return NULL;
14077 }
14078
14079
14080 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14081 PyObject *resultobj;
14082 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14083 bool result;
14084 PyObject * obj0 = 0 ;
14085 char *kwnames[] = {
14086 (char *) "self", NULL
14087 };
14088
14089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
14090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14091 {
14092 PyThreadState* __tstate = wxPyBeginAllowThreads();
14093 result = (bool)(arg1)->base_TransferDataFromWindow();
14094
14095 wxPyEndAllowThreads(__tstate);
14096 if (PyErr_Occurred()) SWIG_fail;
14097 }
14098 resultobj = PyInt_FromLong((long)result);
14099 return resultobj;
14100 fail:
14101 return NULL;
14102 }
14103
14104
14105 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
14106 PyObject *resultobj;
14107 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14108 bool result;
14109 PyObject * obj0 = 0 ;
14110 char *kwnames[] = {
14111 (char *) "self", NULL
14112 };
14113
14114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
14115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14116 {
14117 PyThreadState* __tstate = wxPyBeginAllowThreads();
14118 result = (bool)(arg1)->base_Validate();
14119
14120 wxPyEndAllowThreads(__tstate);
14121 if (PyErr_Occurred()) SWIG_fail;
14122 }
14123 resultobj = PyInt_FromLong((long)result);
14124 return resultobj;
14125 fail:
14126 return NULL;
14127 }
14128
14129
14130 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
14131 PyObject *resultobj;
14132 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14133 bool result;
14134 PyObject * obj0 = 0 ;
14135 char *kwnames[] = {
14136 (char *) "self", NULL
14137 };
14138
14139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",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 = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
14144
14145 wxPyEndAllowThreads(__tstate);
14146 if (PyErr_Occurred()) SWIG_fail;
14147 }
14148 resultobj = PyInt_FromLong((long)result);
14149 return resultobj;
14150 fail:
14151 return NULL;
14152 }
14153
14154
14155 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
14156 PyObject *resultobj;
14157 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14158 bool result;
14159 PyObject * obj0 = 0 ;
14160 char *kwnames[] = {
14161 (char *) "self", NULL
14162 };
14163
14164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
14165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14166 {
14167 PyThreadState* __tstate = wxPyBeginAllowThreads();
14168 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
14169
14170 wxPyEndAllowThreads(__tstate);
14171 if (PyErr_Occurred()) SWIG_fail;
14172 }
14173 resultobj = PyInt_FromLong((long)result);
14174 return resultobj;
14175 fail:
14176 return NULL;
14177 }
14178
14179
14180 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14181 PyObject *resultobj;
14182 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14183 wxSize result;
14184 PyObject * obj0 = 0 ;
14185 char *kwnames[] = {
14186 (char *) "self", NULL
14187 };
14188
14189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
14190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14191 {
14192 PyThreadState* __tstate = wxPyBeginAllowThreads();
14193 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
14194
14195 wxPyEndAllowThreads(__tstate);
14196 if (PyErr_Occurred()) SWIG_fail;
14197 }
14198 {
14199 wxSize * resultptr;
14200 resultptr = new wxSize((wxSize &) result);
14201 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14202 }
14203 return resultobj;
14204 fail:
14205 return NULL;
14206 }
14207
14208
14209 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14210 PyObject *resultobj;
14211 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14212 wxWindow *arg2 = (wxWindow *) 0 ;
14213 PyObject * obj0 = 0 ;
14214 PyObject * obj1 = 0 ;
14215 char *kwnames[] = {
14216 (char *) "self",(char *) "child", NULL
14217 };
14218
14219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
14220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14221 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14222 {
14223 PyThreadState* __tstate = wxPyBeginAllowThreads();
14224 (arg1)->base_AddChild(arg2);
14225
14226 wxPyEndAllowThreads(__tstate);
14227 if (PyErr_Occurred()) SWIG_fail;
14228 }
14229 Py_INCREF(Py_None); resultobj = Py_None;
14230 return resultobj;
14231 fail:
14232 return NULL;
14233 }
14234
14235
14236 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14237 PyObject *resultobj;
14238 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14239 wxWindow *arg2 = (wxWindow *) 0 ;
14240 PyObject * obj0 = 0 ;
14241 PyObject * obj1 = 0 ;
14242 char *kwnames[] = {
14243 (char *) "self",(char *) "child", NULL
14244 };
14245
14246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
14247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14248 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14249 {
14250 PyThreadState* __tstate = wxPyBeginAllowThreads();
14251 (arg1)->base_RemoveChild(arg2);
14252
14253 wxPyEndAllowThreads(__tstate);
14254 if (PyErr_Occurred()) SWIG_fail;
14255 }
14256 Py_INCREF(Py_None); resultobj = Py_None;
14257 return resultobj;
14258 fail:
14259 return NULL;
14260 }
14261
14262
14263 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
14264 PyObject *obj;
14265 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14266 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
14267 Py_INCREF(obj);
14268 return Py_BuildValue((char *)"");
14269 }
14270 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
14271 PyObject *resultobj;
14272 wxWindow *arg1 = (wxWindow *) 0 ;
14273 int arg2 ;
14274 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14275 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14276 wxSize const &arg4_defvalue = wxDefaultSize ;
14277 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14278 long arg5 = (long) 0 ;
14279 wxString const &arg6_defvalue = wxPyPanelNameStr ;
14280 wxString *arg6 = (wxString *) &arg6_defvalue ;
14281 wxPyPanel *result;
14282 wxPoint temp3 ;
14283 wxSize temp4 ;
14284 bool temp6 = False ;
14285 PyObject * obj0 = 0 ;
14286 PyObject * obj2 = 0 ;
14287 PyObject * obj3 = 0 ;
14288 PyObject * obj5 = 0 ;
14289 char *kwnames[] = {
14290 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14291 };
14292
14293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyPanel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
14294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14295 if (obj2) {
14296 {
14297 arg3 = &temp3;
14298 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14299 }
14300 }
14301 if (obj3) {
14302 {
14303 arg4 = &temp4;
14304 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14305 }
14306 }
14307 if (obj5) {
14308 {
14309 arg6 = wxString_in_helper(obj5);
14310 if (arg6 == NULL) SWIG_fail;
14311 temp6 = True;
14312 }
14313 }
14314 {
14315 PyThreadState* __tstate = wxPyBeginAllowThreads();
14316 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14317
14318 wxPyEndAllowThreads(__tstate);
14319 if (PyErr_Occurred()) SWIG_fail;
14320 }
14321 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPanel, 1);
14322 {
14323 if (temp6)
14324 delete arg6;
14325 }
14326 return resultobj;
14327 fail:
14328 {
14329 if (temp6)
14330 delete arg6;
14331 }
14332 return NULL;
14333 }
14334
14335
14336 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14337 PyObject *resultobj;
14338 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14339 PyObject *arg2 = (PyObject *) 0 ;
14340 PyObject *arg3 = (PyObject *) 0 ;
14341 PyObject * obj0 = 0 ;
14342 PyObject * obj1 = 0 ;
14343 PyObject * obj2 = 0 ;
14344 char *kwnames[] = {
14345 (char *) "self",(char *) "self",(char *) "_class", NULL
14346 };
14347
14348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14350 arg2 = obj1;
14351 arg3 = obj2;
14352 {
14353 PyThreadState* __tstate = wxPyBeginAllowThreads();
14354 (arg1)->_setCallbackInfo(arg2,arg3);
14355
14356 wxPyEndAllowThreads(__tstate);
14357 if (PyErr_Occurred()) SWIG_fail;
14358 }
14359 Py_INCREF(Py_None); resultobj = Py_None;
14360 return resultobj;
14361 fail:
14362 return NULL;
14363 }
14364
14365
14366 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14367 PyObject *resultobj;
14368 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14369 int arg2 ;
14370 int arg3 ;
14371 int arg4 ;
14372 int arg5 ;
14373 PyObject * obj0 = 0 ;
14374 char *kwnames[] = {
14375 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14376 };
14377
14378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyPanel_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14380 {
14381 PyThreadState* __tstate = wxPyBeginAllowThreads();
14382 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
14383
14384 wxPyEndAllowThreads(__tstate);
14385 if (PyErr_Occurred()) SWIG_fail;
14386 }
14387 Py_INCREF(Py_None); resultobj = Py_None;
14388 return resultobj;
14389 fail:
14390 return NULL;
14391 }
14392
14393
14394 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14395 PyObject *resultobj;
14396 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14397 int arg2 ;
14398 int arg3 ;
14399 int arg4 ;
14400 int arg5 ;
14401 int arg6 = (int) wxSIZE_AUTO ;
14402 PyObject * obj0 = 0 ;
14403 char *kwnames[] = {
14404 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14405 };
14406
14407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyPanel_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
14408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14409 {
14410 PyThreadState* __tstate = wxPyBeginAllowThreads();
14411 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
14412
14413 wxPyEndAllowThreads(__tstate);
14414 if (PyErr_Occurred()) SWIG_fail;
14415 }
14416 Py_INCREF(Py_None); resultobj = Py_None;
14417 return resultobj;
14418 fail:
14419 return NULL;
14420 }
14421
14422
14423 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14424 PyObject *resultobj;
14425 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14426 int arg2 ;
14427 int arg3 ;
14428 PyObject * obj0 = 0 ;
14429 char *kwnames[] = {
14430 (char *) "self",(char *) "width",(char *) "height", NULL
14431 };
14432
14433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14435 {
14436 PyThreadState* __tstate = wxPyBeginAllowThreads();
14437 (arg1)->base_DoSetClientSize(arg2,arg3);
14438
14439 wxPyEndAllowThreads(__tstate);
14440 if (PyErr_Occurred()) SWIG_fail;
14441 }
14442 Py_INCREF(Py_None); resultobj = Py_None;
14443 return resultobj;
14444 fail:
14445 return NULL;
14446 }
14447
14448
14449 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14450 PyObject *resultobj;
14451 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14452 int arg2 ;
14453 int arg3 ;
14454 PyObject * obj0 = 0 ;
14455 char *kwnames[] = {
14456 (char *) "self",(char *) "x",(char *) "y", NULL
14457 };
14458
14459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14461 {
14462 PyThreadState* __tstate = wxPyBeginAllowThreads();
14463 (arg1)->base_DoSetVirtualSize(arg2,arg3);
14464
14465 wxPyEndAllowThreads(__tstate);
14466 if (PyErr_Occurred()) SWIG_fail;
14467 }
14468 Py_INCREF(Py_None); resultobj = Py_None;
14469 return resultobj;
14470 fail:
14471 return NULL;
14472 }
14473
14474
14475 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14476 PyObject *resultobj;
14477 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14478 int *arg2 = (int *) 0 ;
14479 int *arg3 = (int *) 0 ;
14480 int temp2 ;
14481 int temp3 ;
14482 PyObject * obj0 = 0 ;
14483 char *kwnames[] = {
14484 (char *) "self", NULL
14485 };
14486
14487 arg2 = &temp2;
14488 arg3 = &temp3;
14489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
14490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14491 {
14492 PyThreadState* __tstate = wxPyBeginAllowThreads();
14493 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
14494
14495 wxPyEndAllowThreads(__tstate);
14496 if (PyErr_Occurred()) SWIG_fail;
14497 }
14498 Py_INCREF(Py_None); resultobj = Py_None;
14499 {
14500 PyObject *o = PyInt_FromLong((long) (*arg2));
14501 resultobj = t_output_helper(resultobj,o);
14502 }
14503 {
14504 PyObject *o = PyInt_FromLong((long) (*arg3));
14505 resultobj = t_output_helper(resultobj,o);
14506 }
14507 return resultobj;
14508 fail:
14509 return NULL;
14510 }
14511
14512
14513 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14514 PyObject *resultobj;
14515 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14516 int *arg2 = (int *) 0 ;
14517 int *arg3 = (int *) 0 ;
14518 int temp2 ;
14519 int temp3 ;
14520 PyObject * obj0 = 0 ;
14521 char *kwnames[] = {
14522 (char *) "self", NULL
14523 };
14524
14525 arg2 = &temp2;
14526 arg3 = &temp3;
14527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
14528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14529 {
14530 PyThreadState* __tstate = wxPyBeginAllowThreads();
14531 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
14532
14533 wxPyEndAllowThreads(__tstate);
14534 if (PyErr_Occurred()) SWIG_fail;
14535 }
14536 Py_INCREF(Py_None); resultobj = Py_None;
14537 {
14538 PyObject *o = PyInt_FromLong((long) (*arg2));
14539 resultobj = t_output_helper(resultobj,o);
14540 }
14541 {
14542 PyObject *o = PyInt_FromLong((long) (*arg3));
14543 resultobj = t_output_helper(resultobj,o);
14544 }
14545 return resultobj;
14546 fail:
14547 return NULL;
14548 }
14549
14550
14551 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14552 PyObject *resultobj;
14553 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14554 int *arg2 = (int *) 0 ;
14555 int *arg3 = (int *) 0 ;
14556 int temp2 ;
14557 int temp3 ;
14558 PyObject * obj0 = 0 ;
14559 char *kwnames[] = {
14560 (char *) "self", NULL
14561 };
14562
14563 arg2 = &temp2;
14564 arg3 = &temp3;
14565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
14566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14567 {
14568 PyThreadState* __tstate = wxPyBeginAllowThreads();
14569 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
14570
14571 wxPyEndAllowThreads(__tstate);
14572 if (PyErr_Occurred()) SWIG_fail;
14573 }
14574 Py_INCREF(Py_None); resultobj = Py_None;
14575 {
14576 PyObject *o = PyInt_FromLong((long) (*arg2));
14577 resultobj = t_output_helper(resultobj,o);
14578 }
14579 {
14580 PyObject *o = PyInt_FromLong((long) (*arg3));
14581 resultobj = t_output_helper(resultobj,o);
14582 }
14583 return resultobj;
14584 fail:
14585 return NULL;
14586 }
14587
14588
14589 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14590 PyObject *resultobj;
14591 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14592 wxSize result;
14593 PyObject * obj0 = 0 ;
14594 char *kwnames[] = {
14595 (char *) "self", NULL
14596 };
14597
14598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
14599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14600 {
14601 PyThreadState* __tstate = wxPyBeginAllowThreads();
14602 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
14603
14604 wxPyEndAllowThreads(__tstate);
14605 if (PyErr_Occurred()) SWIG_fail;
14606 }
14607 {
14608 wxSize * resultptr;
14609 resultptr = new wxSize((wxSize &) result);
14610 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14611 }
14612 return resultobj;
14613 fail:
14614 return NULL;
14615 }
14616
14617
14618 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14619 PyObject *resultobj;
14620 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14621 wxSize result;
14622 PyObject * obj0 = 0 ;
14623 char *kwnames[] = {
14624 (char *) "self", NULL
14625 };
14626
14627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
14628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14629 {
14630 PyThreadState* __tstate = wxPyBeginAllowThreads();
14631 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
14632
14633 wxPyEndAllowThreads(__tstate);
14634 if (PyErr_Occurred()) SWIG_fail;
14635 }
14636 {
14637 wxSize * resultptr;
14638 resultptr = new wxSize((wxSize &) result);
14639 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14640 }
14641 return resultobj;
14642 fail:
14643 return NULL;
14644 }
14645
14646
14647 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14648 PyObject *resultobj;
14649 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14650 PyObject * obj0 = 0 ;
14651 char *kwnames[] = {
14652 (char *) "self", NULL
14653 };
14654
14655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",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 (arg1)->base_InitDialog();
14660
14661 wxPyEndAllowThreads(__tstate);
14662 if (PyErr_Occurred()) SWIG_fail;
14663 }
14664 Py_INCREF(Py_None); resultobj = Py_None;
14665 return resultobj;
14666 fail:
14667 return NULL;
14668 }
14669
14670
14671 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14672 PyObject *resultobj;
14673 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14674 bool result;
14675 PyObject * obj0 = 0 ;
14676 char *kwnames[] = {
14677 (char *) "self", NULL
14678 };
14679
14680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
14681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14682 {
14683 PyThreadState* __tstate = wxPyBeginAllowThreads();
14684 result = (bool)(arg1)->base_TransferDataToWindow();
14685
14686 wxPyEndAllowThreads(__tstate);
14687 if (PyErr_Occurred()) SWIG_fail;
14688 }
14689 resultobj = PyInt_FromLong((long)result);
14690 return resultobj;
14691 fail:
14692 return NULL;
14693 }
14694
14695
14696 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14697 PyObject *resultobj;
14698 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14699 bool result;
14700 PyObject * obj0 = 0 ;
14701 char *kwnames[] = {
14702 (char *) "self", NULL
14703 };
14704
14705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
14706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14707 {
14708 PyThreadState* __tstate = wxPyBeginAllowThreads();
14709 result = (bool)(arg1)->base_TransferDataFromWindow();
14710
14711 wxPyEndAllowThreads(__tstate);
14712 if (PyErr_Occurred()) SWIG_fail;
14713 }
14714 resultobj = PyInt_FromLong((long)result);
14715 return resultobj;
14716 fail:
14717 return NULL;
14718 }
14719
14720
14721 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
14722 PyObject *resultobj;
14723 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14724 bool result;
14725 PyObject * obj0 = 0 ;
14726 char *kwnames[] = {
14727 (char *) "self", NULL
14728 };
14729
14730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
14731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14732 {
14733 PyThreadState* __tstate = wxPyBeginAllowThreads();
14734 result = (bool)(arg1)->base_Validate();
14735
14736 wxPyEndAllowThreads(__tstate);
14737 if (PyErr_Occurred()) SWIG_fail;
14738 }
14739 resultobj = PyInt_FromLong((long)result);
14740 return resultobj;
14741 fail:
14742 return NULL;
14743 }
14744
14745
14746 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
14747 PyObject *resultobj;
14748 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14749 bool result;
14750 PyObject * obj0 = 0 ;
14751 char *kwnames[] = {
14752 (char *) "self", NULL
14753 };
14754
14755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",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 = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
14760
14761 wxPyEndAllowThreads(__tstate);
14762 if (PyErr_Occurred()) SWIG_fail;
14763 }
14764 resultobj = PyInt_FromLong((long)result);
14765 return resultobj;
14766 fail:
14767 return NULL;
14768 }
14769
14770
14771 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
14772 PyObject *resultobj;
14773 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14774 bool result;
14775 PyObject * obj0 = 0 ;
14776 char *kwnames[] = {
14777 (char *) "self", NULL
14778 };
14779
14780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
14781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14782 {
14783 PyThreadState* __tstate = wxPyBeginAllowThreads();
14784 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
14785
14786 wxPyEndAllowThreads(__tstate);
14787 if (PyErr_Occurred()) SWIG_fail;
14788 }
14789 resultobj = PyInt_FromLong((long)result);
14790 return resultobj;
14791 fail:
14792 return NULL;
14793 }
14794
14795
14796 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14797 PyObject *resultobj;
14798 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14799 wxSize result;
14800 PyObject * obj0 = 0 ;
14801 char *kwnames[] = {
14802 (char *) "self", NULL
14803 };
14804
14805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
14806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14807 {
14808 PyThreadState* __tstate = wxPyBeginAllowThreads();
14809 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
14810
14811 wxPyEndAllowThreads(__tstate);
14812 if (PyErr_Occurred()) SWIG_fail;
14813 }
14814 {
14815 wxSize * resultptr;
14816 resultptr = new wxSize((wxSize &) result);
14817 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14818 }
14819 return resultobj;
14820 fail:
14821 return NULL;
14822 }
14823
14824
14825 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14826 PyObject *resultobj;
14827 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14828 wxWindow *arg2 = (wxWindow *) 0 ;
14829 PyObject * obj0 = 0 ;
14830 PyObject * obj1 = 0 ;
14831 char *kwnames[] = {
14832 (char *) "self",(char *) "child", NULL
14833 };
14834
14835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
14836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14837 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14838 {
14839 PyThreadState* __tstate = wxPyBeginAllowThreads();
14840 (arg1)->base_AddChild(arg2);
14841
14842 wxPyEndAllowThreads(__tstate);
14843 if (PyErr_Occurred()) SWIG_fail;
14844 }
14845 Py_INCREF(Py_None); resultobj = Py_None;
14846 return resultobj;
14847 fail:
14848 return NULL;
14849 }
14850
14851
14852 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14853 PyObject *resultobj;
14854 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14855 wxWindow *arg2 = (wxWindow *) 0 ;
14856 PyObject * obj0 = 0 ;
14857 PyObject * obj1 = 0 ;
14858 char *kwnames[] = {
14859 (char *) "self",(char *) "child", NULL
14860 };
14861
14862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
14863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14864 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14865 {
14866 PyThreadState* __tstate = wxPyBeginAllowThreads();
14867 (arg1)->base_RemoveChild(arg2);
14868
14869 wxPyEndAllowThreads(__tstate);
14870 if (PyErr_Occurred()) SWIG_fail;
14871 }
14872 Py_INCREF(Py_None); resultobj = Py_None;
14873 return resultobj;
14874 fail:
14875 return NULL;
14876 }
14877
14878
14879 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
14880 PyObject *obj;
14881 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14882 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
14883 Py_INCREF(obj);
14884 return Py_BuildValue((char *)"");
14885 }
14886 static int _wrap_PrintoutTitleStr_set(PyObject *_val) {
14887 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
14888 return 1;
14889 }
14890
14891
14892 static PyObject *_wrap_PrintoutTitleStr_get() {
14893 PyObject *pyobj;
14894
14895 {
14896 #if wxUSE_UNICODE
14897 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
14898 #else
14899 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
14900 #endif
14901 }
14902 return pyobj;
14903 }
14904
14905
14906 static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) {
14907 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
14908 return 1;
14909 }
14910
14911
14912 static PyObject *_wrap_PreviewCanvasNameStr_get() {
14913 PyObject *pyobj;
14914
14915 {
14916 #if wxUSE_UNICODE
14917 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
14918 #else
14919 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
14920 #endif
14921 }
14922 return pyobj;
14923 }
14924
14925
14926 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
14927 PyObject *resultobj;
14928 wxPrintData *result;
14929 char *kwnames[] = {
14930 NULL
14931 };
14932
14933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
14934 {
14935 PyThreadState* __tstate = wxPyBeginAllowThreads();
14936 result = (wxPrintData *)new wxPrintData();
14937
14938 wxPyEndAllowThreads(__tstate);
14939 if (PyErr_Occurred()) SWIG_fail;
14940 }
14941 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 1);
14942 return resultobj;
14943 fail:
14944 return NULL;
14945 }
14946
14947
14948 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
14949 PyObject *resultobj;
14950 wxPrintData *arg1 = (wxPrintData *) 0 ;
14951 PyObject * obj0 = 0 ;
14952 char *kwnames[] = {
14953 (char *) "self", NULL
14954 };
14955
14956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
14957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14958 {
14959 PyThreadState* __tstate = wxPyBeginAllowThreads();
14960 delete arg1;
14961
14962 wxPyEndAllowThreads(__tstate);
14963 if (PyErr_Occurred()) SWIG_fail;
14964 }
14965 Py_INCREF(Py_None); resultobj = Py_None;
14966 return resultobj;
14967 fail:
14968 return NULL;
14969 }
14970
14971
14972 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
14973 PyObject *resultobj;
14974 wxPrintData *arg1 = (wxPrintData *) 0 ;
14975 int result;
14976 PyObject * obj0 = 0 ;
14977 char *kwnames[] = {
14978 (char *) "self", NULL
14979 };
14980
14981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
14982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14983 {
14984 PyThreadState* __tstate = wxPyBeginAllowThreads();
14985 result = (int)(arg1)->GetNoCopies();
14986
14987 wxPyEndAllowThreads(__tstate);
14988 if (PyErr_Occurred()) SWIG_fail;
14989 }
14990 resultobj = PyInt_FromLong((long)result);
14991 return resultobj;
14992 fail:
14993 return NULL;
14994 }
14995
14996
14997 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
14998 PyObject *resultobj;
14999 wxPrintData *arg1 = (wxPrintData *) 0 ;
15000 bool result;
15001 PyObject * obj0 = 0 ;
15002 char *kwnames[] = {
15003 (char *) "self", NULL
15004 };
15005
15006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
15007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15008 {
15009 PyThreadState* __tstate = wxPyBeginAllowThreads();
15010 result = (bool)(arg1)->GetCollate();
15011
15012 wxPyEndAllowThreads(__tstate);
15013 if (PyErr_Occurred()) SWIG_fail;
15014 }
15015 resultobj = PyInt_FromLong((long)result);
15016 return resultobj;
15017 fail:
15018 return NULL;
15019 }
15020
15021
15022 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
15023 PyObject *resultobj;
15024 wxPrintData *arg1 = (wxPrintData *) 0 ;
15025 int result;
15026 PyObject * obj0 = 0 ;
15027 char *kwnames[] = {
15028 (char *) "self", NULL
15029 };
15030
15031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
15032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15033 {
15034 PyThreadState* __tstate = wxPyBeginAllowThreads();
15035 result = (int)(arg1)->GetOrientation();
15036
15037 wxPyEndAllowThreads(__tstate);
15038 if (PyErr_Occurred()) SWIG_fail;
15039 }
15040 resultobj = PyInt_FromLong((long)result);
15041 return resultobj;
15042 fail:
15043 return NULL;
15044 }
15045
15046
15047 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
15048 PyObject *resultobj;
15049 wxPrintData *arg1 = (wxPrintData *) 0 ;
15050 bool result;
15051 PyObject * obj0 = 0 ;
15052 char *kwnames[] = {
15053 (char *) "self", NULL
15054 };
15055
15056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
15057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15058 {
15059 PyThreadState* __tstate = wxPyBeginAllowThreads();
15060 result = (bool)(arg1)->Ok();
15061
15062 wxPyEndAllowThreads(__tstate);
15063 if (PyErr_Occurred()) SWIG_fail;
15064 }
15065 resultobj = PyInt_FromLong((long)result);
15066 return resultobj;
15067 fail:
15068 return NULL;
15069 }
15070
15071
15072 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
15073 PyObject *resultobj;
15074 wxPrintData *arg1 = (wxPrintData *) 0 ;
15075 wxString *result;
15076 PyObject * obj0 = 0 ;
15077 char *kwnames[] = {
15078 (char *) "self", NULL
15079 };
15080
15081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
15082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15083 {
15084 PyThreadState* __tstate = wxPyBeginAllowThreads();
15085 {
15086 wxString const &_result_ref = (arg1)->GetPrinterName();
15087 result = (wxString *) &_result_ref;
15088 }
15089
15090 wxPyEndAllowThreads(__tstate);
15091 if (PyErr_Occurred()) SWIG_fail;
15092 }
15093 {
15094 #if wxUSE_UNICODE
15095 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15096 #else
15097 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15098 #endif
15099 }
15100 return resultobj;
15101 fail:
15102 return NULL;
15103 }
15104
15105
15106 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15107 PyObject *resultobj;
15108 wxPrintData *arg1 = (wxPrintData *) 0 ;
15109 bool result;
15110 PyObject * obj0 = 0 ;
15111 char *kwnames[] = {
15112 (char *) "self", NULL
15113 };
15114
15115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
15116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15117 {
15118 PyThreadState* __tstate = wxPyBeginAllowThreads();
15119 result = (bool)(arg1)->GetColour();
15120
15121 wxPyEndAllowThreads(__tstate);
15122 if (PyErr_Occurred()) SWIG_fail;
15123 }
15124 resultobj = PyInt_FromLong((long)result);
15125 return resultobj;
15126 fail:
15127 return NULL;
15128 }
15129
15130
15131 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
15132 PyObject *resultobj;
15133 wxPrintData *arg1 = (wxPrintData *) 0 ;
15134 int result;
15135 PyObject * obj0 = 0 ;
15136 char *kwnames[] = {
15137 (char *) "self", NULL
15138 };
15139
15140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
15141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15142 {
15143 PyThreadState* __tstate = wxPyBeginAllowThreads();
15144 result = (int)(arg1)->GetDuplex();
15145
15146 wxPyEndAllowThreads(__tstate);
15147 if (PyErr_Occurred()) SWIG_fail;
15148 }
15149 resultobj = PyInt_FromLong((long)result);
15150 return resultobj;
15151 fail:
15152 return NULL;
15153 }
15154
15155
15156 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
15157 PyObject *resultobj;
15158 wxPrintData *arg1 = (wxPrintData *) 0 ;
15159 int result;
15160 PyObject * obj0 = 0 ;
15161 char *kwnames[] = {
15162 (char *) "self", NULL
15163 };
15164
15165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
15166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15167 {
15168 PyThreadState* __tstate = wxPyBeginAllowThreads();
15169 result = (int)(arg1)->GetPaperId();
15170
15171 wxPyEndAllowThreads(__tstate);
15172 if (PyErr_Occurred()) SWIG_fail;
15173 }
15174 resultobj = PyInt_FromLong((long)result);
15175 return resultobj;
15176 fail:
15177 return NULL;
15178 }
15179
15180
15181 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15182 PyObject *resultobj;
15183 wxPrintData *arg1 = (wxPrintData *) 0 ;
15184 wxSize *result;
15185 PyObject * obj0 = 0 ;
15186 char *kwnames[] = {
15187 (char *) "self", NULL
15188 };
15189
15190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
15191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15192 {
15193 PyThreadState* __tstate = wxPyBeginAllowThreads();
15194 {
15195 wxSize const &_result_ref = (arg1)->GetPaperSize();
15196 result = (wxSize *) &_result_ref;
15197 }
15198
15199 wxPyEndAllowThreads(__tstate);
15200 if (PyErr_Occurred()) SWIG_fail;
15201 }
15202 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
15203 return resultobj;
15204 fail:
15205 return NULL;
15206 }
15207
15208
15209 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
15210 PyObject *resultobj;
15211 wxPrintData *arg1 = (wxPrintData *) 0 ;
15212 int result;
15213 PyObject * obj0 = 0 ;
15214 char *kwnames[] = {
15215 (char *) "self", NULL
15216 };
15217
15218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
15219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15220 {
15221 PyThreadState* __tstate = wxPyBeginAllowThreads();
15222 result = (int)(arg1)->GetQuality();
15223
15224 wxPyEndAllowThreads(__tstate);
15225 if (PyErr_Occurred()) SWIG_fail;
15226 }
15227 resultobj = PyInt_FromLong((long)result);
15228 return resultobj;
15229 fail:
15230 return NULL;
15231 }
15232
15233
15234 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
15235 PyObject *resultobj;
15236 wxPrintData *arg1 = (wxPrintData *) 0 ;
15237 int arg2 ;
15238 PyObject * obj0 = 0 ;
15239 char *kwnames[] = {
15240 (char *) "self",(char *) "v", NULL
15241 };
15242
15243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetNoCopies",kwnames,&obj0,&arg2)) 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 (arg1)->SetNoCopies(arg2);
15248
15249 wxPyEndAllowThreads(__tstate);
15250 if (PyErr_Occurred()) SWIG_fail;
15251 }
15252 Py_INCREF(Py_None); resultobj = Py_None;
15253 return resultobj;
15254 fail:
15255 return NULL;
15256 }
15257
15258
15259 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
15260 PyObject *resultobj;
15261 wxPrintData *arg1 = (wxPrintData *) 0 ;
15262 bool arg2 ;
15263 PyObject * obj0 = 0 ;
15264 PyObject * obj1 = 0 ;
15265 char *kwnames[] = {
15266 (char *) "self",(char *) "flag", NULL
15267 };
15268
15269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
15270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15271 arg2 = PyInt_AsLong(obj1) ? true : false;
15272 if (PyErr_Occurred()) SWIG_fail;
15273 {
15274 PyThreadState* __tstate = wxPyBeginAllowThreads();
15275 (arg1)->SetCollate(arg2);
15276
15277 wxPyEndAllowThreads(__tstate);
15278 if (PyErr_Occurred()) SWIG_fail;
15279 }
15280 Py_INCREF(Py_None); resultobj = Py_None;
15281 return resultobj;
15282 fail:
15283 return NULL;
15284 }
15285
15286
15287 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
15288 PyObject *resultobj;
15289 wxPrintData *arg1 = (wxPrintData *) 0 ;
15290 int arg2 ;
15291 PyObject * obj0 = 0 ;
15292 char *kwnames[] = {
15293 (char *) "self",(char *) "orient", NULL
15294 };
15295
15296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
15297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15298 {
15299 PyThreadState* __tstate = wxPyBeginAllowThreads();
15300 (arg1)->SetOrientation(arg2);
15301
15302 wxPyEndAllowThreads(__tstate);
15303 if (PyErr_Occurred()) SWIG_fail;
15304 }
15305 Py_INCREF(Py_None); resultobj = Py_None;
15306 return resultobj;
15307 fail:
15308 return NULL;
15309 }
15310
15311
15312 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
15313 PyObject *resultobj;
15314 wxPrintData *arg1 = (wxPrintData *) 0 ;
15315 wxString *arg2 = 0 ;
15316 bool temp2 = False ;
15317 PyObject * obj0 = 0 ;
15318 PyObject * obj1 = 0 ;
15319 char *kwnames[] = {
15320 (char *) "self",(char *) "name", NULL
15321 };
15322
15323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
15324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15325 {
15326 arg2 = wxString_in_helper(obj1);
15327 if (arg2 == NULL) SWIG_fail;
15328 temp2 = True;
15329 }
15330 {
15331 PyThreadState* __tstate = wxPyBeginAllowThreads();
15332 (arg1)->SetPrinterName((wxString const &)*arg2);
15333
15334 wxPyEndAllowThreads(__tstate);
15335 if (PyErr_Occurred()) SWIG_fail;
15336 }
15337 Py_INCREF(Py_None); resultobj = Py_None;
15338 {
15339 if (temp2)
15340 delete arg2;
15341 }
15342 return resultobj;
15343 fail:
15344 {
15345 if (temp2)
15346 delete arg2;
15347 }
15348 return NULL;
15349 }
15350
15351
15352 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15353 PyObject *resultobj;
15354 wxPrintData *arg1 = (wxPrintData *) 0 ;
15355 bool arg2 ;
15356 PyObject * obj0 = 0 ;
15357 PyObject * obj1 = 0 ;
15358 char *kwnames[] = {
15359 (char *) "self",(char *) "colour", NULL
15360 };
15361
15362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15364 arg2 = PyInt_AsLong(obj1) ? true : false;
15365 if (PyErr_Occurred()) SWIG_fail;
15366 {
15367 PyThreadState* __tstate = wxPyBeginAllowThreads();
15368 (arg1)->SetColour(arg2);
15369
15370 wxPyEndAllowThreads(__tstate);
15371 if (PyErr_Occurred()) SWIG_fail;
15372 }
15373 Py_INCREF(Py_None); resultobj = Py_None;
15374 return resultobj;
15375 fail:
15376 return NULL;
15377 }
15378
15379
15380 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
15381 PyObject *resultobj;
15382 wxPrintData *arg1 = (wxPrintData *) 0 ;
15383 int arg2 ;
15384 PyObject * obj0 = 0 ;
15385 char *kwnames[] = {
15386 (char *) "self",(char *) "duplex", NULL
15387 };
15388
15389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetDuplex",kwnames,&obj0,&arg2)) goto fail;
15390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15391 {
15392 PyThreadState* __tstate = wxPyBeginAllowThreads();
15393 (arg1)->SetDuplex((wxDuplexMode )arg2);
15394
15395 wxPyEndAllowThreads(__tstate);
15396 if (PyErr_Occurred()) SWIG_fail;
15397 }
15398 Py_INCREF(Py_None); resultobj = Py_None;
15399 return resultobj;
15400 fail:
15401 return NULL;
15402 }
15403
15404
15405 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
15406 PyObject *resultobj;
15407 wxPrintData *arg1 = (wxPrintData *) 0 ;
15408 int arg2 ;
15409 PyObject * obj0 = 0 ;
15410 char *kwnames[] = {
15411 (char *) "self",(char *) "sizeId", NULL
15412 };
15413
15414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
15415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15416 {
15417 PyThreadState* __tstate = wxPyBeginAllowThreads();
15418 (arg1)->SetPaperId((wxPaperSize )arg2);
15419
15420 wxPyEndAllowThreads(__tstate);
15421 if (PyErr_Occurred()) SWIG_fail;
15422 }
15423 Py_INCREF(Py_None); resultobj = Py_None;
15424 return resultobj;
15425 fail:
15426 return NULL;
15427 }
15428
15429
15430 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15431 PyObject *resultobj;
15432 wxPrintData *arg1 = (wxPrintData *) 0 ;
15433 wxSize *arg2 = 0 ;
15434 wxSize temp2 ;
15435 PyObject * obj0 = 0 ;
15436 PyObject * obj1 = 0 ;
15437 char *kwnames[] = {
15438 (char *) "self",(char *) "sz", NULL
15439 };
15440
15441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
15442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15443 {
15444 arg2 = &temp2;
15445 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15446 }
15447 {
15448 PyThreadState* __tstate = wxPyBeginAllowThreads();
15449 (arg1)->SetPaperSize((wxSize const &)*arg2);
15450
15451 wxPyEndAllowThreads(__tstate);
15452 if (PyErr_Occurred()) SWIG_fail;
15453 }
15454 Py_INCREF(Py_None); resultobj = Py_None;
15455 return resultobj;
15456 fail:
15457 return NULL;
15458 }
15459
15460
15461 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
15462 PyObject *resultobj;
15463 wxPrintData *arg1 = (wxPrintData *) 0 ;
15464 int arg2 ;
15465 PyObject * obj0 = 0 ;
15466 char *kwnames[] = {
15467 (char *) "self",(char *) "quality", NULL
15468 };
15469
15470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetQuality",kwnames,&obj0,&arg2)) goto fail;
15471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15472 {
15473 PyThreadState* __tstate = wxPyBeginAllowThreads();
15474 (arg1)->SetQuality(arg2);
15475
15476 wxPyEndAllowThreads(__tstate);
15477 if (PyErr_Occurred()) SWIG_fail;
15478 }
15479 Py_INCREF(Py_None); resultobj = Py_None;
15480 return resultobj;
15481 fail:
15482 return NULL;
15483 }
15484
15485
15486 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15487 PyObject *resultobj;
15488 wxPrintData *arg1 = (wxPrintData *) 0 ;
15489 wxString *result;
15490 PyObject * obj0 = 0 ;
15491 char *kwnames[] = {
15492 (char *) "self", NULL
15493 };
15494
15495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
15496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15497 {
15498 PyThreadState* __tstate = wxPyBeginAllowThreads();
15499 {
15500 wxString const &_result_ref = (arg1)->GetPrinterCommand();
15501 result = (wxString *) &_result_ref;
15502 }
15503
15504 wxPyEndAllowThreads(__tstate);
15505 if (PyErr_Occurred()) SWIG_fail;
15506 }
15507 {
15508 #if wxUSE_UNICODE
15509 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15510 #else
15511 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15512 #endif
15513 }
15514 return resultobj;
15515 fail:
15516 return NULL;
15517 }
15518
15519
15520 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15521 PyObject *resultobj;
15522 wxPrintData *arg1 = (wxPrintData *) 0 ;
15523 wxString *result;
15524 PyObject * obj0 = 0 ;
15525 char *kwnames[] = {
15526 (char *) "self", NULL
15527 };
15528
15529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
15530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15531 {
15532 PyThreadState* __tstate = wxPyBeginAllowThreads();
15533 {
15534 wxString const &_result_ref = (arg1)->GetPrinterOptions();
15535 result = (wxString *) &_result_ref;
15536 }
15537
15538 wxPyEndAllowThreads(__tstate);
15539 if (PyErr_Occurred()) SWIG_fail;
15540 }
15541 {
15542 #if wxUSE_UNICODE
15543 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15544 #else
15545 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15546 #endif
15547 }
15548 return resultobj;
15549 fail:
15550 return NULL;
15551 }
15552
15553
15554 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15555 PyObject *resultobj;
15556 wxPrintData *arg1 = (wxPrintData *) 0 ;
15557 wxString *result;
15558 PyObject * obj0 = 0 ;
15559 char *kwnames[] = {
15560 (char *) "self", NULL
15561 };
15562
15563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
15564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15565 {
15566 PyThreadState* __tstate = wxPyBeginAllowThreads();
15567 {
15568 wxString const &_result_ref = (arg1)->GetPreviewCommand();
15569 result = (wxString *) &_result_ref;
15570 }
15571
15572 wxPyEndAllowThreads(__tstate);
15573 if (PyErr_Occurred()) SWIG_fail;
15574 }
15575 {
15576 #if wxUSE_UNICODE
15577 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15578 #else
15579 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15580 #endif
15581 }
15582 return resultobj;
15583 fail:
15584 return NULL;
15585 }
15586
15587
15588 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
15589 PyObject *resultobj;
15590 wxPrintData *arg1 = (wxPrintData *) 0 ;
15591 wxString *result;
15592 PyObject * obj0 = 0 ;
15593 char *kwnames[] = {
15594 (char *) "self", NULL
15595 };
15596
15597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
15598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15599 {
15600 PyThreadState* __tstate = wxPyBeginAllowThreads();
15601 {
15602 wxString const &_result_ref = (arg1)->GetFilename();
15603 result = (wxString *) &_result_ref;
15604 }
15605
15606 wxPyEndAllowThreads(__tstate);
15607 if (PyErr_Occurred()) SWIG_fail;
15608 }
15609 {
15610 #if wxUSE_UNICODE
15611 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15612 #else
15613 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15614 #endif
15615 }
15616 return resultobj;
15617 fail:
15618 return NULL;
15619 }
15620
15621
15622 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
15623 PyObject *resultobj;
15624 wxPrintData *arg1 = (wxPrintData *) 0 ;
15625 wxString *result;
15626 PyObject * obj0 = 0 ;
15627 char *kwnames[] = {
15628 (char *) "self", NULL
15629 };
15630
15631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
15632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15633 {
15634 PyThreadState* __tstate = wxPyBeginAllowThreads();
15635 {
15636 wxString const &_result_ref = (arg1)->GetFontMetricPath();
15637 result = (wxString *) &_result_ref;
15638 }
15639
15640 wxPyEndAllowThreads(__tstate);
15641 if (PyErr_Occurred()) SWIG_fail;
15642 }
15643 {
15644 #if wxUSE_UNICODE
15645 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15646 #else
15647 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15648 #endif
15649 }
15650 return resultobj;
15651 fail:
15652 return NULL;
15653 }
15654
15655
15656 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
15657 PyObject *resultobj;
15658 wxPrintData *arg1 = (wxPrintData *) 0 ;
15659 double result;
15660 PyObject * obj0 = 0 ;
15661 char *kwnames[] = {
15662 (char *) "self", NULL
15663 };
15664
15665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
15666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15667 {
15668 PyThreadState* __tstate = wxPyBeginAllowThreads();
15669 result = (double)(arg1)->GetPrinterScaleX();
15670
15671 wxPyEndAllowThreads(__tstate);
15672 if (PyErr_Occurred()) SWIG_fail;
15673 }
15674 resultobj = PyFloat_FromDouble(result);
15675 return resultobj;
15676 fail:
15677 return NULL;
15678 }
15679
15680
15681 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
15682 PyObject *resultobj;
15683 wxPrintData *arg1 = (wxPrintData *) 0 ;
15684 double result;
15685 PyObject * obj0 = 0 ;
15686 char *kwnames[] = {
15687 (char *) "self", NULL
15688 };
15689
15690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
15691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15692 {
15693 PyThreadState* __tstate = wxPyBeginAllowThreads();
15694 result = (double)(arg1)->GetPrinterScaleY();
15695
15696 wxPyEndAllowThreads(__tstate);
15697 if (PyErr_Occurred()) SWIG_fail;
15698 }
15699 resultobj = PyFloat_FromDouble(result);
15700 return resultobj;
15701 fail:
15702 return NULL;
15703 }
15704
15705
15706 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
15707 PyObject *resultobj;
15708 wxPrintData *arg1 = (wxPrintData *) 0 ;
15709 long result;
15710 PyObject * obj0 = 0 ;
15711 char *kwnames[] = {
15712 (char *) "self", NULL
15713 };
15714
15715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
15716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15717 {
15718 PyThreadState* __tstate = wxPyBeginAllowThreads();
15719 result = (long)(arg1)->GetPrinterTranslateX();
15720
15721 wxPyEndAllowThreads(__tstate);
15722 if (PyErr_Occurred()) SWIG_fail;
15723 }
15724 resultobj = PyInt_FromLong((long)result);
15725 return resultobj;
15726 fail:
15727 return NULL;
15728 }
15729
15730
15731 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
15732 PyObject *resultobj;
15733 wxPrintData *arg1 = (wxPrintData *) 0 ;
15734 long result;
15735 PyObject * obj0 = 0 ;
15736 char *kwnames[] = {
15737 (char *) "self", NULL
15738 };
15739
15740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
15741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15742 {
15743 PyThreadState* __tstate = wxPyBeginAllowThreads();
15744 result = (long)(arg1)->GetPrinterTranslateY();
15745
15746 wxPyEndAllowThreads(__tstate);
15747 if (PyErr_Occurred()) SWIG_fail;
15748 }
15749 resultobj = PyInt_FromLong((long)result);
15750 return resultobj;
15751 fail:
15752 return NULL;
15753 }
15754
15755
15756 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
15757 PyObject *resultobj;
15758 wxPrintData *arg1 = (wxPrintData *) 0 ;
15759 int result;
15760 PyObject * obj0 = 0 ;
15761 char *kwnames[] = {
15762 (char *) "self", NULL
15763 };
15764
15765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
15766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15767 {
15768 PyThreadState* __tstate = wxPyBeginAllowThreads();
15769 result = (int)(arg1)->GetPrintMode();
15770
15771 wxPyEndAllowThreads(__tstate);
15772 if (PyErr_Occurred()) SWIG_fail;
15773 }
15774 resultobj = PyInt_FromLong((long)result);
15775 return resultobj;
15776 fail:
15777 return NULL;
15778 }
15779
15780
15781 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15782 PyObject *resultobj;
15783 wxPrintData *arg1 = (wxPrintData *) 0 ;
15784 wxString *arg2 = 0 ;
15785 bool temp2 = False ;
15786 PyObject * obj0 = 0 ;
15787 PyObject * obj1 = 0 ;
15788 char *kwnames[] = {
15789 (char *) "self",(char *) "command", NULL
15790 };
15791
15792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
15793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15794 {
15795 arg2 = wxString_in_helper(obj1);
15796 if (arg2 == NULL) SWIG_fail;
15797 temp2 = True;
15798 }
15799 {
15800 PyThreadState* __tstate = wxPyBeginAllowThreads();
15801 (arg1)->SetPrinterCommand((wxString const &)*arg2);
15802
15803 wxPyEndAllowThreads(__tstate);
15804 if (PyErr_Occurred()) SWIG_fail;
15805 }
15806 Py_INCREF(Py_None); resultobj = Py_None;
15807 {
15808 if (temp2)
15809 delete arg2;
15810 }
15811 return resultobj;
15812 fail:
15813 {
15814 if (temp2)
15815 delete arg2;
15816 }
15817 return NULL;
15818 }
15819
15820
15821 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15822 PyObject *resultobj;
15823 wxPrintData *arg1 = (wxPrintData *) 0 ;
15824 wxString *arg2 = 0 ;
15825 bool temp2 = False ;
15826 PyObject * obj0 = 0 ;
15827 PyObject * obj1 = 0 ;
15828 char *kwnames[] = {
15829 (char *) "self",(char *) "options", NULL
15830 };
15831
15832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
15833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15834 {
15835 arg2 = wxString_in_helper(obj1);
15836 if (arg2 == NULL) SWIG_fail;
15837 temp2 = True;
15838 }
15839 {
15840 PyThreadState* __tstate = wxPyBeginAllowThreads();
15841 (arg1)->SetPrinterOptions((wxString const &)*arg2);
15842
15843 wxPyEndAllowThreads(__tstate);
15844 if (PyErr_Occurred()) SWIG_fail;
15845 }
15846 Py_INCREF(Py_None); resultobj = Py_None;
15847 {
15848 if (temp2)
15849 delete arg2;
15850 }
15851 return resultobj;
15852 fail:
15853 {
15854 if (temp2)
15855 delete arg2;
15856 }
15857 return NULL;
15858 }
15859
15860
15861 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15862 PyObject *resultobj;
15863 wxPrintData *arg1 = (wxPrintData *) 0 ;
15864 wxString *arg2 = 0 ;
15865 bool temp2 = False ;
15866 PyObject * obj0 = 0 ;
15867 PyObject * obj1 = 0 ;
15868 char *kwnames[] = {
15869 (char *) "self",(char *) "command", NULL
15870 };
15871
15872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
15873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15874 {
15875 arg2 = wxString_in_helper(obj1);
15876 if (arg2 == NULL) SWIG_fail;
15877 temp2 = True;
15878 }
15879 {
15880 PyThreadState* __tstate = wxPyBeginAllowThreads();
15881 (arg1)->SetPreviewCommand((wxString const &)*arg2);
15882
15883 wxPyEndAllowThreads(__tstate);
15884 if (PyErr_Occurred()) SWIG_fail;
15885 }
15886 Py_INCREF(Py_None); resultobj = Py_None;
15887 {
15888 if (temp2)
15889 delete arg2;
15890 }
15891 return resultobj;
15892 fail:
15893 {
15894 if (temp2)
15895 delete arg2;
15896 }
15897 return NULL;
15898 }
15899
15900
15901 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
15902 PyObject *resultobj;
15903 wxPrintData *arg1 = (wxPrintData *) 0 ;
15904 wxString *arg2 = 0 ;
15905 bool temp2 = False ;
15906 PyObject * obj0 = 0 ;
15907 PyObject * obj1 = 0 ;
15908 char *kwnames[] = {
15909 (char *) "self",(char *) "filename", NULL
15910 };
15911
15912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
15913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15914 {
15915 arg2 = wxString_in_helper(obj1);
15916 if (arg2 == NULL) SWIG_fail;
15917 temp2 = True;
15918 }
15919 {
15920 PyThreadState* __tstate = wxPyBeginAllowThreads();
15921 (arg1)->SetFilename((wxString const &)*arg2);
15922
15923 wxPyEndAllowThreads(__tstate);
15924 if (PyErr_Occurred()) SWIG_fail;
15925 }
15926 Py_INCREF(Py_None); resultobj = Py_None;
15927 {
15928 if (temp2)
15929 delete arg2;
15930 }
15931 return resultobj;
15932 fail:
15933 {
15934 if (temp2)
15935 delete arg2;
15936 }
15937 return NULL;
15938 }
15939
15940
15941 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
15942 PyObject *resultobj;
15943 wxPrintData *arg1 = (wxPrintData *) 0 ;
15944 wxString *arg2 = 0 ;
15945 bool temp2 = False ;
15946 PyObject * obj0 = 0 ;
15947 PyObject * obj1 = 0 ;
15948 char *kwnames[] = {
15949 (char *) "self",(char *) "path", NULL
15950 };
15951
15952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
15953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15954 {
15955 arg2 = wxString_in_helper(obj1);
15956 if (arg2 == NULL) SWIG_fail;
15957 temp2 = True;
15958 }
15959 {
15960 PyThreadState* __tstate = wxPyBeginAllowThreads();
15961 (arg1)->SetFontMetricPath((wxString const &)*arg2);
15962
15963 wxPyEndAllowThreads(__tstate);
15964 if (PyErr_Occurred()) SWIG_fail;
15965 }
15966 Py_INCREF(Py_None); resultobj = Py_None;
15967 {
15968 if (temp2)
15969 delete arg2;
15970 }
15971 return resultobj;
15972 fail:
15973 {
15974 if (temp2)
15975 delete arg2;
15976 }
15977 return NULL;
15978 }
15979
15980
15981 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
15982 PyObject *resultobj;
15983 wxPrintData *arg1 = (wxPrintData *) 0 ;
15984 double arg2 ;
15985 PyObject * obj0 = 0 ;
15986 char *kwnames[] = {
15987 (char *) "self",(char *) "x", NULL
15988 };
15989
15990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleX",kwnames,&obj0,&arg2)) goto fail;
15991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15992 {
15993 PyThreadState* __tstate = wxPyBeginAllowThreads();
15994 (arg1)->SetPrinterScaleX(arg2);
15995
15996 wxPyEndAllowThreads(__tstate);
15997 if (PyErr_Occurred()) SWIG_fail;
15998 }
15999 Py_INCREF(Py_None); resultobj = Py_None;
16000 return resultobj;
16001 fail:
16002 return NULL;
16003 }
16004
16005
16006 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
16007 PyObject *resultobj;
16008 wxPrintData *arg1 = (wxPrintData *) 0 ;
16009 double arg2 ;
16010 PyObject * obj0 = 0 ;
16011 char *kwnames[] = {
16012 (char *) "self",(char *) "y", NULL
16013 };
16014
16015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleY",kwnames,&obj0,&arg2)) goto fail;
16016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16017 {
16018 PyThreadState* __tstate = wxPyBeginAllowThreads();
16019 (arg1)->SetPrinterScaleY(arg2);
16020
16021 wxPyEndAllowThreads(__tstate);
16022 if (PyErr_Occurred()) SWIG_fail;
16023 }
16024 Py_INCREF(Py_None); resultobj = Py_None;
16025 return resultobj;
16026 fail:
16027 return NULL;
16028 }
16029
16030
16031 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
16032 PyObject *resultobj;
16033 wxPrintData *arg1 = (wxPrintData *) 0 ;
16034 double arg2 ;
16035 double arg3 ;
16036 PyObject * obj0 = 0 ;
16037 char *kwnames[] = {
16038 (char *) "self",(char *) "x",(char *) "y", NULL
16039 };
16040
16041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PrintData_SetPrinterScaling",kwnames,&obj0,&arg2,&arg3)) goto fail;
16042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16043 {
16044 PyThreadState* __tstate = wxPyBeginAllowThreads();
16045 (arg1)->SetPrinterScaling(arg2,arg3);
16046
16047 wxPyEndAllowThreads(__tstate);
16048 if (PyErr_Occurred()) SWIG_fail;
16049 }
16050 Py_INCREF(Py_None); resultobj = Py_None;
16051 return resultobj;
16052 fail:
16053 return NULL;
16054 }
16055
16056
16057 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
16058 PyObject *resultobj;
16059 wxPrintData *arg1 = (wxPrintData *) 0 ;
16060 long arg2 ;
16061 PyObject * obj0 = 0 ;
16062 char *kwnames[] = {
16063 (char *) "self",(char *) "x", NULL
16064 };
16065
16066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateX",kwnames,&obj0,&arg2)) goto fail;
16067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16068 {
16069 PyThreadState* __tstate = wxPyBeginAllowThreads();
16070 (arg1)->SetPrinterTranslateX(arg2);
16071
16072 wxPyEndAllowThreads(__tstate);
16073 if (PyErr_Occurred()) SWIG_fail;
16074 }
16075 Py_INCREF(Py_None); resultobj = Py_None;
16076 return resultobj;
16077 fail:
16078 return NULL;
16079 }
16080
16081
16082 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
16083 PyObject *resultobj;
16084 wxPrintData *arg1 = (wxPrintData *) 0 ;
16085 long arg2 ;
16086 PyObject * obj0 = 0 ;
16087 char *kwnames[] = {
16088 (char *) "self",(char *) "y", NULL
16089 };
16090
16091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateY",kwnames,&obj0,&arg2)) goto fail;
16092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16093 {
16094 PyThreadState* __tstate = wxPyBeginAllowThreads();
16095 (arg1)->SetPrinterTranslateY(arg2);
16096
16097 wxPyEndAllowThreads(__tstate);
16098 if (PyErr_Occurred()) SWIG_fail;
16099 }
16100 Py_INCREF(Py_None); resultobj = Py_None;
16101 return resultobj;
16102 fail:
16103 return NULL;
16104 }
16105
16106
16107 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
16108 PyObject *resultobj;
16109 wxPrintData *arg1 = (wxPrintData *) 0 ;
16110 long arg2 ;
16111 long arg3 ;
16112 PyObject * obj0 = 0 ;
16113 char *kwnames[] = {
16114 (char *) "self",(char *) "x",(char *) "y", NULL
16115 };
16116
16117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:PrintData_SetPrinterTranslation",kwnames,&obj0,&arg2,&arg3)) goto fail;
16118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16119 {
16120 PyThreadState* __tstate = wxPyBeginAllowThreads();
16121 (arg1)->SetPrinterTranslation(arg2,arg3);
16122
16123 wxPyEndAllowThreads(__tstate);
16124 if (PyErr_Occurred()) SWIG_fail;
16125 }
16126 Py_INCREF(Py_None); resultobj = Py_None;
16127 return resultobj;
16128 fail:
16129 return NULL;
16130 }
16131
16132
16133 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
16134 PyObject *resultobj;
16135 wxPrintData *arg1 = (wxPrintData *) 0 ;
16136 int arg2 ;
16137 PyObject * obj0 = 0 ;
16138 char *kwnames[] = {
16139 (char *) "self",(char *) "printMode", NULL
16140 };
16141
16142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPrintMode",kwnames,&obj0,&arg2)) goto fail;
16143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16144 {
16145 PyThreadState* __tstate = wxPyBeginAllowThreads();
16146 (arg1)->SetPrintMode((wxPrintMode )arg2);
16147
16148 wxPyEndAllowThreads(__tstate);
16149 if (PyErr_Occurred()) SWIG_fail;
16150 }
16151 Py_INCREF(Py_None); resultobj = Py_None;
16152 return resultobj;
16153 fail:
16154 return NULL;
16155 }
16156
16157
16158 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
16159 PyObject *obj;
16160 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16161 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
16162 Py_INCREF(obj);
16163 return Py_BuildValue((char *)"");
16164 }
16165 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16166 PyObject *resultobj;
16167 wxPageSetupDialogData *result;
16168 char *kwnames[] = {
16169 NULL
16170 };
16171
16172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
16173 {
16174 PyThreadState* __tstate = wxPyBeginAllowThreads();
16175 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
16176
16177 wxPyEndAllowThreads(__tstate);
16178 if (PyErr_Occurred()) SWIG_fail;
16179 }
16180 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 1);
16181 return resultobj;
16182 fail:
16183 return NULL;
16184 }
16185
16186
16187 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16188 PyObject *resultobj;
16189 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16190 PyObject * obj0 = 0 ;
16191 char *kwnames[] = {
16192 (char *) "self", NULL
16193 };
16194
16195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
16196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16197 {
16198 PyThreadState* __tstate = wxPyBeginAllowThreads();
16199 delete arg1;
16200
16201 wxPyEndAllowThreads(__tstate);
16202 if (PyErr_Occurred()) SWIG_fail;
16203 }
16204 Py_INCREF(Py_None); resultobj = Py_None;
16205 return resultobj;
16206 fail:
16207 return NULL;
16208 }
16209
16210
16211 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16212 PyObject *resultobj;
16213 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16214 bool arg2 ;
16215 PyObject * obj0 = 0 ;
16216 PyObject * obj1 = 0 ;
16217 char *kwnames[] = {
16218 (char *) "self",(char *) "flag", NULL
16219 };
16220
16221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
16222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16223 arg2 = PyInt_AsLong(obj1) ? true : false;
16224 if (PyErr_Occurred()) SWIG_fail;
16225 {
16226 PyThreadState* __tstate = wxPyBeginAllowThreads();
16227 (arg1)->EnableHelp(arg2);
16228
16229 wxPyEndAllowThreads(__tstate);
16230 if (PyErr_Occurred()) SWIG_fail;
16231 }
16232 Py_INCREF(Py_None); resultobj = Py_None;
16233 return resultobj;
16234 fail:
16235 return NULL;
16236 }
16237
16238
16239 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16240 PyObject *resultobj;
16241 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16242 bool arg2 ;
16243 PyObject * obj0 = 0 ;
16244 PyObject * obj1 = 0 ;
16245 char *kwnames[] = {
16246 (char *) "self",(char *) "flag", NULL
16247 };
16248
16249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
16250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16251 arg2 = PyInt_AsLong(obj1) ? true : false;
16252 if (PyErr_Occurred()) SWIG_fail;
16253 {
16254 PyThreadState* __tstate = wxPyBeginAllowThreads();
16255 (arg1)->EnableMargins(arg2);
16256
16257 wxPyEndAllowThreads(__tstate);
16258 if (PyErr_Occurred()) SWIG_fail;
16259 }
16260 Py_INCREF(Py_None); resultobj = Py_None;
16261 return resultobj;
16262 fail:
16263 return NULL;
16264 }
16265
16266
16267 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16268 PyObject *resultobj;
16269 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16270 bool arg2 ;
16271 PyObject * obj0 = 0 ;
16272 PyObject * obj1 = 0 ;
16273 char *kwnames[] = {
16274 (char *) "self",(char *) "flag", NULL
16275 };
16276
16277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
16278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16279 arg2 = PyInt_AsLong(obj1) ? true : false;
16280 if (PyErr_Occurred()) SWIG_fail;
16281 {
16282 PyThreadState* __tstate = wxPyBeginAllowThreads();
16283 (arg1)->EnableOrientation(arg2);
16284
16285 wxPyEndAllowThreads(__tstate);
16286 if (PyErr_Occurred()) SWIG_fail;
16287 }
16288 Py_INCREF(Py_None); resultobj = Py_None;
16289 return resultobj;
16290 fail:
16291 return NULL;
16292 }
16293
16294
16295 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
16296 PyObject *resultobj;
16297 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16298 bool arg2 ;
16299 PyObject * obj0 = 0 ;
16300 PyObject * obj1 = 0 ;
16301 char *kwnames[] = {
16302 (char *) "self",(char *) "flag", NULL
16303 };
16304
16305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
16306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16307 arg2 = PyInt_AsLong(obj1) ? true : false;
16308 if (PyErr_Occurred()) SWIG_fail;
16309 {
16310 PyThreadState* __tstate = wxPyBeginAllowThreads();
16311 (arg1)->EnablePaper(arg2);
16312
16313 wxPyEndAllowThreads(__tstate);
16314 if (PyErr_Occurred()) SWIG_fail;
16315 }
16316 Py_INCREF(Py_None); resultobj = Py_None;
16317 return resultobj;
16318 fail:
16319 return NULL;
16320 }
16321
16322
16323 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16324 PyObject *resultobj;
16325 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16326 bool arg2 ;
16327 PyObject * obj0 = 0 ;
16328 PyObject * obj1 = 0 ;
16329 char *kwnames[] = {
16330 (char *) "self",(char *) "flag", NULL
16331 };
16332
16333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
16334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16335 arg2 = PyInt_AsLong(obj1) ? true : false;
16336 if (PyErr_Occurred()) SWIG_fail;
16337 {
16338 PyThreadState* __tstate = wxPyBeginAllowThreads();
16339 (arg1)->EnablePrinter(arg2);
16340
16341 wxPyEndAllowThreads(__tstate);
16342 if (PyErr_Occurred()) SWIG_fail;
16343 }
16344 Py_INCREF(Py_None); resultobj = Py_None;
16345 return resultobj;
16346 fail:
16347 return NULL;
16348 }
16349
16350
16351 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16352 PyObject *resultobj;
16353 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16354 bool result;
16355 PyObject * obj0 = 0 ;
16356 char *kwnames[] = {
16357 (char *) "self", NULL
16358 };
16359
16360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
16361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16362 {
16363 PyThreadState* __tstate = wxPyBeginAllowThreads();
16364 result = (bool)(arg1)->GetDefaultMinMargins();
16365
16366 wxPyEndAllowThreads(__tstate);
16367 if (PyErr_Occurred()) SWIG_fail;
16368 }
16369 resultobj = PyInt_FromLong((long)result);
16370 return resultobj;
16371 fail:
16372 return NULL;
16373 }
16374
16375
16376 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16377 PyObject *resultobj;
16378 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16379 bool result;
16380 PyObject * obj0 = 0 ;
16381 char *kwnames[] = {
16382 (char *) "self", NULL
16383 };
16384
16385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
16386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16387 {
16388 PyThreadState* __tstate = wxPyBeginAllowThreads();
16389 result = (bool)(arg1)->GetEnableMargins();
16390
16391 wxPyEndAllowThreads(__tstate);
16392 if (PyErr_Occurred()) SWIG_fail;
16393 }
16394 resultobj = PyInt_FromLong((long)result);
16395 return resultobj;
16396 fail:
16397 return NULL;
16398 }
16399
16400
16401 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16402 PyObject *resultobj;
16403 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16404 bool result;
16405 PyObject * obj0 = 0 ;
16406 char *kwnames[] = {
16407 (char *) "self", NULL
16408 };
16409
16410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
16411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16412 {
16413 PyThreadState* __tstate = wxPyBeginAllowThreads();
16414 result = (bool)(arg1)->GetEnableOrientation();
16415
16416 wxPyEndAllowThreads(__tstate);
16417 if (PyErr_Occurred()) SWIG_fail;
16418 }
16419 resultobj = PyInt_FromLong((long)result);
16420 return resultobj;
16421 fail:
16422 return NULL;
16423 }
16424
16425
16426 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
16427 PyObject *resultobj;
16428 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16429 bool result;
16430 PyObject * obj0 = 0 ;
16431 char *kwnames[] = {
16432 (char *) "self", NULL
16433 };
16434
16435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
16436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16437 {
16438 PyThreadState* __tstate = wxPyBeginAllowThreads();
16439 result = (bool)(arg1)->GetEnablePaper();
16440
16441 wxPyEndAllowThreads(__tstate);
16442 if (PyErr_Occurred()) SWIG_fail;
16443 }
16444 resultobj = PyInt_FromLong((long)result);
16445 return resultobj;
16446 fail:
16447 return NULL;
16448 }
16449
16450
16451 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16452 PyObject *resultobj;
16453 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16454 bool result;
16455 PyObject * obj0 = 0 ;
16456 char *kwnames[] = {
16457 (char *) "self", NULL
16458 };
16459
16460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
16461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16462 {
16463 PyThreadState* __tstate = wxPyBeginAllowThreads();
16464 result = (bool)(arg1)->GetEnablePrinter();
16465
16466 wxPyEndAllowThreads(__tstate);
16467 if (PyErr_Occurred()) SWIG_fail;
16468 }
16469 resultobj = PyInt_FromLong((long)result);
16470 return resultobj;
16471 fail:
16472 return NULL;
16473 }
16474
16475
16476 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16477 PyObject *resultobj;
16478 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16479 bool result;
16480 PyObject * obj0 = 0 ;
16481 char *kwnames[] = {
16482 (char *) "self", NULL
16483 };
16484
16485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
16486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16487 {
16488 PyThreadState* __tstate = wxPyBeginAllowThreads();
16489 result = (bool)(arg1)->GetEnableHelp();
16490
16491 wxPyEndAllowThreads(__tstate);
16492 if (PyErr_Occurred()) SWIG_fail;
16493 }
16494 resultobj = PyInt_FromLong((long)result);
16495 return resultobj;
16496 fail:
16497 return NULL;
16498 }
16499
16500
16501 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16502 PyObject *resultobj;
16503 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16504 bool result;
16505 PyObject * obj0 = 0 ;
16506 char *kwnames[] = {
16507 (char *) "self", NULL
16508 };
16509
16510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
16511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16512 {
16513 PyThreadState* __tstate = wxPyBeginAllowThreads();
16514 result = (bool)(arg1)->GetDefaultInfo();
16515
16516 wxPyEndAllowThreads(__tstate);
16517 if (PyErr_Occurred()) SWIG_fail;
16518 }
16519 resultobj = PyInt_FromLong((long)result);
16520 return resultobj;
16521 fail:
16522 return NULL;
16523 }
16524
16525
16526 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16527 PyObject *resultobj;
16528 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16529 wxPoint result;
16530 PyObject * obj0 = 0 ;
16531 char *kwnames[] = {
16532 (char *) "self", NULL
16533 };
16534
16535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
16536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16537 {
16538 PyThreadState* __tstate = wxPyBeginAllowThreads();
16539 result = (arg1)->GetMarginTopLeft();
16540
16541 wxPyEndAllowThreads(__tstate);
16542 if (PyErr_Occurred()) SWIG_fail;
16543 }
16544 {
16545 wxPoint * resultptr;
16546 resultptr = new wxPoint((wxPoint &) result);
16547 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16548 }
16549 return resultobj;
16550 fail:
16551 return NULL;
16552 }
16553
16554
16555 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16556 PyObject *resultobj;
16557 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16558 wxPoint result;
16559 PyObject * obj0 = 0 ;
16560 char *kwnames[] = {
16561 (char *) "self", NULL
16562 };
16563
16564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
16565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16566 {
16567 PyThreadState* __tstate = wxPyBeginAllowThreads();
16568 result = (arg1)->GetMarginBottomRight();
16569
16570 wxPyEndAllowThreads(__tstate);
16571 if (PyErr_Occurred()) SWIG_fail;
16572 }
16573 {
16574 wxPoint * resultptr;
16575 resultptr = new wxPoint((wxPoint &) result);
16576 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16577 }
16578 return resultobj;
16579 fail:
16580 return NULL;
16581 }
16582
16583
16584 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16585 PyObject *resultobj;
16586 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16587 wxPoint result;
16588 PyObject * obj0 = 0 ;
16589 char *kwnames[] = {
16590 (char *) "self", NULL
16591 };
16592
16593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
16594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16595 {
16596 PyThreadState* __tstate = wxPyBeginAllowThreads();
16597 result = (arg1)->GetMinMarginTopLeft();
16598
16599 wxPyEndAllowThreads(__tstate);
16600 if (PyErr_Occurred()) SWIG_fail;
16601 }
16602 {
16603 wxPoint * resultptr;
16604 resultptr = new wxPoint((wxPoint &) result);
16605 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16606 }
16607 return resultobj;
16608 fail:
16609 return NULL;
16610 }
16611
16612
16613 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16614 PyObject *resultobj;
16615 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16616 wxPoint result;
16617 PyObject * obj0 = 0 ;
16618 char *kwnames[] = {
16619 (char *) "self", NULL
16620 };
16621
16622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
16623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16624 {
16625 PyThreadState* __tstate = wxPyBeginAllowThreads();
16626 result = (arg1)->GetMinMarginBottomRight();
16627
16628 wxPyEndAllowThreads(__tstate);
16629 if (PyErr_Occurred()) SWIG_fail;
16630 }
16631 {
16632 wxPoint * resultptr;
16633 resultptr = new wxPoint((wxPoint &) result);
16634 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16635 }
16636 return resultobj;
16637 fail:
16638 return NULL;
16639 }
16640
16641
16642 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16643 PyObject *resultobj;
16644 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16645 int result;
16646 PyObject * obj0 = 0 ;
16647 char *kwnames[] = {
16648 (char *) "self", NULL
16649 };
16650
16651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
16652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16653 {
16654 PyThreadState* __tstate = wxPyBeginAllowThreads();
16655 result = (int)(arg1)->GetPaperId();
16656
16657 wxPyEndAllowThreads(__tstate);
16658 if (PyErr_Occurred()) SWIG_fail;
16659 }
16660 resultobj = PyInt_FromLong((long)result);
16661 return resultobj;
16662 fail:
16663 return NULL;
16664 }
16665
16666
16667 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16668 PyObject *resultobj;
16669 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16670 wxSize result;
16671 PyObject * obj0 = 0 ;
16672 char *kwnames[] = {
16673 (char *) "self", NULL
16674 };
16675
16676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
16677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16678 {
16679 PyThreadState* __tstate = wxPyBeginAllowThreads();
16680 result = (arg1)->GetPaperSize();
16681
16682 wxPyEndAllowThreads(__tstate);
16683 if (PyErr_Occurred()) SWIG_fail;
16684 }
16685 {
16686 wxSize * resultptr;
16687 resultptr = new wxSize((wxSize &) result);
16688 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16689 }
16690 return resultobj;
16691 fail:
16692 return NULL;
16693 }
16694
16695
16696 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16697 PyObject *resultobj;
16698 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16699 wxPrintData *result;
16700 PyObject * obj0 = 0 ;
16701 char *kwnames[] = {
16702 (char *) "self", NULL
16703 };
16704
16705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
16706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16707 {
16708 PyThreadState* __tstate = wxPyBeginAllowThreads();
16709 {
16710 wxPrintData &_result_ref = (arg1)->GetPrintData();
16711 result = (wxPrintData *) &_result_ref;
16712 }
16713
16714 wxPyEndAllowThreads(__tstate);
16715 if (PyErr_Occurred()) SWIG_fail;
16716 }
16717 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
16718 return resultobj;
16719 fail:
16720 return NULL;
16721 }
16722
16723
16724 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
16725 PyObject *resultobj;
16726 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16727 bool result;
16728 PyObject * obj0 = 0 ;
16729 char *kwnames[] = {
16730 (char *) "self", NULL
16731 };
16732
16733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
16734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16735 {
16736 PyThreadState* __tstate = wxPyBeginAllowThreads();
16737 result = (bool)(arg1)->Ok();
16738
16739 wxPyEndAllowThreads(__tstate);
16740 if (PyErr_Occurred()) SWIG_fail;
16741 }
16742 resultobj = PyInt_FromLong((long)result);
16743 return resultobj;
16744 fail:
16745 return NULL;
16746 }
16747
16748
16749 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16750 PyObject *resultobj;
16751 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16752 bool arg2 ;
16753 PyObject * obj0 = 0 ;
16754 PyObject * obj1 = 0 ;
16755 char *kwnames[] = {
16756 (char *) "self",(char *) "flag", NULL
16757 };
16758
16759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
16760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16761 arg2 = PyInt_AsLong(obj1) ? true : false;
16762 if (PyErr_Occurred()) SWIG_fail;
16763 {
16764 PyThreadState* __tstate = wxPyBeginAllowThreads();
16765 (arg1)->SetDefaultInfo(arg2);
16766
16767 wxPyEndAllowThreads(__tstate);
16768 if (PyErr_Occurred()) SWIG_fail;
16769 }
16770 Py_INCREF(Py_None); resultobj = Py_None;
16771 return resultobj;
16772 fail:
16773 return NULL;
16774 }
16775
16776
16777 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16778 PyObject *resultobj;
16779 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16780 bool arg2 ;
16781 PyObject * obj0 = 0 ;
16782 PyObject * obj1 = 0 ;
16783 char *kwnames[] = {
16784 (char *) "self",(char *) "flag", NULL
16785 };
16786
16787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
16788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16789 arg2 = PyInt_AsLong(obj1) ? true : false;
16790 if (PyErr_Occurred()) SWIG_fail;
16791 {
16792 PyThreadState* __tstate = wxPyBeginAllowThreads();
16793 (arg1)->SetDefaultMinMargins(arg2);
16794
16795 wxPyEndAllowThreads(__tstate);
16796 if (PyErr_Occurred()) SWIG_fail;
16797 }
16798 Py_INCREF(Py_None); resultobj = Py_None;
16799 return resultobj;
16800 fail:
16801 return NULL;
16802 }
16803
16804
16805 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16806 PyObject *resultobj;
16807 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16808 wxPoint *arg2 = 0 ;
16809 wxPoint temp2 ;
16810 PyObject * obj0 = 0 ;
16811 PyObject * obj1 = 0 ;
16812 char *kwnames[] = {
16813 (char *) "self",(char *) "pt", NULL
16814 };
16815
16816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
16817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16818 {
16819 arg2 = &temp2;
16820 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16821 }
16822 {
16823 PyThreadState* __tstate = wxPyBeginAllowThreads();
16824 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
16825
16826 wxPyEndAllowThreads(__tstate);
16827 if (PyErr_Occurred()) SWIG_fail;
16828 }
16829 Py_INCREF(Py_None); resultobj = Py_None;
16830 return resultobj;
16831 fail:
16832 return NULL;
16833 }
16834
16835
16836 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16837 PyObject *resultobj;
16838 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16839 wxPoint *arg2 = 0 ;
16840 wxPoint temp2 ;
16841 PyObject * obj0 = 0 ;
16842 PyObject * obj1 = 0 ;
16843 char *kwnames[] = {
16844 (char *) "self",(char *) "pt", NULL
16845 };
16846
16847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
16848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16849 {
16850 arg2 = &temp2;
16851 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16852 }
16853 {
16854 PyThreadState* __tstate = wxPyBeginAllowThreads();
16855 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
16856
16857 wxPyEndAllowThreads(__tstate);
16858 if (PyErr_Occurred()) SWIG_fail;
16859 }
16860 Py_INCREF(Py_None); resultobj = Py_None;
16861 return resultobj;
16862 fail:
16863 return NULL;
16864 }
16865
16866
16867 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16868 PyObject *resultobj;
16869 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16870 wxPoint *arg2 = 0 ;
16871 wxPoint temp2 ;
16872 PyObject * obj0 = 0 ;
16873 PyObject * obj1 = 0 ;
16874 char *kwnames[] = {
16875 (char *) "self",(char *) "pt", NULL
16876 };
16877
16878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
16879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16880 {
16881 arg2 = &temp2;
16882 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16883 }
16884 {
16885 PyThreadState* __tstate = wxPyBeginAllowThreads();
16886 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
16887
16888 wxPyEndAllowThreads(__tstate);
16889 if (PyErr_Occurred()) SWIG_fail;
16890 }
16891 Py_INCREF(Py_None); resultobj = Py_None;
16892 return resultobj;
16893 fail:
16894 return NULL;
16895 }
16896
16897
16898 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16899 PyObject *resultobj;
16900 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16901 wxPoint *arg2 = 0 ;
16902 wxPoint temp2 ;
16903 PyObject * obj0 = 0 ;
16904 PyObject * obj1 = 0 ;
16905 char *kwnames[] = {
16906 (char *) "self",(char *) "pt", NULL
16907 };
16908
16909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
16910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16911 {
16912 arg2 = &temp2;
16913 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16914 }
16915 {
16916 PyThreadState* __tstate = wxPyBeginAllowThreads();
16917 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
16918
16919 wxPyEndAllowThreads(__tstate);
16920 if (PyErr_Occurred()) SWIG_fail;
16921 }
16922 Py_INCREF(Py_None); resultobj = Py_None;
16923 return resultobj;
16924 fail:
16925 return NULL;
16926 }
16927
16928
16929 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16930 PyObject *resultobj;
16931 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16932 int arg2 ;
16933 PyObject * obj0 = 0 ;
16934 char *kwnames[] = {
16935 (char *) "self",(char *) "id", NULL
16936 };
16937
16938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PageSetupDialogData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
16939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16940 {
16941 PyThreadState* __tstate = wxPyBeginAllowThreads();
16942 (arg1)->SetPaperId((wxPaperSize )arg2);
16943
16944 wxPyEndAllowThreads(__tstate);
16945 if (PyErr_Occurred()) SWIG_fail;
16946 }
16947 Py_INCREF(Py_None); resultobj = Py_None;
16948 return resultobj;
16949 fail:
16950 return NULL;
16951 }
16952
16953
16954 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16955 PyObject *resultobj;
16956 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16957 wxSize *arg2 = 0 ;
16958 wxSize temp2 ;
16959 PyObject * obj0 = 0 ;
16960 PyObject * obj1 = 0 ;
16961 char *kwnames[] = {
16962 (char *) "self",(char *) "size", NULL
16963 };
16964
16965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
16966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16967 {
16968 arg2 = &temp2;
16969 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16970 }
16971 {
16972 PyThreadState* __tstate = wxPyBeginAllowThreads();
16973 (arg1)->SetPaperSize((wxSize const &)*arg2);
16974
16975 wxPyEndAllowThreads(__tstate);
16976 if (PyErr_Occurred()) SWIG_fail;
16977 }
16978 Py_INCREF(Py_None); resultobj = Py_None;
16979 return resultobj;
16980 fail:
16981 return NULL;
16982 }
16983
16984
16985 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16986 PyObject *resultobj;
16987 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16988 wxPrintData *arg2 = 0 ;
16989 PyObject * obj0 = 0 ;
16990 PyObject * obj1 = 0 ;
16991 char *kwnames[] = {
16992 (char *) "self",(char *) "printData", NULL
16993 };
16994
16995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
16996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16997 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16998 if (arg2 == NULL) {
16999 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17000 }
17001 {
17002 PyThreadState* __tstate = wxPyBeginAllowThreads();
17003 (arg1)->SetPrintData((wxPrintData const &)*arg2);
17004
17005 wxPyEndAllowThreads(__tstate);
17006 if (PyErr_Occurred()) SWIG_fail;
17007 }
17008 Py_INCREF(Py_None); resultobj = Py_None;
17009 return resultobj;
17010 fail:
17011 return NULL;
17012 }
17013
17014
17015 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
17016 PyObject *obj;
17017 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17018 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
17019 Py_INCREF(obj);
17020 return Py_BuildValue((char *)"");
17021 }
17022 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17023 PyObject *resultobj;
17024 wxWindow *arg1 = (wxWindow *) 0 ;
17025 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
17026 wxPageSetupDialog *result;
17027 PyObject * obj0 = 0 ;
17028 PyObject * obj1 = 0 ;
17029 char *kwnames[] = {
17030 (char *) "parent",(char *) "data", NULL
17031 };
17032
17033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
17034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17035 if (obj1) {
17036 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17037 }
17038 {
17039 PyThreadState* __tstate = wxPyBeginAllowThreads();
17040 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
17041
17042 wxPyEndAllowThreads(__tstate);
17043 if (PyErr_Occurred()) SWIG_fail;
17044 }
17045 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialog, 1);
17046 return resultobj;
17047 fail:
17048 return NULL;
17049 }
17050
17051
17052 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
17053 PyObject *resultobj;
17054 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
17055 wxPageSetupDialogData *result;
17056 PyObject * obj0 = 0 ;
17057 char *kwnames[] = {
17058 (char *) "self", NULL
17059 };
17060
17061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
17062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17063 {
17064 PyThreadState* __tstate = wxPyBeginAllowThreads();
17065 {
17066 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
17067 result = (wxPageSetupDialogData *) &_result_ref;
17068 }
17069
17070 wxPyEndAllowThreads(__tstate);
17071 if (PyErr_Occurred()) SWIG_fail;
17072 }
17073 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 0);
17074 return resultobj;
17075 fail:
17076 return NULL;
17077 }
17078
17079
17080 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
17081 PyObject *resultobj;
17082 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
17083 int result;
17084 PyObject * obj0 = 0 ;
17085 char *kwnames[] = {
17086 (char *) "self", NULL
17087 };
17088
17089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
17090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17091 {
17092 PyThreadState* __tstate = wxPyBeginAllowThreads();
17093 result = (int)(arg1)->ShowModal();
17094
17095 wxPyEndAllowThreads(__tstate);
17096 if (PyErr_Occurred()) SWIG_fail;
17097 }
17098 resultobj = PyInt_FromLong((long)result);
17099 return resultobj;
17100 fail:
17101 return NULL;
17102 }
17103
17104
17105 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
17106 PyObject *obj;
17107 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17108 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
17109 Py_INCREF(obj);
17110 return Py_BuildValue((char *)"");
17111 }
17112 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17113 PyObject *resultobj;
17114 wxPrintDialogData *result;
17115 char *kwnames[] = {
17116 NULL
17117 };
17118
17119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintDialogData",kwnames)) goto fail;
17120 {
17121 PyThreadState* __tstate = wxPyBeginAllowThreads();
17122 result = (wxPrintDialogData *)new wxPrintDialogData();
17123
17124 wxPyEndAllowThreads(__tstate);
17125 if (PyErr_Occurred()) SWIG_fail;
17126 }
17127 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 1);
17128 return resultobj;
17129 fail:
17130 return NULL;
17131 }
17132
17133
17134 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17135 PyObject *resultobj;
17136 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17137 PyObject * obj0 = 0 ;
17138 char *kwnames[] = {
17139 (char *) "self", NULL
17140 };
17141
17142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
17143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17144 {
17145 PyThreadState* __tstate = wxPyBeginAllowThreads();
17146 delete arg1;
17147
17148 wxPyEndAllowThreads(__tstate);
17149 if (PyErr_Occurred()) SWIG_fail;
17150 }
17151 Py_INCREF(Py_None); resultobj = Py_None;
17152 return resultobj;
17153 fail:
17154 return NULL;
17155 }
17156
17157
17158 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17159 PyObject *resultobj;
17160 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17161 int result;
17162 PyObject * obj0 = 0 ;
17163 char *kwnames[] = {
17164 (char *) "self", NULL
17165 };
17166
17167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
17168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17169 {
17170 PyThreadState* __tstate = wxPyBeginAllowThreads();
17171 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
17172
17173 wxPyEndAllowThreads(__tstate);
17174 if (PyErr_Occurred()) SWIG_fail;
17175 }
17176 resultobj = PyInt_FromLong((long)result);
17177 return resultobj;
17178 fail:
17179 return NULL;
17180 }
17181
17182
17183 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17184 PyObject *resultobj;
17185 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17186 int result;
17187 PyObject * obj0 = 0 ;
17188 char *kwnames[] = {
17189 (char *) "self", NULL
17190 };
17191
17192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
17193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17194 {
17195 PyThreadState* __tstate = wxPyBeginAllowThreads();
17196 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
17197
17198 wxPyEndAllowThreads(__tstate);
17199 if (PyErr_Occurred()) SWIG_fail;
17200 }
17201 resultobj = PyInt_FromLong((long)result);
17202 return resultobj;
17203 fail:
17204 return NULL;
17205 }
17206
17207
17208 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17209 PyObject *resultobj;
17210 wxPrintDialogData *arg1 = (wxPrintDialogData *) 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:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
17218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17219 {
17220 PyThreadState* __tstate = wxPyBeginAllowThreads();
17221 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
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 *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17234 PyObject *resultobj;
17235 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17236 int result;
17237 PyObject * obj0 = 0 ;
17238 char *kwnames[] = {
17239 (char *) "self", NULL
17240 };
17241
17242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
17243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17244 {
17245 PyThreadState* __tstate = wxPyBeginAllowThreads();
17246 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
17247
17248 wxPyEndAllowThreads(__tstate);
17249 if (PyErr_Occurred()) SWIG_fail;
17250 }
17251 resultobj = PyInt_FromLong((long)result);
17252 return resultobj;
17253 fail:
17254 return NULL;
17255 }
17256
17257
17258 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17259 PyObject *resultobj;
17260 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17261 int result;
17262 PyObject * obj0 = 0 ;
17263 char *kwnames[] = {
17264 (char *) "self", NULL
17265 };
17266
17267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
17268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17269 {
17270 PyThreadState* __tstate = wxPyBeginAllowThreads();
17271 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
17272
17273 wxPyEndAllowThreads(__tstate);
17274 if (PyErr_Occurred()) SWIG_fail;
17275 }
17276 resultobj = PyInt_FromLong((long)result);
17277 return resultobj;
17278 fail:
17279 return NULL;
17280 }
17281
17282
17283 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
17284 PyObject *resultobj;
17285 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17286 bool result;
17287 PyObject * obj0 = 0 ;
17288 char *kwnames[] = {
17289 (char *) "self", NULL
17290 };
17291
17292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
17293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17294 {
17295 PyThreadState* __tstate = wxPyBeginAllowThreads();
17296 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
17297
17298 wxPyEndAllowThreads(__tstate);
17299 if (PyErr_Occurred()) SWIG_fail;
17300 }
17301 resultobj = PyInt_FromLong((long)result);
17302 return resultobj;
17303 fail:
17304 return NULL;
17305 }
17306
17307
17308 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17309 PyObject *resultobj;
17310 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17311 bool result;
17312 PyObject * obj0 = 0 ;
17313 char *kwnames[] = {
17314 (char *) "self", NULL
17315 };
17316
17317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
17318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17319 {
17320 PyThreadState* __tstate = wxPyBeginAllowThreads();
17321 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
17322
17323 wxPyEndAllowThreads(__tstate);
17324 if (PyErr_Occurred()) SWIG_fail;
17325 }
17326 resultobj = PyInt_FromLong((long)result);
17327 return resultobj;
17328 fail:
17329 return NULL;
17330 }
17331
17332
17333 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17334 PyObject *resultobj;
17335 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17336 bool result;
17337 PyObject * obj0 = 0 ;
17338 char *kwnames[] = {
17339 (char *) "self", NULL
17340 };
17341
17342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
17343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17344 {
17345 PyThreadState* __tstate = wxPyBeginAllowThreads();
17346 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
17347
17348 wxPyEndAllowThreads(__tstate);
17349 if (PyErr_Occurred()) SWIG_fail;
17350 }
17351 resultobj = PyInt_FromLong((long)result);
17352 return resultobj;
17353 fail:
17354 return NULL;
17355 }
17356
17357
17358 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17359 PyObject *resultobj;
17360 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17361 bool result;
17362 PyObject * obj0 = 0 ;
17363 char *kwnames[] = {
17364 (char *) "self", NULL
17365 };
17366
17367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
17368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17369 {
17370 PyThreadState* __tstate = wxPyBeginAllowThreads();
17371 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
17372
17373 wxPyEndAllowThreads(__tstate);
17374 if (PyErr_Occurred()) SWIG_fail;
17375 }
17376 resultobj = PyInt_FromLong((long)result);
17377 return resultobj;
17378 fail:
17379 return NULL;
17380 }
17381
17382
17383 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17384 PyObject *resultobj;
17385 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17386 bool result;
17387 PyObject * obj0 = 0 ;
17388 char *kwnames[] = {
17389 (char *) "self", NULL
17390 };
17391
17392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
17393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17394 {
17395 PyThreadState* __tstate = wxPyBeginAllowThreads();
17396 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
17397
17398 wxPyEndAllowThreads(__tstate);
17399 if (PyErr_Occurred()) SWIG_fail;
17400 }
17401 resultobj = PyInt_FromLong((long)result);
17402 return resultobj;
17403 fail:
17404 return NULL;
17405 }
17406
17407
17408 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17409 PyObject *resultobj;
17410 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17411 int arg2 ;
17412 PyObject * obj0 = 0 ;
17413 char *kwnames[] = {
17414 (char *) "self",(char *) "v", NULL
17415 };
17416
17417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetFromPage",kwnames,&obj0,&arg2)) goto fail;
17418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17419 {
17420 PyThreadState* __tstate = wxPyBeginAllowThreads();
17421 (arg1)->SetFromPage(arg2);
17422
17423 wxPyEndAllowThreads(__tstate);
17424 if (PyErr_Occurred()) SWIG_fail;
17425 }
17426 Py_INCREF(Py_None); resultobj = Py_None;
17427 return resultobj;
17428 fail:
17429 return NULL;
17430 }
17431
17432
17433 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17434 PyObject *resultobj;
17435 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17436 int arg2 ;
17437 PyObject * obj0 = 0 ;
17438 char *kwnames[] = {
17439 (char *) "self",(char *) "v", NULL
17440 };
17441
17442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetToPage",kwnames,&obj0,&arg2)) goto fail;
17443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17444 {
17445 PyThreadState* __tstate = wxPyBeginAllowThreads();
17446 (arg1)->SetToPage(arg2);
17447
17448 wxPyEndAllowThreads(__tstate);
17449 if (PyErr_Occurred()) SWIG_fail;
17450 }
17451 Py_INCREF(Py_None); resultobj = Py_None;
17452 return resultobj;
17453 fail:
17454 return NULL;
17455 }
17456
17457
17458 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17459 PyObject *resultobj;
17460 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17461 int arg2 ;
17462 PyObject * obj0 = 0 ;
17463 char *kwnames[] = {
17464 (char *) "self",(char *) "v", NULL
17465 };
17466
17467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMinPage",kwnames,&obj0,&arg2)) goto fail;
17468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17469 {
17470 PyThreadState* __tstate = wxPyBeginAllowThreads();
17471 (arg1)->SetMinPage(arg2);
17472
17473 wxPyEndAllowThreads(__tstate);
17474 if (PyErr_Occurred()) SWIG_fail;
17475 }
17476 Py_INCREF(Py_None); resultobj = Py_None;
17477 return resultobj;
17478 fail:
17479 return NULL;
17480 }
17481
17482
17483 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17484 PyObject *resultobj;
17485 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17486 int arg2 ;
17487 PyObject * obj0 = 0 ;
17488 char *kwnames[] = {
17489 (char *) "self",(char *) "v", NULL
17490 };
17491
17492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMaxPage",kwnames,&obj0,&arg2)) goto fail;
17493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17494 {
17495 PyThreadState* __tstate = wxPyBeginAllowThreads();
17496 (arg1)->SetMaxPage(arg2);
17497
17498 wxPyEndAllowThreads(__tstate);
17499 if (PyErr_Occurred()) SWIG_fail;
17500 }
17501 Py_INCREF(Py_None); resultobj = Py_None;
17502 return resultobj;
17503 fail:
17504 return NULL;
17505 }
17506
17507
17508 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17509 PyObject *resultobj;
17510 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17511 int arg2 ;
17512 PyObject * obj0 = 0 ;
17513 char *kwnames[] = {
17514 (char *) "self",(char *) "v", NULL
17515 };
17516
17517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
17518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17519 {
17520 PyThreadState* __tstate = wxPyBeginAllowThreads();
17521 (arg1)->SetNoCopies(arg2);
17522
17523 wxPyEndAllowThreads(__tstate);
17524 if (PyErr_Occurred()) SWIG_fail;
17525 }
17526 Py_INCREF(Py_None); resultobj = Py_None;
17527 return resultobj;
17528 fail:
17529 return NULL;
17530 }
17531
17532
17533 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
17534 PyObject *resultobj;
17535 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17536 bool arg2 ;
17537 PyObject * obj0 = 0 ;
17538 PyObject * obj1 = 0 ;
17539 char *kwnames[] = {
17540 (char *) "self",(char *) "flag", NULL
17541 };
17542
17543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
17544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17545 arg2 = PyInt_AsLong(obj1) ? true : false;
17546 if (PyErr_Occurred()) SWIG_fail;
17547 {
17548 PyThreadState* __tstate = wxPyBeginAllowThreads();
17549 (arg1)->SetAllPages(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_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17562 PyObject *resultobj;
17563 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17564 bool arg2 ;
17565 PyObject * obj0 = 0 ;
17566 PyObject * obj1 = 0 ;
17567 char *kwnames[] = {
17568 (char *) "self",(char *) "flag", NULL
17569 };
17570
17571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
17572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17573 arg2 = PyInt_AsLong(obj1) ? true : false;
17574 if (PyErr_Occurred()) SWIG_fail;
17575 {
17576 PyThreadState* __tstate = wxPyBeginAllowThreads();
17577 (arg1)->SetSelection(arg2);
17578
17579 wxPyEndAllowThreads(__tstate);
17580 if (PyErr_Occurred()) SWIG_fail;
17581 }
17582 Py_INCREF(Py_None); resultobj = Py_None;
17583 return resultobj;
17584 fail:
17585 return NULL;
17586 }
17587
17588
17589 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17590 PyObject *resultobj;
17591 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17592 bool arg2 ;
17593 PyObject * obj0 = 0 ;
17594 PyObject * obj1 = 0 ;
17595 char *kwnames[] = {
17596 (char *) "self",(char *) "flag", NULL
17597 };
17598
17599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
17600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17601 arg2 = PyInt_AsLong(obj1) ? true : false;
17602 if (PyErr_Occurred()) SWIG_fail;
17603 {
17604 PyThreadState* __tstate = wxPyBeginAllowThreads();
17605 (arg1)->SetCollate(arg2);
17606
17607 wxPyEndAllowThreads(__tstate);
17608 if (PyErr_Occurred()) SWIG_fail;
17609 }
17610 Py_INCREF(Py_None); resultobj = Py_None;
17611 return resultobj;
17612 fail:
17613 return NULL;
17614 }
17615
17616
17617 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17618 PyObject *resultobj;
17619 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17620 bool arg2 ;
17621 PyObject * obj0 = 0 ;
17622 PyObject * obj1 = 0 ;
17623 char *kwnames[] = {
17624 (char *) "self",(char *) "flag", NULL
17625 };
17626
17627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
17628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17629 arg2 = PyInt_AsLong(obj1) ? true : false;
17630 if (PyErr_Occurred()) SWIG_fail;
17631 {
17632 PyThreadState* __tstate = wxPyBeginAllowThreads();
17633 (arg1)->SetPrintToFile(arg2);
17634
17635 wxPyEndAllowThreads(__tstate);
17636 if (PyErr_Occurred()) SWIG_fail;
17637 }
17638 Py_INCREF(Py_None); resultobj = Py_None;
17639 return resultobj;
17640 fail:
17641 return NULL;
17642 }
17643
17644
17645 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17646 PyObject *resultobj;
17647 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17648 bool arg2 ;
17649 PyObject * obj0 = 0 ;
17650 PyObject * obj1 = 0 ;
17651 char *kwnames[] = {
17652 (char *) "self",(char *) "flag", NULL
17653 };
17654
17655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
17656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17657 arg2 = PyInt_AsLong(obj1) ? true : false;
17658 if (PyErr_Occurred()) SWIG_fail;
17659 {
17660 PyThreadState* __tstate = wxPyBeginAllowThreads();
17661 (arg1)->SetSetupDialog(arg2);
17662
17663 wxPyEndAllowThreads(__tstate);
17664 if (PyErr_Occurred()) SWIG_fail;
17665 }
17666 Py_INCREF(Py_None); resultobj = Py_None;
17667 return resultobj;
17668 fail:
17669 return NULL;
17670 }
17671
17672
17673 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17674 PyObject *resultobj;
17675 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17676 bool arg2 ;
17677 PyObject * obj0 = 0 ;
17678 PyObject * obj1 = 0 ;
17679 char *kwnames[] = {
17680 (char *) "self",(char *) "flag", NULL
17681 };
17682
17683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
17684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17685 arg2 = PyInt_AsLong(obj1) ? true : false;
17686 if (PyErr_Occurred()) SWIG_fail;
17687 {
17688 PyThreadState* __tstate = wxPyBeginAllowThreads();
17689 (arg1)->EnablePrintToFile(arg2);
17690
17691 wxPyEndAllowThreads(__tstate);
17692 if (PyErr_Occurred()) SWIG_fail;
17693 }
17694 Py_INCREF(Py_None); resultobj = Py_None;
17695 return resultobj;
17696 fail:
17697 return NULL;
17698 }
17699
17700
17701 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17702 PyObject *resultobj;
17703 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17704 bool arg2 ;
17705 PyObject * obj0 = 0 ;
17706 PyObject * obj1 = 0 ;
17707 char *kwnames[] = {
17708 (char *) "self",(char *) "flag", NULL
17709 };
17710
17711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
17712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17713 arg2 = PyInt_AsLong(obj1) ? true : false;
17714 if (PyErr_Occurred()) SWIG_fail;
17715 {
17716 PyThreadState* __tstate = wxPyBeginAllowThreads();
17717 (arg1)->EnableSelection(arg2);
17718
17719 wxPyEndAllowThreads(__tstate);
17720 if (PyErr_Occurred()) SWIG_fail;
17721 }
17722 Py_INCREF(Py_None); resultobj = Py_None;
17723 return resultobj;
17724 fail:
17725 return NULL;
17726 }
17727
17728
17729 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17730 PyObject *resultobj;
17731 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17732 bool arg2 ;
17733 PyObject * obj0 = 0 ;
17734 PyObject * obj1 = 0 ;
17735 char *kwnames[] = {
17736 (char *) "self",(char *) "flag", NULL
17737 };
17738
17739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
17740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17741 arg2 = PyInt_AsLong(obj1) ? true : false;
17742 if (PyErr_Occurred()) SWIG_fail;
17743 {
17744 PyThreadState* __tstate = wxPyBeginAllowThreads();
17745 (arg1)->EnablePageNumbers(arg2);
17746
17747 wxPyEndAllowThreads(__tstate);
17748 if (PyErr_Occurred()) SWIG_fail;
17749 }
17750 Py_INCREF(Py_None); resultobj = Py_None;
17751 return resultobj;
17752 fail:
17753 return NULL;
17754 }
17755
17756
17757 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17758 PyObject *resultobj;
17759 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17760 bool arg2 ;
17761 PyObject * obj0 = 0 ;
17762 PyObject * obj1 = 0 ;
17763 char *kwnames[] = {
17764 (char *) "self",(char *) "flag", NULL
17765 };
17766
17767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
17768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17769 arg2 = PyInt_AsLong(obj1) ? true : false;
17770 if (PyErr_Occurred()) SWIG_fail;
17771 {
17772 PyThreadState* __tstate = wxPyBeginAllowThreads();
17773 (arg1)->EnableHelp(arg2);
17774
17775 wxPyEndAllowThreads(__tstate);
17776 if (PyErr_Occurred()) SWIG_fail;
17777 }
17778 Py_INCREF(Py_None); resultobj = Py_None;
17779 return resultobj;
17780 fail:
17781 return NULL;
17782 }
17783
17784
17785 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17786 PyObject *resultobj;
17787 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17788 bool result;
17789 PyObject * obj0 = 0 ;
17790 char *kwnames[] = {
17791 (char *) "self", NULL
17792 };
17793
17794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
17795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17796 {
17797 PyThreadState* __tstate = wxPyBeginAllowThreads();
17798 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
17799
17800 wxPyEndAllowThreads(__tstate);
17801 if (PyErr_Occurred()) SWIG_fail;
17802 }
17803 resultobj = PyInt_FromLong((long)result);
17804 return resultobj;
17805 fail:
17806 return NULL;
17807 }
17808
17809
17810 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17811 PyObject *resultobj;
17812 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17813 bool result;
17814 PyObject * obj0 = 0 ;
17815 char *kwnames[] = {
17816 (char *) "self", NULL
17817 };
17818
17819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
17820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17821 {
17822 PyThreadState* __tstate = wxPyBeginAllowThreads();
17823 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
17824
17825 wxPyEndAllowThreads(__tstate);
17826 if (PyErr_Occurred()) SWIG_fail;
17827 }
17828 resultobj = PyInt_FromLong((long)result);
17829 return resultobj;
17830 fail:
17831 return NULL;
17832 }
17833
17834
17835 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17836 PyObject *resultobj;
17837 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17838 bool result;
17839 PyObject * obj0 = 0 ;
17840 char *kwnames[] = {
17841 (char *) "self", NULL
17842 };
17843
17844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
17845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17846 {
17847 PyThreadState* __tstate = wxPyBeginAllowThreads();
17848 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
17849
17850 wxPyEndAllowThreads(__tstate);
17851 if (PyErr_Occurred()) SWIG_fail;
17852 }
17853 resultobj = PyInt_FromLong((long)result);
17854 return resultobj;
17855 fail:
17856 return NULL;
17857 }
17858
17859
17860 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17861 PyObject *resultobj;
17862 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17863 bool result;
17864 PyObject * obj0 = 0 ;
17865 char *kwnames[] = {
17866 (char *) "self", NULL
17867 };
17868
17869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
17870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17871 {
17872 PyThreadState* __tstate = wxPyBeginAllowThreads();
17873 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
17874
17875 wxPyEndAllowThreads(__tstate);
17876 if (PyErr_Occurred()) SWIG_fail;
17877 }
17878 resultobj = PyInt_FromLong((long)result);
17879 return resultobj;
17880 fail:
17881 return NULL;
17882 }
17883
17884
17885 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
17886 PyObject *resultobj;
17887 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17888 bool result;
17889 PyObject * obj0 = 0 ;
17890 char *kwnames[] = {
17891 (char *) "self", NULL
17892 };
17893
17894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
17895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17896 {
17897 PyThreadState* __tstate = wxPyBeginAllowThreads();
17898 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
17899
17900 wxPyEndAllowThreads(__tstate);
17901 if (PyErr_Occurred()) SWIG_fail;
17902 }
17903 resultobj = PyInt_FromLong((long)result);
17904 return resultobj;
17905 fail:
17906 return NULL;
17907 }
17908
17909
17910 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17911 PyObject *resultobj;
17912 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17913 wxPrintData *result;
17914 PyObject * obj0 = 0 ;
17915 char *kwnames[] = {
17916 (char *) "self", NULL
17917 };
17918
17919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
17920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17921 {
17922 PyThreadState* __tstate = wxPyBeginAllowThreads();
17923 {
17924 wxPrintData &_result_ref = (arg1)->GetPrintData();
17925 result = (wxPrintData *) &_result_ref;
17926 }
17927
17928 wxPyEndAllowThreads(__tstate);
17929 if (PyErr_Occurred()) SWIG_fail;
17930 }
17931 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
17932 return resultobj;
17933 fail:
17934 return NULL;
17935 }
17936
17937
17938 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17939 PyObject *resultobj;
17940 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17941 wxPrintData *arg2 = 0 ;
17942 PyObject * obj0 = 0 ;
17943 PyObject * obj1 = 0 ;
17944 char *kwnames[] = {
17945 (char *) "self",(char *) "printData", NULL
17946 };
17947
17948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
17949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17950 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17951 if (arg2 == NULL) {
17952 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17953 }
17954 {
17955 PyThreadState* __tstate = wxPyBeginAllowThreads();
17956 (arg1)->SetPrintData((wxPrintData const &)*arg2);
17957
17958 wxPyEndAllowThreads(__tstate);
17959 if (PyErr_Occurred()) SWIG_fail;
17960 }
17961 Py_INCREF(Py_None); resultobj = Py_None;
17962 return resultobj;
17963 fail:
17964 return NULL;
17965 }
17966
17967
17968 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
17969 PyObject *obj;
17970 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17971 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
17972 Py_INCREF(obj);
17973 return Py_BuildValue((char *)"");
17974 }
17975 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17976 PyObject *resultobj;
17977 wxWindow *arg1 = (wxWindow *) 0 ;
17978 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
17979 wxPrintDialog *result;
17980 PyObject * obj0 = 0 ;
17981 PyObject * obj1 = 0 ;
17982 char *kwnames[] = {
17983 (char *) "parent",(char *) "data", NULL
17984 };
17985
17986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
17987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17988 if (obj1) {
17989 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17990 }
17991 {
17992 PyThreadState* __tstate = wxPyBeginAllowThreads();
17993 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
17994
17995 wxPyEndAllowThreads(__tstate);
17996 if (PyErr_Occurred()) SWIG_fail;
17997 }
17998 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialog, 1);
17999 return resultobj;
18000 fail:
18001 return NULL;
18002 }
18003
18004
18005 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18006 PyObject *resultobj;
18007 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
18008 wxPrintDialogData *result;
18009 PyObject * obj0 = 0 ;
18010 char *kwnames[] = {
18011 (char *) "self", NULL
18012 };
18013
18014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
18015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18016 {
18017 PyThreadState* __tstate = wxPyBeginAllowThreads();
18018 {
18019 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
18020 result = (wxPrintDialogData *) &_result_ref;
18021 }
18022
18023 wxPyEndAllowThreads(__tstate);
18024 if (PyErr_Occurred()) SWIG_fail;
18025 }
18026 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
18027 return resultobj;
18028 fail:
18029 return NULL;
18030 }
18031
18032
18033 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18034 PyObject *resultobj;
18035 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
18036 wxDC *result;
18037 PyObject * obj0 = 0 ;
18038 char *kwnames[] = {
18039 (char *) "self", NULL
18040 };
18041
18042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
18043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18044 {
18045 PyThreadState* __tstate = wxPyBeginAllowThreads();
18046 result = (wxDC *)(arg1)->GetPrintDC();
18047
18048 wxPyEndAllowThreads(__tstate);
18049 if (PyErr_Occurred()) SWIG_fail;
18050 }
18051 {
18052 resultobj = wxPyMake_wxObject(result);
18053 }
18054 return resultobj;
18055 fail:
18056 return NULL;
18057 }
18058
18059
18060 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
18061 PyObject *resultobj;
18062 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
18063 int result;
18064 PyObject * obj0 = 0 ;
18065 char *kwnames[] = {
18066 (char *) "self", NULL
18067 };
18068
18069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
18070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18071 {
18072 PyThreadState* __tstate = wxPyBeginAllowThreads();
18073 result = (int)(arg1)->ShowModal();
18074
18075 wxPyEndAllowThreads(__tstate);
18076 if (PyErr_Occurred()) SWIG_fail;
18077 }
18078 resultobj = PyInt_FromLong((long)result);
18079 return resultobj;
18080 fail:
18081 return NULL;
18082 }
18083
18084
18085 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
18086 PyObject *obj;
18087 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18088 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
18089 Py_INCREF(obj);
18090 return Py_BuildValue((char *)"");
18091 }
18092 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
18093 PyObject *resultobj;
18094 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
18095 wxPrinter *result;
18096 PyObject * obj0 = 0 ;
18097 char *kwnames[] = {
18098 (char *) "data", NULL
18099 };
18100
18101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
18102 if (obj0) {
18103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18104 }
18105 {
18106 PyThreadState* __tstate = wxPyBeginAllowThreads();
18107 result = (wxPrinter *)new wxPrinter(arg1);
18108
18109 wxPyEndAllowThreads(__tstate);
18110 if (PyErr_Occurred()) SWIG_fail;
18111 }
18112 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrinter, 1);
18113 return resultobj;
18114 fail:
18115 return NULL;
18116 }
18117
18118
18119 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
18120 PyObject *resultobj;
18121 wxPrinter *arg1 = (wxPrinter *) 0 ;
18122 PyObject * obj0 = 0 ;
18123 char *kwnames[] = {
18124 (char *) "self", NULL
18125 };
18126
18127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
18128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18129 {
18130 PyThreadState* __tstate = wxPyBeginAllowThreads();
18131 delete arg1;
18132
18133 wxPyEndAllowThreads(__tstate);
18134 if (PyErr_Occurred()) SWIG_fail;
18135 }
18136 Py_INCREF(Py_None); resultobj = Py_None;
18137 return resultobj;
18138 fail:
18139 return NULL;
18140 }
18141
18142
18143 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18144 PyObject *resultobj;
18145 wxPrinter *arg1 = (wxPrinter *) 0 ;
18146 wxWindow *arg2 = (wxWindow *) 0 ;
18147 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
18148 PyObject * obj0 = 0 ;
18149 PyObject * obj1 = 0 ;
18150 PyObject * obj2 = 0 ;
18151 char *kwnames[] = {
18152 (char *) "self",(char *) "parent",(char *) "printout", NULL
18153 };
18154
18155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
18156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18157 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18158 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18159 {
18160 PyThreadState* __tstate = wxPyBeginAllowThreads();
18161 (arg1)->CreateAbortWindow(arg2,arg3);
18162
18163 wxPyEndAllowThreads(__tstate);
18164 if (PyErr_Occurred()) SWIG_fail;
18165 }
18166 Py_INCREF(Py_None); resultobj = Py_None;
18167 return resultobj;
18168 fail:
18169 return NULL;
18170 }
18171
18172
18173 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18174 PyObject *resultobj;
18175 wxPrinter *arg1 = (wxPrinter *) 0 ;
18176 wxPrintDialogData *result;
18177 PyObject * obj0 = 0 ;
18178 char *kwnames[] = {
18179 (char *) "self", NULL
18180 };
18181
18182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
18183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18184 {
18185 PyThreadState* __tstate = wxPyBeginAllowThreads();
18186 {
18187 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
18188 result = (wxPrintDialogData *) &_result_ref;
18189 }
18190
18191 wxPyEndAllowThreads(__tstate);
18192 if (PyErr_Occurred()) SWIG_fail;
18193 }
18194 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
18195 return resultobj;
18196 fail:
18197 return NULL;
18198 }
18199
18200
18201 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
18202 PyObject *resultobj;
18203 wxPrinter *arg1 = (wxPrinter *) 0 ;
18204 wxWindow *arg2 = (wxWindow *) 0 ;
18205 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
18206 int arg4 = (int) True ;
18207 bool result;
18208 PyObject * obj0 = 0 ;
18209 PyObject * obj1 = 0 ;
18210 PyObject * obj2 = 0 ;
18211 char *kwnames[] = {
18212 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
18213 };
18214
18215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:Printer_Print",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
18216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18217 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18218 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18219 {
18220 PyThreadState* __tstate = wxPyBeginAllowThreads();
18221 result = (bool)(arg1)->Print(arg2,arg3,arg4);
18222
18223 wxPyEndAllowThreads(__tstate);
18224 if (PyErr_Occurred()) SWIG_fail;
18225 }
18226 resultobj = PyInt_FromLong((long)result);
18227 return resultobj;
18228 fail:
18229 return NULL;
18230 }
18231
18232
18233 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
18234 PyObject *resultobj;
18235 wxPrinter *arg1 = (wxPrinter *) 0 ;
18236 wxWindow *arg2 = (wxWindow *) 0 ;
18237 wxDC *result;
18238 PyObject * obj0 = 0 ;
18239 PyObject * obj1 = 0 ;
18240 char *kwnames[] = {
18241 (char *) "self",(char *) "parent", NULL
18242 };
18243
18244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
18245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18246 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18247 {
18248 PyThreadState* __tstate = wxPyBeginAllowThreads();
18249 result = (wxDC *)(arg1)->PrintDialog(arg2);
18250
18251 wxPyEndAllowThreads(__tstate);
18252 if (PyErr_Occurred()) SWIG_fail;
18253 }
18254 {
18255 resultobj = wxPyMake_wxObject(result);
18256 }
18257 return resultobj;
18258 fail:
18259 return NULL;
18260 }
18261
18262
18263 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
18264 PyObject *resultobj;
18265 wxPrinter *arg1 = (wxPrinter *) 0 ;
18266 wxWindow *arg2 = (wxWindow *) 0 ;
18267 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
18268 wxString *arg4 = 0 ;
18269 bool temp4 = False ;
18270 PyObject * obj0 = 0 ;
18271 PyObject * obj1 = 0 ;
18272 PyObject * obj2 = 0 ;
18273 PyObject * obj3 = 0 ;
18274 char *kwnames[] = {
18275 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
18276 };
18277
18278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18280 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18281 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18282 {
18283 arg4 = wxString_in_helper(obj3);
18284 if (arg4 == NULL) SWIG_fail;
18285 temp4 = True;
18286 }
18287 {
18288 PyThreadState* __tstate = wxPyBeginAllowThreads();
18289 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
18290
18291 wxPyEndAllowThreads(__tstate);
18292 if (PyErr_Occurred()) SWIG_fail;
18293 }
18294 Py_INCREF(Py_None); resultobj = Py_None;
18295 {
18296 if (temp4)
18297 delete arg4;
18298 }
18299 return resultobj;
18300 fail:
18301 {
18302 if (temp4)
18303 delete arg4;
18304 }
18305 return NULL;
18306 }
18307
18308
18309 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
18310 PyObject *resultobj;
18311 wxPrinter *arg1 = (wxPrinter *) 0 ;
18312 wxWindow *arg2 = (wxWindow *) 0 ;
18313 bool result;
18314 PyObject * obj0 = 0 ;
18315 PyObject * obj1 = 0 ;
18316 char *kwnames[] = {
18317 (char *) "self",(char *) "parent", NULL
18318 };
18319
18320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
18321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18322 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18323 {
18324 PyThreadState* __tstate = wxPyBeginAllowThreads();
18325 result = (bool)(arg1)->Setup(arg2);
18326
18327 wxPyEndAllowThreads(__tstate);
18328 if (PyErr_Occurred()) SWIG_fail;
18329 }
18330 resultobj = PyInt_FromLong((long)result);
18331 return resultobj;
18332 fail:
18333 return NULL;
18334 }
18335
18336
18337 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
18338 PyObject *resultobj;
18339 wxPrinter *arg1 = (wxPrinter *) 0 ;
18340 bool result;
18341 PyObject * obj0 = 0 ;
18342 char *kwnames[] = {
18343 (char *) "self", NULL
18344 };
18345
18346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
18347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18348 {
18349 PyThreadState* __tstate = wxPyBeginAllowThreads();
18350 result = (bool)(arg1)->GetAbort();
18351
18352 wxPyEndAllowThreads(__tstate);
18353 if (PyErr_Occurred()) SWIG_fail;
18354 }
18355 resultobj = PyInt_FromLong((long)result);
18356 return resultobj;
18357 fail:
18358 return NULL;
18359 }
18360
18361
18362 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
18363 PyObject *resultobj;
18364 int result;
18365 char *kwnames[] = {
18366 NULL
18367 };
18368
18369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
18370 {
18371 PyThreadState* __tstate = wxPyBeginAllowThreads();
18372 result = (int)wxPrinter::GetLastError();
18373
18374 wxPyEndAllowThreads(__tstate);
18375 if (PyErr_Occurred()) SWIG_fail;
18376 }
18377 resultobj = PyInt_FromLong((long)result);
18378 return resultobj;
18379 fail:
18380 return NULL;
18381 }
18382
18383
18384 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
18385 PyObject *obj;
18386 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18387 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
18388 Py_INCREF(obj);
18389 return Py_BuildValue((char *)"");
18390 }
18391 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
18392 PyObject *resultobj;
18393 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
18394 wxString *arg1 = (wxString *) &arg1_defvalue ;
18395 wxPyPrintout *result;
18396 bool temp1 = False ;
18397 PyObject * obj0 = 0 ;
18398 char *kwnames[] = {
18399 (char *) "title", NULL
18400 };
18401
18402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
18403 if (obj0) {
18404 {
18405 arg1 = wxString_in_helper(obj0);
18406 if (arg1 == NULL) SWIG_fail;
18407 temp1 = True;
18408 }
18409 }
18410 {
18411 PyThreadState* __tstate = wxPyBeginAllowThreads();
18412 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
18413
18414 wxPyEndAllowThreads(__tstate);
18415 if (PyErr_Occurred()) SWIG_fail;
18416 }
18417 {
18418 resultobj = wxPyMake_wxObject(result);
18419 }
18420 {
18421 if (temp1)
18422 delete arg1;
18423 }
18424 return resultobj;
18425 fail:
18426 {
18427 if (temp1)
18428 delete arg1;
18429 }
18430 return NULL;
18431 }
18432
18433
18434 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18435 PyObject *resultobj;
18436 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18437 PyObject *arg2 = (PyObject *) 0 ;
18438 PyObject *arg3 = (PyObject *) 0 ;
18439 PyObject * obj0 = 0 ;
18440 PyObject * obj1 = 0 ;
18441 PyObject * obj2 = 0 ;
18442 char *kwnames[] = {
18443 (char *) "self",(char *) "self",(char *) "_class", NULL
18444 };
18445
18446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18448 arg2 = obj1;
18449 arg3 = obj2;
18450 {
18451 PyThreadState* __tstate = wxPyBeginAllowThreads();
18452 (arg1)->_setCallbackInfo(arg2,arg3);
18453
18454 wxPyEndAllowThreads(__tstate);
18455 if (PyErr_Occurred()) SWIG_fail;
18456 }
18457 Py_INCREF(Py_None); resultobj = Py_None;
18458 return resultobj;
18459 fail:
18460 return NULL;
18461 }
18462
18463
18464 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
18465 PyObject *resultobj;
18466 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18467 wxString result;
18468 PyObject * obj0 = 0 ;
18469 char *kwnames[] = {
18470 (char *) "self", NULL
18471 };
18472
18473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
18474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18475 {
18476 PyThreadState* __tstate = wxPyBeginAllowThreads();
18477 result = ((wxPyPrintout const *)arg1)->GetTitle();
18478
18479 wxPyEndAllowThreads(__tstate);
18480 if (PyErr_Occurred()) SWIG_fail;
18481 }
18482 {
18483 #if wxUSE_UNICODE
18484 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18485 #else
18486 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18487 #endif
18488 }
18489 return resultobj;
18490 fail:
18491 return NULL;
18492 }
18493
18494
18495 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18496 PyObject *resultobj;
18497 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18498 wxDC *result;
18499 PyObject * obj0 = 0 ;
18500 char *kwnames[] = {
18501 (char *) "self", NULL
18502 };
18503
18504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
18505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18506 {
18507 PyThreadState* __tstate = wxPyBeginAllowThreads();
18508 result = (wxDC *)(arg1)->GetDC();
18509
18510 wxPyEndAllowThreads(__tstate);
18511 if (PyErr_Occurred()) SWIG_fail;
18512 }
18513 {
18514 resultobj = wxPyMake_wxObject(result);
18515 }
18516 return resultobj;
18517 fail:
18518 return NULL;
18519 }
18520
18521
18522 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18523 PyObject *resultobj;
18524 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18525 wxDC *arg2 = (wxDC *) 0 ;
18526 PyObject * obj0 = 0 ;
18527 PyObject * obj1 = 0 ;
18528 char *kwnames[] = {
18529 (char *) "self",(char *) "dc", NULL
18530 };
18531
18532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
18533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18534 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18535 {
18536 PyThreadState* __tstate = wxPyBeginAllowThreads();
18537 (arg1)->SetDC(arg2);
18538
18539 wxPyEndAllowThreads(__tstate);
18540 if (PyErr_Occurred()) SWIG_fail;
18541 }
18542 Py_INCREF(Py_None); resultobj = Py_None;
18543 return resultobj;
18544 fail:
18545 return NULL;
18546 }
18547
18548
18549 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
18550 PyObject *resultobj;
18551 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18552 int arg2 ;
18553 int arg3 ;
18554 PyObject * obj0 = 0 ;
18555 char *kwnames[] = {
18556 (char *) "self",(char *) "w",(char *) "h", NULL
18557 };
18558
18559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizePixels",kwnames,&obj0,&arg2,&arg3)) goto fail;
18560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18561 {
18562 PyThreadState* __tstate = wxPyBeginAllowThreads();
18563 (arg1)->SetPageSizePixels(arg2,arg3);
18564
18565 wxPyEndAllowThreads(__tstate);
18566 if (PyErr_Occurred()) SWIG_fail;
18567 }
18568 Py_INCREF(Py_None); resultobj = Py_None;
18569 return resultobj;
18570 fail:
18571 return NULL;
18572 }
18573
18574
18575 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
18576 PyObject *resultobj;
18577 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18578 int *arg2 = (int *) 0 ;
18579 int *arg3 = (int *) 0 ;
18580 int temp2 ;
18581 int temp3 ;
18582 PyObject * obj0 = 0 ;
18583 char *kwnames[] = {
18584 (char *) "self", NULL
18585 };
18586
18587 arg2 = &temp2;
18588 arg3 = &temp3;
18589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
18590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18591 {
18592 PyThreadState* __tstate = wxPyBeginAllowThreads();
18593 (arg1)->GetPageSizePixels(arg2,arg3);
18594
18595 wxPyEndAllowThreads(__tstate);
18596 if (PyErr_Occurred()) SWIG_fail;
18597 }
18598 Py_INCREF(Py_None); resultobj = Py_None;
18599 {
18600 PyObject *o = PyInt_FromLong((long) (*arg2));
18601 resultobj = t_output_helper(resultobj,o);
18602 }
18603 {
18604 PyObject *o = PyInt_FromLong((long) (*arg3));
18605 resultobj = t_output_helper(resultobj,o);
18606 }
18607 return resultobj;
18608 fail:
18609 return NULL;
18610 }
18611
18612
18613 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18614 PyObject *resultobj;
18615 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18616 int arg2 ;
18617 int arg3 ;
18618 PyObject * obj0 = 0 ;
18619 char *kwnames[] = {
18620 (char *) "self",(char *) "w",(char *) "h", NULL
18621 };
18622
18623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizeMM",kwnames,&obj0,&arg2,&arg3)) goto fail;
18624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18625 {
18626 PyThreadState* __tstate = wxPyBeginAllowThreads();
18627 (arg1)->SetPageSizeMM(arg2,arg3);
18628
18629 wxPyEndAllowThreads(__tstate);
18630 if (PyErr_Occurred()) SWIG_fail;
18631 }
18632 Py_INCREF(Py_None); resultobj = Py_None;
18633 return resultobj;
18634 fail:
18635 return NULL;
18636 }
18637
18638
18639 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18640 PyObject *resultobj;
18641 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18642 int *arg2 = (int *) 0 ;
18643 int *arg3 = (int *) 0 ;
18644 int temp2 ;
18645 int temp3 ;
18646 PyObject * obj0 = 0 ;
18647 char *kwnames[] = {
18648 (char *) "self", NULL
18649 };
18650
18651 arg2 = &temp2;
18652 arg3 = &temp3;
18653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
18654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18655 {
18656 PyThreadState* __tstate = wxPyBeginAllowThreads();
18657 (arg1)->GetPageSizeMM(arg2,arg3);
18658
18659 wxPyEndAllowThreads(__tstate);
18660 if (PyErr_Occurred()) SWIG_fail;
18661 }
18662 Py_INCREF(Py_None); resultobj = Py_None;
18663 {
18664 PyObject *o = PyInt_FromLong((long) (*arg2));
18665 resultobj = t_output_helper(resultobj,o);
18666 }
18667 {
18668 PyObject *o = PyInt_FromLong((long) (*arg3));
18669 resultobj = t_output_helper(resultobj,o);
18670 }
18671 return resultobj;
18672 fail:
18673 return NULL;
18674 }
18675
18676
18677 static PyObject *_wrap_Printout_SetPPIScreen(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 *) "x",(char *) "y", NULL
18685 };
18686
18687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIScreen",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)->SetPPIScreen(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_GetPPIScreen(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_GetPPIScreen",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)->GetPPIScreen(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_SetPPIPrinter(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 *) "x",(char *) "y", NULL
18749 };
18750
18751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIPrinter",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)->SetPPIPrinter(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_GetPPIPrinter(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_GetPPIPrinter",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)->GetPPIPrinter(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_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18806 PyObject *resultobj;
18807 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18808 bool result;
18809 PyObject * obj0 = 0 ;
18810 char *kwnames[] = {
18811 (char *) "self", NULL
18812 };
18813
18814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
18815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18816 {
18817 PyThreadState* __tstate = wxPyBeginAllowThreads();
18818 result = (bool)(arg1)->IsPreview();
18819
18820 wxPyEndAllowThreads(__tstate);
18821 if (PyErr_Occurred()) SWIG_fail;
18822 }
18823 resultobj = PyInt_FromLong((long)result);
18824 return resultobj;
18825 fail:
18826 return NULL;
18827 }
18828
18829
18830 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18831 PyObject *resultobj;
18832 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18833 bool arg2 ;
18834 PyObject * obj0 = 0 ;
18835 PyObject * obj1 = 0 ;
18836 char *kwnames[] = {
18837 (char *) "self",(char *) "p", NULL
18838 };
18839
18840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
18841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18842 arg2 = PyInt_AsLong(obj1) ? true : false;
18843 if (PyErr_Occurred()) SWIG_fail;
18844 {
18845 PyThreadState* __tstate = wxPyBeginAllowThreads();
18846 (arg1)->SetIsPreview(arg2);
18847
18848 wxPyEndAllowThreads(__tstate);
18849 if (PyErr_Occurred()) SWIG_fail;
18850 }
18851 Py_INCREF(Py_None); resultobj = Py_None;
18852 return resultobj;
18853 fail:
18854 return NULL;
18855 }
18856
18857
18858 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
18859 PyObject *resultobj;
18860 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18861 int arg2 ;
18862 int arg3 ;
18863 bool result;
18864 PyObject * obj0 = 0 ;
18865 char *kwnames[] = {
18866 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
18867 };
18868
18869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_base_OnBeginDocument",kwnames,&obj0,&arg2,&arg3)) goto fail;
18870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18871 {
18872 PyThreadState* __tstate = wxPyBeginAllowThreads();
18873 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
18874
18875 wxPyEndAllowThreads(__tstate);
18876 if (PyErr_Occurred()) SWIG_fail;
18877 }
18878 resultobj = PyInt_FromLong((long)result);
18879 return resultobj;
18880 fail:
18881 return NULL;
18882 }
18883
18884
18885 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
18886 PyObject *resultobj;
18887 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18888 PyObject * obj0 = 0 ;
18889 char *kwnames[] = {
18890 (char *) "self", NULL
18891 };
18892
18893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
18894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18895 {
18896 PyThreadState* __tstate = wxPyBeginAllowThreads();
18897 (arg1)->base_OnEndDocument();
18898
18899 wxPyEndAllowThreads(__tstate);
18900 if (PyErr_Occurred()) SWIG_fail;
18901 }
18902 Py_INCREF(Py_None); resultobj = Py_None;
18903 return resultobj;
18904 fail:
18905 return NULL;
18906 }
18907
18908
18909 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18910 PyObject *resultobj;
18911 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18912 PyObject * obj0 = 0 ;
18913 char *kwnames[] = {
18914 (char *) "self", NULL
18915 };
18916
18917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
18918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18919 {
18920 PyThreadState* __tstate = wxPyBeginAllowThreads();
18921 (arg1)->base_OnBeginPrinting();
18922
18923 wxPyEndAllowThreads(__tstate);
18924 if (PyErr_Occurred()) SWIG_fail;
18925 }
18926 Py_INCREF(Py_None); resultobj = Py_None;
18927 return resultobj;
18928 fail:
18929 return NULL;
18930 }
18931
18932
18933 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18934 PyObject *resultobj;
18935 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18936 PyObject * obj0 = 0 ;
18937 char *kwnames[] = {
18938 (char *) "self", NULL
18939 };
18940
18941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
18942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18943 {
18944 PyThreadState* __tstate = wxPyBeginAllowThreads();
18945 (arg1)->base_OnEndPrinting();
18946
18947 wxPyEndAllowThreads(__tstate);
18948 if (PyErr_Occurred()) SWIG_fail;
18949 }
18950 Py_INCREF(Py_None); resultobj = Py_None;
18951 return resultobj;
18952 fail:
18953 return NULL;
18954 }
18955
18956
18957 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18958 PyObject *resultobj;
18959 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18960 PyObject * obj0 = 0 ;
18961 char *kwnames[] = {
18962 (char *) "self", NULL
18963 };
18964
18965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
18966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18967 {
18968 PyThreadState* __tstate = wxPyBeginAllowThreads();
18969 (arg1)->base_OnPreparePrinting();
18970
18971 wxPyEndAllowThreads(__tstate);
18972 if (PyErr_Occurred()) SWIG_fail;
18973 }
18974 Py_INCREF(Py_None); resultobj = Py_None;
18975 return resultobj;
18976 fail:
18977 return NULL;
18978 }
18979
18980
18981 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18982 PyObject *resultobj;
18983 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18984 int arg2 ;
18985 bool result;
18986 PyObject * obj0 = 0 ;
18987 char *kwnames[] = {
18988 (char *) "self",(char *) "page", NULL
18989 };
18990
18991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Printout_base_HasPage",kwnames,&obj0,&arg2)) goto fail;
18992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18993 {
18994 PyThreadState* __tstate = wxPyBeginAllowThreads();
18995 result = (bool)(arg1)->base_HasPage(arg2);
18996
18997 wxPyEndAllowThreads(__tstate);
18998 if (PyErr_Occurred()) SWIG_fail;
18999 }
19000 resultobj = PyInt_FromLong((long)result);
19001 return resultobj;
19002 fail:
19003 return NULL;
19004 }
19005
19006
19007 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19008 PyObject *resultobj;
19009 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19010 int *arg2 = (int *) 0 ;
19011 int *arg3 = (int *) 0 ;
19012 int *arg4 = (int *) 0 ;
19013 int *arg5 = (int *) 0 ;
19014 int temp2 ;
19015 int temp3 ;
19016 int temp4 ;
19017 int temp5 ;
19018 PyObject * obj0 = 0 ;
19019 char *kwnames[] = {
19020 (char *) "self", NULL
19021 };
19022
19023 arg2 = &temp2;
19024 arg3 = &temp3;
19025 arg4 = &temp4;
19026 arg5 = &temp5;
19027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
19028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19029 {
19030 PyThreadState* __tstate = wxPyBeginAllowThreads();
19031 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
19032
19033 wxPyEndAllowThreads(__tstate);
19034 if (PyErr_Occurred()) SWIG_fail;
19035 }
19036 Py_INCREF(Py_None); resultobj = Py_None;
19037 {
19038 PyObject *o = PyInt_FromLong((long) (*arg2));
19039 resultobj = t_output_helper(resultobj,o);
19040 }
19041 {
19042 PyObject *o = PyInt_FromLong((long) (*arg3));
19043 resultobj = t_output_helper(resultobj,o);
19044 }
19045 {
19046 PyObject *o = PyInt_FromLong((long) (*arg4));
19047 resultobj = t_output_helper(resultobj,o);
19048 }
19049 {
19050 PyObject *o = PyInt_FromLong((long) (*arg5));
19051 resultobj = t_output_helper(resultobj,o);
19052 }
19053 return resultobj;
19054 fail:
19055 return NULL;
19056 }
19057
19058
19059 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
19060 PyObject *obj;
19061 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19062 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
19063 Py_INCREF(obj);
19064 return Py_BuildValue((char *)"");
19065 }
19066 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19067 PyObject *resultobj;
19068 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19069 wxWindow *arg2 = (wxWindow *) 0 ;
19070 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19071 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19072 wxSize const &arg4_defvalue = wxDefaultSize ;
19073 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19074 long arg5 = (long) 0 ;
19075 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
19076 wxString *arg6 = (wxString *) &arg6_defvalue ;
19077 wxPreviewCanvas *result;
19078 wxPoint temp3 ;
19079 wxSize temp4 ;
19080 bool temp6 = False ;
19081 PyObject * obj0 = 0 ;
19082 PyObject * obj1 = 0 ;
19083 PyObject * obj2 = 0 ;
19084 PyObject * obj3 = 0 ;
19085 PyObject * obj5 = 0 ;
19086 char *kwnames[] = {
19087 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19088 };
19089
19090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
19091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19092 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19093 if (obj2) {
19094 {
19095 arg3 = &temp3;
19096 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19097 }
19098 }
19099 if (obj3) {
19100 {
19101 arg4 = &temp4;
19102 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19103 }
19104 }
19105 if (obj5) {
19106 {
19107 arg6 = wxString_in_helper(obj5);
19108 if (arg6 == NULL) SWIG_fail;
19109 temp6 = True;
19110 }
19111 }
19112 {
19113 PyThreadState* __tstate = wxPyBeginAllowThreads();
19114 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19115
19116 wxPyEndAllowThreads(__tstate);
19117 if (PyErr_Occurred()) SWIG_fail;
19118 }
19119 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 1);
19120 {
19121 if (temp6)
19122 delete arg6;
19123 }
19124 return resultobj;
19125 fail:
19126 {
19127 if (temp6)
19128 delete arg6;
19129 }
19130 return NULL;
19131 }
19132
19133
19134 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
19135 PyObject *obj;
19136 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19137 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
19138 Py_INCREF(obj);
19139 return Py_BuildValue((char *)"");
19140 }
19141 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19142 PyObject *resultobj;
19143 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19144 wxFrame *arg2 = (wxFrame *) 0 ;
19145 wxString *arg3 = 0 ;
19146 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19147 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19148 wxSize const &arg5_defvalue = wxDefaultSize ;
19149 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19150 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
19151 wxString const &arg7_defvalue = wxPyFrameNameStr ;
19152 wxString *arg7 = (wxString *) &arg7_defvalue ;
19153 wxPreviewFrame *result;
19154 bool temp3 = False ;
19155 wxPoint temp4 ;
19156 wxSize temp5 ;
19157 bool temp7 = False ;
19158 PyObject * obj0 = 0 ;
19159 PyObject * obj1 = 0 ;
19160 PyObject * obj2 = 0 ;
19161 PyObject * obj3 = 0 ;
19162 PyObject * obj4 = 0 ;
19163 PyObject * obj6 = 0 ;
19164 char *kwnames[] = {
19165 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19166 };
19167
19168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
19169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19170 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19171 {
19172 arg3 = wxString_in_helper(obj2);
19173 if (arg3 == NULL) SWIG_fail;
19174 temp3 = True;
19175 }
19176 if (obj3) {
19177 {
19178 arg4 = &temp4;
19179 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19180 }
19181 }
19182 if (obj4) {
19183 {
19184 arg5 = &temp5;
19185 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19186 }
19187 }
19188 if (obj6) {
19189 {
19190 arg7 = wxString_in_helper(obj6);
19191 if (arg7 == NULL) SWIG_fail;
19192 temp7 = True;
19193 }
19194 }
19195 {
19196 PyThreadState* __tstate = wxPyBeginAllowThreads();
19197 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19198
19199 wxPyEndAllowThreads(__tstate);
19200 if (PyErr_Occurred()) SWIG_fail;
19201 }
19202 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewFrame, 1);
19203 {
19204 if (temp3)
19205 delete arg3;
19206 }
19207 {
19208 if (temp7)
19209 delete arg7;
19210 }
19211 return resultobj;
19212 fail:
19213 {
19214 if (temp3)
19215 delete arg3;
19216 }
19217 {
19218 if (temp7)
19219 delete arg7;
19220 }
19221 return NULL;
19222 }
19223
19224
19225 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
19226 PyObject *resultobj;
19227 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19228 PyObject * obj0 = 0 ;
19229 char *kwnames[] = {
19230 (char *) "self", NULL
19231 };
19232
19233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
19234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19235 {
19236 PyThreadState* __tstate = wxPyBeginAllowThreads();
19237 (arg1)->Initialize();
19238
19239 wxPyEndAllowThreads(__tstate);
19240 if (PyErr_Occurred()) SWIG_fail;
19241 }
19242 Py_INCREF(Py_None); resultobj = Py_None;
19243 return resultobj;
19244 fail:
19245 return NULL;
19246 }
19247
19248
19249 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19250 PyObject *resultobj;
19251 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19252 PyObject * obj0 = 0 ;
19253 char *kwnames[] = {
19254 (char *) "self", NULL
19255 };
19256
19257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
19258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19259 {
19260 PyThreadState* __tstate = wxPyBeginAllowThreads();
19261 (arg1)->CreateControlBar();
19262
19263 wxPyEndAllowThreads(__tstate);
19264 if (PyErr_Occurred()) SWIG_fail;
19265 }
19266 Py_INCREF(Py_None); resultobj = Py_None;
19267 return resultobj;
19268 fail:
19269 return NULL;
19270 }
19271
19272
19273 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19274 PyObject *resultobj;
19275 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19276 PyObject * obj0 = 0 ;
19277 char *kwnames[] = {
19278 (char *) "self", NULL
19279 };
19280
19281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
19282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19283 {
19284 PyThreadState* __tstate = wxPyBeginAllowThreads();
19285 (arg1)->CreateCanvas();
19286
19287 wxPyEndAllowThreads(__tstate);
19288 if (PyErr_Occurred()) SWIG_fail;
19289 }
19290 Py_INCREF(Py_None); resultobj = Py_None;
19291 return resultobj;
19292 fail:
19293 return NULL;
19294 }
19295
19296
19297 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19298 PyObject *resultobj;
19299 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19300 wxPreviewControlBar *result;
19301 PyObject * obj0 = 0 ;
19302 char *kwnames[] = {
19303 (char *) "self", NULL
19304 };
19305
19306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
19307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19308 {
19309 PyThreadState* __tstate = wxPyBeginAllowThreads();
19310 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
19311
19312 wxPyEndAllowThreads(__tstate);
19313 if (PyErr_Occurred()) SWIG_fail;
19314 }
19315 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 0);
19316 return resultobj;
19317 fail:
19318 return NULL;
19319 }
19320
19321
19322 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
19323 PyObject *obj;
19324 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19325 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
19326 Py_INCREF(obj);
19327 return Py_BuildValue((char *)"");
19328 }
19329 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19330 PyObject *resultobj;
19331 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19332 long arg2 ;
19333 wxWindow *arg3 = (wxWindow *) 0 ;
19334 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19335 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19336 wxSize const &arg5_defvalue = wxDefaultSize ;
19337 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19338 long arg6 = (long) wxTAB_TRAVERSAL ;
19339 wxString const &arg7_defvalue = wxPyPanelNameStr ;
19340 wxString *arg7 = (wxString *) &arg7_defvalue ;
19341 wxPreviewControlBar *result;
19342 wxPoint temp4 ;
19343 wxSize temp5 ;
19344 bool temp7 = False ;
19345 PyObject * obj0 = 0 ;
19346 PyObject * obj2 = 0 ;
19347 PyObject * obj3 = 0 ;
19348 PyObject * obj4 = 0 ;
19349 PyObject * obj6 = 0 ;
19350 char *kwnames[] = {
19351 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19352 };
19353
19354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
19355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19356 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19357 if (obj3) {
19358 {
19359 arg4 = &temp4;
19360 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19361 }
19362 }
19363 if (obj4) {
19364 {
19365 arg5 = &temp5;
19366 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19367 }
19368 }
19369 if (obj6) {
19370 {
19371 arg7 = wxString_in_helper(obj6);
19372 if (arg7 == NULL) SWIG_fail;
19373 temp7 = True;
19374 }
19375 }
19376 {
19377 PyThreadState* __tstate = wxPyBeginAllowThreads();
19378 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19379
19380 wxPyEndAllowThreads(__tstate);
19381 if (PyErr_Occurred()) SWIG_fail;
19382 }
19383 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 1);
19384 {
19385 if (temp7)
19386 delete arg7;
19387 }
19388 return resultobj;
19389 fail:
19390 {
19391 if (temp7)
19392 delete arg7;
19393 }
19394 return NULL;
19395 }
19396
19397
19398 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19399 PyObject *resultobj;
19400 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19401 int result;
19402 PyObject * obj0 = 0 ;
19403 char *kwnames[] = {
19404 (char *) "self", NULL
19405 };
19406
19407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
19408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19409 {
19410 PyThreadState* __tstate = wxPyBeginAllowThreads();
19411 result = (int)(arg1)->GetZoomControl();
19412
19413 wxPyEndAllowThreads(__tstate);
19414 if (PyErr_Occurred()) SWIG_fail;
19415 }
19416 resultobj = PyInt_FromLong((long)result);
19417 return resultobj;
19418 fail:
19419 return NULL;
19420 }
19421
19422
19423 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19424 PyObject *resultobj;
19425 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19426 int arg2 ;
19427 PyObject * obj0 = 0 ;
19428 char *kwnames[] = {
19429 (char *) "self",(char *) "zoom", NULL
19430 };
19431
19432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PreviewControlBar_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
19433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19434 {
19435 PyThreadState* __tstate = wxPyBeginAllowThreads();
19436 (arg1)->SetZoomControl(arg2);
19437
19438 wxPyEndAllowThreads(__tstate);
19439 if (PyErr_Occurred()) SWIG_fail;
19440 }
19441 Py_INCREF(Py_None); resultobj = Py_None;
19442 return resultobj;
19443 fail:
19444 return NULL;
19445 }
19446
19447
19448 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19449 PyObject *resultobj;
19450 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19451 wxPrintPreview *result;
19452 PyObject * obj0 = 0 ;
19453 char *kwnames[] = {
19454 (char *) "self", NULL
19455 };
19456
19457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
19458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19459 {
19460 PyThreadState* __tstate = wxPyBeginAllowThreads();
19461 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
19462
19463 wxPyEndAllowThreads(__tstate);
19464 if (PyErr_Occurred()) SWIG_fail;
19465 }
19466 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 0);
19467 return resultobj;
19468 fail:
19469 return NULL;
19470 }
19471
19472
19473 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
19474 PyObject *resultobj;
19475 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19476 PyObject * obj0 = 0 ;
19477 char *kwnames[] = {
19478 (char *) "self", NULL
19479 };
19480
19481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
19482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19483 {
19484 PyThreadState* __tstate = wxPyBeginAllowThreads();
19485 (arg1)->OnNext();
19486
19487 wxPyEndAllowThreads(__tstate);
19488 if (PyErr_Occurred()) SWIG_fail;
19489 }
19490 Py_INCREF(Py_None); resultobj = Py_None;
19491 return resultobj;
19492 fail:
19493 return NULL;
19494 }
19495
19496
19497 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
19498 PyObject *resultobj;
19499 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19500 PyObject * obj0 = 0 ;
19501 char *kwnames[] = {
19502 (char *) "self", NULL
19503 };
19504
19505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
19506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19507 {
19508 PyThreadState* __tstate = wxPyBeginAllowThreads();
19509 (arg1)->OnPrevious();
19510
19511 wxPyEndAllowThreads(__tstate);
19512 if (PyErr_Occurred()) SWIG_fail;
19513 }
19514 Py_INCREF(Py_None); resultobj = Py_None;
19515 return resultobj;
19516 fail:
19517 return NULL;
19518 }
19519
19520
19521 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
19522 PyObject *resultobj;
19523 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19524 PyObject * obj0 = 0 ;
19525 char *kwnames[] = {
19526 (char *) "self", NULL
19527 };
19528
19529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
19530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19531 {
19532 PyThreadState* __tstate = wxPyBeginAllowThreads();
19533 (arg1)->OnFirst();
19534
19535 wxPyEndAllowThreads(__tstate);
19536 if (PyErr_Occurred()) SWIG_fail;
19537 }
19538 Py_INCREF(Py_None); resultobj = Py_None;
19539 return resultobj;
19540 fail:
19541 return NULL;
19542 }
19543
19544
19545 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
19546 PyObject *resultobj;
19547 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19548 PyObject * obj0 = 0 ;
19549 char *kwnames[] = {
19550 (char *) "self", NULL
19551 };
19552
19553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
19554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19555 {
19556 PyThreadState* __tstate = wxPyBeginAllowThreads();
19557 (arg1)->OnLast();
19558
19559 wxPyEndAllowThreads(__tstate);
19560 if (PyErr_Occurred()) SWIG_fail;
19561 }
19562 Py_INCREF(Py_None); resultobj = Py_None;
19563 return resultobj;
19564 fail:
19565 return NULL;
19566 }
19567
19568
19569 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
19570 PyObject *resultobj;
19571 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19572 PyObject * obj0 = 0 ;
19573 char *kwnames[] = {
19574 (char *) "self", NULL
19575 };
19576
19577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
19578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19579 {
19580 PyThreadState* __tstate = wxPyBeginAllowThreads();
19581 (arg1)->OnGoto();
19582
19583 wxPyEndAllowThreads(__tstate);
19584 if (PyErr_Occurred()) SWIG_fail;
19585 }
19586 Py_INCREF(Py_None); resultobj = Py_None;
19587 return resultobj;
19588 fail:
19589 return NULL;
19590 }
19591
19592
19593 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
19594 PyObject *obj;
19595 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19596 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
19597 Py_INCREF(obj);
19598 return Py_BuildValue((char *)"");
19599 }
19600 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19601 PyObject *resultobj;
19602 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19603 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19604 wxPrintData *arg3 = (wxPrintData *) NULL ;
19605 wxPrintPreview *result;
19606 PyObject * obj0 = 0 ;
19607 PyObject * obj1 = 0 ;
19608 PyObject * obj2 = 0 ;
19609 char *kwnames[] = {
19610 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19611 };
19612
19613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
19614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19615 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19616 if (obj2) {
19617 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19618 }
19619 {
19620 PyThreadState* __tstate = wxPyBeginAllowThreads();
19621 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
19622
19623 wxPyEndAllowThreads(__tstate);
19624 if (PyErr_Occurred()) SWIG_fail;
19625 }
19626 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 1);
19627 return resultobj;
19628 fail:
19629 return NULL;
19630 }
19631
19632
19633 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19634 PyObject *resultobj;
19635 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19636 int arg2 ;
19637 bool result;
19638 PyObject * obj0 = 0 ;
19639 char *kwnames[] = {
19640 (char *) "self",(char *) "pageNum", NULL
19641 };
19642
19643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
19644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19645 {
19646 PyThreadState* __tstate = wxPyBeginAllowThreads();
19647 result = (bool)(arg1)->SetCurrentPage(arg2);
19648
19649 wxPyEndAllowThreads(__tstate);
19650 if (PyErr_Occurred()) SWIG_fail;
19651 }
19652 resultobj = PyInt_FromLong((long)result);
19653 return resultobj;
19654 fail:
19655 return NULL;
19656 }
19657
19658
19659 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19660 PyObject *resultobj;
19661 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19662 int result;
19663 PyObject * obj0 = 0 ;
19664 char *kwnames[] = {
19665 (char *) "self", NULL
19666 };
19667
19668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
19669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19670 {
19671 PyThreadState* __tstate = wxPyBeginAllowThreads();
19672 result = (int)(arg1)->GetCurrentPage();
19673
19674 wxPyEndAllowThreads(__tstate);
19675 if (PyErr_Occurred()) SWIG_fail;
19676 }
19677 resultobj = PyInt_FromLong((long)result);
19678 return resultobj;
19679 fail:
19680 return NULL;
19681 }
19682
19683
19684 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19685 PyObject *resultobj;
19686 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19687 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19688 PyObject * obj0 = 0 ;
19689 PyObject * obj1 = 0 ;
19690 char *kwnames[] = {
19691 (char *) "self",(char *) "printout", NULL
19692 };
19693
19694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
19695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19696 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19697 {
19698 PyThreadState* __tstate = wxPyBeginAllowThreads();
19699 (arg1)->SetPrintout(arg2);
19700
19701 wxPyEndAllowThreads(__tstate);
19702 if (PyErr_Occurred()) SWIG_fail;
19703 }
19704 Py_INCREF(Py_None); resultobj = Py_None;
19705 return resultobj;
19706 fail:
19707 return NULL;
19708 }
19709
19710
19711 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19712 PyObject *resultobj;
19713 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19714 wxPyPrintout *result;
19715 PyObject * obj0 = 0 ;
19716 char *kwnames[] = {
19717 (char *) "self", NULL
19718 };
19719
19720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
19721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19722 {
19723 PyThreadState* __tstate = wxPyBeginAllowThreads();
19724 result = (wxPyPrintout *)(arg1)->GetPrintout();
19725
19726 wxPyEndAllowThreads(__tstate);
19727 if (PyErr_Occurred()) SWIG_fail;
19728 }
19729 {
19730 resultobj = wxPyMake_wxObject(result);
19731 }
19732 return resultobj;
19733 fail:
19734 return NULL;
19735 }
19736
19737
19738 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
19739 PyObject *resultobj;
19740 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19741 wxPyPrintout *result;
19742 PyObject * obj0 = 0 ;
19743 char *kwnames[] = {
19744 (char *) "self", NULL
19745 };
19746
19747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
19748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19749 {
19750 PyThreadState* __tstate = wxPyBeginAllowThreads();
19751 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
19752
19753 wxPyEndAllowThreads(__tstate);
19754 if (PyErr_Occurred()) SWIG_fail;
19755 }
19756 {
19757 resultobj = wxPyMake_wxObject(result);
19758 }
19759 return resultobj;
19760 fail:
19761 return NULL;
19762 }
19763
19764
19765 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19766 PyObject *resultobj;
19767 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19768 wxFrame *arg2 = (wxFrame *) 0 ;
19769 PyObject * obj0 = 0 ;
19770 PyObject * obj1 = 0 ;
19771 char *kwnames[] = {
19772 (char *) "self",(char *) "frame", NULL
19773 };
19774
19775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
19776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19777 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19778 {
19779 PyThreadState* __tstate = wxPyBeginAllowThreads();
19780 (arg1)->SetFrame(arg2);
19781
19782 wxPyEndAllowThreads(__tstate);
19783 if (PyErr_Occurred()) SWIG_fail;
19784 }
19785 Py_INCREF(Py_None); resultobj = Py_None;
19786 return resultobj;
19787 fail:
19788 return NULL;
19789 }
19790
19791
19792 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19793 PyObject *resultobj;
19794 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19795 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19796 PyObject * obj0 = 0 ;
19797 PyObject * obj1 = 0 ;
19798 char *kwnames[] = {
19799 (char *) "self",(char *) "canvas", NULL
19800 };
19801
19802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
19803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19804 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19805 {
19806 PyThreadState* __tstate = wxPyBeginAllowThreads();
19807 (arg1)->SetCanvas(arg2);
19808
19809 wxPyEndAllowThreads(__tstate);
19810 if (PyErr_Occurred()) SWIG_fail;
19811 }
19812 Py_INCREF(Py_None); resultobj = Py_None;
19813 return resultobj;
19814 fail:
19815 return NULL;
19816 }
19817
19818
19819 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19820 PyObject *resultobj;
19821 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19822 wxFrame *result;
19823 PyObject * obj0 = 0 ;
19824 char *kwnames[] = {
19825 (char *) "self", NULL
19826 };
19827
19828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
19829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19830 {
19831 PyThreadState* __tstate = wxPyBeginAllowThreads();
19832 result = (wxFrame *)(arg1)->GetFrame();
19833
19834 wxPyEndAllowThreads(__tstate);
19835 if (PyErr_Occurred()) SWIG_fail;
19836 }
19837 {
19838 resultobj = wxPyMake_wxObject(result);
19839 }
19840 return resultobj;
19841 fail:
19842 return NULL;
19843 }
19844
19845
19846 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19847 PyObject *resultobj;
19848 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19849 wxPreviewCanvas *result;
19850 PyObject * obj0 = 0 ;
19851 char *kwnames[] = {
19852 (char *) "self", NULL
19853 };
19854
19855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
19856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19857 {
19858 PyThreadState* __tstate = wxPyBeginAllowThreads();
19859 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
19860
19861 wxPyEndAllowThreads(__tstate);
19862 if (PyErr_Occurred()) SWIG_fail;
19863 }
19864 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 0);
19865 return resultobj;
19866 fail:
19867 return NULL;
19868 }
19869
19870
19871 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19872 PyObject *resultobj;
19873 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19874 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19875 wxDC *arg3 = 0 ;
19876 bool result;
19877 PyObject * obj0 = 0 ;
19878 PyObject * obj1 = 0 ;
19879 PyObject * obj2 = 0 ;
19880 char *kwnames[] = {
19881 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19882 };
19883
19884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
19885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19886 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19887 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19888 if (arg3 == NULL) {
19889 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19890 }
19891 {
19892 PyThreadState* __tstate = wxPyBeginAllowThreads();
19893 result = (bool)(arg1)->PaintPage(arg2,*arg3);
19894
19895 wxPyEndAllowThreads(__tstate);
19896 if (PyErr_Occurred()) SWIG_fail;
19897 }
19898 resultobj = PyInt_FromLong((long)result);
19899 return resultobj;
19900 fail:
19901 return NULL;
19902 }
19903
19904
19905 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19906 PyObject *resultobj;
19907 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19908 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19909 wxDC *arg3 = 0 ;
19910 bool result;
19911 PyObject * obj0 = 0 ;
19912 PyObject * obj1 = 0 ;
19913 PyObject * obj2 = 0 ;
19914 char *kwnames[] = {
19915 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19916 };
19917
19918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
19919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19920 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19921 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19922 if (arg3 == NULL) {
19923 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19924 }
19925 {
19926 PyThreadState* __tstate = wxPyBeginAllowThreads();
19927 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
19928
19929 wxPyEndAllowThreads(__tstate);
19930 if (PyErr_Occurred()) SWIG_fail;
19931 }
19932 resultobj = PyInt_FromLong((long)result);
19933 return resultobj;
19934 fail:
19935 return NULL;
19936 }
19937
19938
19939 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19940 PyObject *resultobj;
19941 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19942 int arg2 ;
19943 bool result;
19944 PyObject * obj0 = 0 ;
19945 char *kwnames[] = {
19946 (char *) "self",(char *) "pageNum", NULL
19947 };
19948
19949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_RenderPage",kwnames,&obj0,&arg2)) goto fail;
19950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19951 {
19952 PyThreadState* __tstate = wxPyBeginAllowThreads();
19953 result = (bool)(arg1)->RenderPage(arg2);
19954
19955 wxPyEndAllowThreads(__tstate);
19956 if (PyErr_Occurred()) SWIG_fail;
19957 }
19958 resultobj = PyInt_FromLong((long)result);
19959 return resultobj;
19960 fail:
19961 return NULL;
19962 }
19963
19964
19965 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
19966 PyObject *resultobj;
19967 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19968 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19969 PyObject * obj0 = 0 ;
19970 PyObject * obj1 = 0 ;
19971 char *kwnames[] = {
19972 (char *) "self",(char *) "canvas", NULL
19973 };
19974
19975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
19976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19977 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19978 {
19979 PyThreadState* __tstate = wxPyBeginAllowThreads();
19980 (arg1)->AdjustScrollbars(arg2);
19981
19982 wxPyEndAllowThreads(__tstate);
19983 if (PyErr_Occurred()) SWIG_fail;
19984 }
19985 Py_INCREF(Py_None); resultobj = Py_None;
19986 return resultobj;
19987 fail:
19988 return NULL;
19989 }
19990
19991
19992 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19993 PyObject *resultobj;
19994 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19995 wxPrintDialogData *result;
19996 PyObject * obj0 = 0 ;
19997 char *kwnames[] = {
19998 (char *) "self", NULL
19999 };
20000
20001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
20002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20003 {
20004 PyThreadState* __tstate = wxPyBeginAllowThreads();
20005 {
20006 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
20007 result = (wxPrintDialogData *) &_result_ref;
20008 }
20009
20010 wxPyEndAllowThreads(__tstate);
20011 if (PyErr_Occurred()) SWIG_fail;
20012 }
20013 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
20014 return resultobj;
20015 fail:
20016 return NULL;
20017 }
20018
20019
20020 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20021 PyObject *resultobj;
20022 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20023 int arg2 ;
20024 PyObject * obj0 = 0 ;
20025 char *kwnames[] = {
20026 (char *) "self",(char *) "percent", NULL
20027 };
20028
20029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetZoom",kwnames,&obj0,&arg2)) goto fail;
20030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20031 {
20032 PyThreadState* __tstate = wxPyBeginAllowThreads();
20033 (arg1)->SetZoom(arg2);
20034
20035 wxPyEndAllowThreads(__tstate);
20036 if (PyErr_Occurred()) SWIG_fail;
20037 }
20038 Py_INCREF(Py_None); resultobj = Py_None;
20039 return resultobj;
20040 fail:
20041 return NULL;
20042 }
20043
20044
20045 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20046 PyObject *resultobj;
20047 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20048 int result;
20049 PyObject * obj0 = 0 ;
20050 char *kwnames[] = {
20051 (char *) "self", NULL
20052 };
20053
20054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
20055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20056 {
20057 PyThreadState* __tstate = wxPyBeginAllowThreads();
20058 result = (int)(arg1)->GetZoom();
20059
20060 wxPyEndAllowThreads(__tstate);
20061 if (PyErr_Occurred()) SWIG_fail;
20062 }
20063 resultobj = PyInt_FromLong((long)result);
20064 return resultobj;
20065 fail:
20066 return NULL;
20067 }
20068
20069
20070 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20071 PyObject *resultobj;
20072 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20073 int result;
20074 PyObject * obj0 = 0 ;
20075 char *kwnames[] = {
20076 (char *) "self", NULL
20077 };
20078
20079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
20080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20081 {
20082 PyThreadState* __tstate = wxPyBeginAllowThreads();
20083 result = (int)(arg1)->GetMaxPage();
20084
20085 wxPyEndAllowThreads(__tstate);
20086 if (PyErr_Occurred()) SWIG_fail;
20087 }
20088 resultobj = PyInt_FromLong((long)result);
20089 return resultobj;
20090 fail:
20091 return NULL;
20092 }
20093
20094
20095 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20096 PyObject *resultobj;
20097 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20098 int result;
20099 PyObject * obj0 = 0 ;
20100 char *kwnames[] = {
20101 (char *) "self", NULL
20102 };
20103
20104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
20105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20106 {
20107 PyThreadState* __tstate = wxPyBeginAllowThreads();
20108 result = (int)(arg1)->GetMinPage();
20109
20110 wxPyEndAllowThreads(__tstate);
20111 if (PyErr_Occurred()) SWIG_fail;
20112 }
20113 resultobj = PyInt_FromLong((long)result);
20114 return resultobj;
20115 fail:
20116 return NULL;
20117 }
20118
20119
20120 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
20121 PyObject *resultobj;
20122 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20123 bool result;
20124 PyObject * obj0 = 0 ;
20125 char *kwnames[] = {
20126 (char *) "self", NULL
20127 };
20128
20129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",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 result = (bool)(arg1)->Ok();
20134
20135 wxPyEndAllowThreads(__tstate);
20136 if (PyErr_Occurred()) SWIG_fail;
20137 }
20138 resultobj = PyInt_FromLong((long)result);
20139 return resultobj;
20140 fail:
20141 return NULL;
20142 }
20143
20144
20145 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
20146 PyObject *resultobj;
20147 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20148 bool arg2 ;
20149 PyObject * obj0 = 0 ;
20150 PyObject * obj1 = 0 ;
20151 char *kwnames[] = {
20152 (char *) "self",(char *) "ok", NULL
20153 };
20154
20155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
20156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20157 arg2 = PyInt_AsLong(obj1) ? true : false;
20158 if (PyErr_Occurred()) SWIG_fail;
20159 {
20160 PyThreadState* __tstate = wxPyBeginAllowThreads();
20161 (arg1)->SetOk(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_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
20174 PyObject *resultobj;
20175 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20176 bool arg2 ;
20177 bool result;
20178 PyObject * obj0 = 0 ;
20179 PyObject * obj1 = 0 ;
20180 char *kwnames[] = {
20181 (char *) "self",(char *) "interactive", NULL
20182 };
20183
20184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
20185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20186 arg2 = PyInt_AsLong(obj1) ? true : false;
20187 if (PyErr_Occurred()) SWIG_fail;
20188 {
20189 PyThreadState* __tstate = wxPyBeginAllowThreads();
20190 result = (bool)(arg1)->Print(arg2);
20191
20192 wxPyEndAllowThreads(__tstate);
20193 if (PyErr_Occurred()) SWIG_fail;
20194 }
20195 resultobj = PyInt_FromLong((long)result);
20196 return resultobj;
20197 fail:
20198 return NULL;
20199 }
20200
20201
20202 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
20203 PyObject *resultobj;
20204 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20205 PyObject * obj0 = 0 ;
20206 char *kwnames[] = {
20207 (char *) "self", NULL
20208 };
20209
20210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
20211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20212 {
20213 PyThreadState* __tstate = wxPyBeginAllowThreads();
20214 (arg1)->DetermineScaling();
20215
20216 wxPyEndAllowThreads(__tstate);
20217 if (PyErr_Occurred()) SWIG_fail;
20218 }
20219 Py_INCREF(Py_None); resultobj = Py_None;
20220 return resultobj;
20221 fail:
20222 return NULL;
20223 }
20224
20225
20226 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
20227 PyObject *obj;
20228 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20229 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
20230 Py_INCREF(obj);
20231 return Py_BuildValue((char *)"");
20232 }
20233 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20234 PyObject *resultobj;
20235 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20236 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
20237 wxPrintData *arg3 = (wxPrintData *) NULL ;
20238 wxPyPrintPreview *result;
20239 PyObject * obj0 = 0 ;
20240 PyObject * obj1 = 0 ;
20241 PyObject * obj2 = 0 ;
20242 char *kwnames[] = {
20243 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
20244 };
20245
20246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PyPrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
20247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20248 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20249 if (obj2) {
20250 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20251 }
20252 {
20253 PyThreadState* __tstate = wxPyBeginAllowThreads();
20254 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
20255
20256 wxPyEndAllowThreads(__tstate);
20257 if (PyErr_Occurred()) SWIG_fail;
20258 }
20259 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPrintPreview, 1);
20260 return resultobj;
20261 fail:
20262 return NULL;
20263 }
20264
20265
20266 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20267 PyObject *resultobj;
20268 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20269 PyObject *arg2 = (PyObject *) 0 ;
20270 PyObject *arg3 = (PyObject *) 0 ;
20271 PyObject * obj0 = 0 ;
20272 PyObject * obj1 = 0 ;
20273 PyObject * obj2 = 0 ;
20274 char *kwnames[] = {
20275 (char *) "self",(char *) "self",(char *) "_class", NULL
20276 };
20277
20278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20280 arg2 = obj1;
20281 arg3 = obj2;
20282 {
20283 PyThreadState* __tstate = wxPyBeginAllowThreads();
20284 (arg1)->_setCallbackInfo(arg2,arg3);
20285
20286 wxPyEndAllowThreads(__tstate);
20287 if (PyErr_Occurred()) SWIG_fail;
20288 }
20289 Py_INCREF(Py_None); resultobj = Py_None;
20290 return resultobj;
20291 fail:
20292 return NULL;
20293 }
20294
20295
20296 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20297 PyObject *resultobj;
20298 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20299 int arg2 ;
20300 bool result;
20301 PyObject * obj0 = 0 ;
20302 char *kwnames[] = {
20303 (char *) "self",(char *) "pageNum", NULL
20304 };
20305
20306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
20307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20308 {
20309 PyThreadState* __tstate = wxPyBeginAllowThreads();
20310 result = (bool)(arg1)->base_SetCurrentPage(arg2);
20311
20312 wxPyEndAllowThreads(__tstate);
20313 if (PyErr_Occurred()) SWIG_fail;
20314 }
20315 resultobj = PyInt_FromLong((long)result);
20316 return resultobj;
20317 fail:
20318 return NULL;
20319 }
20320
20321
20322 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20323 PyObject *resultobj;
20324 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20325 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20326 wxDC *arg3 = 0 ;
20327 bool result;
20328 PyObject * obj0 = 0 ;
20329 PyObject * obj1 = 0 ;
20330 PyObject * obj2 = 0 ;
20331 char *kwnames[] = {
20332 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20333 };
20334
20335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20337 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20338 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20339 if (arg3 == NULL) {
20340 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20341 }
20342 {
20343 PyThreadState* __tstate = wxPyBeginAllowThreads();
20344 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
20345
20346 wxPyEndAllowThreads(__tstate);
20347 if (PyErr_Occurred()) SWIG_fail;
20348 }
20349 resultobj = PyInt_FromLong((long)result);
20350 return resultobj;
20351 fail:
20352 return NULL;
20353 }
20354
20355
20356 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20357 PyObject *resultobj;
20358 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20359 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20360 wxDC *arg3 = 0 ;
20361 bool result;
20362 PyObject * obj0 = 0 ;
20363 PyObject * obj1 = 0 ;
20364 PyObject * obj2 = 0 ;
20365 char *kwnames[] = {
20366 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20367 };
20368
20369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20371 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20372 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20373 if (arg3 == NULL) {
20374 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20375 }
20376 {
20377 PyThreadState* __tstate = wxPyBeginAllowThreads();
20378 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
20379
20380 wxPyEndAllowThreads(__tstate);
20381 if (PyErr_Occurred()) SWIG_fail;
20382 }
20383 resultobj = PyInt_FromLong((long)result);
20384 return resultobj;
20385 fail:
20386 return NULL;
20387 }
20388
20389
20390 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20391 PyObject *resultobj;
20392 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20393 int arg2 ;
20394 bool result;
20395 PyObject * obj0 = 0 ;
20396 char *kwnames[] = {
20397 (char *) "self",(char *) "pageNum", NULL
20398 };
20399
20400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_RenderPage",kwnames,&obj0,&arg2)) goto fail;
20401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20402 {
20403 PyThreadState* __tstate = wxPyBeginAllowThreads();
20404 result = (bool)(arg1)->base_RenderPage(arg2);
20405
20406 wxPyEndAllowThreads(__tstate);
20407 if (PyErr_Occurred()) SWIG_fail;
20408 }
20409 resultobj = PyInt_FromLong((long)result);
20410 return resultobj;
20411 fail:
20412 return NULL;
20413 }
20414
20415
20416 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20417 PyObject *resultobj;
20418 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20419 int arg2 ;
20420 PyObject * obj0 = 0 ;
20421 char *kwnames[] = {
20422 (char *) "self",(char *) "percent", NULL
20423 };
20424
20425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetZoom",kwnames,&obj0,&arg2)) goto fail;
20426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20427 {
20428 PyThreadState* __tstate = wxPyBeginAllowThreads();
20429 (arg1)->base_SetZoom(arg2);
20430
20431 wxPyEndAllowThreads(__tstate);
20432 if (PyErr_Occurred()) SWIG_fail;
20433 }
20434 Py_INCREF(Py_None); resultobj = Py_None;
20435 return resultobj;
20436 fail:
20437 return NULL;
20438 }
20439
20440
20441 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
20442 PyObject *resultobj;
20443 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20444 bool arg2 ;
20445 bool result;
20446 PyObject * obj0 = 0 ;
20447 PyObject * obj1 = 0 ;
20448 char *kwnames[] = {
20449 (char *) "self",(char *) "interactive", NULL
20450 };
20451
20452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
20453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20454 arg2 = PyInt_AsLong(obj1) ? true : false;
20455 if (PyErr_Occurred()) SWIG_fail;
20456 {
20457 PyThreadState* __tstate = wxPyBeginAllowThreads();
20458 result = (bool)(arg1)->base_Print(arg2);
20459
20460 wxPyEndAllowThreads(__tstate);
20461 if (PyErr_Occurred()) SWIG_fail;
20462 }
20463 resultobj = PyInt_FromLong((long)result);
20464 return resultobj;
20465 fail:
20466 return NULL;
20467 }
20468
20469
20470 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
20471 PyObject *resultobj;
20472 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20473 PyObject * obj0 = 0 ;
20474 char *kwnames[] = {
20475 (char *) "self", NULL
20476 };
20477
20478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
20479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20480 {
20481 PyThreadState* __tstate = wxPyBeginAllowThreads();
20482 (arg1)->base_DetermineScaling();
20483
20484 wxPyEndAllowThreads(__tstate);
20485 if (PyErr_Occurred()) SWIG_fail;
20486 }
20487 Py_INCREF(Py_None); resultobj = Py_None;
20488 return resultobj;
20489 fail:
20490 return NULL;
20491 }
20492
20493
20494 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
20495 PyObject *obj;
20496 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20497 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
20498 Py_INCREF(obj);
20499 return Py_BuildValue((char *)"");
20500 }
20501 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
20502 PyObject *resultobj;
20503 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20504 wxFrame *arg2 = (wxFrame *) 0 ;
20505 wxString *arg3 = 0 ;
20506 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20507 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20508 wxSize const &arg5_defvalue = wxDefaultSize ;
20509 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20510 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20511 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20512 wxString *arg7 = (wxString *) &arg7_defvalue ;
20513 wxPyPreviewFrame *result;
20514 bool temp3 = False ;
20515 wxPoint temp4 ;
20516 wxSize temp5 ;
20517 bool temp7 = False ;
20518 PyObject * obj0 = 0 ;
20519 PyObject * obj1 = 0 ;
20520 PyObject * obj2 = 0 ;
20521 PyObject * obj3 = 0 ;
20522 PyObject * obj4 = 0 ;
20523 PyObject * obj6 = 0 ;
20524 char *kwnames[] = {
20525 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20526 };
20527
20528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20530 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20531 {
20532 arg3 = wxString_in_helper(obj2);
20533 if (arg3 == NULL) SWIG_fail;
20534 temp3 = True;
20535 }
20536 if (obj3) {
20537 {
20538 arg4 = &temp4;
20539 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20540 }
20541 }
20542 if (obj4) {
20543 {
20544 arg5 = &temp5;
20545 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20546 }
20547 }
20548 if (obj6) {
20549 {
20550 arg7 = wxString_in_helper(obj6);
20551 if (arg7 == NULL) SWIG_fail;
20552 temp7 = True;
20553 }
20554 }
20555 {
20556 PyThreadState* __tstate = wxPyBeginAllowThreads();
20557 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20558
20559 wxPyEndAllowThreads(__tstate);
20560 if (PyErr_Occurred()) SWIG_fail;
20561 }
20562 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewFrame, 1);
20563 {
20564 if (temp3)
20565 delete arg3;
20566 }
20567 {
20568 if (temp7)
20569 delete arg7;
20570 }
20571 return resultobj;
20572 fail:
20573 {
20574 if (temp3)
20575 delete arg3;
20576 }
20577 {
20578 if (temp7)
20579 delete arg7;
20580 }
20581 return NULL;
20582 }
20583
20584
20585 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20586 PyObject *resultobj;
20587 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20588 PyObject *arg2 = (PyObject *) 0 ;
20589 PyObject *arg3 = (PyObject *) 0 ;
20590 PyObject * obj0 = 0 ;
20591 PyObject * obj1 = 0 ;
20592 PyObject * obj2 = 0 ;
20593 char *kwnames[] = {
20594 (char *) "self",(char *) "self",(char *) "_class", NULL
20595 };
20596
20597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20599 arg2 = obj1;
20600 arg3 = obj2;
20601 {
20602 PyThreadState* __tstate = wxPyBeginAllowThreads();
20603 (arg1)->_setCallbackInfo(arg2,arg3);
20604
20605 wxPyEndAllowThreads(__tstate);
20606 if (PyErr_Occurred()) SWIG_fail;
20607 }
20608 Py_INCREF(Py_None); resultobj = Py_None;
20609 return resultobj;
20610 fail:
20611 return NULL;
20612 }
20613
20614
20615 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20616 PyObject *resultobj;
20617 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20618 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20619 PyObject * obj0 = 0 ;
20620 PyObject * obj1 = 0 ;
20621 char *kwnames[] = {
20622 (char *) "self",(char *) "canvas", NULL
20623 };
20624
20625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
20626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20627 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20628 {
20629 PyThreadState* __tstate = wxPyBeginAllowThreads();
20630 (arg1)->SetPreviewCanvas(arg2);
20631
20632 wxPyEndAllowThreads(__tstate);
20633 if (PyErr_Occurred()) SWIG_fail;
20634 }
20635 Py_INCREF(Py_None); resultobj = Py_None;
20636 return resultobj;
20637 fail:
20638 return NULL;
20639 }
20640
20641
20642 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20643 PyObject *resultobj;
20644 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20645 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
20646 PyObject * obj0 = 0 ;
20647 PyObject * obj1 = 0 ;
20648 char *kwnames[] = {
20649 (char *) "self",(char *) "bar", NULL
20650 };
20651
20652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
20653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20654 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20655 {
20656 PyThreadState* __tstate = wxPyBeginAllowThreads();
20657 (arg1)->SetControlBar(arg2);
20658
20659 wxPyEndAllowThreads(__tstate);
20660 if (PyErr_Occurred()) SWIG_fail;
20661 }
20662 Py_INCREF(Py_None); resultobj = Py_None;
20663 return resultobj;
20664 fail:
20665 return NULL;
20666 }
20667
20668
20669 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
20670 PyObject *resultobj;
20671 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20672 PyObject * obj0 = 0 ;
20673 char *kwnames[] = {
20674 (char *) "self", NULL
20675 };
20676
20677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
20678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20679 {
20680 PyThreadState* __tstate = wxPyBeginAllowThreads();
20681 (arg1)->base_Initialize();
20682
20683 wxPyEndAllowThreads(__tstate);
20684 if (PyErr_Occurred()) SWIG_fail;
20685 }
20686 Py_INCREF(Py_None); resultobj = Py_None;
20687 return resultobj;
20688 fail:
20689 return NULL;
20690 }
20691
20692
20693 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20694 PyObject *resultobj;
20695 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20696 PyObject * obj0 = 0 ;
20697 char *kwnames[] = {
20698 (char *) "self", NULL
20699 };
20700
20701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
20702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20703 {
20704 PyThreadState* __tstate = wxPyBeginAllowThreads();
20705 (arg1)->base_CreateCanvas();
20706
20707 wxPyEndAllowThreads(__tstate);
20708 if (PyErr_Occurred()) SWIG_fail;
20709 }
20710 Py_INCREF(Py_None); resultobj = Py_None;
20711 return resultobj;
20712 fail:
20713 return NULL;
20714 }
20715
20716
20717 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20718 PyObject *resultobj;
20719 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20720 PyObject * obj0 = 0 ;
20721 char *kwnames[] = {
20722 (char *) "self", NULL
20723 };
20724
20725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
20726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20727 {
20728 PyThreadState* __tstate = wxPyBeginAllowThreads();
20729 (arg1)->base_CreateControlBar();
20730
20731 wxPyEndAllowThreads(__tstate);
20732 if (PyErr_Occurred()) SWIG_fail;
20733 }
20734 Py_INCREF(Py_None); resultobj = Py_None;
20735 return resultobj;
20736 fail:
20737 return NULL;
20738 }
20739
20740
20741 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
20742 PyObject *obj;
20743 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20744 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
20745 Py_INCREF(obj);
20746 return Py_BuildValue((char *)"");
20747 }
20748 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20749 PyObject *resultobj;
20750 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20751 long arg2 ;
20752 wxWindow *arg3 = (wxWindow *) 0 ;
20753 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20754 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20755 wxSize const &arg5_defvalue = wxDefaultSize ;
20756 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20757 long arg6 = (long) 0 ;
20758 wxString const &arg7_defvalue = wxPyPanelNameStr ;
20759 wxString *arg7 = (wxString *) &arg7_defvalue ;
20760 wxPyPreviewControlBar *result;
20761 wxPoint temp4 ;
20762 wxSize temp5 ;
20763 bool temp7 = False ;
20764 PyObject * obj0 = 0 ;
20765 PyObject * obj2 = 0 ;
20766 PyObject * obj3 = 0 ;
20767 PyObject * obj4 = 0 ;
20768 PyObject * obj6 = 0 ;
20769 char *kwnames[] = {
20770 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20771 };
20772
20773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PyPreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20775 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20776 if (obj3) {
20777 {
20778 arg4 = &temp4;
20779 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20780 }
20781 }
20782 if (obj4) {
20783 {
20784 arg5 = &temp5;
20785 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20786 }
20787 }
20788 if (obj6) {
20789 {
20790 arg7 = wxString_in_helper(obj6);
20791 if (arg7 == NULL) SWIG_fail;
20792 temp7 = True;
20793 }
20794 }
20795 {
20796 PyThreadState* __tstate = wxPyBeginAllowThreads();
20797 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20798
20799 wxPyEndAllowThreads(__tstate);
20800 if (PyErr_Occurred()) SWIG_fail;
20801 }
20802 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewControlBar, 1);
20803 {
20804 if (temp7)
20805 delete arg7;
20806 }
20807 return resultobj;
20808 fail:
20809 {
20810 if (temp7)
20811 delete arg7;
20812 }
20813 return NULL;
20814 }
20815
20816
20817 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20818 PyObject *resultobj;
20819 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20820 PyObject *arg2 = (PyObject *) 0 ;
20821 PyObject *arg3 = (PyObject *) 0 ;
20822 PyObject * obj0 = 0 ;
20823 PyObject * obj1 = 0 ;
20824 PyObject * obj2 = 0 ;
20825 char *kwnames[] = {
20826 (char *) "self",(char *) "self",(char *) "_class", NULL
20827 };
20828
20829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20831 arg2 = obj1;
20832 arg3 = obj2;
20833 {
20834 PyThreadState* __tstate = wxPyBeginAllowThreads();
20835 (arg1)->_setCallbackInfo(arg2,arg3);
20836
20837 wxPyEndAllowThreads(__tstate);
20838 if (PyErr_Occurred()) SWIG_fail;
20839 }
20840 Py_INCREF(Py_None); resultobj = Py_None;
20841 return resultobj;
20842 fail:
20843 return NULL;
20844 }
20845
20846
20847 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20848 PyObject *resultobj;
20849 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20850 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
20851 PyObject * obj0 = 0 ;
20852 PyObject * obj1 = 0 ;
20853 char *kwnames[] = {
20854 (char *) "self",(char *) "preview", NULL
20855 };
20856
20857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
20858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20859 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20860 {
20861 PyThreadState* __tstate = wxPyBeginAllowThreads();
20862 (arg1)->SetPrintPreview(arg2);
20863
20864 wxPyEndAllowThreads(__tstate);
20865 if (PyErr_Occurred()) SWIG_fail;
20866 }
20867 Py_INCREF(Py_None); resultobj = Py_None;
20868 return resultobj;
20869 fail:
20870 return NULL;
20871 }
20872
20873
20874 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
20875 PyObject *resultobj;
20876 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20877 PyObject * obj0 = 0 ;
20878 char *kwnames[] = {
20879 (char *) "self", NULL
20880 };
20881
20882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
20883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20884 {
20885 PyThreadState* __tstate = wxPyBeginAllowThreads();
20886 (arg1)->base_CreateButtons();
20887
20888 wxPyEndAllowThreads(__tstate);
20889 if (PyErr_Occurred()) SWIG_fail;
20890 }
20891 Py_INCREF(Py_None); resultobj = Py_None;
20892 return resultobj;
20893 fail:
20894 return NULL;
20895 }
20896
20897
20898 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
20899 PyObject *resultobj;
20900 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20901 int arg2 ;
20902 PyObject * obj0 = 0 ;
20903 char *kwnames[] = {
20904 (char *) "self",(char *) "zoom", NULL
20905 };
20906
20907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
20908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20909 {
20910 PyThreadState* __tstate = wxPyBeginAllowThreads();
20911 (arg1)->base_SetZoomControl(arg2);
20912
20913 wxPyEndAllowThreads(__tstate);
20914 if (PyErr_Occurred()) SWIG_fail;
20915 }
20916 Py_INCREF(Py_None); resultobj = Py_None;
20917 return resultobj;
20918 fail:
20919 return NULL;
20920 }
20921
20922
20923 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
20924 PyObject *obj;
20925 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20926 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
20927 Py_INCREF(obj);
20928 return Py_BuildValue((char *)"");
20929 }
20930 static PyMethodDef SwigMethods[] = {
20931 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
20932 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
20933 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
20934 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
20935 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
20936 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20937 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20938 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
20939 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
20940 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
20941 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
20942 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
20943 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
20944 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
20945 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
20946 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
20947 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
20948 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
20949 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
20950 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
20951 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
20952 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
20953 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
20954 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
20955 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
20956 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
20957 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
20958 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
20959 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
20960 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
20961 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
20962 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
20963 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
20964 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
20965 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
20966 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
20967 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
20968 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
20969 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
20970 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
20971 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
20972 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
20973 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
20974 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
20975 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
20976 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
20977 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
20978 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
20979 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
20980 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
20981 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
20982 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
20983 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
20984 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
20985 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
20986 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
20987 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
20988 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
20989 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
20990 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
20991 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
20992 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
20993 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
20994 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
20995 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
20996 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
20997 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
20998 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
20999 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
21000 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
21001 { (char *)"Dialog_SetModal", (PyCFunction) _wrap_Dialog_SetModal, METH_VARARGS | METH_KEYWORDS },
21002 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
21003 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21004 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
21005 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS },
21006 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
21007 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
21008 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
21009 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
21010 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
21011 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
21012 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
21013 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
21014 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
21015 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
21016 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
21017 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
21018 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
21019 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
21020 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
21021 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
21022 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
21023 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
21024 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
21025 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
21026 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
21027 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
21028 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
21029 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
21030 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
21031 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
21032 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
21033 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
21034 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
21035 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
21036 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
21037 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
21038 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
21039 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
21040 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
21041 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
21042 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
21043 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
21044 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
21045 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
21046 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
21047 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
21048 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
21049 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
21050 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
21051 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
21052 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
21053 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
21054 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
21055 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
21056 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
21057 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
21058 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
21059 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
21060 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
21061 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
21062 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
21063 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
21064 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
21065 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
21066 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
21067 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
21068 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
21069 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
21070 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
21071 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
21072 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
21073 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
21074 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
21075 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
21076 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
21077 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
21078 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
21079 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
21080 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
21081 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
21082 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
21083 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
21084 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
21085 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
21086 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
21087 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
21088 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
21089 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
21090 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
21091 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
21092 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
21093 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
21094 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
21095 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
21096 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
21097 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
21098 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
21099 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
21100 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
21101 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
21102 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21103 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21104 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
21105 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
21106 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21107 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21108 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
21109 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
21110 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
21111 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
21112 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21113 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21114 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
21115 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
21116 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
21117 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
21118 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
21119 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
21120 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
21121 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21122 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
21123 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
21124 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21125 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
21126 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
21127 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
21128 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
21129 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
21130 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
21131 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
21132 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
21133 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
21134 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
21135 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
21136 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
21137 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
21138 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
21139 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21140 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
21141 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
21142 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
21143 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
21144 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
21145 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
21146 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
21147 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
21148 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
21149 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21150 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
21151 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
21152 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
21153 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
21154 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
21155 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
21156 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
21157 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
21158 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
21159 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
21160 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
21161 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
21162 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
21163 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
21164 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
21165 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
21166 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
21167 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21168 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
21169 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
21170 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
21171 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
21172 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
21173 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
21174 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
21175 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
21176 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
21177 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
21178 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
21179 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
21180 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
21181 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
21182 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
21183 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
21184 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
21185 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
21186 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
21187 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
21188 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
21189 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
21190 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
21191 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
21192 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
21193 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21194 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
21195 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
21196 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
21197 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
21198 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
21199 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
21200 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS },
21201 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
21202 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
21203 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
21204 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
21205 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
21206 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
21207 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
21208 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
21209 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
21210 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
21211 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
21212 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
21213 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
21214 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
21215 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
21216 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
21217 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
21218 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
21219 { (char *)"ColourDialog_ShowModal", (PyCFunction) _wrap_ColourDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21220 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
21221 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
21222 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
21223 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
21224 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
21225 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
21226 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
21227 { (char *)"DirDialog_ShowModal", (PyCFunction) _wrap_DirDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21228 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
21229 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
21230 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
21231 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
21232 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
21233 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
21234 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
21235 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
21236 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
21237 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
21238 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
21239 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
21240 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
21241 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
21242 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
21243 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
21244 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
21245 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
21246 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
21247 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
21248 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
21249 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
21250 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
21251 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
21252 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
21253 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
21254 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
21255 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction) _wrap_SingleChoiceDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21256 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
21257 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
21258 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
21259 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
21260 { (char *)"TextEntryDialog_ShowModal", (PyCFunction) _wrap_TextEntryDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21261 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
21262 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
21263 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
21264 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
21265 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
21266 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
21267 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
21268 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
21269 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
21270 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
21271 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
21272 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
21273 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
21274 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
21275 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
21276 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
21277 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
21278 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
21279 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
21280 { (char *)"FontDialog_ShowModal", (PyCFunction) _wrap_FontDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21281 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
21282 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
21283 { (char *)"MessageDialog_ShowModal", (PyCFunction) _wrap_MessageDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21284 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
21285 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
21286 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
21287 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
21288 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
21289 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
21290 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21291 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
21292 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
21293 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
21294 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21295 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
21296 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
21297 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
21298 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
21299 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
21300 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
21301 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
21302 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
21303 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
21304 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
21305 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
21306 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
21307 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21308 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21309 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
21310 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
21311 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
21312 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
21313 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21314 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21315 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
21316 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
21317 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
21318 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
21319 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
21320 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
21321 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
21322 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
21323 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
21324 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
21325 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21326 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21327 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
21328 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
21329 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
21330 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
21331 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
21332 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21333 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21334 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
21335 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
21336 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
21337 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21338 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21339 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21340 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21341 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21342 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21343 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21344 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21345 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21346 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21347 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21348 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21349 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21350 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
21351 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21352 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21353 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21354 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21355 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21356 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
21357 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
21358 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21359 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21360 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21361 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21362 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21363 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21364 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21365 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21366 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21367 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21368 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21369 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21370 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21371 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
21372 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21373 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21374 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21375 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21376 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21377 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
21378 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
21379 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
21380 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21381 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21382 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21383 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
21384 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
21385 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
21386 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
21387 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21388 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21389 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
21390 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21391 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21392 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21393 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
21394 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
21395 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
21396 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21397 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21398 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
21399 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21400 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21401 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21402 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
21403 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21404 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21405 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21406 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21407 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21408 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
21409 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21410 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21411 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21412 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
21413 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21414 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21415 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21416 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
21417 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21418 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21419 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
21420 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
21421 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
21422 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21423 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21424 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21425 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
21426 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
21427 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
21428 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
21429 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21430 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
21431 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
21432 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
21433 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
21434 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21435 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21436 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21437 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21438 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21439 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21440 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21441 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21442 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21443 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21444 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21445 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21446 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21447 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21448 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21449 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21450 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21451 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21452 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21453 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
21454 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
21455 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
21456 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21457 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
21458 { (char *)"new_PrintDialogData", (PyCFunction) _wrap_new_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21459 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21460 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
21461 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
21462 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21463 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21464 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21465 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
21466 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
21467 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21468 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21469 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21470 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
21471 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
21472 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
21473 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
21474 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21475 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
21476 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
21477 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21478 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21479 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21480 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21481 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
21482 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21483 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21484 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21485 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
21486 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21487 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21488 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21489 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21490 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21491 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
21492 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21493 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21494 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
21495 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21496 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
21497 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
21498 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
21499 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
21500 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21501 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
21502 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21503 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
21504 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
21505 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
21506 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
21507 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
21508 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
21509 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21510 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
21511 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
21512 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
21513 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
21514 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
21515 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21516 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21517 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21518 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21519 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21520 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21521 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
21522 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
21523 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
21524 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
21525 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
21526 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
21527 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
21528 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
21529 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
21530 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
21531 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21532 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
21533 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
21534 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
21535 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21536 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21537 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
21538 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
21539 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21540 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
21541 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21542 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21543 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
21544 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
21545 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
21546 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
21547 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
21548 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
21549 { (char *)"new_PrintPreview", (PyCFunction) _wrap_new_PrintPreview, METH_VARARGS | METH_KEYWORDS },
21550 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21551 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21552 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
21553 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
21554 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
21555 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
21556 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
21557 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
21558 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
21559 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
21560 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21561 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
21562 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
21563 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21564 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
21565 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
21566 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21567 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21568 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
21569 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
21570 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
21571 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21572 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
21573 { (char *)"new_PyPrintPreview", (PyCFunction) _wrap_new_PyPrintPreview, METH_VARARGS | METH_KEYWORDS },
21574 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21575 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21576 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
21577 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21578 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
21579 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
21580 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
21581 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21582 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
21583 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
21584 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21585 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21586 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
21587 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
21588 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21589 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21590 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
21591 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21592 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21593 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21594 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
21595 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21596 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
21597 { NULL, NULL }
21598 };
21599
21600
21601 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21602
21603 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
21604 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21605 }
21606 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
21607 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
21608 }
21609 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
21610 return (void *)((wxEvent *) ((wxMenuEvent *) x));
21611 }
21612 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
21613 return (void *)((wxEvent *) ((wxCloseEvent *) x));
21614 }
21615 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
21616 return (void *)((wxEvent *) ((wxMouseEvent *) x));
21617 }
21618 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
21619 return (void *)((wxEvent *) ((wxEraseEvent *) x));
21620 }
21621 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
21622 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
21623 }
21624 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
21625 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
21626 }
21627 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
21628 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
21629 }
21630 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
21631 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
21632 }
21633 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
21634 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
21635 }
21636 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
21637 return (void *)((wxEvent *) ((wxPyEvent *) x));
21638 }
21639 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
21640 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
21641 }
21642 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
21643 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
21644 }
21645 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
21646 return (void *)((wxEvent *) ((wxIdleEvent *) x));
21647 }
21648 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
21649 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
21650 }
21651 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
21652 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
21653 }
21654 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
21655 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
21656 }
21657 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
21658 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
21659 }
21660 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
21661 return (void *)((wxEvent *) ((wxActivateEvent *) x));
21662 }
21663 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
21664 return (void *)((wxEvent *) ((wxSizeEvent *) x));
21665 }
21666 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
21667 return (void *)((wxEvent *) ((wxMoveEvent *) x));
21668 }
21669 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
21670 return (void *)((wxEvent *) ((wxPaintEvent *) x));
21671 }
21672 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
21673 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
21674 }
21675 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
21676 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
21677 }
21678 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
21679 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
21680 }
21681 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
21682 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
21683 }
21684 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
21685 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21686 }
21687 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
21688 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
21689 }
21690 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
21691 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
21692 }
21693 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
21694 return (void *)((wxEvent *) ((wxFocusEvent *) x));
21695 }
21696 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
21697 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
21698 }
21699 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
21700 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
21701 }
21702 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
21703 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
21704 }
21705 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
21706 return (void *)((wxEvent *) ((wxShowEvent *) x));
21707 }
21708 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
21709 return (void *)((wxEvent *) ((wxCommandEvent *) x));
21710 }
21711 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
21712 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
21713 }
21714 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
21715 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21716 }
21717 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
21718 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
21719 }
21720 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
21721 return (void *)((wxEvent *) ((wxKeyEvent *) x));
21722 }
21723 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
21724 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
21725 }
21726 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
21727 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
21728 }
21729 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
21730 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
21731 }
21732 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
21733 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
21734 }
21735 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
21736 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
21737 }
21738 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
21739 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
21740 }
21741 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
21742 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
21743 }
21744 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
21745 return (void *)((wxEvtHandler *) ((wxValidator *) x));
21746 }
21747 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
21748 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
21749 }
21750 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
21751 return (void *)((wxEvtHandler *) ((wxMenu *) x));
21752 }
21753 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
21754 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
21755 }
21756 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
21757 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
21758 }
21759 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
21760 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
21761 }
21762 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
21763 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
21764 }
21765 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
21766 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
21767 }
21768 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
21769 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
21770 }
21771 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
21772 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
21773 }
21774 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
21775 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
21776 }
21777 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
21778 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
21779 }
21780 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
21781 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
21782 }
21783 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
21784 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
21785 }
21786 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
21787 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
21788 }
21789 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
21790 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
21791 }
21792 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
21793 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
21794 }
21795 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
21796 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
21797 }
21798 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
21799 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
21800 }
21801 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
21802 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
21803 }
21804 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
21805 return (void *)((wxEvtHandler *) ((wxWindow *) x));
21806 }
21807 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
21808 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
21809 }
21810 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
21811 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
21812 }
21813 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
21814 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
21815 }
21816 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
21817 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
21818 }
21819 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
21820 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
21821 }
21822 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
21823 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21824 }
21825 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
21826 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
21827 }
21828 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
21829 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
21830 }
21831 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
21832 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
21833 }
21834 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
21835 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
21836 }
21837 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
21838 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
21839 }
21840 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
21841 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
21842 }
21843 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
21844 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
21845 }
21846 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
21847 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
21848 }
21849 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
21850 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
21851 }
21852 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
21853 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
21854 }
21855 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
21856 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
21857 }
21858 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
21859 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
21860 }
21861 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
21862 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
21863 }
21864 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
21865 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
21866 }
21867 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
21868 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
21869 }
21870 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
21871 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
21872 }
21873 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
21874 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
21875 }
21876 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
21877 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
21878 }
21879 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
21880 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
21881 }
21882 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
21883 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
21884 }
21885 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
21886 return (void *)((wxFrame *) ((wxProgressDialog *) x));
21887 }
21888 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
21889 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
21890 }
21891 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
21892 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21893 }
21894 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
21895 return (void *)((wxFrame *) ((wxMiniFrame *) x));
21896 }
21897 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
21898 return (void *)((wxFrame *) ((wxSplashScreen *) x));
21899 }
21900 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
21901 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
21902 }
21903 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
21904 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
21905 }
21906 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
21907 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
21908 }
21909 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
21910 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
21911 }
21912 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
21913 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21914 }
21915 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
21916 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
21917 }
21918 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
21919 return (void *)((wxObject *) ((wxSizerItem *) x));
21920 }
21921 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
21922 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
21923 }
21924 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
21925 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
21926 }
21927 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
21928 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
21929 }
21930 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
21931 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
21932 }
21933 static void *_p_wxSizerTo_p_wxObject(void *x) {
21934 return (void *)((wxObject *) ((wxSizer *) x));
21935 }
21936 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
21937 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
21938 }
21939 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
21940 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
21941 }
21942 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
21943 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
21944 }
21945 static void *_p_wxEventTo_p_wxObject(void *x) {
21946 return (void *)((wxObject *) ((wxEvent *) x));
21947 }
21948 static void *_p_wxFontDataTo_p_wxObject(void *x) {
21949 return (void *)((wxObject *) ((wxFontData *) x));
21950 }
21951 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
21952 return (void *)((wxObject *) ((wxPrintData *) x));
21953 }
21954 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
21955 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
21956 }
21957 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
21958 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
21959 }
21960 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
21961 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
21962 }
21963 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
21964 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
21965 }
21966 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
21967 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
21968 }
21969 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
21970 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
21971 }
21972 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
21973 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
21974 }
21975 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
21976 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
21977 }
21978 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
21979 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
21980 }
21981 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
21982 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
21983 }
21984 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
21985 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21986 }
21987 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
21988 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
21989 }
21990 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
21991 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
21992 }
21993 static void *_p_wxControlTo_p_wxObject(void *x) {
21994 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
21995 }
21996 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
21997 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
21998 }
21999 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
22000 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
22001 }
22002 static void *_p_wxFSFileTo_p_wxObject(void *x) {
22003 return (void *)((wxObject *) ((wxFSFile *) x));
22004 }
22005 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
22006 return (void *)((wxObject *) ((wxFindReplaceData *) x));
22007 }
22008 static void *_p_wxPySizerTo_p_wxObject(void *x) {
22009 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
22010 }
22011 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
22012 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
22013 }
22014 static void *_p_wxColourDataTo_p_wxObject(void *x) {
22015 return (void *)((wxObject *) ((wxColourData *) x));
22016 }
22017 static void *_p_wxPyEventTo_p_wxObject(void *x) {
22018 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
22019 }
22020 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
22021 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
22022 }
22023 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
22024 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
22025 }
22026 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
22027 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
22028 }
22029 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
22030 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
22031 }
22032 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
22033 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
22034 }
22035 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
22036 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
22037 }
22038 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
22039 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
22040 }
22041 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
22042 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
22043 }
22044 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
22045 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
22046 }
22047 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
22048 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
22049 }
22050 static void *_p_wxShowEventTo_p_wxObject(void *x) {
22051 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
22052 }
22053 static void *_p_wxPrinterTo_p_wxObject(void *x) {
22054 return (void *)((wxObject *) ((wxPrinter *) x));
22055 }
22056 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
22057 return (void *)((wxObject *) ((wxMenuItem *) x));
22058 }
22059 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
22060 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
22061 }
22062 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
22063 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
22064 }
22065 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
22066 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
22067 }
22068 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
22069 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
22070 }
22071 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
22072 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
22073 }
22074 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
22075 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
22076 }
22077 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
22078 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
22079 }
22080 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
22081 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
22082 }
22083 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
22084 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
22085 }
22086 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
22087 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
22088 }
22089 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
22090 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
22091 }
22092 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
22093 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
22094 }
22095 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
22096 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
22097 }
22098 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
22099 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
22100 }
22101 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
22102 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
22103 }
22104 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
22105 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
22106 }
22107 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
22108 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
22109 }
22110 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
22111 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
22112 }
22113 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
22114 return (void *)((wxObject *) ((wxImageHandler *) x));
22115 }
22116 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
22117 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
22118 }
22119 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
22120 return (void *)((wxObject *) ((wxEvtHandler *) x));
22121 }
22122 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
22123 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
22124 }
22125 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
22126 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22127 }
22128 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
22129 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22130 }
22131 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
22132 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
22133 }
22134 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
22135 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
22136 }
22137 static void *_p_wxImageTo_p_wxObject(void *x) {
22138 return (void *)((wxObject *) ((wxImage *) x));
22139 }
22140 static void *_p_wxFrameTo_p_wxObject(void *x) {
22141 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
22142 }
22143 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
22144 return (void *)((wxObject *) ((wxPyPrintout *) x));
22145 }
22146 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
22147 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
22148 }
22149 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
22150 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
22151 }
22152 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
22153 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
22154 }
22155 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
22156 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
22157 }
22158 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
22159 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22160 }
22161 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
22162 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
22163 }
22164 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
22165 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
22166 }
22167 static void *_p_wxWindowTo_p_wxObject(void *x) {
22168 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
22169 }
22170 static void *_p_wxMenuTo_p_wxObject(void *x) {
22171 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
22172 }
22173 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
22174 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
22175 }
22176 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
22177 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
22178 }
22179 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
22180 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
22181 }
22182 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
22183 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
22184 }
22185 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
22186 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
22187 }
22188 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
22189 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
22190 }
22191 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
22192 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
22193 }
22194 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
22195 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
22196 }
22197 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
22198 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22199 }
22200 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
22201 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22202 }
22203 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
22204 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
22205 }
22206 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
22207 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
22208 }
22209 static void *_p_wxSashEventTo_p_wxObject(void *x) {
22210 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
22211 }
22212 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
22213 return (void *)((wxObject *) ((wxPrintPreview *) x));
22214 }
22215 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
22216 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
22217 }
22218 static void *_p_wxPanelTo_p_wxObject(void *x) {
22219 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
22220 }
22221 static void *_p_wxDialogTo_p_wxObject(void *x) {
22222 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
22223 }
22224 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
22225 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
22226 }
22227 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
22228 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
22229 }
22230 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
22231 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
22232 }
22233 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
22234 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22235 }
22236 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
22237 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22238 }
22239 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
22240 return (void *)((wxObject *) ((wxFileSystem *) x));
22241 }
22242 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
22243 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
22244 }
22245 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
22246 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
22247 }
22248 static void *_p_wxPyAppTo_p_wxObject(void *x) {
22249 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
22250 }
22251 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
22252 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
22253 }
22254 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
22255 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
22256 }
22257 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
22258 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
22259 }
22260 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
22261 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
22262 }
22263 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
22264 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
22265 }
22266 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
22267 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
22268 }
22269 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
22270 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22271 }
22272 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
22273 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
22274 }
22275 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
22276 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
22277 }
22278 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
22279 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
22280 }
22281 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
22282 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
22283 }
22284 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
22285 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
22286 }
22287 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
22288 return (void *)((wxObject *) ((wxPrintDialogData *) x));
22289 }
22290 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
22291 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
22292 }
22293 static void *_p_wxValidatorTo_p_wxObject(void *x) {
22294 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
22295 }
22296 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
22297 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22298 }
22299 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
22300 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
22301 }
22302 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
22303 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22304 }
22305 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
22306 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22307 }
22308 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
22309 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22310 }
22311 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
22312 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
22313 }
22314 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
22315 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
22316 }
22317 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
22318 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
22319 }
22320 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
22321 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
22322 }
22323 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
22324 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
22325 }
22326 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
22327 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
22328 }
22329 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
22330 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
22331 }
22332 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
22333 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
22334 }
22335 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
22336 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
22337 }
22338 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
22339 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
22340 }
22341 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
22342 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
22343 }
22344 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
22345 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
22346 }
22347 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
22348 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
22349 }
22350 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
22351 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
22352 }
22353 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
22354 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
22355 }
22356 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
22357 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
22358 }
22359 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22360 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
22361 }
22362 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22363 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
22364 }
22365 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
22366 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
22367 }
22368 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22369 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
22370 }
22371 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22372 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22373 }
22374 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
22375 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
22376 }
22377 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
22378 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
22379 }
22380 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
22381 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
22382 }
22383 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
22384 return (void *)((wxWindow *) ((wxMenuBar *) x));
22385 }
22386 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
22387 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
22388 }
22389 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
22390 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
22391 }
22392 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
22393 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
22394 }
22395 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
22396 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
22397 }
22398 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
22399 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
22400 }
22401 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
22402 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
22403 }
22404 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
22405 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
22406 }
22407 static void *_p_wxPanelTo_p_wxWindow(void *x) {
22408 return (void *)((wxWindow *) ((wxPanel *) x));
22409 }
22410 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
22411 return (void *)((wxWindow *) ((wxStatusBar *) x));
22412 }
22413 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
22414 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
22415 }
22416 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
22417 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
22418 }
22419 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
22420 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22421 }
22422 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
22423 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22424 }
22425 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
22426 return (void *)((wxWindow *) ((wxPopupWindow *) x));
22427 }
22428 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
22429 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
22430 }
22431 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
22432 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
22433 }
22434 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
22435 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
22436 }
22437 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
22438 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
22439 }
22440 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
22441 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
22442 }
22443 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
22444 return (void *)((wxWindow *) ((wxSashWindow *) x));
22445 }
22446 static void *_p_wxControlTo_p_wxWindow(void *x) {
22447 return (void *)((wxWindow *) ((wxControl *) x));
22448 }
22449 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
22450 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
22451 }
22452 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
22453 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22454 }
22455 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
22456 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
22457 }
22458 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
22459 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
22460 }
22461 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
22462 return (void *)((wxWindow *) ((wxPyWindow *) x));
22463 }
22464 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
22465 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
22466 }
22467 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
22468 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22469 }
22470 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
22471 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22472 }
22473 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
22474 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
22475 }
22476 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
22477 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22478 }
22479 static void *_p_wxFrameTo_p_wxWindow(void *x) {
22480 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
22481 }
22482 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
22483 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
22484 }
22485 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
22486 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
22487 }
22488 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
22489 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
22490 }
22491 static void *_p_wxDialogTo_p_wxWindow(void *x) {
22492 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
22493 }
22494 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
22495 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22496 }
22497 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
22498 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22499 }
22500 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
22501 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
22502 }
22503 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
22504 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
22505 }
22506 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
22507 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
22508 }
22509 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
22510 return (void *)((wxDialog *) ((wxColourDialog *) x));
22511 }
22512 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
22513 return (void *)((wxDialog *) ((wxDirDialog *) x));
22514 }
22515 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
22516 return (void *)((wxDialog *) ((wxFontDialog *) x));
22517 }
22518 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
22519 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
22520 }
22521 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
22522 return (void *)((wxDialog *) ((wxPrintDialog *) x));
22523 }
22524 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
22525 return (void *)((wxDialog *) ((wxFileDialog *) x));
22526 }
22527 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
22528 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
22529 }
22530 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
22531 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
22532 }
22533 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
22534 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
22535 }
22536 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
22537 return (void *)((wxDialog *) ((wxMessageDialog *) x));
22538 }
22539 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
22540 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
22541 }
22542 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
22543 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
22544 }
22545 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
22546 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
22547 }
22548 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
22549 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22550 }
22551 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
22552 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22553 }
22554 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
22555 return (void *)((wxPanel *) ((wxPyPanel *) x));
22556 }
22557 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
22558 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
22559 }
22560 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
22561 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
22562 }
22563 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
22564 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22565 }
22566 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
22567 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
22568 }
22569 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
22570 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
22571 }
22572 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
22573 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
22574 }
22575 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
22576 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
22577 }
22578 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
22579 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
22580 }
22581 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
22582 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22583 }
22584 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
22585 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
22586 }
22587 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
22588 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
22589 }
22590 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
22591 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
22592 }
22593 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
22594 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
22595 }
22596 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
22597 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
22598 }
22599 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
22600 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22601 }
22602 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
22603 static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame},{0}};
22604 static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
22605 static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
22606 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
22607 static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
22608 static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
22609 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}};
22610 static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
22611 static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
22612 static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
22613 static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
22614 static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
22615 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
22616 static swig_type_info _swigt__p_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
22617 static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
22618 static swig_type_info _swigt__p_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
22619 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
22620 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
22621 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
22622 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
22623 static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
22624 static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
22625 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent},{"_p_wxNotifyEvent"},{0}};
22626 static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
22627 static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
22628 static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
22629 static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
22630 static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
22631 static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
22632 static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
22633 static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
22634 static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
22635 static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
22636 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
22637 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}};
22638 static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
22639 static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
22640 static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox},{0}};
22641 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
22642 static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
22643 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}};
22644 static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
22645 static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
22646 static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
22647 static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
22648 static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
22649 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
22650 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}};
22651 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
22652 static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
22653 static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
22654 static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
22655 static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
22656 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}};
22657 static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow},{0}};
22658 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}};
22659 static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow},{0}};
22660 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}};
22661 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}};
22662 static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}};
22663 static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
22664 static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
22665 static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview},{0}};
22666 static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
22667 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
22668 static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
22669 static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
22670 static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
22671 static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
22672 static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
22673 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}};
22674 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}};
22675 static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
22676 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
22677 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}};
22678 static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar},{0}};
22679 static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
22680 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
22681 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
22682 static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
22683 static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
22684
22685 static swig_type_info *swig_types_initial[] = {
22686 _swigt__p_wxQueryLayoutInfoEvent,
22687 _swigt__p_wxPreviewFrame,
22688 _swigt__p_wxPyPreviewFrame,
22689 _swigt__p_wxPyPanel,
22690 _swigt__p_wxMenu,
22691 _swigt__p_wxPrintData,
22692 _swigt__p_wxFontData,
22693 _swigt__p_wxEvent,
22694 _swigt__p_wxTaskBarIcon,
22695 _swigt__p_wxIconBundle,
22696 _swigt__p_wxLayoutAlgorithm,
22697 _swigt__p_wxFindDialogEvent,
22698 _swigt__p_wxPreviewCanvas,
22699 _swigt__p_wxFont,
22700 _swigt__p_wxSplitterEvent,
22701 _swigt__p_wxRegion,
22702 _swigt__p_wxFindReplaceData,
22703 _swigt__p_int,
22704 _swigt__p_wxSize,
22705 _swigt__p_wxDC,
22706 _swigt__p_wxIcon,
22707 _swigt__p_wxMDIChildFrame,
22708 _swigt__p_wxColourData,
22709 _swigt__p_wxNotifyEvent,
22710 _swigt__p_wxPyWindow,
22711 _swigt__p_wxSplashScreen,
22712 _swigt__p_wxFindReplaceDialog,
22713 _swigt__p_wxProgressDialog,
22714 _swigt__p_wxMessageDialog,
22715 _swigt__p_wxTextEntryDialog,
22716 _swigt__p_wxSingleChoiceDialog,
22717 _swigt__p_wxMultiChoiceDialog,
22718 _swigt__p_wxFileDialog,
22719 _swigt__p_wxPrinter,
22720 _swigt__p_wxArrayInt,
22721 _swigt__p_wxEvtHandler,
22722 _swigt__p_wxCalculateLayoutEvent,
22723 _swigt__p_wxPyHtmlListBox,
22724 _swigt__p_wxPyVListBox,
22725 _swigt__p_wxRect,
22726 _swigt__p_wxMiniFrame,
22727 _swigt__p_wxFrame,
22728 _swigt__p_wxPyPrintout,
22729 _swigt__p_wxTaskBarIconEvent,
22730 _swigt__p_wxScrollWinEvent,
22731 _swigt__p_wxStatusBar,
22732 _swigt__p_wxMDIParentFrame,
22733 _swigt__p_wxPoint,
22734 _swigt__p_wxObject,
22735 _swigt__p_unsigned_long,
22736 _swigt__p_wxMDIClientWindow,
22737 _swigt__p_wxTipWindow,
22738 _swigt__p_wxSashLayoutWindow,
22739 _swigt__p_wxSplitterWindow,
22740 _swigt__p_wxPyVScrolledWindow,
22741 _swigt__p_wxPyPopupTransientWindow,
22742 _swigt__p_wxPopupWindow,
22743 _swigt__p_wxSashWindow,
22744 _swigt__p_wxTopLevelWindow,
22745 _swigt__p_wxWindow,
22746 _swigt__p_wxScrolledWindow,
22747 _swigt__p_wxSplashScreenWindow,
22748 _swigt__p_wxMenuBar,
22749 _swigt__p_wxPrintPreview,
22750 _swigt__p_wxSashEvent,
22751 _swigt__p_wxString,
22752 _swigt__p_wxPyPrintPreview,
22753 _swigt__p_wxPageSetupDialog,
22754 _swigt__p_wxFontDialog,
22755 _swigt__p_wxDirDialog,
22756 _swigt__p_wxColourDialog,
22757 _swigt__p_wxDialog,
22758 _swigt__p_wxPanel,
22759 _swigt__p_wxPrintDialog,
22760 _swigt__p_wxBitmap,
22761 _swigt__p_wxCommandEvent,
22762 _swigt__p_wxPreviewControlBar,
22763 _swigt__p_wxPyPreviewControlBar,
22764 _swigt__p_wxColour,
22765 _swigt__p_wxToolBar,
22766 _swigt__p_wxPrintDialogData,
22767 _swigt__p_wxPageSetupDialogData,
22768 0
22769 };
22770
22771
22772 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22773
22774 static swig_const_info swig_const_table[] = {
22775 { SWIG_PY_INT, (char *)"FULLSCREEN_NOMENUBAR", (long) wxFULLSCREEN_NOMENUBAR, 0, 0, 0},
22776 { SWIG_PY_INT, (char *)"FULLSCREEN_NOTOOLBAR", (long) wxFULLSCREEN_NOTOOLBAR, 0, 0, 0},
22777 { SWIG_PY_INT, (char *)"FULLSCREEN_NOSTATUSBAR", (long) wxFULLSCREEN_NOSTATUSBAR, 0, 0, 0},
22778 { SWIG_PY_INT, (char *)"FULLSCREEN_NOBORDER", (long) wxFULLSCREEN_NOBORDER, 0, 0, 0},
22779 { SWIG_PY_INT, (char *)"FULLSCREEN_NOCAPTION", (long) wxFULLSCREEN_NOCAPTION, 0, 0, 0},
22780 { SWIG_PY_INT, (char *)"FULLSCREEN_ALL", (long) wxFULLSCREEN_ALL, 0, 0, 0},
22781 { SWIG_PY_INT, (char *)"TOPLEVEL_EX_DIALOG", (long) wxTOPLEVEL_EX_DIALOG, 0, 0, 0},
22782 { SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_PARENT", (long) wxSPLASH_CENTRE_ON_PARENT, 0, 0, 0},
22783 { SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_SCREEN", (long) wxSPLASH_CENTRE_ON_SCREEN, 0, 0, 0},
22784 { SWIG_PY_INT, (char *)"SPLASH_NO_CENTRE", (long) wxSPLASH_NO_CENTRE, 0, 0, 0},
22785 { SWIG_PY_INT, (char *)"SPLASH_TIMEOUT", (long) wxSPLASH_TIMEOUT, 0, 0, 0},
22786 { SWIG_PY_INT, (char *)"SPLASH_NO_TIMEOUT", (long) wxSPLASH_NO_TIMEOUT, 0, 0, 0},
22787 { SWIG_PY_INT, (char *)"SP_NOBORDER", (long) wxSP_NOBORDER, 0, 0, 0},
22788 { SWIG_PY_INT, (char *)"SP_NOSASH", (long) wxSP_NOSASH, 0, 0, 0},
22789 { SWIG_PY_INT, (char *)"SP_PERMIT_UNSPLIT", (long) wxSP_PERMIT_UNSPLIT, 0, 0, 0},
22790 { SWIG_PY_INT, (char *)"SP_LIVE_UPDATE", (long) wxSP_LIVE_UPDATE, 0, 0, 0},
22791 { SWIG_PY_INT, (char *)"SP_3DSASH", (long) wxSP_3DSASH, 0, 0, 0},
22792 { SWIG_PY_INT, (char *)"SP_3DBORDER", (long) wxSP_3DBORDER, 0, 0, 0},
22793 { SWIG_PY_INT, (char *)"SP_BORDER", (long) wxSP_BORDER, 0, 0, 0},
22794 { SWIG_PY_INT, (char *)"SP_3D", (long) wxSP_3D, 0, 0, 0},
22795 { SWIG_PY_INT, (char *)"SPLIT_HORIZONTAL", (long) wxSPLIT_HORIZONTAL, 0, 0, 0},
22796 { SWIG_PY_INT, (char *)"SPLIT_VERTICAL", (long) wxSPLIT_VERTICAL, 0, 0, 0},
22797 { SWIG_PY_INT, (char *)"SPLIT_DRAG_NONE", (long) wxSPLIT_DRAG_NONE, 0, 0, 0},
22798 { SWIG_PY_INT, (char *)"SPLIT_DRAG_DRAGGING", (long) wxSPLIT_DRAG_DRAGGING, 0, 0, 0},
22799 { SWIG_PY_INT, (char *)"SPLIT_DRAG_LEFT_DOWN", (long) wxSPLIT_DRAG_LEFT_DOWN, 0, 0, 0},
22800 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, 0, 0, 0},
22801 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 0, 0, 0},
22802 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", (long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 0, 0, 0},
22803 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_UNSPLIT", (long) wxEVT_COMMAND_SPLITTER_UNSPLIT, 0, 0, 0},
22804 { SWIG_PY_INT, (char *)"SASH_DRAG_NONE", (long) wxSASH_DRAG_NONE, 0, 0, 0},
22805 { SWIG_PY_INT, (char *)"SASH_DRAG_DRAGGING", (long) wxSASH_DRAG_DRAGGING, 0, 0, 0},
22806 { SWIG_PY_INT, (char *)"SASH_DRAG_LEFT_DOWN", (long) wxSASH_DRAG_LEFT_DOWN, 0, 0, 0},
22807 { SWIG_PY_INT, (char *)"SW_NOBORDER", (long) wxSW_NOBORDER, 0, 0, 0},
22808 { SWIG_PY_INT, (char *)"SW_BORDER", (long) wxSW_BORDER, 0, 0, 0},
22809 { SWIG_PY_INT, (char *)"SW_3DSASH", (long) wxSW_3DSASH, 0, 0, 0},
22810 { SWIG_PY_INT, (char *)"SW_3DBORDER", (long) wxSW_3DBORDER, 0, 0, 0},
22811 { SWIG_PY_INT, (char *)"SW_3D", (long) wxSW_3D, 0, 0, 0},
22812 { SWIG_PY_INT, (char *)"SASH_TOP", (long) wxSASH_TOP, 0, 0, 0},
22813 { SWIG_PY_INT, (char *)"SASH_RIGHT", (long) wxSASH_RIGHT, 0, 0, 0},
22814 { SWIG_PY_INT, (char *)"SASH_BOTTOM", (long) wxSASH_BOTTOM, 0, 0, 0},
22815 { SWIG_PY_INT, (char *)"SASH_LEFT", (long) wxSASH_LEFT, 0, 0, 0},
22816 { SWIG_PY_INT, (char *)"SASH_NONE", (long) wxSASH_NONE, 0, 0, 0},
22817 { SWIG_PY_INT, (char *)"SASH_STATUS_OK", (long) wxSASH_STATUS_OK, 0, 0, 0},
22818 { SWIG_PY_INT, (char *)"SASH_STATUS_OUT_OF_RANGE", (long) wxSASH_STATUS_OUT_OF_RANGE, 0, 0, 0},
22819 { SWIG_PY_INT, (char *)"wxEVT_SASH_DRAGGED", (long) wxEVT_SASH_DRAGGED, 0, 0, 0},
22820 { SWIG_PY_INT, (char *)"LAYOUT_HORIZONTAL", (long) wxLAYOUT_HORIZONTAL, 0, 0, 0},
22821 { SWIG_PY_INT, (char *)"LAYOUT_VERTICAL", (long) wxLAYOUT_VERTICAL, 0, 0, 0},
22822 { SWIG_PY_INT, (char *)"LAYOUT_NONE", (long) wxLAYOUT_NONE, 0, 0, 0},
22823 { SWIG_PY_INT, (char *)"LAYOUT_TOP", (long) wxLAYOUT_TOP, 0, 0, 0},
22824 { SWIG_PY_INT, (char *)"LAYOUT_LEFT", (long) wxLAYOUT_LEFT, 0, 0, 0},
22825 { SWIG_PY_INT, (char *)"LAYOUT_RIGHT", (long) wxLAYOUT_RIGHT, 0, 0, 0},
22826 { SWIG_PY_INT, (char *)"LAYOUT_BOTTOM", (long) wxLAYOUT_BOTTOM, 0, 0, 0},
22827 { SWIG_PY_INT, (char *)"LAYOUT_LENGTH_Y", (long) wxLAYOUT_LENGTH_Y, 0, 0, 0},
22828 { SWIG_PY_INT, (char *)"LAYOUT_LENGTH_X", (long) wxLAYOUT_LENGTH_X, 0, 0, 0},
22829 { SWIG_PY_INT, (char *)"LAYOUT_MRU_LENGTH", (long) wxLAYOUT_MRU_LENGTH, 0, 0, 0},
22830 { SWIG_PY_INT, (char *)"LAYOUT_QUERY", (long) wxLAYOUT_QUERY, 0, 0, 0},
22831 { SWIG_PY_INT, (char *)"wxEVT_QUERY_LAYOUT_INFO", (long) wxEVT_QUERY_LAYOUT_INFO, 0, 0, 0},
22832 { SWIG_PY_INT, (char *)"wxEVT_CALCULATE_LAYOUT", (long) wxEVT_CALCULATE_LAYOUT, 0, 0, 0},
22833 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_MOVE", (long) wxEVT_TASKBAR_MOVE, 0, 0, 0},
22834 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DOWN", (long) wxEVT_TASKBAR_LEFT_DOWN, 0, 0, 0},
22835 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_UP", (long) wxEVT_TASKBAR_LEFT_UP, 0, 0, 0},
22836 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DOWN", (long) wxEVT_TASKBAR_RIGHT_DOWN, 0, 0, 0},
22837 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_UP", (long) wxEVT_TASKBAR_RIGHT_UP, 0, 0, 0},
22838 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DCLICK", (long) wxEVT_TASKBAR_LEFT_DCLICK, 0, 0, 0},
22839 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DCLICK", (long) wxEVT_TASKBAR_RIGHT_DCLICK, 0, 0, 0},
22840 { SWIG_PY_INT, (char *)"CHOICEDLG_STYLE", (long) wxCHOICEDLG_STYLE, 0, 0, 0},
22841 { SWIG_PY_INT, (char *)"FR_DOWN", (long) wxFR_DOWN, 0, 0, 0},
22842 { SWIG_PY_INT, (char *)"FR_WHOLEWORD", (long) wxFR_WHOLEWORD, 0, 0, 0},
22843 { SWIG_PY_INT, (char *)"FR_MATCHCASE", (long) wxFR_MATCHCASE, 0, 0, 0},
22844 { SWIG_PY_INT, (char *)"FR_REPLACEDIALOG", (long) wxFR_REPLACEDIALOG, 0, 0, 0},
22845 { SWIG_PY_INT, (char *)"FR_NOUPDOWN", (long) wxFR_NOUPDOWN, 0, 0, 0},
22846 { SWIG_PY_INT, (char *)"FR_NOMATCHCASE", (long) wxFR_NOMATCHCASE, 0, 0, 0},
22847 { SWIG_PY_INT, (char *)"FR_NOWHOLEWORD", (long) wxFR_NOWHOLEWORD, 0, 0, 0},
22848 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND", (long) wxEVT_COMMAND_FIND, 0, 0, 0},
22849 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_NEXT", (long) wxEVT_COMMAND_FIND_NEXT, 0, 0, 0},
22850 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE", (long) wxEVT_COMMAND_FIND_REPLACE, 0, 0, 0},
22851 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE_ALL", (long) wxEVT_COMMAND_FIND_REPLACE_ALL, 0, 0, 0},
22852 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_CLOSE", (long) wxEVT_COMMAND_FIND_CLOSE, 0, 0, 0},
22853 { SWIG_PY_INT, (char *)"IDM_WINDOWTILE", (long) 4001, 0, 0, 0},
22854 { SWIG_PY_INT, (char *)"IDM_WINDOWTILEHOR", (long) 4001, 0, 0, 0},
22855 { SWIG_PY_INT, (char *)"IDM_WINDOWCASCADE", (long) 4002, 0, 0, 0},
22856 { SWIG_PY_INT, (char *)"IDM_WINDOWICONS", (long) 4003, 0, 0, 0},
22857 { SWIG_PY_INT, (char *)"IDM_WINDOWNEXT", (long) 4004, 0, 0, 0},
22858 { SWIG_PY_INT, (char *)"IDM_WINDOWTILEVERT", (long) 4005, 0, 0, 0},
22859 { SWIG_PY_INT, (char *)"FIRST_MDI_CHILD", (long) 4100, 0, 0, 0},
22860 { SWIG_PY_INT, (char *)"LAST_MDI_CHILD", (long) 4600, 0, 0, 0},
22861 { SWIG_PY_INT, (char *)"PRINT_MODE_NONE", (long) wxPRINT_MODE_NONE, 0, 0, 0},
22862 { SWIG_PY_INT, (char *)"PRINT_MODE_PREVIEW", (long) wxPRINT_MODE_PREVIEW, 0, 0, 0},
22863 { SWIG_PY_INT, (char *)"PRINT_MODE_FILE", (long) wxPRINT_MODE_FILE, 0, 0, 0},
22864 { SWIG_PY_INT, (char *)"PRINT_MODE_PRINTER", (long) wxPRINT_MODE_PRINTER, 0, 0, 0},
22865 { SWIG_PY_INT, (char *)"PRINTER_NO_ERROR", (long) wxPRINTER_NO_ERROR, 0, 0, 0},
22866 { SWIG_PY_INT, (char *)"PRINTER_CANCELLED", (long) wxPRINTER_CANCELLED, 0, 0, 0},
22867 { SWIG_PY_INT, (char *)"PRINTER_ERROR", (long) wxPRINTER_ERROR, 0, 0, 0},
22868 { SWIG_PY_INT, (char *)"PREVIEW_PRINT", (long) wxPREVIEW_PRINT, 0, 0, 0},
22869 { SWIG_PY_INT, (char *)"PREVIEW_PREVIOUS", (long) wxPREVIEW_PREVIOUS, 0, 0, 0},
22870 { SWIG_PY_INT, (char *)"PREVIEW_NEXT", (long) wxPREVIEW_NEXT, 0, 0, 0},
22871 { SWIG_PY_INT, (char *)"PREVIEW_ZOOM", (long) wxPREVIEW_ZOOM, 0, 0, 0},
22872 { SWIG_PY_INT, (char *)"PREVIEW_FIRST", (long) wxPREVIEW_FIRST, 0, 0, 0},
22873 { SWIG_PY_INT, (char *)"PREVIEW_LAST", (long) wxPREVIEW_LAST, 0, 0, 0},
22874 { SWIG_PY_INT, (char *)"PREVIEW_GOTO", (long) wxPREVIEW_GOTO, 0, 0, 0},
22875 { SWIG_PY_INT, (char *)"PREVIEW_DEFAULT", (long) wxPREVIEW_DEFAULT, 0, 0, 0},
22876 { SWIG_PY_INT, (char *)"ID_PREVIEW_CLOSE", (long) wxID_PREVIEW_CLOSE, 0, 0, 0},
22877 { SWIG_PY_INT, (char *)"ID_PREVIEW_NEXT", (long) wxID_PREVIEW_NEXT, 0, 0, 0},
22878 { SWIG_PY_INT, (char *)"ID_PREVIEW_PREVIOUS", (long) wxID_PREVIEW_PREVIOUS, 0, 0, 0},
22879 { SWIG_PY_INT, (char *)"ID_PREVIEW_PRINT", (long) wxID_PREVIEW_PRINT, 0, 0, 0},
22880 { SWIG_PY_INT, (char *)"ID_PREVIEW_ZOOM", (long) wxID_PREVIEW_ZOOM, 0, 0, 0},
22881 { SWIG_PY_INT, (char *)"ID_PREVIEW_FIRST", (long) wxID_PREVIEW_FIRST, 0, 0, 0},
22882 { SWIG_PY_INT, (char *)"ID_PREVIEW_LAST", (long) wxID_PREVIEW_LAST, 0, 0, 0},
22883 { SWIG_PY_INT, (char *)"ID_PREVIEW_GOTO", (long) wxID_PREVIEW_GOTO, 0, 0, 0},
22884 {0}};
22885
22886 #ifdef __cplusplus
22887 }
22888 #endif
22889
22890 #ifdef __cplusplus
22891 extern "C"
22892 #endif
22893 SWIGEXPORT(void) SWIG_init(void) {
22894 static PyObject *SWIG_globals = 0;
22895 static int typeinit = 0;
22896 PyObject *m, *d;
22897 int i;
22898 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
22899 m = Py_InitModule((char *) SWIG_name, SwigMethods);
22900 d = PyModule_GetDict(m);
22901
22902 if (!typeinit) {
22903 for (i = 0; swig_types_initial[i]; i++) {
22904 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
22905 }
22906 typeinit = 1;
22907 }
22908 SWIG_InstallConstants(d,swig_const_table);
22909
22910 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
22911 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
22912 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
22913 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
22914 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
22915 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
22916 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
22917 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
22918 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
22919 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
22920 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
22921 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
22922 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
22923 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
22924 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
22925 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
22926
22927 // Map renamed classes back to their common name for OOR
22928 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
22929 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
22930 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
22931
22932 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
22933 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
22934 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
22935 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
22936 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
22937 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
22938 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
22939 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
22940 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
22941 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
22942 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
22943 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
22944 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
22945 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
22946 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
22947 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
22948 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
22949 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
22950 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
22951 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
22952
22953 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
22954
22955 }
22956