]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/windows_wrap.cpp
Reworked how stock objects are initialized. They now have an
[wxWidgets.git] / wxPython / src / msw / windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.20
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124
125 #endif
126
127
128 /***********************************************************************
129 * pyrun.swg for wxPython
130 *
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 * anyway.
135 *
136 ************************************************************************/
137
138 #include "Python.h"
139
140 #ifdef __cplusplus
141 extern "C" {
142 #endif
143
144 #define SWIG_PY_INT 1
145 #define SWIG_PY_FLOAT 2
146 #define SWIG_PY_STRING 3
147 #define SWIG_PY_POINTER 4
148 #define SWIG_PY_BINARY 5
149
150 /* Flags for pointer conversion */
151
152 #define SWIG_POINTER_EXCEPTION 0x1
153 #define SWIG_POINTER_DISOWN 0x2
154
155 /* Exception handling in wrappers */
156 #define SWIG_fail goto fail
157
158 /* Constant information structure */
159 typedef struct swig_const_info {
160 int type;
161 char *name;
162 long lvalue;
163 double dvalue;
164 void *pvalue;
165 swig_type_info **ptype;
166 } swig_const_info;
167
168 /* Common SWIG API */
169 #define SWIG_ConvertPtr(obj, pp, type, flags) \
170 SWIG_Python_ConvertPtr(obj, pp, type, flags)
171 #define SWIG_NewPointerObj(p, type, flags) \
172 SWIG_Python_NewPointerObj(p, type, flags)
173 #define SWIG_MustGetPtr(p, type, argnum, flags) \
174 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175
176 /* Python-specific SWIG API */
177 #define SWIG_newvarlink() \
178 SWIG_Python_newvarlink()
179 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
180 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
181 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
182 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
183 #define SWIG_NewPackedObj(ptr, sz, type) \
184 SWIG_Python_NewPackedObj(ptr, sz, type)
185 #define SWIG_InstallConstants(d, constants) \
186 SWIG_Python_InstallConstants(d, constants)
187
188
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198
199
200 /* Contract support */
201
202 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
203
204 #ifdef __cplusplus
205 }
206 #endif
207
208
209
210 /* -------- TYPES TABLE (BEGIN) -------- */
211
212 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
213 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
214 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
215 #define SWIGTYPE_p_wxPyPanel swig_types[3]
216 #define SWIGTYPE_p_wxMenu swig_types[4]
217 #define SWIGTYPE_p_wxPrintData swig_types[5]
218 #define SWIGTYPE_p_wxFontData swig_types[6]
219 #define SWIGTYPE_p_wxEvent swig_types[7]
220 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
221 #define SWIGTYPE_p_wxIconBundle swig_types[9]
222 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
223 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
224 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
225 #define SWIGTYPE_p_wxFont swig_types[13]
226 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
227 #define SWIGTYPE_p_wxRegion swig_types[15]
228 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
229 #define SWIGTYPE_p_int swig_types[17]
230 #define SWIGTYPE_p_wxSize swig_types[18]
231 #define SWIGTYPE_p_wxDC swig_types[19]
232 #define SWIGTYPE_p_wxIcon swig_types[20]
233 #define SWIGTYPE_p_wxMDIChildFrame swig_types[21]
234 #define SWIGTYPE_p_wxColourData swig_types[22]
235 #define SWIGTYPE_p_wxNotifyEvent swig_types[23]
236 #define SWIGTYPE_p_wxPyWindow swig_types[24]
237 #define SWIGTYPE_p_wxSplashScreen swig_types[25]
238 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
239 #define SWIGTYPE_p_wxProgressDialog swig_types[27]
240 #define SWIGTYPE_p_wxMessageDialog swig_types[28]
241 #define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
242 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
243 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
244 #define SWIGTYPE_p_wxFileDialog swig_types[32]
245 #define SWIGTYPE_p_wxPrinter swig_types[33]
246 #define SWIGTYPE_p_wxArrayInt swig_types[34]
247 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
248 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
249 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
250 #define SWIGTYPE_p_wxPyVListBox swig_types[38]
251 #define SWIGTYPE_p_wxRect swig_types[39]
252 #define SWIGTYPE_p_wxMiniFrame swig_types[40]
253 #define SWIGTYPE_p_wxFrame swig_types[41]
254 #define SWIGTYPE_p_wxPyPrintout swig_types[42]
255 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[43]
256 #define SWIGTYPE_p_wxScrollWinEvent swig_types[44]
257 #define SWIGTYPE_p_wxStatusBar swig_types[45]
258 #define SWIGTYPE_p_wxMDIParentFrame swig_types[46]
259 #define SWIGTYPE_p_wxPoint swig_types[47]
260 #define SWIGTYPE_p_wxObject swig_types[48]
261 #define SWIGTYPE_p_unsigned_long swig_types[49]
262 #define SWIGTYPE_p_wxMDIClientWindow swig_types[50]
263 #define SWIGTYPE_p_wxTipWindow swig_types[51]
264 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[52]
265 #define SWIGTYPE_p_wxSplitterWindow swig_types[53]
266 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[54]
267 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[55]
268 #define SWIGTYPE_p_wxPopupWindow swig_types[56]
269 #define SWIGTYPE_p_wxSashWindow swig_types[57]
270 #define SWIGTYPE_p_wxTopLevelWindow swig_types[58]
271 #define SWIGTYPE_p_wxWindow swig_types[59]
272 #define SWIGTYPE_p_wxScrolledWindow swig_types[60]
273 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[61]
274 #define SWIGTYPE_p_wxMenuBar swig_types[62]
275 #define SWIGTYPE_p_wxPrintPreview swig_types[63]
276 #define SWIGTYPE_p_wxSashEvent swig_types[64]
277 #define SWIGTYPE_p_wxString swig_types[65]
278 #define SWIGTYPE_p_wxPyPrintPreview swig_types[66]
279 #define SWIGTYPE_p_wxPageSetupDialog swig_types[67]
280 #define SWIGTYPE_p_wxFontDialog swig_types[68]
281 #define SWIGTYPE_p_wxDirDialog swig_types[69]
282 #define SWIGTYPE_p_wxColourDialog swig_types[70]
283 #define SWIGTYPE_p_wxDialog swig_types[71]
284 #define SWIGTYPE_p_wxPanel swig_types[72]
285 #define SWIGTYPE_p_wxPrintDialog swig_types[73]
286 #define SWIGTYPE_p_wxBitmap swig_types[74]
287 #define SWIGTYPE_p_wxCommandEvent swig_types[75]
288 #define SWIGTYPE_p_wxPrintQuality swig_types[76]
289 #define SWIGTYPE_p_wxPreviewControlBar swig_types[77]
290 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[78]
291 #define SWIGTYPE_p_wxColour swig_types[79]
292 #define SWIGTYPE_p_wxToolBar swig_types[80]
293 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[81]
294 #define SWIGTYPE_p_wxPrintDialogData swig_types[82]
295 static swig_type_info *swig_types[84];
296
297 /* -------- TYPES TABLE (END) -------- */
298
299
300 /*-----------------------------------------------
301 @(target):= _windows.so
302 ------------------------------------------------*/
303 #define SWIG_init init_windows
304
305 #define SWIG_name "_windows"
306
307 #include "wx/wxPython/wxPython.h"
308 #include "wx/wxPython/pyclasses.h"
309
310 DECLARE_DEF_STRING(PanelNameStr);
311 DECLARE_DEF_STRING(EmptyString);
312
313
314
315
316
317 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
318 PyObject* o2;
319 PyObject* o3;
320
321 if (!target) {
322 target = o;
323 } else if (target == Py_None) {
324 Py_DECREF(Py_None);
325 target = o;
326 } else {
327 if (!PyTuple_Check(target)) {
328 o2 = target;
329 target = PyTuple_New(1);
330 PyTuple_SetItem(target, 0, o2);
331 }
332 o3 = PyTuple_New(1);
333 PyTuple_SetItem(o3, 0, o);
334
335 o2 = target;
336 target = PySequence_Concat(o2, o3);
337 Py_DECREF(o2);
338 Py_DECREF(o3);
339 }
340 return target;
341 }
342
343
344 // Put some wx default wxChar* values into wxStrings.
345 DECLARE_DEF_STRING(FrameNameStr);
346 DECLARE_DEF_STRING(DialogNameStr);
347 DECLARE_DEF_STRING(StatusLineNameStr);
348 DECLARE_DEF_STRING(ToolBarNameStr);
349
350 bool wxDialog_IsModalShowing(wxDialog *self){
351
352
353
354 return self->IsModalShowing();
355
356 }
357
358
359 wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
360 wxRect r;
361 self->GetFieldRect(i, r);
362 return r;
363 }
364
365 static const wxChar* wxSplitterNameStr = wxT("splitter");
366 DECLARE_DEF_STRING(SplitterNameStr);
367
368
369 static const wxChar* wxSashNameStr = wxT("sashWindow");
370 DECLARE_DEF_STRING(SashNameStr);
371 static const wxChar* wxSashLayoutNameStr = wxT("layoutWindow");
372 DECLARE_DEF_STRING(SashLayoutNameStr);
373
374
375 #include <wx/popupwin.h>
376
377
378 class wxPyPopupTransientWindow : public wxPopupTransientWindow
379 {
380 public:
381 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
382 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
383 : wxPopupTransientWindow(parent, style) {}
384
385 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
386 DEC_PYCALLBACK__(OnDismiss);
387 DEC_PYCALLBACK_BOOL_(CanDismiss);
388 PYPRIVATE;
389 };
390
391
392 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
393 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
394 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
395
396
397 #include <wx/tipwin.h>
398
399 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
400 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
401 }
402
403 #include <wx/tipwin.h>
404
405
406 #include <wx/vscroll.h>
407
408
409 class wxPyVScrolledWindow : public wxVScrolledWindow
410 {
411 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
412 public:
413 wxPyVScrolledWindow() : wxVScrolledWindow() {}
414
415 wxPyVScrolledWindow(wxWindow *parent,
416 wxWindowID id = wxID_ANY,
417 const wxPoint& pos = wxDefaultPosition,
418 const wxSize& size = wxDefaultSize,
419 long style = 0,
420 const wxString& name = wxPyPanelNameStr)
421 : wxVScrolledWindow(parent, id, pos, size, style, name)
422 {}
423
424 // Overridable virtuals
425
426 // this function must be overridden in the derived class and it should
427 // return the height of the given line in pixels
428 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
429
430
431 // this function doesn't have to be overridden but it may be useful to do
432 // it if calculating the lines heights is a relatively expensive operation
433 // as it gives the user code a possibility to calculate several of them at
434 // once
435 //
436 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
437 // shouldn't rely on the latter being called for all lines in the interval
438 // specified here. It is also possible that OnGetLineHeight() will be
439 // called for the lines outside of this interval, so this is really just a
440 // hint, not a promise.
441 //
442 // finally note that lineMin is inclusive, while lineMax is exclusive, as
443 // usual
444 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
445
446
447 // when the number of lines changes, we try to estimate the total height
448 // of all lines which is a rather expensive operation in terms of lines
449 // access, so if the user code may estimate the average height
450 // better/faster than we do, it should override this function to implement
451 // its own logic
452 //
453 // this function should return the best guess for the total height it may
454 // make
455 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
456
457
458 // Also expose some other interesting protected methods
459
460
461 // find the index of the line we need to show at the top of the window such
462 // that the last (fully or partially) visible line is the given one
463 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
464 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
465
466 // get the total height of the lines between lineMin (inclusive) and
467 // lineMax (exclusive)
468 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
469 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
470
471
472 PYPRIVATE;
473 };
474
475 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
476
477 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
478 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
479 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
480
481
482 #include <wx/vlbox.h>
483 DECLARE_DEF_STRING(VListBoxNameStr);
484
485
486 class wxPyVListBox : public wxVListBox
487 {
488 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
489 public:
490 wxPyVListBox() : wxVListBox() {}
491
492 wxPyVListBox(wxWindow *parent,
493 wxWindowID id = wxID_ANY,
494 const wxPoint& pos = wxDefaultPosition,
495 const wxSize& size = wxDefaultSize,
496 long style = 0,
497 const wxString& name = wxPyVListBoxNameStr)
498 : wxVListBox(parent, id, pos, size, style, name)
499 {}
500
501 // Overridable virtuals
502
503 // the derived class must implement this function to actually draw the item
504 // with the given index on the provided DC
505 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
506 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
507
508
509 // the derived class must implement this method to return the height of the
510 // specified item
511 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
512 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
513
514
515 // this method may be used to draw separators between the lines; note that
516 // the rectangle may be modified, typically to deflate it a bit before
517 // passing to OnDrawItem()
518 //
519 // the base class version doesn't do anything
520 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
521 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
522
523
524 // this method is used to draw the items background and, maybe, a border
525 // around it
526 //
527 // the base class version implements a reasonable default behaviour which
528 // consists in drawing the selected item with the standard background
529 // colour and drawing a border around the item if it is either selected or
530 // current
531 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
532 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
533
534
535 PYPRIVATE;
536 };
537
538 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
539
540 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
541 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
542 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
543 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
544
545
546
547 #include <wx/htmllbox.h>
548
549
550 class wxPyHtmlListBox : public wxHtmlListBox
551 {
552 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
553 public:
554 wxPyHtmlListBox() : wxHtmlListBox() {}
555
556 wxPyHtmlListBox(wxWindow *parent,
557 wxWindowID id = wxID_ANY,
558 const wxPoint& pos = wxDefaultPosition,
559 const wxSize& size = wxDefaultSize,
560 long style = 0,
561 const wxString& name = wxPyVListBoxNameStr)
562 : wxHtmlListBox(parent, id, pos, size, style, name)
563 {}
564
565 // Overridable virtuals
566
567 // this method must be implemented in the derived class and should return
568 // the body (i.e. without <html>) of the HTML for the given item
569 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
570
571 // this function may be overridden to decorate HTML returned by OnGetItem()
572 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
573
574 // TODO:
575 // // this method allows to customize the selection appearance: it may be used
576 // // to specify the colour of the text which normally has the given colour
577 // // colFg when it is inside the selection
578 // //
579 // // by default, the original colour is not used at all and all text has the
580 // // same (default for this system) colour inside selection
581 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
582
583 // // this is the same as GetSelectedTextColour() but allows to customize the
584 // // background colour -- this is even more rarely used as you can change it
585 // // globally using SetSelectionBackground()
586 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
587
588
589 PYPRIVATE;
590 };
591
592
593 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
594
595 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
596 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
597
598
599
600
601
602 #ifdef __WXMAC__
603 // implement dummy classes and such for wxMac
604
605 class wxTaskBarIcon : public wxEvtHandler
606 {
607 public:
608 wxTaskBarIcon() { PyErr_SetNone(PyExc_NotImplementedError); }
609 };
610
611
612 class wxTaskBarIconEvent : public wxEvent
613 {
614 public:
615 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
616 { PyErr_SetNone(PyExc_NotImplementedError); }
617 virtual wxEvent* Clone() const { return NULL; }
618 };
619
620 enum {
621 wxEVT_TASKBAR_MOVE = 0,
622 wxEVT_TASKBAR_LEFT_DOWN = 0,
623 wxEVT_TASKBAR_LEFT_UP = 0,
624 wxEVT_TASKBAR_RIGHT_DOWN = 0,
625 wxEVT_TASKBAR_RIGHT_UP = 0,
626 wxEVT_TASKBAR_LEFT_DCLICK = 0,
627 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
628 };
629 #endif
630
631
632
633 DECLARE_DEF_STRING(FileSelectorPromptStr);
634 DECLARE_DEF_STRING(DirSelectorPromptStr);
635 DECLARE_DEF_STRING(DirDialogNameStr);
636 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr);
637 DECLARE_DEF_STRING(GetTextFromUserPromptStr);
638 DECLARE_DEF_STRING(MessageBoxCaptionStr);
639
640
641 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
642 wxArrayString arr;
643 self->GetFilenames(arr);
644 return wxArrayString2PyList_helper(arr);
645 }
646 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
647 wxArrayString arr;
648 self->GetPaths(arr);
649 return wxArrayString2PyList_helper(arr);
650 }
651 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
652 return wxArrayInt2PyList_helper(self->GetSelections());
653 }
654 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
655 return new wxSingleChoiceDialog(parent, message, caption,
656 choices, choices_array, NULL, style, pos);
657 }
658
659 #include <wx/mdi.h>
660
661 // C++ version of Python aware wxWindow
662 class wxPyWindow : public wxWindow
663 {
664 DECLARE_DYNAMIC_CLASS(wxPyWindow)
665 public:
666 wxPyWindow() : wxWindow() {}
667 wxPyWindow(wxWindow* parent, const wxWindowID id,
668 const wxPoint& pos = wxDefaultPosition,
669 const wxSize& size = wxDefaultSize,
670 long style = 0,
671 const wxString& name = wxPyPanelNameStr)
672 : wxWindow(parent, id, pos, size, style, name) {}
673
674
675 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
676 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
677 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
678 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
679
680 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
681 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
682 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
683
684 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
685 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
686
687 DEC_PYCALLBACK__(InitDialog);
688 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
689 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
690 DEC_PYCALLBACK_BOOL_(Validate);
691
692 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
693 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
694 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
695
696 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
697 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
698
699 PYPRIVATE;
700 };
701
702 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
703
704 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
705 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
706 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
707 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
708
709 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
710 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
711 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
712
713 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
714 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
715
716 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
717 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
718 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
719 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
720
721 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
722 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
723 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
724
725 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
726 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
727
728
729 // C++ version of Python aware wxPanel
730 class wxPyPanel : public wxPanel
731 {
732 DECLARE_DYNAMIC_CLASS(wxPyPanel)
733 public:
734 wxPyPanel() : wxPanel() {}
735 wxPyPanel(wxWindow* parent, const wxWindowID id,
736 const wxPoint& pos = wxDefaultPosition,
737 const wxSize& size = wxDefaultSize,
738 long style = 0,
739 const wxString& name = wxPyPanelNameStr)
740 : wxPanel(parent, id, pos, size, style, name) {}
741
742
743 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
744 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
745 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
746 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
747
748 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
749 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
750 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
751
752 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
753 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
754
755 DEC_PYCALLBACK__(InitDialog);
756 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
757 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
758 DEC_PYCALLBACK_BOOL_(Validate);
759
760 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
761 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
762 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
763
764 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
765 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
766
767 PYPRIVATE;
768 };
769
770 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
771
772 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
773 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
774 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
775 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
776
777 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
778 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
779 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
780
781 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
782 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
783
784 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
785 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
786 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
787 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
788
789 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
790 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
791 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
792
793 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
794 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
795
796
797
798 #include "wx/wxPython/printfw.h"
799
800 static const wxChar* wxPrintoutTitleStr = wxT("Printout");
801 DECLARE_DEF_STRING(PrintoutTitleStr);
802 static const wxChar* wxPreviewCanvasNameStr = wxT("previewcanvas");
803 DECLARE_DEF_STRING(PreviewCanvasNameStr);
804
805
806
807
808
809 // Since this one would be tough and ugly to do with the Macros...
810 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
811 bool hadErr = False;
812 bool found;
813
814 wxPyBeginBlockThreads();
815 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
816 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
817 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
818 PyObject* val;
819
820 val = PyTuple_GetItem(result, 0);
821 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
822 else hadErr = True;
823
824 val = PyTuple_GetItem(result, 1);
825 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
826 else hadErr = True;
827
828 val = PyTuple_GetItem(result, 2);
829 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
830 else hadErr = True;
831
832 val = PyTuple_GetItem(result, 3);
833 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
834 else hadErr = True;
835 }
836 else
837 hadErr = True;
838
839 if (hadErr) {
840 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
841 PyErr_Print();
842 }
843 Py_DECREF(result);
844 }
845 wxPyEndBlockThreads();
846 if (! found)
847 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
848 }
849
850 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
851 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
852 }
853
854
855 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
856 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
857 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
858 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
859 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
860 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
861 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
862
863
864
865
866
867 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
868 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
869 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
870
871
872 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
873 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
874 bool rval=False; \
875 bool found; \
876 wxPyBeginBlockThreads(); \
877 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
878 PyObject* win = wxPyMake_wxObject(a); \
879 PyObject* dc = wxPyMake_wxObject(&b); \
880 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
881 Py_DECREF(win); \
882 Py_DECREF(dc); \
883 } \
884 wxPyEndBlockThreads(); \
885 if (! found) \
886 rval = PCLASS::CBNAME(a, b); \
887 return rval; \
888 } \
889 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
890 return PCLASS::CBNAME(a, b); \
891 }
892
893
894
895
896 class wxPyPrintPreview : public wxPrintPreview
897 {
898 DECLARE_CLASS(wxPyPrintPreview)
899 public:
900 wxPyPrintPreview(wxPyPrintout* printout,
901 wxPyPrintout* printoutForPrinting,
902 wxPrintData* data=NULL)
903 : wxPrintPreview(printout, printoutForPrinting, data)
904 {}
905
906 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
907 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
908 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
909 DEC_PYCALLBACK_BOOL_INT(RenderPage);
910 DEC_PYCALLBACK_VOID_INT(SetZoom);
911 DEC_PYCALLBACK_BOOL_BOOL(Print);
912 DEC_PYCALLBACK_VOID_(DetermineScaling);
913
914 PYPRIVATE;
915 };
916
917 // Stupid renamed classes... Fix this in 2.5...
918 #if defined(__WXMSW__)
919 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
920 #elif defined(__WXMAC__)
921 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
922 #else
923 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
924 #endif
925
926 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
927 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
928 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
929 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
930 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
931 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
932 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
933
934
935 class wxPyPreviewFrame : public wxPreviewFrame
936 {
937 DECLARE_CLASS(wxPyPreviewFrame);
938 public:
939 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
940 const wxString& title,
941 const wxPoint& pos = wxDefaultPosition,
942 const wxSize& size = wxDefaultSize,
943 long style = wxDEFAULT_FRAME_STYLE,
944 const wxString& name = wxPyFrameNameStr)
945 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
946 {}
947
948 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
949 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
950
951 DEC_PYCALLBACK_VOID_(Initialize);
952 DEC_PYCALLBACK_VOID_(CreateCanvas);
953 DEC_PYCALLBACK_VOID_(CreateControlBar);
954
955 PYPRIVATE;
956 };
957
958 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
959
960 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
961 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
962 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
963
964
965 class wxPyPreviewControlBar : public wxPreviewControlBar
966 {
967 DECLARE_CLASS(wxPyPreviewControlBar);
968 public:
969 wxPyPreviewControlBar(wxPrintPreview *preview,
970 long buttons,
971 wxWindow *parent,
972 const wxPoint& pos = wxDefaultPosition,
973 const wxSize& size = wxDefaultSize,
974 long style = 0,
975 const wxString& name = wxPyPanelNameStr)
976 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
977 {}
978
979 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
980
981 DEC_PYCALLBACK_VOID_(CreateButtons);
982 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
983
984 PYPRIVATE;
985 };
986
987 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
988 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
989 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
990
991 #ifdef __cplusplus
992 extern "C" {
993 #endif
994 static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
995 PyObject *resultobj;
996 wxWindow *arg1 = (wxWindow *) 0 ;
997 int arg2 = (int) (int)-1 ;
998 wxPoint const &arg3_defvalue = wxDefaultPosition ;
999 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1000 wxSize const &arg4_defvalue = wxDefaultSize ;
1001 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1002 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1003 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1004 wxString *arg6 = (wxString *) &arg6_defvalue ;
1005 wxPanel *result;
1006 wxPoint temp3 ;
1007 wxSize temp4 ;
1008 bool temp6 = False ;
1009 PyObject * obj0 = 0 ;
1010 PyObject * obj2 = 0 ;
1011 PyObject * obj3 = 0 ;
1012 PyObject * obj5 = 0 ;
1013 char *kwnames[] = {
1014 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1015 };
1016
1017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_Panel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
1018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1019 if (obj2) {
1020 {
1021 arg3 = &temp3;
1022 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1023 }
1024 }
1025 if (obj3) {
1026 {
1027 arg4 = &temp4;
1028 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1029 }
1030 }
1031 if (obj5) {
1032 {
1033 arg6 = wxString_in_helper(obj5);
1034 if (arg6 == NULL) SWIG_fail;
1035 temp6 = True;
1036 }
1037 }
1038 {
1039 PyThreadState* __tstate = wxPyBeginAllowThreads();
1040 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1041
1042 wxPyEndAllowThreads(__tstate);
1043 if (PyErr_Occurred()) SWIG_fail;
1044 }
1045 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1046 {
1047 if (temp6)
1048 delete arg6;
1049 }
1050 return resultobj;
1051 fail:
1052 {
1053 if (temp6)
1054 delete arg6;
1055 }
1056 return NULL;
1057 }
1058
1059
1060 static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1061 PyObject *resultobj;
1062 wxPanel *result;
1063 char *kwnames[] = {
1064 NULL
1065 };
1066
1067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1068 {
1069 PyThreadState* __tstate = wxPyBeginAllowThreads();
1070 result = (wxPanel *)new wxPanel();
1071
1072 wxPyEndAllowThreads(__tstate);
1073 if (PyErr_Occurred()) SWIG_fail;
1074 }
1075 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1076 return resultobj;
1077 fail:
1078 return NULL;
1079 }
1080
1081
1082 static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1083 PyObject *resultobj;
1084 wxPanel *arg1 = (wxPanel *) 0 ;
1085 wxWindow *arg2 = (wxWindow *) 0 ;
1086 int arg3 ;
1087 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1088 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1089 wxSize const &arg5_defvalue = wxDefaultSize ;
1090 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1091 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1092 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1093 wxString *arg7 = (wxString *) &arg7_defvalue ;
1094 bool result;
1095 wxPoint temp4 ;
1096 wxSize temp5 ;
1097 bool temp7 = False ;
1098 PyObject * obj0 = 0 ;
1099 PyObject * obj1 = 0 ;
1100 PyObject * obj3 = 0 ;
1101 PyObject * obj4 = 0 ;
1102 PyObject * obj6 = 0 ;
1103 char *kwnames[] = {
1104 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1105 };
1106
1107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Panel_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1109 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1110 if (obj3) {
1111 {
1112 arg4 = &temp4;
1113 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1114 }
1115 }
1116 if (obj4) {
1117 {
1118 arg5 = &temp5;
1119 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1120 }
1121 }
1122 if (obj6) {
1123 {
1124 arg7 = wxString_in_helper(obj6);
1125 if (arg7 == NULL) SWIG_fail;
1126 temp7 = True;
1127 }
1128 }
1129 {
1130 PyThreadState* __tstate = wxPyBeginAllowThreads();
1131 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1132
1133 wxPyEndAllowThreads(__tstate);
1134 if (PyErr_Occurred()) SWIG_fail;
1135 }
1136 resultobj = PyInt_FromLong((long)result);
1137 {
1138 if (temp7)
1139 delete arg7;
1140 }
1141 return resultobj;
1142 fail:
1143 {
1144 if (temp7)
1145 delete arg7;
1146 }
1147 return NULL;
1148 }
1149
1150
1151 static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1152 PyObject *resultobj;
1153 wxPanel *arg1 = (wxPanel *) 0 ;
1154 PyObject * obj0 = 0 ;
1155 char *kwnames[] = {
1156 (char *) "self", NULL
1157 };
1158
1159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1161 {
1162 PyThreadState* __tstate = wxPyBeginAllowThreads();
1163 (arg1)->InitDialog();
1164
1165 wxPyEndAllowThreads(__tstate);
1166 if (PyErr_Occurred()) SWIG_fail;
1167 }
1168 Py_INCREF(Py_None); resultobj = Py_None;
1169 return resultobj;
1170 fail:
1171 return NULL;
1172 }
1173
1174
1175 static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1176 PyObject *obj;
1177 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1178 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1179 Py_INCREF(obj);
1180 return Py_BuildValue((char *)"");
1181 }
1182 static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1183 PyObject *resultobj;
1184 wxWindow *arg1 = (wxWindow *) 0 ;
1185 int arg2 = (int) (int)-1 ;
1186 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1187 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1188 wxSize const &arg4_defvalue = wxDefaultSize ;
1189 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1190 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1191 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1192 wxString *arg6 = (wxString *) &arg6_defvalue ;
1193 wxScrolledWindow *result;
1194 wxPoint temp3 ;
1195 wxSize temp4 ;
1196 bool temp6 = False ;
1197 PyObject * obj0 = 0 ;
1198 PyObject * obj2 = 0 ;
1199 PyObject * obj3 = 0 ;
1200 PyObject * obj5 = 0 ;
1201 char *kwnames[] = {
1202 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1203 };
1204
1205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_ScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
1206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1207 if (obj2) {
1208 {
1209 arg3 = &temp3;
1210 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1211 }
1212 }
1213 if (obj3) {
1214 {
1215 arg4 = &temp4;
1216 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1217 }
1218 }
1219 if (obj5) {
1220 {
1221 arg6 = wxString_in_helper(obj5);
1222 if (arg6 == NULL) SWIG_fail;
1223 temp6 = True;
1224 }
1225 }
1226 {
1227 PyThreadState* __tstate = wxPyBeginAllowThreads();
1228 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1229
1230 wxPyEndAllowThreads(__tstate);
1231 if (PyErr_Occurred()) SWIG_fail;
1232 }
1233 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1234 {
1235 if (temp6)
1236 delete arg6;
1237 }
1238 return resultobj;
1239 fail:
1240 {
1241 if (temp6)
1242 delete arg6;
1243 }
1244 return NULL;
1245 }
1246
1247
1248 static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1249 PyObject *resultobj;
1250 wxScrolledWindow *result;
1251 char *kwnames[] = {
1252 NULL
1253 };
1254
1255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1256 {
1257 PyThreadState* __tstate = wxPyBeginAllowThreads();
1258 result = (wxScrolledWindow *)new wxScrolledWindow();
1259
1260 wxPyEndAllowThreads(__tstate);
1261 if (PyErr_Occurred()) SWIG_fail;
1262 }
1263 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1264 return resultobj;
1265 fail:
1266 return NULL;
1267 }
1268
1269
1270 static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1271 PyObject *resultobj;
1272 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1273 wxWindow *arg2 = (wxWindow *) 0 ;
1274 int arg3 = (int) (int)-1 ;
1275 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1276 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1277 wxSize const &arg5_defvalue = wxDefaultSize ;
1278 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1279 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1280 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1281 wxString *arg7 = (wxString *) &arg7_defvalue ;
1282 bool result;
1283 wxPoint temp4 ;
1284 wxSize temp5 ;
1285 bool temp7 = False ;
1286 PyObject * obj0 = 0 ;
1287 PyObject * obj1 = 0 ;
1288 PyObject * obj3 = 0 ;
1289 PyObject * obj4 = 0 ;
1290 PyObject * obj6 = 0 ;
1291 char *kwnames[] = {
1292 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1293 };
1294
1295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1297 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1298 if (obj3) {
1299 {
1300 arg4 = &temp4;
1301 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1302 }
1303 }
1304 if (obj4) {
1305 {
1306 arg5 = &temp5;
1307 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1308 }
1309 }
1310 if (obj6) {
1311 {
1312 arg7 = wxString_in_helper(obj6);
1313 if (arg7 == NULL) SWIG_fail;
1314 temp7 = True;
1315 }
1316 }
1317 {
1318 PyThreadState* __tstate = wxPyBeginAllowThreads();
1319 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1320
1321 wxPyEndAllowThreads(__tstate);
1322 if (PyErr_Occurred()) SWIG_fail;
1323 }
1324 resultobj = PyInt_FromLong((long)result);
1325 {
1326 if (temp7)
1327 delete arg7;
1328 }
1329 return resultobj;
1330 fail:
1331 {
1332 if (temp7)
1333 delete arg7;
1334 }
1335 return NULL;
1336 }
1337
1338
1339 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1340 PyObject *resultobj;
1341 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1342 int arg2 ;
1343 int arg3 ;
1344 int arg4 ;
1345 int arg5 ;
1346 int arg6 = (int) 0 ;
1347 int arg7 = (int) 0 ;
1348 bool arg8 = (bool) False ;
1349 PyObject * obj0 = 0 ;
1350 PyObject * obj7 = 0 ;
1351 char *kwnames[] = {
1352 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1353 };
1354
1355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|iiO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7,&obj7)) goto fail;
1356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1357 if (obj7) {
1358 arg8 = PyInt_AsLong(obj7) ? true : false;
1359 if (PyErr_Occurred()) SWIG_fail;
1360 }
1361 {
1362 PyThreadState* __tstate = wxPyBeginAllowThreads();
1363 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1364
1365 wxPyEndAllowThreads(__tstate);
1366 if (PyErr_Occurred()) SWIG_fail;
1367 }
1368 Py_INCREF(Py_None); resultobj = Py_None;
1369 return resultobj;
1370 fail:
1371 return NULL;
1372 }
1373
1374
1375 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1376 PyObject *resultobj;
1377 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1378 int arg2 ;
1379 int arg3 ;
1380 PyObject * obj0 = 0 ;
1381 char *kwnames[] = {
1382 (char *) "self",(char *) "x",(char *) "y", NULL
1383 };
1384
1385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_Scroll",kwnames,&obj0,&arg2,&arg3)) goto fail;
1386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1387 {
1388 PyThreadState* __tstate = wxPyBeginAllowThreads();
1389 (arg1)->Scroll(arg2,arg3);
1390
1391 wxPyEndAllowThreads(__tstate);
1392 if (PyErr_Occurred()) SWIG_fail;
1393 }
1394 Py_INCREF(Py_None); resultobj = Py_None;
1395 return resultobj;
1396 fail:
1397 return NULL;
1398 }
1399
1400
1401 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1402 PyObject *resultobj;
1403 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1404 int arg2 ;
1405 int result;
1406 PyObject * obj0 = 0 ;
1407 char *kwnames[] = {
1408 (char *) "self",(char *) "orient", NULL
1409 };
1410
1411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&arg2)) goto fail;
1412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1413 {
1414 PyThreadState* __tstate = wxPyBeginAllowThreads();
1415 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1416
1417 wxPyEndAllowThreads(__tstate);
1418 if (PyErr_Occurred()) SWIG_fail;
1419 }
1420 resultobj = PyInt_FromLong((long)result);
1421 return resultobj;
1422 fail:
1423 return NULL;
1424 }
1425
1426
1427 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1428 PyObject *resultobj;
1429 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1430 int arg2 ;
1431 int arg3 ;
1432 PyObject * obj0 = 0 ;
1433 char *kwnames[] = {
1434 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1435 };
1436
1437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
1438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1439 {
1440 PyThreadState* __tstate = wxPyBeginAllowThreads();
1441 (arg1)->SetScrollPageSize(arg2,arg3);
1442
1443 wxPyEndAllowThreads(__tstate);
1444 if (PyErr_Occurred()) SWIG_fail;
1445 }
1446 Py_INCREF(Py_None); resultobj = Py_None;
1447 return resultobj;
1448 fail:
1449 return NULL;
1450 }
1451
1452
1453 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1454 PyObject *resultobj;
1455 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1456 int arg2 ;
1457 int arg3 ;
1458 PyObject * obj0 = 0 ;
1459 char *kwnames[] = {
1460 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1461 };
1462
1463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollRate",kwnames,&obj0,&arg2,&arg3)) goto fail;
1464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1465 {
1466 PyThreadState* __tstate = wxPyBeginAllowThreads();
1467 (arg1)->SetScrollRate(arg2,arg3);
1468
1469 wxPyEndAllowThreads(__tstate);
1470 if (PyErr_Occurred()) SWIG_fail;
1471 }
1472 Py_INCREF(Py_None); resultobj = Py_None;
1473 return resultobj;
1474 fail:
1475 return NULL;
1476 }
1477
1478
1479 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1480 PyObject *resultobj;
1481 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1482 int *arg2 = (int *) 0 ;
1483 int *arg3 = (int *) 0 ;
1484 int temp2 ;
1485 int temp3 ;
1486 PyObject * obj0 = 0 ;
1487 char *kwnames[] = {
1488 (char *) "self", NULL
1489 };
1490
1491 arg2 = &temp2;
1492 arg3 = &temp3;
1493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1495 {
1496 PyThreadState* __tstate = wxPyBeginAllowThreads();
1497 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1498
1499 wxPyEndAllowThreads(__tstate);
1500 if (PyErr_Occurred()) SWIG_fail;
1501 }
1502 Py_INCREF(Py_None); resultobj = Py_None;
1503 {
1504 PyObject *o = PyInt_FromLong((long) (*arg2));
1505 resultobj = t_output_helper(resultobj,o);
1506 }
1507 {
1508 PyObject *o = PyInt_FromLong((long) (*arg3));
1509 resultobj = t_output_helper(resultobj,o);
1510 }
1511 return resultobj;
1512 fail:
1513 return NULL;
1514 }
1515
1516
1517 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1518 PyObject *resultobj;
1519 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1520 bool arg2 ;
1521 bool arg3 ;
1522 PyObject * obj0 = 0 ;
1523 PyObject * obj1 = 0 ;
1524 PyObject * obj2 = 0 ;
1525 char *kwnames[] = {
1526 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1527 };
1528
1529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1531 arg2 = PyInt_AsLong(obj1) ? true : false;
1532 if (PyErr_Occurred()) SWIG_fail;
1533 arg3 = PyInt_AsLong(obj2) ? true : false;
1534 if (PyErr_Occurred()) SWIG_fail;
1535 {
1536 PyThreadState* __tstate = wxPyBeginAllowThreads();
1537 (arg1)->EnableScrolling(arg2,arg3);
1538
1539 wxPyEndAllowThreads(__tstate);
1540 if (PyErr_Occurred()) SWIG_fail;
1541 }
1542 Py_INCREF(Py_None); resultobj = Py_None;
1543 return resultobj;
1544 fail:
1545 return NULL;
1546 }
1547
1548
1549 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1550 PyObject *resultobj;
1551 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1552 int *arg2 = (int *) 0 ;
1553 int *arg3 = (int *) 0 ;
1554 int temp2 ;
1555 int temp3 ;
1556 PyObject * obj0 = 0 ;
1557 char *kwnames[] = {
1558 (char *) "self", NULL
1559 };
1560
1561 arg2 = &temp2;
1562 arg3 = &temp3;
1563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1565 {
1566 PyThreadState* __tstate = wxPyBeginAllowThreads();
1567 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1568
1569 wxPyEndAllowThreads(__tstate);
1570 if (PyErr_Occurred()) SWIG_fail;
1571 }
1572 Py_INCREF(Py_None); resultobj = Py_None;
1573 {
1574 PyObject *o = PyInt_FromLong((long) (*arg2));
1575 resultobj = t_output_helper(resultobj,o);
1576 }
1577 {
1578 PyObject *o = PyInt_FromLong((long) (*arg3));
1579 resultobj = t_output_helper(resultobj,o);
1580 }
1581 return resultobj;
1582 fail:
1583 return NULL;
1584 }
1585
1586
1587 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
1588 PyObject *resultobj;
1589 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1590 double arg2 ;
1591 double arg3 ;
1592 PyObject * obj0 = 0 ;
1593 char *kwnames[] = {
1594 (char *) "self",(char *) "xs",(char *) "ys", NULL
1595 };
1596
1597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ScrolledWindow_SetScale",kwnames,&obj0,&arg2,&arg3)) goto fail;
1598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1599 {
1600 PyThreadState* __tstate = wxPyBeginAllowThreads();
1601 (arg1)->SetScale(arg2,arg3);
1602
1603 wxPyEndAllowThreads(__tstate);
1604 if (PyErr_Occurred()) SWIG_fail;
1605 }
1606 Py_INCREF(Py_None); resultobj = Py_None;
1607 return resultobj;
1608 fail:
1609 return NULL;
1610 }
1611
1612
1613 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
1614 PyObject *resultobj;
1615 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1616 double result;
1617 PyObject * obj0 = 0 ;
1618 char *kwnames[] = {
1619 (char *) "self", NULL
1620 };
1621
1622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
1623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1624 {
1625 PyThreadState* __tstate = wxPyBeginAllowThreads();
1626 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
1627
1628 wxPyEndAllowThreads(__tstate);
1629 if (PyErr_Occurred()) SWIG_fail;
1630 }
1631 resultobj = PyFloat_FromDouble(result);
1632 return resultobj;
1633 fail:
1634 return NULL;
1635 }
1636
1637
1638 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
1639 PyObject *resultobj;
1640 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1641 double result;
1642 PyObject * obj0 = 0 ;
1643 char *kwnames[] = {
1644 (char *) "self", NULL
1645 };
1646
1647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
1648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1649 {
1650 PyThreadState* __tstate = wxPyBeginAllowThreads();
1651 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
1652
1653 wxPyEndAllowThreads(__tstate);
1654 if (PyErr_Occurred()) SWIG_fail;
1655 }
1656 resultobj = PyFloat_FromDouble(result);
1657 return resultobj;
1658 fail:
1659 return NULL;
1660 }
1661
1662
1663 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1664 PyObject *resultobj;
1665 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1666 wxPoint *arg2 = 0 ;
1667 wxPoint result;
1668 wxPoint temp2 ;
1669 PyObject * obj0 = 0 ;
1670 PyObject * obj1 = 0 ;
1671
1672 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
1673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1674 {
1675 arg2 = &temp2;
1676 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1677 }
1678 {
1679 PyThreadState* __tstate = wxPyBeginAllowThreads();
1680 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
1681
1682 wxPyEndAllowThreads(__tstate);
1683 if (PyErr_Occurred()) SWIG_fail;
1684 }
1685 {
1686 wxPoint * resultptr;
1687 resultptr = new wxPoint((wxPoint &) result);
1688 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
1689 }
1690 return resultobj;
1691 fail:
1692 return NULL;
1693 }
1694
1695
1696 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1697 PyObject *resultobj;
1698 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1699 int arg2 ;
1700 int arg3 ;
1701 int *arg4 = (int *) 0 ;
1702 int *arg5 = (int *) 0 ;
1703 int temp4 ;
1704 int temp5 ;
1705 PyObject * obj0 = 0 ;
1706
1707 arg4 = &temp4;
1708 arg5 = &temp5;
1709 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcScrolledPosition",&obj0,&arg2,&arg3)) goto fail;
1710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1711 {
1712 PyThreadState* __tstate = wxPyBeginAllowThreads();
1713 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
1714
1715 wxPyEndAllowThreads(__tstate);
1716 if (PyErr_Occurred()) SWIG_fail;
1717 }
1718 Py_INCREF(Py_None); resultobj = Py_None;
1719 {
1720 PyObject *o = PyInt_FromLong((long) (*arg4));
1721 resultobj = t_output_helper(resultobj,o);
1722 }
1723 {
1724 PyObject *o = PyInt_FromLong((long) (*arg5));
1725 resultobj = t_output_helper(resultobj,o);
1726 }
1727 return resultobj;
1728 fail:
1729 return NULL;
1730 }
1731
1732
1733 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
1734 int argc;
1735 PyObject *argv[4];
1736 int ii;
1737
1738 argc = PyObject_Length(args);
1739 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1740 argv[ii] = PyTuple_GetItem(args,ii);
1741 }
1742 if (argc == 2) {
1743 int _v;
1744 {
1745 void *ptr;
1746 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1747 _v = 0;
1748 PyErr_Clear();
1749 } else {
1750 _v = 1;
1751 }
1752 }
1753 if (_v) {
1754 {
1755 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1756 }
1757 if (_v) {
1758 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
1759 }
1760 }
1761 }
1762 if (argc == 3) {
1763 int _v;
1764 {
1765 void *ptr;
1766 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1767 _v = 0;
1768 PyErr_Clear();
1769 } else {
1770 _v = 1;
1771 }
1772 }
1773 if (_v) {
1774 {
1775 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1776 }
1777 if (_v) {
1778 {
1779 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1780 }
1781 if (_v) {
1782 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
1783 }
1784 }
1785 }
1786 }
1787
1788 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
1789 return NULL;
1790 }
1791
1792
1793 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1794 PyObject *resultobj;
1795 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1796 wxPoint *arg2 = 0 ;
1797 wxPoint result;
1798 wxPoint temp2 ;
1799 PyObject * obj0 = 0 ;
1800 PyObject * obj1 = 0 ;
1801
1802 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
1803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1804 {
1805 arg2 = &temp2;
1806 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1807 }
1808 {
1809 PyThreadState* __tstate = wxPyBeginAllowThreads();
1810 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
1811
1812 wxPyEndAllowThreads(__tstate);
1813 if (PyErr_Occurred()) SWIG_fail;
1814 }
1815 {
1816 wxPoint * resultptr;
1817 resultptr = new wxPoint((wxPoint &) result);
1818 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
1819 }
1820 return resultobj;
1821 fail:
1822 return NULL;
1823 }
1824
1825
1826 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1827 PyObject *resultobj;
1828 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1829 int arg2 ;
1830 int arg3 ;
1831 int *arg4 = (int *) 0 ;
1832 int *arg5 = (int *) 0 ;
1833 int temp4 ;
1834 int temp5 ;
1835 PyObject * obj0 = 0 ;
1836
1837 arg4 = &temp4;
1838 arg5 = &temp5;
1839 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcUnscrolledPosition",&obj0,&arg2,&arg3)) goto fail;
1840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1841 {
1842 PyThreadState* __tstate = wxPyBeginAllowThreads();
1843 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
1844
1845 wxPyEndAllowThreads(__tstate);
1846 if (PyErr_Occurred()) SWIG_fail;
1847 }
1848 Py_INCREF(Py_None); resultobj = Py_None;
1849 {
1850 PyObject *o = PyInt_FromLong((long) (*arg4));
1851 resultobj = t_output_helper(resultobj,o);
1852 }
1853 {
1854 PyObject *o = PyInt_FromLong((long) (*arg5));
1855 resultobj = t_output_helper(resultobj,o);
1856 }
1857 return resultobj;
1858 fail:
1859 return NULL;
1860 }
1861
1862
1863 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
1864 int argc;
1865 PyObject *argv[4];
1866 int ii;
1867
1868 argc = PyObject_Length(args);
1869 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1870 argv[ii] = PyTuple_GetItem(args,ii);
1871 }
1872 if (argc == 2) {
1873 int _v;
1874 {
1875 void *ptr;
1876 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1877 _v = 0;
1878 PyErr_Clear();
1879 } else {
1880 _v = 1;
1881 }
1882 }
1883 if (_v) {
1884 {
1885 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1886 }
1887 if (_v) {
1888 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
1889 }
1890 }
1891 }
1892 if (argc == 3) {
1893 int _v;
1894 {
1895 void *ptr;
1896 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1897 _v = 0;
1898 PyErr_Clear();
1899 } else {
1900 _v = 1;
1901 }
1902 }
1903 if (_v) {
1904 {
1905 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1906 }
1907 if (_v) {
1908 {
1909 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1910 }
1911 if (_v) {
1912 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
1913 }
1914 }
1915 }
1916 }
1917
1918 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
1919 return NULL;
1920 }
1921
1922
1923 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1924 PyObject *resultobj;
1925 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1926 PyObject * obj0 = 0 ;
1927 char *kwnames[] = {
1928 (char *) "self", NULL
1929 };
1930
1931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
1932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1933 {
1934 PyThreadState* __tstate = wxPyBeginAllowThreads();
1935 (arg1)->AdjustScrollbars();
1936
1937 wxPyEndAllowThreads(__tstate);
1938 if (PyErr_Occurred()) SWIG_fail;
1939 }
1940 Py_INCREF(Py_None); resultobj = Py_None;
1941 return resultobj;
1942 fail:
1943 return NULL;
1944 }
1945
1946
1947 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
1948 PyObject *resultobj;
1949 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1950 wxScrollWinEvent *arg2 = 0 ;
1951 int result;
1952 PyObject * obj0 = 0 ;
1953 PyObject * obj1 = 0 ;
1954 char *kwnames[] = {
1955 (char *) "self",(char *) "event", NULL
1956 };
1957
1958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
1959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1960 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1961 if (arg2 == NULL) {
1962 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1963 }
1964 {
1965 PyThreadState* __tstate = wxPyBeginAllowThreads();
1966 result = (int)(arg1)->CalcScrollInc(*arg2);
1967
1968 wxPyEndAllowThreads(__tstate);
1969 if (PyErr_Occurred()) SWIG_fail;
1970 }
1971 resultobj = PyInt_FromLong((long)result);
1972 return resultobj;
1973 fail:
1974 return NULL;
1975 }
1976
1977
1978 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1979 PyObject *resultobj;
1980 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1981 wxWindow *arg2 = (wxWindow *) 0 ;
1982 PyObject * obj0 = 0 ;
1983 PyObject * obj1 = 0 ;
1984 char *kwnames[] = {
1985 (char *) "self",(char *) "target", NULL
1986 };
1987
1988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
1989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1990 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1991 {
1992 PyThreadState* __tstate = wxPyBeginAllowThreads();
1993 (arg1)->SetTargetWindow(arg2);
1994
1995 wxPyEndAllowThreads(__tstate);
1996 if (PyErr_Occurred()) SWIG_fail;
1997 }
1998 Py_INCREF(Py_None); resultobj = Py_None;
1999 return resultobj;
2000 fail:
2001 return NULL;
2002 }
2003
2004
2005 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2006 PyObject *resultobj;
2007 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2008 wxWindow *result;
2009 PyObject * obj0 = 0 ;
2010 char *kwnames[] = {
2011 (char *) "self", NULL
2012 };
2013
2014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2016 {
2017 PyThreadState* __tstate = wxPyBeginAllowThreads();
2018 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2019
2020 wxPyEndAllowThreads(__tstate);
2021 if (PyErr_Occurred()) SWIG_fail;
2022 }
2023 {
2024 resultobj = wxPyMake_wxObject(result);
2025 }
2026 return resultobj;
2027 fail:
2028 return NULL;
2029 }
2030
2031
2032 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2033 PyObject *resultobj;
2034 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2035 wxRect *arg2 = 0 ;
2036 wxRect temp2 ;
2037 PyObject * obj0 = 0 ;
2038 PyObject * obj1 = 0 ;
2039 char *kwnames[] = {
2040 (char *) "self",(char *) "rect", NULL
2041 };
2042
2043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2045 {
2046 arg2 = &temp2;
2047 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2048 }
2049 {
2050 PyThreadState* __tstate = wxPyBeginAllowThreads();
2051 (arg1)->SetTargetRect((wxRect const &)*arg2);
2052
2053 wxPyEndAllowThreads(__tstate);
2054 if (PyErr_Occurred()) SWIG_fail;
2055 }
2056 Py_INCREF(Py_None); resultobj = Py_None;
2057 return resultobj;
2058 fail:
2059 return NULL;
2060 }
2061
2062
2063 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2064 PyObject *resultobj;
2065 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2066 wxRect result;
2067 PyObject * obj0 = 0 ;
2068 char *kwnames[] = {
2069 (char *) "self", NULL
2070 };
2071
2072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2074 {
2075 PyThreadState* __tstate = wxPyBeginAllowThreads();
2076 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2077
2078 wxPyEndAllowThreads(__tstate);
2079 if (PyErr_Occurred()) SWIG_fail;
2080 }
2081 {
2082 wxRect * resultptr;
2083 resultptr = new wxRect((wxRect &) result);
2084 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
2085 }
2086 return resultobj;
2087 fail:
2088 return NULL;
2089 }
2090
2091
2092 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2093 PyObject *obj;
2094 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2095 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2096 Py_INCREF(obj);
2097 return Py_BuildValue((char *)"");
2098 }
2099 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2100 PyObject *resultobj;
2101 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2102 bool arg2 = (bool) True ;
2103 PyObject * obj0 = 0 ;
2104 PyObject * obj1 = 0 ;
2105 char *kwnames[] = {
2106 (char *) "self",(char *) "maximize", NULL
2107 };
2108
2109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2111 if (obj1) {
2112 arg2 = PyInt_AsLong(obj1) ? true : false;
2113 if (PyErr_Occurred()) SWIG_fail;
2114 }
2115 {
2116 PyThreadState* __tstate = wxPyBeginAllowThreads();
2117 (arg1)->Maximize(arg2);
2118
2119 wxPyEndAllowThreads(__tstate);
2120 if (PyErr_Occurred()) SWIG_fail;
2121 }
2122 Py_INCREF(Py_None); resultobj = Py_None;
2123 return resultobj;
2124 fail:
2125 return NULL;
2126 }
2127
2128
2129 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2130 PyObject *resultobj;
2131 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2132 PyObject * obj0 = 0 ;
2133 char *kwnames[] = {
2134 (char *) "self", NULL
2135 };
2136
2137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2139 {
2140 PyThreadState* __tstate = wxPyBeginAllowThreads();
2141 (arg1)->Restore();
2142
2143 wxPyEndAllowThreads(__tstate);
2144 if (PyErr_Occurred()) SWIG_fail;
2145 }
2146 Py_INCREF(Py_None); resultobj = Py_None;
2147 return resultobj;
2148 fail:
2149 return NULL;
2150 }
2151
2152
2153 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2154 PyObject *resultobj;
2155 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2156 bool arg2 = (bool) True ;
2157 PyObject * obj0 = 0 ;
2158 PyObject * obj1 = 0 ;
2159 char *kwnames[] = {
2160 (char *) "self",(char *) "iconize", NULL
2161 };
2162
2163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2165 if (obj1) {
2166 arg2 = PyInt_AsLong(obj1) ? true : false;
2167 if (PyErr_Occurred()) SWIG_fail;
2168 }
2169 {
2170 PyThreadState* __tstate = wxPyBeginAllowThreads();
2171 (arg1)->Iconize(arg2);
2172
2173 wxPyEndAllowThreads(__tstate);
2174 if (PyErr_Occurred()) SWIG_fail;
2175 }
2176 Py_INCREF(Py_None); resultobj = Py_None;
2177 return resultobj;
2178 fail:
2179 return NULL;
2180 }
2181
2182
2183 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2184 PyObject *resultobj;
2185 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2186 bool result;
2187 PyObject * obj0 = 0 ;
2188 char *kwnames[] = {
2189 (char *) "self", NULL
2190 };
2191
2192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2194 {
2195 PyThreadState* __tstate = wxPyBeginAllowThreads();
2196 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2197
2198 wxPyEndAllowThreads(__tstate);
2199 if (PyErr_Occurred()) SWIG_fail;
2200 }
2201 resultobj = PyInt_FromLong((long)result);
2202 return resultobj;
2203 fail:
2204 return NULL;
2205 }
2206
2207
2208 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2209 PyObject *resultobj;
2210 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2211 bool result;
2212 PyObject * obj0 = 0 ;
2213 char *kwnames[] = {
2214 (char *) "self", NULL
2215 };
2216
2217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2219 {
2220 PyThreadState* __tstate = wxPyBeginAllowThreads();
2221 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2222
2223 wxPyEndAllowThreads(__tstate);
2224 if (PyErr_Occurred()) SWIG_fail;
2225 }
2226 resultobj = PyInt_FromLong((long)result);
2227 return resultobj;
2228 fail:
2229 return NULL;
2230 }
2231
2232
2233 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2234 PyObject *resultobj;
2235 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2236 wxIcon result;
2237 PyObject * obj0 = 0 ;
2238 char *kwnames[] = {
2239 (char *) "self", NULL
2240 };
2241
2242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2244 {
2245 PyThreadState* __tstate = wxPyBeginAllowThreads();
2246 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2247
2248 wxPyEndAllowThreads(__tstate);
2249 if (PyErr_Occurred()) SWIG_fail;
2250 }
2251 {
2252 wxIcon * resultptr;
2253 resultptr = new wxIcon((wxIcon &) result);
2254 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
2255 }
2256 return resultobj;
2257 fail:
2258 return NULL;
2259 }
2260
2261
2262 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2263 PyObject *resultobj;
2264 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2265 wxIcon *arg2 = 0 ;
2266 PyObject * obj0 = 0 ;
2267 PyObject * obj1 = 0 ;
2268 char *kwnames[] = {
2269 (char *) "self",(char *) "icon", NULL
2270 };
2271
2272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2274 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2275 if (arg2 == NULL) {
2276 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2277 }
2278 {
2279 PyThreadState* __tstate = wxPyBeginAllowThreads();
2280 (arg1)->SetIcon((wxIcon const &)*arg2);
2281
2282 wxPyEndAllowThreads(__tstate);
2283 if (PyErr_Occurred()) SWIG_fail;
2284 }
2285 Py_INCREF(Py_None); resultobj = Py_None;
2286 return resultobj;
2287 fail:
2288 return NULL;
2289 }
2290
2291
2292 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2293 PyObject *resultobj;
2294 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2295 wxIconBundle *arg2 = 0 ;
2296 PyObject * obj0 = 0 ;
2297 PyObject * obj1 = 0 ;
2298 char *kwnames[] = {
2299 (char *) "self",(char *) "icons", NULL
2300 };
2301
2302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2304 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIconBundle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2305 if (arg2 == NULL) {
2306 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2307 }
2308 {
2309 PyThreadState* __tstate = wxPyBeginAllowThreads();
2310 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2311
2312 wxPyEndAllowThreads(__tstate);
2313 if (PyErr_Occurred()) SWIG_fail;
2314 }
2315 Py_INCREF(Py_None); resultobj = Py_None;
2316 return resultobj;
2317 fail:
2318 return NULL;
2319 }
2320
2321
2322 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2323 PyObject *resultobj;
2324 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2325 bool arg2 ;
2326 long arg3 = (long) wxFULLSCREEN_ALL ;
2327 bool result;
2328 PyObject * obj0 = 0 ;
2329 PyObject * obj1 = 0 ;
2330 char *kwnames[] = {
2331 (char *) "self",(char *) "show",(char *) "style", NULL
2332 };
2333
2334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&arg3)) goto fail;
2335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2336 arg2 = PyInt_AsLong(obj1) ? true : false;
2337 if (PyErr_Occurred()) SWIG_fail;
2338 {
2339 PyThreadState* __tstate = wxPyBeginAllowThreads();
2340 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2341
2342 wxPyEndAllowThreads(__tstate);
2343 if (PyErr_Occurred()) SWIG_fail;
2344 }
2345 resultobj = PyInt_FromLong((long)result);
2346 return resultobj;
2347 fail:
2348 return NULL;
2349 }
2350
2351
2352 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2353 PyObject *resultobj;
2354 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2355 bool result;
2356 PyObject * obj0 = 0 ;
2357 char *kwnames[] = {
2358 (char *) "self", NULL
2359 };
2360
2361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2363 {
2364 PyThreadState* __tstate = wxPyBeginAllowThreads();
2365 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2366
2367 wxPyEndAllowThreads(__tstate);
2368 if (PyErr_Occurred()) SWIG_fail;
2369 }
2370 resultobj = PyInt_FromLong((long)result);
2371 return resultobj;
2372 fail:
2373 return NULL;
2374 }
2375
2376
2377 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2378 PyObject *resultobj;
2379 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2380 wxString *arg2 = 0 ;
2381 bool temp2 = False ;
2382 PyObject * obj0 = 0 ;
2383 PyObject * obj1 = 0 ;
2384 char *kwnames[] = {
2385 (char *) "self",(char *) "title", NULL
2386 };
2387
2388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2390 {
2391 arg2 = wxString_in_helper(obj1);
2392 if (arg2 == NULL) SWIG_fail;
2393 temp2 = True;
2394 }
2395 {
2396 PyThreadState* __tstate = wxPyBeginAllowThreads();
2397 (arg1)->SetTitle((wxString const &)*arg2);
2398
2399 wxPyEndAllowThreads(__tstate);
2400 if (PyErr_Occurred()) SWIG_fail;
2401 }
2402 Py_INCREF(Py_None); resultobj = Py_None;
2403 {
2404 if (temp2)
2405 delete arg2;
2406 }
2407 return resultobj;
2408 fail:
2409 {
2410 if (temp2)
2411 delete arg2;
2412 }
2413 return NULL;
2414 }
2415
2416
2417 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2418 PyObject *resultobj;
2419 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2420 wxString result;
2421 PyObject * obj0 = 0 ;
2422 char *kwnames[] = {
2423 (char *) "self", NULL
2424 };
2425
2426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2428 {
2429 PyThreadState* __tstate = wxPyBeginAllowThreads();
2430 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2431
2432 wxPyEndAllowThreads(__tstate);
2433 if (PyErr_Occurred()) SWIG_fail;
2434 }
2435 {
2436 #if wxUSE_UNICODE
2437 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2438 #else
2439 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2440 #endif
2441 }
2442 return resultobj;
2443 fail:
2444 return NULL;
2445 }
2446
2447
2448 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2449 PyObject *resultobj;
2450 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2451 wxRegion *arg2 = 0 ;
2452 bool result;
2453 PyObject * obj0 = 0 ;
2454 PyObject * obj1 = 0 ;
2455 char *kwnames[] = {
2456 (char *) "self",(char *) "region", NULL
2457 };
2458
2459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2461 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2462 if (arg2 == NULL) {
2463 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2464 }
2465 {
2466 PyThreadState* __tstate = wxPyBeginAllowThreads();
2467 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2468
2469 wxPyEndAllowThreads(__tstate);
2470 if (PyErr_Occurred()) SWIG_fail;
2471 }
2472 resultobj = PyInt_FromLong((long)result);
2473 return resultobj;
2474 fail:
2475 return NULL;
2476 }
2477
2478
2479 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
2480 PyObject *obj;
2481 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2482 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
2483 Py_INCREF(obj);
2484 return Py_BuildValue((char *)"");
2485 }
2486 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
2487 PyObject *resultobj;
2488 wxWindow *arg1 = (wxWindow *) 0 ;
2489 int arg2 ;
2490 wxString *arg3 = 0 ;
2491 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2492 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2493 wxSize const &arg5_defvalue = wxDefaultSize ;
2494 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2495 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
2496 wxString const &arg7_defvalue = wxPyFrameNameStr ;
2497 wxString *arg7 = (wxString *) &arg7_defvalue ;
2498 wxFrame *result;
2499 bool temp3 = False ;
2500 wxPoint temp4 ;
2501 wxSize temp5 ;
2502 bool temp7 = False ;
2503 PyObject * obj0 = 0 ;
2504 PyObject * obj2 = 0 ;
2505 PyObject * obj3 = 0 ;
2506 PyObject * obj4 = 0 ;
2507 PyObject * obj6 = 0 ;
2508 char *kwnames[] = {
2509 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2510 };
2511
2512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Frame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
2513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2514 {
2515 arg3 = wxString_in_helper(obj2);
2516 if (arg3 == NULL) SWIG_fail;
2517 temp3 = True;
2518 }
2519 if (obj3) {
2520 {
2521 arg4 = &temp4;
2522 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2523 }
2524 }
2525 if (obj4) {
2526 {
2527 arg5 = &temp5;
2528 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2529 }
2530 }
2531 if (obj6) {
2532 {
2533 arg7 = wxString_in_helper(obj6);
2534 if (arg7 == NULL) SWIG_fail;
2535 temp7 = True;
2536 }
2537 }
2538 {
2539 PyThreadState* __tstate = wxPyBeginAllowThreads();
2540 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2541
2542 wxPyEndAllowThreads(__tstate);
2543 if (PyErr_Occurred()) SWIG_fail;
2544 }
2545 {
2546 resultobj = wxPyMake_wxObject(result);
2547 }
2548 {
2549 if (temp3)
2550 delete arg3;
2551 }
2552 {
2553 if (temp7)
2554 delete arg7;
2555 }
2556 return resultobj;
2557 fail:
2558 {
2559 if (temp3)
2560 delete arg3;
2561 }
2562 {
2563 if (temp7)
2564 delete arg7;
2565 }
2566 return NULL;
2567 }
2568
2569
2570 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
2571 PyObject *resultobj;
2572 wxFrame *result;
2573 char *kwnames[] = {
2574 NULL
2575 };
2576
2577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
2578 {
2579 PyThreadState* __tstate = wxPyBeginAllowThreads();
2580 result = (wxFrame *)new wxFrame();
2581
2582 wxPyEndAllowThreads(__tstate);
2583 if (PyErr_Occurred()) SWIG_fail;
2584 }
2585 {
2586 resultobj = wxPyMake_wxObject(result);
2587 }
2588 return resultobj;
2589 fail:
2590 return NULL;
2591 }
2592
2593
2594 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2595 PyObject *resultobj;
2596 wxFrame *arg1 = (wxFrame *) 0 ;
2597 wxWindow *arg2 = (wxWindow *) 0 ;
2598 int arg3 ;
2599 wxString *arg4 = 0 ;
2600 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2601 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2602 wxSize const &arg6_defvalue = wxDefaultSize ;
2603 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2604 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
2605 wxString const &arg8_defvalue = wxPyFrameNameStr ;
2606 wxString *arg8 = (wxString *) &arg8_defvalue ;
2607 bool result;
2608 bool temp4 = False ;
2609 wxPoint temp5 ;
2610 wxSize temp6 ;
2611 bool temp8 = False ;
2612 PyObject * obj0 = 0 ;
2613 PyObject * obj1 = 0 ;
2614 PyObject * obj3 = 0 ;
2615 PyObject * obj4 = 0 ;
2616 PyObject * obj5 = 0 ;
2617 PyObject * obj7 = 0 ;
2618 char *kwnames[] = {
2619 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2620 };
2621
2622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Frame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
2623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2624 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2625 {
2626 arg4 = wxString_in_helper(obj3);
2627 if (arg4 == NULL) SWIG_fail;
2628 temp4 = True;
2629 }
2630 if (obj4) {
2631 {
2632 arg5 = &temp5;
2633 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2634 }
2635 }
2636 if (obj5) {
2637 {
2638 arg6 = &temp6;
2639 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2640 }
2641 }
2642 if (obj7) {
2643 {
2644 arg8 = wxString_in_helper(obj7);
2645 if (arg8 == NULL) SWIG_fail;
2646 temp8 = True;
2647 }
2648 }
2649 {
2650 PyThreadState* __tstate = wxPyBeginAllowThreads();
2651 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
2652
2653 wxPyEndAllowThreads(__tstate);
2654 if (PyErr_Occurred()) SWIG_fail;
2655 }
2656 resultobj = PyInt_FromLong((long)result);
2657 {
2658 if (temp4)
2659 delete arg4;
2660 }
2661 {
2662 if (temp8)
2663 delete arg8;
2664 }
2665 return resultobj;
2666 fail:
2667 {
2668 if (temp4)
2669 delete arg4;
2670 }
2671 {
2672 if (temp8)
2673 delete arg8;
2674 }
2675 return NULL;
2676 }
2677
2678
2679 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
2680 PyObject *resultobj;
2681 wxFrame *arg1 = (wxFrame *) 0 ;
2682 wxPoint result;
2683 PyObject * obj0 = 0 ;
2684 char *kwnames[] = {
2685 (char *) "self", NULL
2686 };
2687
2688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
2689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2690 {
2691 PyThreadState* __tstate = wxPyBeginAllowThreads();
2692 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
2693
2694 wxPyEndAllowThreads(__tstate);
2695 if (PyErr_Occurred()) SWIG_fail;
2696 }
2697 {
2698 wxPoint * resultptr;
2699 resultptr = new wxPoint((wxPoint &) result);
2700 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2701 }
2702 return resultobj;
2703 fail:
2704 return NULL;
2705 }
2706
2707
2708 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
2709 PyObject *resultobj;
2710 wxFrame *arg1 = (wxFrame *) 0 ;
2711 PyObject * obj0 = 0 ;
2712 char *kwnames[] = {
2713 (char *) "self", NULL
2714 };
2715
2716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
2717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2718 {
2719 PyThreadState* __tstate = wxPyBeginAllowThreads();
2720 (arg1)->SendSizeEvent();
2721
2722 wxPyEndAllowThreads(__tstate);
2723 if (PyErr_Occurred()) SWIG_fail;
2724 }
2725 Py_INCREF(Py_None); resultobj = Py_None;
2726 return resultobj;
2727 fail:
2728 return NULL;
2729 }
2730
2731
2732 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2733 PyObject *resultobj;
2734 wxFrame *arg1 = (wxFrame *) 0 ;
2735 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
2736 PyObject * obj0 = 0 ;
2737 PyObject * obj1 = 0 ;
2738 char *kwnames[] = {
2739 (char *) "self",(char *) "menubar", NULL
2740 };
2741
2742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
2743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2744 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2745 {
2746 PyThreadState* __tstate = wxPyBeginAllowThreads();
2747 (arg1)->SetMenuBar(arg2);
2748
2749 wxPyEndAllowThreads(__tstate);
2750 if (PyErr_Occurred()) SWIG_fail;
2751 }
2752 Py_INCREF(Py_None); resultobj = Py_None;
2753 return resultobj;
2754 fail:
2755 return NULL;
2756 }
2757
2758
2759 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2760 PyObject *resultobj;
2761 wxFrame *arg1 = (wxFrame *) 0 ;
2762 wxMenuBar *result;
2763 PyObject * obj0 = 0 ;
2764 char *kwnames[] = {
2765 (char *) "self", NULL
2766 };
2767
2768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
2769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2770 {
2771 PyThreadState* __tstate = wxPyBeginAllowThreads();
2772 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
2773
2774 wxPyEndAllowThreads(__tstate);
2775 if (PyErr_Occurred()) SWIG_fail;
2776 }
2777 {
2778 resultobj = wxPyMake_wxObject(result);
2779 }
2780 return resultobj;
2781 fail:
2782 return NULL;
2783 }
2784
2785
2786 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
2787 PyObject *resultobj;
2788 wxFrame *arg1 = (wxFrame *) 0 ;
2789 int arg2 ;
2790 bool result;
2791 PyObject * obj0 = 0 ;
2792 char *kwnames[] = {
2793 (char *) "self",(char *) "winid", NULL
2794 };
2795
2796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_ProcessCommand",kwnames,&obj0,&arg2)) goto fail;
2797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2798 {
2799 PyThreadState* __tstate = wxPyBeginAllowThreads();
2800 result = (bool)(arg1)->ProcessCommand(arg2);
2801
2802 wxPyEndAllowThreads(__tstate);
2803 if (PyErr_Occurred()) SWIG_fail;
2804 }
2805 resultobj = PyInt_FromLong((long)result);
2806 return resultobj;
2807 fail:
2808 return NULL;
2809 }
2810
2811
2812 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2813 PyObject *resultobj;
2814 wxFrame *arg1 = (wxFrame *) 0 ;
2815 int arg2 = (int) 1 ;
2816 long arg3 = (long) wxST_SIZEGRIP ;
2817 int arg4 = (int) 0 ;
2818 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
2819 wxString *arg5 = (wxString *) &arg5_defvalue ;
2820 wxStatusBar *result;
2821 bool temp5 = False ;
2822 PyObject * obj0 = 0 ;
2823 PyObject * obj4 = 0 ;
2824 char *kwnames[] = {
2825 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
2826 };
2827
2828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iliO:Frame_CreateStatusBar",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
2829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2830 if (obj4) {
2831 {
2832 arg5 = wxString_in_helper(obj4);
2833 if (arg5 == NULL) SWIG_fail;
2834 temp5 = True;
2835 }
2836 }
2837 {
2838 PyThreadState* __tstate = wxPyBeginAllowThreads();
2839 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
2840
2841 wxPyEndAllowThreads(__tstate);
2842 if (PyErr_Occurred()) SWIG_fail;
2843 }
2844 {
2845 resultobj = wxPyMake_wxObject(result);
2846 }
2847 {
2848 if (temp5)
2849 delete arg5;
2850 }
2851 return resultobj;
2852 fail:
2853 {
2854 if (temp5)
2855 delete arg5;
2856 }
2857 return NULL;
2858 }
2859
2860
2861 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2862 PyObject *resultobj;
2863 wxFrame *arg1 = (wxFrame *) 0 ;
2864 wxStatusBar *result;
2865 PyObject * obj0 = 0 ;
2866 char *kwnames[] = {
2867 (char *) "self", NULL
2868 };
2869
2870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
2871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2872 {
2873 PyThreadState* __tstate = wxPyBeginAllowThreads();
2874 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
2875
2876 wxPyEndAllowThreads(__tstate);
2877 if (PyErr_Occurred()) SWIG_fail;
2878 }
2879 {
2880 resultobj = wxPyMake_wxObject(result);
2881 }
2882 return resultobj;
2883 fail:
2884 return NULL;
2885 }
2886
2887
2888 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2889 PyObject *resultobj;
2890 wxFrame *arg1 = (wxFrame *) 0 ;
2891 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
2892 PyObject * obj0 = 0 ;
2893 PyObject * obj1 = 0 ;
2894 char *kwnames[] = {
2895 (char *) "self",(char *) "statBar", NULL
2896 };
2897
2898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
2899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2900 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2901 {
2902 PyThreadState* __tstate = wxPyBeginAllowThreads();
2903 (arg1)->SetStatusBar(arg2);
2904
2905 wxPyEndAllowThreads(__tstate);
2906 if (PyErr_Occurred()) SWIG_fail;
2907 }
2908 Py_INCREF(Py_None); resultobj = Py_None;
2909 return resultobj;
2910 fail:
2911 return NULL;
2912 }
2913
2914
2915 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
2916 PyObject *resultobj;
2917 wxFrame *arg1 = (wxFrame *) 0 ;
2918 wxString *arg2 = 0 ;
2919 int arg3 = (int) 0 ;
2920 bool temp2 = False ;
2921 PyObject * obj0 = 0 ;
2922 PyObject * obj1 = 0 ;
2923 char *kwnames[] = {
2924 (char *) "self",(char *) "text",(char *) "number", NULL
2925 };
2926
2927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
2928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2929 {
2930 arg2 = wxString_in_helper(obj1);
2931 if (arg2 == NULL) SWIG_fail;
2932 temp2 = True;
2933 }
2934 {
2935 PyThreadState* __tstate = wxPyBeginAllowThreads();
2936 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
2937
2938 wxPyEndAllowThreads(__tstate);
2939 if (PyErr_Occurred()) SWIG_fail;
2940 }
2941 Py_INCREF(Py_None); resultobj = Py_None;
2942 {
2943 if (temp2)
2944 delete arg2;
2945 }
2946 return resultobj;
2947 fail:
2948 {
2949 if (temp2)
2950 delete arg2;
2951 }
2952 return NULL;
2953 }
2954
2955
2956 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
2957 PyObject *resultobj;
2958 wxFrame *arg1 = (wxFrame *) 0 ;
2959 int arg2 ;
2960 int *arg3 = (int *) 0 ;
2961 PyObject * obj0 = 0 ;
2962 PyObject * obj1 = 0 ;
2963 char *kwnames[] = {
2964 (char *) "self",(char *) "widths", NULL
2965 };
2966
2967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
2968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2969 {
2970 arg2 = PyList_Size(obj1);
2971 arg3 = int_LIST_helper(obj1);
2972 if (arg3 == NULL) SWIG_fail;
2973 }
2974 {
2975 PyThreadState* __tstate = wxPyBeginAllowThreads();
2976 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
2977
2978 wxPyEndAllowThreads(__tstate);
2979 if (PyErr_Occurred()) SWIG_fail;
2980 }
2981 Py_INCREF(Py_None); resultobj = Py_None;
2982 {
2983 if (arg3) delete [] arg3;
2984 }
2985 return resultobj;
2986 fail:
2987 {
2988 if (arg3) delete [] arg3;
2989 }
2990 return NULL;
2991 }
2992
2993
2994 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
2995 PyObject *resultobj;
2996 wxFrame *arg1 = (wxFrame *) 0 ;
2997 wxString *arg2 = 0 ;
2998 int arg3 = (int) 0 ;
2999 bool temp2 = False ;
3000 PyObject * obj0 = 0 ;
3001 PyObject * obj1 = 0 ;
3002 char *kwnames[] = {
3003 (char *) "self",(char *) "text",(char *) "number", NULL
3004 };
3005
3006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
3007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3008 {
3009 arg2 = wxString_in_helper(obj1);
3010 if (arg2 == NULL) SWIG_fail;
3011 temp2 = True;
3012 }
3013 {
3014 PyThreadState* __tstate = wxPyBeginAllowThreads();
3015 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3016
3017 wxPyEndAllowThreads(__tstate);
3018 if (PyErr_Occurred()) SWIG_fail;
3019 }
3020 Py_INCREF(Py_None); resultobj = Py_None;
3021 {
3022 if (temp2)
3023 delete arg2;
3024 }
3025 return resultobj;
3026 fail:
3027 {
3028 if (temp2)
3029 delete arg2;
3030 }
3031 return NULL;
3032 }
3033
3034
3035 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3036 PyObject *resultobj;
3037 wxFrame *arg1 = (wxFrame *) 0 ;
3038 int arg2 = (int) 0 ;
3039 PyObject * obj0 = 0 ;
3040 char *kwnames[] = {
3041 (char *) "self",(char *) "number", NULL
3042 };
3043
3044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Frame_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
3045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3046 {
3047 PyThreadState* __tstate = wxPyBeginAllowThreads();
3048 (arg1)->PopStatusText(arg2);
3049
3050 wxPyEndAllowThreads(__tstate);
3051 if (PyErr_Occurred()) SWIG_fail;
3052 }
3053 Py_INCREF(Py_None); resultobj = Py_None;
3054 return resultobj;
3055 fail:
3056 return NULL;
3057 }
3058
3059
3060 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3061 PyObject *resultobj;
3062 wxFrame *arg1 = (wxFrame *) 0 ;
3063 int arg2 ;
3064 PyObject * obj0 = 0 ;
3065 char *kwnames[] = {
3066 (char *) "self",(char *) "n", NULL
3067 };
3068
3069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_SetStatusBarPane",kwnames,&obj0,&arg2)) goto fail;
3070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3071 {
3072 PyThreadState* __tstate = wxPyBeginAllowThreads();
3073 (arg1)->SetStatusBarPane(arg2);
3074
3075 wxPyEndAllowThreads(__tstate);
3076 if (PyErr_Occurred()) SWIG_fail;
3077 }
3078 Py_INCREF(Py_None); resultobj = Py_None;
3079 return resultobj;
3080 fail:
3081 return NULL;
3082 }
3083
3084
3085 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3086 PyObject *resultobj;
3087 wxFrame *arg1 = (wxFrame *) 0 ;
3088 int result;
3089 PyObject * obj0 = 0 ;
3090 char *kwnames[] = {
3091 (char *) "self", NULL
3092 };
3093
3094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3096 {
3097 PyThreadState* __tstate = wxPyBeginAllowThreads();
3098 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3099
3100 wxPyEndAllowThreads(__tstate);
3101 if (PyErr_Occurred()) SWIG_fail;
3102 }
3103 resultobj = PyInt_FromLong((long)result);
3104 return resultobj;
3105 fail:
3106 return NULL;
3107 }
3108
3109
3110 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3111 PyObject *resultobj;
3112 wxFrame *arg1 = (wxFrame *) 0 ;
3113 long arg2 = (long) -1 ;
3114 int arg3 = (int) -1 ;
3115 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3116 wxString *arg4 = (wxString *) &arg4_defvalue ;
3117 wxToolBar *result;
3118 bool temp4 = False ;
3119 PyObject * obj0 = 0 ;
3120 PyObject * obj3 = 0 ;
3121 char *kwnames[] = {
3122 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3123 };
3124
3125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|liO:Frame_CreateToolBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
3126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3127 if (obj3) {
3128 {
3129 arg4 = wxString_in_helper(obj3);
3130 if (arg4 == NULL) SWIG_fail;
3131 temp4 = True;
3132 }
3133 }
3134 {
3135 PyThreadState* __tstate = wxPyBeginAllowThreads();
3136 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3137
3138 wxPyEndAllowThreads(__tstate);
3139 if (PyErr_Occurred()) SWIG_fail;
3140 }
3141 {
3142 resultobj = wxPyMake_wxObject(result);
3143 }
3144 {
3145 if (temp4)
3146 delete arg4;
3147 }
3148 return resultobj;
3149 fail:
3150 {
3151 if (temp4)
3152 delete arg4;
3153 }
3154 return NULL;
3155 }
3156
3157
3158 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3159 PyObject *resultobj;
3160 wxFrame *arg1 = (wxFrame *) 0 ;
3161 wxToolBar *result;
3162 PyObject * obj0 = 0 ;
3163 char *kwnames[] = {
3164 (char *) "self", NULL
3165 };
3166
3167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3169 {
3170 PyThreadState* __tstate = wxPyBeginAllowThreads();
3171 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3172
3173 wxPyEndAllowThreads(__tstate);
3174 if (PyErr_Occurred()) SWIG_fail;
3175 }
3176 {
3177 resultobj = wxPyMake_wxObject(result);
3178 }
3179 return resultobj;
3180 fail:
3181 return NULL;
3182 }
3183
3184
3185 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3186 PyObject *resultobj;
3187 wxFrame *arg1 = (wxFrame *) 0 ;
3188 wxToolBar *arg2 = (wxToolBar *) 0 ;
3189 PyObject * obj0 = 0 ;
3190 PyObject * obj1 = 0 ;
3191 char *kwnames[] = {
3192 (char *) "self",(char *) "toolbar", NULL
3193 };
3194
3195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3197 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3198 {
3199 PyThreadState* __tstate = wxPyBeginAllowThreads();
3200 (arg1)->SetToolBar(arg2);
3201
3202 wxPyEndAllowThreads(__tstate);
3203 if (PyErr_Occurred()) SWIG_fail;
3204 }
3205 Py_INCREF(Py_None); resultobj = Py_None;
3206 return resultobj;
3207 fail:
3208 return NULL;
3209 }
3210
3211
3212 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3213 PyObject *resultobj;
3214 wxFrame *arg1 = (wxFrame *) 0 ;
3215 wxString *arg2 = 0 ;
3216 bool arg3 ;
3217 bool temp2 = False ;
3218 PyObject * obj0 = 0 ;
3219 PyObject * obj1 = 0 ;
3220 PyObject * obj2 = 0 ;
3221 char *kwnames[] = {
3222 (char *) "self",(char *) "text",(char *) "show", NULL
3223 };
3224
3225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3227 {
3228 arg2 = wxString_in_helper(obj1);
3229 if (arg2 == NULL) SWIG_fail;
3230 temp2 = True;
3231 }
3232 arg3 = PyInt_AsLong(obj2) ? true : false;
3233 if (PyErr_Occurred()) SWIG_fail;
3234 {
3235 PyThreadState* __tstate = wxPyBeginAllowThreads();
3236 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3237
3238 wxPyEndAllowThreads(__tstate);
3239 if (PyErr_Occurred()) SWIG_fail;
3240 }
3241 Py_INCREF(Py_None); resultobj = Py_None;
3242 {
3243 if (temp2)
3244 delete arg2;
3245 }
3246 return resultobj;
3247 fail:
3248 {
3249 if (temp2)
3250 delete arg2;
3251 }
3252 return NULL;
3253 }
3254
3255
3256 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3257 PyObject *resultobj;
3258 wxFrame *arg1 = (wxFrame *) 0 ;
3259 wxMenu *arg2 = (wxMenu *) NULL ;
3260 PyObject * obj0 = 0 ;
3261 PyObject * obj1 = 0 ;
3262 char *kwnames[] = {
3263 (char *) "self",(char *) "menu", NULL
3264 };
3265
3266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3268 if (obj1) {
3269 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3270 }
3271 {
3272 PyThreadState* __tstate = wxPyBeginAllowThreads();
3273 (arg1)->DoMenuUpdates(arg2);
3274
3275 wxPyEndAllowThreads(__tstate);
3276 if (PyErr_Occurred()) SWIG_fail;
3277 }
3278 Py_INCREF(Py_None); resultobj = Py_None;
3279 return resultobj;
3280 fail:
3281 return NULL;
3282 }
3283
3284
3285 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3286 PyObject *obj;
3287 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3288 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3289 Py_INCREF(obj);
3290 return Py_BuildValue((char *)"");
3291 }
3292 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3293 PyObject *resultobj;
3294 wxWindow *arg1 = (wxWindow *) 0 ;
3295 int arg2 ;
3296 wxString *arg3 = 0 ;
3297 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3298 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3299 wxSize const &arg5_defvalue = wxDefaultSize ;
3300 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3301 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3302 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3303 wxString *arg7 = (wxString *) &arg7_defvalue ;
3304 wxDialog *result;
3305 bool temp3 = False ;
3306 wxPoint temp4 ;
3307 wxSize temp5 ;
3308 bool temp7 = False ;
3309 PyObject * obj0 = 0 ;
3310 PyObject * obj2 = 0 ;
3311 PyObject * obj3 = 0 ;
3312 PyObject * obj4 = 0 ;
3313 PyObject * obj6 = 0 ;
3314 char *kwnames[] = {
3315 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3316 };
3317
3318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Dialog",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3320 {
3321 arg3 = wxString_in_helper(obj2);
3322 if (arg3 == NULL) SWIG_fail;
3323 temp3 = True;
3324 }
3325 if (obj3) {
3326 {
3327 arg4 = &temp4;
3328 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3329 }
3330 }
3331 if (obj4) {
3332 {
3333 arg5 = &temp5;
3334 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3335 }
3336 }
3337 if (obj6) {
3338 {
3339 arg7 = wxString_in_helper(obj6);
3340 if (arg7 == NULL) SWIG_fail;
3341 temp7 = True;
3342 }
3343 }
3344 {
3345 PyThreadState* __tstate = wxPyBeginAllowThreads();
3346 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3347
3348 wxPyEndAllowThreads(__tstate);
3349 if (PyErr_Occurred()) SWIG_fail;
3350 }
3351 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3352 {
3353 if (temp3)
3354 delete arg3;
3355 }
3356 {
3357 if (temp7)
3358 delete arg7;
3359 }
3360 return resultobj;
3361 fail:
3362 {
3363 if (temp3)
3364 delete arg3;
3365 }
3366 {
3367 if (temp7)
3368 delete arg7;
3369 }
3370 return NULL;
3371 }
3372
3373
3374 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3375 PyObject *resultobj;
3376 wxDialog *result;
3377 char *kwnames[] = {
3378 NULL
3379 };
3380
3381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
3382 {
3383 PyThreadState* __tstate = wxPyBeginAllowThreads();
3384 result = (wxDialog *)new wxDialog();
3385
3386 wxPyEndAllowThreads(__tstate);
3387 if (PyErr_Occurred()) SWIG_fail;
3388 }
3389 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3390 return resultobj;
3391 fail:
3392 return NULL;
3393 }
3394
3395
3396 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3397 PyObject *resultobj;
3398 wxDialog *arg1 = (wxDialog *) 0 ;
3399 wxWindow *arg2 = (wxWindow *) 0 ;
3400 int arg3 ;
3401 wxString *arg4 = 0 ;
3402 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3403 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3404 wxSize const &arg6_defvalue = wxDefaultSize ;
3405 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3406 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
3407 wxString const &arg8_defvalue = wxPyDialogNameStr ;
3408 wxString *arg8 = (wxString *) &arg8_defvalue ;
3409 bool result;
3410 bool temp4 = False ;
3411 wxPoint temp5 ;
3412 wxSize temp6 ;
3413 bool temp8 = False ;
3414 PyObject * obj0 = 0 ;
3415 PyObject * obj1 = 0 ;
3416 PyObject * obj3 = 0 ;
3417 PyObject * obj4 = 0 ;
3418 PyObject * obj5 = 0 ;
3419 PyObject * obj7 = 0 ;
3420 char *kwnames[] = {
3421 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3422 };
3423
3424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Dialog_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3426 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3427 {
3428 arg4 = wxString_in_helper(obj3);
3429 if (arg4 == NULL) SWIG_fail;
3430 temp4 = True;
3431 }
3432 if (obj4) {
3433 {
3434 arg5 = &temp5;
3435 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3436 }
3437 }
3438 if (obj5) {
3439 {
3440 arg6 = &temp6;
3441 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3442 }
3443 }
3444 if (obj7) {
3445 {
3446 arg8 = wxString_in_helper(obj7);
3447 if (arg8 == NULL) SWIG_fail;
3448 temp8 = True;
3449 }
3450 }
3451 {
3452 PyThreadState* __tstate = wxPyBeginAllowThreads();
3453 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3454
3455 wxPyEndAllowThreads(__tstate);
3456 if (PyErr_Occurred()) SWIG_fail;
3457 }
3458 resultobj = PyInt_FromLong((long)result);
3459 {
3460 if (temp4)
3461 delete arg4;
3462 }
3463 {
3464 if (temp8)
3465 delete arg8;
3466 }
3467 return resultobj;
3468 fail:
3469 {
3470 if (temp4)
3471 delete arg4;
3472 }
3473 {
3474 if (temp8)
3475 delete arg8;
3476 }
3477 return NULL;
3478 }
3479
3480
3481 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3482 PyObject *resultobj;
3483 wxDialog *arg1 = (wxDialog *) 0 ;
3484 int arg2 ;
3485 PyObject * obj0 = 0 ;
3486 char *kwnames[] = {
3487 (char *) "self",(char *) "returnCode", NULL
3488 };
3489
3490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_SetReturnCode",kwnames,&obj0,&arg2)) goto fail;
3491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3492 {
3493 PyThreadState* __tstate = wxPyBeginAllowThreads();
3494 (arg1)->SetReturnCode(arg2);
3495
3496 wxPyEndAllowThreads(__tstate);
3497 if (PyErr_Occurred()) SWIG_fail;
3498 }
3499 Py_INCREF(Py_None); resultobj = Py_None;
3500 return resultobj;
3501 fail:
3502 return NULL;
3503 }
3504
3505
3506 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3507 PyObject *resultobj;
3508 wxDialog *arg1 = (wxDialog *) 0 ;
3509 int result;
3510 PyObject * obj0 = 0 ;
3511 char *kwnames[] = {
3512 (char *) "self", NULL
3513 };
3514
3515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
3516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3517 {
3518 PyThreadState* __tstate = wxPyBeginAllowThreads();
3519 result = (int)((wxDialog const *)arg1)->GetReturnCode();
3520
3521 wxPyEndAllowThreads(__tstate);
3522 if (PyErr_Occurred()) SWIG_fail;
3523 }
3524 resultobj = PyInt_FromLong((long)result);
3525 return resultobj;
3526 fail:
3527 return NULL;
3528 }
3529
3530
3531 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3532 PyObject *resultobj;
3533 wxDialog *arg1 = (wxDialog *) 0 ;
3534 wxString *arg2 = 0 ;
3535 wxSizer *result;
3536 bool temp2 = False ;
3537 PyObject * obj0 = 0 ;
3538 PyObject * obj1 = 0 ;
3539 char *kwnames[] = {
3540 (char *) "self",(char *) "message", NULL
3541 };
3542
3543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
3544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3545 {
3546 arg2 = wxString_in_helper(obj1);
3547 if (arg2 == NULL) SWIG_fail;
3548 temp2 = True;
3549 }
3550 {
3551 PyThreadState* __tstate = wxPyBeginAllowThreads();
3552 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
3553
3554 wxPyEndAllowThreads(__tstate);
3555 if (PyErr_Occurred()) SWIG_fail;
3556 }
3557 {
3558 resultobj = wxPyMake_wxSizer(result);
3559 }
3560 {
3561 if (temp2)
3562 delete arg2;
3563 }
3564 return resultobj;
3565 fail:
3566 {
3567 if (temp2)
3568 delete arg2;
3569 }
3570 return NULL;
3571 }
3572
3573
3574 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3575 PyObject *resultobj;
3576 wxDialog *arg1 = (wxDialog *) 0 ;
3577 long arg2 ;
3578 wxSizer *result;
3579 PyObject * obj0 = 0 ;
3580 char *kwnames[] = {
3581 (char *) "self",(char *) "flags", NULL
3582 };
3583
3584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Dialog_CreateButtonSizer",kwnames,&obj0,&arg2)) goto fail;
3585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3586 {
3587 PyThreadState* __tstate = wxPyBeginAllowThreads();
3588 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
3589
3590 wxPyEndAllowThreads(__tstate);
3591 if (PyErr_Occurred()) SWIG_fail;
3592 }
3593 {
3594 resultobj = wxPyMake_wxSizer(result);
3595 }
3596 return resultobj;
3597 fail:
3598 return NULL;
3599 }
3600
3601
3602 static PyObject *_wrap_Dialog_SetModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3603 PyObject *resultobj;
3604 wxDialog *arg1 = (wxDialog *) 0 ;
3605 bool arg2 ;
3606 PyObject * obj0 = 0 ;
3607 PyObject * obj1 = 0 ;
3608 char *kwnames[] = {
3609 (char *) "self",(char *) "flag", NULL
3610 };
3611
3612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetModal",kwnames,&obj0,&obj1)) goto fail;
3613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3614 arg2 = PyInt_AsLong(obj1) ? true : false;
3615 if (PyErr_Occurred()) SWIG_fail;
3616 {
3617 PyThreadState* __tstate = wxPyBeginAllowThreads();
3618 (arg1)->SetModal(arg2);
3619
3620 wxPyEndAllowThreads(__tstate);
3621 if (PyErr_Occurred()) SWIG_fail;
3622 }
3623 Py_INCREF(Py_None); resultobj = Py_None;
3624 return resultobj;
3625 fail:
3626 return NULL;
3627 }
3628
3629
3630 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3631 PyObject *resultobj;
3632 wxDialog *arg1 = (wxDialog *) 0 ;
3633 bool result;
3634 PyObject * obj0 = 0 ;
3635 char *kwnames[] = {
3636 (char *) "self", NULL
3637 };
3638
3639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
3640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3641 {
3642 PyThreadState* __tstate = wxPyBeginAllowThreads();
3643 result = (bool)((wxDialog const *)arg1)->IsModal();
3644
3645 wxPyEndAllowThreads(__tstate);
3646 if (PyErr_Occurred()) SWIG_fail;
3647 }
3648 resultobj = PyInt_FromLong((long)result);
3649 return resultobj;
3650 fail:
3651 return NULL;
3652 }
3653
3654
3655 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3656 PyObject *resultobj;
3657 wxDialog *arg1 = (wxDialog *) 0 ;
3658 int result;
3659 PyObject * obj0 = 0 ;
3660 char *kwnames[] = {
3661 (char *) "self", NULL
3662 };
3663
3664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
3665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3666 {
3667 PyThreadState* __tstate = wxPyBeginAllowThreads();
3668 result = (int)(arg1)->ShowModal();
3669
3670 wxPyEndAllowThreads(__tstate);
3671 if (PyErr_Occurred()) SWIG_fail;
3672 }
3673 resultobj = PyInt_FromLong((long)result);
3674 return resultobj;
3675 fail:
3676 return NULL;
3677 }
3678
3679
3680 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3681 PyObject *resultobj;
3682 wxDialog *arg1 = (wxDialog *) 0 ;
3683 int arg2 ;
3684 PyObject * obj0 = 0 ;
3685 char *kwnames[] = {
3686 (char *) "self",(char *) "retCode", NULL
3687 };
3688
3689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_EndModal",kwnames,&obj0,&arg2)) goto fail;
3690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3691 {
3692 PyThreadState* __tstate = wxPyBeginAllowThreads();
3693 (arg1)->EndModal(arg2);
3694
3695 wxPyEndAllowThreads(__tstate);
3696 if (PyErr_Occurred()) SWIG_fail;
3697 }
3698 Py_INCREF(Py_None); resultobj = Py_None;
3699 return resultobj;
3700 fail:
3701 return NULL;
3702 }
3703
3704
3705 static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) {
3706 PyObject *resultobj;
3707 wxDialog *arg1 = (wxDialog *) 0 ;
3708 bool result;
3709 PyObject * obj0 = 0 ;
3710 char *kwnames[] = {
3711 (char *) "self", NULL
3712 };
3713
3714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
3715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3716 {
3717 PyThreadState* __tstate = wxPyBeginAllowThreads();
3718 result = (bool)wxDialog_IsModalShowing(arg1);
3719
3720 wxPyEndAllowThreads(__tstate);
3721 if (PyErr_Occurred()) SWIG_fail;
3722 }
3723 resultobj = PyInt_FromLong((long)result);
3724 return resultobj;
3725 fail:
3726 return NULL;
3727 }
3728
3729
3730 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
3731 PyObject *obj;
3732 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3733 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
3734 Py_INCREF(obj);
3735 return Py_BuildValue((char *)"");
3736 }
3737 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3738 PyObject *resultobj;
3739 wxWindow *arg1 = (wxWindow *) 0 ;
3740 int arg2 ;
3741 wxString *arg3 = 0 ;
3742 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3743 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3744 wxSize const &arg5_defvalue = wxDefaultSize ;
3745 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3746 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3747 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3748 wxString *arg7 = (wxString *) &arg7_defvalue ;
3749 wxMiniFrame *result;
3750 bool temp3 = False ;
3751 wxPoint temp4 ;
3752 wxSize temp5 ;
3753 bool temp7 = False ;
3754 PyObject * obj0 = 0 ;
3755 PyObject * obj2 = 0 ;
3756 PyObject * obj3 = 0 ;
3757 PyObject * obj4 = 0 ;
3758 PyObject * obj6 = 0 ;
3759 char *kwnames[] = {
3760 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3761 };
3762
3763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MiniFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3765 {
3766 arg3 = wxString_in_helper(obj2);
3767 if (arg3 == NULL) SWIG_fail;
3768 temp3 = True;
3769 }
3770 if (obj3) {
3771 {
3772 arg4 = &temp4;
3773 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3774 }
3775 }
3776 if (obj4) {
3777 {
3778 arg5 = &temp5;
3779 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3780 }
3781 }
3782 if (obj6) {
3783 {
3784 arg7 = wxString_in_helper(obj6);
3785 if (arg7 == NULL) SWIG_fail;
3786 temp7 = True;
3787 }
3788 }
3789 {
3790 PyThreadState* __tstate = wxPyBeginAllowThreads();
3791 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3792
3793 wxPyEndAllowThreads(__tstate);
3794 if (PyErr_Occurred()) SWIG_fail;
3795 }
3796 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
3797 {
3798 if (temp3)
3799 delete arg3;
3800 }
3801 {
3802 if (temp7)
3803 delete arg7;
3804 }
3805 return resultobj;
3806 fail:
3807 {
3808 if (temp3)
3809 delete arg3;
3810 }
3811 {
3812 if (temp7)
3813 delete arg7;
3814 }
3815 return NULL;
3816 }
3817
3818
3819 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3820 PyObject *resultobj;
3821 wxMiniFrame *result;
3822 char *kwnames[] = {
3823 NULL
3824 };
3825
3826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
3827 {
3828 PyThreadState* __tstate = wxPyBeginAllowThreads();
3829 result = (wxMiniFrame *)new wxMiniFrame();
3830
3831 wxPyEndAllowThreads(__tstate);
3832 if (PyErr_Occurred()) SWIG_fail;
3833 }
3834 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
3835 return resultobj;
3836 fail:
3837 return NULL;
3838 }
3839
3840
3841 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3842 PyObject *resultobj;
3843 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
3844 wxWindow *arg2 = (wxWindow *) 0 ;
3845 int arg3 ;
3846 wxString *arg4 = 0 ;
3847 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3848 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3849 wxSize const &arg6_defvalue = wxDefaultSize ;
3850 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3851 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3852 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3853 wxString *arg8 = (wxString *) &arg8_defvalue ;
3854 bool result;
3855 bool temp4 = False ;
3856 wxPoint temp5 ;
3857 wxSize temp6 ;
3858 bool temp8 = False ;
3859 PyObject * obj0 = 0 ;
3860 PyObject * obj1 = 0 ;
3861 PyObject * obj3 = 0 ;
3862 PyObject * obj4 = 0 ;
3863 PyObject * obj5 = 0 ;
3864 PyObject * obj7 = 0 ;
3865 char *kwnames[] = {
3866 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3867 };
3868
3869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MiniFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMiniFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3871 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3872 {
3873 arg4 = wxString_in_helper(obj3);
3874 if (arg4 == NULL) SWIG_fail;
3875 temp4 = True;
3876 }
3877 if (obj4) {
3878 {
3879 arg5 = &temp5;
3880 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3881 }
3882 }
3883 if (obj5) {
3884 {
3885 arg6 = &temp6;
3886 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3887 }
3888 }
3889 if (obj7) {
3890 {
3891 arg8 = wxString_in_helper(obj7);
3892 if (arg8 == NULL) SWIG_fail;
3893 temp8 = True;
3894 }
3895 }
3896 {
3897 PyThreadState* __tstate = wxPyBeginAllowThreads();
3898 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3899
3900 wxPyEndAllowThreads(__tstate);
3901 if (PyErr_Occurred()) SWIG_fail;
3902 }
3903 resultobj = PyInt_FromLong((long)result);
3904 {
3905 if (temp4)
3906 delete arg4;
3907 }
3908 {
3909 if (temp8)
3910 delete arg8;
3911 }
3912 return resultobj;
3913 fail:
3914 {
3915 if (temp4)
3916 delete arg4;
3917 }
3918 {
3919 if (temp8)
3920 delete arg8;
3921 }
3922 return NULL;
3923 }
3924
3925
3926 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
3927 PyObject *obj;
3928 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3929 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
3930 Py_INCREF(obj);
3931 return Py_BuildValue((char *)"");
3932 }
3933 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3934 PyObject *resultobj;
3935 wxBitmap *arg1 = 0 ;
3936 wxWindow *arg2 = (wxWindow *) 0 ;
3937 int arg3 ;
3938 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3939 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3940 wxSize const &arg5_defvalue = wxDefaultSize ;
3941 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3942 long arg6 = (long) wxNO_BORDER ;
3943 wxSplashScreenWindow *result;
3944 wxPoint temp4 ;
3945 wxSize temp5 ;
3946 PyObject * obj0 = 0 ;
3947 PyObject * obj1 = 0 ;
3948 PyObject * obj3 = 0 ;
3949 PyObject * obj4 = 0 ;
3950 char *kwnames[] = {
3951 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3952 };
3953
3954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOl:new_SplashScreenWindow",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
3955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3956 if (arg1 == NULL) {
3957 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3958 }
3959 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3960 if (obj3) {
3961 {
3962 arg4 = &temp4;
3963 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3964 }
3965 }
3966 if (obj4) {
3967 {
3968 arg5 = &temp5;
3969 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3970 }
3971 }
3972 {
3973 PyThreadState* __tstate = wxPyBeginAllowThreads();
3974 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
3975
3976 wxPyEndAllowThreads(__tstate);
3977 if (PyErr_Occurred()) SWIG_fail;
3978 }
3979 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 1);
3980 return resultobj;
3981 fail:
3982 return NULL;
3983 }
3984
3985
3986 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
3987 PyObject *resultobj;
3988 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
3989 wxBitmap *arg2 = 0 ;
3990 PyObject * obj0 = 0 ;
3991 PyObject * obj1 = 0 ;
3992 char *kwnames[] = {
3993 (char *) "self",(char *) "bitmap", NULL
3994 };
3995
3996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
3997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3998 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3999 if (arg2 == NULL) {
4000 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4001 }
4002 {
4003 PyThreadState* __tstate = wxPyBeginAllowThreads();
4004 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4005
4006 wxPyEndAllowThreads(__tstate);
4007 if (PyErr_Occurred()) SWIG_fail;
4008 }
4009 Py_INCREF(Py_None); resultobj = Py_None;
4010 return resultobj;
4011 fail:
4012 return NULL;
4013 }
4014
4015
4016 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4017 PyObject *resultobj;
4018 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4019 wxBitmap *result;
4020 PyObject * obj0 = 0 ;
4021 char *kwnames[] = {
4022 (char *) "self", NULL
4023 };
4024
4025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4027 {
4028 PyThreadState* __tstate = wxPyBeginAllowThreads();
4029 {
4030 wxBitmap &_result_ref = (arg1)->GetBitmap();
4031 result = (wxBitmap *) &_result_ref;
4032 }
4033
4034 wxPyEndAllowThreads(__tstate);
4035 if (PyErr_Occurred()) SWIG_fail;
4036 }
4037 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
4038 return resultobj;
4039 fail:
4040 return NULL;
4041 }
4042
4043
4044 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4045 PyObject *obj;
4046 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4047 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4048 Py_INCREF(obj);
4049 return Py_BuildValue((char *)"");
4050 }
4051 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4052 PyObject *resultobj;
4053 wxBitmap *arg1 = 0 ;
4054 long arg2 ;
4055 int arg3 ;
4056 wxWindow *arg4 = (wxWindow *) 0 ;
4057 int arg5 ;
4058 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4059 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4060 wxSize const &arg7_defvalue = wxDefaultSize ;
4061 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4062 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4063 wxSplashScreen *result;
4064 wxPoint temp6 ;
4065 wxSize temp7 ;
4066 PyObject * obj0 = 0 ;
4067 PyObject * obj3 = 0 ;
4068 PyObject * obj5 = 0 ;
4069 PyObject * obj6 = 0 ;
4070 char *kwnames[] = {
4071 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4072 };
4073
4074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliOi|OOl:new_SplashScreen",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5,&obj5,&obj6,&arg8)) goto fail;
4075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4076 if (arg1 == NULL) {
4077 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4078 }
4079 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4080 if (obj5) {
4081 {
4082 arg6 = &temp6;
4083 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4084 }
4085 }
4086 if (obj6) {
4087 {
4088 arg7 = &temp7;
4089 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4090 }
4091 }
4092 {
4093 PyThreadState* __tstate = wxPyBeginAllowThreads();
4094 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4095
4096 wxPyEndAllowThreads(__tstate);
4097 if (PyErr_Occurred()) SWIG_fail;
4098 }
4099 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreen, 1);
4100 return resultobj;
4101 fail:
4102 return NULL;
4103 }
4104
4105
4106 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4107 PyObject *resultobj;
4108 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4109 long result;
4110 PyObject * obj0 = 0 ;
4111 char *kwnames[] = {
4112 (char *) "self", NULL
4113 };
4114
4115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4117 {
4118 PyThreadState* __tstate = wxPyBeginAllowThreads();
4119 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4120
4121 wxPyEndAllowThreads(__tstate);
4122 if (PyErr_Occurred()) SWIG_fail;
4123 }
4124 resultobj = PyInt_FromLong((long)result);
4125 return resultobj;
4126 fail:
4127 return NULL;
4128 }
4129
4130
4131 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4132 PyObject *resultobj;
4133 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4134 wxSplashScreenWindow *result;
4135 PyObject * obj0 = 0 ;
4136 char *kwnames[] = {
4137 (char *) "self", NULL
4138 };
4139
4140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4142 {
4143 PyThreadState* __tstate = wxPyBeginAllowThreads();
4144 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4145
4146 wxPyEndAllowThreads(__tstate);
4147 if (PyErr_Occurred()) SWIG_fail;
4148 }
4149 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 0);
4150 return resultobj;
4151 fail:
4152 return NULL;
4153 }
4154
4155
4156 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4157 PyObject *resultobj;
4158 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4159 int result;
4160 PyObject * obj0 = 0 ;
4161 char *kwnames[] = {
4162 (char *) "self", NULL
4163 };
4164
4165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4167 {
4168 PyThreadState* __tstate = wxPyBeginAllowThreads();
4169 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4170
4171 wxPyEndAllowThreads(__tstate);
4172 if (PyErr_Occurred()) SWIG_fail;
4173 }
4174 resultobj = PyInt_FromLong((long)result);
4175 return resultobj;
4176 fail:
4177 return NULL;
4178 }
4179
4180
4181 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4182 PyObject *obj;
4183 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4184 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4185 Py_INCREF(obj);
4186 return Py_BuildValue((char *)"");
4187 }
4188 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4189 PyObject *resultobj;
4190 wxWindow *arg1 = (wxWindow *) 0 ;
4191 int arg2 = (int) -1 ;
4192 long arg3 = (long) wxST_SIZEGRIP ;
4193 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4194 wxString *arg4 = (wxString *) &arg4_defvalue ;
4195 wxStatusBar *result;
4196 bool temp4 = False ;
4197 PyObject * obj0 = 0 ;
4198 PyObject * obj3 = 0 ;
4199 char *kwnames[] = {
4200 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4201 };
4202
4203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ilO:new_StatusBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
4204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4205 if (obj3) {
4206 {
4207 arg4 = wxString_in_helper(obj3);
4208 if (arg4 == NULL) SWIG_fail;
4209 temp4 = True;
4210 }
4211 }
4212 {
4213 PyThreadState* __tstate = wxPyBeginAllowThreads();
4214 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4215
4216 wxPyEndAllowThreads(__tstate);
4217 if (PyErr_Occurred()) SWIG_fail;
4218 }
4219 {
4220 resultobj = wxPyMake_wxObject(result);
4221 }
4222 {
4223 if (temp4)
4224 delete arg4;
4225 }
4226 return resultobj;
4227 fail:
4228 {
4229 if (temp4)
4230 delete arg4;
4231 }
4232 return NULL;
4233 }
4234
4235
4236 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4237 PyObject *resultobj;
4238 wxStatusBar *result;
4239 char *kwnames[] = {
4240 NULL
4241 };
4242
4243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4244 {
4245 PyThreadState* __tstate = wxPyBeginAllowThreads();
4246 result = (wxStatusBar *)new wxStatusBar();
4247
4248 wxPyEndAllowThreads(__tstate);
4249 if (PyErr_Occurred()) SWIG_fail;
4250 }
4251 {
4252 resultobj = wxPyMake_wxObject(result);
4253 }
4254 return resultobj;
4255 fail:
4256 return NULL;
4257 }
4258
4259
4260 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4261 PyObject *resultobj;
4262 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4263 wxWindow *arg2 = (wxWindow *) 0 ;
4264 int arg3 ;
4265 long arg4 = (long) wxST_SIZEGRIP ;
4266 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4267 wxString *arg5 = (wxString *) &arg5_defvalue ;
4268 bool result;
4269 bool temp5 = False ;
4270 PyObject * obj0 = 0 ;
4271 PyObject * obj1 = 0 ;
4272 PyObject * obj4 = 0 ;
4273 char *kwnames[] = {
4274 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4275 };
4276
4277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|lO:StatusBar_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
4278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4279 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4280 if (obj4) {
4281 {
4282 arg5 = wxString_in_helper(obj4);
4283 if (arg5 == NULL) SWIG_fail;
4284 temp5 = True;
4285 }
4286 }
4287 {
4288 PyThreadState* __tstate = wxPyBeginAllowThreads();
4289 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4290
4291 wxPyEndAllowThreads(__tstate);
4292 if (PyErr_Occurred()) SWIG_fail;
4293 }
4294 resultobj = PyInt_FromLong((long)result);
4295 {
4296 if (temp5)
4297 delete arg5;
4298 }
4299 return resultobj;
4300 fail:
4301 {
4302 if (temp5)
4303 delete arg5;
4304 }
4305 return NULL;
4306 }
4307
4308
4309 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4310 PyObject *resultobj;
4311 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4312 int arg2 = (int) 1 ;
4313 PyObject * obj0 = 0 ;
4314 char *kwnames[] = {
4315 (char *) "self",(char *) "number", NULL
4316 };
4317
4318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_SetFieldsCount",kwnames,&obj0,&arg2)) goto fail;
4319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4320 {
4321 PyThreadState* __tstate = wxPyBeginAllowThreads();
4322 (arg1)->SetFieldsCount(arg2);
4323
4324 wxPyEndAllowThreads(__tstate);
4325 if (PyErr_Occurred()) SWIG_fail;
4326 }
4327 Py_INCREF(Py_None); resultobj = Py_None;
4328 return resultobj;
4329 fail:
4330 return NULL;
4331 }
4332
4333
4334 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4335 PyObject *resultobj;
4336 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4337 int result;
4338 PyObject * obj0 = 0 ;
4339 char *kwnames[] = {
4340 (char *) "self", NULL
4341 };
4342
4343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
4344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4345 {
4346 PyThreadState* __tstate = wxPyBeginAllowThreads();
4347 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
4348
4349 wxPyEndAllowThreads(__tstate);
4350 if (PyErr_Occurred()) SWIG_fail;
4351 }
4352 resultobj = PyInt_FromLong((long)result);
4353 return resultobj;
4354 fail:
4355 return NULL;
4356 }
4357
4358
4359 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4360 PyObject *resultobj;
4361 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4362 wxString *arg2 = 0 ;
4363 int arg3 = (int) 0 ;
4364 bool temp2 = False ;
4365 PyObject * obj0 = 0 ;
4366 PyObject * obj1 = 0 ;
4367 char *kwnames[] = {
4368 (char *) "self",(char *) "text",(char *) "number", NULL
4369 };
4370
4371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4373 {
4374 arg2 = wxString_in_helper(obj1);
4375 if (arg2 == NULL) SWIG_fail;
4376 temp2 = True;
4377 }
4378 {
4379 PyThreadState* __tstate = wxPyBeginAllowThreads();
4380 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
4381
4382 wxPyEndAllowThreads(__tstate);
4383 if (PyErr_Occurred()) SWIG_fail;
4384 }
4385 Py_INCREF(Py_None); resultobj = Py_None;
4386 {
4387 if (temp2)
4388 delete arg2;
4389 }
4390 return resultobj;
4391 fail:
4392 {
4393 if (temp2)
4394 delete arg2;
4395 }
4396 return NULL;
4397 }
4398
4399
4400 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4401 PyObject *resultobj;
4402 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4403 int arg2 = (int) 0 ;
4404 wxString result;
4405 PyObject * obj0 = 0 ;
4406 char *kwnames[] = {
4407 (char *) "self",(char *) "number", NULL
4408 };
4409
4410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_GetStatusText",kwnames,&obj0,&arg2)) goto fail;
4411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4412 {
4413 PyThreadState* __tstate = wxPyBeginAllowThreads();
4414 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
4415
4416 wxPyEndAllowThreads(__tstate);
4417 if (PyErr_Occurred()) SWIG_fail;
4418 }
4419 {
4420 #if wxUSE_UNICODE
4421 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4422 #else
4423 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4424 #endif
4425 }
4426 return resultobj;
4427 fail:
4428 return NULL;
4429 }
4430
4431
4432 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4433 PyObject *resultobj;
4434 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4435 wxString *arg2 = 0 ;
4436 int arg3 = (int) 0 ;
4437 bool temp2 = False ;
4438 PyObject * obj0 = 0 ;
4439 PyObject * obj1 = 0 ;
4440 char *kwnames[] = {
4441 (char *) "self",(char *) "text",(char *) "number", NULL
4442 };
4443
4444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4446 {
4447 arg2 = wxString_in_helper(obj1);
4448 if (arg2 == NULL) SWIG_fail;
4449 temp2 = True;
4450 }
4451 {
4452 PyThreadState* __tstate = wxPyBeginAllowThreads();
4453 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
4454
4455 wxPyEndAllowThreads(__tstate);
4456 if (PyErr_Occurred()) SWIG_fail;
4457 }
4458 Py_INCREF(Py_None); resultobj = Py_None;
4459 {
4460 if (temp2)
4461 delete arg2;
4462 }
4463 return resultobj;
4464 fail:
4465 {
4466 if (temp2)
4467 delete arg2;
4468 }
4469 return NULL;
4470 }
4471
4472
4473 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4474 PyObject *resultobj;
4475 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4476 int arg2 = (int) 0 ;
4477 PyObject * obj0 = 0 ;
4478 char *kwnames[] = {
4479 (char *) "self",(char *) "number", NULL
4480 };
4481
4482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
4483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4484 {
4485 PyThreadState* __tstate = wxPyBeginAllowThreads();
4486 (arg1)->PopStatusText(arg2);
4487
4488 wxPyEndAllowThreads(__tstate);
4489 if (PyErr_Occurred()) SWIG_fail;
4490 }
4491 Py_INCREF(Py_None); resultobj = Py_None;
4492 return resultobj;
4493 fail:
4494 return NULL;
4495 }
4496
4497
4498 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
4499 PyObject *resultobj;
4500 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4501 int arg2 ;
4502 int *arg3 = (int *) 0 ;
4503 PyObject * obj0 = 0 ;
4504 PyObject * obj1 = 0 ;
4505 char *kwnames[] = {
4506 (char *) "self",(char *) "widths", NULL
4507 };
4508
4509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
4510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4511 {
4512 arg2 = PyList_Size(obj1);
4513 arg3 = int_LIST_helper(obj1);
4514 if (arg3 == NULL) SWIG_fail;
4515 }
4516 {
4517 PyThreadState* __tstate = wxPyBeginAllowThreads();
4518 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
4519
4520 wxPyEndAllowThreads(__tstate);
4521 if (PyErr_Occurred()) SWIG_fail;
4522 }
4523 Py_INCREF(Py_None); resultobj = Py_None;
4524 {
4525 if (arg3) delete [] arg3;
4526 }
4527 return resultobj;
4528 fail:
4529 {
4530 if (arg3) delete [] arg3;
4531 }
4532 return NULL;
4533 }
4534
4535
4536 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4537 PyObject *resultobj;
4538 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4539 int arg2 ;
4540 wxRect result;
4541 PyObject * obj0 = 0 ;
4542 char *kwnames[] = {
4543 (char *) "self",(char *) "i", NULL
4544 };
4545
4546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_GetFieldRect",kwnames,&obj0,&arg2)) goto fail;
4547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4548 {
4549 PyThreadState* __tstate = wxPyBeginAllowThreads();
4550 result = wxStatusBar_GetFieldRect(arg1,arg2);
4551
4552 wxPyEndAllowThreads(__tstate);
4553 if (PyErr_Occurred()) SWIG_fail;
4554 }
4555 {
4556 wxRect * resultptr;
4557 resultptr = new wxRect((wxRect &) result);
4558 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
4559 }
4560 return resultobj;
4561 fail:
4562 return NULL;
4563 }
4564
4565
4566 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
4567 PyObject *resultobj;
4568 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4569 int arg2 ;
4570 PyObject * obj0 = 0 ;
4571 char *kwnames[] = {
4572 (char *) "self",(char *) "height", NULL
4573 };
4574
4575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_SetMinHeight",kwnames,&obj0,&arg2)) goto fail;
4576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4577 {
4578 PyThreadState* __tstate = wxPyBeginAllowThreads();
4579 (arg1)->SetMinHeight(arg2);
4580
4581 wxPyEndAllowThreads(__tstate);
4582 if (PyErr_Occurred()) SWIG_fail;
4583 }
4584 Py_INCREF(Py_None); resultobj = Py_None;
4585 return resultobj;
4586 fail:
4587 return NULL;
4588 }
4589
4590
4591 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
4592 PyObject *resultobj;
4593 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4594 int result;
4595 PyObject * obj0 = 0 ;
4596 char *kwnames[] = {
4597 (char *) "self", NULL
4598 };
4599
4600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
4601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4602 {
4603 PyThreadState* __tstate = wxPyBeginAllowThreads();
4604 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
4605
4606 wxPyEndAllowThreads(__tstate);
4607 if (PyErr_Occurred()) SWIG_fail;
4608 }
4609 resultobj = PyInt_FromLong((long)result);
4610 return resultobj;
4611 fail:
4612 return NULL;
4613 }
4614
4615
4616 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
4617 PyObject *resultobj;
4618 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4619 int result;
4620 PyObject * obj0 = 0 ;
4621 char *kwnames[] = {
4622 (char *) "self", NULL
4623 };
4624
4625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
4626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4627 {
4628 PyThreadState* __tstate = wxPyBeginAllowThreads();
4629 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
4630
4631 wxPyEndAllowThreads(__tstate);
4632 if (PyErr_Occurred()) SWIG_fail;
4633 }
4634 resultobj = PyInt_FromLong((long)result);
4635 return resultobj;
4636 fail:
4637 return NULL;
4638 }
4639
4640
4641 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
4642 PyObject *obj;
4643 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4644 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
4645 Py_INCREF(obj);
4646 return Py_BuildValue((char *)"");
4647 }
4648 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4649 PyObject *resultobj;
4650 wxWindow *arg1 = (wxWindow *) 0 ;
4651 int arg2 ;
4652 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4653 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4654 wxSize const &arg4_defvalue = wxDefaultSize ;
4655 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4656 long arg5 = (long) wxSP_3D ;
4657 wxString const &arg6_defvalue = wxPySplitterNameStr ;
4658 wxString *arg6 = (wxString *) &arg6_defvalue ;
4659 wxSplitterWindow *result;
4660 wxPoint temp3 ;
4661 wxSize temp4 ;
4662 bool temp6 = False ;
4663 PyObject * obj0 = 0 ;
4664 PyObject * obj2 = 0 ;
4665 PyObject * obj3 = 0 ;
4666 PyObject * obj5 = 0 ;
4667 char *kwnames[] = {
4668 (char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4669 };
4670
4671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SplitterWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
4672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4673 if (obj2) {
4674 {
4675 arg3 = &temp3;
4676 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4677 }
4678 }
4679 if (obj3) {
4680 {
4681 arg4 = &temp4;
4682 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4683 }
4684 }
4685 if (obj5) {
4686 {
4687 arg6 = wxString_in_helper(obj5);
4688 if (arg6 == NULL) SWIG_fail;
4689 temp6 = True;
4690 }
4691 }
4692 {
4693 PyThreadState* __tstate = wxPyBeginAllowThreads();
4694 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4695
4696 wxPyEndAllowThreads(__tstate);
4697 if (PyErr_Occurred()) SWIG_fail;
4698 }
4699 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
4700 {
4701 if (temp6)
4702 delete arg6;
4703 }
4704 return resultobj;
4705 fail:
4706 {
4707 if (temp6)
4708 delete arg6;
4709 }
4710 return NULL;
4711 }
4712
4713
4714 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4715 PyObject *resultobj;
4716 wxSplitterWindow *result;
4717 char *kwnames[] = {
4718 NULL
4719 };
4720
4721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
4722 {
4723 PyThreadState* __tstate = wxPyBeginAllowThreads();
4724 result = (wxSplitterWindow *)new wxSplitterWindow();
4725
4726 wxPyEndAllowThreads(__tstate);
4727 if (PyErr_Occurred()) SWIG_fail;
4728 }
4729 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
4730 return resultobj;
4731 fail:
4732 return NULL;
4733 }
4734
4735
4736 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4737 PyObject *resultobj;
4738 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4739 wxWindow *arg2 = (wxWindow *) 0 ;
4740 int arg3 ;
4741 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4742 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4743 wxSize const &arg5_defvalue = wxDefaultSize ;
4744 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4745 long arg6 = (long) wxSP_3D ;
4746 wxString const &arg7_defvalue = wxPySplitterNameStr ;
4747 wxString *arg7 = (wxString *) &arg7_defvalue ;
4748 bool result;
4749 wxPoint temp4 ;
4750 wxSize temp5 ;
4751 bool temp7 = False ;
4752 PyObject * obj0 = 0 ;
4753 PyObject * obj1 = 0 ;
4754 PyObject * obj3 = 0 ;
4755 PyObject * obj4 = 0 ;
4756 PyObject * obj6 = 0 ;
4757 char *kwnames[] = {
4758 (char *) "self",(char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4759 };
4760
4761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SplitterWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
4762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4763 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4764 if (obj3) {
4765 {
4766 arg4 = &temp4;
4767 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4768 }
4769 }
4770 if (obj4) {
4771 {
4772 arg5 = &temp5;
4773 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4774 }
4775 }
4776 if (obj6) {
4777 {
4778 arg7 = wxString_in_helper(obj6);
4779 if (arg7 == NULL) SWIG_fail;
4780 temp7 = True;
4781 }
4782 }
4783 {
4784 PyThreadState* __tstate = wxPyBeginAllowThreads();
4785 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4786
4787 wxPyEndAllowThreads(__tstate);
4788 if (PyErr_Occurred()) SWIG_fail;
4789 }
4790 resultobj = PyInt_FromLong((long)result);
4791 {
4792 if (temp7)
4793 delete arg7;
4794 }
4795 return resultobj;
4796 fail:
4797 {
4798 if (temp7)
4799 delete arg7;
4800 }
4801 return NULL;
4802 }
4803
4804
4805 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
4806 PyObject *resultobj;
4807 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4808 wxWindow *result;
4809 PyObject * obj0 = 0 ;
4810 char *kwnames[] = {
4811 (char *) "self", NULL
4812 };
4813
4814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
4815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4816 {
4817 PyThreadState* __tstate = wxPyBeginAllowThreads();
4818 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
4819
4820 wxPyEndAllowThreads(__tstate);
4821 if (PyErr_Occurred()) SWIG_fail;
4822 }
4823 {
4824 resultobj = wxPyMake_wxObject(result);
4825 }
4826 return resultobj;
4827 fail:
4828 return NULL;
4829 }
4830
4831
4832 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
4833 PyObject *resultobj;
4834 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4835 wxWindow *result;
4836 PyObject * obj0 = 0 ;
4837 char *kwnames[] = {
4838 (char *) "self", NULL
4839 };
4840
4841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
4842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4843 {
4844 PyThreadState* __tstate = wxPyBeginAllowThreads();
4845 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
4846
4847 wxPyEndAllowThreads(__tstate);
4848 if (PyErr_Occurred()) SWIG_fail;
4849 }
4850 {
4851 resultobj = wxPyMake_wxObject(result);
4852 }
4853 return resultobj;
4854 fail:
4855 return NULL;
4856 }
4857
4858
4859 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4860 PyObject *resultobj;
4861 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4862 int arg2 ;
4863 PyObject * obj0 = 0 ;
4864 char *kwnames[] = {
4865 (char *) "self",(char *) "mode", NULL
4866 };
4867
4868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSplitMode",kwnames,&obj0,&arg2)) goto fail;
4869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4870 {
4871 PyThreadState* __tstate = wxPyBeginAllowThreads();
4872 (arg1)->SetSplitMode(arg2);
4873
4874 wxPyEndAllowThreads(__tstate);
4875 if (PyErr_Occurred()) SWIG_fail;
4876 }
4877 Py_INCREF(Py_None); resultobj = Py_None;
4878 return resultobj;
4879 fail:
4880 return NULL;
4881 }
4882
4883
4884 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4885 PyObject *resultobj;
4886 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4887 int result;
4888 PyObject * obj0 = 0 ;
4889 char *kwnames[] = {
4890 (char *) "self", NULL
4891 };
4892
4893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
4894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4895 {
4896 PyThreadState* __tstate = wxPyBeginAllowThreads();
4897 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
4898
4899 wxPyEndAllowThreads(__tstate);
4900 if (PyErr_Occurred()) SWIG_fail;
4901 }
4902 resultobj = PyInt_FromLong((long)result);
4903 return resultobj;
4904 fail:
4905 return NULL;
4906 }
4907
4908
4909 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
4910 PyObject *resultobj;
4911 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4912 wxWindow *arg2 = (wxWindow *) 0 ;
4913 PyObject * obj0 = 0 ;
4914 PyObject * obj1 = 0 ;
4915 char *kwnames[] = {
4916 (char *) "self",(char *) "window", NULL
4917 };
4918
4919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
4920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4921 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4922 {
4923 PyThreadState* __tstate = wxPyBeginAllowThreads();
4924 (arg1)->Initialize(arg2);
4925
4926 wxPyEndAllowThreads(__tstate);
4927 if (PyErr_Occurred()) SWIG_fail;
4928 }
4929 Py_INCREF(Py_None); resultobj = Py_None;
4930 return resultobj;
4931 fail:
4932 return NULL;
4933 }
4934
4935
4936 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
4937 PyObject *resultobj;
4938 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4939 wxWindow *arg2 = (wxWindow *) 0 ;
4940 wxWindow *arg3 = (wxWindow *) 0 ;
4941 int arg4 = (int) 0 ;
4942 bool result;
4943 PyObject * obj0 = 0 ;
4944 PyObject * obj1 = 0 ;
4945 PyObject * obj2 = 0 ;
4946 char *kwnames[] = {
4947 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
4948 };
4949
4950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
4951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4952 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4953 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4954 {
4955 PyThreadState* __tstate = wxPyBeginAllowThreads();
4956 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
4957
4958 wxPyEndAllowThreads(__tstate);
4959 if (PyErr_Occurred()) SWIG_fail;
4960 }
4961 resultobj = PyInt_FromLong((long)result);
4962 return resultobj;
4963 fail:
4964 return NULL;
4965 }
4966
4967
4968 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
4969 PyObject *resultobj;
4970 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4971 wxWindow *arg2 = (wxWindow *) 0 ;
4972 wxWindow *arg3 = (wxWindow *) 0 ;
4973 int arg4 = (int) 0 ;
4974 bool result;
4975 PyObject * obj0 = 0 ;
4976 PyObject * obj1 = 0 ;
4977 PyObject * obj2 = 0 ;
4978 char *kwnames[] = {
4979 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
4980 };
4981
4982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
4983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4984 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4985 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4986 {
4987 PyThreadState* __tstate = wxPyBeginAllowThreads();
4988 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
4989
4990 wxPyEndAllowThreads(__tstate);
4991 if (PyErr_Occurred()) SWIG_fail;
4992 }
4993 resultobj = PyInt_FromLong((long)result);
4994 return resultobj;
4995 fail:
4996 return NULL;
4997 }
4998
4999
5000 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5001 PyObject *resultobj;
5002 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5003 wxWindow *arg2 = (wxWindow *) NULL ;
5004 bool result;
5005 PyObject * obj0 = 0 ;
5006 PyObject * obj1 = 0 ;
5007 char *kwnames[] = {
5008 (char *) "self",(char *) "toRemove", NULL
5009 };
5010
5011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5013 if (obj1) {
5014 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5015 }
5016 {
5017 PyThreadState* __tstate = wxPyBeginAllowThreads();
5018 result = (bool)(arg1)->Unsplit(arg2);
5019
5020 wxPyEndAllowThreads(__tstate);
5021 if (PyErr_Occurred()) SWIG_fail;
5022 }
5023 resultobj = PyInt_FromLong((long)result);
5024 return resultobj;
5025 fail:
5026 return NULL;
5027 }
5028
5029
5030 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5031 PyObject *resultobj;
5032 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5033 wxWindow *arg2 = (wxWindow *) 0 ;
5034 wxWindow *arg3 = (wxWindow *) 0 ;
5035 bool result;
5036 PyObject * obj0 = 0 ;
5037 PyObject * obj1 = 0 ;
5038 PyObject * obj2 = 0 ;
5039 char *kwnames[] = {
5040 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5041 };
5042
5043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5045 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5046 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5047 {
5048 PyThreadState* __tstate = wxPyBeginAllowThreads();
5049 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5050
5051 wxPyEndAllowThreads(__tstate);
5052 if (PyErr_Occurred()) SWIG_fail;
5053 }
5054 resultobj = PyInt_FromLong((long)result);
5055 return resultobj;
5056 fail:
5057 return NULL;
5058 }
5059
5060
5061 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5062 PyObject *resultobj;
5063 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5064 bool result;
5065 PyObject * obj0 = 0 ;
5066 char *kwnames[] = {
5067 (char *) "self", NULL
5068 };
5069
5070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5072 {
5073 PyThreadState* __tstate = wxPyBeginAllowThreads();
5074 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5075
5076 wxPyEndAllowThreads(__tstate);
5077 if (PyErr_Occurred()) SWIG_fail;
5078 }
5079 resultobj = PyInt_FromLong((long)result);
5080 return resultobj;
5081 fail:
5082 return NULL;
5083 }
5084
5085
5086 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5087 PyObject *resultobj;
5088 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5089 int arg2 ;
5090 PyObject * obj0 = 0 ;
5091 char *kwnames[] = {
5092 (char *) "self",(char *) "width", NULL
5093 };
5094
5095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSashSize",kwnames,&obj0,&arg2)) goto fail;
5096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5097 {
5098 PyThreadState* __tstate = wxPyBeginAllowThreads();
5099 (arg1)->SetSashSize(arg2);
5100
5101 wxPyEndAllowThreads(__tstate);
5102 if (PyErr_Occurred()) SWIG_fail;
5103 }
5104 Py_INCREF(Py_None); resultobj = Py_None;
5105 return resultobj;
5106 fail:
5107 return NULL;
5108 }
5109
5110
5111 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5112 PyObject *resultobj;
5113 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5114 int arg2 ;
5115 PyObject * obj0 = 0 ;
5116 char *kwnames[] = {
5117 (char *) "self",(char *) "width", NULL
5118 };
5119
5120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetBorderSize",kwnames,&obj0,&arg2)) goto fail;
5121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5122 {
5123 PyThreadState* __tstate = wxPyBeginAllowThreads();
5124 (arg1)->SetBorderSize(arg2);
5125
5126 wxPyEndAllowThreads(__tstate);
5127 if (PyErr_Occurred()) SWIG_fail;
5128 }
5129 Py_INCREF(Py_None); resultobj = Py_None;
5130 return resultobj;
5131 fail:
5132 return NULL;
5133 }
5134
5135
5136 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5137 PyObject *resultobj;
5138 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5139 int result;
5140 PyObject * obj0 = 0 ;
5141 char *kwnames[] = {
5142 (char *) "self", NULL
5143 };
5144
5145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
5146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5147 {
5148 PyThreadState* __tstate = wxPyBeginAllowThreads();
5149 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
5150
5151 wxPyEndAllowThreads(__tstate);
5152 if (PyErr_Occurred()) SWIG_fail;
5153 }
5154 resultobj = PyInt_FromLong((long)result);
5155 return resultobj;
5156 fail:
5157 return NULL;
5158 }
5159
5160
5161 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5162 PyObject *resultobj;
5163 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5164 int result;
5165 PyObject * obj0 = 0 ;
5166 char *kwnames[] = {
5167 (char *) "self", NULL
5168 };
5169
5170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
5171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5172 {
5173 PyThreadState* __tstate = wxPyBeginAllowThreads();
5174 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
5175
5176 wxPyEndAllowThreads(__tstate);
5177 if (PyErr_Occurred()) SWIG_fail;
5178 }
5179 resultobj = PyInt_FromLong((long)result);
5180 return resultobj;
5181 fail:
5182 return NULL;
5183 }
5184
5185
5186 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5187 PyObject *resultobj;
5188 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5189 int arg2 ;
5190 bool arg3 = (bool) True ;
5191 PyObject * obj0 = 0 ;
5192 PyObject * obj2 = 0 ;
5193 char *kwnames[] = {
5194 (char *) "self",(char *) "position",(char *) "redraw", NULL
5195 };
5196
5197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
5198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5199 if (obj2) {
5200 arg3 = PyInt_AsLong(obj2) ? true : false;
5201 if (PyErr_Occurred()) SWIG_fail;
5202 }
5203 {
5204 PyThreadState* __tstate = wxPyBeginAllowThreads();
5205 (arg1)->SetSashPosition(arg2,arg3);
5206
5207 wxPyEndAllowThreads(__tstate);
5208 if (PyErr_Occurred()) SWIG_fail;
5209 }
5210 Py_INCREF(Py_None); resultobj = Py_None;
5211 return resultobj;
5212 fail:
5213 return NULL;
5214 }
5215
5216
5217 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5218 PyObject *resultobj;
5219 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5220 int result;
5221 PyObject * obj0 = 0 ;
5222 char *kwnames[] = {
5223 (char *) "self", NULL
5224 };
5225
5226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
5227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5228 {
5229 PyThreadState* __tstate = wxPyBeginAllowThreads();
5230 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
5231
5232 wxPyEndAllowThreads(__tstate);
5233 if (PyErr_Occurred()) SWIG_fail;
5234 }
5235 resultobj = PyInt_FromLong((long)result);
5236 return resultobj;
5237 fail:
5238 return NULL;
5239 }
5240
5241
5242 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5243 PyObject *resultobj;
5244 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5245 int arg2 ;
5246 PyObject * obj0 = 0 ;
5247 char *kwnames[] = {
5248 (char *) "self",(char *) "min", NULL
5249 };
5250
5251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&arg2)) goto fail;
5252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5253 {
5254 PyThreadState* __tstate = wxPyBeginAllowThreads();
5255 (arg1)->SetMinimumPaneSize(arg2);
5256
5257 wxPyEndAllowThreads(__tstate);
5258 if (PyErr_Occurred()) SWIG_fail;
5259 }
5260 Py_INCREF(Py_None); resultobj = Py_None;
5261 return resultobj;
5262 fail:
5263 return NULL;
5264 }
5265
5266
5267 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5268 PyObject *resultobj;
5269 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5270 int result;
5271 PyObject * obj0 = 0 ;
5272 char *kwnames[] = {
5273 (char *) "self", NULL
5274 };
5275
5276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
5277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5278 {
5279 PyThreadState* __tstate = wxPyBeginAllowThreads();
5280 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
5281
5282 wxPyEndAllowThreads(__tstate);
5283 if (PyErr_Occurred()) SWIG_fail;
5284 }
5285 resultobj = PyInt_FromLong((long)result);
5286 return resultobj;
5287 fail:
5288 return NULL;
5289 }
5290
5291
5292 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5293 PyObject *resultobj;
5294 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5295 int arg2 ;
5296 int arg3 ;
5297 int arg4 = (int) 5 ;
5298 bool result;
5299 PyObject * obj0 = 0 ;
5300 char *kwnames[] = {
5301 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5302 };
5303
5304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SplitterWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
5305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5306 {
5307 PyThreadState* __tstate = wxPyBeginAllowThreads();
5308 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
5309
5310 wxPyEndAllowThreads(__tstate);
5311 if (PyErr_Occurred()) SWIG_fail;
5312 }
5313 resultobj = PyInt_FromLong((long)result);
5314 return resultobj;
5315 fail:
5316 return NULL;
5317 }
5318
5319
5320 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
5321 PyObject *resultobj;
5322 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5323 PyObject * obj0 = 0 ;
5324 char *kwnames[] = {
5325 (char *) "self", NULL
5326 };
5327
5328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
5329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5330 {
5331 PyThreadState* __tstate = wxPyBeginAllowThreads();
5332 (arg1)->SizeWindows();
5333
5334 wxPyEndAllowThreads(__tstate);
5335 if (PyErr_Occurred()) SWIG_fail;
5336 }
5337 Py_INCREF(Py_None); resultobj = Py_None;
5338 return resultobj;
5339 fail:
5340 return NULL;
5341 }
5342
5343
5344 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5345 PyObject *resultobj;
5346 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5347 bool arg2 ;
5348 PyObject * obj0 = 0 ;
5349 PyObject * obj1 = 0 ;
5350 char *kwnames[] = {
5351 (char *) "self",(char *) "needUpdating", NULL
5352 };
5353
5354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
5355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5356 arg2 = PyInt_AsLong(obj1) ? true : false;
5357 if (PyErr_Occurred()) SWIG_fail;
5358 {
5359 PyThreadState* __tstate = wxPyBeginAllowThreads();
5360 (arg1)->SetNeedUpdating(arg2);
5361
5362 wxPyEndAllowThreads(__tstate);
5363 if (PyErr_Occurred()) SWIG_fail;
5364 }
5365 Py_INCREF(Py_None); resultobj = Py_None;
5366 return resultobj;
5367 fail:
5368 return NULL;
5369 }
5370
5371
5372 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5373 PyObject *resultobj;
5374 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5375 bool result;
5376 PyObject * obj0 = 0 ;
5377 char *kwnames[] = {
5378 (char *) "self", NULL
5379 };
5380
5381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
5382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5383 {
5384 PyThreadState* __tstate = wxPyBeginAllowThreads();
5385 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
5386
5387 wxPyEndAllowThreads(__tstate);
5388 if (PyErr_Occurred()) SWIG_fail;
5389 }
5390 resultobj = PyInt_FromLong((long)result);
5391 return resultobj;
5392 fail:
5393 return NULL;
5394 }
5395
5396
5397 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
5398 PyObject *obj;
5399 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5400 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
5401 Py_INCREF(obj);
5402 return Py_BuildValue((char *)"");
5403 }
5404 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5405 PyObject *resultobj;
5406 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
5407 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
5408 wxSplitterEvent *result;
5409 PyObject * obj1 = 0 ;
5410 char *kwnames[] = {
5411 (char *) "type",(char *) "splitter", NULL
5412 };
5413
5414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_SplitterEvent",kwnames,&arg1,&obj1)) goto fail;
5415 if (obj1) {
5416 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5417 }
5418 {
5419 PyThreadState* __tstate = wxPyBeginAllowThreads();
5420 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
5421
5422 wxPyEndAllowThreads(__tstate);
5423 if (PyErr_Occurred()) SWIG_fail;
5424 }
5425 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterEvent, 1);
5426 return resultobj;
5427 fail:
5428 return NULL;
5429 }
5430
5431
5432 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5433 PyObject *resultobj;
5434 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5435 int arg2 ;
5436 PyObject * obj0 = 0 ;
5437 char *kwnames[] = {
5438 (char *) "self",(char *) "pos", NULL
5439 };
5440
5441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterEvent_SetSashPosition",kwnames,&obj0,&arg2)) goto fail;
5442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5443 {
5444 PyThreadState* __tstate = wxPyBeginAllowThreads();
5445 (arg1)->SetSashPosition(arg2);
5446
5447 wxPyEndAllowThreads(__tstate);
5448 if (PyErr_Occurred()) SWIG_fail;
5449 }
5450 Py_INCREF(Py_None); resultobj = Py_None;
5451 return resultobj;
5452 fail:
5453 return NULL;
5454 }
5455
5456
5457 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5458 PyObject *resultobj;
5459 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5460 int result;
5461 PyObject * obj0 = 0 ;
5462 char *kwnames[] = {
5463 (char *) "self", NULL
5464 };
5465
5466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
5467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5468 {
5469 PyThreadState* __tstate = wxPyBeginAllowThreads();
5470 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
5471
5472 wxPyEndAllowThreads(__tstate);
5473 if (PyErr_Occurred()) SWIG_fail;
5474 }
5475 resultobj = PyInt_FromLong((long)result);
5476 return resultobj;
5477 fail:
5478 return NULL;
5479 }
5480
5481
5482 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
5483 PyObject *resultobj;
5484 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5485 wxWindow *result;
5486 PyObject * obj0 = 0 ;
5487 char *kwnames[] = {
5488 (char *) "self", NULL
5489 };
5490
5491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
5492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5493 {
5494 PyThreadState* __tstate = wxPyBeginAllowThreads();
5495 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
5496
5497 wxPyEndAllowThreads(__tstate);
5498 if (PyErr_Occurred()) SWIG_fail;
5499 }
5500 {
5501 resultobj = wxPyMake_wxObject(result);
5502 }
5503 return resultobj;
5504 fail:
5505 return NULL;
5506 }
5507
5508
5509 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
5510 PyObject *resultobj;
5511 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5512 int result;
5513 PyObject * obj0 = 0 ;
5514 char *kwnames[] = {
5515 (char *) "self", NULL
5516 };
5517
5518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
5519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5520 {
5521 PyThreadState* __tstate = wxPyBeginAllowThreads();
5522 result = (int)((wxSplitterEvent const *)arg1)->GetX();
5523
5524 wxPyEndAllowThreads(__tstate);
5525 if (PyErr_Occurred()) SWIG_fail;
5526 }
5527 resultobj = PyInt_FromLong((long)result);
5528 return resultobj;
5529 fail:
5530 return NULL;
5531 }
5532
5533
5534 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
5535 PyObject *resultobj;
5536 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5537 int result;
5538 PyObject * obj0 = 0 ;
5539 char *kwnames[] = {
5540 (char *) "self", NULL
5541 };
5542
5543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
5544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5545 {
5546 PyThreadState* __tstate = wxPyBeginAllowThreads();
5547 result = (int)((wxSplitterEvent const *)arg1)->GetY();
5548
5549 wxPyEndAllowThreads(__tstate);
5550 if (PyErr_Occurred()) SWIG_fail;
5551 }
5552 resultobj = PyInt_FromLong((long)result);
5553 return resultobj;
5554 fail:
5555 return NULL;
5556 }
5557
5558
5559 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
5560 PyObject *obj;
5561 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5562 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
5563 Py_INCREF(obj);
5564 return Py_BuildValue((char *)"");
5565 }
5566 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5567 PyObject *resultobj;
5568 wxWindow *arg1 = (wxWindow *) 0 ;
5569 int arg2 ;
5570 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5571 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5572 wxSize const &arg4_defvalue = wxDefaultSize ;
5573 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5574 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
5575 wxString const &arg6_defvalue = wxPySashNameStr ;
5576 wxString *arg6 = (wxString *) &arg6_defvalue ;
5577 wxSashWindow *result;
5578 wxPoint temp3 ;
5579 wxSize temp4 ;
5580 bool temp6 = False ;
5581 PyObject * obj0 = 0 ;
5582 PyObject * obj2 = 0 ;
5583 PyObject * obj3 = 0 ;
5584 PyObject * obj5 = 0 ;
5585 char *kwnames[] = {
5586 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5587 };
5588
5589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
5590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5591 if (obj2) {
5592 {
5593 arg3 = &temp3;
5594 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5595 }
5596 }
5597 if (obj3) {
5598 {
5599 arg4 = &temp4;
5600 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5601 }
5602 }
5603 if (obj5) {
5604 {
5605 arg6 = wxString_in_helper(obj5);
5606 if (arg6 == NULL) SWIG_fail;
5607 temp6 = True;
5608 }
5609 }
5610 {
5611 PyThreadState* __tstate = wxPyBeginAllowThreads();
5612 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5613
5614 wxPyEndAllowThreads(__tstate);
5615 if (PyErr_Occurred()) SWIG_fail;
5616 }
5617 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
5618 {
5619 if (temp6)
5620 delete arg6;
5621 }
5622 return resultobj;
5623 fail:
5624 {
5625 if (temp6)
5626 delete arg6;
5627 }
5628 return NULL;
5629 }
5630
5631
5632 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5633 PyObject *resultobj;
5634 wxSashWindow *result;
5635 char *kwnames[] = {
5636 NULL
5637 };
5638
5639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
5640 {
5641 PyThreadState* __tstate = wxPyBeginAllowThreads();
5642 result = (wxSashWindow *)new wxSashWindow();
5643
5644 wxPyEndAllowThreads(__tstate);
5645 if (PyErr_Occurred()) SWIG_fail;
5646 }
5647 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
5648 return resultobj;
5649 fail:
5650 return NULL;
5651 }
5652
5653
5654 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5655 PyObject *resultobj;
5656 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5657 wxWindow *arg2 = (wxWindow *) 0 ;
5658 int arg3 ;
5659 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5660 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5661 wxSize const &arg5_defvalue = wxDefaultSize ;
5662 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5663 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
5664 wxString const &arg7_defvalue = wxPySashNameStr ;
5665 wxString *arg7 = (wxString *) &arg7_defvalue ;
5666 bool result;
5667 wxPoint temp4 ;
5668 wxSize temp5 ;
5669 bool temp7 = False ;
5670 PyObject * obj0 = 0 ;
5671 PyObject * obj1 = 0 ;
5672 PyObject * obj3 = 0 ;
5673 PyObject * obj4 = 0 ;
5674 PyObject * obj6 = 0 ;
5675 char *kwnames[] = {
5676 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5677 };
5678
5679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
5680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5681 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5682 if (obj3) {
5683 {
5684 arg4 = &temp4;
5685 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5686 }
5687 }
5688 if (obj4) {
5689 {
5690 arg5 = &temp5;
5691 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5692 }
5693 }
5694 if (obj6) {
5695 {
5696 arg7 = wxString_in_helper(obj6);
5697 if (arg7 == NULL) SWIG_fail;
5698 temp7 = True;
5699 }
5700 }
5701 {
5702 PyThreadState* __tstate = wxPyBeginAllowThreads();
5703 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5704
5705 wxPyEndAllowThreads(__tstate);
5706 if (PyErr_Occurred()) SWIG_fail;
5707 }
5708 resultobj = PyInt_FromLong((long)result);
5709 {
5710 if (temp7)
5711 delete arg7;
5712 }
5713 return resultobj;
5714 fail:
5715 {
5716 if (temp7)
5717 delete arg7;
5718 }
5719 return NULL;
5720 }
5721
5722
5723 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5724 PyObject *resultobj;
5725 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5726 int arg2 ;
5727 bool arg3 ;
5728 PyObject * obj0 = 0 ;
5729 PyObject * obj2 = 0 ;
5730 char *kwnames[] = {
5731 (char *) "self",(char *) "edge",(char *) "sash", NULL
5732 };
5733
5734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashVisible",kwnames,&obj0,&arg2,&obj2)) goto fail;
5735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5736 arg3 = PyInt_AsLong(obj2) ? true : false;
5737 if (PyErr_Occurred()) SWIG_fail;
5738 {
5739 PyThreadState* __tstate = wxPyBeginAllowThreads();
5740 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
5741
5742 wxPyEndAllowThreads(__tstate);
5743 if (PyErr_Occurred()) SWIG_fail;
5744 }
5745 Py_INCREF(Py_None); resultobj = Py_None;
5746 return resultobj;
5747 fail:
5748 return NULL;
5749 }
5750
5751
5752 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5753 PyObject *resultobj;
5754 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5755 int arg2 ;
5756 bool result;
5757 PyObject * obj0 = 0 ;
5758 char *kwnames[] = {
5759 (char *) "self",(char *) "edge", NULL
5760 };
5761
5762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetSashVisible",kwnames,&obj0,&arg2)) goto fail;
5763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5764 {
5765 PyThreadState* __tstate = wxPyBeginAllowThreads();
5766 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
5767
5768 wxPyEndAllowThreads(__tstate);
5769 if (PyErr_Occurred()) SWIG_fail;
5770 }
5771 resultobj = PyInt_FromLong((long)result);
5772 return resultobj;
5773 fail:
5774 return NULL;
5775 }
5776
5777
5778 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
5779 PyObject *resultobj;
5780 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5781 int arg2 ;
5782 bool arg3 ;
5783 PyObject * obj0 = 0 ;
5784 PyObject * obj2 = 0 ;
5785 char *kwnames[] = {
5786 (char *) "self",(char *) "edge",(char *) "border", NULL
5787 };
5788
5789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashBorder",kwnames,&obj0,&arg2,&obj2)) goto fail;
5790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5791 arg3 = PyInt_AsLong(obj2) ? true : false;
5792 if (PyErr_Occurred()) SWIG_fail;
5793 {
5794 PyThreadState* __tstate = wxPyBeginAllowThreads();
5795 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
5796
5797 wxPyEndAllowThreads(__tstate);
5798 if (PyErr_Occurred()) SWIG_fail;
5799 }
5800 Py_INCREF(Py_None); resultobj = Py_None;
5801 return resultobj;
5802 fail:
5803 return NULL;
5804 }
5805
5806
5807 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
5808 PyObject *resultobj;
5809 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5810 int arg2 ;
5811 bool result;
5812 PyObject * obj0 = 0 ;
5813 char *kwnames[] = {
5814 (char *) "self",(char *) "edge", NULL
5815 };
5816
5817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_HasBorder",kwnames,&obj0,&arg2)) goto fail;
5818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5819 {
5820 PyThreadState* __tstate = wxPyBeginAllowThreads();
5821 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
5822
5823 wxPyEndAllowThreads(__tstate);
5824 if (PyErr_Occurred()) SWIG_fail;
5825 }
5826 resultobj = PyInt_FromLong((long)result);
5827 return resultobj;
5828 fail:
5829 return NULL;
5830 }
5831
5832
5833 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
5834 PyObject *resultobj;
5835 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5836 int arg2 ;
5837 int result;
5838 PyObject * obj0 = 0 ;
5839 char *kwnames[] = {
5840 (char *) "self",(char *) "edge", NULL
5841 };
5842
5843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetEdgeMargin",kwnames,&obj0,&arg2)) goto fail;
5844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5845 {
5846 PyThreadState* __tstate = wxPyBeginAllowThreads();
5847 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
5848
5849 wxPyEndAllowThreads(__tstate);
5850 if (PyErr_Occurred()) SWIG_fail;
5851 }
5852 resultobj = PyInt_FromLong((long)result);
5853 return resultobj;
5854 fail:
5855 return NULL;
5856 }
5857
5858
5859 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5860 PyObject *resultobj;
5861 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5862 int arg2 ;
5863 PyObject * obj0 = 0 ;
5864 char *kwnames[] = {
5865 (char *) "self",(char *) "width", NULL
5866 };
5867
5868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&arg2)) goto fail;
5869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5870 {
5871 PyThreadState* __tstate = wxPyBeginAllowThreads();
5872 (arg1)->SetDefaultBorderSize(arg2);
5873
5874 wxPyEndAllowThreads(__tstate);
5875 if (PyErr_Occurred()) SWIG_fail;
5876 }
5877 Py_INCREF(Py_None); resultobj = Py_None;
5878 return resultobj;
5879 fail:
5880 return NULL;
5881 }
5882
5883
5884 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5885 PyObject *resultobj;
5886 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5887 int result;
5888 PyObject * obj0 = 0 ;
5889 char *kwnames[] = {
5890 (char *) "self", NULL
5891 };
5892
5893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
5894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5895 {
5896 PyThreadState* __tstate = wxPyBeginAllowThreads();
5897 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
5898
5899 wxPyEndAllowThreads(__tstate);
5900 if (PyErr_Occurred()) SWIG_fail;
5901 }
5902 resultobj = PyInt_FromLong((long)result);
5903 return resultobj;
5904 fail:
5905 return NULL;
5906 }
5907
5908
5909 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5910 PyObject *resultobj;
5911 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5912 int arg2 ;
5913 PyObject * obj0 = 0 ;
5914 char *kwnames[] = {
5915 (char *) "self",(char *) "width", NULL
5916 };
5917
5918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetExtraBorderSize",kwnames,&obj0,&arg2)) goto fail;
5919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5920 {
5921 PyThreadState* __tstate = wxPyBeginAllowThreads();
5922 (arg1)->SetExtraBorderSize(arg2);
5923
5924 wxPyEndAllowThreads(__tstate);
5925 if (PyErr_Occurred()) SWIG_fail;
5926 }
5927 Py_INCREF(Py_None); resultobj = Py_None;
5928 return resultobj;
5929 fail:
5930 return NULL;
5931 }
5932
5933
5934 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5935 PyObject *resultobj;
5936 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5937 int result;
5938 PyObject * obj0 = 0 ;
5939 char *kwnames[] = {
5940 (char *) "self", NULL
5941 };
5942
5943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
5944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5945 {
5946 PyThreadState* __tstate = wxPyBeginAllowThreads();
5947 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
5948
5949 wxPyEndAllowThreads(__tstate);
5950 if (PyErr_Occurred()) SWIG_fail;
5951 }
5952 resultobj = PyInt_FromLong((long)result);
5953 return resultobj;
5954 fail:
5955 return NULL;
5956 }
5957
5958
5959 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
5960 PyObject *resultobj;
5961 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5962 int arg2 ;
5963 PyObject * obj0 = 0 ;
5964 char *kwnames[] = {
5965 (char *) "self",(char *) "min", NULL
5966 };
5967
5968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeX",kwnames,&obj0,&arg2)) goto fail;
5969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5970 {
5971 PyThreadState* __tstate = wxPyBeginAllowThreads();
5972 (arg1)->SetMinimumSizeX(arg2);
5973
5974 wxPyEndAllowThreads(__tstate);
5975 if (PyErr_Occurred()) SWIG_fail;
5976 }
5977 Py_INCREF(Py_None); resultobj = Py_None;
5978 return resultobj;
5979 fail:
5980 return NULL;
5981 }
5982
5983
5984 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
5985 PyObject *resultobj;
5986 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5987 int arg2 ;
5988 PyObject * obj0 = 0 ;
5989 char *kwnames[] = {
5990 (char *) "self",(char *) "min", NULL
5991 };
5992
5993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeY",kwnames,&obj0,&arg2)) goto fail;
5994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5995 {
5996 PyThreadState* __tstate = wxPyBeginAllowThreads();
5997 (arg1)->SetMinimumSizeY(arg2);
5998
5999 wxPyEndAllowThreads(__tstate);
6000 if (PyErr_Occurred()) SWIG_fail;
6001 }
6002 Py_INCREF(Py_None); resultobj = Py_None;
6003 return resultobj;
6004 fail:
6005 return NULL;
6006 }
6007
6008
6009 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6010 PyObject *resultobj;
6011 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6012 int result;
6013 PyObject * obj0 = 0 ;
6014 char *kwnames[] = {
6015 (char *) "self", NULL
6016 };
6017
6018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
6019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6020 {
6021 PyThreadState* __tstate = wxPyBeginAllowThreads();
6022 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
6023
6024 wxPyEndAllowThreads(__tstate);
6025 if (PyErr_Occurred()) SWIG_fail;
6026 }
6027 resultobj = PyInt_FromLong((long)result);
6028 return resultobj;
6029 fail:
6030 return NULL;
6031 }
6032
6033
6034 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6035 PyObject *resultobj;
6036 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6037 int result;
6038 PyObject * obj0 = 0 ;
6039 char *kwnames[] = {
6040 (char *) "self", NULL
6041 };
6042
6043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
6044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6045 {
6046 PyThreadState* __tstate = wxPyBeginAllowThreads();
6047 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
6048
6049 wxPyEndAllowThreads(__tstate);
6050 if (PyErr_Occurred()) SWIG_fail;
6051 }
6052 resultobj = PyInt_FromLong((long)result);
6053 return resultobj;
6054 fail:
6055 return NULL;
6056 }
6057
6058
6059 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6060 PyObject *resultobj;
6061 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6062 int arg2 ;
6063 PyObject * obj0 = 0 ;
6064 char *kwnames[] = {
6065 (char *) "self",(char *) "max", NULL
6066 };
6067
6068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeX",kwnames,&obj0,&arg2)) goto fail;
6069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6070 {
6071 PyThreadState* __tstate = wxPyBeginAllowThreads();
6072 (arg1)->SetMaximumSizeX(arg2);
6073
6074 wxPyEndAllowThreads(__tstate);
6075 if (PyErr_Occurred()) SWIG_fail;
6076 }
6077 Py_INCREF(Py_None); resultobj = Py_None;
6078 return resultobj;
6079 fail:
6080 return NULL;
6081 }
6082
6083
6084 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6085 PyObject *resultobj;
6086 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6087 int arg2 ;
6088 PyObject * obj0 = 0 ;
6089 char *kwnames[] = {
6090 (char *) "self",(char *) "max", NULL
6091 };
6092
6093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeY",kwnames,&obj0,&arg2)) goto fail;
6094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6095 {
6096 PyThreadState* __tstate = wxPyBeginAllowThreads();
6097 (arg1)->SetMaximumSizeY(arg2);
6098
6099 wxPyEndAllowThreads(__tstate);
6100 if (PyErr_Occurred()) SWIG_fail;
6101 }
6102 Py_INCREF(Py_None); resultobj = Py_None;
6103 return resultobj;
6104 fail:
6105 return NULL;
6106 }
6107
6108
6109 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6110 PyObject *resultobj;
6111 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6112 int result;
6113 PyObject * obj0 = 0 ;
6114 char *kwnames[] = {
6115 (char *) "self", NULL
6116 };
6117
6118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
6119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6120 {
6121 PyThreadState* __tstate = wxPyBeginAllowThreads();
6122 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
6123
6124 wxPyEndAllowThreads(__tstate);
6125 if (PyErr_Occurred()) SWIG_fail;
6126 }
6127 resultobj = PyInt_FromLong((long)result);
6128 return resultobj;
6129 fail:
6130 return NULL;
6131 }
6132
6133
6134 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6135 PyObject *resultobj;
6136 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6137 int result;
6138 PyObject * obj0 = 0 ;
6139 char *kwnames[] = {
6140 (char *) "self", NULL
6141 };
6142
6143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
6144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6145 {
6146 PyThreadState* __tstate = wxPyBeginAllowThreads();
6147 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
6148
6149 wxPyEndAllowThreads(__tstate);
6150 if (PyErr_Occurred()) SWIG_fail;
6151 }
6152 resultobj = PyInt_FromLong((long)result);
6153 return resultobj;
6154 fail:
6155 return NULL;
6156 }
6157
6158
6159 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6160 PyObject *resultobj;
6161 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6162 int arg2 ;
6163 int arg3 ;
6164 int arg4 = (int) 2 ;
6165 int result;
6166 PyObject * obj0 = 0 ;
6167 char *kwnames[] = {
6168 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6169 };
6170
6171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SashWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
6172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6173 {
6174 PyThreadState* __tstate = wxPyBeginAllowThreads();
6175 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
6176
6177 wxPyEndAllowThreads(__tstate);
6178 if (PyErr_Occurred()) SWIG_fail;
6179 }
6180 resultobj = PyInt_FromLong((long)result);
6181 return resultobj;
6182 fail:
6183 return NULL;
6184 }
6185
6186
6187 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6188 PyObject *resultobj;
6189 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6190 PyObject * obj0 = 0 ;
6191 char *kwnames[] = {
6192 (char *) "self", NULL
6193 };
6194
6195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
6196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6197 {
6198 PyThreadState* __tstate = wxPyBeginAllowThreads();
6199 (arg1)->SizeWindows();
6200
6201 wxPyEndAllowThreads(__tstate);
6202 if (PyErr_Occurred()) SWIG_fail;
6203 }
6204 Py_INCREF(Py_None); resultobj = Py_None;
6205 return resultobj;
6206 fail:
6207 return NULL;
6208 }
6209
6210
6211 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
6212 PyObject *obj;
6213 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6214 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
6215 Py_INCREF(obj);
6216 return Py_BuildValue((char *)"");
6217 }
6218 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6219 PyObject *resultobj;
6220 int arg1 = (int) 0 ;
6221 int arg2 = (int) wxSASH_NONE ;
6222 wxSashEvent *result;
6223 char *kwnames[] = {
6224 (char *) "id",(char *) "edge", NULL
6225 };
6226
6227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_SashEvent",kwnames,&arg1,&arg2)) goto fail;
6228 {
6229 PyThreadState* __tstate = wxPyBeginAllowThreads();
6230 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
6231
6232 wxPyEndAllowThreads(__tstate);
6233 if (PyErr_Occurred()) SWIG_fail;
6234 }
6235 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashEvent, 1);
6236 return resultobj;
6237 fail:
6238 return NULL;
6239 }
6240
6241
6242 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6243 PyObject *resultobj;
6244 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6245 int arg2 ;
6246 PyObject * obj0 = 0 ;
6247 char *kwnames[] = {
6248 (char *) "self",(char *) "edge", NULL
6249 };
6250
6251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetEdge",kwnames,&obj0,&arg2)) goto fail;
6252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6253 {
6254 PyThreadState* __tstate = wxPyBeginAllowThreads();
6255 (arg1)->SetEdge((wxSashEdgePosition )arg2);
6256
6257 wxPyEndAllowThreads(__tstate);
6258 if (PyErr_Occurred()) SWIG_fail;
6259 }
6260 Py_INCREF(Py_None); resultobj = Py_None;
6261 return resultobj;
6262 fail:
6263 return NULL;
6264 }
6265
6266
6267 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6268 PyObject *resultobj;
6269 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6270 int result;
6271 PyObject * obj0 = 0 ;
6272 char *kwnames[] = {
6273 (char *) "self", NULL
6274 };
6275
6276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
6277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6278 {
6279 PyThreadState* __tstate = wxPyBeginAllowThreads();
6280 result = (int)((wxSashEvent const *)arg1)->GetEdge();
6281
6282 wxPyEndAllowThreads(__tstate);
6283 if (PyErr_Occurred()) SWIG_fail;
6284 }
6285 resultobj = PyInt_FromLong((long)result);
6286 return resultobj;
6287 fail:
6288 return NULL;
6289 }
6290
6291
6292 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6293 PyObject *resultobj;
6294 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6295 wxRect *arg2 = 0 ;
6296 wxRect temp2 ;
6297 PyObject * obj0 = 0 ;
6298 PyObject * obj1 = 0 ;
6299 char *kwnames[] = {
6300 (char *) "self",(char *) "rect", NULL
6301 };
6302
6303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
6304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6305 {
6306 arg2 = &temp2;
6307 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6308 }
6309 {
6310 PyThreadState* __tstate = wxPyBeginAllowThreads();
6311 (arg1)->SetDragRect((wxRect const &)*arg2);
6312
6313 wxPyEndAllowThreads(__tstate);
6314 if (PyErr_Occurred()) SWIG_fail;
6315 }
6316 Py_INCREF(Py_None); resultobj = Py_None;
6317 return resultobj;
6318 fail:
6319 return NULL;
6320 }
6321
6322
6323 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6324 PyObject *resultobj;
6325 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6326 wxRect result;
6327 PyObject * obj0 = 0 ;
6328 char *kwnames[] = {
6329 (char *) "self", NULL
6330 };
6331
6332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
6333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6334 {
6335 PyThreadState* __tstate = wxPyBeginAllowThreads();
6336 result = ((wxSashEvent const *)arg1)->GetDragRect();
6337
6338 wxPyEndAllowThreads(__tstate);
6339 if (PyErr_Occurred()) SWIG_fail;
6340 }
6341 {
6342 wxRect * resultptr;
6343 resultptr = new wxRect((wxRect &) result);
6344 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
6345 }
6346 return resultobj;
6347 fail:
6348 return NULL;
6349 }
6350
6351
6352 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6353 PyObject *resultobj;
6354 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6355 int arg2 ;
6356 PyObject * obj0 = 0 ;
6357 char *kwnames[] = {
6358 (char *) "self",(char *) "status", NULL
6359 };
6360
6361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetDragStatus",kwnames,&obj0,&arg2)) goto fail;
6362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6363 {
6364 PyThreadState* __tstate = wxPyBeginAllowThreads();
6365 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
6366
6367 wxPyEndAllowThreads(__tstate);
6368 if (PyErr_Occurred()) SWIG_fail;
6369 }
6370 Py_INCREF(Py_None); resultobj = Py_None;
6371 return resultobj;
6372 fail:
6373 return NULL;
6374 }
6375
6376
6377 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6378 PyObject *resultobj;
6379 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6380 int result;
6381 PyObject * obj0 = 0 ;
6382 char *kwnames[] = {
6383 (char *) "self", NULL
6384 };
6385
6386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
6387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6388 {
6389 PyThreadState* __tstate = wxPyBeginAllowThreads();
6390 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
6391
6392 wxPyEndAllowThreads(__tstate);
6393 if (PyErr_Occurred()) SWIG_fail;
6394 }
6395 resultobj = PyInt_FromLong((long)result);
6396 return resultobj;
6397 fail:
6398 return NULL;
6399 }
6400
6401
6402 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
6403 PyObject *obj;
6404 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6405 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
6406 Py_INCREF(obj);
6407 return Py_BuildValue((char *)"");
6408 }
6409 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6410 PyObject *resultobj;
6411 int arg1 = (int) 0 ;
6412 wxQueryLayoutInfoEvent *result;
6413 char *kwnames[] = {
6414 (char *) "id", NULL
6415 };
6416
6417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_QueryLayoutInfoEvent",kwnames,&arg1)) goto fail;
6418 {
6419 PyThreadState* __tstate = wxPyBeginAllowThreads();
6420 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
6421
6422 wxPyEndAllowThreads(__tstate);
6423 if (PyErr_Occurred()) SWIG_fail;
6424 }
6425 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
6426 return resultobj;
6427 fail:
6428 return NULL;
6429 }
6430
6431
6432 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6433 PyObject *resultobj;
6434 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6435 int arg2 ;
6436 PyObject * obj0 = 0 ;
6437 char *kwnames[] = {
6438 (char *) "self",(char *) "length", NULL
6439 };
6440
6441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&arg2)) goto fail;
6442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6443 {
6444 PyThreadState* __tstate = wxPyBeginAllowThreads();
6445 (arg1)->SetRequestedLength(arg2);
6446
6447 wxPyEndAllowThreads(__tstate);
6448 if (PyErr_Occurred()) SWIG_fail;
6449 }
6450 Py_INCREF(Py_None); resultobj = Py_None;
6451 return resultobj;
6452 fail:
6453 return NULL;
6454 }
6455
6456
6457 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6458 PyObject *resultobj;
6459 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6460 int result;
6461 PyObject * obj0 = 0 ;
6462 char *kwnames[] = {
6463 (char *) "self", NULL
6464 };
6465
6466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
6467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6468 {
6469 PyThreadState* __tstate = wxPyBeginAllowThreads();
6470 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
6471
6472 wxPyEndAllowThreads(__tstate);
6473 if (PyErr_Occurred()) SWIG_fail;
6474 }
6475 resultobj = PyInt_FromLong((long)result);
6476 return resultobj;
6477 fail:
6478 return NULL;
6479 }
6480
6481
6482 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6483 PyObject *resultobj;
6484 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6485 int arg2 ;
6486 PyObject * obj0 = 0 ;
6487 char *kwnames[] = {
6488 (char *) "self",(char *) "flags", NULL
6489 };
6490
6491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6493 {
6494 PyThreadState* __tstate = wxPyBeginAllowThreads();
6495 (arg1)->SetFlags(arg2);
6496
6497 wxPyEndAllowThreads(__tstate);
6498 if (PyErr_Occurred()) SWIG_fail;
6499 }
6500 Py_INCREF(Py_None); resultobj = Py_None;
6501 return resultobj;
6502 fail:
6503 return NULL;
6504 }
6505
6506
6507 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6508 PyObject *resultobj;
6509 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6510 int result;
6511 PyObject * obj0 = 0 ;
6512 char *kwnames[] = {
6513 (char *) "self", NULL
6514 };
6515
6516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
6517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6518 {
6519 PyThreadState* __tstate = wxPyBeginAllowThreads();
6520 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
6521
6522 wxPyEndAllowThreads(__tstate);
6523 if (PyErr_Occurred()) SWIG_fail;
6524 }
6525 resultobj = PyInt_FromLong((long)result);
6526 return resultobj;
6527 fail:
6528 return NULL;
6529 }
6530
6531
6532 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6533 PyObject *resultobj;
6534 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6535 wxSize *arg2 = 0 ;
6536 wxSize temp2 ;
6537 PyObject * obj0 = 0 ;
6538 PyObject * obj1 = 0 ;
6539 char *kwnames[] = {
6540 (char *) "self",(char *) "size", NULL
6541 };
6542
6543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
6544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6545 {
6546 arg2 = &temp2;
6547 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
6548 }
6549 {
6550 PyThreadState* __tstate = wxPyBeginAllowThreads();
6551 (arg1)->SetSize((wxSize const &)*arg2);
6552
6553 wxPyEndAllowThreads(__tstate);
6554 if (PyErr_Occurred()) SWIG_fail;
6555 }
6556 Py_INCREF(Py_None); resultobj = Py_None;
6557 return resultobj;
6558 fail:
6559 return NULL;
6560 }
6561
6562
6563 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6564 PyObject *resultobj;
6565 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6566 wxSize result;
6567 PyObject * obj0 = 0 ;
6568 char *kwnames[] = {
6569 (char *) "self", NULL
6570 };
6571
6572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
6573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6574 {
6575 PyThreadState* __tstate = wxPyBeginAllowThreads();
6576 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
6577
6578 wxPyEndAllowThreads(__tstate);
6579 if (PyErr_Occurred()) SWIG_fail;
6580 }
6581 {
6582 wxSize * resultptr;
6583 resultptr = new wxSize((wxSize &) result);
6584 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
6585 }
6586 return resultobj;
6587 fail:
6588 return NULL;
6589 }
6590
6591
6592 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6593 PyObject *resultobj;
6594 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6595 int arg2 ;
6596 PyObject * obj0 = 0 ;
6597 char *kwnames[] = {
6598 (char *) "self",(char *) "orient", NULL
6599 };
6600
6601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
6602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6603 {
6604 PyThreadState* __tstate = wxPyBeginAllowThreads();
6605 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
6606
6607 wxPyEndAllowThreads(__tstate);
6608 if (PyErr_Occurred()) SWIG_fail;
6609 }
6610 Py_INCREF(Py_None); resultobj = Py_None;
6611 return resultobj;
6612 fail:
6613 return NULL;
6614 }
6615
6616
6617 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6618 PyObject *resultobj;
6619 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6620 int result;
6621 PyObject * obj0 = 0 ;
6622 char *kwnames[] = {
6623 (char *) "self", NULL
6624 };
6625
6626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
6627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6628 {
6629 PyThreadState* __tstate = wxPyBeginAllowThreads();
6630 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
6631
6632 wxPyEndAllowThreads(__tstate);
6633 if (PyErr_Occurred()) SWIG_fail;
6634 }
6635 resultobj = PyInt_FromLong((long)result);
6636 return resultobj;
6637 fail:
6638 return NULL;
6639 }
6640
6641
6642 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6643 PyObject *resultobj;
6644 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6645 int arg2 ;
6646 PyObject * obj0 = 0 ;
6647 char *kwnames[] = {
6648 (char *) "self",(char *) "align", NULL
6649 };
6650
6651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
6652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6653 {
6654 PyThreadState* __tstate = wxPyBeginAllowThreads();
6655 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
6656
6657 wxPyEndAllowThreads(__tstate);
6658 if (PyErr_Occurred()) SWIG_fail;
6659 }
6660 Py_INCREF(Py_None); resultobj = Py_None;
6661 return resultobj;
6662 fail:
6663 return NULL;
6664 }
6665
6666
6667 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6668 PyObject *resultobj;
6669 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6670 int result;
6671 PyObject * obj0 = 0 ;
6672 char *kwnames[] = {
6673 (char *) "self", NULL
6674 };
6675
6676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
6677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6678 {
6679 PyThreadState* __tstate = wxPyBeginAllowThreads();
6680 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
6681
6682 wxPyEndAllowThreads(__tstate);
6683 if (PyErr_Occurred()) SWIG_fail;
6684 }
6685 resultobj = PyInt_FromLong((long)result);
6686 return resultobj;
6687 fail:
6688 return NULL;
6689 }
6690
6691
6692 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
6693 PyObject *obj;
6694 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6695 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
6696 Py_INCREF(obj);
6697 return Py_BuildValue((char *)"");
6698 }
6699 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6700 PyObject *resultobj;
6701 int arg1 = (int) 0 ;
6702 wxCalculateLayoutEvent *result;
6703 char *kwnames[] = {
6704 (char *) "id", NULL
6705 };
6706
6707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_CalculateLayoutEvent",kwnames,&arg1)) goto fail;
6708 {
6709 PyThreadState* __tstate = wxPyBeginAllowThreads();
6710 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
6711
6712 wxPyEndAllowThreads(__tstate);
6713 if (PyErr_Occurred()) SWIG_fail;
6714 }
6715 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCalculateLayoutEvent, 1);
6716 return resultobj;
6717 fail:
6718 return NULL;
6719 }
6720
6721
6722 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6723 PyObject *resultobj;
6724 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6725 int arg2 ;
6726 PyObject * obj0 = 0 ;
6727 char *kwnames[] = {
6728 (char *) "self",(char *) "flags", NULL
6729 };
6730
6731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6733 {
6734 PyThreadState* __tstate = wxPyBeginAllowThreads();
6735 (arg1)->SetFlags(arg2);
6736
6737 wxPyEndAllowThreads(__tstate);
6738 if (PyErr_Occurred()) SWIG_fail;
6739 }
6740 Py_INCREF(Py_None); resultobj = Py_None;
6741 return resultobj;
6742 fail:
6743 return NULL;
6744 }
6745
6746
6747 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6748 PyObject *resultobj;
6749 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6750 int result;
6751 PyObject * obj0 = 0 ;
6752 char *kwnames[] = {
6753 (char *) "self", NULL
6754 };
6755
6756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
6757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6758 {
6759 PyThreadState* __tstate = wxPyBeginAllowThreads();
6760 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
6761
6762 wxPyEndAllowThreads(__tstate);
6763 if (PyErr_Occurred()) SWIG_fail;
6764 }
6765 resultobj = PyInt_FromLong((long)result);
6766 return resultobj;
6767 fail:
6768 return NULL;
6769 }
6770
6771
6772 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6773 PyObject *resultobj;
6774 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6775 wxRect *arg2 = 0 ;
6776 wxRect temp2 ;
6777 PyObject * obj0 = 0 ;
6778 PyObject * obj1 = 0 ;
6779 char *kwnames[] = {
6780 (char *) "self",(char *) "rect", NULL
6781 };
6782
6783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
6784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6785 {
6786 arg2 = &temp2;
6787 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6788 }
6789 {
6790 PyThreadState* __tstate = wxPyBeginAllowThreads();
6791 (arg1)->SetRect((wxRect const &)*arg2);
6792
6793 wxPyEndAllowThreads(__tstate);
6794 if (PyErr_Occurred()) SWIG_fail;
6795 }
6796 Py_INCREF(Py_None); resultobj = Py_None;
6797 return resultobj;
6798 fail:
6799 return NULL;
6800 }
6801
6802
6803 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6804 PyObject *resultobj;
6805 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6806 wxRect result;
6807 PyObject * obj0 = 0 ;
6808 char *kwnames[] = {
6809 (char *) "self", NULL
6810 };
6811
6812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
6813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6814 {
6815 PyThreadState* __tstate = wxPyBeginAllowThreads();
6816 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
6817
6818 wxPyEndAllowThreads(__tstate);
6819 if (PyErr_Occurred()) SWIG_fail;
6820 }
6821 {
6822 wxRect * resultptr;
6823 resultptr = new wxRect((wxRect &) result);
6824 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
6825 }
6826 return resultobj;
6827 fail:
6828 return NULL;
6829 }
6830
6831
6832 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
6833 PyObject *obj;
6834 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6835 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
6836 Py_INCREF(obj);
6837 return Py_BuildValue((char *)"");
6838 }
6839 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6840 PyObject *resultobj;
6841 wxWindow *arg1 = (wxWindow *) 0 ;
6842 int arg2 ;
6843 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6844 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6845 wxSize const &arg4_defvalue = wxDefaultSize ;
6846 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6847 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6848 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
6849 wxString *arg6 = (wxString *) &arg6_defvalue ;
6850 wxSashLayoutWindow *result;
6851 wxPoint temp3 ;
6852 wxSize temp4 ;
6853 bool temp6 = False ;
6854 PyObject * obj0 = 0 ;
6855 PyObject * obj2 = 0 ;
6856 PyObject * obj3 = 0 ;
6857 PyObject * obj5 = 0 ;
6858 char *kwnames[] = {
6859 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6860 };
6861
6862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashLayoutWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
6863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6864 if (obj2) {
6865 {
6866 arg3 = &temp3;
6867 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6868 }
6869 }
6870 if (obj3) {
6871 {
6872 arg4 = &temp4;
6873 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6874 }
6875 }
6876 if (obj5) {
6877 {
6878 arg6 = wxString_in_helper(obj5);
6879 if (arg6 == NULL) SWIG_fail;
6880 temp6 = True;
6881 }
6882 }
6883 {
6884 PyThreadState* __tstate = wxPyBeginAllowThreads();
6885 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6886
6887 wxPyEndAllowThreads(__tstate);
6888 if (PyErr_Occurred()) SWIG_fail;
6889 }
6890 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
6891 {
6892 if (temp6)
6893 delete arg6;
6894 }
6895 return resultobj;
6896 fail:
6897 {
6898 if (temp6)
6899 delete arg6;
6900 }
6901 return NULL;
6902 }
6903
6904
6905 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6906 PyObject *resultobj;
6907 wxSashLayoutWindow *result;
6908 char *kwnames[] = {
6909 NULL
6910 };
6911
6912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
6913 {
6914 PyThreadState* __tstate = wxPyBeginAllowThreads();
6915 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
6916
6917 wxPyEndAllowThreads(__tstate);
6918 if (PyErr_Occurred()) SWIG_fail;
6919 }
6920 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
6921 return resultobj;
6922 fail:
6923 return NULL;
6924 }
6925
6926
6927 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6928 PyObject *resultobj;
6929 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
6930 wxWindow *arg2 = (wxWindow *) 0 ;
6931 int arg3 ;
6932 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6933 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6934 wxSize const &arg5_defvalue = wxDefaultSize ;
6935 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6936 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6937 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
6938 wxString *arg7 = (wxString *) &arg7_defvalue ;
6939 bool result;
6940 wxPoint temp4 ;
6941 wxSize temp5 ;
6942 bool temp7 = False ;
6943 PyObject * obj0 = 0 ;
6944 PyObject * obj1 = 0 ;
6945 PyObject * obj3 = 0 ;
6946 PyObject * obj4 = 0 ;
6947 PyObject * obj6 = 0 ;
6948 char *kwnames[] = {
6949 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6950 };
6951
6952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
6953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6954 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6955 if (obj3) {
6956 {
6957 arg4 = &temp4;
6958 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6959 }
6960 }
6961 if (obj4) {
6962 {
6963 arg5 = &temp5;
6964 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6965 }
6966 }
6967 if (obj6) {
6968 {
6969 arg7 = wxString_in_helper(obj6);
6970 if (arg7 == NULL) SWIG_fail;
6971 temp7 = True;
6972 }
6973 }
6974 {
6975 PyThreadState* __tstate = wxPyBeginAllowThreads();
6976 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6977
6978 wxPyEndAllowThreads(__tstate);
6979 if (PyErr_Occurred()) SWIG_fail;
6980 }
6981 resultobj = PyInt_FromLong((long)result);
6982 {
6983 if (temp7)
6984 delete arg7;
6985 }
6986 return resultobj;
6987 fail:
6988 {
6989 if (temp7)
6990 delete arg7;
6991 }
6992 return NULL;
6993 }
6994
6995
6996 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6997 PyObject *resultobj;
6998 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
6999 int result;
7000 PyObject * obj0 = 0 ;
7001 char *kwnames[] = {
7002 (char *) "self", NULL
7003 };
7004
7005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
7006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7007 {
7008 PyThreadState* __tstate = wxPyBeginAllowThreads();
7009 result = (int)(arg1)->GetAlignment();
7010
7011 wxPyEndAllowThreads(__tstate);
7012 if (PyErr_Occurred()) SWIG_fail;
7013 }
7014 resultobj = PyInt_FromLong((long)result);
7015 return resultobj;
7016 fail:
7017 return NULL;
7018 }
7019
7020
7021 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7022 PyObject *resultobj;
7023 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7024 int result;
7025 PyObject * obj0 = 0 ;
7026 char *kwnames[] = {
7027 (char *) "self", NULL
7028 };
7029
7030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
7031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7032 {
7033 PyThreadState* __tstate = wxPyBeginAllowThreads();
7034 result = (int)(arg1)->GetOrientation();
7035
7036 wxPyEndAllowThreads(__tstate);
7037 if (PyErr_Occurred()) SWIG_fail;
7038 }
7039 resultobj = PyInt_FromLong((long)result);
7040 return resultobj;
7041 fail:
7042 return NULL;
7043 }
7044
7045
7046 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7047 PyObject *resultobj;
7048 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7049 int arg2 ;
7050 PyObject * obj0 = 0 ;
7051 char *kwnames[] = {
7052 (char *) "self",(char *) "alignment", NULL
7053 };
7054
7055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
7056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7057 {
7058 PyThreadState* __tstate = wxPyBeginAllowThreads();
7059 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7060
7061 wxPyEndAllowThreads(__tstate);
7062 if (PyErr_Occurred()) SWIG_fail;
7063 }
7064 Py_INCREF(Py_None); resultobj = Py_None;
7065 return resultobj;
7066 fail:
7067 return NULL;
7068 }
7069
7070
7071 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7072 PyObject *resultobj;
7073 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7074 wxSize *arg2 = 0 ;
7075 wxSize temp2 ;
7076 PyObject * obj0 = 0 ;
7077 PyObject * obj1 = 0 ;
7078 char *kwnames[] = {
7079 (char *) "self",(char *) "size", NULL
7080 };
7081
7082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
7083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7084 {
7085 arg2 = &temp2;
7086 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7087 }
7088 {
7089 PyThreadState* __tstate = wxPyBeginAllowThreads();
7090 (arg1)->SetDefaultSize((wxSize const &)*arg2);
7091
7092 wxPyEndAllowThreads(__tstate);
7093 if (PyErr_Occurred()) SWIG_fail;
7094 }
7095 Py_INCREF(Py_None); resultobj = Py_None;
7096 return resultobj;
7097 fail:
7098 return NULL;
7099 }
7100
7101
7102 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7103 PyObject *resultobj;
7104 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7105 int arg2 ;
7106 PyObject * obj0 = 0 ;
7107 char *kwnames[] = {
7108 (char *) "self",(char *) "orientation", NULL
7109 };
7110
7111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
7112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7113 {
7114 PyThreadState* __tstate = wxPyBeginAllowThreads();
7115 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7116
7117 wxPyEndAllowThreads(__tstate);
7118 if (PyErr_Occurred()) SWIG_fail;
7119 }
7120 Py_INCREF(Py_None); resultobj = Py_None;
7121 return resultobj;
7122 fail:
7123 return NULL;
7124 }
7125
7126
7127 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
7128 PyObject *obj;
7129 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7130 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
7131 Py_INCREF(obj);
7132 return Py_BuildValue((char *)"");
7133 }
7134 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7135 PyObject *resultobj;
7136 wxLayoutAlgorithm *result;
7137 char *kwnames[] = {
7138 NULL
7139 };
7140
7141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
7142 {
7143 PyThreadState* __tstate = wxPyBeginAllowThreads();
7144 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
7145
7146 wxPyEndAllowThreads(__tstate);
7147 if (PyErr_Occurred()) SWIG_fail;
7148 }
7149 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutAlgorithm, 1);
7150 return resultobj;
7151 fail:
7152 return NULL;
7153 }
7154
7155
7156 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7157 PyObject *resultobj;
7158 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7159 PyObject * obj0 = 0 ;
7160 char *kwnames[] = {
7161 (char *) "self", NULL
7162 };
7163
7164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
7165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7166 {
7167 PyThreadState* __tstate = wxPyBeginAllowThreads();
7168 delete arg1;
7169
7170 wxPyEndAllowThreads(__tstate);
7171 if (PyErr_Occurred()) SWIG_fail;
7172 }
7173 Py_INCREF(Py_None); resultobj = Py_None;
7174 return resultobj;
7175 fail:
7176 return NULL;
7177 }
7178
7179
7180 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7181 PyObject *resultobj;
7182 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7183 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
7184 wxRect *arg3 = (wxRect *) NULL ;
7185 bool result;
7186 PyObject * obj0 = 0 ;
7187 PyObject * obj1 = 0 ;
7188 PyObject * obj2 = 0 ;
7189 char *kwnames[] = {
7190 (char *) "self",(char *) "frame",(char *) "rect", NULL
7191 };
7192
7193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7195 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7196 if (obj2) {
7197 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7198 }
7199 {
7200 PyThreadState* __tstate = wxPyBeginAllowThreads();
7201 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
7202
7203 wxPyEndAllowThreads(__tstate);
7204 if (PyErr_Occurred()) SWIG_fail;
7205 }
7206 resultobj = PyInt_FromLong((long)result);
7207 return resultobj;
7208 fail:
7209 return NULL;
7210 }
7211
7212
7213 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7214 PyObject *resultobj;
7215 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7216 wxFrame *arg2 = (wxFrame *) 0 ;
7217 wxWindow *arg3 = (wxWindow *) NULL ;
7218 bool result;
7219 PyObject * obj0 = 0 ;
7220 PyObject * obj1 = 0 ;
7221 PyObject * obj2 = 0 ;
7222 char *kwnames[] = {
7223 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
7224 };
7225
7226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7228 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7229 if (obj2) {
7230 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7231 }
7232 {
7233 PyThreadState* __tstate = wxPyBeginAllowThreads();
7234 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
7235
7236 wxPyEndAllowThreads(__tstate);
7237 if (PyErr_Occurred()) SWIG_fail;
7238 }
7239 resultobj = PyInt_FromLong((long)result);
7240 return resultobj;
7241 fail:
7242 return NULL;
7243 }
7244
7245
7246 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7247 PyObject *resultobj;
7248 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7249 wxWindow *arg2 = (wxWindow *) 0 ;
7250 wxWindow *arg3 = (wxWindow *) NULL ;
7251 bool result;
7252 PyObject * obj0 = 0 ;
7253 PyObject * obj1 = 0 ;
7254 PyObject * obj2 = 0 ;
7255 char *kwnames[] = {
7256 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
7257 };
7258
7259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
7260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7261 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7262 if (obj2) {
7263 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7264 }
7265 {
7266 PyThreadState* __tstate = wxPyBeginAllowThreads();
7267 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
7268
7269 wxPyEndAllowThreads(__tstate);
7270 if (PyErr_Occurred()) SWIG_fail;
7271 }
7272 resultobj = PyInt_FromLong((long)result);
7273 return resultobj;
7274 fail:
7275 return NULL;
7276 }
7277
7278
7279 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
7280 PyObject *obj;
7281 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7282 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
7283 Py_INCREF(obj);
7284 return Py_BuildValue((char *)"");
7285 }
7286 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7287 PyObject *resultobj;
7288 wxWindow *arg1 = (wxWindow *) 0 ;
7289 int arg2 = (int) wxBORDER_NONE ;
7290 wxPopupWindow *result;
7291 PyObject * obj0 = 0 ;
7292 char *kwnames[] = {
7293 (char *) "parent",(char *) "flags", NULL
7294 };
7295
7296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupWindow",kwnames,&obj0,&arg2)) goto fail;
7297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7298 {
7299 PyThreadState* __tstate = wxPyBeginAllowThreads();
7300 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
7301
7302 wxPyEndAllowThreads(__tstate);
7303 if (PyErr_Occurred()) SWIG_fail;
7304 }
7305 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7306 return resultobj;
7307 fail:
7308 return NULL;
7309 }
7310
7311
7312 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7313 PyObject *resultobj;
7314 wxPopupWindow *result;
7315 char *kwnames[] = {
7316 NULL
7317 };
7318
7319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
7320 {
7321 PyThreadState* __tstate = wxPyBeginAllowThreads();
7322 result = (wxPopupWindow *)new wxPopupWindow();
7323
7324 wxPyEndAllowThreads(__tstate);
7325 if (PyErr_Occurred()) SWIG_fail;
7326 }
7327 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7328 return resultobj;
7329 fail:
7330 return NULL;
7331 }
7332
7333
7334 static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7335 PyObject *resultobj;
7336 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
7337 wxWindow *arg2 = (wxWindow *) 0 ;
7338 int arg3 = (int) wxBORDER_NONE ;
7339 bool result;
7340 PyObject * obj0 = 0 ;
7341 PyObject * obj1 = 0 ;
7342 char *kwnames[] = {
7343 (char *) "self",(char *) "parent",(char *) "flags", NULL
7344 };
7345
7346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:PopupWindow_Create",kwnames,&obj0,&obj1,&arg3)) goto fail;
7347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7348 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7349 {
7350 PyThreadState* __tstate = wxPyBeginAllowThreads();
7351 result = (bool)(arg1)->Create(arg2,arg3);
7352
7353 wxPyEndAllowThreads(__tstate);
7354 if (PyErr_Occurred()) SWIG_fail;
7355 }
7356 resultobj = PyInt_FromLong((long)result);
7357 return resultobj;
7358 fail:
7359 return NULL;
7360 }
7361
7362
7363 static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
7364 PyObject *resultobj;
7365 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
7366 wxPoint *arg2 = 0 ;
7367 wxSize *arg3 = 0 ;
7368 wxPoint temp2 ;
7369 wxSize temp3 ;
7370 PyObject * obj0 = 0 ;
7371 PyObject * obj1 = 0 ;
7372 PyObject * obj2 = 0 ;
7373 char *kwnames[] = {
7374 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
7375 };
7376
7377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
7378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7379 {
7380 arg2 = &temp2;
7381 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7382 }
7383 {
7384 arg3 = &temp3;
7385 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
7386 }
7387 {
7388 PyThreadState* __tstate = wxPyBeginAllowThreads();
7389 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
7390
7391 wxPyEndAllowThreads(__tstate);
7392 if (PyErr_Occurred()) SWIG_fail;
7393 }
7394 Py_INCREF(Py_None); resultobj = Py_None;
7395 return resultobj;
7396 fail:
7397 return NULL;
7398 }
7399
7400
7401 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
7402 PyObject *obj;
7403 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7404 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
7405 Py_INCREF(obj);
7406 return Py_BuildValue((char *)"");
7407 }
7408 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7409 PyObject *resultobj;
7410 wxWindow *arg1 = (wxWindow *) 0 ;
7411 int arg2 = (int) wxBORDER_NONE ;
7412 wxPyPopupTransientWindow *result;
7413 PyObject * obj0 = 0 ;
7414 char *kwnames[] = {
7415 (char *) "parent",(char *) "style", NULL
7416 };
7417
7418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupTransientWindow",kwnames,&obj0,&arg2)) goto fail;
7419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7420 {
7421 PyThreadState* __tstate = wxPyBeginAllowThreads();
7422 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
7423
7424 wxPyEndAllowThreads(__tstate);
7425 if (PyErr_Occurred()) SWIG_fail;
7426 }
7427 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7428 return resultobj;
7429 fail:
7430 return NULL;
7431 }
7432
7433
7434 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7435 PyObject *resultobj;
7436 wxPyPopupTransientWindow *result;
7437 char *kwnames[] = {
7438 NULL
7439 };
7440
7441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
7442 {
7443 PyThreadState* __tstate = wxPyBeginAllowThreads();
7444 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
7445
7446 wxPyEndAllowThreads(__tstate);
7447 if (PyErr_Occurred()) SWIG_fail;
7448 }
7449 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7450 return resultobj;
7451 fail:
7452 return NULL;
7453 }
7454
7455
7456 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7457 PyObject *resultobj;
7458 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7459 PyObject *arg2 = (PyObject *) 0 ;
7460 PyObject *arg3 = (PyObject *) 0 ;
7461 PyObject * obj0 = 0 ;
7462 PyObject * obj1 = 0 ;
7463 PyObject * obj2 = 0 ;
7464 char *kwnames[] = {
7465 (char *) "self",(char *) "self",(char *) "_class", NULL
7466 };
7467
7468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7470 arg2 = obj1;
7471 arg3 = obj2;
7472 {
7473 PyThreadState* __tstate = wxPyBeginAllowThreads();
7474 (arg1)->_setCallbackInfo(arg2,arg3);
7475
7476 wxPyEndAllowThreads(__tstate);
7477 if (PyErr_Occurred()) SWIG_fail;
7478 }
7479 Py_INCREF(Py_None); resultobj = Py_None;
7480 return resultobj;
7481 fail:
7482 return NULL;
7483 }
7484
7485
7486 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
7487 PyObject *resultobj;
7488 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7489 wxWindow *arg2 = (wxWindow *) NULL ;
7490 PyObject * obj0 = 0 ;
7491 PyObject * obj1 = 0 ;
7492 char *kwnames[] = {
7493 (char *) "self",(char *) "focus", NULL
7494 };
7495
7496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
7497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7498 if (obj1) {
7499 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7500 }
7501 {
7502 PyThreadState* __tstate = wxPyBeginAllowThreads();
7503 (arg1)->Popup(arg2);
7504
7505 wxPyEndAllowThreads(__tstate);
7506 if (PyErr_Occurred()) SWIG_fail;
7507 }
7508 Py_INCREF(Py_None); resultobj = Py_None;
7509 return resultobj;
7510 fail:
7511 return NULL;
7512 }
7513
7514
7515 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
7516 PyObject *resultobj;
7517 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7518 PyObject * obj0 = 0 ;
7519 char *kwnames[] = {
7520 (char *) "self", NULL
7521 };
7522
7523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
7524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7525 {
7526 PyThreadState* __tstate = wxPyBeginAllowThreads();
7527 (arg1)->Dismiss();
7528
7529 wxPyEndAllowThreads(__tstate);
7530 if (PyErr_Occurred()) SWIG_fail;
7531 }
7532 Py_INCREF(Py_None); resultobj = Py_None;
7533 return resultobj;
7534 fail:
7535 return NULL;
7536 }
7537
7538
7539 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
7540 PyObject *obj;
7541 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7542 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
7543 Py_INCREF(obj);
7544 return Py_BuildValue((char *)"");
7545 }
7546 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7547 PyObject *resultobj;
7548 wxWindow *arg1 = (wxWindow *) 0 ;
7549 wxString *arg2 = 0 ;
7550 int arg3 = (int) 100 ;
7551 wxRect *arg4 = (wxRect *) NULL ;
7552 wxTipWindow *result;
7553 bool temp2 = False ;
7554 PyObject * obj0 = 0 ;
7555 PyObject * obj1 = 0 ;
7556 PyObject * obj3 = 0 ;
7557 char *kwnames[] = {
7558 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
7559 };
7560
7561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iO:new_TipWindow",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
7562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7563 {
7564 arg2 = wxString_in_helper(obj1);
7565 if (arg2 == NULL) SWIG_fail;
7566 temp2 = True;
7567 }
7568 if (obj3) {
7569 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7570 }
7571 {
7572 PyThreadState* __tstate = wxPyBeginAllowThreads();
7573 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
7574
7575 wxPyEndAllowThreads(__tstate);
7576 if (PyErr_Occurred()) SWIG_fail;
7577 }
7578 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipWindow, 1);
7579 {
7580 if (temp2)
7581 delete arg2;
7582 }
7583 return resultobj;
7584 fail:
7585 {
7586 if (temp2)
7587 delete arg2;
7588 }
7589 return NULL;
7590 }
7591
7592
7593 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7594 PyObject *resultobj;
7595 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7596 wxRect *arg2 = 0 ;
7597 wxRect temp2 ;
7598 PyObject * obj0 = 0 ;
7599 PyObject * obj1 = 0 ;
7600 char *kwnames[] = {
7601 (char *) "self",(char *) "rectBound", NULL
7602 };
7603
7604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
7605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7606 {
7607 arg2 = &temp2;
7608 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7609 }
7610 {
7611 PyThreadState* __tstate = wxPyBeginAllowThreads();
7612 (arg1)->SetBoundingRect((wxRect const &)*arg2);
7613
7614 wxPyEndAllowThreads(__tstate);
7615 if (PyErr_Occurred()) SWIG_fail;
7616 }
7617 Py_INCREF(Py_None); resultobj = Py_None;
7618 return resultobj;
7619 fail:
7620 return NULL;
7621 }
7622
7623
7624 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
7625 PyObject *resultobj;
7626 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7627 PyObject * obj0 = 0 ;
7628 char *kwnames[] = {
7629 (char *) "self", NULL
7630 };
7631
7632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
7633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7634 {
7635 PyThreadState* __tstate = wxPyBeginAllowThreads();
7636 (arg1)->Close();
7637
7638 wxPyEndAllowThreads(__tstate);
7639 if (PyErr_Occurred()) SWIG_fail;
7640 }
7641 Py_INCREF(Py_None); resultobj = Py_None;
7642 return resultobj;
7643 fail:
7644 return NULL;
7645 }
7646
7647
7648 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
7649 PyObject *obj;
7650 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7651 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
7652 Py_INCREF(obj);
7653 return Py_BuildValue((char *)"");
7654 }
7655 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7656 PyObject *resultobj;
7657 wxWindow *arg1 = (wxWindow *) 0 ;
7658 int arg2 = (int) wxID_ANY ;
7659 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7660 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7661 wxSize const &arg4_defvalue = wxDefaultSize ;
7662 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7663 long arg5 = (long) 0 ;
7664 wxString const &arg6_defvalue = wxPyPanelNameStr ;
7665 wxString *arg6 = (wxString *) &arg6_defvalue ;
7666 wxPyVScrolledWindow *result;
7667 wxPoint temp3 ;
7668 wxSize temp4 ;
7669 bool temp6 = False ;
7670 PyObject * obj0 = 0 ;
7671 PyObject * obj2 = 0 ;
7672 PyObject * obj3 = 0 ;
7673 PyObject * obj5 = 0 ;
7674 char *kwnames[] = {
7675 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7676 };
7677
7678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
7679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7680 if (obj2) {
7681 {
7682 arg3 = &temp3;
7683 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7684 }
7685 }
7686 if (obj3) {
7687 {
7688 arg4 = &temp4;
7689 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7690 }
7691 }
7692 if (obj5) {
7693 {
7694 arg6 = wxString_in_helper(obj5);
7695 if (arg6 == NULL) SWIG_fail;
7696 temp6 = True;
7697 }
7698 }
7699 {
7700 PyThreadState* __tstate = wxPyBeginAllowThreads();
7701 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7702
7703 wxPyEndAllowThreads(__tstate);
7704 if (PyErr_Occurred()) SWIG_fail;
7705 }
7706 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
7707 {
7708 if (temp6)
7709 delete arg6;
7710 }
7711 return resultobj;
7712 fail:
7713 {
7714 if (temp6)
7715 delete arg6;
7716 }
7717 return NULL;
7718 }
7719
7720
7721 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7722 PyObject *resultobj;
7723 wxPyVScrolledWindow *result;
7724 char *kwnames[] = {
7725 NULL
7726 };
7727
7728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
7729 {
7730 PyThreadState* __tstate = wxPyBeginAllowThreads();
7731 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
7732
7733 wxPyEndAllowThreads(__tstate);
7734 if (PyErr_Occurred()) SWIG_fail;
7735 }
7736 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
7737 return resultobj;
7738 fail:
7739 return NULL;
7740 }
7741
7742
7743 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7744 PyObject *resultobj;
7745 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7746 PyObject *arg2 = (PyObject *) 0 ;
7747 PyObject *arg3 = (PyObject *) 0 ;
7748 PyObject * obj0 = 0 ;
7749 PyObject * obj1 = 0 ;
7750 PyObject * obj2 = 0 ;
7751 char *kwnames[] = {
7752 (char *) "self",(char *) "self",(char *) "_class", NULL
7753 };
7754
7755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7757 arg2 = obj1;
7758 arg3 = obj2;
7759 {
7760 PyThreadState* __tstate = wxPyBeginAllowThreads();
7761 (arg1)->_setCallbackInfo(arg2,arg3);
7762
7763 wxPyEndAllowThreads(__tstate);
7764 if (PyErr_Occurred()) SWIG_fail;
7765 }
7766 Py_INCREF(Py_None); resultobj = Py_None;
7767 return resultobj;
7768 fail:
7769 return NULL;
7770 }
7771
7772
7773 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7774 PyObject *resultobj;
7775 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7776 wxWindow *arg2 = (wxWindow *) 0 ;
7777 int arg3 = (int) wxID_ANY ;
7778 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7779 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7780 wxSize const &arg5_defvalue = wxDefaultSize ;
7781 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7782 long arg6 = (long) 0 ;
7783 wxString const &arg7_defvalue = wxPyPanelNameStr ;
7784 wxString *arg7 = (wxString *) &arg7_defvalue ;
7785 bool result;
7786 wxPoint temp4 ;
7787 wxSize temp5 ;
7788 bool temp7 = False ;
7789 PyObject * obj0 = 0 ;
7790 PyObject * obj1 = 0 ;
7791 PyObject * obj3 = 0 ;
7792 PyObject * obj4 = 0 ;
7793 PyObject * obj6 = 0 ;
7794 char *kwnames[] = {
7795 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7796 };
7797
7798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
7799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7800 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7801 if (obj3) {
7802 {
7803 arg4 = &temp4;
7804 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7805 }
7806 }
7807 if (obj4) {
7808 {
7809 arg5 = &temp5;
7810 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7811 }
7812 }
7813 if (obj6) {
7814 {
7815 arg7 = wxString_in_helper(obj6);
7816 if (arg7 == NULL) SWIG_fail;
7817 temp7 = True;
7818 }
7819 }
7820 {
7821 PyThreadState* __tstate = wxPyBeginAllowThreads();
7822 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7823
7824 wxPyEndAllowThreads(__tstate);
7825 if (PyErr_Occurred()) SWIG_fail;
7826 }
7827 resultobj = PyInt_FromLong((long)result);
7828 {
7829 if (temp7)
7830 delete arg7;
7831 }
7832 return resultobj;
7833 fail:
7834 {
7835 if (temp7)
7836 delete arg7;
7837 }
7838 return NULL;
7839 }
7840
7841
7842 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7843 PyObject *resultobj;
7844 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7845 size_t arg2 ;
7846 PyObject * obj0 = 0 ;
7847 PyObject * obj1 = 0 ;
7848 char *kwnames[] = {
7849 (char *) "self",(char *) "count", NULL
7850 };
7851
7852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
7853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7854 arg2 = (size_t) PyInt_AsLong(obj1);
7855 if (PyErr_Occurred()) SWIG_fail;
7856 {
7857 PyThreadState* __tstate = wxPyBeginAllowThreads();
7858 (arg1)->SetLineCount(arg2);
7859
7860 wxPyEndAllowThreads(__tstate);
7861 if (PyErr_Occurred()) SWIG_fail;
7862 }
7863 Py_INCREF(Py_None); resultobj = Py_None;
7864 return resultobj;
7865 fail:
7866 return NULL;
7867 }
7868
7869
7870 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7871 PyObject *resultobj;
7872 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7873 size_t arg2 ;
7874 bool result;
7875 PyObject * obj0 = 0 ;
7876 PyObject * obj1 = 0 ;
7877 char *kwnames[] = {
7878 (char *) "self",(char *) "line", NULL
7879 };
7880
7881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
7882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7883 arg2 = (size_t) PyInt_AsLong(obj1);
7884 if (PyErr_Occurred()) SWIG_fail;
7885 {
7886 PyThreadState* __tstate = wxPyBeginAllowThreads();
7887 result = (bool)(arg1)->ScrollToLine(arg2);
7888
7889 wxPyEndAllowThreads(__tstate);
7890 if (PyErr_Occurred()) SWIG_fail;
7891 }
7892 resultobj = PyInt_FromLong((long)result);
7893 return resultobj;
7894 fail:
7895 return NULL;
7896 }
7897
7898
7899 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7900 PyObject *resultobj;
7901 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7902 int arg2 ;
7903 bool result;
7904 PyObject * obj0 = 0 ;
7905 char *kwnames[] = {
7906 (char *) "self",(char *) "lines", NULL
7907 };
7908
7909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollLines",kwnames,&obj0,&arg2)) goto fail;
7910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7911 {
7912 PyThreadState* __tstate = wxPyBeginAllowThreads();
7913 result = (bool)(arg1)->ScrollLines(arg2);
7914
7915 wxPyEndAllowThreads(__tstate);
7916 if (PyErr_Occurred()) SWIG_fail;
7917 }
7918 resultobj = PyInt_FromLong((long)result);
7919 return resultobj;
7920 fail:
7921 return NULL;
7922 }
7923
7924
7925 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
7926 PyObject *resultobj;
7927 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7928 int arg2 ;
7929 bool result;
7930 PyObject * obj0 = 0 ;
7931 char *kwnames[] = {
7932 (char *) "self",(char *) "pages", NULL
7933 };
7934
7935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollPages",kwnames,&obj0,&arg2)) goto fail;
7936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7937 {
7938 PyThreadState* __tstate = wxPyBeginAllowThreads();
7939 result = (bool)(arg1)->ScrollPages(arg2);
7940
7941 wxPyEndAllowThreads(__tstate);
7942 if (PyErr_Occurred()) SWIG_fail;
7943 }
7944 resultobj = PyInt_FromLong((long)result);
7945 return resultobj;
7946 fail:
7947 return NULL;
7948 }
7949
7950
7951 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7952 PyObject *resultobj;
7953 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7954 size_t arg2 ;
7955 PyObject * obj0 = 0 ;
7956 PyObject * obj1 = 0 ;
7957 char *kwnames[] = {
7958 (char *) "self",(char *) "line", NULL
7959 };
7960
7961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
7962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7963 arg2 = (size_t) PyInt_AsLong(obj1);
7964 if (PyErr_Occurred()) SWIG_fail;
7965 {
7966 PyThreadState* __tstate = wxPyBeginAllowThreads();
7967 (arg1)->RefreshLine(arg2);
7968
7969 wxPyEndAllowThreads(__tstate);
7970 if (PyErr_Occurred()) SWIG_fail;
7971 }
7972 Py_INCREF(Py_None); resultobj = Py_None;
7973 return resultobj;
7974 fail:
7975 return NULL;
7976 }
7977
7978
7979 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7980 PyObject *resultobj;
7981 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7982 size_t arg2 ;
7983 size_t arg3 ;
7984 PyObject * obj0 = 0 ;
7985 PyObject * obj1 = 0 ;
7986 PyObject * obj2 = 0 ;
7987 char *kwnames[] = {
7988 (char *) "self",(char *) "from",(char *) "to", NULL
7989 };
7990
7991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
7992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7993 arg2 = (size_t) PyInt_AsLong(obj1);
7994 if (PyErr_Occurred()) SWIG_fail;
7995 arg3 = (size_t) PyInt_AsLong(obj2);
7996 if (PyErr_Occurred()) SWIG_fail;
7997 {
7998 PyThreadState* __tstate = wxPyBeginAllowThreads();
7999 (arg1)->RefreshLines(arg2,arg3);
8000
8001 wxPyEndAllowThreads(__tstate);
8002 if (PyErr_Occurred()) SWIG_fail;
8003 }
8004 Py_INCREF(Py_None); resultobj = Py_None;
8005 return resultobj;
8006 fail:
8007 return NULL;
8008 }
8009
8010
8011 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
8012 PyObject *resultobj;
8013 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8014 int arg2 ;
8015 int arg3 ;
8016 int result;
8017 PyObject * obj0 = 0 ;
8018 char *kwnames[] = {
8019 (char *) "self",(char *) "x",(char *) "y", NULL
8020 };
8021
8022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VScrolledWindow_HitTestXT",kwnames,&obj0,&arg2,&arg3)) goto fail;
8023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8024 {
8025 PyThreadState* __tstate = wxPyBeginAllowThreads();
8026 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
8027
8028 wxPyEndAllowThreads(__tstate);
8029 if (PyErr_Occurred()) SWIG_fail;
8030 }
8031 resultobj = PyInt_FromLong((long)result);
8032 return resultobj;
8033 fail:
8034 return NULL;
8035 }
8036
8037
8038 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8039 PyObject *resultobj;
8040 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8041 wxPoint *arg2 = 0 ;
8042 int result;
8043 wxPoint temp2 ;
8044 PyObject * obj0 = 0 ;
8045 PyObject * obj1 = 0 ;
8046 char *kwnames[] = {
8047 (char *) "self",(char *) "pt", NULL
8048 };
8049
8050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
8051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8052 {
8053 arg2 = &temp2;
8054 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8055 }
8056 {
8057 PyThreadState* __tstate = wxPyBeginAllowThreads();
8058 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
8059
8060 wxPyEndAllowThreads(__tstate);
8061 if (PyErr_Occurred()) SWIG_fail;
8062 }
8063 resultobj = PyInt_FromLong((long)result);
8064 return resultobj;
8065 fail:
8066 return NULL;
8067 }
8068
8069
8070 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8071 PyObject *resultobj;
8072 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8073 PyObject * obj0 = 0 ;
8074 char *kwnames[] = {
8075 (char *) "self", NULL
8076 };
8077
8078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
8079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8080 {
8081 PyThreadState* __tstate = wxPyBeginAllowThreads();
8082 (arg1)->RefreshAll();
8083
8084 wxPyEndAllowThreads(__tstate);
8085 if (PyErr_Occurred()) SWIG_fail;
8086 }
8087 Py_INCREF(Py_None); resultobj = Py_None;
8088 return resultobj;
8089 fail:
8090 return NULL;
8091 }
8092
8093
8094 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8095 PyObject *resultobj;
8096 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8097 size_t result;
8098 PyObject * obj0 = 0 ;
8099 char *kwnames[] = {
8100 (char *) "self", NULL
8101 };
8102
8103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
8104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8105 {
8106 PyThreadState* __tstate = wxPyBeginAllowThreads();
8107 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
8108
8109 wxPyEndAllowThreads(__tstate);
8110 if (PyErr_Occurred()) SWIG_fail;
8111 }
8112 resultobj = PyInt_FromLong((long)result);
8113 return resultobj;
8114 fail:
8115 return NULL;
8116 }
8117
8118
8119 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8120 PyObject *resultobj;
8121 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8122 size_t result;
8123 PyObject * obj0 = 0 ;
8124 char *kwnames[] = {
8125 (char *) "self", NULL
8126 };
8127
8128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
8129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8130 {
8131 PyThreadState* __tstate = wxPyBeginAllowThreads();
8132 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
8133
8134 wxPyEndAllowThreads(__tstate);
8135 if (PyErr_Occurred()) SWIG_fail;
8136 }
8137 resultobj = PyInt_FromLong((long)result);
8138 return resultobj;
8139 fail:
8140 return NULL;
8141 }
8142
8143
8144 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8145 PyObject *resultobj;
8146 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8147 size_t result;
8148 PyObject * obj0 = 0 ;
8149 char *kwnames[] = {
8150 (char *) "self", NULL
8151 };
8152
8153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
8154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8155 {
8156 PyThreadState* __tstate = wxPyBeginAllowThreads();
8157 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
8158
8159 wxPyEndAllowThreads(__tstate);
8160 if (PyErr_Occurred()) SWIG_fail;
8161 }
8162 resultobj = PyInt_FromLong((long)result);
8163 return resultobj;
8164 fail:
8165 return NULL;
8166 }
8167
8168
8169 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8170 PyObject *resultobj;
8171 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8172 size_t arg2 ;
8173 bool result;
8174 PyObject * obj0 = 0 ;
8175 PyObject * obj1 = 0 ;
8176 char *kwnames[] = {
8177 (char *) "self",(char *) "line", NULL
8178 };
8179
8180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
8181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8182 arg2 = (size_t) PyInt_AsLong(obj1);
8183 if (PyErr_Occurred()) SWIG_fail;
8184 {
8185 PyThreadState* __tstate = wxPyBeginAllowThreads();
8186 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
8187
8188 wxPyEndAllowThreads(__tstate);
8189 if (PyErr_Occurred()) SWIG_fail;
8190 }
8191 resultobj = PyInt_FromLong((long)result);
8192 return resultobj;
8193 fail:
8194 return NULL;
8195 }
8196
8197
8198 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
8199 PyObject *obj;
8200 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8201 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
8202 Py_INCREF(obj);
8203 return Py_BuildValue((char *)"");
8204 }
8205 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8206 PyObject *resultobj;
8207 wxWindow *arg1 = (wxWindow *) 0 ;
8208 int arg2 = (int) wxID_ANY ;
8209 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8210 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8211 wxSize const &arg4_defvalue = wxDefaultSize ;
8212 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8213 long arg5 = (long) 0 ;
8214 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
8215 wxString *arg6 = (wxString *) &arg6_defvalue ;
8216 wxPyVListBox *result;
8217 wxPoint temp3 ;
8218 wxSize temp4 ;
8219 bool temp6 = False ;
8220 PyObject * obj0 = 0 ;
8221 PyObject * obj2 = 0 ;
8222 PyObject * obj3 = 0 ;
8223 PyObject * obj5 = 0 ;
8224 char *kwnames[] = {
8225 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8226 };
8227
8228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8230 if (obj2) {
8231 {
8232 arg3 = &temp3;
8233 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8234 }
8235 }
8236 if (obj3) {
8237 {
8238 arg4 = &temp4;
8239 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8240 }
8241 }
8242 if (obj5) {
8243 {
8244 arg6 = wxString_in_helper(obj5);
8245 if (arg6 == NULL) SWIG_fail;
8246 temp6 = True;
8247 }
8248 }
8249 {
8250 PyThreadState* __tstate = wxPyBeginAllowThreads();
8251 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8252
8253 wxPyEndAllowThreads(__tstate);
8254 if (PyErr_Occurred()) SWIG_fail;
8255 }
8256 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8257 {
8258 if (temp6)
8259 delete arg6;
8260 }
8261 return resultobj;
8262 fail:
8263 {
8264 if (temp6)
8265 delete arg6;
8266 }
8267 return NULL;
8268 }
8269
8270
8271 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8272 PyObject *resultobj;
8273 wxPyVListBox *result;
8274 char *kwnames[] = {
8275 NULL
8276 };
8277
8278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
8279 {
8280 PyThreadState* __tstate = wxPyBeginAllowThreads();
8281 result = (wxPyVListBox *)new wxPyVListBox();
8282
8283 wxPyEndAllowThreads(__tstate);
8284 if (PyErr_Occurred()) SWIG_fail;
8285 }
8286 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8287 return resultobj;
8288 fail:
8289 return NULL;
8290 }
8291
8292
8293 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8294 PyObject *resultobj;
8295 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8296 PyObject *arg2 = (PyObject *) 0 ;
8297 PyObject *arg3 = (PyObject *) 0 ;
8298 PyObject * obj0 = 0 ;
8299 PyObject * obj1 = 0 ;
8300 PyObject * obj2 = 0 ;
8301 char *kwnames[] = {
8302 (char *) "self",(char *) "self",(char *) "_class", NULL
8303 };
8304
8305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8307 arg2 = obj1;
8308 arg3 = obj2;
8309 {
8310 PyThreadState* __tstate = wxPyBeginAllowThreads();
8311 (arg1)->_setCallbackInfo(arg2,arg3);
8312
8313 wxPyEndAllowThreads(__tstate);
8314 if (PyErr_Occurred()) SWIG_fail;
8315 }
8316 Py_INCREF(Py_None); resultobj = Py_None;
8317 return resultobj;
8318 fail:
8319 return NULL;
8320 }
8321
8322
8323 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8324 PyObject *resultobj;
8325 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8326 wxWindow *arg2 = (wxWindow *) 0 ;
8327 int arg3 = (int) wxID_ANY ;
8328 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8329 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8330 wxSize const &arg5_defvalue = wxDefaultSize ;
8331 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8332 long arg6 = (long) 0 ;
8333 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
8334 wxString *arg7 = (wxString *) &arg7_defvalue ;
8335 bool result;
8336 wxPoint temp4 ;
8337 wxSize temp5 ;
8338 bool temp7 = False ;
8339 PyObject * obj0 = 0 ;
8340 PyObject * obj1 = 0 ;
8341 PyObject * obj3 = 0 ;
8342 PyObject * obj4 = 0 ;
8343 PyObject * obj6 = 0 ;
8344 char *kwnames[] = {
8345 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8346 };
8347
8348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8350 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8351 if (obj3) {
8352 {
8353 arg4 = &temp4;
8354 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8355 }
8356 }
8357 if (obj4) {
8358 {
8359 arg5 = &temp5;
8360 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8361 }
8362 }
8363 if (obj6) {
8364 {
8365 arg7 = wxString_in_helper(obj6);
8366 if (arg7 == NULL) SWIG_fail;
8367 temp7 = True;
8368 }
8369 }
8370 {
8371 PyThreadState* __tstate = wxPyBeginAllowThreads();
8372 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8373
8374 wxPyEndAllowThreads(__tstate);
8375 if (PyErr_Occurred()) SWIG_fail;
8376 }
8377 resultobj = PyInt_FromLong((long)result);
8378 {
8379 if (temp7)
8380 delete arg7;
8381 }
8382 return resultobj;
8383 fail:
8384 {
8385 if (temp7)
8386 delete arg7;
8387 }
8388 return NULL;
8389 }
8390
8391
8392 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8393 PyObject *resultobj;
8394 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8395 size_t result;
8396 PyObject * obj0 = 0 ;
8397 char *kwnames[] = {
8398 (char *) "self", NULL
8399 };
8400
8401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
8402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8403 {
8404 PyThreadState* __tstate = wxPyBeginAllowThreads();
8405 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
8406
8407 wxPyEndAllowThreads(__tstate);
8408 if (PyErr_Occurred()) SWIG_fail;
8409 }
8410 resultobj = PyInt_FromLong((long)result);
8411 return resultobj;
8412 fail:
8413 return NULL;
8414 }
8415
8416
8417 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8418 PyObject *resultobj;
8419 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8420 bool result;
8421 PyObject * obj0 = 0 ;
8422 char *kwnames[] = {
8423 (char *) "self", NULL
8424 };
8425
8426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
8427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8428 {
8429 PyThreadState* __tstate = wxPyBeginAllowThreads();
8430 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
8431
8432 wxPyEndAllowThreads(__tstate);
8433 if (PyErr_Occurred()) SWIG_fail;
8434 }
8435 resultobj = PyInt_FromLong((long)result);
8436 return resultobj;
8437 fail:
8438 return NULL;
8439 }
8440
8441
8442 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8443 PyObject *resultobj;
8444 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8445 int result;
8446 PyObject * obj0 = 0 ;
8447 char *kwnames[] = {
8448 (char *) "self", NULL
8449 };
8450
8451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
8452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8453 {
8454 PyThreadState* __tstate = wxPyBeginAllowThreads();
8455 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
8456
8457 wxPyEndAllowThreads(__tstate);
8458 if (PyErr_Occurred()) SWIG_fail;
8459 }
8460 resultobj = PyInt_FromLong((long)result);
8461 return resultobj;
8462 fail:
8463 return NULL;
8464 }
8465
8466
8467 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
8468 PyObject *resultobj;
8469 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8470 size_t arg2 ;
8471 bool result;
8472 PyObject * obj0 = 0 ;
8473 PyObject * obj1 = 0 ;
8474 char *kwnames[] = {
8475 (char *) "self",(char *) "item", NULL
8476 };
8477
8478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
8479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8480 arg2 = (size_t) PyInt_AsLong(obj1);
8481 if (PyErr_Occurred()) SWIG_fail;
8482 {
8483 PyThreadState* __tstate = wxPyBeginAllowThreads();
8484 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
8485
8486 wxPyEndAllowThreads(__tstate);
8487 if (PyErr_Occurred()) SWIG_fail;
8488 }
8489 resultobj = PyInt_FromLong((long)result);
8490 return resultobj;
8491 fail:
8492 return NULL;
8493 }
8494
8495
8496 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8497 PyObject *resultobj;
8498 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8499 size_t arg2 ;
8500 bool result;
8501 PyObject * obj0 = 0 ;
8502 PyObject * obj1 = 0 ;
8503 char *kwnames[] = {
8504 (char *) "self",(char *) "item", NULL
8505 };
8506
8507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
8508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8509 arg2 = (size_t) PyInt_AsLong(obj1);
8510 if (PyErr_Occurred()) SWIG_fail;
8511 {
8512 PyThreadState* __tstate = wxPyBeginAllowThreads();
8513 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
8514
8515 wxPyEndAllowThreads(__tstate);
8516 if (PyErr_Occurred()) SWIG_fail;
8517 }
8518 resultobj = PyInt_FromLong((long)result);
8519 return resultobj;
8520 fail:
8521 return NULL;
8522 }
8523
8524
8525 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8526 PyObject *resultobj;
8527 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8528 size_t result;
8529 PyObject * obj0 = 0 ;
8530 char *kwnames[] = {
8531 (char *) "self", NULL
8532 };
8533
8534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
8535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8536 {
8537 PyThreadState* __tstate = wxPyBeginAllowThreads();
8538 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
8539
8540 wxPyEndAllowThreads(__tstate);
8541 if (PyErr_Occurred()) SWIG_fail;
8542 }
8543 resultobj = PyInt_FromLong((long)result);
8544 return resultobj;
8545 fail:
8546 return NULL;
8547 }
8548
8549
8550 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8551 PyObject *resultobj;
8552 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8553 unsigned long *arg2 = 0 ;
8554 int result;
8555 PyObject * obj0 = 0 ;
8556 PyObject * obj1 = 0 ;
8557 char *kwnames[] = {
8558 (char *) "self",(char *) "cookie", NULL
8559 };
8560
8561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
8562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8563 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8564 if (arg2 == NULL) {
8565 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8566 }
8567 {
8568 PyThreadState* __tstate = wxPyBeginAllowThreads();
8569 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
8570
8571 wxPyEndAllowThreads(__tstate);
8572 if (PyErr_Occurred()) SWIG_fail;
8573 }
8574 resultobj = PyInt_FromLong((long)result);
8575 return resultobj;
8576 fail:
8577 return NULL;
8578 }
8579
8580
8581 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8582 PyObject *resultobj;
8583 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8584 unsigned long *arg2 = 0 ;
8585 int result;
8586 PyObject * obj0 = 0 ;
8587 PyObject * obj1 = 0 ;
8588 char *kwnames[] = {
8589 (char *) "self",(char *) "cookie", NULL
8590 };
8591
8592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
8593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8594 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8595 if (arg2 == NULL) {
8596 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8597 }
8598 {
8599 PyThreadState* __tstate = wxPyBeginAllowThreads();
8600 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
8601
8602 wxPyEndAllowThreads(__tstate);
8603 if (PyErr_Occurred()) SWIG_fail;
8604 }
8605 resultobj = PyInt_FromLong((long)result);
8606 return resultobj;
8607 fail:
8608 return NULL;
8609 }
8610
8611
8612 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
8613 PyObject *resultobj;
8614 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8615 wxPoint result;
8616 PyObject * obj0 = 0 ;
8617 char *kwnames[] = {
8618 (char *) "self", NULL
8619 };
8620
8621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
8622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8623 {
8624 PyThreadState* __tstate = wxPyBeginAllowThreads();
8625 result = ((wxPyVListBox const *)arg1)->GetMargins();
8626
8627 wxPyEndAllowThreads(__tstate);
8628 if (PyErr_Occurred()) SWIG_fail;
8629 }
8630 {
8631 wxPoint * resultptr;
8632 resultptr = new wxPoint((wxPoint &) result);
8633 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
8634 }
8635 return resultobj;
8636 fail:
8637 return NULL;
8638 }
8639
8640
8641 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8642 PyObject *resultobj;
8643 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8644 wxColour *result;
8645 PyObject * obj0 = 0 ;
8646 char *kwnames[] = {
8647 (char *) "self", NULL
8648 };
8649
8650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
8651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8652 {
8653 PyThreadState* __tstate = wxPyBeginAllowThreads();
8654 {
8655 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
8656 result = (wxColour *) &_result_ref;
8657 }
8658
8659 wxPyEndAllowThreads(__tstate);
8660 if (PyErr_Occurred()) SWIG_fail;
8661 }
8662 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
8663 return resultobj;
8664 fail:
8665 return NULL;
8666 }
8667
8668
8669 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8670 PyObject *resultobj;
8671 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8672 size_t arg2 ;
8673 PyObject * obj0 = 0 ;
8674 PyObject * obj1 = 0 ;
8675 char *kwnames[] = {
8676 (char *) "self",(char *) "count", NULL
8677 };
8678
8679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
8680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8681 arg2 = (size_t) PyInt_AsLong(obj1);
8682 if (PyErr_Occurred()) SWIG_fail;
8683 {
8684 PyThreadState* __tstate = wxPyBeginAllowThreads();
8685 (arg1)->SetItemCount(arg2);
8686
8687 wxPyEndAllowThreads(__tstate);
8688 if (PyErr_Occurred()) SWIG_fail;
8689 }
8690 Py_INCREF(Py_None); resultobj = Py_None;
8691 return resultobj;
8692 fail:
8693 return NULL;
8694 }
8695
8696
8697 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8698 PyObject *resultobj;
8699 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8700 PyObject * obj0 = 0 ;
8701 char *kwnames[] = {
8702 (char *) "self", NULL
8703 };
8704
8705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
8706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8707 {
8708 PyThreadState* __tstate = wxPyBeginAllowThreads();
8709 (arg1)->Clear();
8710
8711 wxPyEndAllowThreads(__tstate);
8712 if (PyErr_Occurred()) SWIG_fail;
8713 }
8714 Py_INCREF(Py_None); resultobj = Py_None;
8715 return resultobj;
8716 fail:
8717 return NULL;
8718 }
8719
8720
8721 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8722 PyObject *resultobj;
8723 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8724 int arg2 ;
8725 PyObject * obj0 = 0 ;
8726 char *kwnames[] = {
8727 (char *) "self",(char *) "selection", NULL
8728 };
8729
8730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VListBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
8731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8732 {
8733 PyThreadState* __tstate = wxPyBeginAllowThreads();
8734 (arg1)->SetSelection(arg2);
8735
8736 wxPyEndAllowThreads(__tstate);
8737 if (PyErr_Occurred()) SWIG_fail;
8738 }
8739 Py_INCREF(Py_None); resultobj = Py_None;
8740 return resultobj;
8741 fail:
8742 return NULL;
8743 }
8744
8745
8746 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
8747 PyObject *resultobj;
8748 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8749 size_t arg2 ;
8750 bool arg3 = (bool) True ;
8751 bool result;
8752 PyObject * obj0 = 0 ;
8753 PyObject * obj1 = 0 ;
8754 PyObject * obj2 = 0 ;
8755 char *kwnames[] = {
8756 (char *) "self",(char *) "item",(char *) "select", NULL
8757 };
8758
8759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
8760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8761 arg2 = (size_t) PyInt_AsLong(obj1);
8762 if (PyErr_Occurred()) SWIG_fail;
8763 if (obj2) {
8764 arg3 = PyInt_AsLong(obj2) ? true : false;
8765 if (PyErr_Occurred()) SWIG_fail;
8766 }
8767 {
8768 PyThreadState* __tstate = wxPyBeginAllowThreads();
8769 result = (bool)(arg1)->Select(arg2,arg3);
8770
8771 wxPyEndAllowThreads(__tstate);
8772 if (PyErr_Occurred()) SWIG_fail;
8773 }
8774 resultobj = PyInt_FromLong((long)result);
8775 return resultobj;
8776 fail:
8777 return NULL;
8778 }
8779
8780
8781 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8782 PyObject *resultobj;
8783 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8784 size_t arg2 ;
8785 size_t arg3 ;
8786 bool result;
8787 PyObject * obj0 = 0 ;
8788 PyObject * obj1 = 0 ;
8789 PyObject * obj2 = 0 ;
8790 char *kwnames[] = {
8791 (char *) "self",(char *) "from",(char *) "to", NULL
8792 };
8793
8794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
8795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8796 arg2 = (size_t) PyInt_AsLong(obj1);
8797 if (PyErr_Occurred()) SWIG_fail;
8798 arg3 = (size_t) PyInt_AsLong(obj2);
8799 if (PyErr_Occurred()) SWIG_fail;
8800 {
8801 PyThreadState* __tstate = wxPyBeginAllowThreads();
8802 result = (bool)(arg1)->SelectRange(arg2,arg3);
8803
8804 wxPyEndAllowThreads(__tstate);
8805 if (PyErr_Occurred()) SWIG_fail;
8806 }
8807 resultobj = PyInt_FromLong((long)result);
8808 return resultobj;
8809 fail:
8810 return NULL;
8811 }
8812
8813
8814 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
8815 PyObject *resultobj;
8816 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8817 size_t arg2 ;
8818 PyObject * obj0 = 0 ;
8819 PyObject * obj1 = 0 ;
8820 char *kwnames[] = {
8821 (char *) "self",(char *) "item", NULL
8822 };
8823
8824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
8825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8826 arg2 = (size_t) PyInt_AsLong(obj1);
8827 if (PyErr_Occurred()) SWIG_fail;
8828 {
8829 PyThreadState* __tstate = wxPyBeginAllowThreads();
8830 (arg1)->Toggle(arg2);
8831
8832 wxPyEndAllowThreads(__tstate);
8833 if (PyErr_Occurred()) SWIG_fail;
8834 }
8835 Py_INCREF(Py_None); resultobj = Py_None;
8836 return resultobj;
8837 fail:
8838 return NULL;
8839 }
8840
8841
8842 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8843 PyObject *resultobj;
8844 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8845 bool result;
8846 PyObject * obj0 = 0 ;
8847 char *kwnames[] = {
8848 (char *) "self", NULL
8849 };
8850
8851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
8852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8853 {
8854 PyThreadState* __tstate = wxPyBeginAllowThreads();
8855 result = (bool)(arg1)->SelectAll();
8856
8857 wxPyEndAllowThreads(__tstate);
8858 if (PyErr_Occurred()) SWIG_fail;
8859 }
8860 resultobj = PyInt_FromLong((long)result);
8861 return resultobj;
8862 fail:
8863 return NULL;
8864 }
8865
8866
8867 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8868 PyObject *resultobj;
8869 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8870 bool result;
8871 PyObject * obj0 = 0 ;
8872 char *kwnames[] = {
8873 (char *) "self", NULL
8874 };
8875
8876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
8877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8878 {
8879 PyThreadState* __tstate = wxPyBeginAllowThreads();
8880 result = (bool)(arg1)->DeselectAll();
8881
8882 wxPyEndAllowThreads(__tstate);
8883 if (PyErr_Occurred()) SWIG_fail;
8884 }
8885 resultobj = PyInt_FromLong((long)result);
8886 return resultobj;
8887 fail:
8888 return NULL;
8889 }
8890
8891
8892 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
8893 PyObject *resultobj;
8894 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8895 wxPoint *arg2 = 0 ;
8896 wxPoint temp2 ;
8897 PyObject * obj0 = 0 ;
8898 PyObject * obj1 = 0 ;
8899 char *kwnames[] = {
8900 (char *) "self",(char *) "pt", NULL
8901 };
8902
8903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
8904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8905 {
8906 arg2 = &temp2;
8907 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8908 }
8909 {
8910 PyThreadState* __tstate = wxPyBeginAllowThreads();
8911 (arg1)->SetMargins((wxPoint const &)*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_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8924 PyObject *resultobj;
8925 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8926 int arg2 ;
8927 int arg3 ;
8928 PyObject * obj0 = 0 ;
8929 char *kwnames[] = {
8930 (char *) "self",(char *) "x",(char *) "y", NULL
8931 };
8932
8933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VListBox_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
8934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8935 {
8936 PyThreadState* __tstate = wxPyBeginAllowThreads();
8937 (arg1)->SetMargins(arg2,arg3);
8938
8939 wxPyEndAllowThreads(__tstate);
8940 if (PyErr_Occurred()) SWIG_fail;
8941 }
8942 Py_INCREF(Py_None); resultobj = Py_None;
8943 return resultobj;
8944 fail:
8945 return NULL;
8946 }
8947
8948
8949 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8950 PyObject *resultobj;
8951 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8952 wxColour *arg2 = 0 ;
8953 wxColour temp2 ;
8954 PyObject * obj0 = 0 ;
8955 PyObject * obj1 = 0 ;
8956 char *kwnames[] = {
8957 (char *) "self",(char *) "col", NULL
8958 };
8959
8960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
8961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8962 {
8963 arg2 = &temp2;
8964 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8965 }
8966 {
8967 PyThreadState* __tstate = wxPyBeginAllowThreads();
8968 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
8969
8970 wxPyEndAllowThreads(__tstate);
8971 if (PyErr_Occurred()) SWIG_fail;
8972 }
8973 Py_INCREF(Py_None); resultobj = Py_None;
8974 return resultobj;
8975 fail:
8976 return NULL;
8977 }
8978
8979
8980 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
8981 PyObject *obj;
8982 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8983 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
8984 Py_INCREF(obj);
8985 return Py_BuildValue((char *)"");
8986 }
8987 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8988 PyObject *resultobj;
8989 wxWindow *arg1 = (wxWindow *) 0 ;
8990 int arg2 = (int) wxID_ANY ;
8991 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8992 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8993 wxSize const &arg4_defvalue = wxDefaultSize ;
8994 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8995 long arg5 = (long) 0 ;
8996 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
8997 wxString *arg6 = (wxString *) &arg6_defvalue ;
8998 wxPyHtmlListBox *result;
8999 wxPoint temp3 ;
9000 wxSize temp4 ;
9001 bool temp6 = False ;
9002 PyObject * obj0 = 0 ;
9003 PyObject * obj2 = 0 ;
9004 PyObject * obj3 = 0 ;
9005 PyObject * obj5 = 0 ;
9006 char *kwnames[] = {
9007 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9008 };
9009
9010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_HtmlListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
9011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9012 if (obj2) {
9013 {
9014 arg3 = &temp3;
9015 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9016 }
9017 }
9018 if (obj3) {
9019 {
9020 arg4 = &temp4;
9021 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9022 }
9023 }
9024 if (obj5) {
9025 {
9026 arg6 = wxString_in_helper(obj5);
9027 if (arg6 == NULL) SWIG_fail;
9028 temp6 = True;
9029 }
9030 }
9031 {
9032 PyThreadState* __tstate = wxPyBeginAllowThreads();
9033 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9034
9035 wxPyEndAllowThreads(__tstate);
9036 if (PyErr_Occurred()) SWIG_fail;
9037 }
9038 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
9039 {
9040 if (temp6)
9041 delete arg6;
9042 }
9043 return resultobj;
9044 fail:
9045 {
9046 if (temp6)
9047 delete arg6;
9048 }
9049 return NULL;
9050 }
9051
9052
9053 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9054 PyObject *resultobj;
9055 wxPyHtmlListBox *result;
9056 char *kwnames[] = {
9057 NULL
9058 };
9059
9060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
9061 {
9062 PyThreadState* __tstate = wxPyBeginAllowThreads();
9063 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
9064
9065 wxPyEndAllowThreads(__tstate);
9066 if (PyErr_Occurred()) SWIG_fail;
9067 }
9068 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
9069 return resultobj;
9070 fail:
9071 return NULL;
9072 }
9073
9074
9075 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9076 PyObject *resultobj;
9077 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9078 PyObject *arg2 = (PyObject *) 0 ;
9079 PyObject *arg3 = (PyObject *) 0 ;
9080 PyObject * obj0 = 0 ;
9081 PyObject * obj1 = 0 ;
9082 PyObject * obj2 = 0 ;
9083 char *kwnames[] = {
9084 (char *) "self",(char *) "self",(char *) "_class", NULL
9085 };
9086
9087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9089 arg2 = obj1;
9090 arg3 = obj2;
9091 {
9092 PyThreadState* __tstate = wxPyBeginAllowThreads();
9093 (arg1)->_setCallbackInfo(arg2,arg3);
9094
9095 wxPyEndAllowThreads(__tstate);
9096 if (PyErr_Occurred()) SWIG_fail;
9097 }
9098 Py_INCREF(Py_None); resultobj = Py_None;
9099 return resultobj;
9100 fail:
9101 return NULL;
9102 }
9103
9104
9105 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9106 PyObject *resultobj;
9107 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9108 wxWindow *arg2 = (wxWindow *) 0 ;
9109 int arg3 = (int) wxID_ANY ;
9110 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9111 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9112 wxSize const &arg5_defvalue = wxDefaultSize ;
9113 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9114 long arg6 = (long) 0 ;
9115 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9116 wxString *arg7 = (wxString *) &arg7_defvalue ;
9117 bool result;
9118 wxPoint temp4 ;
9119 wxSize temp5 ;
9120 bool temp7 = False ;
9121 PyObject * obj0 = 0 ;
9122 PyObject * obj1 = 0 ;
9123 PyObject * obj3 = 0 ;
9124 PyObject * obj4 = 0 ;
9125 PyObject * obj6 = 0 ;
9126 char *kwnames[] = {
9127 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9128 };
9129
9130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:HtmlListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
9131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9132 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9133 if (obj3) {
9134 {
9135 arg4 = &temp4;
9136 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9137 }
9138 }
9139 if (obj4) {
9140 {
9141 arg5 = &temp5;
9142 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9143 }
9144 }
9145 if (obj6) {
9146 {
9147 arg7 = wxString_in_helper(obj6);
9148 if (arg7 == NULL) SWIG_fail;
9149 temp7 = True;
9150 }
9151 }
9152 {
9153 PyThreadState* __tstate = wxPyBeginAllowThreads();
9154 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9155
9156 wxPyEndAllowThreads(__tstate);
9157 if (PyErr_Occurred()) SWIG_fail;
9158 }
9159 resultobj = PyInt_FromLong((long)result);
9160 {
9161 if (temp7)
9162 delete arg7;
9163 }
9164 return resultobj;
9165 fail:
9166 {
9167 if (temp7)
9168 delete arg7;
9169 }
9170 return NULL;
9171 }
9172
9173
9174 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9175 PyObject *resultobj;
9176 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9177 PyObject * obj0 = 0 ;
9178 char *kwnames[] = {
9179 (char *) "self", NULL
9180 };
9181
9182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
9183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9184 {
9185 PyThreadState* __tstate = wxPyBeginAllowThreads();
9186 (arg1)->RefreshAll();
9187
9188 wxPyEndAllowThreads(__tstate);
9189 if (PyErr_Occurred()) SWIG_fail;
9190 }
9191 Py_INCREF(Py_None); resultobj = Py_None;
9192 return resultobj;
9193 fail:
9194 return NULL;
9195 }
9196
9197
9198 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9199 PyObject *resultobj;
9200 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9201 size_t arg2 ;
9202 PyObject * obj0 = 0 ;
9203 PyObject * obj1 = 0 ;
9204 char *kwnames[] = {
9205 (char *) "self",(char *) "count", NULL
9206 };
9207
9208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9210 arg2 = (size_t) PyInt_AsLong(obj1);
9211 if (PyErr_Occurred()) SWIG_fail;
9212 {
9213 PyThreadState* __tstate = wxPyBeginAllowThreads();
9214 (arg1)->SetItemCount(arg2);
9215
9216 wxPyEndAllowThreads(__tstate);
9217 if (PyErr_Occurred()) SWIG_fail;
9218 }
9219 Py_INCREF(Py_None); resultobj = Py_None;
9220 return resultobj;
9221 fail:
9222 return NULL;
9223 }
9224
9225
9226 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
9227 PyObject *obj;
9228 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9229 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
9230 Py_INCREF(obj);
9231 return Py_BuildValue((char *)"");
9232 }
9233 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9234 PyObject *resultobj;
9235 wxTaskBarIcon *result;
9236 char *kwnames[] = {
9237 NULL
9238 };
9239
9240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
9241 {
9242 PyThreadState* __tstate = wxPyBeginAllowThreads();
9243 result = (wxTaskBarIcon *)new wxTaskBarIcon();
9244
9245 wxPyEndAllowThreads(__tstate);
9246 if (PyErr_Occurred()) SWIG_fail;
9247 }
9248 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIcon, 1);
9249 return resultobj;
9250 fail:
9251 return NULL;
9252 }
9253
9254
9255 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9256 PyObject *resultobj;
9257 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9258 PyObject * obj0 = 0 ;
9259 char *kwnames[] = {
9260 (char *) "self", NULL
9261 };
9262
9263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
9264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9265 {
9266 PyThreadState* __tstate = wxPyBeginAllowThreads();
9267 delete arg1;
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_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
9280 PyObject *resultobj;
9281 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9282 bool result;
9283 PyObject * obj0 = 0 ;
9284 char *kwnames[] = {
9285 (char *) "self", NULL
9286 };
9287
9288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
9289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9290 {
9291 PyThreadState* __tstate = wxPyBeginAllowThreads();
9292 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
9293
9294 wxPyEndAllowThreads(__tstate);
9295 if (PyErr_Occurred()) SWIG_fail;
9296 }
9297 resultobj = PyInt_FromLong((long)result);
9298 return resultobj;
9299 fail:
9300 return NULL;
9301 }
9302
9303
9304 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
9305 PyObject *resultobj;
9306 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9307 bool result;
9308 PyObject * obj0 = 0 ;
9309 char *kwnames[] = {
9310 (char *) "self", NULL
9311 };
9312
9313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
9314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9315 {
9316 PyThreadState* __tstate = wxPyBeginAllowThreads();
9317 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
9318
9319 wxPyEndAllowThreads(__tstate);
9320 if (PyErr_Occurred()) SWIG_fail;
9321 }
9322 resultobj = PyInt_FromLong((long)result);
9323 return resultobj;
9324 fail:
9325 return NULL;
9326 }
9327
9328
9329 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9330 PyObject *resultobj;
9331 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9332 wxIcon *arg2 = 0 ;
9333 wxString const &arg3_defvalue = wxPyEmptyString ;
9334 wxString *arg3 = (wxString *) &arg3_defvalue ;
9335 bool result;
9336 bool temp3 = False ;
9337 PyObject * obj0 = 0 ;
9338 PyObject * obj1 = 0 ;
9339 PyObject * obj2 = 0 ;
9340 char *kwnames[] = {
9341 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
9342 };
9343
9344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
9345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9346 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9347 if (arg2 == NULL) {
9348 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9349 }
9350 if (obj2) {
9351 {
9352 arg3 = wxString_in_helper(obj2);
9353 if (arg3 == NULL) SWIG_fail;
9354 temp3 = True;
9355 }
9356 }
9357 {
9358 PyThreadState* __tstate = wxPyBeginAllowThreads();
9359 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
9360
9361 wxPyEndAllowThreads(__tstate);
9362 if (PyErr_Occurred()) SWIG_fail;
9363 }
9364 resultobj = PyInt_FromLong((long)result);
9365 {
9366 if (temp3)
9367 delete arg3;
9368 }
9369 return resultobj;
9370 fail:
9371 {
9372 if (temp3)
9373 delete arg3;
9374 }
9375 return NULL;
9376 }
9377
9378
9379 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9380 PyObject *resultobj;
9381 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9382 bool result;
9383 PyObject * obj0 = 0 ;
9384 char *kwnames[] = {
9385 (char *) "self", NULL
9386 };
9387
9388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
9389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9390 {
9391 PyThreadState* __tstate = wxPyBeginAllowThreads();
9392 result = (bool)(arg1)->RemoveIcon();
9393
9394 wxPyEndAllowThreads(__tstate);
9395 if (PyErr_Occurred()) SWIG_fail;
9396 }
9397 resultobj = PyInt_FromLong((long)result);
9398 return resultobj;
9399 fail:
9400 return NULL;
9401 }
9402
9403
9404 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
9405 PyObject *resultobj;
9406 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9407 wxMenu *arg2 = (wxMenu *) 0 ;
9408 bool result;
9409 PyObject * obj0 = 0 ;
9410 PyObject * obj1 = 0 ;
9411 char *kwnames[] = {
9412 (char *) "self",(char *) "menu", NULL
9413 };
9414
9415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
9416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9417 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9418 {
9419 PyThreadState* __tstate = wxPyBeginAllowThreads();
9420 result = (bool)(arg1)->PopupMenu(arg2);
9421
9422 wxPyEndAllowThreads(__tstate);
9423 if (PyErr_Occurred()) SWIG_fail;
9424 }
9425 resultobj = PyInt_FromLong((long)result);
9426 return resultobj;
9427 fail:
9428 return NULL;
9429 }
9430
9431
9432 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
9433 PyObject *obj;
9434 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9435 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
9436 Py_INCREF(obj);
9437 return Py_BuildValue((char *)"");
9438 }
9439 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9440 PyObject *resultobj;
9441 wxEventType arg1 ;
9442 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
9443 wxTaskBarIconEvent *result;
9444 PyObject * obj1 = 0 ;
9445 char *kwnames[] = {
9446 (char *) "evtType",(char *) "tbIcon", NULL
9447 };
9448
9449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iO:new_TaskBarIconEvent",kwnames,&arg1,&obj1)) goto fail;
9450 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9451 {
9452 PyThreadState* __tstate = wxPyBeginAllowThreads();
9453 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
9454
9455 wxPyEndAllowThreads(__tstate);
9456 if (PyErr_Occurred()) SWIG_fail;
9457 }
9458 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIconEvent, 1);
9459 return resultobj;
9460 fail:
9461 return NULL;
9462 }
9463
9464
9465 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
9466 PyObject *obj;
9467 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9468 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
9469 Py_INCREF(obj);
9470 return Py_BuildValue((char *)"");
9471 }
9472 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9473 PyObject *resultobj;
9474 wxColourData *result;
9475 char *kwnames[] = {
9476 NULL
9477 };
9478
9479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
9480 {
9481 PyThreadState* __tstate = wxPyBeginAllowThreads();
9482 result = (wxColourData *)new wxColourData();
9483
9484 wxPyEndAllowThreads(__tstate);
9485 if (PyErr_Occurred()) SWIG_fail;
9486 }
9487 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 1);
9488 return resultobj;
9489 fail:
9490 return NULL;
9491 }
9492
9493
9494 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9495 PyObject *resultobj;
9496 wxColourData *arg1 = (wxColourData *) 0 ;
9497 PyObject * obj0 = 0 ;
9498 char *kwnames[] = {
9499 (char *) "self", NULL
9500 };
9501
9502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
9503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9504 {
9505 PyThreadState* __tstate = wxPyBeginAllowThreads();
9506 delete arg1;
9507
9508 wxPyEndAllowThreads(__tstate);
9509 if (PyErr_Occurred()) SWIG_fail;
9510 }
9511 Py_INCREF(Py_None); resultobj = Py_None;
9512 return resultobj;
9513 fail:
9514 return NULL;
9515 }
9516
9517
9518 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9519 PyObject *resultobj;
9520 wxColourData *arg1 = (wxColourData *) 0 ;
9521 bool result;
9522 PyObject * obj0 = 0 ;
9523 char *kwnames[] = {
9524 (char *) "self", NULL
9525 };
9526
9527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
9528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9529 {
9530 PyThreadState* __tstate = wxPyBeginAllowThreads();
9531 result = (bool)(arg1)->GetChooseFull();
9532
9533 wxPyEndAllowThreads(__tstate);
9534 if (PyErr_Occurred()) SWIG_fail;
9535 }
9536 resultobj = PyInt_FromLong((long)result);
9537 return resultobj;
9538 fail:
9539 return NULL;
9540 }
9541
9542
9543 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9544 PyObject *resultobj;
9545 wxColourData *arg1 = (wxColourData *) 0 ;
9546 wxColour result;
9547 PyObject * obj0 = 0 ;
9548 char *kwnames[] = {
9549 (char *) "self", NULL
9550 };
9551
9552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
9553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9554 {
9555 PyThreadState* __tstate = wxPyBeginAllowThreads();
9556 result = (arg1)->GetColour();
9557
9558 wxPyEndAllowThreads(__tstate);
9559 if (PyErr_Occurred()) SWIG_fail;
9560 }
9561 {
9562 wxColour * resultptr;
9563 resultptr = new wxColour((wxColour &) result);
9564 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9565 }
9566 return resultobj;
9567 fail:
9568 return NULL;
9569 }
9570
9571
9572 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9573 PyObject *resultobj;
9574 wxColourData *arg1 = (wxColourData *) 0 ;
9575 int arg2 ;
9576 wxColour result;
9577 PyObject * obj0 = 0 ;
9578 char *kwnames[] = {
9579 (char *) "self",(char *) "i", NULL
9580 };
9581
9582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_GetCustomColour",kwnames,&obj0,&arg2)) goto fail;
9583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9584 {
9585 PyThreadState* __tstate = wxPyBeginAllowThreads();
9586 result = (arg1)->GetCustomColour(arg2);
9587
9588 wxPyEndAllowThreads(__tstate);
9589 if (PyErr_Occurred()) SWIG_fail;
9590 }
9591 {
9592 wxColour * resultptr;
9593 resultptr = new wxColour((wxColour &) result);
9594 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9595 }
9596 return resultobj;
9597 fail:
9598 return NULL;
9599 }
9600
9601
9602 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9603 PyObject *resultobj;
9604 wxColourData *arg1 = (wxColourData *) 0 ;
9605 int arg2 ;
9606 PyObject * obj0 = 0 ;
9607 char *kwnames[] = {
9608 (char *) "self",(char *) "flag", NULL
9609 };
9610
9611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_SetChooseFull",kwnames,&obj0,&arg2)) goto fail;
9612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9613 {
9614 PyThreadState* __tstate = wxPyBeginAllowThreads();
9615 (arg1)->SetChooseFull(arg2);
9616
9617 wxPyEndAllowThreads(__tstate);
9618 if (PyErr_Occurred()) SWIG_fail;
9619 }
9620 Py_INCREF(Py_None); resultobj = Py_None;
9621 return resultobj;
9622 fail:
9623 return NULL;
9624 }
9625
9626
9627 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9628 PyObject *resultobj;
9629 wxColourData *arg1 = (wxColourData *) 0 ;
9630 wxColour *arg2 = 0 ;
9631 wxColour temp2 ;
9632 PyObject * obj0 = 0 ;
9633 PyObject * obj1 = 0 ;
9634 char *kwnames[] = {
9635 (char *) "self",(char *) "colour", NULL
9636 };
9637
9638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
9639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9640 {
9641 arg2 = &temp2;
9642 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9643 }
9644 {
9645 PyThreadState* __tstate = wxPyBeginAllowThreads();
9646 (arg1)->SetColour((wxColour const &)*arg2);
9647
9648 wxPyEndAllowThreads(__tstate);
9649 if (PyErr_Occurred()) SWIG_fail;
9650 }
9651 Py_INCREF(Py_None); resultobj = Py_None;
9652 return resultobj;
9653 fail:
9654 return NULL;
9655 }
9656
9657
9658 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9659 PyObject *resultobj;
9660 wxColourData *arg1 = (wxColourData *) 0 ;
9661 int arg2 ;
9662 wxColour *arg3 = 0 ;
9663 wxColour temp3 ;
9664 PyObject * obj0 = 0 ;
9665 PyObject * obj2 = 0 ;
9666 char *kwnames[] = {
9667 (char *) "self",(char *) "i",(char *) "colour", NULL
9668 };
9669
9670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ColourData_SetCustomColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
9671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9672 {
9673 arg3 = &temp3;
9674 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9675 }
9676 {
9677 PyThreadState* __tstate = wxPyBeginAllowThreads();
9678 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
9679
9680 wxPyEndAllowThreads(__tstate);
9681 if (PyErr_Occurred()) SWIG_fail;
9682 }
9683 Py_INCREF(Py_None); resultobj = Py_None;
9684 return resultobj;
9685 fail:
9686 return NULL;
9687 }
9688
9689
9690 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
9691 PyObject *obj;
9692 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9693 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
9694 Py_INCREF(obj);
9695 return Py_BuildValue((char *)"");
9696 }
9697 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
9698 PyObject *resultobj;
9699 wxWindow *arg1 = (wxWindow *) 0 ;
9700 wxColourData *arg2 = (wxColourData *) NULL ;
9701 wxColourDialog *result;
9702 PyObject * obj0 = 0 ;
9703 PyObject * obj1 = 0 ;
9704 char *kwnames[] = {
9705 (char *) "parent",(char *) "data", NULL
9706 };
9707
9708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
9709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9710 if (obj1) {
9711 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9712 }
9713 {
9714 PyThreadState* __tstate = wxPyBeginAllowThreads();
9715 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
9716
9717 wxPyEndAllowThreads(__tstate);
9718 if (PyErr_Occurred()) SWIG_fail;
9719 }
9720 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourDialog, 1);
9721 return resultobj;
9722 fail:
9723 return NULL;
9724 }
9725
9726
9727 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9728 PyObject *resultobj;
9729 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
9730 wxColourData *result;
9731 PyObject * obj0 = 0 ;
9732 char *kwnames[] = {
9733 (char *) "self", NULL
9734 };
9735
9736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
9737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9738 {
9739 PyThreadState* __tstate = wxPyBeginAllowThreads();
9740 {
9741 wxColourData &_result_ref = (arg1)->GetColourData();
9742 result = (wxColourData *) &_result_ref;
9743 }
9744
9745 wxPyEndAllowThreads(__tstate);
9746 if (PyErr_Occurred()) SWIG_fail;
9747 }
9748 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 0);
9749 return resultobj;
9750 fail:
9751 return NULL;
9752 }
9753
9754
9755 static PyObject *_wrap_ColourDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
9756 PyObject *resultobj;
9757 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
9758 int result;
9759 PyObject * obj0 = 0 ;
9760 char *kwnames[] = {
9761 (char *) "self", NULL
9762 };
9763
9764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_ShowModal",kwnames,&obj0)) goto fail;
9765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9766 {
9767 PyThreadState* __tstate = wxPyBeginAllowThreads();
9768 result = (int)(arg1)->ShowModal();
9769
9770 wxPyEndAllowThreads(__tstate);
9771 if (PyErr_Occurred()) SWIG_fail;
9772 }
9773 resultobj = PyInt_FromLong((long)result);
9774 return resultobj;
9775 fail:
9776 return NULL;
9777 }
9778
9779
9780 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
9781 PyObject *obj;
9782 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9783 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
9784 Py_INCREF(obj);
9785 return Py_BuildValue((char *)"");
9786 }
9787 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
9788 PyObject *resultobj;
9789 wxWindow *arg1 = (wxWindow *) 0 ;
9790 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
9791 wxString *arg2 = (wxString *) &arg2_defvalue ;
9792 wxString const &arg3_defvalue = wxPyEmptyString ;
9793 wxString *arg3 = (wxString *) &arg3_defvalue ;
9794 long arg4 = (long) 0 ;
9795 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9796 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9797 wxSize const &arg6_defvalue = wxDefaultSize ;
9798 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9799 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
9800 wxString *arg7 = (wxString *) &arg7_defvalue ;
9801 wxDirDialog *result;
9802 bool temp2 = False ;
9803 bool temp3 = False ;
9804 wxPoint temp5 ;
9805 wxSize temp6 ;
9806 bool temp7 = False ;
9807 PyObject * obj0 = 0 ;
9808 PyObject * obj1 = 0 ;
9809 PyObject * obj2 = 0 ;
9810 PyObject * obj4 = 0 ;
9811 PyObject * obj5 = 0 ;
9812 PyObject * obj6 = 0 ;
9813 char *kwnames[] = {
9814 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
9815 };
9816
9817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOlOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&obj5,&obj6)) goto fail;
9818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9819 if (obj1) {
9820 {
9821 arg2 = wxString_in_helper(obj1);
9822 if (arg2 == NULL) SWIG_fail;
9823 temp2 = True;
9824 }
9825 }
9826 if (obj2) {
9827 {
9828 arg3 = wxString_in_helper(obj2);
9829 if (arg3 == NULL) SWIG_fail;
9830 temp3 = True;
9831 }
9832 }
9833 if (obj4) {
9834 {
9835 arg5 = &temp5;
9836 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9837 }
9838 }
9839 if (obj5) {
9840 {
9841 arg6 = &temp6;
9842 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9843 }
9844 }
9845 if (obj6) {
9846 {
9847 arg7 = wxString_in_helper(obj6);
9848 if (arg7 == NULL) SWIG_fail;
9849 temp7 = True;
9850 }
9851 }
9852 {
9853 PyThreadState* __tstate = wxPyBeginAllowThreads();
9854 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
9855
9856 wxPyEndAllowThreads(__tstate);
9857 if (PyErr_Occurred()) SWIG_fail;
9858 }
9859 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirDialog, 1);
9860 {
9861 if (temp2)
9862 delete arg2;
9863 }
9864 {
9865 if (temp3)
9866 delete arg3;
9867 }
9868 {
9869 if (temp7)
9870 delete arg7;
9871 }
9872 return resultobj;
9873 fail:
9874 {
9875 if (temp2)
9876 delete arg2;
9877 }
9878 {
9879 if (temp3)
9880 delete arg3;
9881 }
9882 {
9883 if (temp7)
9884 delete arg7;
9885 }
9886 return NULL;
9887 }
9888
9889
9890 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
9891 PyObject *resultobj;
9892 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9893 wxString result;
9894 PyObject * obj0 = 0 ;
9895 char *kwnames[] = {
9896 (char *) "self", NULL
9897 };
9898
9899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
9900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9901 {
9902 PyThreadState* __tstate = wxPyBeginAllowThreads();
9903 result = (arg1)->GetPath();
9904
9905 wxPyEndAllowThreads(__tstate);
9906 if (PyErr_Occurred()) SWIG_fail;
9907 }
9908 {
9909 #if wxUSE_UNICODE
9910 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9911 #else
9912 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9913 #endif
9914 }
9915 return resultobj;
9916 fail:
9917 return NULL;
9918 }
9919
9920
9921 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
9922 PyObject *resultobj;
9923 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9924 wxString result;
9925 PyObject * obj0 = 0 ;
9926 char *kwnames[] = {
9927 (char *) "self", NULL
9928 };
9929
9930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
9931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9932 {
9933 PyThreadState* __tstate = wxPyBeginAllowThreads();
9934 result = (arg1)->GetMessage();
9935
9936 wxPyEndAllowThreads(__tstate);
9937 if (PyErr_Occurred()) SWIG_fail;
9938 }
9939 {
9940 #if wxUSE_UNICODE
9941 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9942 #else
9943 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9944 #endif
9945 }
9946 return resultobj;
9947 fail:
9948 return NULL;
9949 }
9950
9951
9952 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9953 PyObject *resultobj;
9954 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9955 long result;
9956 PyObject * obj0 = 0 ;
9957 char *kwnames[] = {
9958 (char *) "self", NULL
9959 };
9960
9961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
9962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9963 {
9964 PyThreadState* __tstate = wxPyBeginAllowThreads();
9965 result = (long)(arg1)->GetStyle();
9966
9967 wxPyEndAllowThreads(__tstate);
9968 if (PyErr_Occurred()) SWIG_fail;
9969 }
9970 resultobj = PyInt_FromLong((long)result);
9971 return resultobj;
9972 fail:
9973 return NULL;
9974 }
9975
9976
9977 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
9978 PyObject *resultobj;
9979 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9980 wxString *arg2 = 0 ;
9981 bool temp2 = False ;
9982 PyObject * obj0 = 0 ;
9983 PyObject * obj1 = 0 ;
9984 char *kwnames[] = {
9985 (char *) "self",(char *) "message", NULL
9986 };
9987
9988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
9989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9990 {
9991 arg2 = wxString_in_helper(obj1);
9992 if (arg2 == NULL) SWIG_fail;
9993 temp2 = True;
9994 }
9995 {
9996 PyThreadState* __tstate = wxPyBeginAllowThreads();
9997 (arg1)->SetMessage((wxString const &)*arg2);
9998
9999 wxPyEndAllowThreads(__tstate);
10000 if (PyErr_Occurred()) SWIG_fail;
10001 }
10002 Py_INCREF(Py_None); resultobj = Py_None;
10003 {
10004 if (temp2)
10005 delete arg2;
10006 }
10007 return resultobj;
10008 fail:
10009 {
10010 if (temp2)
10011 delete arg2;
10012 }
10013 return NULL;
10014 }
10015
10016
10017 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10018 PyObject *resultobj;
10019 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10020 wxString *arg2 = 0 ;
10021 bool temp2 = False ;
10022 PyObject * obj0 = 0 ;
10023 PyObject * obj1 = 0 ;
10024 char *kwnames[] = {
10025 (char *) "self",(char *) "path", NULL
10026 };
10027
10028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
10029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10030 {
10031 arg2 = wxString_in_helper(obj1);
10032 if (arg2 == NULL) SWIG_fail;
10033 temp2 = True;
10034 }
10035 {
10036 PyThreadState* __tstate = wxPyBeginAllowThreads();
10037 (arg1)->SetPath((wxString const &)*arg2);
10038
10039 wxPyEndAllowThreads(__tstate);
10040 if (PyErr_Occurred()) SWIG_fail;
10041 }
10042 Py_INCREF(Py_None); resultobj = Py_None;
10043 {
10044 if (temp2)
10045 delete arg2;
10046 }
10047 return resultobj;
10048 fail:
10049 {
10050 if (temp2)
10051 delete arg2;
10052 }
10053 return NULL;
10054 }
10055
10056
10057 static PyObject *_wrap_DirDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
10058 PyObject *resultobj;
10059 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10060 int result;
10061 PyObject * obj0 = 0 ;
10062 char *kwnames[] = {
10063 (char *) "self", NULL
10064 };
10065
10066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_ShowModal",kwnames,&obj0)) goto fail;
10067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10068 {
10069 PyThreadState* __tstate = wxPyBeginAllowThreads();
10070 result = (int)(arg1)->ShowModal();
10071
10072 wxPyEndAllowThreads(__tstate);
10073 if (PyErr_Occurred()) SWIG_fail;
10074 }
10075 resultobj = PyInt_FromLong((long)result);
10076 return resultobj;
10077 fail:
10078 return NULL;
10079 }
10080
10081
10082 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
10083 PyObject *obj;
10084 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10085 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
10086 Py_INCREF(obj);
10087 return Py_BuildValue((char *)"");
10088 }
10089 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10090 PyObject *resultobj;
10091 wxWindow *arg1 = (wxWindow *) 0 ;
10092 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
10093 wxString *arg2 = (wxString *) &arg2_defvalue ;
10094 wxString const &arg3_defvalue = wxPyEmptyString ;
10095 wxString *arg3 = (wxString *) &arg3_defvalue ;
10096 wxString const &arg4_defvalue = wxPyEmptyString ;
10097 wxString *arg4 = (wxString *) &arg4_defvalue ;
10098 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
10099 wxString *arg5 = (wxString *) &arg5_defvalue ;
10100 long arg6 = (long) 0 ;
10101 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10102 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10103 wxFileDialog *result;
10104 bool temp2 = False ;
10105 bool temp3 = False ;
10106 bool temp4 = False ;
10107 bool temp5 = False ;
10108 wxPoint temp7 ;
10109 PyObject * obj0 = 0 ;
10110 PyObject * obj1 = 0 ;
10111 PyObject * obj2 = 0 ;
10112 PyObject * obj3 = 0 ;
10113 PyObject * obj4 = 0 ;
10114 PyObject * obj6 = 0 ;
10115 char *kwnames[] = {
10116 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
10117 };
10118
10119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOlO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
10120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10121 if (obj1) {
10122 {
10123 arg2 = wxString_in_helper(obj1);
10124 if (arg2 == NULL) SWIG_fail;
10125 temp2 = True;
10126 }
10127 }
10128 if (obj2) {
10129 {
10130 arg3 = wxString_in_helper(obj2);
10131 if (arg3 == NULL) SWIG_fail;
10132 temp3 = True;
10133 }
10134 }
10135 if (obj3) {
10136 {
10137 arg4 = wxString_in_helper(obj3);
10138 if (arg4 == NULL) SWIG_fail;
10139 temp4 = True;
10140 }
10141 }
10142 if (obj4) {
10143 {
10144 arg5 = wxString_in_helper(obj4);
10145 if (arg5 == NULL) SWIG_fail;
10146 temp5 = True;
10147 }
10148 }
10149 if (obj6) {
10150 {
10151 arg7 = &temp7;
10152 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10153 }
10154 }
10155 {
10156 PyThreadState* __tstate = wxPyBeginAllowThreads();
10157 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
10158
10159 wxPyEndAllowThreads(__tstate);
10160 if (PyErr_Occurred()) SWIG_fail;
10161 }
10162 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDialog, 1);
10163 {
10164 if (temp2)
10165 delete arg2;
10166 }
10167 {
10168 if (temp3)
10169 delete arg3;
10170 }
10171 {
10172 if (temp4)
10173 delete arg4;
10174 }
10175 {
10176 if (temp5)
10177 delete arg5;
10178 }
10179 return resultobj;
10180 fail:
10181 {
10182 if (temp2)
10183 delete arg2;
10184 }
10185 {
10186 if (temp3)
10187 delete arg3;
10188 }
10189 {
10190 if (temp4)
10191 delete arg4;
10192 }
10193 {
10194 if (temp5)
10195 delete arg5;
10196 }
10197 return NULL;
10198 }
10199
10200
10201 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10202 PyObject *resultobj;
10203 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10204 wxString *arg2 = 0 ;
10205 bool temp2 = False ;
10206 PyObject * obj0 = 0 ;
10207 PyObject * obj1 = 0 ;
10208 char *kwnames[] = {
10209 (char *) "self",(char *) "message", NULL
10210 };
10211
10212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
10213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10214 {
10215 arg2 = wxString_in_helper(obj1);
10216 if (arg2 == NULL) SWIG_fail;
10217 temp2 = True;
10218 }
10219 {
10220 PyThreadState* __tstate = wxPyBeginAllowThreads();
10221 (arg1)->SetMessage((wxString const &)*arg2);
10222
10223 wxPyEndAllowThreads(__tstate);
10224 if (PyErr_Occurred()) SWIG_fail;
10225 }
10226 Py_INCREF(Py_None); resultobj = Py_None;
10227 {
10228 if (temp2)
10229 delete arg2;
10230 }
10231 return resultobj;
10232 fail:
10233 {
10234 if (temp2)
10235 delete arg2;
10236 }
10237 return NULL;
10238 }
10239
10240
10241 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10242 PyObject *resultobj;
10243 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10244 wxString *arg2 = 0 ;
10245 bool temp2 = False ;
10246 PyObject * obj0 = 0 ;
10247 PyObject * obj1 = 0 ;
10248 char *kwnames[] = {
10249 (char *) "self",(char *) "path", NULL
10250 };
10251
10252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
10253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10254 {
10255 arg2 = wxString_in_helper(obj1);
10256 if (arg2 == NULL) SWIG_fail;
10257 temp2 = True;
10258 }
10259 {
10260 PyThreadState* __tstate = wxPyBeginAllowThreads();
10261 (arg1)->SetPath((wxString const &)*arg2);
10262
10263 wxPyEndAllowThreads(__tstate);
10264 if (PyErr_Occurred()) SWIG_fail;
10265 }
10266 Py_INCREF(Py_None); resultobj = Py_None;
10267 {
10268 if (temp2)
10269 delete arg2;
10270 }
10271 return resultobj;
10272 fail:
10273 {
10274 if (temp2)
10275 delete arg2;
10276 }
10277 return NULL;
10278 }
10279
10280
10281 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10282 PyObject *resultobj;
10283 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10284 wxString *arg2 = 0 ;
10285 bool temp2 = False ;
10286 PyObject * obj0 = 0 ;
10287 PyObject * obj1 = 0 ;
10288 char *kwnames[] = {
10289 (char *) "self",(char *) "dir", NULL
10290 };
10291
10292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
10293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10294 {
10295 arg2 = wxString_in_helper(obj1);
10296 if (arg2 == NULL) SWIG_fail;
10297 temp2 = True;
10298 }
10299 {
10300 PyThreadState* __tstate = wxPyBeginAllowThreads();
10301 (arg1)->SetDirectory((wxString const &)*arg2);
10302
10303 wxPyEndAllowThreads(__tstate);
10304 if (PyErr_Occurred()) SWIG_fail;
10305 }
10306 Py_INCREF(Py_None); resultobj = Py_None;
10307 {
10308 if (temp2)
10309 delete arg2;
10310 }
10311 return resultobj;
10312 fail:
10313 {
10314 if (temp2)
10315 delete arg2;
10316 }
10317 return NULL;
10318 }
10319
10320
10321 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10322 PyObject *resultobj;
10323 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10324 wxString *arg2 = 0 ;
10325 bool temp2 = False ;
10326 PyObject * obj0 = 0 ;
10327 PyObject * obj1 = 0 ;
10328 char *kwnames[] = {
10329 (char *) "self",(char *) "name", NULL
10330 };
10331
10332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
10333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10334 {
10335 arg2 = wxString_in_helper(obj1);
10336 if (arg2 == NULL) SWIG_fail;
10337 temp2 = True;
10338 }
10339 {
10340 PyThreadState* __tstate = wxPyBeginAllowThreads();
10341 (arg1)->SetFilename((wxString const &)*arg2);
10342
10343 wxPyEndAllowThreads(__tstate);
10344 if (PyErr_Occurred()) SWIG_fail;
10345 }
10346 Py_INCREF(Py_None); resultobj = Py_None;
10347 {
10348 if (temp2)
10349 delete arg2;
10350 }
10351 return resultobj;
10352 fail:
10353 {
10354 if (temp2)
10355 delete arg2;
10356 }
10357 return NULL;
10358 }
10359
10360
10361 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10362 PyObject *resultobj;
10363 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10364 wxString *arg2 = 0 ;
10365 bool temp2 = False ;
10366 PyObject * obj0 = 0 ;
10367 PyObject * obj1 = 0 ;
10368 char *kwnames[] = {
10369 (char *) "self",(char *) "wildCard", NULL
10370 };
10371
10372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
10373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10374 {
10375 arg2 = wxString_in_helper(obj1);
10376 if (arg2 == NULL) SWIG_fail;
10377 temp2 = True;
10378 }
10379 {
10380 PyThreadState* __tstate = wxPyBeginAllowThreads();
10381 (arg1)->SetWildcard((wxString const &)*arg2);
10382
10383 wxPyEndAllowThreads(__tstate);
10384 if (PyErr_Occurred()) SWIG_fail;
10385 }
10386 Py_INCREF(Py_None); resultobj = Py_None;
10387 {
10388 if (temp2)
10389 delete arg2;
10390 }
10391 return resultobj;
10392 fail:
10393 {
10394 if (temp2)
10395 delete arg2;
10396 }
10397 return NULL;
10398 }
10399
10400
10401 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10402 PyObject *resultobj;
10403 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10404 long arg2 ;
10405 PyObject * obj0 = 0 ;
10406 char *kwnames[] = {
10407 (char *) "self",(char *) "style", NULL
10408 };
10409
10410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:FileDialog_SetStyle",kwnames,&obj0,&arg2)) goto fail;
10411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10412 {
10413 PyThreadState* __tstate = wxPyBeginAllowThreads();
10414 (arg1)->SetStyle(arg2);
10415
10416 wxPyEndAllowThreads(__tstate);
10417 if (PyErr_Occurred()) SWIG_fail;
10418 }
10419 Py_INCREF(Py_None); resultobj = Py_None;
10420 return resultobj;
10421 fail:
10422 return NULL;
10423 }
10424
10425
10426 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10427 PyObject *resultobj;
10428 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10429 int arg2 ;
10430 PyObject * obj0 = 0 ;
10431 char *kwnames[] = {
10432 (char *) "self",(char *) "filterIndex", NULL
10433 };
10434
10435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileDialog_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
10436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10437 {
10438 PyThreadState* __tstate = wxPyBeginAllowThreads();
10439 (arg1)->SetFilterIndex(arg2);
10440
10441 wxPyEndAllowThreads(__tstate);
10442 if (PyErr_Occurred()) SWIG_fail;
10443 }
10444 Py_INCREF(Py_None); resultobj = Py_None;
10445 return resultobj;
10446 fail:
10447 return NULL;
10448 }
10449
10450
10451 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10452 PyObject *resultobj;
10453 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10454 wxString result;
10455 PyObject * obj0 = 0 ;
10456 char *kwnames[] = {
10457 (char *) "self", NULL
10458 };
10459
10460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
10461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10462 {
10463 PyThreadState* __tstate = wxPyBeginAllowThreads();
10464 result = ((wxFileDialog const *)arg1)->GetMessage();
10465
10466 wxPyEndAllowThreads(__tstate);
10467 if (PyErr_Occurred()) SWIG_fail;
10468 }
10469 {
10470 #if wxUSE_UNICODE
10471 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10472 #else
10473 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10474 #endif
10475 }
10476 return resultobj;
10477 fail:
10478 return NULL;
10479 }
10480
10481
10482 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10483 PyObject *resultobj;
10484 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10485 wxString result;
10486 PyObject * obj0 = 0 ;
10487 char *kwnames[] = {
10488 (char *) "self", NULL
10489 };
10490
10491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
10492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10493 {
10494 PyThreadState* __tstate = wxPyBeginAllowThreads();
10495 result = ((wxFileDialog const *)arg1)->GetPath();
10496
10497 wxPyEndAllowThreads(__tstate);
10498 if (PyErr_Occurred()) SWIG_fail;
10499 }
10500 {
10501 #if wxUSE_UNICODE
10502 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10503 #else
10504 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10505 #endif
10506 }
10507 return resultobj;
10508 fail:
10509 return NULL;
10510 }
10511
10512
10513 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10514 PyObject *resultobj;
10515 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10516 wxString result;
10517 PyObject * obj0 = 0 ;
10518 char *kwnames[] = {
10519 (char *) "self", NULL
10520 };
10521
10522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
10523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10524 {
10525 PyThreadState* __tstate = wxPyBeginAllowThreads();
10526 result = ((wxFileDialog const *)arg1)->GetDirectory();
10527
10528 wxPyEndAllowThreads(__tstate);
10529 if (PyErr_Occurred()) SWIG_fail;
10530 }
10531 {
10532 #if wxUSE_UNICODE
10533 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10534 #else
10535 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10536 #endif
10537 }
10538 return resultobj;
10539 fail:
10540 return NULL;
10541 }
10542
10543
10544 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10545 PyObject *resultobj;
10546 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10547 wxString result;
10548 PyObject * obj0 = 0 ;
10549 char *kwnames[] = {
10550 (char *) "self", NULL
10551 };
10552
10553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
10554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10555 {
10556 PyThreadState* __tstate = wxPyBeginAllowThreads();
10557 result = ((wxFileDialog const *)arg1)->GetFilename();
10558
10559 wxPyEndAllowThreads(__tstate);
10560 if (PyErr_Occurred()) SWIG_fail;
10561 }
10562 {
10563 #if wxUSE_UNICODE
10564 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10565 #else
10566 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10567 #endif
10568 }
10569 return resultobj;
10570 fail:
10571 return NULL;
10572 }
10573
10574
10575 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10576 PyObject *resultobj;
10577 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10578 wxString result;
10579 PyObject * obj0 = 0 ;
10580 char *kwnames[] = {
10581 (char *) "self", NULL
10582 };
10583
10584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
10585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10586 {
10587 PyThreadState* __tstate = wxPyBeginAllowThreads();
10588 result = ((wxFileDialog const *)arg1)->GetWildcard();
10589
10590 wxPyEndAllowThreads(__tstate);
10591 if (PyErr_Occurred()) SWIG_fail;
10592 }
10593 {
10594 #if wxUSE_UNICODE
10595 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10596 #else
10597 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10598 #endif
10599 }
10600 return resultobj;
10601 fail:
10602 return NULL;
10603 }
10604
10605
10606 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10607 PyObject *resultobj;
10608 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10609 long result;
10610 PyObject * obj0 = 0 ;
10611 char *kwnames[] = {
10612 (char *) "self", NULL
10613 };
10614
10615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
10616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10617 {
10618 PyThreadState* __tstate = wxPyBeginAllowThreads();
10619 result = (long)((wxFileDialog const *)arg1)->GetStyle();
10620
10621 wxPyEndAllowThreads(__tstate);
10622 if (PyErr_Occurred()) SWIG_fail;
10623 }
10624 resultobj = PyInt_FromLong((long)result);
10625 return resultobj;
10626 fail:
10627 return NULL;
10628 }
10629
10630
10631 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10632 PyObject *resultobj;
10633 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10634 int result;
10635 PyObject * obj0 = 0 ;
10636 char *kwnames[] = {
10637 (char *) "self", NULL
10638 };
10639
10640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
10641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10642 {
10643 PyThreadState* __tstate = wxPyBeginAllowThreads();
10644 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
10645
10646 wxPyEndAllowThreads(__tstate);
10647 if (PyErr_Occurred()) SWIG_fail;
10648 }
10649 resultobj = PyInt_FromLong((long)result);
10650 return resultobj;
10651 fail:
10652 return NULL;
10653 }
10654
10655
10656 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
10657 PyObject *resultobj;
10658 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10659 PyObject *result;
10660 PyObject * obj0 = 0 ;
10661 char *kwnames[] = {
10662 (char *) "self", NULL
10663 };
10664
10665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
10666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10667 {
10668 PyThreadState* __tstate = wxPyBeginAllowThreads();
10669 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
10670
10671 wxPyEndAllowThreads(__tstate);
10672 if (PyErr_Occurred()) SWIG_fail;
10673 }
10674 resultobj = result;
10675 return resultobj;
10676 fail:
10677 return NULL;
10678 }
10679
10680
10681 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
10682 PyObject *resultobj;
10683 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10684 PyObject *result;
10685 PyObject * obj0 = 0 ;
10686 char *kwnames[] = {
10687 (char *) "self", NULL
10688 };
10689
10690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
10691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10692 {
10693 PyThreadState* __tstate = wxPyBeginAllowThreads();
10694 result = (PyObject *)wxFileDialog_GetPaths(arg1);
10695
10696 wxPyEndAllowThreads(__tstate);
10697 if (PyErr_Occurred()) SWIG_fail;
10698 }
10699 resultobj = result;
10700 return resultobj;
10701 fail:
10702 return NULL;
10703 }
10704
10705
10706 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
10707 PyObject *obj;
10708 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10709 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
10710 Py_INCREF(obj);
10711 return Py_BuildValue((char *)"");
10712 }
10713 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10714 PyObject *resultobj;
10715 wxWindow *arg1 = (wxWindow *) 0 ;
10716 wxString *arg2 = 0 ;
10717 wxString *arg3 = 0 ;
10718 int arg4 ;
10719 wxString *arg5 = (wxString *) 0 ;
10720 long arg6 = (long) wxCHOICEDLG_STYLE ;
10721 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10722 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10723 wxMultiChoiceDialog *result;
10724 bool temp2 = False ;
10725 bool temp3 = False ;
10726 wxPoint temp7 ;
10727 PyObject * obj0 = 0 ;
10728 PyObject * obj1 = 0 ;
10729 PyObject * obj2 = 0 ;
10730 PyObject * obj4 = 0 ;
10731 PyObject * obj6 = 0 ;
10732 char *kwnames[] = {
10733 (char *) "parent",(char *) "message",(char *) "caption",(char *) "LCOUNT",(char *) "choices",(char *) "style",(char *) "pos", NULL
10734 };
10735
10736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiO|lO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&arg6,&obj6)) goto fail;
10737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10738 {
10739 arg2 = wxString_in_helper(obj1);
10740 if (arg2 == NULL) SWIG_fail;
10741 temp2 = True;
10742 }
10743 {
10744 arg3 = wxString_in_helper(obj2);
10745 if (arg3 == NULL) SWIG_fail;
10746 temp3 = True;
10747 }
10748 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10749 if (obj6) {
10750 {
10751 arg7 = &temp7;
10752 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10753 }
10754 }
10755 {
10756 PyThreadState* __tstate = wxPyBeginAllowThreads();
10757 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
10758
10759 wxPyEndAllowThreads(__tstate);
10760 if (PyErr_Occurred()) SWIG_fail;
10761 }
10762 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMultiChoiceDialog, 1);
10763 {
10764 if (temp2)
10765 delete arg2;
10766 }
10767 {
10768 if (temp3)
10769 delete arg3;
10770 }
10771 return resultobj;
10772 fail:
10773 {
10774 if (temp2)
10775 delete arg2;
10776 }
10777 {
10778 if (temp3)
10779 delete arg3;
10780 }
10781 return NULL;
10782 }
10783
10784
10785 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
10786 PyObject *resultobj;
10787 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
10788 wxArrayInt *arg2 = 0 ;
10789 PyObject * obj0 = 0 ;
10790 PyObject * obj1 = 0 ;
10791 char *kwnames[] = {
10792 (char *) "self",(char *) "selections", NULL
10793 };
10794
10795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
10796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10797 {
10798 if (! PySequence_Check(obj1)) {
10799 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10800 SWIG_fail;
10801 }
10802 arg2 = new wxArrayInt;
10803 int i, len=PySequence_Length(obj1);
10804 for (i=0; i<len; i++) {
10805 PyObject* item = PySequence_GetItem(obj1, i);
10806 PyObject* number = PyNumber_Int(item);
10807 arg2->Add(PyInt_AS_LONG(number));
10808 Py_DECREF(item);
10809 Py_DECREF(number);
10810 }
10811 }
10812 {
10813 PyThreadState* __tstate = wxPyBeginAllowThreads();
10814 (arg1)->SetSelections((wxArrayInt const &)*arg2);
10815
10816 wxPyEndAllowThreads(__tstate);
10817 if (PyErr_Occurred()) SWIG_fail;
10818 }
10819 Py_INCREF(Py_None); resultobj = Py_None;
10820 {
10821 if (arg2) delete arg2;
10822 }
10823 return resultobj;
10824 fail:
10825 {
10826 if (arg2) delete arg2;
10827 }
10828 return NULL;
10829 }
10830
10831
10832 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
10833 PyObject *resultobj;
10834 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
10835 PyObject *result;
10836 PyObject * obj0 = 0 ;
10837 char *kwnames[] = {
10838 (char *) "self", NULL
10839 };
10840
10841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
10842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10843 {
10844 PyThreadState* __tstate = wxPyBeginAllowThreads();
10845 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
10846
10847 wxPyEndAllowThreads(__tstate);
10848 if (PyErr_Occurred()) SWIG_fail;
10849 }
10850 resultobj = result;
10851 return resultobj;
10852 fail:
10853 return NULL;
10854 }
10855
10856
10857 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
10858 PyObject *obj;
10859 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10860 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
10861 Py_INCREF(obj);
10862 return Py_BuildValue((char *)"");
10863 }
10864 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10865 PyObject *resultobj;
10866 wxWindow *arg1 = (wxWindow *) 0 ;
10867 wxString *arg2 = 0 ;
10868 wxString *arg3 = 0 ;
10869 int arg4 ;
10870 wxString *arg5 = (wxString *) 0 ;
10871 long arg6 = (long) wxCHOICEDLG_STYLE ;
10872 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10873 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10874 wxSingleChoiceDialog *result;
10875 bool temp2 = False ;
10876 bool temp3 = False ;
10877 wxPoint temp6 ;
10878 PyObject * obj0 = 0 ;
10879 PyObject * obj1 = 0 ;
10880 PyObject * obj2 = 0 ;
10881 PyObject * obj3 = 0 ;
10882 PyObject * obj5 = 0 ;
10883 char *kwnames[] = {
10884 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
10885 };
10886
10887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|lO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&obj5)) goto fail;
10888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10889 {
10890 arg2 = wxString_in_helper(obj1);
10891 if (arg2 == NULL) SWIG_fail;
10892 temp2 = True;
10893 }
10894 {
10895 arg3 = wxString_in_helper(obj2);
10896 if (arg3 == NULL) SWIG_fail;
10897 temp3 = True;
10898 }
10899 {
10900 arg4 = PyList_Size(obj3);
10901 arg5 = wxString_LIST_helper(obj3);
10902 if (arg5 == NULL) SWIG_fail;
10903 }
10904 if (obj5) {
10905 {
10906 arg7 = &temp6;
10907 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
10908 }
10909 }
10910 {
10911 PyThreadState* __tstate = wxPyBeginAllowThreads();
10912 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
10913
10914 wxPyEndAllowThreads(__tstate);
10915 if (PyErr_Occurred()) SWIG_fail;
10916 }
10917 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleChoiceDialog, 1);
10918 {
10919 if (temp2)
10920 delete arg2;
10921 }
10922 {
10923 if (temp3)
10924 delete arg3;
10925 }
10926 {
10927 if (arg5) delete [] arg5;
10928 }
10929 return resultobj;
10930 fail:
10931 {
10932 if (temp2)
10933 delete arg2;
10934 }
10935 {
10936 if (temp3)
10937 delete arg3;
10938 }
10939 {
10940 if (arg5) delete [] arg5;
10941 }
10942 return NULL;
10943 }
10944
10945
10946 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10947 PyObject *resultobj;
10948 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
10949 int result;
10950 PyObject * obj0 = 0 ;
10951 char *kwnames[] = {
10952 (char *) "self", NULL
10953 };
10954
10955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
10956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10957 {
10958 PyThreadState* __tstate = wxPyBeginAllowThreads();
10959 result = (int)(arg1)->GetSelection();
10960
10961 wxPyEndAllowThreads(__tstate);
10962 if (PyErr_Occurred()) SWIG_fail;
10963 }
10964 resultobj = PyInt_FromLong((long)result);
10965 return resultobj;
10966 fail:
10967 return NULL;
10968 }
10969
10970
10971 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10972 PyObject *resultobj;
10973 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
10974 wxString result;
10975 PyObject * obj0 = 0 ;
10976 char *kwnames[] = {
10977 (char *) "self", NULL
10978 };
10979
10980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
10981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10982 {
10983 PyThreadState* __tstate = wxPyBeginAllowThreads();
10984 result = (arg1)->GetStringSelection();
10985
10986 wxPyEndAllowThreads(__tstate);
10987 if (PyErr_Occurred()) SWIG_fail;
10988 }
10989 {
10990 #if wxUSE_UNICODE
10991 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10992 #else
10993 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10994 #endif
10995 }
10996 return resultobj;
10997 fail:
10998 return NULL;
10999 }
11000
11001
11002 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11003 PyObject *resultobj;
11004 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11005 int arg2 ;
11006 PyObject * obj0 = 0 ;
11007 char *kwnames[] = {
11008 (char *) "self",(char *) "sel", NULL
11009 };
11010
11011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SingleChoiceDialog_SetSelection",kwnames,&obj0,&arg2)) goto fail;
11012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11013 {
11014 PyThreadState* __tstate = wxPyBeginAllowThreads();
11015 (arg1)->SetSelection(arg2);
11016
11017 wxPyEndAllowThreads(__tstate);
11018 if (PyErr_Occurred()) SWIG_fail;
11019 }
11020 Py_INCREF(Py_None); resultobj = Py_None;
11021 return resultobj;
11022 fail:
11023 return NULL;
11024 }
11025
11026
11027 static PyObject *_wrap_SingleChoiceDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11028 PyObject *resultobj;
11029 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11030 int result;
11031 PyObject * obj0 = 0 ;
11032 char *kwnames[] = {
11033 (char *) "self", NULL
11034 };
11035
11036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_ShowModal",kwnames,&obj0)) goto fail;
11037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11038 {
11039 PyThreadState* __tstate = wxPyBeginAllowThreads();
11040 result = (int)(arg1)->ShowModal();
11041
11042 wxPyEndAllowThreads(__tstate);
11043 if (PyErr_Occurred()) SWIG_fail;
11044 }
11045 resultobj = PyInt_FromLong((long)result);
11046 return resultobj;
11047 fail:
11048 return NULL;
11049 }
11050
11051
11052 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
11053 PyObject *obj;
11054 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11055 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
11056 Py_INCREF(obj);
11057 return Py_BuildValue((char *)"");
11058 }
11059 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11060 PyObject *resultobj;
11061 wxWindow *arg1 = (wxWindow *) 0 ;
11062 wxString *arg2 = 0 ;
11063 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
11064 wxString *arg3 = (wxString *) &arg3_defvalue ;
11065 wxString const &arg4_defvalue = wxPyEmptyString ;
11066 wxString *arg4 = (wxString *) &arg4_defvalue ;
11067 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
11068 wxPoint const &arg6_defvalue = wxDefaultPosition ;
11069 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
11070 wxTextEntryDialog *result;
11071 bool temp2 = False ;
11072 bool temp3 = False ;
11073 bool temp4 = False ;
11074 wxPoint temp6 ;
11075 PyObject * obj0 = 0 ;
11076 PyObject * obj1 = 0 ;
11077 PyObject * obj2 = 0 ;
11078 PyObject * obj3 = 0 ;
11079 PyObject * obj5 = 0 ;
11080 char *kwnames[] = {
11081 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
11082 };
11083
11084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
11085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11086 {
11087 arg2 = wxString_in_helper(obj1);
11088 if (arg2 == NULL) SWIG_fail;
11089 temp2 = True;
11090 }
11091 if (obj2) {
11092 {
11093 arg3 = wxString_in_helper(obj2);
11094 if (arg3 == NULL) SWIG_fail;
11095 temp3 = True;
11096 }
11097 }
11098 if (obj3) {
11099 {
11100 arg4 = wxString_in_helper(obj3);
11101 if (arg4 == NULL) SWIG_fail;
11102 temp4 = True;
11103 }
11104 }
11105 if (obj5) {
11106 {
11107 arg6 = &temp6;
11108 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
11109 }
11110 }
11111 {
11112 PyThreadState* __tstate = wxPyBeginAllowThreads();
11113 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
11114
11115 wxPyEndAllowThreads(__tstate);
11116 if (PyErr_Occurred()) SWIG_fail;
11117 }
11118 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextEntryDialog, 1);
11119 {
11120 if (temp2)
11121 delete arg2;
11122 }
11123 {
11124 if (temp3)
11125 delete arg3;
11126 }
11127 {
11128 if (temp4)
11129 delete arg4;
11130 }
11131 return resultobj;
11132 fail:
11133 {
11134 if (temp2)
11135 delete arg2;
11136 }
11137 {
11138 if (temp3)
11139 delete arg3;
11140 }
11141 {
11142 if (temp4)
11143 delete arg4;
11144 }
11145 return NULL;
11146 }
11147
11148
11149 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11150 PyObject *resultobj;
11151 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11152 wxString result;
11153 PyObject * obj0 = 0 ;
11154 char *kwnames[] = {
11155 (char *) "self", NULL
11156 };
11157
11158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
11159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11160 {
11161 PyThreadState* __tstate = wxPyBeginAllowThreads();
11162 result = (arg1)->GetValue();
11163
11164 wxPyEndAllowThreads(__tstate);
11165 if (PyErr_Occurred()) SWIG_fail;
11166 }
11167 {
11168 #if wxUSE_UNICODE
11169 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11170 #else
11171 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11172 #endif
11173 }
11174 return resultobj;
11175 fail:
11176 return NULL;
11177 }
11178
11179
11180 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11181 PyObject *resultobj;
11182 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11183 wxString *arg2 = 0 ;
11184 bool temp2 = False ;
11185 PyObject * obj0 = 0 ;
11186 PyObject * obj1 = 0 ;
11187 char *kwnames[] = {
11188 (char *) "self",(char *) "value", NULL
11189 };
11190
11191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
11192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11193 {
11194 arg2 = wxString_in_helper(obj1);
11195 if (arg2 == NULL) SWIG_fail;
11196 temp2 = True;
11197 }
11198 {
11199 PyThreadState* __tstate = wxPyBeginAllowThreads();
11200 (arg1)->SetValue((wxString const &)*arg2);
11201
11202 wxPyEndAllowThreads(__tstate);
11203 if (PyErr_Occurred()) SWIG_fail;
11204 }
11205 Py_INCREF(Py_None); resultobj = Py_None;
11206 {
11207 if (temp2)
11208 delete arg2;
11209 }
11210 return resultobj;
11211 fail:
11212 {
11213 if (temp2)
11214 delete arg2;
11215 }
11216 return NULL;
11217 }
11218
11219
11220 static PyObject *_wrap_TextEntryDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11221 PyObject *resultobj;
11222 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11223 int result;
11224 PyObject * obj0 = 0 ;
11225 char *kwnames[] = {
11226 (char *) "self", NULL
11227 };
11228
11229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_ShowModal",kwnames,&obj0)) goto fail;
11230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11231 {
11232 PyThreadState* __tstate = wxPyBeginAllowThreads();
11233 result = (int)(arg1)->ShowModal();
11234
11235 wxPyEndAllowThreads(__tstate);
11236 if (PyErr_Occurred()) SWIG_fail;
11237 }
11238 resultobj = PyInt_FromLong((long)result);
11239 return resultobj;
11240 fail:
11241 return NULL;
11242 }
11243
11244
11245 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
11246 PyObject *obj;
11247 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11248 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
11249 Py_INCREF(obj);
11250 return Py_BuildValue((char *)"");
11251 }
11252 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11253 PyObject *resultobj;
11254 wxFontData *result;
11255 char *kwnames[] = {
11256 NULL
11257 };
11258
11259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
11260 {
11261 PyThreadState* __tstate = wxPyBeginAllowThreads();
11262 result = (wxFontData *)new wxFontData();
11263
11264 wxPyEndAllowThreads(__tstate);
11265 if (PyErr_Occurred()) SWIG_fail;
11266 }
11267 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 1);
11268 return resultobj;
11269 fail:
11270 return NULL;
11271 }
11272
11273
11274 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11275 PyObject *resultobj;
11276 wxFontData *arg1 = (wxFontData *) 0 ;
11277 PyObject * obj0 = 0 ;
11278 char *kwnames[] = {
11279 (char *) "self", NULL
11280 };
11281
11282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
11283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11284 {
11285 PyThreadState* __tstate = wxPyBeginAllowThreads();
11286 delete arg1;
11287
11288 wxPyEndAllowThreads(__tstate);
11289 if (PyErr_Occurred()) SWIG_fail;
11290 }
11291 Py_INCREF(Py_None); resultobj = Py_None;
11292 return resultobj;
11293 fail:
11294 return NULL;
11295 }
11296
11297
11298 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11299 PyObject *resultobj;
11300 wxFontData *arg1 = (wxFontData *) 0 ;
11301 bool arg2 ;
11302 PyObject * obj0 = 0 ;
11303 PyObject * obj1 = 0 ;
11304 char *kwnames[] = {
11305 (char *) "self",(char *) "enable", NULL
11306 };
11307
11308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
11309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11310 arg2 = PyInt_AsLong(obj1) ? true : false;
11311 if (PyErr_Occurred()) SWIG_fail;
11312 {
11313 PyThreadState* __tstate = wxPyBeginAllowThreads();
11314 (arg1)->EnableEffects(arg2);
11315
11316 wxPyEndAllowThreads(__tstate);
11317 if (PyErr_Occurred()) SWIG_fail;
11318 }
11319 Py_INCREF(Py_None); resultobj = Py_None;
11320 return resultobj;
11321 fail:
11322 return NULL;
11323 }
11324
11325
11326 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11327 PyObject *resultobj;
11328 wxFontData *arg1 = (wxFontData *) 0 ;
11329 bool result;
11330 PyObject * obj0 = 0 ;
11331 char *kwnames[] = {
11332 (char *) "self", NULL
11333 };
11334
11335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
11336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11337 {
11338 PyThreadState* __tstate = wxPyBeginAllowThreads();
11339 result = (bool)(arg1)->GetAllowSymbols();
11340
11341 wxPyEndAllowThreads(__tstate);
11342 if (PyErr_Occurred()) SWIG_fail;
11343 }
11344 resultobj = PyInt_FromLong((long)result);
11345 return resultobj;
11346 fail:
11347 return NULL;
11348 }
11349
11350
11351 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11352 PyObject *resultobj;
11353 wxFontData *arg1 = (wxFontData *) 0 ;
11354 wxColour result;
11355 PyObject * obj0 = 0 ;
11356 char *kwnames[] = {
11357 (char *) "self", NULL
11358 };
11359
11360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
11361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11362 {
11363 PyThreadState* __tstate = wxPyBeginAllowThreads();
11364 result = (arg1)->GetColour();
11365
11366 wxPyEndAllowThreads(__tstate);
11367 if (PyErr_Occurred()) SWIG_fail;
11368 }
11369 {
11370 wxColour * resultptr;
11371 resultptr = new wxColour((wxColour &) result);
11372 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
11373 }
11374 return resultobj;
11375 fail:
11376 return NULL;
11377 }
11378
11379
11380 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11381 PyObject *resultobj;
11382 wxFontData *arg1 = (wxFontData *) 0 ;
11383 wxFont result;
11384 PyObject * obj0 = 0 ;
11385 char *kwnames[] = {
11386 (char *) "self", NULL
11387 };
11388
11389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
11390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11391 {
11392 PyThreadState* __tstate = wxPyBeginAllowThreads();
11393 result = (arg1)->GetChosenFont();
11394
11395 wxPyEndAllowThreads(__tstate);
11396 if (PyErr_Occurred()) SWIG_fail;
11397 }
11398 {
11399 wxFont * resultptr;
11400 resultptr = new wxFont((wxFont &) result);
11401 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11402 }
11403 return resultobj;
11404 fail:
11405 return NULL;
11406 }
11407
11408
11409 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11410 PyObject *resultobj;
11411 wxFontData *arg1 = (wxFontData *) 0 ;
11412 bool result;
11413 PyObject * obj0 = 0 ;
11414 char *kwnames[] = {
11415 (char *) "self", NULL
11416 };
11417
11418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
11419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11420 {
11421 PyThreadState* __tstate = wxPyBeginAllowThreads();
11422 result = (bool)(arg1)->GetEnableEffects();
11423
11424 wxPyEndAllowThreads(__tstate);
11425 if (PyErr_Occurred()) SWIG_fail;
11426 }
11427 resultobj = PyInt_FromLong((long)result);
11428 return resultobj;
11429 fail:
11430 return NULL;
11431 }
11432
11433
11434 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11435 PyObject *resultobj;
11436 wxFontData *arg1 = (wxFontData *) 0 ;
11437 wxFont result;
11438 PyObject * obj0 = 0 ;
11439 char *kwnames[] = {
11440 (char *) "self", NULL
11441 };
11442
11443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
11444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11445 {
11446 PyThreadState* __tstate = wxPyBeginAllowThreads();
11447 result = (arg1)->GetInitialFont();
11448
11449 wxPyEndAllowThreads(__tstate);
11450 if (PyErr_Occurred()) SWIG_fail;
11451 }
11452 {
11453 wxFont * resultptr;
11454 resultptr = new wxFont((wxFont &) result);
11455 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11456 }
11457 return resultobj;
11458 fail:
11459 return NULL;
11460 }
11461
11462
11463 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11464 PyObject *resultobj;
11465 wxFontData *arg1 = (wxFontData *) 0 ;
11466 bool result;
11467 PyObject * obj0 = 0 ;
11468 char *kwnames[] = {
11469 (char *) "self", NULL
11470 };
11471
11472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
11473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11474 {
11475 PyThreadState* __tstate = wxPyBeginAllowThreads();
11476 result = (bool)(arg1)->GetShowHelp();
11477
11478 wxPyEndAllowThreads(__tstate);
11479 if (PyErr_Occurred()) SWIG_fail;
11480 }
11481 resultobj = PyInt_FromLong((long)result);
11482 return resultobj;
11483 fail:
11484 return NULL;
11485 }
11486
11487
11488 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11489 PyObject *resultobj;
11490 wxFontData *arg1 = (wxFontData *) 0 ;
11491 bool arg2 ;
11492 PyObject * obj0 = 0 ;
11493 PyObject * obj1 = 0 ;
11494 char *kwnames[] = {
11495 (char *) "self",(char *) "allowSymbols", NULL
11496 };
11497
11498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
11499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11500 arg2 = PyInt_AsLong(obj1) ? true : false;
11501 if (PyErr_Occurred()) SWIG_fail;
11502 {
11503 PyThreadState* __tstate = wxPyBeginAllowThreads();
11504 (arg1)->SetAllowSymbols(arg2);
11505
11506 wxPyEndAllowThreads(__tstate);
11507 if (PyErr_Occurred()) SWIG_fail;
11508 }
11509 Py_INCREF(Py_None); resultobj = Py_None;
11510 return resultobj;
11511 fail:
11512 return NULL;
11513 }
11514
11515
11516 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11517 PyObject *resultobj;
11518 wxFontData *arg1 = (wxFontData *) 0 ;
11519 wxFont *arg2 = 0 ;
11520 PyObject * obj0 = 0 ;
11521 PyObject * obj1 = 0 ;
11522 char *kwnames[] = {
11523 (char *) "self",(char *) "font", NULL
11524 };
11525
11526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
11527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11528 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11529 if (arg2 == NULL) {
11530 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11531 }
11532 {
11533 PyThreadState* __tstate = wxPyBeginAllowThreads();
11534 (arg1)->SetChosenFont((wxFont const &)*arg2);
11535
11536 wxPyEndAllowThreads(__tstate);
11537 if (PyErr_Occurred()) SWIG_fail;
11538 }
11539 Py_INCREF(Py_None); resultobj = Py_None;
11540 return resultobj;
11541 fail:
11542 return NULL;
11543 }
11544
11545
11546 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11547 PyObject *resultobj;
11548 wxFontData *arg1 = (wxFontData *) 0 ;
11549 wxColour *arg2 = 0 ;
11550 wxColour temp2 ;
11551 PyObject * obj0 = 0 ;
11552 PyObject * obj1 = 0 ;
11553 char *kwnames[] = {
11554 (char *) "self",(char *) "colour", NULL
11555 };
11556
11557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11559 {
11560 arg2 = &temp2;
11561 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11562 }
11563 {
11564 PyThreadState* __tstate = wxPyBeginAllowThreads();
11565 (arg1)->SetColour((wxColour const &)*arg2);
11566
11567 wxPyEndAllowThreads(__tstate);
11568 if (PyErr_Occurred()) SWIG_fail;
11569 }
11570 Py_INCREF(Py_None); resultobj = Py_None;
11571 return resultobj;
11572 fail:
11573 return NULL;
11574 }
11575
11576
11577 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11578 PyObject *resultobj;
11579 wxFontData *arg1 = (wxFontData *) 0 ;
11580 wxFont *arg2 = 0 ;
11581 PyObject * obj0 = 0 ;
11582 PyObject * obj1 = 0 ;
11583 char *kwnames[] = {
11584 (char *) "self",(char *) "font", NULL
11585 };
11586
11587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
11588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11589 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11590 if (arg2 == NULL) {
11591 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11592 }
11593 {
11594 PyThreadState* __tstate = wxPyBeginAllowThreads();
11595 (arg1)->SetInitialFont((wxFont const &)*arg2);
11596
11597 wxPyEndAllowThreads(__tstate);
11598 if (PyErr_Occurred()) SWIG_fail;
11599 }
11600 Py_INCREF(Py_None); resultobj = Py_None;
11601 return resultobj;
11602 fail:
11603 return NULL;
11604 }
11605
11606
11607 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11608 PyObject *resultobj;
11609 wxFontData *arg1 = (wxFontData *) 0 ;
11610 int arg2 ;
11611 int arg3 ;
11612 PyObject * obj0 = 0 ;
11613 char *kwnames[] = {
11614 (char *) "self",(char *) "min",(char *) "max", NULL
11615 };
11616
11617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:FontData_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
11618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11619 {
11620 PyThreadState* __tstate = wxPyBeginAllowThreads();
11621 (arg1)->SetRange(arg2,arg3);
11622
11623 wxPyEndAllowThreads(__tstate);
11624 if (PyErr_Occurred()) SWIG_fail;
11625 }
11626 Py_INCREF(Py_None); resultobj = Py_None;
11627 return resultobj;
11628 fail:
11629 return NULL;
11630 }
11631
11632
11633 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11634 PyObject *resultobj;
11635 wxFontData *arg1 = (wxFontData *) 0 ;
11636 bool arg2 ;
11637 PyObject * obj0 = 0 ;
11638 PyObject * obj1 = 0 ;
11639 char *kwnames[] = {
11640 (char *) "self",(char *) "showHelp", NULL
11641 };
11642
11643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
11644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11645 arg2 = PyInt_AsLong(obj1) ? true : false;
11646 if (PyErr_Occurred()) SWIG_fail;
11647 {
11648 PyThreadState* __tstate = wxPyBeginAllowThreads();
11649 (arg1)->SetShowHelp(arg2);
11650
11651 wxPyEndAllowThreads(__tstate);
11652 if (PyErr_Occurred()) SWIG_fail;
11653 }
11654 Py_INCREF(Py_None); resultobj = Py_None;
11655 return resultobj;
11656 fail:
11657 return NULL;
11658 }
11659
11660
11661 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
11662 PyObject *obj;
11663 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11664 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
11665 Py_INCREF(obj);
11666 return Py_BuildValue((char *)"");
11667 }
11668 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11669 PyObject *resultobj;
11670 wxWindow *arg1 = (wxWindow *) 0 ;
11671 wxFontData *arg2 = 0 ;
11672 wxFontDialog *result;
11673 PyObject * obj0 = 0 ;
11674 PyObject * obj1 = 0 ;
11675 char *kwnames[] = {
11676 (char *) "parent",(char *) "data", NULL
11677 };
11678
11679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
11680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11681 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11682 if (arg2 == NULL) {
11683 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11684 }
11685 {
11686 PyThreadState* __tstate = wxPyBeginAllowThreads();
11687 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
11688
11689 wxPyEndAllowThreads(__tstate);
11690 if (PyErr_Occurred()) SWIG_fail;
11691 }
11692 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontDialog, 1);
11693 return resultobj;
11694 fail:
11695 return NULL;
11696 }
11697
11698
11699 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11700 PyObject *resultobj;
11701 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
11702 wxFontData *result;
11703 PyObject * obj0 = 0 ;
11704 char *kwnames[] = {
11705 (char *) "self", NULL
11706 };
11707
11708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
11709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11710 {
11711 PyThreadState* __tstate = wxPyBeginAllowThreads();
11712 {
11713 wxFontData &_result_ref = (arg1)->GetFontData();
11714 result = (wxFontData *) &_result_ref;
11715 }
11716
11717 wxPyEndAllowThreads(__tstate);
11718 if (PyErr_Occurred()) SWIG_fail;
11719 }
11720 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 0);
11721 return resultobj;
11722 fail:
11723 return NULL;
11724 }
11725
11726
11727 static PyObject *_wrap_FontDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11728 PyObject *resultobj;
11729 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
11730 int result;
11731 PyObject * obj0 = 0 ;
11732 char *kwnames[] = {
11733 (char *) "self", NULL
11734 };
11735
11736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_ShowModal",kwnames,&obj0)) goto fail;
11737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11738 {
11739 PyThreadState* __tstate = wxPyBeginAllowThreads();
11740 result = (int)(arg1)->ShowModal();
11741
11742 wxPyEndAllowThreads(__tstate);
11743 if (PyErr_Occurred()) SWIG_fail;
11744 }
11745 resultobj = PyInt_FromLong((long)result);
11746 return resultobj;
11747 fail:
11748 return NULL;
11749 }
11750
11751
11752 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
11753 PyObject *obj;
11754 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11755 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
11756 Py_INCREF(obj);
11757 return Py_BuildValue((char *)"");
11758 }
11759 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11760 PyObject *resultobj;
11761 wxWindow *arg1 = (wxWindow *) 0 ;
11762 wxString *arg2 = 0 ;
11763 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
11764 wxString *arg3 = (wxString *) &arg3_defvalue ;
11765 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
11766 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11767 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11768 wxMessageDialog *result;
11769 bool temp2 = False ;
11770 bool temp3 = False ;
11771 wxPoint temp5 ;
11772 PyObject * obj0 = 0 ;
11773 PyObject * obj1 = 0 ;
11774 PyObject * obj2 = 0 ;
11775 PyObject * obj4 = 0 ;
11776 char *kwnames[] = {
11777 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
11778 };
11779
11780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OlO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4)) goto fail;
11781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11782 {
11783 arg2 = wxString_in_helper(obj1);
11784 if (arg2 == NULL) SWIG_fail;
11785 temp2 = True;
11786 }
11787 if (obj2) {
11788 {
11789 arg3 = wxString_in_helper(obj2);
11790 if (arg3 == NULL) SWIG_fail;
11791 temp3 = True;
11792 }
11793 }
11794 if (obj4) {
11795 {
11796 arg5 = &temp5;
11797 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11798 }
11799 }
11800 {
11801 PyThreadState* __tstate = wxPyBeginAllowThreads();
11802 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
11803
11804 wxPyEndAllowThreads(__tstate);
11805 if (PyErr_Occurred()) SWIG_fail;
11806 }
11807 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMessageDialog, 1);
11808 {
11809 if (temp2)
11810 delete arg2;
11811 }
11812 {
11813 if (temp3)
11814 delete arg3;
11815 }
11816 return resultobj;
11817 fail:
11818 {
11819 if (temp2)
11820 delete arg2;
11821 }
11822 {
11823 if (temp3)
11824 delete arg3;
11825 }
11826 return NULL;
11827 }
11828
11829
11830 static PyObject *_wrap_MessageDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11831 PyObject *resultobj;
11832 wxMessageDialog *arg1 = (wxMessageDialog *) 0 ;
11833 int result;
11834 PyObject * obj0 = 0 ;
11835 char *kwnames[] = {
11836 (char *) "self", NULL
11837 };
11838
11839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MessageDialog_ShowModal",kwnames,&obj0)) goto fail;
11840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMessageDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11841 {
11842 PyThreadState* __tstate = wxPyBeginAllowThreads();
11843 result = (int)(arg1)->ShowModal();
11844
11845 wxPyEndAllowThreads(__tstate);
11846 if (PyErr_Occurred()) SWIG_fail;
11847 }
11848 resultobj = PyInt_FromLong((long)result);
11849 return resultobj;
11850 fail:
11851 return NULL;
11852 }
11853
11854
11855 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
11856 PyObject *obj;
11857 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11858 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
11859 Py_INCREF(obj);
11860 return Py_BuildValue((char *)"");
11861 }
11862 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11863 PyObject *resultobj;
11864 wxString *arg1 = 0 ;
11865 wxString *arg2 = 0 ;
11866 int arg3 = (int) 100 ;
11867 wxWindow *arg4 = (wxWindow *) NULL ;
11868 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
11869 wxProgressDialog *result;
11870 bool temp1 = False ;
11871 bool temp2 = False ;
11872 PyObject * obj0 = 0 ;
11873 PyObject * obj1 = 0 ;
11874 PyObject * obj3 = 0 ;
11875 char *kwnames[] = {
11876 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
11877 };
11878
11879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOi:new_ProgressDialog",kwnames,&obj0,&obj1,&arg3,&obj3,&arg5)) goto fail;
11880 {
11881 arg1 = wxString_in_helper(obj0);
11882 if (arg1 == NULL) SWIG_fail;
11883 temp1 = True;
11884 }
11885 {
11886 arg2 = wxString_in_helper(obj1);
11887 if (arg2 == NULL) SWIG_fail;
11888 temp2 = True;
11889 }
11890 if (obj3) {
11891 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11892 }
11893 {
11894 PyThreadState* __tstate = wxPyBeginAllowThreads();
11895 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
11896
11897 wxPyEndAllowThreads(__tstate);
11898 if (PyErr_Occurred()) SWIG_fail;
11899 }
11900 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProgressDialog, 1);
11901 {
11902 if (temp1)
11903 delete arg1;
11904 }
11905 {
11906 if (temp2)
11907 delete arg2;
11908 }
11909 return resultobj;
11910 fail:
11911 {
11912 if (temp1)
11913 delete arg1;
11914 }
11915 {
11916 if (temp2)
11917 delete arg2;
11918 }
11919 return NULL;
11920 }
11921
11922
11923 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
11924 PyObject *resultobj;
11925 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
11926 int arg2 ;
11927 wxString const &arg3_defvalue = wxPyEmptyString ;
11928 wxString *arg3 = (wxString *) &arg3_defvalue ;
11929 bool result;
11930 bool temp3 = False ;
11931 PyObject * obj0 = 0 ;
11932 PyObject * obj2 = 0 ;
11933 char *kwnames[] = {
11934 (char *) "self",(char *) "value",(char *) "newmsg", NULL
11935 };
11936
11937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ProgressDialog_Update",kwnames,&obj0,&arg2,&obj2)) goto fail;
11938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11939 if (obj2) {
11940 {
11941 arg3 = wxString_in_helper(obj2);
11942 if (arg3 == NULL) SWIG_fail;
11943 temp3 = True;
11944 }
11945 }
11946 {
11947 PyThreadState* __tstate = wxPyBeginAllowThreads();
11948 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
11949
11950 wxPyEndAllowThreads(__tstate);
11951 if (PyErr_Occurred()) SWIG_fail;
11952 }
11953 resultobj = PyInt_FromLong((long)result);
11954 {
11955 if (temp3)
11956 delete arg3;
11957 }
11958 return resultobj;
11959 fail:
11960 {
11961 if (temp3)
11962 delete arg3;
11963 }
11964 return NULL;
11965 }
11966
11967
11968 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
11969 PyObject *resultobj;
11970 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
11971 PyObject * obj0 = 0 ;
11972 char *kwnames[] = {
11973 (char *) "self", NULL
11974 };
11975
11976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
11977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11978 {
11979 PyThreadState* __tstate = wxPyBeginAllowThreads();
11980 (arg1)->Resume();
11981
11982 wxPyEndAllowThreads(__tstate);
11983 if (PyErr_Occurred()) SWIG_fail;
11984 }
11985 Py_INCREF(Py_None); resultobj = Py_None;
11986 return resultobj;
11987 fail:
11988 return NULL;
11989 }
11990
11991
11992 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
11993 PyObject *obj;
11994 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11995 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
11996 Py_INCREF(obj);
11997 return Py_BuildValue((char *)"");
11998 }
11999 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12000 PyObject *resultobj;
12001 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12002 int arg2 = (int) 0 ;
12003 wxFindDialogEvent *result;
12004 char *kwnames[] = {
12005 (char *) "commandType",(char *) "id", NULL
12006 };
12007
12008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_FindDialogEvent",kwnames,&arg1,&arg2)) goto fail;
12009 {
12010 PyThreadState* __tstate = wxPyBeginAllowThreads();
12011 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
12012
12013 wxPyEndAllowThreads(__tstate);
12014 if (PyErr_Occurred()) SWIG_fail;
12015 }
12016 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindDialogEvent, 1);
12017 return resultobj;
12018 fail:
12019 return NULL;
12020 }
12021
12022
12023 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12024 PyObject *resultobj;
12025 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12026 int result;
12027 PyObject * obj0 = 0 ;
12028 char *kwnames[] = {
12029 (char *) "self", NULL
12030 };
12031
12032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
12033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12034 {
12035 PyThreadState* __tstate = wxPyBeginAllowThreads();
12036 result = (int)(arg1)->GetFlags();
12037
12038 wxPyEndAllowThreads(__tstate);
12039 if (PyErr_Occurred()) SWIG_fail;
12040 }
12041 resultobj = PyInt_FromLong((long)result);
12042 return resultobj;
12043 fail:
12044 return NULL;
12045 }
12046
12047
12048 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12049 PyObject *resultobj;
12050 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12051 wxString *result;
12052 PyObject * obj0 = 0 ;
12053 char *kwnames[] = {
12054 (char *) "self", NULL
12055 };
12056
12057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
12058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12059 {
12060 PyThreadState* __tstate = wxPyBeginAllowThreads();
12061 {
12062 wxString const &_result_ref = (arg1)->GetFindString();
12063 result = (wxString *) &_result_ref;
12064 }
12065
12066 wxPyEndAllowThreads(__tstate);
12067 if (PyErr_Occurred()) SWIG_fail;
12068 }
12069 {
12070 #if wxUSE_UNICODE
12071 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12072 #else
12073 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12074 #endif
12075 }
12076 return resultobj;
12077 fail:
12078 return NULL;
12079 }
12080
12081
12082 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12083 PyObject *resultobj;
12084 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12085 wxString *result;
12086 PyObject * obj0 = 0 ;
12087 char *kwnames[] = {
12088 (char *) "self", NULL
12089 };
12090
12091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
12092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12093 {
12094 PyThreadState* __tstate = wxPyBeginAllowThreads();
12095 {
12096 wxString const &_result_ref = (arg1)->GetReplaceString();
12097 result = (wxString *) &_result_ref;
12098 }
12099
12100 wxPyEndAllowThreads(__tstate);
12101 if (PyErr_Occurred()) SWIG_fail;
12102 }
12103 {
12104 #if wxUSE_UNICODE
12105 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12106 #else
12107 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12108 #endif
12109 }
12110 return resultobj;
12111 fail:
12112 return NULL;
12113 }
12114
12115
12116 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12117 PyObject *resultobj;
12118 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12119 wxFindReplaceDialog *result;
12120 PyObject * obj0 = 0 ;
12121 char *kwnames[] = {
12122 (char *) "self", NULL
12123 };
12124
12125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
12126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12127 {
12128 PyThreadState* __tstate = wxPyBeginAllowThreads();
12129 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
12130
12131 wxPyEndAllowThreads(__tstate);
12132 if (PyErr_Occurred()) SWIG_fail;
12133 }
12134 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 0);
12135 return resultobj;
12136 fail:
12137 return NULL;
12138 }
12139
12140
12141 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12142 PyObject *resultobj;
12143 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12144 int arg2 ;
12145 PyObject * obj0 = 0 ;
12146 char *kwnames[] = {
12147 (char *) "self",(char *) "flags", NULL
12148 };
12149
12150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindDialogEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12152 {
12153 PyThreadState* __tstate = wxPyBeginAllowThreads();
12154 (arg1)->SetFlags(arg2);
12155
12156 wxPyEndAllowThreads(__tstate);
12157 if (PyErr_Occurred()) SWIG_fail;
12158 }
12159 Py_INCREF(Py_None); resultobj = Py_None;
12160 return resultobj;
12161 fail:
12162 return NULL;
12163 }
12164
12165
12166 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12167 PyObject *resultobj;
12168 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12169 wxString *arg2 = 0 ;
12170 bool temp2 = False ;
12171 PyObject * obj0 = 0 ;
12172 PyObject * obj1 = 0 ;
12173 char *kwnames[] = {
12174 (char *) "self",(char *) "str", NULL
12175 };
12176
12177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12179 {
12180 arg2 = wxString_in_helper(obj1);
12181 if (arg2 == NULL) SWIG_fail;
12182 temp2 = True;
12183 }
12184 {
12185 PyThreadState* __tstate = wxPyBeginAllowThreads();
12186 (arg1)->SetFindString((wxString const &)*arg2);
12187
12188 wxPyEndAllowThreads(__tstate);
12189 if (PyErr_Occurred()) SWIG_fail;
12190 }
12191 Py_INCREF(Py_None); resultobj = Py_None;
12192 {
12193 if (temp2)
12194 delete arg2;
12195 }
12196 return resultobj;
12197 fail:
12198 {
12199 if (temp2)
12200 delete arg2;
12201 }
12202 return NULL;
12203 }
12204
12205
12206 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12207 PyObject *resultobj;
12208 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12209 wxString *arg2 = 0 ;
12210 bool temp2 = False ;
12211 PyObject * obj0 = 0 ;
12212 PyObject * obj1 = 0 ;
12213 char *kwnames[] = {
12214 (char *) "self",(char *) "str", NULL
12215 };
12216
12217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12219 {
12220 arg2 = wxString_in_helper(obj1);
12221 if (arg2 == NULL) SWIG_fail;
12222 temp2 = True;
12223 }
12224 {
12225 PyThreadState* __tstate = wxPyBeginAllowThreads();
12226 (arg1)->SetReplaceString((wxString const &)*arg2);
12227
12228 wxPyEndAllowThreads(__tstate);
12229 if (PyErr_Occurred()) SWIG_fail;
12230 }
12231 Py_INCREF(Py_None); resultobj = Py_None;
12232 {
12233 if (temp2)
12234 delete arg2;
12235 }
12236 return resultobj;
12237 fail:
12238 {
12239 if (temp2)
12240 delete arg2;
12241 }
12242 return NULL;
12243 }
12244
12245
12246 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
12247 PyObject *obj;
12248 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12249 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
12250 Py_INCREF(obj);
12251 return Py_BuildValue((char *)"");
12252 }
12253 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12254 PyObject *resultobj;
12255 int arg1 = (int) 0 ;
12256 wxFindReplaceData *result;
12257 char *kwnames[] = {
12258 (char *) "flags", NULL
12259 };
12260
12261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_FindReplaceData",kwnames,&arg1)) goto fail;
12262 {
12263 PyThreadState* __tstate = wxPyBeginAllowThreads();
12264 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
12265
12266 wxPyEndAllowThreads(__tstate);
12267 if (PyErr_Occurred()) SWIG_fail;
12268 }
12269 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 1);
12270 return resultobj;
12271 fail:
12272 return NULL;
12273 }
12274
12275
12276 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12277 PyObject *resultobj;
12278 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12279 PyObject * obj0 = 0 ;
12280 char *kwnames[] = {
12281 (char *) "self", NULL
12282 };
12283
12284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
12285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12286 {
12287 PyThreadState* __tstate = wxPyBeginAllowThreads();
12288 delete arg1;
12289
12290 wxPyEndAllowThreads(__tstate);
12291 if (PyErr_Occurred()) SWIG_fail;
12292 }
12293 Py_INCREF(Py_None); resultobj = Py_None;
12294 return resultobj;
12295 fail:
12296 return NULL;
12297 }
12298
12299
12300 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12301 PyObject *resultobj;
12302 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12303 wxString *result;
12304 PyObject * obj0 = 0 ;
12305 char *kwnames[] = {
12306 (char *) "self", NULL
12307 };
12308
12309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
12310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12311 {
12312 PyThreadState* __tstate = wxPyBeginAllowThreads();
12313 {
12314 wxString const &_result_ref = (arg1)->GetFindString();
12315 result = (wxString *) &_result_ref;
12316 }
12317
12318 wxPyEndAllowThreads(__tstate);
12319 if (PyErr_Occurred()) SWIG_fail;
12320 }
12321 {
12322 #if wxUSE_UNICODE
12323 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12324 #else
12325 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12326 #endif
12327 }
12328 return resultobj;
12329 fail:
12330 return NULL;
12331 }
12332
12333
12334 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12335 PyObject *resultobj;
12336 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12337 wxString *result;
12338 PyObject * obj0 = 0 ;
12339 char *kwnames[] = {
12340 (char *) "self", NULL
12341 };
12342
12343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
12344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12345 {
12346 PyThreadState* __tstate = wxPyBeginAllowThreads();
12347 {
12348 wxString const &_result_ref = (arg1)->GetReplaceString();
12349 result = (wxString *) &_result_ref;
12350 }
12351
12352 wxPyEndAllowThreads(__tstate);
12353 if (PyErr_Occurred()) SWIG_fail;
12354 }
12355 {
12356 #if wxUSE_UNICODE
12357 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12358 #else
12359 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12360 #endif
12361 }
12362 return resultobj;
12363 fail:
12364 return NULL;
12365 }
12366
12367
12368 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12369 PyObject *resultobj;
12370 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12371 int result;
12372 PyObject * obj0 = 0 ;
12373 char *kwnames[] = {
12374 (char *) "self", NULL
12375 };
12376
12377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
12378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12379 {
12380 PyThreadState* __tstate = wxPyBeginAllowThreads();
12381 result = (int)(arg1)->GetFlags();
12382
12383 wxPyEndAllowThreads(__tstate);
12384 if (PyErr_Occurred()) SWIG_fail;
12385 }
12386 resultobj = PyInt_FromLong((long)result);
12387 return resultobj;
12388 fail:
12389 return NULL;
12390 }
12391
12392
12393 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12394 PyObject *resultobj;
12395 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12396 int arg2 ;
12397 PyObject * obj0 = 0 ;
12398 char *kwnames[] = {
12399 (char *) "self",(char *) "flags", NULL
12400 };
12401
12402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindReplaceData_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12404 {
12405 PyThreadState* __tstate = wxPyBeginAllowThreads();
12406 (arg1)->SetFlags(arg2);
12407
12408 wxPyEndAllowThreads(__tstate);
12409 if (PyErr_Occurred()) SWIG_fail;
12410 }
12411 Py_INCREF(Py_None); resultobj = Py_None;
12412 return resultobj;
12413 fail:
12414 return NULL;
12415 }
12416
12417
12418 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12419 PyObject *resultobj;
12420 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12421 wxString *arg2 = 0 ;
12422 bool temp2 = False ;
12423 PyObject * obj0 = 0 ;
12424 PyObject * obj1 = 0 ;
12425 char *kwnames[] = {
12426 (char *) "self",(char *) "str", NULL
12427 };
12428
12429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12431 {
12432 arg2 = wxString_in_helper(obj1);
12433 if (arg2 == NULL) SWIG_fail;
12434 temp2 = True;
12435 }
12436 {
12437 PyThreadState* __tstate = wxPyBeginAllowThreads();
12438 (arg1)->SetFindString((wxString const &)*arg2);
12439
12440 wxPyEndAllowThreads(__tstate);
12441 if (PyErr_Occurred()) SWIG_fail;
12442 }
12443 Py_INCREF(Py_None); resultobj = Py_None;
12444 {
12445 if (temp2)
12446 delete arg2;
12447 }
12448 return resultobj;
12449 fail:
12450 {
12451 if (temp2)
12452 delete arg2;
12453 }
12454 return NULL;
12455 }
12456
12457
12458 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12459 PyObject *resultobj;
12460 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12461 wxString *arg2 = 0 ;
12462 bool temp2 = False ;
12463 PyObject * obj0 = 0 ;
12464 PyObject * obj1 = 0 ;
12465 char *kwnames[] = {
12466 (char *) "self",(char *) "str", NULL
12467 };
12468
12469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12471 {
12472 arg2 = wxString_in_helper(obj1);
12473 if (arg2 == NULL) SWIG_fail;
12474 temp2 = True;
12475 }
12476 {
12477 PyThreadState* __tstate = wxPyBeginAllowThreads();
12478 (arg1)->SetReplaceString((wxString const &)*arg2);
12479
12480 wxPyEndAllowThreads(__tstate);
12481 if (PyErr_Occurred()) SWIG_fail;
12482 }
12483 Py_INCREF(Py_None); resultobj = Py_None;
12484 {
12485 if (temp2)
12486 delete arg2;
12487 }
12488 return resultobj;
12489 fail:
12490 {
12491 if (temp2)
12492 delete arg2;
12493 }
12494 return NULL;
12495 }
12496
12497
12498 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
12499 PyObject *obj;
12500 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12501 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
12502 Py_INCREF(obj);
12503 return Py_BuildValue((char *)"");
12504 }
12505 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12506 PyObject *resultobj;
12507 wxWindow *arg1 = (wxWindow *) 0 ;
12508 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12509 wxString *arg3 = 0 ;
12510 int arg4 = (int) 0 ;
12511 wxFindReplaceDialog *result;
12512 bool temp3 = False ;
12513 PyObject * obj0 = 0 ;
12514 PyObject * obj1 = 0 ;
12515 PyObject * obj2 = 0 ;
12516 char *kwnames[] = {
12517 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12518 };
12519
12520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
12521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12522 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12523 {
12524 arg3 = wxString_in_helper(obj2);
12525 if (arg3 == NULL) SWIG_fail;
12526 temp3 = True;
12527 }
12528 {
12529 PyThreadState* __tstate = wxPyBeginAllowThreads();
12530 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
12531
12532 wxPyEndAllowThreads(__tstate);
12533 if (PyErr_Occurred()) SWIG_fail;
12534 }
12535 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12536 {
12537 if (temp3)
12538 delete arg3;
12539 }
12540 return resultobj;
12541 fail:
12542 {
12543 if (temp3)
12544 delete arg3;
12545 }
12546 return NULL;
12547 }
12548
12549
12550 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12551 PyObject *resultobj;
12552 wxFindReplaceDialog *result;
12553 char *kwnames[] = {
12554 NULL
12555 };
12556
12557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
12558 {
12559 PyThreadState* __tstate = wxPyBeginAllowThreads();
12560 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
12561
12562 wxPyEndAllowThreads(__tstate);
12563 if (PyErr_Occurred()) SWIG_fail;
12564 }
12565 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12566 return resultobj;
12567 fail:
12568 return NULL;
12569 }
12570
12571
12572 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12573 PyObject *resultobj;
12574 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12575 wxWindow *arg2 = (wxWindow *) 0 ;
12576 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
12577 wxString *arg4 = 0 ;
12578 int arg5 = (int) 0 ;
12579 bool result;
12580 bool temp4 = False ;
12581 PyObject * obj0 = 0 ;
12582 PyObject * obj1 = 0 ;
12583 PyObject * obj2 = 0 ;
12584 PyObject * obj3 = 0 ;
12585 char *kwnames[] = {
12586 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12587 };
12588
12589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|i:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
12590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12591 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12592 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12593 {
12594 arg4 = wxString_in_helper(obj3);
12595 if (arg4 == NULL) SWIG_fail;
12596 temp4 = True;
12597 }
12598 {
12599 PyThreadState* __tstate = wxPyBeginAllowThreads();
12600 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
12601
12602 wxPyEndAllowThreads(__tstate);
12603 if (PyErr_Occurred()) SWIG_fail;
12604 }
12605 resultobj = PyInt_FromLong((long)result);
12606 {
12607 if (temp4)
12608 delete arg4;
12609 }
12610 return resultobj;
12611 fail:
12612 {
12613 if (temp4)
12614 delete arg4;
12615 }
12616 return NULL;
12617 }
12618
12619
12620 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12621 PyObject *resultobj;
12622 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12623 wxFindReplaceData *result;
12624 PyObject * obj0 = 0 ;
12625 char *kwnames[] = {
12626 (char *) "self", NULL
12627 };
12628
12629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
12630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12631 {
12632 PyThreadState* __tstate = wxPyBeginAllowThreads();
12633 result = (wxFindReplaceData *)(arg1)->GetData();
12634
12635 wxPyEndAllowThreads(__tstate);
12636 if (PyErr_Occurred()) SWIG_fail;
12637 }
12638 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 0);
12639 return resultobj;
12640 fail:
12641 return NULL;
12642 }
12643
12644
12645 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12646 PyObject *resultobj;
12647 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12648 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12649 PyObject * obj0 = 0 ;
12650 PyObject * obj1 = 0 ;
12651 char *kwnames[] = {
12652 (char *) "self",(char *) "data", NULL
12653 };
12654
12655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
12656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12657 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12658 {
12659 PyThreadState* __tstate = wxPyBeginAllowThreads();
12660 (arg1)->SetData(arg2);
12661
12662 wxPyEndAllowThreads(__tstate);
12663 if (PyErr_Occurred()) SWIG_fail;
12664 }
12665 Py_INCREF(Py_None); resultobj = Py_None;
12666 return resultobj;
12667 fail:
12668 return NULL;
12669 }
12670
12671
12672 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
12673 PyObject *obj;
12674 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12675 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
12676 Py_INCREF(obj);
12677 return Py_BuildValue((char *)"");
12678 }
12679 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
12680 PyObject *resultobj;
12681 wxWindow *arg1 = (wxWindow *) 0 ;
12682 int arg2 ;
12683 wxString *arg3 = 0 ;
12684 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12685 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12686 wxSize const &arg5_defvalue = wxDefaultSize ;
12687 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12688 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
12689 wxString const &arg7_defvalue = wxPyFrameNameStr ;
12690 wxString *arg7 = (wxString *) &arg7_defvalue ;
12691 wxMDIParentFrame *result;
12692 bool temp3 = False ;
12693 wxPoint temp4 ;
12694 wxSize temp5 ;
12695 bool temp7 = False ;
12696 PyObject * obj0 = 0 ;
12697 PyObject * obj2 = 0 ;
12698 PyObject * obj3 = 0 ;
12699 PyObject * obj4 = 0 ;
12700 PyObject * obj6 = 0 ;
12701 char *kwnames[] = {
12702 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12703 };
12704
12705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIParentFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
12706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12707 {
12708 arg3 = wxString_in_helper(obj2);
12709 if (arg3 == NULL) SWIG_fail;
12710 temp3 = True;
12711 }
12712 if (obj3) {
12713 {
12714 arg4 = &temp4;
12715 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12716 }
12717 }
12718 if (obj4) {
12719 {
12720 arg5 = &temp5;
12721 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12722 }
12723 }
12724 if (obj6) {
12725 {
12726 arg7 = wxString_in_helper(obj6);
12727 if (arg7 == NULL) SWIG_fail;
12728 temp7 = True;
12729 }
12730 }
12731 {
12732 PyThreadState* __tstate = wxPyBeginAllowThreads();
12733 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12734
12735 wxPyEndAllowThreads(__tstate);
12736 if (PyErr_Occurred()) SWIG_fail;
12737 }
12738 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
12739 {
12740 if (temp3)
12741 delete arg3;
12742 }
12743 {
12744 if (temp7)
12745 delete arg7;
12746 }
12747 return resultobj;
12748 fail:
12749 {
12750 if (temp3)
12751 delete arg3;
12752 }
12753 {
12754 if (temp7)
12755 delete arg7;
12756 }
12757 return NULL;
12758 }
12759
12760
12761 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
12762 PyObject *resultobj;
12763 wxMDIParentFrame *result;
12764 char *kwnames[] = {
12765 NULL
12766 };
12767
12768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
12769 {
12770 PyThreadState* __tstate = wxPyBeginAllowThreads();
12771 result = (wxMDIParentFrame *)new wxMDIParentFrame();
12772
12773 wxPyEndAllowThreads(__tstate);
12774 if (PyErr_Occurred()) SWIG_fail;
12775 }
12776 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
12777 return resultobj;
12778 fail:
12779 return NULL;
12780 }
12781
12782
12783 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12784 PyObject *resultobj;
12785 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12786 wxWindow *arg2 = (wxWindow *) 0 ;
12787 int arg3 ;
12788 wxString *arg4 = 0 ;
12789 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12790 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12791 wxSize const &arg6_defvalue = wxDefaultSize ;
12792 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12793 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
12794 wxString const &arg8_defvalue = wxPyFrameNameStr ;
12795 wxString *arg8 = (wxString *) &arg8_defvalue ;
12796 bool result;
12797 bool temp4 = False ;
12798 wxPoint temp5 ;
12799 wxSize temp6 ;
12800 bool temp8 = False ;
12801 PyObject * obj0 = 0 ;
12802 PyObject * obj1 = 0 ;
12803 PyObject * obj3 = 0 ;
12804 PyObject * obj4 = 0 ;
12805 PyObject * obj5 = 0 ;
12806 PyObject * obj7 = 0 ;
12807 char *kwnames[] = {
12808 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12809 };
12810
12811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
12812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12813 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12814 {
12815 arg4 = wxString_in_helper(obj3);
12816 if (arg4 == NULL) SWIG_fail;
12817 temp4 = True;
12818 }
12819 if (obj4) {
12820 {
12821 arg5 = &temp5;
12822 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12823 }
12824 }
12825 if (obj5) {
12826 {
12827 arg6 = &temp6;
12828 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12829 }
12830 }
12831 if (obj7) {
12832 {
12833 arg8 = wxString_in_helper(obj7);
12834 if (arg8 == NULL) SWIG_fail;
12835 temp8 = True;
12836 }
12837 }
12838 {
12839 PyThreadState* __tstate = wxPyBeginAllowThreads();
12840 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
12841
12842 wxPyEndAllowThreads(__tstate);
12843 if (PyErr_Occurred()) SWIG_fail;
12844 }
12845 resultobj = PyInt_FromLong((long)result);
12846 {
12847 if (temp4)
12848 delete arg4;
12849 }
12850 {
12851 if (temp8)
12852 delete arg8;
12853 }
12854 return resultobj;
12855 fail:
12856 {
12857 if (temp4)
12858 delete arg4;
12859 }
12860 {
12861 if (temp8)
12862 delete arg8;
12863 }
12864 return NULL;
12865 }
12866
12867
12868 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
12869 PyObject *resultobj;
12870 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12871 PyObject * obj0 = 0 ;
12872 char *kwnames[] = {
12873 (char *) "self", NULL
12874 };
12875
12876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
12877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12878 {
12879 PyThreadState* __tstate = wxPyBeginAllowThreads();
12880 (arg1)->ActivateNext();
12881
12882 wxPyEndAllowThreads(__tstate);
12883 if (PyErr_Occurred()) SWIG_fail;
12884 }
12885 Py_INCREF(Py_None); resultobj = Py_None;
12886 return resultobj;
12887 fail:
12888 return NULL;
12889 }
12890
12891
12892 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
12893 PyObject *resultobj;
12894 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12895 PyObject * obj0 = 0 ;
12896 char *kwnames[] = {
12897 (char *) "self", NULL
12898 };
12899
12900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
12901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12902 {
12903 PyThreadState* __tstate = wxPyBeginAllowThreads();
12904 (arg1)->ActivatePrevious();
12905
12906 wxPyEndAllowThreads(__tstate);
12907 if (PyErr_Occurred()) SWIG_fail;
12908 }
12909 Py_INCREF(Py_None); resultobj = Py_None;
12910 return resultobj;
12911 fail:
12912 return NULL;
12913 }
12914
12915
12916 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
12917 PyObject *resultobj;
12918 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12919 PyObject * obj0 = 0 ;
12920 char *kwnames[] = {
12921 (char *) "self", NULL
12922 };
12923
12924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
12925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12926 {
12927 PyThreadState* __tstate = wxPyBeginAllowThreads();
12928 (arg1)->ArrangeIcons();
12929
12930 wxPyEndAllowThreads(__tstate);
12931 if (PyErr_Occurred()) SWIG_fail;
12932 }
12933 Py_INCREF(Py_None); resultobj = Py_None;
12934 return resultobj;
12935 fail:
12936 return NULL;
12937 }
12938
12939
12940 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
12941 PyObject *resultobj;
12942 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12943 PyObject * obj0 = 0 ;
12944 char *kwnames[] = {
12945 (char *) "self", NULL
12946 };
12947
12948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
12949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12950 {
12951 PyThreadState* __tstate = wxPyBeginAllowThreads();
12952 (arg1)->Cascade();
12953
12954 wxPyEndAllowThreads(__tstate);
12955 if (PyErr_Occurred()) SWIG_fail;
12956 }
12957 Py_INCREF(Py_None); resultobj = Py_None;
12958 return resultobj;
12959 fail:
12960 return NULL;
12961 }
12962
12963
12964 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
12965 PyObject *resultobj;
12966 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12967 wxMDIChildFrame *result;
12968 PyObject * obj0 = 0 ;
12969 char *kwnames[] = {
12970 (char *) "self", NULL
12971 };
12972
12973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
12974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12975 {
12976 PyThreadState* __tstate = wxPyBeginAllowThreads();
12977 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
12978
12979 wxPyEndAllowThreads(__tstate);
12980 if (PyErr_Occurred()) SWIG_fail;
12981 }
12982 {
12983 resultobj = wxPyMake_wxObject(result);
12984 }
12985 return resultobj;
12986 fail:
12987 return NULL;
12988 }
12989
12990
12991 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12992 PyObject *resultobj;
12993 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12994 wxMDIClientWindow *result;
12995 PyObject * obj0 = 0 ;
12996 char *kwnames[] = {
12997 (char *) "self", NULL
12998 };
12999
13000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
13001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13002 {
13003 PyThreadState* __tstate = wxPyBeginAllowThreads();
13004 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
13005
13006 wxPyEndAllowThreads(__tstate);
13007 if (PyErr_Occurred()) SWIG_fail;
13008 }
13009 {
13010 resultobj = wxPyMake_wxObject(result);
13011 }
13012 return resultobj;
13013 fail:
13014 return NULL;
13015 }
13016
13017
13018 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
13019 PyObject *resultobj;
13020 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13021 wxWindow *result;
13022 PyObject * obj0 = 0 ;
13023 char *kwnames[] = {
13024 (char *) "self", NULL
13025 };
13026
13027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
13028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13029 {
13030 PyThreadState* __tstate = wxPyBeginAllowThreads();
13031 result = (wxWindow *)(arg1)->GetToolBar();
13032
13033 wxPyEndAllowThreads(__tstate);
13034 if (PyErr_Occurred()) SWIG_fail;
13035 }
13036 {
13037 resultobj = wxPyMake_wxObject(result);
13038 }
13039 return resultobj;
13040 fail:
13041 return NULL;
13042 }
13043
13044
13045 static PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
13046 PyObject *resultobj;
13047 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13048 wxMenu *result;
13049 PyObject * obj0 = 0 ;
13050 char *kwnames[] = {
13051 (char *) "self", NULL
13052 };
13053
13054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames,&obj0)) goto fail;
13055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13056 {
13057 PyThreadState* __tstate = wxPyBeginAllowThreads();
13058 result = (wxMenu *)(arg1)->GetWindowMenu();
13059
13060 wxPyEndAllowThreads(__tstate);
13061 if (PyErr_Occurred()) SWIG_fail;
13062 }
13063 {
13064 resultobj = wxPyMake_wxObject(result);
13065 }
13066 return resultobj;
13067 fail:
13068 return NULL;
13069 }
13070
13071
13072 static PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
13073 PyObject *resultobj;
13074 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13075 wxMenu *arg2 = (wxMenu *) 0 ;
13076 PyObject * obj0 = 0 ;
13077 PyObject * obj1 = 0 ;
13078 char *kwnames[] = {
13079 (char *) "self",(char *) "menu", NULL
13080 };
13081
13082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) goto fail;
13083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13084 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13085 {
13086 PyThreadState* __tstate = wxPyBeginAllowThreads();
13087 (arg1)->SetWindowMenu(arg2);
13088
13089 wxPyEndAllowThreads(__tstate);
13090 if (PyErr_Occurred()) SWIG_fail;
13091 }
13092 Py_INCREF(Py_None); resultobj = Py_None;
13093 return resultobj;
13094 fail:
13095 return NULL;
13096 }
13097
13098
13099 static PyObject *_wrap_MDIParentFrame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
13100 PyObject *resultobj;
13101 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13102 wxToolBar *arg2 = (wxToolBar *) 0 ;
13103 PyObject * obj0 = 0 ;
13104 PyObject * obj1 = 0 ;
13105 char *kwnames[] = {
13106 (char *) "self",(char *) "toolbar", NULL
13107 };
13108
13109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
13110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13111 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13112 {
13113 PyThreadState* __tstate = wxPyBeginAllowThreads();
13114 (arg1)->SetToolBar(arg2);
13115
13116 wxPyEndAllowThreads(__tstate);
13117 if (PyErr_Occurred()) SWIG_fail;
13118 }
13119 Py_INCREF(Py_None); resultobj = Py_None;
13120 return resultobj;
13121 fail:
13122 return NULL;
13123 }
13124
13125
13126 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
13127 PyObject *resultobj;
13128 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13129 PyObject * obj0 = 0 ;
13130 char *kwnames[] = {
13131 (char *) "self", NULL
13132 };
13133
13134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
13135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13136 {
13137 PyThreadState* __tstate = wxPyBeginAllowThreads();
13138 (arg1)->Tile();
13139
13140 wxPyEndAllowThreads(__tstate);
13141 if (PyErr_Occurred()) SWIG_fail;
13142 }
13143 Py_INCREF(Py_None); resultobj = Py_None;
13144 return resultobj;
13145 fail:
13146 return NULL;
13147 }
13148
13149
13150 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
13151 PyObject *obj;
13152 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13153 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
13154 Py_INCREF(obj);
13155 return Py_BuildValue((char *)"");
13156 }
13157 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13158 PyObject *resultobj;
13159 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13160 int arg2 ;
13161 wxString *arg3 = 0 ;
13162 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13163 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13164 wxSize const &arg5_defvalue = wxDefaultSize ;
13165 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13166 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
13167 wxString const &arg7_defvalue = wxPyFrameNameStr ;
13168 wxString *arg7 = (wxString *) &arg7_defvalue ;
13169 wxMDIChildFrame *result;
13170 bool temp3 = False ;
13171 wxPoint temp4 ;
13172 wxSize temp5 ;
13173 bool temp7 = False ;
13174 PyObject * obj0 = 0 ;
13175 PyObject * obj2 = 0 ;
13176 PyObject * obj3 = 0 ;
13177 PyObject * obj4 = 0 ;
13178 PyObject * obj6 = 0 ;
13179 char *kwnames[] = {
13180 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13181 };
13182
13183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIChildFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
13184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13185 {
13186 arg3 = wxString_in_helper(obj2);
13187 if (arg3 == NULL) SWIG_fail;
13188 temp3 = True;
13189 }
13190 if (obj3) {
13191 {
13192 arg4 = &temp4;
13193 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13194 }
13195 }
13196 if (obj4) {
13197 {
13198 arg5 = &temp5;
13199 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13200 }
13201 }
13202 if (obj6) {
13203 {
13204 arg7 = wxString_in_helper(obj6);
13205 if (arg7 == NULL) SWIG_fail;
13206 temp7 = True;
13207 }
13208 }
13209 {
13210 PyThreadState* __tstate = wxPyBeginAllowThreads();
13211 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13212
13213 wxPyEndAllowThreads(__tstate);
13214 if (PyErr_Occurred()) SWIG_fail;
13215 }
13216 {
13217 resultobj = wxPyMake_wxObject(result);
13218 }
13219 {
13220 if (temp3)
13221 delete arg3;
13222 }
13223 {
13224 if (temp7)
13225 delete arg7;
13226 }
13227 return resultobj;
13228 fail:
13229 {
13230 if (temp3)
13231 delete arg3;
13232 }
13233 {
13234 if (temp7)
13235 delete arg7;
13236 }
13237 return NULL;
13238 }
13239
13240
13241 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13242 PyObject *resultobj;
13243 wxMDIChildFrame *result;
13244 char *kwnames[] = {
13245 NULL
13246 };
13247
13248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
13249 {
13250 PyThreadState* __tstate = wxPyBeginAllowThreads();
13251 result = (wxMDIChildFrame *)new wxMDIChildFrame();
13252
13253 wxPyEndAllowThreads(__tstate);
13254 if (PyErr_Occurred()) SWIG_fail;
13255 }
13256 {
13257 resultobj = wxPyMake_wxObject(result);
13258 }
13259 return resultobj;
13260 fail:
13261 return NULL;
13262 }
13263
13264
13265 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13266 PyObject *resultobj;
13267 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13268 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13269 int arg3 ;
13270 wxString *arg4 = 0 ;
13271 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13272 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13273 wxSize const &arg6_defvalue = wxDefaultSize ;
13274 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13275 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
13276 wxString const &arg8_defvalue = wxPyFrameNameStr ;
13277 wxString *arg8 = (wxString *) &arg8_defvalue ;
13278 bool result;
13279 bool temp4 = False ;
13280 wxPoint temp5 ;
13281 wxSize temp6 ;
13282 bool temp8 = False ;
13283 PyObject * obj0 = 0 ;
13284 PyObject * obj1 = 0 ;
13285 PyObject * obj3 = 0 ;
13286 PyObject * obj4 = 0 ;
13287 PyObject * obj5 = 0 ;
13288 PyObject * obj7 = 0 ;
13289 char *kwnames[] = {
13290 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13291 };
13292
13293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
13294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13295 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13296 {
13297 arg4 = wxString_in_helper(obj3);
13298 if (arg4 == NULL) SWIG_fail;
13299 temp4 = True;
13300 }
13301 if (obj4) {
13302 {
13303 arg5 = &temp5;
13304 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13305 }
13306 }
13307 if (obj5) {
13308 {
13309 arg6 = &temp6;
13310 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13311 }
13312 }
13313 if (obj7) {
13314 {
13315 arg8 = wxString_in_helper(obj7);
13316 if (arg8 == NULL) SWIG_fail;
13317 temp8 = True;
13318 }
13319 }
13320 {
13321 PyThreadState* __tstate = wxPyBeginAllowThreads();
13322 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
13323
13324 wxPyEndAllowThreads(__tstate);
13325 if (PyErr_Occurred()) SWIG_fail;
13326 }
13327 resultobj = PyInt_FromLong((long)result);
13328 {
13329 if (temp4)
13330 delete arg4;
13331 }
13332 {
13333 if (temp8)
13334 delete arg8;
13335 }
13336 return resultobj;
13337 fail:
13338 {
13339 if (temp4)
13340 delete arg4;
13341 }
13342 {
13343 if (temp8)
13344 delete arg8;
13345 }
13346 return NULL;
13347 }
13348
13349
13350 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
13351 PyObject *resultobj;
13352 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13353 PyObject * obj0 = 0 ;
13354 char *kwnames[] = {
13355 (char *) "self", NULL
13356 };
13357
13358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
13359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13360 {
13361 PyThreadState* __tstate = wxPyBeginAllowThreads();
13362 (arg1)->Activate();
13363
13364 wxPyEndAllowThreads(__tstate);
13365 if (PyErr_Occurred()) SWIG_fail;
13366 }
13367 Py_INCREF(Py_None); resultobj = Py_None;
13368 return resultobj;
13369 fail:
13370 return NULL;
13371 }
13372
13373
13374 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
13375 PyObject *resultobj;
13376 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13377 bool arg2 ;
13378 PyObject * obj0 = 0 ;
13379 PyObject * obj1 = 0 ;
13380 char *kwnames[] = {
13381 (char *) "self",(char *) "maximize", NULL
13382 };
13383
13384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
13385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13386 arg2 = PyInt_AsLong(obj1) ? true : false;
13387 if (PyErr_Occurred()) SWIG_fail;
13388 {
13389 PyThreadState* __tstate = wxPyBeginAllowThreads();
13390 (arg1)->Maximize(arg2);
13391
13392 wxPyEndAllowThreads(__tstate);
13393 if (PyErr_Occurred()) SWIG_fail;
13394 }
13395 Py_INCREF(Py_None); resultobj = Py_None;
13396 return resultobj;
13397 fail:
13398 return NULL;
13399 }
13400
13401
13402 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
13403 PyObject *resultobj;
13404 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13405 PyObject * obj0 = 0 ;
13406 char *kwnames[] = {
13407 (char *) "self", NULL
13408 };
13409
13410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
13411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13412 {
13413 PyThreadState* __tstate = wxPyBeginAllowThreads();
13414 (arg1)->Restore();
13415
13416 wxPyEndAllowThreads(__tstate);
13417 if (PyErr_Occurred()) SWIG_fail;
13418 }
13419 Py_INCREF(Py_None); resultobj = Py_None;
13420 return resultobj;
13421 fail:
13422 return NULL;
13423 }
13424
13425
13426 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
13427 PyObject *obj;
13428 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13429 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
13430 Py_INCREF(obj);
13431 return Py_BuildValue((char *)"");
13432 }
13433 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13434 PyObject *resultobj;
13435 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13436 long arg2 = (long) 0 ;
13437 wxMDIClientWindow *result;
13438 PyObject * obj0 = 0 ;
13439 char *kwnames[] = {
13440 (char *) "parent",(char *) "style", NULL
13441 };
13442
13443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:new_MDIClientWindow",kwnames,&obj0,&arg2)) goto fail;
13444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13445 {
13446 PyThreadState* __tstate = wxPyBeginAllowThreads();
13447 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
13448
13449 wxPyEndAllowThreads(__tstate);
13450 if (PyErr_Occurred()) SWIG_fail;
13451 }
13452 {
13453 resultobj = wxPyMake_wxObject(result);
13454 }
13455 return resultobj;
13456 fail:
13457 return NULL;
13458 }
13459
13460
13461 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13462 PyObject *resultobj;
13463 wxMDIClientWindow *result;
13464 char *kwnames[] = {
13465 NULL
13466 };
13467
13468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
13469 {
13470 PyThreadState* __tstate = wxPyBeginAllowThreads();
13471 result = (wxMDIClientWindow *)new wxMDIClientWindow();
13472
13473 wxPyEndAllowThreads(__tstate);
13474 if (PyErr_Occurred()) SWIG_fail;
13475 }
13476 {
13477 resultobj = wxPyMake_wxObject(result);
13478 }
13479 return resultobj;
13480 fail:
13481 return NULL;
13482 }
13483
13484
13485 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13486 PyObject *resultobj;
13487 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
13488 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13489 long arg3 = (long) 0 ;
13490 bool result;
13491 PyObject * obj0 = 0 ;
13492 PyObject * obj1 = 0 ;
13493 char *kwnames[] = {
13494 (char *) "self",(char *) "parent",(char *) "style", NULL
13495 };
13496
13497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:MDIClientWindow_Create",kwnames,&obj0,&obj1,&arg3)) goto fail;
13498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIClientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13499 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13500 {
13501 PyThreadState* __tstate = wxPyBeginAllowThreads();
13502 result = (bool)(arg1)->Create(arg2,arg3);
13503
13504 wxPyEndAllowThreads(__tstate);
13505 if (PyErr_Occurred()) SWIG_fail;
13506 }
13507 resultobj = PyInt_FromLong((long)result);
13508 return resultobj;
13509 fail:
13510 return NULL;
13511 }
13512
13513
13514 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
13515 PyObject *obj;
13516 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13517 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
13518 Py_INCREF(obj);
13519 return Py_BuildValue((char *)"");
13520 }
13521 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13522 PyObject *resultobj;
13523 wxWindow *arg1 = (wxWindow *) 0 ;
13524 int arg2 ;
13525 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13526 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13527 wxSize const &arg4_defvalue = wxDefaultSize ;
13528 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13529 long arg5 = (long) 0 ;
13530 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13531 wxString *arg6 = (wxString *) &arg6_defvalue ;
13532 wxPyWindow *result;
13533 wxPoint temp3 ;
13534 wxSize temp4 ;
13535 bool temp6 = False ;
13536 PyObject * obj0 = 0 ;
13537 PyObject * obj2 = 0 ;
13538 PyObject * obj3 = 0 ;
13539 PyObject * obj5 = 0 ;
13540 char *kwnames[] = {
13541 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13542 };
13543
13544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
13545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13546 if (obj2) {
13547 {
13548 arg3 = &temp3;
13549 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13550 }
13551 }
13552 if (obj3) {
13553 {
13554 arg4 = &temp4;
13555 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13556 }
13557 }
13558 if (obj5) {
13559 {
13560 arg6 = wxString_in_helper(obj5);
13561 if (arg6 == NULL) SWIG_fail;
13562 temp6 = True;
13563 }
13564 }
13565 {
13566 PyThreadState* __tstate = wxPyBeginAllowThreads();
13567 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13568
13569 wxPyEndAllowThreads(__tstate);
13570 if (PyErr_Occurred()) SWIG_fail;
13571 }
13572 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyWindow, 1);
13573 {
13574 if (temp6)
13575 delete arg6;
13576 }
13577 return resultobj;
13578 fail:
13579 {
13580 if (temp6)
13581 delete arg6;
13582 }
13583 return NULL;
13584 }
13585
13586
13587 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
13588 PyObject *resultobj;
13589 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13590 PyObject *arg2 = (PyObject *) 0 ;
13591 PyObject *arg3 = (PyObject *) 0 ;
13592 PyObject * obj0 = 0 ;
13593 PyObject * obj1 = 0 ;
13594 PyObject * obj2 = 0 ;
13595 char *kwnames[] = {
13596 (char *) "self",(char *) "self",(char *) "_class", NULL
13597 };
13598
13599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
13600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13601 arg2 = obj1;
13602 arg3 = obj2;
13603 {
13604 PyThreadState* __tstate = wxPyBeginAllowThreads();
13605 (arg1)->_setCallbackInfo(arg2,arg3);
13606
13607 wxPyEndAllowThreads(__tstate);
13608 if (PyErr_Occurred()) SWIG_fail;
13609 }
13610 Py_INCREF(Py_None); resultobj = Py_None;
13611 return resultobj;
13612 fail:
13613 return NULL;
13614 }
13615
13616
13617 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13618 PyObject *resultobj;
13619 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13620 int arg2 ;
13621 int arg3 ;
13622 int arg4 ;
13623 int arg5 ;
13624 PyObject * obj0 = 0 ;
13625 char *kwnames[] = {
13626 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13627 };
13628
13629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyWindow_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13631 {
13632 PyThreadState* __tstate = wxPyBeginAllowThreads();
13633 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
13634
13635 wxPyEndAllowThreads(__tstate);
13636 if (PyErr_Occurred()) SWIG_fail;
13637 }
13638 Py_INCREF(Py_None); resultobj = Py_None;
13639 return resultobj;
13640 fail:
13641 return NULL;
13642 }
13643
13644
13645 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13646 PyObject *resultobj;
13647 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13648 int arg2 ;
13649 int arg3 ;
13650 int arg4 ;
13651 int arg5 ;
13652 int arg6 = (int) wxSIZE_AUTO ;
13653 PyObject * obj0 = 0 ;
13654 char *kwnames[] = {
13655 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
13656 };
13657
13658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyWindow_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
13659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13660 {
13661 PyThreadState* __tstate = wxPyBeginAllowThreads();
13662 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
13663
13664 wxPyEndAllowThreads(__tstate);
13665 if (PyErr_Occurred()) SWIG_fail;
13666 }
13667 Py_INCREF(Py_None); resultobj = Py_None;
13668 return resultobj;
13669 fail:
13670 return NULL;
13671 }
13672
13673
13674 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13675 PyObject *resultobj;
13676 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13677 int arg2 ;
13678 int arg3 ;
13679 PyObject * obj0 = 0 ;
13680 char *kwnames[] = {
13681 (char *) "self",(char *) "width",(char *) "height", NULL
13682 };
13683
13684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13686 {
13687 PyThreadState* __tstate = wxPyBeginAllowThreads();
13688 (arg1)->base_DoSetClientSize(arg2,arg3);
13689
13690 wxPyEndAllowThreads(__tstate);
13691 if (PyErr_Occurred()) SWIG_fail;
13692 }
13693 Py_INCREF(Py_None); resultobj = Py_None;
13694 return resultobj;
13695 fail:
13696 return NULL;
13697 }
13698
13699
13700 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13701 PyObject *resultobj;
13702 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13703 int arg2 ;
13704 int arg3 ;
13705 PyObject * obj0 = 0 ;
13706 char *kwnames[] = {
13707 (char *) "self",(char *) "x",(char *) "y", NULL
13708 };
13709
13710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13712 {
13713 PyThreadState* __tstate = wxPyBeginAllowThreads();
13714 (arg1)->base_DoSetVirtualSize(arg2,arg3);
13715
13716 wxPyEndAllowThreads(__tstate);
13717 if (PyErr_Occurred()) SWIG_fail;
13718 }
13719 Py_INCREF(Py_None); resultobj = Py_None;
13720 return resultobj;
13721 fail:
13722 return NULL;
13723 }
13724
13725
13726 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13727 PyObject *resultobj;
13728 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13729 int *arg2 = (int *) 0 ;
13730 int *arg3 = (int *) 0 ;
13731 int temp2 ;
13732 int temp3 ;
13733 PyObject * obj0 = 0 ;
13734 char *kwnames[] = {
13735 (char *) "self", NULL
13736 };
13737
13738 arg2 = &temp2;
13739 arg3 = &temp3;
13740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
13741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13742 {
13743 PyThreadState* __tstate = wxPyBeginAllowThreads();
13744 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
13745
13746 wxPyEndAllowThreads(__tstate);
13747 if (PyErr_Occurred()) SWIG_fail;
13748 }
13749 Py_INCREF(Py_None); resultobj = Py_None;
13750 {
13751 PyObject *o = PyInt_FromLong((long) (*arg2));
13752 resultobj = t_output_helper(resultobj,o);
13753 }
13754 {
13755 PyObject *o = PyInt_FromLong((long) (*arg3));
13756 resultobj = t_output_helper(resultobj,o);
13757 }
13758 return resultobj;
13759 fail:
13760 return NULL;
13761 }
13762
13763
13764 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13765 PyObject *resultobj;
13766 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13767 int *arg2 = (int *) 0 ;
13768 int *arg3 = (int *) 0 ;
13769 int temp2 ;
13770 int temp3 ;
13771 PyObject * obj0 = 0 ;
13772 char *kwnames[] = {
13773 (char *) "self", NULL
13774 };
13775
13776 arg2 = &temp2;
13777 arg3 = &temp3;
13778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
13779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13780 {
13781 PyThreadState* __tstate = wxPyBeginAllowThreads();
13782 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
13783
13784 wxPyEndAllowThreads(__tstate);
13785 if (PyErr_Occurred()) SWIG_fail;
13786 }
13787 Py_INCREF(Py_None); resultobj = Py_None;
13788 {
13789 PyObject *o = PyInt_FromLong((long) (*arg2));
13790 resultobj = t_output_helper(resultobj,o);
13791 }
13792 {
13793 PyObject *o = PyInt_FromLong((long) (*arg3));
13794 resultobj = t_output_helper(resultobj,o);
13795 }
13796 return resultobj;
13797 fail:
13798 return NULL;
13799 }
13800
13801
13802 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13803 PyObject *resultobj;
13804 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13805 int *arg2 = (int *) 0 ;
13806 int *arg3 = (int *) 0 ;
13807 int temp2 ;
13808 int temp3 ;
13809 PyObject * obj0 = 0 ;
13810 char *kwnames[] = {
13811 (char *) "self", NULL
13812 };
13813
13814 arg2 = &temp2;
13815 arg3 = &temp3;
13816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
13817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13818 {
13819 PyThreadState* __tstate = wxPyBeginAllowThreads();
13820 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
13821
13822 wxPyEndAllowThreads(__tstate);
13823 if (PyErr_Occurred()) SWIG_fail;
13824 }
13825 Py_INCREF(Py_None); resultobj = Py_None;
13826 {
13827 PyObject *o = PyInt_FromLong((long) (*arg2));
13828 resultobj = t_output_helper(resultobj,o);
13829 }
13830 {
13831 PyObject *o = PyInt_FromLong((long) (*arg3));
13832 resultobj = t_output_helper(resultobj,o);
13833 }
13834 return resultobj;
13835 fail:
13836 return NULL;
13837 }
13838
13839
13840 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13841 PyObject *resultobj;
13842 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13843 wxSize result;
13844 PyObject * obj0 = 0 ;
13845 char *kwnames[] = {
13846 (char *) "self", NULL
13847 };
13848
13849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
13850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13851 {
13852 PyThreadState* __tstate = wxPyBeginAllowThreads();
13853 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
13854
13855 wxPyEndAllowThreads(__tstate);
13856 if (PyErr_Occurred()) SWIG_fail;
13857 }
13858 {
13859 wxSize * resultptr;
13860 resultptr = new wxSize((wxSize &) result);
13861 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13862 }
13863 return resultobj;
13864 fail:
13865 return NULL;
13866 }
13867
13868
13869 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13870 PyObject *resultobj;
13871 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13872 wxSize result;
13873 PyObject * obj0 = 0 ;
13874 char *kwnames[] = {
13875 (char *) "self", NULL
13876 };
13877
13878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
13879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13880 {
13881 PyThreadState* __tstate = wxPyBeginAllowThreads();
13882 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
13883
13884 wxPyEndAllowThreads(__tstate);
13885 if (PyErr_Occurred()) SWIG_fail;
13886 }
13887 {
13888 wxSize * resultptr;
13889 resultptr = new wxSize((wxSize &) result);
13890 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13891 }
13892 return resultobj;
13893 fail:
13894 return NULL;
13895 }
13896
13897
13898 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13899 PyObject *resultobj;
13900 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13901 PyObject * obj0 = 0 ;
13902 char *kwnames[] = {
13903 (char *) "self", NULL
13904 };
13905
13906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
13907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13908 {
13909 PyThreadState* __tstate = wxPyBeginAllowThreads();
13910 (arg1)->base_InitDialog();
13911
13912 wxPyEndAllowThreads(__tstate);
13913 if (PyErr_Occurred()) SWIG_fail;
13914 }
13915 Py_INCREF(Py_None); resultobj = Py_None;
13916 return resultobj;
13917 fail:
13918 return NULL;
13919 }
13920
13921
13922 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13923 PyObject *resultobj;
13924 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13925 bool result;
13926 PyObject * obj0 = 0 ;
13927 char *kwnames[] = {
13928 (char *) "self", NULL
13929 };
13930
13931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
13932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13933 {
13934 PyThreadState* __tstate = wxPyBeginAllowThreads();
13935 result = (bool)(arg1)->base_TransferDataToWindow();
13936
13937 wxPyEndAllowThreads(__tstate);
13938 if (PyErr_Occurred()) SWIG_fail;
13939 }
13940 resultobj = PyInt_FromLong((long)result);
13941 return resultobj;
13942 fail:
13943 return NULL;
13944 }
13945
13946
13947 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13948 PyObject *resultobj;
13949 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13950 bool result;
13951 PyObject * obj0 = 0 ;
13952 char *kwnames[] = {
13953 (char *) "self", NULL
13954 };
13955
13956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
13957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13958 {
13959 PyThreadState* __tstate = wxPyBeginAllowThreads();
13960 result = (bool)(arg1)->base_TransferDataFromWindow();
13961
13962 wxPyEndAllowThreads(__tstate);
13963 if (PyErr_Occurred()) SWIG_fail;
13964 }
13965 resultobj = PyInt_FromLong((long)result);
13966 return resultobj;
13967 fail:
13968 return NULL;
13969 }
13970
13971
13972 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
13973 PyObject *resultobj;
13974 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13975 bool result;
13976 PyObject * obj0 = 0 ;
13977 char *kwnames[] = {
13978 (char *) "self", NULL
13979 };
13980
13981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
13982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13983 {
13984 PyThreadState* __tstate = wxPyBeginAllowThreads();
13985 result = (bool)(arg1)->base_Validate();
13986
13987 wxPyEndAllowThreads(__tstate);
13988 if (PyErr_Occurred()) SWIG_fail;
13989 }
13990 resultobj = PyInt_FromLong((long)result);
13991 return resultobj;
13992 fail:
13993 return NULL;
13994 }
13995
13996
13997 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
13998 PyObject *resultobj;
13999 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14000 bool result;
14001 PyObject * obj0 = 0 ;
14002 char *kwnames[] = {
14003 (char *) "self", NULL
14004 };
14005
14006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
14007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14008 {
14009 PyThreadState* __tstate = wxPyBeginAllowThreads();
14010 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
14011
14012 wxPyEndAllowThreads(__tstate);
14013 if (PyErr_Occurred()) SWIG_fail;
14014 }
14015 resultobj = PyInt_FromLong((long)result);
14016 return resultobj;
14017 fail:
14018 return NULL;
14019 }
14020
14021
14022 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
14023 PyObject *resultobj;
14024 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14025 bool result;
14026 PyObject * obj0 = 0 ;
14027 char *kwnames[] = {
14028 (char *) "self", NULL
14029 };
14030
14031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
14032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14033 {
14034 PyThreadState* __tstate = wxPyBeginAllowThreads();
14035 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
14036
14037 wxPyEndAllowThreads(__tstate);
14038 if (PyErr_Occurred()) SWIG_fail;
14039 }
14040 resultobj = PyInt_FromLong((long)result);
14041 return resultobj;
14042 fail:
14043 return NULL;
14044 }
14045
14046
14047 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14048 PyObject *resultobj;
14049 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14050 wxSize result;
14051 PyObject * obj0 = 0 ;
14052 char *kwnames[] = {
14053 (char *) "self", NULL
14054 };
14055
14056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
14057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14058 {
14059 PyThreadState* __tstate = wxPyBeginAllowThreads();
14060 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
14061
14062 wxPyEndAllowThreads(__tstate);
14063 if (PyErr_Occurred()) SWIG_fail;
14064 }
14065 {
14066 wxSize * resultptr;
14067 resultptr = new wxSize((wxSize &) result);
14068 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14069 }
14070 return resultobj;
14071 fail:
14072 return NULL;
14073 }
14074
14075
14076 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14077 PyObject *resultobj;
14078 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14079 wxWindow *arg2 = (wxWindow *) 0 ;
14080 PyObject * obj0 = 0 ;
14081 PyObject * obj1 = 0 ;
14082 char *kwnames[] = {
14083 (char *) "self",(char *) "child", NULL
14084 };
14085
14086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
14087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14088 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14089 {
14090 PyThreadState* __tstate = wxPyBeginAllowThreads();
14091 (arg1)->base_AddChild(arg2);
14092
14093 wxPyEndAllowThreads(__tstate);
14094 if (PyErr_Occurred()) SWIG_fail;
14095 }
14096 Py_INCREF(Py_None); resultobj = Py_None;
14097 return resultobj;
14098 fail:
14099 return NULL;
14100 }
14101
14102
14103 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14104 PyObject *resultobj;
14105 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14106 wxWindow *arg2 = (wxWindow *) 0 ;
14107 PyObject * obj0 = 0 ;
14108 PyObject * obj1 = 0 ;
14109 char *kwnames[] = {
14110 (char *) "self",(char *) "child", NULL
14111 };
14112
14113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
14114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14115 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14116 {
14117 PyThreadState* __tstate = wxPyBeginAllowThreads();
14118 (arg1)->base_RemoveChild(arg2);
14119
14120 wxPyEndAllowThreads(__tstate);
14121 if (PyErr_Occurred()) SWIG_fail;
14122 }
14123 Py_INCREF(Py_None); resultobj = Py_None;
14124 return resultobj;
14125 fail:
14126 return NULL;
14127 }
14128
14129
14130 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
14131 PyObject *obj;
14132 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14133 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
14134 Py_INCREF(obj);
14135 return Py_BuildValue((char *)"");
14136 }
14137 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
14138 PyObject *resultobj;
14139 wxWindow *arg1 = (wxWindow *) 0 ;
14140 int arg2 ;
14141 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14142 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14143 wxSize const &arg4_defvalue = wxDefaultSize ;
14144 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14145 long arg5 = (long) 0 ;
14146 wxString const &arg6_defvalue = wxPyPanelNameStr ;
14147 wxString *arg6 = (wxString *) &arg6_defvalue ;
14148 wxPyPanel *result;
14149 wxPoint temp3 ;
14150 wxSize temp4 ;
14151 bool temp6 = False ;
14152 PyObject * obj0 = 0 ;
14153 PyObject * obj2 = 0 ;
14154 PyObject * obj3 = 0 ;
14155 PyObject * obj5 = 0 ;
14156 char *kwnames[] = {
14157 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14158 };
14159
14160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyPanel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
14161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14162 if (obj2) {
14163 {
14164 arg3 = &temp3;
14165 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14166 }
14167 }
14168 if (obj3) {
14169 {
14170 arg4 = &temp4;
14171 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14172 }
14173 }
14174 if (obj5) {
14175 {
14176 arg6 = wxString_in_helper(obj5);
14177 if (arg6 == NULL) SWIG_fail;
14178 temp6 = True;
14179 }
14180 }
14181 {
14182 PyThreadState* __tstate = wxPyBeginAllowThreads();
14183 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14184
14185 wxPyEndAllowThreads(__tstate);
14186 if (PyErr_Occurred()) SWIG_fail;
14187 }
14188 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPanel, 1);
14189 {
14190 if (temp6)
14191 delete arg6;
14192 }
14193 return resultobj;
14194 fail:
14195 {
14196 if (temp6)
14197 delete arg6;
14198 }
14199 return NULL;
14200 }
14201
14202
14203 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14204 PyObject *resultobj;
14205 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14206 PyObject *arg2 = (PyObject *) 0 ;
14207 PyObject *arg3 = (PyObject *) 0 ;
14208 PyObject * obj0 = 0 ;
14209 PyObject * obj1 = 0 ;
14210 PyObject * obj2 = 0 ;
14211 char *kwnames[] = {
14212 (char *) "self",(char *) "self",(char *) "_class", NULL
14213 };
14214
14215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14217 arg2 = obj1;
14218 arg3 = obj2;
14219 {
14220 PyThreadState* __tstate = wxPyBeginAllowThreads();
14221 (arg1)->_setCallbackInfo(arg2,arg3);
14222
14223 wxPyEndAllowThreads(__tstate);
14224 if (PyErr_Occurred()) SWIG_fail;
14225 }
14226 Py_INCREF(Py_None); resultobj = Py_None;
14227 return resultobj;
14228 fail:
14229 return NULL;
14230 }
14231
14232
14233 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14234 PyObject *resultobj;
14235 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14236 int arg2 ;
14237 int arg3 ;
14238 int arg4 ;
14239 int arg5 ;
14240 PyObject * obj0 = 0 ;
14241 char *kwnames[] = {
14242 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14243 };
14244
14245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyPanel_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14247 {
14248 PyThreadState* __tstate = wxPyBeginAllowThreads();
14249 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
14250
14251 wxPyEndAllowThreads(__tstate);
14252 if (PyErr_Occurred()) SWIG_fail;
14253 }
14254 Py_INCREF(Py_None); resultobj = Py_None;
14255 return resultobj;
14256 fail:
14257 return NULL;
14258 }
14259
14260
14261 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14262 PyObject *resultobj;
14263 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14264 int arg2 ;
14265 int arg3 ;
14266 int arg4 ;
14267 int arg5 ;
14268 int arg6 = (int) wxSIZE_AUTO ;
14269 PyObject * obj0 = 0 ;
14270 char *kwnames[] = {
14271 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14272 };
14273
14274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyPanel_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
14275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14276 {
14277 PyThreadState* __tstate = wxPyBeginAllowThreads();
14278 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
14279
14280 wxPyEndAllowThreads(__tstate);
14281 if (PyErr_Occurred()) SWIG_fail;
14282 }
14283 Py_INCREF(Py_None); resultobj = Py_None;
14284 return resultobj;
14285 fail:
14286 return NULL;
14287 }
14288
14289
14290 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14291 PyObject *resultobj;
14292 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14293 int arg2 ;
14294 int arg3 ;
14295 PyObject * obj0 = 0 ;
14296 char *kwnames[] = {
14297 (char *) "self",(char *) "width",(char *) "height", NULL
14298 };
14299
14300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14302 {
14303 PyThreadState* __tstate = wxPyBeginAllowThreads();
14304 (arg1)->base_DoSetClientSize(arg2,arg3);
14305
14306 wxPyEndAllowThreads(__tstate);
14307 if (PyErr_Occurred()) SWIG_fail;
14308 }
14309 Py_INCREF(Py_None); resultobj = Py_None;
14310 return resultobj;
14311 fail:
14312 return NULL;
14313 }
14314
14315
14316 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14317 PyObject *resultobj;
14318 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14319 int arg2 ;
14320 int arg3 ;
14321 PyObject * obj0 = 0 ;
14322 char *kwnames[] = {
14323 (char *) "self",(char *) "x",(char *) "y", NULL
14324 };
14325
14326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14328 {
14329 PyThreadState* __tstate = wxPyBeginAllowThreads();
14330 (arg1)->base_DoSetVirtualSize(arg2,arg3);
14331
14332 wxPyEndAllowThreads(__tstate);
14333 if (PyErr_Occurred()) SWIG_fail;
14334 }
14335 Py_INCREF(Py_None); resultobj = Py_None;
14336 return resultobj;
14337 fail:
14338 return NULL;
14339 }
14340
14341
14342 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14343 PyObject *resultobj;
14344 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14345 int *arg2 = (int *) 0 ;
14346 int *arg3 = (int *) 0 ;
14347 int temp2 ;
14348 int temp3 ;
14349 PyObject * obj0 = 0 ;
14350 char *kwnames[] = {
14351 (char *) "self", NULL
14352 };
14353
14354 arg2 = &temp2;
14355 arg3 = &temp3;
14356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
14357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14358 {
14359 PyThreadState* __tstate = wxPyBeginAllowThreads();
14360 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
14361
14362 wxPyEndAllowThreads(__tstate);
14363 if (PyErr_Occurred()) SWIG_fail;
14364 }
14365 Py_INCREF(Py_None); resultobj = Py_None;
14366 {
14367 PyObject *o = PyInt_FromLong((long) (*arg2));
14368 resultobj = t_output_helper(resultobj,o);
14369 }
14370 {
14371 PyObject *o = PyInt_FromLong((long) (*arg3));
14372 resultobj = t_output_helper(resultobj,o);
14373 }
14374 return resultobj;
14375 fail:
14376 return NULL;
14377 }
14378
14379
14380 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14381 PyObject *resultobj;
14382 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14383 int *arg2 = (int *) 0 ;
14384 int *arg3 = (int *) 0 ;
14385 int temp2 ;
14386 int temp3 ;
14387 PyObject * obj0 = 0 ;
14388 char *kwnames[] = {
14389 (char *) "self", NULL
14390 };
14391
14392 arg2 = &temp2;
14393 arg3 = &temp3;
14394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
14395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14396 {
14397 PyThreadState* __tstate = wxPyBeginAllowThreads();
14398 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
14399
14400 wxPyEndAllowThreads(__tstate);
14401 if (PyErr_Occurred()) SWIG_fail;
14402 }
14403 Py_INCREF(Py_None); resultobj = Py_None;
14404 {
14405 PyObject *o = PyInt_FromLong((long) (*arg2));
14406 resultobj = t_output_helper(resultobj,o);
14407 }
14408 {
14409 PyObject *o = PyInt_FromLong((long) (*arg3));
14410 resultobj = t_output_helper(resultobj,o);
14411 }
14412 return resultobj;
14413 fail:
14414 return NULL;
14415 }
14416
14417
14418 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14419 PyObject *resultobj;
14420 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14421 int *arg2 = (int *) 0 ;
14422 int *arg3 = (int *) 0 ;
14423 int temp2 ;
14424 int temp3 ;
14425 PyObject * obj0 = 0 ;
14426 char *kwnames[] = {
14427 (char *) "self", NULL
14428 };
14429
14430 arg2 = &temp2;
14431 arg3 = &temp3;
14432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
14433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14434 {
14435 PyThreadState* __tstate = wxPyBeginAllowThreads();
14436 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
14437
14438 wxPyEndAllowThreads(__tstate);
14439 if (PyErr_Occurred()) SWIG_fail;
14440 }
14441 Py_INCREF(Py_None); resultobj = Py_None;
14442 {
14443 PyObject *o = PyInt_FromLong((long) (*arg2));
14444 resultobj = t_output_helper(resultobj,o);
14445 }
14446 {
14447 PyObject *o = PyInt_FromLong((long) (*arg3));
14448 resultobj = t_output_helper(resultobj,o);
14449 }
14450 return resultobj;
14451 fail:
14452 return NULL;
14453 }
14454
14455
14456 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14457 PyObject *resultobj;
14458 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14459 wxSize result;
14460 PyObject * obj0 = 0 ;
14461 char *kwnames[] = {
14462 (char *) "self", NULL
14463 };
14464
14465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
14466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14467 {
14468 PyThreadState* __tstate = wxPyBeginAllowThreads();
14469 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
14470
14471 wxPyEndAllowThreads(__tstate);
14472 if (PyErr_Occurred()) SWIG_fail;
14473 }
14474 {
14475 wxSize * resultptr;
14476 resultptr = new wxSize((wxSize &) result);
14477 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14478 }
14479 return resultobj;
14480 fail:
14481 return NULL;
14482 }
14483
14484
14485 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14486 PyObject *resultobj;
14487 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14488 wxSize result;
14489 PyObject * obj0 = 0 ;
14490 char *kwnames[] = {
14491 (char *) "self", NULL
14492 };
14493
14494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
14495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14496 {
14497 PyThreadState* __tstate = wxPyBeginAllowThreads();
14498 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
14499
14500 wxPyEndAllowThreads(__tstate);
14501 if (PyErr_Occurred()) SWIG_fail;
14502 }
14503 {
14504 wxSize * resultptr;
14505 resultptr = new wxSize((wxSize &) result);
14506 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14507 }
14508 return resultobj;
14509 fail:
14510 return NULL;
14511 }
14512
14513
14514 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14515 PyObject *resultobj;
14516 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14517 PyObject * obj0 = 0 ;
14518 char *kwnames[] = {
14519 (char *) "self", NULL
14520 };
14521
14522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
14523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14524 {
14525 PyThreadState* __tstate = wxPyBeginAllowThreads();
14526 (arg1)->base_InitDialog();
14527
14528 wxPyEndAllowThreads(__tstate);
14529 if (PyErr_Occurred()) SWIG_fail;
14530 }
14531 Py_INCREF(Py_None); resultobj = Py_None;
14532 return resultobj;
14533 fail:
14534 return NULL;
14535 }
14536
14537
14538 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14539 PyObject *resultobj;
14540 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14541 bool result;
14542 PyObject * obj0 = 0 ;
14543 char *kwnames[] = {
14544 (char *) "self", NULL
14545 };
14546
14547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
14548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14549 {
14550 PyThreadState* __tstate = wxPyBeginAllowThreads();
14551 result = (bool)(arg1)->base_TransferDataToWindow();
14552
14553 wxPyEndAllowThreads(__tstate);
14554 if (PyErr_Occurred()) SWIG_fail;
14555 }
14556 resultobj = PyInt_FromLong((long)result);
14557 return resultobj;
14558 fail:
14559 return NULL;
14560 }
14561
14562
14563 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14564 PyObject *resultobj;
14565 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14566 bool result;
14567 PyObject * obj0 = 0 ;
14568 char *kwnames[] = {
14569 (char *) "self", NULL
14570 };
14571
14572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
14573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14574 {
14575 PyThreadState* __tstate = wxPyBeginAllowThreads();
14576 result = (bool)(arg1)->base_TransferDataFromWindow();
14577
14578 wxPyEndAllowThreads(__tstate);
14579 if (PyErr_Occurred()) SWIG_fail;
14580 }
14581 resultobj = PyInt_FromLong((long)result);
14582 return resultobj;
14583 fail:
14584 return NULL;
14585 }
14586
14587
14588 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
14589 PyObject *resultobj;
14590 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14591 bool result;
14592 PyObject * obj0 = 0 ;
14593 char *kwnames[] = {
14594 (char *) "self", NULL
14595 };
14596
14597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
14598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14599 {
14600 PyThreadState* __tstate = wxPyBeginAllowThreads();
14601 result = (bool)(arg1)->base_Validate();
14602
14603 wxPyEndAllowThreads(__tstate);
14604 if (PyErr_Occurred()) SWIG_fail;
14605 }
14606 resultobj = PyInt_FromLong((long)result);
14607 return resultobj;
14608 fail:
14609 return NULL;
14610 }
14611
14612
14613 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
14614 PyObject *resultobj;
14615 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14616 bool result;
14617 PyObject * obj0 = 0 ;
14618 char *kwnames[] = {
14619 (char *) "self", NULL
14620 };
14621
14622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
14623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14624 {
14625 PyThreadState* __tstate = wxPyBeginAllowThreads();
14626 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
14627
14628 wxPyEndAllowThreads(__tstate);
14629 if (PyErr_Occurred()) SWIG_fail;
14630 }
14631 resultobj = PyInt_FromLong((long)result);
14632 return resultobj;
14633 fail:
14634 return NULL;
14635 }
14636
14637
14638 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
14639 PyObject *resultobj;
14640 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14641 bool result;
14642 PyObject * obj0 = 0 ;
14643 char *kwnames[] = {
14644 (char *) "self", NULL
14645 };
14646
14647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
14648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14649 {
14650 PyThreadState* __tstate = wxPyBeginAllowThreads();
14651 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
14652
14653 wxPyEndAllowThreads(__tstate);
14654 if (PyErr_Occurred()) SWIG_fail;
14655 }
14656 resultobj = PyInt_FromLong((long)result);
14657 return resultobj;
14658 fail:
14659 return NULL;
14660 }
14661
14662
14663 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14664 PyObject *resultobj;
14665 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14666 wxSize result;
14667 PyObject * obj0 = 0 ;
14668 char *kwnames[] = {
14669 (char *) "self", NULL
14670 };
14671
14672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
14673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14674 {
14675 PyThreadState* __tstate = wxPyBeginAllowThreads();
14676 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
14677
14678 wxPyEndAllowThreads(__tstate);
14679 if (PyErr_Occurred()) SWIG_fail;
14680 }
14681 {
14682 wxSize * resultptr;
14683 resultptr = new wxSize((wxSize &) result);
14684 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14685 }
14686 return resultobj;
14687 fail:
14688 return NULL;
14689 }
14690
14691
14692 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14693 PyObject *resultobj;
14694 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14695 wxWindow *arg2 = (wxWindow *) 0 ;
14696 PyObject * obj0 = 0 ;
14697 PyObject * obj1 = 0 ;
14698 char *kwnames[] = {
14699 (char *) "self",(char *) "child", NULL
14700 };
14701
14702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
14703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14704 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14705 {
14706 PyThreadState* __tstate = wxPyBeginAllowThreads();
14707 (arg1)->base_AddChild(arg2);
14708
14709 wxPyEndAllowThreads(__tstate);
14710 if (PyErr_Occurred()) SWIG_fail;
14711 }
14712 Py_INCREF(Py_None); resultobj = Py_None;
14713 return resultobj;
14714 fail:
14715 return NULL;
14716 }
14717
14718
14719 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14720 PyObject *resultobj;
14721 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14722 wxWindow *arg2 = (wxWindow *) 0 ;
14723 PyObject * obj0 = 0 ;
14724 PyObject * obj1 = 0 ;
14725 char *kwnames[] = {
14726 (char *) "self",(char *) "child", NULL
14727 };
14728
14729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
14730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14731 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14732 {
14733 PyThreadState* __tstate = wxPyBeginAllowThreads();
14734 (arg1)->base_RemoveChild(arg2);
14735
14736 wxPyEndAllowThreads(__tstate);
14737 if (PyErr_Occurred()) SWIG_fail;
14738 }
14739 Py_INCREF(Py_None); resultobj = Py_None;
14740 return resultobj;
14741 fail:
14742 return NULL;
14743 }
14744
14745
14746 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
14747 PyObject *obj;
14748 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14749 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
14750 Py_INCREF(obj);
14751 return Py_BuildValue((char *)"");
14752 }
14753 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
14754 PyObject *resultobj;
14755 wxPrintData *result;
14756 char *kwnames[] = {
14757 NULL
14758 };
14759
14760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
14761 {
14762 PyThreadState* __tstate = wxPyBeginAllowThreads();
14763 result = (wxPrintData *)new wxPrintData();
14764
14765 wxPyEndAllowThreads(__tstate);
14766 if (PyErr_Occurred()) SWIG_fail;
14767 }
14768 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 1);
14769 return resultobj;
14770 fail:
14771 return NULL;
14772 }
14773
14774
14775 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
14776 PyObject *resultobj;
14777 wxPrintData *arg1 = (wxPrintData *) 0 ;
14778 PyObject * obj0 = 0 ;
14779 char *kwnames[] = {
14780 (char *) "self", NULL
14781 };
14782
14783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
14784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14785 {
14786 PyThreadState* __tstate = wxPyBeginAllowThreads();
14787 delete arg1;
14788
14789 wxPyEndAllowThreads(__tstate);
14790 if (PyErr_Occurred()) SWIG_fail;
14791 }
14792 Py_INCREF(Py_None); resultobj = Py_None;
14793 return resultobj;
14794 fail:
14795 return NULL;
14796 }
14797
14798
14799 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
14800 PyObject *resultobj;
14801 wxPrintData *arg1 = (wxPrintData *) 0 ;
14802 int result;
14803 PyObject * obj0 = 0 ;
14804 char *kwnames[] = {
14805 (char *) "self", NULL
14806 };
14807
14808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
14809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14810 {
14811 PyThreadState* __tstate = wxPyBeginAllowThreads();
14812 result = (int)(arg1)->GetNoCopies();
14813
14814 wxPyEndAllowThreads(__tstate);
14815 if (PyErr_Occurred()) SWIG_fail;
14816 }
14817 resultobj = PyInt_FromLong((long)result);
14818 return resultobj;
14819 fail:
14820 return NULL;
14821 }
14822
14823
14824 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
14825 PyObject *resultobj;
14826 wxPrintData *arg1 = (wxPrintData *) 0 ;
14827 bool result;
14828 PyObject * obj0 = 0 ;
14829 char *kwnames[] = {
14830 (char *) "self", NULL
14831 };
14832
14833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
14834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14835 {
14836 PyThreadState* __tstate = wxPyBeginAllowThreads();
14837 result = (bool)(arg1)->GetCollate();
14838
14839 wxPyEndAllowThreads(__tstate);
14840 if (PyErr_Occurred()) SWIG_fail;
14841 }
14842 resultobj = PyInt_FromLong((long)result);
14843 return resultobj;
14844 fail:
14845 return NULL;
14846 }
14847
14848
14849 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
14850 PyObject *resultobj;
14851 wxPrintData *arg1 = (wxPrintData *) 0 ;
14852 int result;
14853 PyObject * obj0 = 0 ;
14854 char *kwnames[] = {
14855 (char *) "self", NULL
14856 };
14857
14858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
14859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14860 {
14861 PyThreadState* __tstate = wxPyBeginAllowThreads();
14862 result = (int)(arg1)->GetOrientation();
14863
14864 wxPyEndAllowThreads(__tstate);
14865 if (PyErr_Occurred()) SWIG_fail;
14866 }
14867 resultobj = PyInt_FromLong((long)result);
14868 return resultobj;
14869 fail:
14870 return NULL;
14871 }
14872
14873
14874 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
14875 PyObject *resultobj;
14876 wxPrintData *arg1 = (wxPrintData *) 0 ;
14877 bool result;
14878 PyObject * obj0 = 0 ;
14879 char *kwnames[] = {
14880 (char *) "self", NULL
14881 };
14882
14883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
14884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14885 {
14886 PyThreadState* __tstate = wxPyBeginAllowThreads();
14887 result = (bool)(arg1)->Ok();
14888
14889 wxPyEndAllowThreads(__tstate);
14890 if (PyErr_Occurred()) SWIG_fail;
14891 }
14892 resultobj = PyInt_FromLong((long)result);
14893 return resultobj;
14894 fail:
14895 return NULL;
14896 }
14897
14898
14899 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
14900 PyObject *resultobj;
14901 wxPrintData *arg1 = (wxPrintData *) 0 ;
14902 wxString *result;
14903 PyObject * obj0 = 0 ;
14904 char *kwnames[] = {
14905 (char *) "self", NULL
14906 };
14907
14908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
14909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14910 {
14911 PyThreadState* __tstate = wxPyBeginAllowThreads();
14912 {
14913 wxString const &_result_ref = (arg1)->GetPrinterName();
14914 result = (wxString *) &_result_ref;
14915 }
14916
14917 wxPyEndAllowThreads(__tstate);
14918 if (PyErr_Occurred()) SWIG_fail;
14919 }
14920 {
14921 #if wxUSE_UNICODE
14922 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14923 #else
14924 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14925 #endif
14926 }
14927 return resultobj;
14928 fail:
14929 return NULL;
14930 }
14931
14932
14933 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
14934 PyObject *resultobj;
14935 wxPrintData *arg1 = (wxPrintData *) 0 ;
14936 bool result;
14937 PyObject * obj0 = 0 ;
14938 char *kwnames[] = {
14939 (char *) "self", NULL
14940 };
14941
14942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
14943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14944 {
14945 PyThreadState* __tstate = wxPyBeginAllowThreads();
14946 result = (bool)(arg1)->GetColour();
14947
14948 wxPyEndAllowThreads(__tstate);
14949 if (PyErr_Occurred()) SWIG_fail;
14950 }
14951 resultobj = PyInt_FromLong((long)result);
14952 return resultobj;
14953 fail:
14954 return NULL;
14955 }
14956
14957
14958 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
14959 PyObject *resultobj;
14960 wxPrintData *arg1 = (wxPrintData *) 0 ;
14961 int result;
14962 PyObject * obj0 = 0 ;
14963 char *kwnames[] = {
14964 (char *) "self", NULL
14965 };
14966
14967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
14968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14969 {
14970 PyThreadState* __tstate = wxPyBeginAllowThreads();
14971 result = (int)(arg1)->GetDuplex();
14972
14973 wxPyEndAllowThreads(__tstate);
14974 if (PyErr_Occurred()) SWIG_fail;
14975 }
14976 resultobj = PyInt_FromLong((long)result);
14977 return resultobj;
14978 fail:
14979 return NULL;
14980 }
14981
14982
14983 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
14984 PyObject *resultobj;
14985 wxPrintData *arg1 = (wxPrintData *) 0 ;
14986 int result;
14987 PyObject * obj0 = 0 ;
14988 char *kwnames[] = {
14989 (char *) "self", NULL
14990 };
14991
14992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
14993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14994 {
14995 PyThreadState* __tstate = wxPyBeginAllowThreads();
14996 result = (int)(arg1)->GetPaperId();
14997
14998 wxPyEndAllowThreads(__tstate);
14999 if (PyErr_Occurred()) SWIG_fail;
15000 }
15001 resultobj = PyInt_FromLong((long)result);
15002 return resultobj;
15003 fail:
15004 return NULL;
15005 }
15006
15007
15008 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15009 PyObject *resultobj;
15010 wxPrintData *arg1 = (wxPrintData *) 0 ;
15011 wxSize *result;
15012 PyObject * obj0 = 0 ;
15013 char *kwnames[] = {
15014 (char *) "self", NULL
15015 };
15016
15017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
15018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15019 {
15020 PyThreadState* __tstate = wxPyBeginAllowThreads();
15021 {
15022 wxSize const &_result_ref = (arg1)->GetPaperSize();
15023 result = (wxSize *) &_result_ref;
15024 }
15025
15026 wxPyEndAllowThreads(__tstate);
15027 if (PyErr_Occurred()) SWIG_fail;
15028 }
15029 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
15030 return resultobj;
15031 fail:
15032 return NULL;
15033 }
15034
15035
15036 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
15037 PyObject *resultobj;
15038 wxPrintData *arg1 = (wxPrintData *) 0 ;
15039 wxPrintQuality result;
15040 PyObject * obj0 = 0 ;
15041 char *kwnames[] = {
15042 (char *) "self", NULL
15043 };
15044
15045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
15046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15047 {
15048 PyThreadState* __tstate = wxPyBeginAllowThreads();
15049 result = (arg1)->GetQuality();
15050
15051 wxPyEndAllowThreads(__tstate);
15052 if (PyErr_Occurred()) SWIG_fail;
15053 }
15054 {
15055 wxPrintQuality * resultptr;
15056 resultptr = new wxPrintQuality((wxPrintQuality &) result);
15057 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPrintQuality, 1);
15058 }
15059 return resultobj;
15060 fail:
15061 return NULL;
15062 }
15063
15064
15065 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
15066 PyObject *resultobj;
15067 wxPrintData *arg1 = (wxPrintData *) 0 ;
15068 int arg2 ;
15069 PyObject * obj0 = 0 ;
15070 char *kwnames[] = {
15071 (char *) "self",(char *) "v", NULL
15072 };
15073
15074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
15075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15076 {
15077 PyThreadState* __tstate = wxPyBeginAllowThreads();
15078 (arg1)->SetNoCopies(arg2);
15079
15080 wxPyEndAllowThreads(__tstate);
15081 if (PyErr_Occurred()) SWIG_fail;
15082 }
15083 Py_INCREF(Py_None); resultobj = Py_None;
15084 return resultobj;
15085 fail:
15086 return NULL;
15087 }
15088
15089
15090 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
15091 PyObject *resultobj;
15092 wxPrintData *arg1 = (wxPrintData *) 0 ;
15093 bool arg2 ;
15094 PyObject * obj0 = 0 ;
15095 PyObject * obj1 = 0 ;
15096 char *kwnames[] = {
15097 (char *) "self",(char *) "flag", NULL
15098 };
15099
15100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
15101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15102 arg2 = PyInt_AsLong(obj1) ? true : false;
15103 if (PyErr_Occurred()) SWIG_fail;
15104 {
15105 PyThreadState* __tstate = wxPyBeginAllowThreads();
15106 (arg1)->SetCollate(arg2);
15107
15108 wxPyEndAllowThreads(__tstate);
15109 if (PyErr_Occurred()) SWIG_fail;
15110 }
15111 Py_INCREF(Py_None); resultobj = Py_None;
15112 return resultobj;
15113 fail:
15114 return NULL;
15115 }
15116
15117
15118 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
15119 PyObject *resultobj;
15120 wxPrintData *arg1 = (wxPrintData *) 0 ;
15121 int arg2 ;
15122 PyObject * obj0 = 0 ;
15123 char *kwnames[] = {
15124 (char *) "self",(char *) "orient", NULL
15125 };
15126
15127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
15128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15129 {
15130 PyThreadState* __tstate = wxPyBeginAllowThreads();
15131 (arg1)->SetOrientation(arg2);
15132
15133 wxPyEndAllowThreads(__tstate);
15134 if (PyErr_Occurred()) SWIG_fail;
15135 }
15136 Py_INCREF(Py_None); resultobj = Py_None;
15137 return resultobj;
15138 fail:
15139 return NULL;
15140 }
15141
15142
15143 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
15144 PyObject *resultobj;
15145 wxPrintData *arg1 = (wxPrintData *) 0 ;
15146 wxString *arg2 = 0 ;
15147 bool temp2 = False ;
15148 PyObject * obj0 = 0 ;
15149 PyObject * obj1 = 0 ;
15150 char *kwnames[] = {
15151 (char *) "self",(char *) "name", NULL
15152 };
15153
15154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
15155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15156 {
15157 arg2 = wxString_in_helper(obj1);
15158 if (arg2 == NULL) SWIG_fail;
15159 temp2 = True;
15160 }
15161 {
15162 PyThreadState* __tstate = wxPyBeginAllowThreads();
15163 (arg1)->SetPrinterName((wxString const &)*arg2);
15164
15165 wxPyEndAllowThreads(__tstate);
15166 if (PyErr_Occurred()) SWIG_fail;
15167 }
15168 Py_INCREF(Py_None); resultobj = Py_None;
15169 {
15170 if (temp2)
15171 delete arg2;
15172 }
15173 return resultobj;
15174 fail:
15175 {
15176 if (temp2)
15177 delete arg2;
15178 }
15179 return NULL;
15180 }
15181
15182
15183 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15184 PyObject *resultobj;
15185 wxPrintData *arg1 = (wxPrintData *) 0 ;
15186 bool arg2 ;
15187 PyObject * obj0 = 0 ;
15188 PyObject * obj1 = 0 ;
15189 char *kwnames[] = {
15190 (char *) "self",(char *) "colour", NULL
15191 };
15192
15193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15195 arg2 = PyInt_AsLong(obj1) ? true : false;
15196 if (PyErr_Occurred()) SWIG_fail;
15197 {
15198 PyThreadState* __tstate = wxPyBeginAllowThreads();
15199 (arg1)->SetColour(arg2);
15200
15201 wxPyEndAllowThreads(__tstate);
15202 if (PyErr_Occurred()) SWIG_fail;
15203 }
15204 Py_INCREF(Py_None); resultobj = Py_None;
15205 return resultobj;
15206 fail:
15207 return NULL;
15208 }
15209
15210
15211 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
15212 PyObject *resultobj;
15213 wxPrintData *arg1 = (wxPrintData *) 0 ;
15214 int arg2 ;
15215 PyObject * obj0 = 0 ;
15216 char *kwnames[] = {
15217 (char *) "self",(char *) "duplex", NULL
15218 };
15219
15220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetDuplex",kwnames,&obj0,&arg2)) goto fail;
15221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15222 {
15223 PyThreadState* __tstate = wxPyBeginAllowThreads();
15224 (arg1)->SetDuplex((wxDuplexMode )arg2);
15225
15226 wxPyEndAllowThreads(__tstate);
15227 if (PyErr_Occurred()) SWIG_fail;
15228 }
15229 Py_INCREF(Py_None); resultobj = Py_None;
15230 return resultobj;
15231 fail:
15232 return NULL;
15233 }
15234
15235
15236 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
15237 PyObject *resultobj;
15238 wxPrintData *arg1 = (wxPrintData *) 0 ;
15239 int arg2 ;
15240 PyObject * obj0 = 0 ;
15241 char *kwnames[] = {
15242 (char *) "self",(char *) "sizeId", NULL
15243 };
15244
15245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
15246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15247 {
15248 PyThreadState* __tstate = wxPyBeginAllowThreads();
15249 (arg1)->SetPaperId((wxPaperSize )arg2);
15250
15251 wxPyEndAllowThreads(__tstate);
15252 if (PyErr_Occurred()) SWIG_fail;
15253 }
15254 Py_INCREF(Py_None); resultobj = Py_None;
15255 return resultobj;
15256 fail:
15257 return NULL;
15258 }
15259
15260
15261 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15262 PyObject *resultobj;
15263 wxPrintData *arg1 = (wxPrintData *) 0 ;
15264 wxSize *arg2 = 0 ;
15265 wxSize temp2 ;
15266 PyObject * obj0 = 0 ;
15267 PyObject * obj1 = 0 ;
15268 char *kwnames[] = {
15269 (char *) "self",(char *) "sz", NULL
15270 };
15271
15272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
15273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15274 {
15275 arg2 = &temp2;
15276 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15277 }
15278 {
15279 PyThreadState* __tstate = wxPyBeginAllowThreads();
15280 (arg1)->SetPaperSize((wxSize const &)*arg2);
15281
15282 wxPyEndAllowThreads(__tstate);
15283 if (PyErr_Occurred()) SWIG_fail;
15284 }
15285 Py_INCREF(Py_None); resultobj = Py_None;
15286 return resultobj;
15287 fail:
15288 return NULL;
15289 }
15290
15291
15292 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
15293 PyObject *resultobj;
15294 wxPrintData *arg1 = (wxPrintData *) 0 ;
15295 wxPrintQuality arg2 ;
15296 wxPrintQuality *argp2 ;
15297 PyObject * obj0 = 0 ;
15298 PyObject * obj1 = 0 ;
15299 char *kwnames[] = {
15300 (char *) "self",(char *) "quality", NULL
15301 };
15302
15303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
15304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15305 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxPrintQuality,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
15306 arg2 = *argp2;
15307 {
15308 PyThreadState* __tstate = wxPyBeginAllowThreads();
15309 (arg1)->SetQuality(arg2);
15310
15311 wxPyEndAllowThreads(__tstate);
15312 if (PyErr_Occurred()) SWIG_fail;
15313 }
15314 Py_INCREF(Py_None); resultobj = Py_None;
15315 return resultobj;
15316 fail:
15317 return NULL;
15318 }
15319
15320
15321 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15322 PyObject *resultobj;
15323 wxPrintData *arg1 = (wxPrintData *) 0 ;
15324 wxString *result;
15325 PyObject * obj0 = 0 ;
15326 char *kwnames[] = {
15327 (char *) "self", NULL
15328 };
15329
15330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
15331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15332 {
15333 PyThreadState* __tstate = wxPyBeginAllowThreads();
15334 {
15335 wxString const &_result_ref = (arg1)->GetPrinterCommand();
15336 result = (wxString *) &_result_ref;
15337 }
15338
15339 wxPyEndAllowThreads(__tstate);
15340 if (PyErr_Occurred()) SWIG_fail;
15341 }
15342 {
15343 #if wxUSE_UNICODE
15344 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15345 #else
15346 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15347 #endif
15348 }
15349 return resultobj;
15350 fail:
15351 return NULL;
15352 }
15353
15354
15355 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15356 PyObject *resultobj;
15357 wxPrintData *arg1 = (wxPrintData *) 0 ;
15358 wxString *result;
15359 PyObject * obj0 = 0 ;
15360 char *kwnames[] = {
15361 (char *) "self", NULL
15362 };
15363
15364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
15365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15366 {
15367 PyThreadState* __tstate = wxPyBeginAllowThreads();
15368 {
15369 wxString const &_result_ref = (arg1)->GetPrinterOptions();
15370 result = (wxString *) &_result_ref;
15371 }
15372
15373 wxPyEndAllowThreads(__tstate);
15374 if (PyErr_Occurred()) SWIG_fail;
15375 }
15376 {
15377 #if wxUSE_UNICODE
15378 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15379 #else
15380 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15381 #endif
15382 }
15383 return resultobj;
15384 fail:
15385 return NULL;
15386 }
15387
15388
15389 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15390 PyObject *resultobj;
15391 wxPrintData *arg1 = (wxPrintData *) 0 ;
15392 wxString *result;
15393 PyObject * obj0 = 0 ;
15394 char *kwnames[] = {
15395 (char *) "self", NULL
15396 };
15397
15398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
15399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15400 {
15401 PyThreadState* __tstate = wxPyBeginAllowThreads();
15402 {
15403 wxString const &_result_ref = (arg1)->GetPreviewCommand();
15404 result = (wxString *) &_result_ref;
15405 }
15406
15407 wxPyEndAllowThreads(__tstate);
15408 if (PyErr_Occurred()) SWIG_fail;
15409 }
15410 {
15411 #if wxUSE_UNICODE
15412 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15413 #else
15414 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15415 #endif
15416 }
15417 return resultobj;
15418 fail:
15419 return NULL;
15420 }
15421
15422
15423 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
15424 PyObject *resultobj;
15425 wxPrintData *arg1 = (wxPrintData *) 0 ;
15426 wxString *result;
15427 PyObject * obj0 = 0 ;
15428 char *kwnames[] = {
15429 (char *) "self", NULL
15430 };
15431
15432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
15433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15434 {
15435 PyThreadState* __tstate = wxPyBeginAllowThreads();
15436 {
15437 wxString const &_result_ref = (arg1)->GetFilename();
15438 result = (wxString *) &_result_ref;
15439 }
15440
15441 wxPyEndAllowThreads(__tstate);
15442 if (PyErr_Occurred()) SWIG_fail;
15443 }
15444 {
15445 #if wxUSE_UNICODE
15446 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15447 #else
15448 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15449 #endif
15450 }
15451 return resultobj;
15452 fail:
15453 return NULL;
15454 }
15455
15456
15457 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
15458 PyObject *resultobj;
15459 wxPrintData *arg1 = (wxPrintData *) 0 ;
15460 wxString *result;
15461 PyObject * obj0 = 0 ;
15462 char *kwnames[] = {
15463 (char *) "self", NULL
15464 };
15465
15466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
15467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15468 {
15469 PyThreadState* __tstate = wxPyBeginAllowThreads();
15470 {
15471 wxString const &_result_ref = (arg1)->GetFontMetricPath();
15472 result = (wxString *) &_result_ref;
15473 }
15474
15475 wxPyEndAllowThreads(__tstate);
15476 if (PyErr_Occurred()) SWIG_fail;
15477 }
15478 {
15479 #if wxUSE_UNICODE
15480 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15481 #else
15482 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15483 #endif
15484 }
15485 return resultobj;
15486 fail:
15487 return NULL;
15488 }
15489
15490
15491 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
15492 PyObject *resultobj;
15493 wxPrintData *arg1 = (wxPrintData *) 0 ;
15494 double result;
15495 PyObject * obj0 = 0 ;
15496 char *kwnames[] = {
15497 (char *) "self", NULL
15498 };
15499
15500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
15501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15502 {
15503 PyThreadState* __tstate = wxPyBeginAllowThreads();
15504 result = (double)(arg1)->GetPrinterScaleX();
15505
15506 wxPyEndAllowThreads(__tstate);
15507 if (PyErr_Occurred()) SWIG_fail;
15508 }
15509 resultobj = PyFloat_FromDouble(result);
15510 return resultobj;
15511 fail:
15512 return NULL;
15513 }
15514
15515
15516 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
15517 PyObject *resultobj;
15518 wxPrintData *arg1 = (wxPrintData *) 0 ;
15519 double result;
15520 PyObject * obj0 = 0 ;
15521 char *kwnames[] = {
15522 (char *) "self", NULL
15523 };
15524
15525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
15526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15527 {
15528 PyThreadState* __tstate = wxPyBeginAllowThreads();
15529 result = (double)(arg1)->GetPrinterScaleY();
15530
15531 wxPyEndAllowThreads(__tstate);
15532 if (PyErr_Occurred()) SWIG_fail;
15533 }
15534 resultobj = PyFloat_FromDouble(result);
15535 return resultobj;
15536 fail:
15537 return NULL;
15538 }
15539
15540
15541 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
15542 PyObject *resultobj;
15543 wxPrintData *arg1 = (wxPrintData *) 0 ;
15544 long result;
15545 PyObject * obj0 = 0 ;
15546 char *kwnames[] = {
15547 (char *) "self", NULL
15548 };
15549
15550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
15551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15552 {
15553 PyThreadState* __tstate = wxPyBeginAllowThreads();
15554 result = (long)(arg1)->GetPrinterTranslateX();
15555
15556 wxPyEndAllowThreads(__tstate);
15557 if (PyErr_Occurred()) SWIG_fail;
15558 }
15559 resultobj = PyInt_FromLong((long)result);
15560 return resultobj;
15561 fail:
15562 return NULL;
15563 }
15564
15565
15566 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
15567 PyObject *resultobj;
15568 wxPrintData *arg1 = (wxPrintData *) 0 ;
15569 long result;
15570 PyObject * obj0 = 0 ;
15571 char *kwnames[] = {
15572 (char *) "self", NULL
15573 };
15574
15575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
15576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15577 {
15578 PyThreadState* __tstate = wxPyBeginAllowThreads();
15579 result = (long)(arg1)->GetPrinterTranslateY();
15580
15581 wxPyEndAllowThreads(__tstate);
15582 if (PyErr_Occurred()) SWIG_fail;
15583 }
15584 resultobj = PyInt_FromLong((long)result);
15585 return resultobj;
15586 fail:
15587 return NULL;
15588 }
15589
15590
15591 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
15592 PyObject *resultobj;
15593 wxPrintData *arg1 = (wxPrintData *) 0 ;
15594 int result;
15595 PyObject * obj0 = 0 ;
15596 char *kwnames[] = {
15597 (char *) "self", NULL
15598 };
15599
15600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
15601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15602 {
15603 PyThreadState* __tstate = wxPyBeginAllowThreads();
15604 result = (int)(arg1)->GetPrintMode();
15605
15606 wxPyEndAllowThreads(__tstate);
15607 if (PyErr_Occurred()) SWIG_fail;
15608 }
15609 resultobj = PyInt_FromLong((long)result);
15610 return resultobj;
15611 fail:
15612 return NULL;
15613 }
15614
15615
15616 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15617 PyObject *resultobj;
15618 wxPrintData *arg1 = (wxPrintData *) 0 ;
15619 wxString *arg2 = 0 ;
15620 bool temp2 = False ;
15621 PyObject * obj0 = 0 ;
15622 PyObject * obj1 = 0 ;
15623 char *kwnames[] = {
15624 (char *) "self",(char *) "command", NULL
15625 };
15626
15627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
15628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15629 {
15630 arg2 = wxString_in_helper(obj1);
15631 if (arg2 == NULL) SWIG_fail;
15632 temp2 = True;
15633 }
15634 {
15635 PyThreadState* __tstate = wxPyBeginAllowThreads();
15636 (arg1)->SetPrinterCommand((wxString const &)*arg2);
15637
15638 wxPyEndAllowThreads(__tstate);
15639 if (PyErr_Occurred()) SWIG_fail;
15640 }
15641 Py_INCREF(Py_None); resultobj = Py_None;
15642 {
15643 if (temp2)
15644 delete arg2;
15645 }
15646 return resultobj;
15647 fail:
15648 {
15649 if (temp2)
15650 delete arg2;
15651 }
15652 return NULL;
15653 }
15654
15655
15656 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15657 PyObject *resultobj;
15658 wxPrintData *arg1 = (wxPrintData *) 0 ;
15659 wxString *arg2 = 0 ;
15660 bool temp2 = False ;
15661 PyObject * obj0 = 0 ;
15662 PyObject * obj1 = 0 ;
15663 char *kwnames[] = {
15664 (char *) "self",(char *) "options", NULL
15665 };
15666
15667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
15668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15669 {
15670 arg2 = wxString_in_helper(obj1);
15671 if (arg2 == NULL) SWIG_fail;
15672 temp2 = True;
15673 }
15674 {
15675 PyThreadState* __tstate = wxPyBeginAllowThreads();
15676 (arg1)->SetPrinterOptions((wxString const &)*arg2);
15677
15678 wxPyEndAllowThreads(__tstate);
15679 if (PyErr_Occurred()) SWIG_fail;
15680 }
15681 Py_INCREF(Py_None); resultobj = Py_None;
15682 {
15683 if (temp2)
15684 delete arg2;
15685 }
15686 return resultobj;
15687 fail:
15688 {
15689 if (temp2)
15690 delete arg2;
15691 }
15692 return NULL;
15693 }
15694
15695
15696 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15697 PyObject *resultobj;
15698 wxPrintData *arg1 = (wxPrintData *) 0 ;
15699 wxString *arg2 = 0 ;
15700 bool temp2 = False ;
15701 PyObject * obj0 = 0 ;
15702 PyObject * obj1 = 0 ;
15703 char *kwnames[] = {
15704 (char *) "self",(char *) "command", NULL
15705 };
15706
15707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
15708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15709 {
15710 arg2 = wxString_in_helper(obj1);
15711 if (arg2 == NULL) SWIG_fail;
15712 temp2 = True;
15713 }
15714 {
15715 PyThreadState* __tstate = wxPyBeginAllowThreads();
15716 (arg1)->SetPreviewCommand((wxString const &)*arg2);
15717
15718 wxPyEndAllowThreads(__tstate);
15719 if (PyErr_Occurred()) SWIG_fail;
15720 }
15721 Py_INCREF(Py_None); resultobj = Py_None;
15722 {
15723 if (temp2)
15724 delete arg2;
15725 }
15726 return resultobj;
15727 fail:
15728 {
15729 if (temp2)
15730 delete arg2;
15731 }
15732 return NULL;
15733 }
15734
15735
15736 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
15737 PyObject *resultobj;
15738 wxPrintData *arg1 = (wxPrintData *) 0 ;
15739 wxString *arg2 = 0 ;
15740 bool temp2 = False ;
15741 PyObject * obj0 = 0 ;
15742 PyObject * obj1 = 0 ;
15743 char *kwnames[] = {
15744 (char *) "self",(char *) "filename", NULL
15745 };
15746
15747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
15748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15749 {
15750 arg2 = wxString_in_helper(obj1);
15751 if (arg2 == NULL) SWIG_fail;
15752 temp2 = True;
15753 }
15754 {
15755 PyThreadState* __tstate = wxPyBeginAllowThreads();
15756 (arg1)->SetFilename((wxString const &)*arg2);
15757
15758 wxPyEndAllowThreads(__tstate);
15759 if (PyErr_Occurred()) SWIG_fail;
15760 }
15761 Py_INCREF(Py_None); resultobj = Py_None;
15762 {
15763 if (temp2)
15764 delete arg2;
15765 }
15766 return resultobj;
15767 fail:
15768 {
15769 if (temp2)
15770 delete arg2;
15771 }
15772 return NULL;
15773 }
15774
15775
15776 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
15777 PyObject *resultobj;
15778 wxPrintData *arg1 = (wxPrintData *) 0 ;
15779 wxString *arg2 = 0 ;
15780 bool temp2 = False ;
15781 PyObject * obj0 = 0 ;
15782 PyObject * obj1 = 0 ;
15783 char *kwnames[] = {
15784 (char *) "self",(char *) "path", NULL
15785 };
15786
15787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
15788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15789 {
15790 arg2 = wxString_in_helper(obj1);
15791 if (arg2 == NULL) SWIG_fail;
15792 temp2 = True;
15793 }
15794 {
15795 PyThreadState* __tstate = wxPyBeginAllowThreads();
15796 (arg1)->SetFontMetricPath((wxString const &)*arg2);
15797
15798 wxPyEndAllowThreads(__tstate);
15799 if (PyErr_Occurred()) SWIG_fail;
15800 }
15801 Py_INCREF(Py_None); resultobj = Py_None;
15802 {
15803 if (temp2)
15804 delete arg2;
15805 }
15806 return resultobj;
15807 fail:
15808 {
15809 if (temp2)
15810 delete arg2;
15811 }
15812 return NULL;
15813 }
15814
15815
15816 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
15817 PyObject *resultobj;
15818 wxPrintData *arg1 = (wxPrintData *) 0 ;
15819 double arg2 ;
15820 PyObject * obj0 = 0 ;
15821 char *kwnames[] = {
15822 (char *) "self",(char *) "x", NULL
15823 };
15824
15825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleX",kwnames,&obj0,&arg2)) goto fail;
15826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15827 {
15828 PyThreadState* __tstate = wxPyBeginAllowThreads();
15829 (arg1)->SetPrinterScaleX(arg2);
15830
15831 wxPyEndAllowThreads(__tstate);
15832 if (PyErr_Occurred()) SWIG_fail;
15833 }
15834 Py_INCREF(Py_None); resultobj = Py_None;
15835 return resultobj;
15836 fail:
15837 return NULL;
15838 }
15839
15840
15841 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
15842 PyObject *resultobj;
15843 wxPrintData *arg1 = (wxPrintData *) 0 ;
15844 double arg2 ;
15845 PyObject * obj0 = 0 ;
15846 char *kwnames[] = {
15847 (char *) "self",(char *) "y", NULL
15848 };
15849
15850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleY",kwnames,&obj0,&arg2)) goto fail;
15851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15852 {
15853 PyThreadState* __tstate = wxPyBeginAllowThreads();
15854 (arg1)->SetPrinterScaleY(arg2);
15855
15856 wxPyEndAllowThreads(__tstate);
15857 if (PyErr_Occurred()) SWIG_fail;
15858 }
15859 Py_INCREF(Py_None); resultobj = Py_None;
15860 return resultobj;
15861 fail:
15862 return NULL;
15863 }
15864
15865
15866 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
15867 PyObject *resultobj;
15868 wxPrintData *arg1 = (wxPrintData *) 0 ;
15869 double arg2 ;
15870 double arg3 ;
15871 PyObject * obj0 = 0 ;
15872 char *kwnames[] = {
15873 (char *) "self",(char *) "x",(char *) "y", NULL
15874 };
15875
15876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PrintData_SetPrinterScaling",kwnames,&obj0,&arg2,&arg3)) goto fail;
15877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15878 {
15879 PyThreadState* __tstate = wxPyBeginAllowThreads();
15880 (arg1)->SetPrinterScaling(arg2,arg3);
15881
15882 wxPyEndAllowThreads(__tstate);
15883 if (PyErr_Occurred()) SWIG_fail;
15884 }
15885 Py_INCREF(Py_None); resultobj = Py_None;
15886 return resultobj;
15887 fail:
15888 return NULL;
15889 }
15890
15891
15892 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
15893 PyObject *resultobj;
15894 wxPrintData *arg1 = (wxPrintData *) 0 ;
15895 long arg2 ;
15896 PyObject * obj0 = 0 ;
15897 char *kwnames[] = {
15898 (char *) "self",(char *) "x", NULL
15899 };
15900
15901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateX",kwnames,&obj0,&arg2)) goto fail;
15902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15903 {
15904 PyThreadState* __tstate = wxPyBeginAllowThreads();
15905 (arg1)->SetPrinterTranslateX(arg2);
15906
15907 wxPyEndAllowThreads(__tstate);
15908 if (PyErr_Occurred()) SWIG_fail;
15909 }
15910 Py_INCREF(Py_None); resultobj = Py_None;
15911 return resultobj;
15912 fail:
15913 return NULL;
15914 }
15915
15916
15917 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
15918 PyObject *resultobj;
15919 wxPrintData *arg1 = (wxPrintData *) 0 ;
15920 long arg2 ;
15921 PyObject * obj0 = 0 ;
15922 char *kwnames[] = {
15923 (char *) "self",(char *) "y", NULL
15924 };
15925
15926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateY",kwnames,&obj0,&arg2)) goto fail;
15927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15928 {
15929 PyThreadState* __tstate = wxPyBeginAllowThreads();
15930 (arg1)->SetPrinterTranslateY(arg2);
15931
15932 wxPyEndAllowThreads(__tstate);
15933 if (PyErr_Occurred()) SWIG_fail;
15934 }
15935 Py_INCREF(Py_None); resultobj = Py_None;
15936 return resultobj;
15937 fail:
15938 return NULL;
15939 }
15940
15941
15942 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
15943 PyObject *resultobj;
15944 wxPrintData *arg1 = (wxPrintData *) 0 ;
15945 long arg2 ;
15946 long arg3 ;
15947 PyObject * obj0 = 0 ;
15948 char *kwnames[] = {
15949 (char *) "self",(char *) "x",(char *) "y", NULL
15950 };
15951
15952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:PrintData_SetPrinterTranslation",kwnames,&obj0,&arg2,&arg3)) goto fail;
15953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15954 {
15955 PyThreadState* __tstate = wxPyBeginAllowThreads();
15956 (arg1)->SetPrinterTranslation(arg2,arg3);
15957
15958 wxPyEndAllowThreads(__tstate);
15959 if (PyErr_Occurred()) SWIG_fail;
15960 }
15961 Py_INCREF(Py_None); resultobj = Py_None;
15962 return resultobj;
15963 fail:
15964 return NULL;
15965 }
15966
15967
15968 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
15969 PyObject *resultobj;
15970 wxPrintData *arg1 = (wxPrintData *) 0 ;
15971 int arg2 ;
15972 PyObject * obj0 = 0 ;
15973 char *kwnames[] = {
15974 (char *) "self",(char *) "printMode", NULL
15975 };
15976
15977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPrintMode",kwnames,&obj0,&arg2)) goto fail;
15978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15979 {
15980 PyThreadState* __tstate = wxPyBeginAllowThreads();
15981 (arg1)->SetPrintMode((wxPrintMode )arg2);
15982
15983 wxPyEndAllowThreads(__tstate);
15984 if (PyErr_Occurred()) SWIG_fail;
15985 }
15986 Py_INCREF(Py_None); resultobj = Py_None;
15987 return resultobj;
15988 fail:
15989 return NULL;
15990 }
15991
15992
15993 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
15994 PyObject *obj;
15995 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15996 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
15997 Py_INCREF(obj);
15998 return Py_BuildValue((char *)"");
15999 }
16000 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16001 PyObject *resultobj;
16002 wxPageSetupDialogData *result;
16003 char *kwnames[] = {
16004 NULL
16005 };
16006
16007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
16008 {
16009 PyThreadState* __tstate = wxPyBeginAllowThreads();
16010 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
16011
16012 wxPyEndAllowThreads(__tstate);
16013 if (PyErr_Occurred()) SWIG_fail;
16014 }
16015 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 1);
16016 return resultobj;
16017 fail:
16018 return NULL;
16019 }
16020
16021
16022 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16023 PyObject *resultobj;
16024 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16025 PyObject * obj0 = 0 ;
16026 char *kwnames[] = {
16027 (char *) "self", NULL
16028 };
16029
16030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
16031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16032 {
16033 PyThreadState* __tstate = wxPyBeginAllowThreads();
16034 delete arg1;
16035
16036 wxPyEndAllowThreads(__tstate);
16037 if (PyErr_Occurred()) SWIG_fail;
16038 }
16039 Py_INCREF(Py_None); resultobj = Py_None;
16040 return resultobj;
16041 fail:
16042 return NULL;
16043 }
16044
16045
16046 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16047 PyObject *resultobj;
16048 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16049 bool arg2 ;
16050 PyObject * obj0 = 0 ;
16051 PyObject * obj1 = 0 ;
16052 char *kwnames[] = {
16053 (char *) "self",(char *) "flag", NULL
16054 };
16055
16056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
16057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16058 arg2 = PyInt_AsLong(obj1) ? true : false;
16059 if (PyErr_Occurred()) SWIG_fail;
16060 {
16061 PyThreadState* __tstate = wxPyBeginAllowThreads();
16062 (arg1)->EnableHelp(arg2);
16063
16064 wxPyEndAllowThreads(__tstate);
16065 if (PyErr_Occurred()) SWIG_fail;
16066 }
16067 Py_INCREF(Py_None); resultobj = Py_None;
16068 return resultobj;
16069 fail:
16070 return NULL;
16071 }
16072
16073
16074 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16075 PyObject *resultobj;
16076 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16077 bool arg2 ;
16078 PyObject * obj0 = 0 ;
16079 PyObject * obj1 = 0 ;
16080 char *kwnames[] = {
16081 (char *) "self",(char *) "flag", NULL
16082 };
16083
16084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
16085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16086 arg2 = PyInt_AsLong(obj1) ? true : false;
16087 if (PyErr_Occurred()) SWIG_fail;
16088 {
16089 PyThreadState* __tstate = wxPyBeginAllowThreads();
16090 (arg1)->EnableMargins(arg2);
16091
16092 wxPyEndAllowThreads(__tstate);
16093 if (PyErr_Occurred()) SWIG_fail;
16094 }
16095 Py_INCREF(Py_None); resultobj = Py_None;
16096 return resultobj;
16097 fail:
16098 return NULL;
16099 }
16100
16101
16102 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16103 PyObject *resultobj;
16104 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16105 bool arg2 ;
16106 PyObject * obj0 = 0 ;
16107 PyObject * obj1 = 0 ;
16108 char *kwnames[] = {
16109 (char *) "self",(char *) "flag", NULL
16110 };
16111
16112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
16113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16114 arg2 = PyInt_AsLong(obj1) ? true : false;
16115 if (PyErr_Occurred()) SWIG_fail;
16116 {
16117 PyThreadState* __tstate = wxPyBeginAllowThreads();
16118 (arg1)->EnableOrientation(arg2);
16119
16120 wxPyEndAllowThreads(__tstate);
16121 if (PyErr_Occurred()) SWIG_fail;
16122 }
16123 Py_INCREF(Py_None); resultobj = Py_None;
16124 return resultobj;
16125 fail:
16126 return NULL;
16127 }
16128
16129
16130 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
16131 PyObject *resultobj;
16132 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16133 bool arg2 ;
16134 PyObject * obj0 = 0 ;
16135 PyObject * obj1 = 0 ;
16136 char *kwnames[] = {
16137 (char *) "self",(char *) "flag", NULL
16138 };
16139
16140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
16141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16142 arg2 = PyInt_AsLong(obj1) ? true : false;
16143 if (PyErr_Occurred()) SWIG_fail;
16144 {
16145 PyThreadState* __tstate = wxPyBeginAllowThreads();
16146 (arg1)->EnablePaper(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 *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16159 PyObject *resultobj;
16160 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16161 bool arg2 ;
16162 PyObject * obj0 = 0 ;
16163 PyObject * obj1 = 0 ;
16164 char *kwnames[] = {
16165 (char *) "self",(char *) "flag", NULL
16166 };
16167
16168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
16169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16170 arg2 = PyInt_AsLong(obj1) ? true : false;
16171 if (PyErr_Occurred()) SWIG_fail;
16172 {
16173 PyThreadState* __tstate = wxPyBeginAllowThreads();
16174 (arg1)->EnablePrinter(arg2);
16175
16176 wxPyEndAllowThreads(__tstate);
16177 if (PyErr_Occurred()) SWIG_fail;
16178 }
16179 Py_INCREF(Py_None); resultobj = Py_None;
16180 return resultobj;
16181 fail:
16182 return NULL;
16183 }
16184
16185
16186 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16187 PyObject *resultobj;
16188 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16189 bool result;
16190 PyObject * obj0 = 0 ;
16191 char *kwnames[] = {
16192 (char *) "self", NULL
16193 };
16194
16195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",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 result = (bool)(arg1)->GetDefaultMinMargins();
16200
16201 wxPyEndAllowThreads(__tstate);
16202 if (PyErr_Occurred()) SWIG_fail;
16203 }
16204 resultobj = PyInt_FromLong((long)result);
16205 return resultobj;
16206 fail:
16207 return NULL;
16208 }
16209
16210
16211 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16212 PyObject *resultobj;
16213 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16214 bool result;
16215 PyObject * obj0 = 0 ;
16216 char *kwnames[] = {
16217 (char *) "self", NULL
16218 };
16219
16220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
16221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16222 {
16223 PyThreadState* __tstate = wxPyBeginAllowThreads();
16224 result = (bool)(arg1)->GetEnableMargins();
16225
16226 wxPyEndAllowThreads(__tstate);
16227 if (PyErr_Occurred()) SWIG_fail;
16228 }
16229 resultobj = PyInt_FromLong((long)result);
16230 return resultobj;
16231 fail:
16232 return NULL;
16233 }
16234
16235
16236 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16237 PyObject *resultobj;
16238 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16239 bool result;
16240 PyObject * obj0 = 0 ;
16241 char *kwnames[] = {
16242 (char *) "self", NULL
16243 };
16244
16245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
16246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16247 {
16248 PyThreadState* __tstate = wxPyBeginAllowThreads();
16249 result = (bool)(arg1)->GetEnableOrientation();
16250
16251 wxPyEndAllowThreads(__tstate);
16252 if (PyErr_Occurred()) SWIG_fail;
16253 }
16254 resultobj = PyInt_FromLong((long)result);
16255 return resultobj;
16256 fail:
16257 return NULL;
16258 }
16259
16260
16261 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
16262 PyObject *resultobj;
16263 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16264 bool result;
16265 PyObject * obj0 = 0 ;
16266 char *kwnames[] = {
16267 (char *) "self", NULL
16268 };
16269
16270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
16271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16272 {
16273 PyThreadState* __tstate = wxPyBeginAllowThreads();
16274 result = (bool)(arg1)->GetEnablePaper();
16275
16276 wxPyEndAllowThreads(__tstate);
16277 if (PyErr_Occurred()) SWIG_fail;
16278 }
16279 resultobj = PyInt_FromLong((long)result);
16280 return resultobj;
16281 fail:
16282 return NULL;
16283 }
16284
16285
16286 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16287 PyObject *resultobj;
16288 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16289 bool result;
16290 PyObject * obj0 = 0 ;
16291 char *kwnames[] = {
16292 (char *) "self", NULL
16293 };
16294
16295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
16296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16297 {
16298 PyThreadState* __tstate = wxPyBeginAllowThreads();
16299 result = (bool)(arg1)->GetEnablePrinter();
16300
16301 wxPyEndAllowThreads(__tstate);
16302 if (PyErr_Occurred()) SWIG_fail;
16303 }
16304 resultobj = PyInt_FromLong((long)result);
16305 return resultobj;
16306 fail:
16307 return NULL;
16308 }
16309
16310
16311 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16312 PyObject *resultobj;
16313 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16314 bool result;
16315 PyObject * obj0 = 0 ;
16316 char *kwnames[] = {
16317 (char *) "self", NULL
16318 };
16319
16320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
16321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16322 {
16323 PyThreadState* __tstate = wxPyBeginAllowThreads();
16324 result = (bool)(arg1)->GetEnableHelp();
16325
16326 wxPyEndAllowThreads(__tstate);
16327 if (PyErr_Occurred()) SWIG_fail;
16328 }
16329 resultobj = PyInt_FromLong((long)result);
16330 return resultobj;
16331 fail:
16332 return NULL;
16333 }
16334
16335
16336 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16337 PyObject *resultobj;
16338 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16339 bool result;
16340 PyObject * obj0 = 0 ;
16341 char *kwnames[] = {
16342 (char *) "self", NULL
16343 };
16344
16345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
16346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16347 {
16348 PyThreadState* __tstate = wxPyBeginAllowThreads();
16349 result = (bool)(arg1)->GetDefaultInfo();
16350
16351 wxPyEndAllowThreads(__tstate);
16352 if (PyErr_Occurred()) SWIG_fail;
16353 }
16354 resultobj = PyInt_FromLong((long)result);
16355 return resultobj;
16356 fail:
16357 return NULL;
16358 }
16359
16360
16361 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16362 PyObject *resultobj;
16363 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16364 wxPoint result;
16365 PyObject * obj0 = 0 ;
16366 char *kwnames[] = {
16367 (char *) "self", NULL
16368 };
16369
16370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
16371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16372 {
16373 PyThreadState* __tstate = wxPyBeginAllowThreads();
16374 result = (arg1)->GetMarginTopLeft();
16375
16376 wxPyEndAllowThreads(__tstate);
16377 if (PyErr_Occurred()) SWIG_fail;
16378 }
16379 {
16380 wxPoint * resultptr;
16381 resultptr = new wxPoint((wxPoint &) result);
16382 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16383 }
16384 return resultobj;
16385 fail:
16386 return NULL;
16387 }
16388
16389
16390 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16391 PyObject *resultobj;
16392 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16393 wxPoint result;
16394 PyObject * obj0 = 0 ;
16395 char *kwnames[] = {
16396 (char *) "self", NULL
16397 };
16398
16399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
16400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16401 {
16402 PyThreadState* __tstate = wxPyBeginAllowThreads();
16403 result = (arg1)->GetMarginBottomRight();
16404
16405 wxPyEndAllowThreads(__tstate);
16406 if (PyErr_Occurred()) SWIG_fail;
16407 }
16408 {
16409 wxPoint * resultptr;
16410 resultptr = new wxPoint((wxPoint &) result);
16411 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16412 }
16413 return resultobj;
16414 fail:
16415 return NULL;
16416 }
16417
16418
16419 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16420 PyObject *resultobj;
16421 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16422 wxPoint result;
16423 PyObject * obj0 = 0 ;
16424 char *kwnames[] = {
16425 (char *) "self", NULL
16426 };
16427
16428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
16429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16430 {
16431 PyThreadState* __tstate = wxPyBeginAllowThreads();
16432 result = (arg1)->GetMinMarginTopLeft();
16433
16434 wxPyEndAllowThreads(__tstate);
16435 if (PyErr_Occurred()) SWIG_fail;
16436 }
16437 {
16438 wxPoint * resultptr;
16439 resultptr = new wxPoint((wxPoint &) result);
16440 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16441 }
16442 return resultobj;
16443 fail:
16444 return NULL;
16445 }
16446
16447
16448 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16449 PyObject *resultobj;
16450 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16451 wxPoint result;
16452 PyObject * obj0 = 0 ;
16453 char *kwnames[] = {
16454 (char *) "self", NULL
16455 };
16456
16457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
16458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16459 {
16460 PyThreadState* __tstate = wxPyBeginAllowThreads();
16461 result = (arg1)->GetMinMarginBottomRight();
16462
16463 wxPyEndAllowThreads(__tstate);
16464 if (PyErr_Occurred()) SWIG_fail;
16465 }
16466 {
16467 wxPoint * resultptr;
16468 resultptr = new wxPoint((wxPoint &) result);
16469 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16470 }
16471 return resultobj;
16472 fail:
16473 return NULL;
16474 }
16475
16476
16477 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16478 PyObject *resultobj;
16479 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16480 int result;
16481 PyObject * obj0 = 0 ;
16482 char *kwnames[] = {
16483 (char *) "self", NULL
16484 };
16485
16486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
16487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16488 {
16489 PyThreadState* __tstate = wxPyBeginAllowThreads();
16490 result = (int)(arg1)->GetPaperId();
16491
16492 wxPyEndAllowThreads(__tstate);
16493 if (PyErr_Occurred()) SWIG_fail;
16494 }
16495 resultobj = PyInt_FromLong((long)result);
16496 return resultobj;
16497 fail:
16498 return NULL;
16499 }
16500
16501
16502 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16503 PyObject *resultobj;
16504 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16505 wxSize result;
16506 PyObject * obj0 = 0 ;
16507 char *kwnames[] = {
16508 (char *) "self", NULL
16509 };
16510
16511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
16512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16513 {
16514 PyThreadState* __tstate = wxPyBeginAllowThreads();
16515 result = (arg1)->GetPaperSize();
16516
16517 wxPyEndAllowThreads(__tstate);
16518 if (PyErr_Occurred()) SWIG_fail;
16519 }
16520 {
16521 wxSize * resultptr;
16522 resultptr = new wxSize((wxSize &) result);
16523 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16524 }
16525 return resultobj;
16526 fail:
16527 return NULL;
16528 }
16529
16530
16531 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16532 PyObject *resultobj;
16533 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16534 wxPrintData *result;
16535 PyObject * obj0 = 0 ;
16536 char *kwnames[] = {
16537 (char *) "self", NULL
16538 };
16539
16540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
16541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16542 {
16543 PyThreadState* __tstate = wxPyBeginAllowThreads();
16544 {
16545 wxPrintData &_result_ref = (arg1)->GetPrintData();
16546 result = (wxPrintData *) &_result_ref;
16547 }
16548
16549 wxPyEndAllowThreads(__tstate);
16550 if (PyErr_Occurred()) SWIG_fail;
16551 }
16552 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
16553 return resultobj;
16554 fail:
16555 return NULL;
16556 }
16557
16558
16559 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
16560 PyObject *resultobj;
16561 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16562 bool result;
16563 PyObject * obj0 = 0 ;
16564 char *kwnames[] = {
16565 (char *) "self", NULL
16566 };
16567
16568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
16569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16570 {
16571 PyThreadState* __tstate = wxPyBeginAllowThreads();
16572 result = (bool)(arg1)->Ok();
16573
16574 wxPyEndAllowThreads(__tstate);
16575 if (PyErr_Occurred()) SWIG_fail;
16576 }
16577 resultobj = PyInt_FromLong((long)result);
16578 return resultobj;
16579 fail:
16580 return NULL;
16581 }
16582
16583
16584 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16585 PyObject *resultobj;
16586 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16587 bool arg2 ;
16588 PyObject * obj0 = 0 ;
16589 PyObject * obj1 = 0 ;
16590 char *kwnames[] = {
16591 (char *) "self",(char *) "flag", NULL
16592 };
16593
16594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
16595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16596 arg2 = PyInt_AsLong(obj1) ? true : false;
16597 if (PyErr_Occurred()) SWIG_fail;
16598 {
16599 PyThreadState* __tstate = wxPyBeginAllowThreads();
16600 (arg1)->SetDefaultInfo(arg2);
16601
16602 wxPyEndAllowThreads(__tstate);
16603 if (PyErr_Occurred()) SWIG_fail;
16604 }
16605 Py_INCREF(Py_None); resultobj = Py_None;
16606 return resultobj;
16607 fail:
16608 return NULL;
16609 }
16610
16611
16612 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16613 PyObject *resultobj;
16614 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16615 bool arg2 ;
16616 PyObject * obj0 = 0 ;
16617 PyObject * obj1 = 0 ;
16618 char *kwnames[] = {
16619 (char *) "self",(char *) "flag", NULL
16620 };
16621
16622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
16623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16624 arg2 = PyInt_AsLong(obj1) ? true : false;
16625 if (PyErr_Occurred()) SWIG_fail;
16626 {
16627 PyThreadState* __tstate = wxPyBeginAllowThreads();
16628 (arg1)->SetDefaultMinMargins(arg2);
16629
16630 wxPyEndAllowThreads(__tstate);
16631 if (PyErr_Occurred()) SWIG_fail;
16632 }
16633 Py_INCREF(Py_None); resultobj = Py_None;
16634 return resultobj;
16635 fail:
16636 return NULL;
16637 }
16638
16639
16640 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16641 PyObject *resultobj;
16642 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16643 wxPoint *arg2 = 0 ;
16644 wxPoint temp2 ;
16645 PyObject * obj0 = 0 ;
16646 PyObject * obj1 = 0 ;
16647 char *kwnames[] = {
16648 (char *) "self",(char *) "pt", NULL
16649 };
16650
16651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
16652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16653 {
16654 arg2 = &temp2;
16655 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16656 }
16657 {
16658 PyThreadState* __tstate = wxPyBeginAllowThreads();
16659 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
16660
16661 wxPyEndAllowThreads(__tstate);
16662 if (PyErr_Occurred()) SWIG_fail;
16663 }
16664 Py_INCREF(Py_None); resultobj = Py_None;
16665 return resultobj;
16666 fail:
16667 return NULL;
16668 }
16669
16670
16671 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16672 PyObject *resultobj;
16673 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16674 wxPoint *arg2 = 0 ;
16675 wxPoint temp2 ;
16676 PyObject * obj0 = 0 ;
16677 PyObject * obj1 = 0 ;
16678 char *kwnames[] = {
16679 (char *) "self",(char *) "pt", NULL
16680 };
16681
16682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
16683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16684 {
16685 arg2 = &temp2;
16686 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16687 }
16688 {
16689 PyThreadState* __tstate = wxPyBeginAllowThreads();
16690 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
16691
16692 wxPyEndAllowThreads(__tstate);
16693 if (PyErr_Occurred()) SWIG_fail;
16694 }
16695 Py_INCREF(Py_None); resultobj = Py_None;
16696 return resultobj;
16697 fail:
16698 return NULL;
16699 }
16700
16701
16702 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16703 PyObject *resultobj;
16704 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16705 wxPoint *arg2 = 0 ;
16706 wxPoint temp2 ;
16707 PyObject * obj0 = 0 ;
16708 PyObject * obj1 = 0 ;
16709 char *kwnames[] = {
16710 (char *) "self",(char *) "pt", NULL
16711 };
16712
16713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
16714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16715 {
16716 arg2 = &temp2;
16717 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16718 }
16719 {
16720 PyThreadState* __tstate = wxPyBeginAllowThreads();
16721 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
16722
16723 wxPyEndAllowThreads(__tstate);
16724 if (PyErr_Occurred()) SWIG_fail;
16725 }
16726 Py_INCREF(Py_None); resultobj = Py_None;
16727 return resultobj;
16728 fail:
16729 return NULL;
16730 }
16731
16732
16733 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16734 PyObject *resultobj;
16735 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16736 wxPoint *arg2 = 0 ;
16737 wxPoint temp2 ;
16738 PyObject * obj0 = 0 ;
16739 PyObject * obj1 = 0 ;
16740 char *kwnames[] = {
16741 (char *) "self",(char *) "pt", NULL
16742 };
16743
16744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
16745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16746 {
16747 arg2 = &temp2;
16748 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16749 }
16750 {
16751 PyThreadState* __tstate = wxPyBeginAllowThreads();
16752 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
16753
16754 wxPyEndAllowThreads(__tstate);
16755 if (PyErr_Occurred()) SWIG_fail;
16756 }
16757 Py_INCREF(Py_None); resultobj = Py_None;
16758 return resultobj;
16759 fail:
16760 return NULL;
16761 }
16762
16763
16764 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16765 PyObject *resultobj;
16766 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16767 int arg2 ;
16768 PyObject * obj0 = 0 ;
16769 char *kwnames[] = {
16770 (char *) "self",(char *) "id", NULL
16771 };
16772
16773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PageSetupDialogData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
16774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16775 {
16776 PyThreadState* __tstate = wxPyBeginAllowThreads();
16777 (arg1)->SetPaperId((wxPaperSize )arg2);
16778
16779 wxPyEndAllowThreads(__tstate);
16780 if (PyErr_Occurred()) SWIG_fail;
16781 }
16782 Py_INCREF(Py_None); resultobj = Py_None;
16783 return resultobj;
16784 fail:
16785 return NULL;
16786 }
16787
16788
16789 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16790 PyObject *resultobj;
16791 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16792 wxSize *arg2 = 0 ;
16793 wxSize temp2 ;
16794 PyObject * obj0 = 0 ;
16795 PyObject * obj1 = 0 ;
16796 char *kwnames[] = {
16797 (char *) "self",(char *) "size", NULL
16798 };
16799
16800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
16801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16802 {
16803 arg2 = &temp2;
16804 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16805 }
16806 {
16807 PyThreadState* __tstate = wxPyBeginAllowThreads();
16808 (arg1)->SetPaperSize((wxSize const &)*arg2);
16809
16810 wxPyEndAllowThreads(__tstate);
16811 if (PyErr_Occurred()) SWIG_fail;
16812 }
16813 Py_INCREF(Py_None); resultobj = Py_None;
16814 return resultobj;
16815 fail:
16816 return NULL;
16817 }
16818
16819
16820 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16821 PyObject *resultobj;
16822 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16823 wxPrintData *arg2 = 0 ;
16824 PyObject * obj0 = 0 ;
16825 PyObject * obj1 = 0 ;
16826 char *kwnames[] = {
16827 (char *) "self",(char *) "printData", NULL
16828 };
16829
16830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
16831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16832 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16833 if (arg2 == NULL) {
16834 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16835 }
16836 {
16837 PyThreadState* __tstate = wxPyBeginAllowThreads();
16838 (arg1)->SetPrintData((wxPrintData const &)*arg2);
16839
16840 wxPyEndAllowThreads(__tstate);
16841 if (PyErr_Occurred()) SWIG_fail;
16842 }
16843 Py_INCREF(Py_None); resultobj = Py_None;
16844 return resultobj;
16845 fail:
16846 return NULL;
16847 }
16848
16849
16850 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
16851 PyObject *obj;
16852 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16853 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
16854 Py_INCREF(obj);
16855 return Py_BuildValue((char *)"");
16856 }
16857 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16858 PyObject *resultobj;
16859 wxWindow *arg1 = (wxWindow *) 0 ;
16860 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
16861 wxPageSetupDialog *result;
16862 PyObject * obj0 = 0 ;
16863 PyObject * obj1 = 0 ;
16864 char *kwnames[] = {
16865 (char *) "parent",(char *) "data", NULL
16866 };
16867
16868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
16869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16870 if (obj1) {
16871 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16872 }
16873 {
16874 PyThreadState* __tstate = wxPyBeginAllowThreads();
16875 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
16876
16877 wxPyEndAllowThreads(__tstate);
16878 if (PyErr_Occurred()) SWIG_fail;
16879 }
16880 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialog, 1);
16881 return resultobj;
16882 fail:
16883 return NULL;
16884 }
16885
16886
16887 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
16888 PyObject *resultobj;
16889 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
16890 wxPageSetupDialogData *result;
16891 PyObject * obj0 = 0 ;
16892 char *kwnames[] = {
16893 (char *) "self", NULL
16894 };
16895
16896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
16897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16898 {
16899 PyThreadState* __tstate = wxPyBeginAllowThreads();
16900 {
16901 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
16902 result = (wxPageSetupDialogData *) &_result_ref;
16903 }
16904
16905 wxPyEndAllowThreads(__tstate);
16906 if (PyErr_Occurred()) SWIG_fail;
16907 }
16908 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 0);
16909 return resultobj;
16910 fail:
16911 return NULL;
16912 }
16913
16914
16915 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
16916 PyObject *resultobj;
16917 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
16918 int result;
16919 PyObject * obj0 = 0 ;
16920 char *kwnames[] = {
16921 (char *) "self", NULL
16922 };
16923
16924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
16925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16926 {
16927 PyThreadState* __tstate = wxPyBeginAllowThreads();
16928 result = (int)(arg1)->ShowModal();
16929
16930 wxPyEndAllowThreads(__tstate);
16931 if (PyErr_Occurred()) SWIG_fail;
16932 }
16933 resultobj = PyInt_FromLong((long)result);
16934 return resultobj;
16935 fail:
16936 return NULL;
16937 }
16938
16939
16940 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
16941 PyObject *obj;
16942 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16943 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
16944 Py_INCREF(obj);
16945 return Py_BuildValue((char *)"");
16946 }
16947 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16948 PyObject *resultobj;
16949 wxPrintDialogData *result;
16950 char *kwnames[] = {
16951 NULL
16952 };
16953
16954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintDialogData",kwnames)) goto fail;
16955 {
16956 PyThreadState* __tstate = wxPyBeginAllowThreads();
16957 result = (wxPrintDialogData *)new wxPrintDialogData();
16958
16959 wxPyEndAllowThreads(__tstate);
16960 if (PyErr_Occurred()) SWIG_fail;
16961 }
16962 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 1);
16963 return resultobj;
16964 fail:
16965 return NULL;
16966 }
16967
16968
16969 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16970 PyObject *resultobj;
16971 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16972 PyObject * obj0 = 0 ;
16973 char *kwnames[] = {
16974 (char *) "self", NULL
16975 };
16976
16977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
16978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16979 {
16980 PyThreadState* __tstate = wxPyBeginAllowThreads();
16981 delete arg1;
16982
16983 wxPyEndAllowThreads(__tstate);
16984 if (PyErr_Occurred()) SWIG_fail;
16985 }
16986 Py_INCREF(Py_None); resultobj = Py_None;
16987 return resultobj;
16988 fail:
16989 return NULL;
16990 }
16991
16992
16993 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16994 PyObject *resultobj;
16995 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16996 int result;
16997 PyObject * obj0 = 0 ;
16998 char *kwnames[] = {
16999 (char *) "self", NULL
17000 };
17001
17002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
17003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17004 {
17005 PyThreadState* __tstate = wxPyBeginAllowThreads();
17006 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
17007
17008 wxPyEndAllowThreads(__tstate);
17009 if (PyErr_Occurred()) SWIG_fail;
17010 }
17011 resultobj = PyInt_FromLong((long)result);
17012 return resultobj;
17013 fail:
17014 return NULL;
17015 }
17016
17017
17018 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17019 PyObject *resultobj;
17020 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17021 int result;
17022 PyObject * obj0 = 0 ;
17023 char *kwnames[] = {
17024 (char *) "self", NULL
17025 };
17026
17027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
17028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17029 {
17030 PyThreadState* __tstate = wxPyBeginAllowThreads();
17031 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
17032
17033 wxPyEndAllowThreads(__tstate);
17034 if (PyErr_Occurred()) SWIG_fail;
17035 }
17036 resultobj = PyInt_FromLong((long)result);
17037 return resultobj;
17038 fail:
17039 return NULL;
17040 }
17041
17042
17043 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17044 PyObject *resultobj;
17045 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17046 int result;
17047 PyObject * obj0 = 0 ;
17048 char *kwnames[] = {
17049 (char *) "self", NULL
17050 };
17051
17052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
17053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17054 {
17055 PyThreadState* __tstate = wxPyBeginAllowThreads();
17056 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
17057
17058 wxPyEndAllowThreads(__tstate);
17059 if (PyErr_Occurred()) SWIG_fail;
17060 }
17061 resultobj = PyInt_FromLong((long)result);
17062 return resultobj;
17063 fail:
17064 return NULL;
17065 }
17066
17067
17068 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17069 PyObject *resultobj;
17070 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17071 int result;
17072 PyObject * obj0 = 0 ;
17073 char *kwnames[] = {
17074 (char *) "self", NULL
17075 };
17076
17077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
17078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17079 {
17080 PyThreadState* __tstate = wxPyBeginAllowThreads();
17081 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
17082
17083 wxPyEndAllowThreads(__tstate);
17084 if (PyErr_Occurred()) SWIG_fail;
17085 }
17086 resultobj = PyInt_FromLong((long)result);
17087 return resultobj;
17088 fail:
17089 return NULL;
17090 }
17091
17092
17093 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17094 PyObject *resultobj;
17095 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17096 int result;
17097 PyObject * obj0 = 0 ;
17098 char *kwnames[] = {
17099 (char *) "self", NULL
17100 };
17101
17102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
17103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17104 {
17105 PyThreadState* __tstate = wxPyBeginAllowThreads();
17106 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
17107
17108 wxPyEndAllowThreads(__tstate);
17109 if (PyErr_Occurred()) SWIG_fail;
17110 }
17111 resultobj = PyInt_FromLong((long)result);
17112 return resultobj;
17113 fail:
17114 return NULL;
17115 }
17116
17117
17118 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
17119 PyObject *resultobj;
17120 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17121 bool result;
17122 PyObject * obj0 = 0 ;
17123 char *kwnames[] = {
17124 (char *) "self", NULL
17125 };
17126
17127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
17128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17129 {
17130 PyThreadState* __tstate = wxPyBeginAllowThreads();
17131 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
17132
17133 wxPyEndAllowThreads(__tstate);
17134 if (PyErr_Occurred()) SWIG_fail;
17135 }
17136 resultobj = PyInt_FromLong((long)result);
17137 return resultobj;
17138 fail:
17139 return NULL;
17140 }
17141
17142
17143 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17144 PyObject *resultobj;
17145 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17146 bool result;
17147 PyObject * obj0 = 0 ;
17148 char *kwnames[] = {
17149 (char *) "self", NULL
17150 };
17151
17152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
17153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17154 {
17155 PyThreadState* __tstate = wxPyBeginAllowThreads();
17156 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
17157
17158 wxPyEndAllowThreads(__tstate);
17159 if (PyErr_Occurred()) SWIG_fail;
17160 }
17161 resultobj = PyInt_FromLong((long)result);
17162 return resultobj;
17163 fail:
17164 return NULL;
17165 }
17166
17167
17168 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17169 PyObject *resultobj;
17170 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17171 bool result;
17172 PyObject * obj0 = 0 ;
17173 char *kwnames[] = {
17174 (char *) "self", NULL
17175 };
17176
17177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
17178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17179 {
17180 PyThreadState* __tstate = wxPyBeginAllowThreads();
17181 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
17182
17183 wxPyEndAllowThreads(__tstate);
17184 if (PyErr_Occurred()) SWIG_fail;
17185 }
17186 resultobj = PyInt_FromLong((long)result);
17187 return resultobj;
17188 fail:
17189 return NULL;
17190 }
17191
17192
17193 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17194 PyObject *resultobj;
17195 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17196 bool result;
17197 PyObject * obj0 = 0 ;
17198 char *kwnames[] = {
17199 (char *) "self", NULL
17200 };
17201
17202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
17203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17204 {
17205 PyThreadState* __tstate = wxPyBeginAllowThreads();
17206 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
17207
17208 wxPyEndAllowThreads(__tstate);
17209 if (PyErr_Occurred()) SWIG_fail;
17210 }
17211 resultobj = PyInt_FromLong((long)result);
17212 return resultobj;
17213 fail:
17214 return NULL;
17215 }
17216
17217
17218 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17219 PyObject *resultobj;
17220 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17221 bool result;
17222 PyObject * obj0 = 0 ;
17223 char *kwnames[] = {
17224 (char *) "self", NULL
17225 };
17226
17227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
17228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17229 {
17230 PyThreadState* __tstate = wxPyBeginAllowThreads();
17231 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
17232
17233 wxPyEndAllowThreads(__tstate);
17234 if (PyErr_Occurred()) SWIG_fail;
17235 }
17236 resultobj = PyInt_FromLong((long)result);
17237 return resultobj;
17238 fail:
17239 return NULL;
17240 }
17241
17242
17243 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17244 PyObject *resultobj;
17245 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17246 int arg2 ;
17247 PyObject * obj0 = 0 ;
17248 char *kwnames[] = {
17249 (char *) "self",(char *) "v", NULL
17250 };
17251
17252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetFromPage",kwnames,&obj0,&arg2)) goto fail;
17253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17254 {
17255 PyThreadState* __tstate = wxPyBeginAllowThreads();
17256 (arg1)->SetFromPage(arg2);
17257
17258 wxPyEndAllowThreads(__tstate);
17259 if (PyErr_Occurred()) SWIG_fail;
17260 }
17261 Py_INCREF(Py_None); resultobj = Py_None;
17262 return resultobj;
17263 fail:
17264 return NULL;
17265 }
17266
17267
17268 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17269 PyObject *resultobj;
17270 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17271 int arg2 ;
17272 PyObject * obj0 = 0 ;
17273 char *kwnames[] = {
17274 (char *) "self",(char *) "v", NULL
17275 };
17276
17277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetToPage",kwnames,&obj0,&arg2)) goto fail;
17278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17279 {
17280 PyThreadState* __tstate = wxPyBeginAllowThreads();
17281 (arg1)->SetToPage(arg2);
17282
17283 wxPyEndAllowThreads(__tstate);
17284 if (PyErr_Occurred()) SWIG_fail;
17285 }
17286 Py_INCREF(Py_None); resultobj = Py_None;
17287 return resultobj;
17288 fail:
17289 return NULL;
17290 }
17291
17292
17293 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17294 PyObject *resultobj;
17295 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17296 int arg2 ;
17297 PyObject * obj0 = 0 ;
17298 char *kwnames[] = {
17299 (char *) "self",(char *) "v", NULL
17300 };
17301
17302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMinPage",kwnames,&obj0,&arg2)) goto fail;
17303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17304 {
17305 PyThreadState* __tstate = wxPyBeginAllowThreads();
17306 (arg1)->SetMinPage(arg2);
17307
17308 wxPyEndAllowThreads(__tstate);
17309 if (PyErr_Occurred()) SWIG_fail;
17310 }
17311 Py_INCREF(Py_None); resultobj = Py_None;
17312 return resultobj;
17313 fail:
17314 return NULL;
17315 }
17316
17317
17318 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17319 PyObject *resultobj;
17320 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17321 int arg2 ;
17322 PyObject * obj0 = 0 ;
17323 char *kwnames[] = {
17324 (char *) "self",(char *) "v", NULL
17325 };
17326
17327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMaxPage",kwnames,&obj0,&arg2)) goto fail;
17328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17329 {
17330 PyThreadState* __tstate = wxPyBeginAllowThreads();
17331 (arg1)->SetMaxPage(arg2);
17332
17333 wxPyEndAllowThreads(__tstate);
17334 if (PyErr_Occurred()) SWIG_fail;
17335 }
17336 Py_INCREF(Py_None); resultobj = Py_None;
17337 return resultobj;
17338 fail:
17339 return NULL;
17340 }
17341
17342
17343 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17344 PyObject *resultobj;
17345 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17346 int arg2 ;
17347 PyObject * obj0 = 0 ;
17348 char *kwnames[] = {
17349 (char *) "self",(char *) "v", NULL
17350 };
17351
17352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
17353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17354 {
17355 PyThreadState* __tstate = wxPyBeginAllowThreads();
17356 (arg1)->SetNoCopies(arg2);
17357
17358 wxPyEndAllowThreads(__tstate);
17359 if (PyErr_Occurred()) SWIG_fail;
17360 }
17361 Py_INCREF(Py_None); resultobj = Py_None;
17362 return resultobj;
17363 fail:
17364 return NULL;
17365 }
17366
17367
17368 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
17369 PyObject *resultobj;
17370 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17371 bool arg2 ;
17372 PyObject * obj0 = 0 ;
17373 PyObject * obj1 = 0 ;
17374 char *kwnames[] = {
17375 (char *) "self",(char *) "flag", NULL
17376 };
17377
17378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
17379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17380 arg2 = PyInt_AsLong(obj1) ? true : false;
17381 if (PyErr_Occurred()) SWIG_fail;
17382 {
17383 PyThreadState* __tstate = wxPyBeginAllowThreads();
17384 (arg1)->SetAllPages(arg2);
17385
17386 wxPyEndAllowThreads(__tstate);
17387 if (PyErr_Occurred()) SWIG_fail;
17388 }
17389 Py_INCREF(Py_None); resultobj = Py_None;
17390 return resultobj;
17391 fail:
17392 return NULL;
17393 }
17394
17395
17396 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17397 PyObject *resultobj;
17398 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17399 bool arg2 ;
17400 PyObject * obj0 = 0 ;
17401 PyObject * obj1 = 0 ;
17402 char *kwnames[] = {
17403 (char *) "self",(char *) "flag", NULL
17404 };
17405
17406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
17407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17408 arg2 = PyInt_AsLong(obj1) ? true : false;
17409 if (PyErr_Occurred()) SWIG_fail;
17410 {
17411 PyThreadState* __tstate = wxPyBeginAllowThreads();
17412 (arg1)->SetSelection(arg2);
17413
17414 wxPyEndAllowThreads(__tstate);
17415 if (PyErr_Occurred()) SWIG_fail;
17416 }
17417 Py_INCREF(Py_None); resultobj = Py_None;
17418 return resultobj;
17419 fail:
17420 return NULL;
17421 }
17422
17423
17424 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17425 PyObject *resultobj;
17426 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17427 bool arg2 ;
17428 PyObject * obj0 = 0 ;
17429 PyObject * obj1 = 0 ;
17430 char *kwnames[] = {
17431 (char *) "self",(char *) "flag", NULL
17432 };
17433
17434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
17435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17436 arg2 = PyInt_AsLong(obj1) ? true : false;
17437 if (PyErr_Occurred()) SWIG_fail;
17438 {
17439 PyThreadState* __tstate = wxPyBeginAllowThreads();
17440 (arg1)->SetCollate(arg2);
17441
17442 wxPyEndAllowThreads(__tstate);
17443 if (PyErr_Occurred()) SWIG_fail;
17444 }
17445 Py_INCREF(Py_None); resultobj = Py_None;
17446 return resultobj;
17447 fail:
17448 return NULL;
17449 }
17450
17451
17452 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17453 PyObject *resultobj;
17454 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17455 bool arg2 ;
17456 PyObject * obj0 = 0 ;
17457 PyObject * obj1 = 0 ;
17458 char *kwnames[] = {
17459 (char *) "self",(char *) "flag", NULL
17460 };
17461
17462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
17463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17464 arg2 = PyInt_AsLong(obj1) ? true : false;
17465 if (PyErr_Occurred()) SWIG_fail;
17466 {
17467 PyThreadState* __tstate = wxPyBeginAllowThreads();
17468 (arg1)->SetPrintToFile(arg2);
17469
17470 wxPyEndAllowThreads(__tstate);
17471 if (PyErr_Occurred()) SWIG_fail;
17472 }
17473 Py_INCREF(Py_None); resultobj = Py_None;
17474 return resultobj;
17475 fail:
17476 return NULL;
17477 }
17478
17479
17480 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17481 PyObject *resultobj;
17482 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17483 bool arg2 ;
17484 PyObject * obj0 = 0 ;
17485 PyObject * obj1 = 0 ;
17486 char *kwnames[] = {
17487 (char *) "self",(char *) "flag", NULL
17488 };
17489
17490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
17491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17492 arg2 = PyInt_AsLong(obj1) ? true : false;
17493 if (PyErr_Occurred()) SWIG_fail;
17494 {
17495 PyThreadState* __tstate = wxPyBeginAllowThreads();
17496 (arg1)->SetSetupDialog(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_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17509 PyObject *resultobj;
17510 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17511 bool arg2 ;
17512 PyObject * obj0 = 0 ;
17513 PyObject * obj1 = 0 ;
17514 char *kwnames[] = {
17515 (char *) "self",(char *) "flag", NULL
17516 };
17517
17518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
17519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17520 arg2 = PyInt_AsLong(obj1) ? true : false;
17521 if (PyErr_Occurred()) SWIG_fail;
17522 {
17523 PyThreadState* __tstate = wxPyBeginAllowThreads();
17524 (arg1)->EnablePrintToFile(arg2);
17525
17526 wxPyEndAllowThreads(__tstate);
17527 if (PyErr_Occurred()) SWIG_fail;
17528 }
17529 Py_INCREF(Py_None); resultobj = Py_None;
17530 return resultobj;
17531 fail:
17532 return NULL;
17533 }
17534
17535
17536 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17537 PyObject *resultobj;
17538 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17539 bool arg2 ;
17540 PyObject * obj0 = 0 ;
17541 PyObject * obj1 = 0 ;
17542 char *kwnames[] = {
17543 (char *) "self",(char *) "flag", NULL
17544 };
17545
17546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
17547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17548 arg2 = PyInt_AsLong(obj1) ? true : false;
17549 if (PyErr_Occurred()) SWIG_fail;
17550 {
17551 PyThreadState* __tstate = wxPyBeginAllowThreads();
17552 (arg1)->EnableSelection(arg2);
17553
17554 wxPyEndAllowThreads(__tstate);
17555 if (PyErr_Occurred()) SWIG_fail;
17556 }
17557 Py_INCREF(Py_None); resultobj = Py_None;
17558 return resultobj;
17559 fail:
17560 return NULL;
17561 }
17562
17563
17564 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17565 PyObject *resultobj;
17566 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17567 bool arg2 ;
17568 PyObject * obj0 = 0 ;
17569 PyObject * obj1 = 0 ;
17570 char *kwnames[] = {
17571 (char *) "self",(char *) "flag", NULL
17572 };
17573
17574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
17575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17576 arg2 = PyInt_AsLong(obj1) ? true : false;
17577 if (PyErr_Occurred()) SWIG_fail;
17578 {
17579 PyThreadState* __tstate = wxPyBeginAllowThreads();
17580 (arg1)->EnablePageNumbers(arg2);
17581
17582 wxPyEndAllowThreads(__tstate);
17583 if (PyErr_Occurred()) SWIG_fail;
17584 }
17585 Py_INCREF(Py_None); resultobj = Py_None;
17586 return resultobj;
17587 fail:
17588 return NULL;
17589 }
17590
17591
17592 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17593 PyObject *resultobj;
17594 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17595 bool arg2 ;
17596 PyObject * obj0 = 0 ;
17597 PyObject * obj1 = 0 ;
17598 char *kwnames[] = {
17599 (char *) "self",(char *) "flag", NULL
17600 };
17601
17602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
17603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17604 arg2 = PyInt_AsLong(obj1) ? true : false;
17605 if (PyErr_Occurred()) SWIG_fail;
17606 {
17607 PyThreadState* __tstate = wxPyBeginAllowThreads();
17608 (arg1)->EnableHelp(arg2);
17609
17610 wxPyEndAllowThreads(__tstate);
17611 if (PyErr_Occurred()) SWIG_fail;
17612 }
17613 Py_INCREF(Py_None); resultobj = Py_None;
17614 return resultobj;
17615 fail:
17616 return NULL;
17617 }
17618
17619
17620 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17621 PyObject *resultobj;
17622 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17623 bool result;
17624 PyObject * obj0 = 0 ;
17625 char *kwnames[] = {
17626 (char *) "self", NULL
17627 };
17628
17629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
17630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17631 {
17632 PyThreadState* __tstate = wxPyBeginAllowThreads();
17633 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
17634
17635 wxPyEndAllowThreads(__tstate);
17636 if (PyErr_Occurred()) SWIG_fail;
17637 }
17638 resultobj = PyInt_FromLong((long)result);
17639 return resultobj;
17640 fail:
17641 return NULL;
17642 }
17643
17644
17645 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17646 PyObject *resultobj;
17647 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17648 bool result;
17649 PyObject * obj0 = 0 ;
17650 char *kwnames[] = {
17651 (char *) "self", NULL
17652 };
17653
17654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
17655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17656 {
17657 PyThreadState* __tstate = wxPyBeginAllowThreads();
17658 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
17659
17660 wxPyEndAllowThreads(__tstate);
17661 if (PyErr_Occurred()) SWIG_fail;
17662 }
17663 resultobj = PyInt_FromLong((long)result);
17664 return resultobj;
17665 fail:
17666 return NULL;
17667 }
17668
17669
17670 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17671 PyObject *resultobj;
17672 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17673 bool result;
17674 PyObject * obj0 = 0 ;
17675 char *kwnames[] = {
17676 (char *) "self", NULL
17677 };
17678
17679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
17680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17681 {
17682 PyThreadState* __tstate = wxPyBeginAllowThreads();
17683 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
17684
17685 wxPyEndAllowThreads(__tstate);
17686 if (PyErr_Occurred()) SWIG_fail;
17687 }
17688 resultobj = PyInt_FromLong((long)result);
17689 return resultobj;
17690 fail:
17691 return NULL;
17692 }
17693
17694
17695 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17696 PyObject *resultobj;
17697 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17698 bool result;
17699 PyObject * obj0 = 0 ;
17700 char *kwnames[] = {
17701 (char *) "self", NULL
17702 };
17703
17704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
17705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17706 {
17707 PyThreadState* __tstate = wxPyBeginAllowThreads();
17708 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
17709
17710 wxPyEndAllowThreads(__tstate);
17711 if (PyErr_Occurred()) SWIG_fail;
17712 }
17713 resultobj = PyInt_FromLong((long)result);
17714 return resultobj;
17715 fail:
17716 return NULL;
17717 }
17718
17719
17720 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
17721 PyObject *resultobj;
17722 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17723 bool result;
17724 PyObject * obj0 = 0 ;
17725 char *kwnames[] = {
17726 (char *) "self", NULL
17727 };
17728
17729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
17730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17731 {
17732 PyThreadState* __tstate = wxPyBeginAllowThreads();
17733 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
17734
17735 wxPyEndAllowThreads(__tstate);
17736 if (PyErr_Occurred()) SWIG_fail;
17737 }
17738 resultobj = PyInt_FromLong((long)result);
17739 return resultobj;
17740 fail:
17741 return NULL;
17742 }
17743
17744
17745 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17746 PyObject *resultobj;
17747 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17748 wxPrintData *result;
17749 PyObject * obj0 = 0 ;
17750 char *kwnames[] = {
17751 (char *) "self", NULL
17752 };
17753
17754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
17755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17756 {
17757 PyThreadState* __tstate = wxPyBeginAllowThreads();
17758 {
17759 wxPrintData &_result_ref = (arg1)->GetPrintData();
17760 result = (wxPrintData *) &_result_ref;
17761 }
17762
17763 wxPyEndAllowThreads(__tstate);
17764 if (PyErr_Occurred()) SWIG_fail;
17765 }
17766 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
17767 return resultobj;
17768 fail:
17769 return NULL;
17770 }
17771
17772
17773 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17774 PyObject *resultobj;
17775 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17776 wxPrintData *arg2 = 0 ;
17777 PyObject * obj0 = 0 ;
17778 PyObject * obj1 = 0 ;
17779 char *kwnames[] = {
17780 (char *) "self",(char *) "printData", NULL
17781 };
17782
17783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
17784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17785 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17786 if (arg2 == NULL) {
17787 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17788 }
17789 {
17790 PyThreadState* __tstate = wxPyBeginAllowThreads();
17791 (arg1)->SetPrintData((wxPrintData const &)*arg2);
17792
17793 wxPyEndAllowThreads(__tstate);
17794 if (PyErr_Occurred()) SWIG_fail;
17795 }
17796 Py_INCREF(Py_None); resultobj = Py_None;
17797 return resultobj;
17798 fail:
17799 return NULL;
17800 }
17801
17802
17803 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
17804 PyObject *obj;
17805 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17806 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
17807 Py_INCREF(obj);
17808 return Py_BuildValue((char *)"");
17809 }
17810 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17811 PyObject *resultobj;
17812 wxWindow *arg1 = (wxWindow *) 0 ;
17813 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
17814 wxPrintDialog *result;
17815 PyObject * obj0 = 0 ;
17816 PyObject * obj1 = 0 ;
17817 char *kwnames[] = {
17818 (char *) "parent",(char *) "data", NULL
17819 };
17820
17821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
17822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17823 if (obj1) {
17824 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17825 }
17826 {
17827 PyThreadState* __tstate = wxPyBeginAllowThreads();
17828 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
17829
17830 wxPyEndAllowThreads(__tstate);
17831 if (PyErr_Occurred()) SWIG_fail;
17832 }
17833 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialog, 1);
17834 return resultobj;
17835 fail:
17836 return NULL;
17837 }
17838
17839
17840 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17841 PyObject *resultobj;
17842 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
17843 wxPrintDialogData *result;
17844 PyObject * obj0 = 0 ;
17845 char *kwnames[] = {
17846 (char *) "self", NULL
17847 };
17848
17849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
17850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17851 {
17852 PyThreadState* __tstate = wxPyBeginAllowThreads();
17853 {
17854 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
17855 result = (wxPrintDialogData *) &_result_ref;
17856 }
17857
17858 wxPyEndAllowThreads(__tstate);
17859 if (PyErr_Occurred()) SWIG_fail;
17860 }
17861 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
17862 return resultobj;
17863 fail:
17864 return NULL;
17865 }
17866
17867
17868 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
17869 PyObject *resultobj;
17870 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
17871 wxDC *result;
17872 PyObject * obj0 = 0 ;
17873 char *kwnames[] = {
17874 (char *) "self", NULL
17875 };
17876
17877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
17878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17879 {
17880 PyThreadState* __tstate = wxPyBeginAllowThreads();
17881 result = (wxDC *)(arg1)->GetPrintDC();
17882
17883 wxPyEndAllowThreads(__tstate);
17884 if (PyErr_Occurred()) SWIG_fail;
17885 }
17886 {
17887 resultobj = wxPyMake_wxObject(result);
17888 }
17889 return resultobj;
17890 fail:
17891 return NULL;
17892 }
17893
17894
17895 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
17896 PyObject *resultobj;
17897 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
17898 int result;
17899 PyObject * obj0 = 0 ;
17900 char *kwnames[] = {
17901 (char *) "self", NULL
17902 };
17903
17904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
17905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17906 {
17907 PyThreadState* __tstate = wxPyBeginAllowThreads();
17908 result = (int)(arg1)->ShowModal();
17909
17910 wxPyEndAllowThreads(__tstate);
17911 if (PyErr_Occurred()) SWIG_fail;
17912 }
17913 resultobj = PyInt_FromLong((long)result);
17914 return resultobj;
17915 fail:
17916 return NULL;
17917 }
17918
17919
17920 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
17921 PyObject *obj;
17922 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17923 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
17924 Py_INCREF(obj);
17925 return Py_BuildValue((char *)"");
17926 }
17927 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
17928 PyObject *resultobj;
17929 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
17930 wxPrinter *result;
17931 PyObject * obj0 = 0 ;
17932 char *kwnames[] = {
17933 (char *) "data", NULL
17934 };
17935
17936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
17937 if (obj0) {
17938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17939 }
17940 {
17941 PyThreadState* __tstate = wxPyBeginAllowThreads();
17942 result = (wxPrinter *)new wxPrinter(arg1);
17943
17944 wxPyEndAllowThreads(__tstate);
17945 if (PyErr_Occurred()) SWIG_fail;
17946 }
17947 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrinter, 1);
17948 return resultobj;
17949 fail:
17950 return NULL;
17951 }
17952
17953
17954 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
17955 PyObject *resultobj;
17956 wxPrinter *arg1 = (wxPrinter *) 0 ;
17957 PyObject * obj0 = 0 ;
17958 char *kwnames[] = {
17959 (char *) "self", NULL
17960 };
17961
17962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
17963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17964 {
17965 PyThreadState* __tstate = wxPyBeginAllowThreads();
17966 delete arg1;
17967
17968 wxPyEndAllowThreads(__tstate);
17969 if (PyErr_Occurred()) SWIG_fail;
17970 }
17971 Py_INCREF(Py_None); resultobj = Py_None;
17972 return resultobj;
17973 fail:
17974 return NULL;
17975 }
17976
17977
17978 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17979 PyObject *resultobj;
17980 wxPrinter *arg1 = (wxPrinter *) 0 ;
17981 wxWindow *arg2 = (wxWindow *) 0 ;
17982 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
17983 PyObject * obj0 = 0 ;
17984 PyObject * obj1 = 0 ;
17985 PyObject * obj2 = 0 ;
17986 char *kwnames[] = {
17987 (char *) "self",(char *) "parent",(char *) "printout", NULL
17988 };
17989
17990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
17991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17992 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17993 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17994 {
17995 PyThreadState* __tstate = wxPyBeginAllowThreads();
17996 (arg1)->CreateAbortWindow(arg2,arg3);
17997
17998 wxPyEndAllowThreads(__tstate);
17999 if (PyErr_Occurred()) SWIG_fail;
18000 }
18001 Py_INCREF(Py_None); resultobj = Py_None;
18002 return resultobj;
18003 fail:
18004 return NULL;
18005 }
18006
18007
18008 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18009 PyObject *resultobj;
18010 wxPrinter *arg1 = (wxPrinter *) 0 ;
18011 wxPrintDialogData *result;
18012 PyObject * obj0 = 0 ;
18013 char *kwnames[] = {
18014 (char *) "self", NULL
18015 };
18016
18017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
18018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18019 {
18020 PyThreadState* __tstate = wxPyBeginAllowThreads();
18021 {
18022 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
18023 result = (wxPrintDialogData *) &_result_ref;
18024 }
18025
18026 wxPyEndAllowThreads(__tstate);
18027 if (PyErr_Occurred()) SWIG_fail;
18028 }
18029 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
18030 return resultobj;
18031 fail:
18032 return NULL;
18033 }
18034
18035
18036 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
18037 PyObject *resultobj;
18038 wxPrinter *arg1 = (wxPrinter *) 0 ;
18039 wxWindow *arg2 = (wxWindow *) 0 ;
18040 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
18041 int arg4 = (int) True ;
18042 bool result;
18043 PyObject * obj0 = 0 ;
18044 PyObject * obj1 = 0 ;
18045 PyObject * obj2 = 0 ;
18046 char *kwnames[] = {
18047 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
18048 };
18049
18050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:Printer_Print",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
18051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18052 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18053 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18054 {
18055 PyThreadState* __tstate = wxPyBeginAllowThreads();
18056 result = (bool)(arg1)->Print(arg2,arg3,arg4);
18057
18058 wxPyEndAllowThreads(__tstate);
18059 if (PyErr_Occurred()) SWIG_fail;
18060 }
18061 resultobj = PyInt_FromLong((long)result);
18062 return resultobj;
18063 fail:
18064 return NULL;
18065 }
18066
18067
18068 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
18069 PyObject *resultobj;
18070 wxPrinter *arg1 = (wxPrinter *) 0 ;
18071 wxWindow *arg2 = (wxWindow *) 0 ;
18072 wxDC *result;
18073 PyObject * obj0 = 0 ;
18074 PyObject * obj1 = 0 ;
18075 char *kwnames[] = {
18076 (char *) "self",(char *) "parent", NULL
18077 };
18078
18079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
18080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18081 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18082 {
18083 PyThreadState* __tstate = wxPyBeginAllowThreads();
18084 result = (wxDC *)(arg1)->PrintDialog(arg2);
18085
18086 wxPyEndAllowThreads(__tstate);
18087 if (PyErr_Occurred()) SWIG_fail;
18088 }
18089 {
18090 resultobj = wxPyMake_wxObject(result);
18091 }
18092 return resultobj;
18093 fail:
18094 return NULL;
18095 }
18096
18097
18098 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
18099 PyObject *resultobj;
18100 wxPrinter *arg1 = (wxPrinter *) 0 ;
18101 wxWindow *arg2 = (wxWindow *) 0 ;
18102 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
18103 wxString *arg4 = 0 ;
18104 bool temp4 = False ;
18105 PyObject * obj0 = 0 ;
18106 PyObject * obj1 = 0 ;
18107 PyObject * obj2 = 0 ;
18108 PyObject * obj3 = 0 ;
18109 char *kwnames[] = {
18110 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
18111 };
18112
18113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18115 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18116 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18117 {
18118 arg4 = wxString_in_helper(obj3);
18119 if (arg4 == NULL) SWIG_fail;
18120 temp4 = True;
18121 }
18122 {
18123 PyThreadState* __tstate = wxPyBeginAllowThreads();
18124 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
18125
18126 wxPyEndAllowThreads(__tstate);
18127 if (PyErr_Occurred()) SWIG_fail;
18128 }
18129 Py_INCREF(Py_None); resultobj = Py_None;
18130 {
18131 if (temp4)
18132 delete arg4;
18133 }
18134 return resultobj;
18135 fail:
18136 {
18137 if (temp4)
18138 delete arg4;
18139 }
18140 return NULL;
18141 }
18142
18143
18144 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
18145 PyObject *resultobj;
18146 wxPrinter *arg1 = (wxPrinter *) 0 ;
18147 wxWindow *arg2 = (wxWindow *) 0 ;
18148 bool result;
18149 PyObject * obj0 = 0 ;
18150 PyObject * obj1 = 0 ;
18151 char *kwnames[] = {
18152 (char *) "self",(char *) "parent", NULL
18153 };
18154
18155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) 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 {
18159 PyThreadState* __tstate = wxPyBeginAllowThreads();
18160 result = (bool)(arg1)->Setup(arg2);
18161
18162 wxPyEndAllowThreads(__tstate);
18163 if (PyErr_Occurred()) SWIG_fail;
18164 }
18165 resultobj = PyInt_FromLong((long)result);
18166 return resultobj;
18167 fail:
18168 return NULL;
18169 }
18170
18171
18172 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
18173 PyObject *resultobj;
18174 wxPrinter *arg1 = (wxPrinter *) 0 ;
18175 bool result;
18176 PyObject * obj0 = 0 ;
18177 char *kwnames[] = {
18178 (char *) "self", NULL
18179 };
18180
18181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
18182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18183 {
18184 PyThreadState* __tstate = wxPyBeginAllowThreads();
18185 result = (bool)(arg1)->GetAbort();
18186
18187 wxPyEndAllowThreads(__tstate);
18188 if (PyErr_Occurred()) SWIG_fail;
18189 }
18190 resultobj = PyInt_FromLong((long)result);
18191 return resultobj;
18192 fail:
18193 return NULL;
18194 }
18195
18196
18197 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
18198 PyObject *resultobj;
18199 int result;
18200 char *kwnames[] = {
18201 NULL
18202 };
18203
18204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
18205 {
18206 PyThreadState* __tstate = wxPyBeginAllowThreads();
18207 result = (int)wxPrinter::GetLastError();
18208
18209 wxPyEndAllowThreads(__tstate);
18210 if (PyErr_Occurred()) SWIG_fail;
18211 }
18212 resultobj = PyInt_FromLong((long)result);
18213 return resultobj;
18214 fail:
18215 return NULL;
18216 }
18217
18218
18219 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
18220 PyObject *obj;
18221 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18222 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
18223 Py_INCREF(obj);
18224 return Py_BuildValue((char *)"");
18225 }
18226 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
18227 PyObject *resultobj;
18228 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
18229 wxString *arg1 = (wxString *) &arg1_defvalue ;
18230 wxPyPrintout *result;
18231 bool temp1 = False ;
18232 PyObject * obj0 = 0 ;
18233 char *kwnames[] = {
18234 (char *) "title", NULL
18235 };
18236
18237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
18238 if (obj0) {
18239 {
18240 arg1 = wxString_in_helper(obj0);
18241 if (arg1 == NULL) SWIG_fail;
18242 temp1 = True;
18243 }
18244 }
18245 {
18246 PyThreadState* __tstate = wxPyBeginAllowThreads();
18247 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
18248
18249 wxPyEndAllowThreads(__tstate);
18250 if (PyErr_Occurred()) SWIG_fail;
18251 }
18252 {
18253 resultobj = wxPyMake_wxObject(result);
18254 }
18255 {
18256 if (temp1)
18257 delete arg1;
18258 }
18259 return resultobj;
18260 fail:
18261 {
18262 if (temp1)
18263 delete arg1;
18264 }
18265 return NULL;
18266 }
18267
18268
18269 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18270 PyObject *resultobj;
18271 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18272 PyObject *arg2 = (PyObject *) 0 ;
18273 PyObject *arg3 = (PyObject *) 0 ;
18274 PyObject * obj0 = 0 ;
18275 PyObject * obj1 = 0 ;
18276 PyObject * obj2 = 0 ;
18277 char *kwnames[] = {
18278 (char *) "self",(char *) "self",(char *) "_class", NULL
18279 };
18280
18281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18283 arg2 = obj1;
18284 arg3 = obj2;
18285 {
18286 PyThreadState* __tstate = wxPyBeginAllowThreads();
18287 (arg1)->_setCallbackInfo(arg2,arg3);
18288
18289 wxPyEndAllowThreads(__tstate);
18290 if (PyErr_Occurred()) SWIG_fail;
18291 }
18292 Py_INCREF(Py_None); resultobj = Py_None;
18293 return resultobj;
18294 fail:
18295 return NULL;
18296 }
18297
18298
18299 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
18300 PyObject *resultobj;
18301 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18302 wxString result;
18303 PyObject * obj0 = 0 ;
18304 char *kwnames[] = {
18305 (char *) "self", NULL
18306 };
18307
18308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
18309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18310 {
18311 PyThreadState* __tstate = wxPyBeginAllowThreads();
18312 result = ((wxPyPrintout const *)arg1)->GetTitle();
18313
18314 wxPyEndAllowThreads(__tstate);
18315 if (PyErr_Occurred()) SWIG_fail;
18316 }
18317 {
18318 #if wxUSE_UNICODE
18319 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18320 #else
18321 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18322 #endif
18323 }
18324 return resultobj;
18325 fail:
18326 return NULL;
18327 }
18328
18329
18330 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18331 PyObject *resultobj;
18332 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18333 wxDC *result;
18334 PyObject * obj0 = 0 ;
18335 char *kwnames[] = {
18336 (char *) "self", NULL
18337 };
18338
18339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
18340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18341 {
18342 PyThreadState* __tstate = wxPyBeginAllowThreads();
18343 result = (wxDC *)(arg1)->GetDC();
18344
18345 wxPyEndAllowThreads(__tstate);
18346 if (PyErr_Occurred()) SWIG_fail;
18347 }
18348 {
18349 resultobj = wxPyMake_wxObject(result);
18350 }
18351 return resultobj;
18352 fail:
18353 return NULL;
18354 }
18355
18356
18357 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18358 PyObject *resultobj;
18359 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18360 wxDC *arg2 = (wxDC *) 0 ;
18361 PyObject * obj0 = 0 ;
18362 PyObject * obj1 = 0 ;
18363 char *kwnames[] = {
18364 (char *) "self",(char *) "dc", NULL
18365 };
18366
18367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
18368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18369 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18370 {
18371 PyThreadState* __tstate = wxPyBeginAllowThreads();
18372 (arg1)->SetDC(arg2);
18373
18374 wxPyEndAllowThreads(__tstate);
18375 if (PyErr_Occurred()) SWIG_fail;
18376 }
18377 Py_INCREF(Py_None); resultobj = Py_None;
18378 return resultobj;
18379 fail:
18380 return NULL;
18381 }
18382
18383
18384 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
18385 PyObject *resultobj;
18386 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18387 int arg2 ;
18388 int arg3 ;
18389 PyObject * obj0 = 0 ;
18390 char *kwnames[] = {
18391 (char *) "self",(char *) "w",(char *) "h", NULL
18392 };
18393
18394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizePixels",kwnames,&obj0,&arg2,&arg3)) goto fail;
18395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18396 {
18397 PyThreadState* __tstate = wxPyBeginAllowThreads();
18398 (arg1)->SetPageSizePixels(arg2,arg3);
18399
18400 wxPyEndAllowThreads(__tstate);
18401 if (PyErr_Occurred()) SWIG_fail;
18402 }
18403 Py_INCREF(Py_None); resultobj = Py_None;
18404 return resultobj;
18405 fail:
18406 return NULL;
18407 }
18408
18409
18410 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
18411 PyObject *resultobj;
18412 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18413 int *arg2 = (int *) 0 ;
18414 int *arg3 = (int *) 0 ;
18415 int temp2 ;
18416 int temp3 ;
18417 PyObject * obj0 = 0 ;
18418 char *kwnames[] = {
18419 (char *) "self", NULL
18420 };
18421
18422 arg2 = &temp2;
18423 arg3 = &temp3;
18424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
18425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18426 {
18427 PyThreadState* __tstate = wxPyBeginAllowThreads();
18428 (arg1)->GetPageSizePixels(arg2,arg3);
18429
18430 wxPyEndAllowThreads(__tstate);
18431 if (PyErr_Occurred()) SWIG_fail;
18432 }
18433 Py_INCREF(Py_None); resultobj = Py_None;
18434 {
18435 PyObject *o = PyInt_FromLong((long) (*arg2));
18436 resultobj = t_output_helper(resultobj,o);
18437 }
18438 {
18439 PyObject *o = PyInt_FromLong((long) (*arg3));
18440 resultobj = t_output_helper(resultobj,o);
18441 }
18442 return resultobj;
18443 fail:
18444 return NULL;
18445 }
18446
18447
18448 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18449 PyObject *resultobj;
18450 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18451 int arg2 ;
18452 int arg3 ;
18453 PyObject * obj0 = 0 ;
18454 char *kwnames[] = {
18455 (char *) "self",(char *) "w",(char *) "h", NULL
18456 };
18457
18458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizeMM",kwnames,&obj0,&arg2,&arg3)) goto fail;
18459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18460 {
18461 PyThreadState* __tstate = wxPyBeginAllowThreads();
18462 (arg1)->SetPageSizeMM(arg2,arg3);
18463
18464 wxPyEndAllowThreads(__tstate);
18465 if (PyErr_Occurred()) SWIG_fail;
18466 }
18467 Py_INCREF(Py_None); resultobj = Py_None;
18468 return resultobj;
18469 fail:
18470 return NULL;
18471 }
18472
18473
18474 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18475 PyObject *resultobj;
18476 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18477 int *arg2 = (int *) 0 ;
18478 int *arg3 = (int *) 0 ;
18479 int temp2 ;
18480 int temp3 ;
18481 PyObject * obj0 = 0 ;
18482 char *kwnames[] = {
18483 (char *) "self", NULL
18484 };
18485
18486 arg2 = &temp2;
18487 arg3 = &temp3;
18488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
18489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18490 {
18491 PyThreadState* __tstate = wxPyBeginAllowThreads();
18492 (arg1)->GetPageSizeMM(arg2,arg3);
18493
18494 wxPyEndAllowThreads(__tstate);
18495 if (PyErr_Occurred()) SWIG_fail;
18496 }
18497 Py_INCREF(Py_None); resultobj = Py_None;
18498 {
18499 PyObject *o = PyInt_FromLong((long) (*arg2));
18500 resultobj = t_output_helper(resultobj,o);
18501 }
18502 {
18503 PyObject *o = PyInt_FromLong((long) (*arg3));
18504 resultobj = t_output_helper(resultobj,o);
18505 }
18506 return resultobj;
18507 fail:
18508 return NULL;
18509 }
18510
18511
18512 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18513 PyObject *resultobj;
18514 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18515 int arg2 ;
18516 int arg3 ;
18517 PyObject * obj0 = 0 ;
18518 char *kwnames[] = {
18519 (char *) "self",(char *) "x",(char *) "y", NULL
18520 };
18521
18522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIScreen",kwnames,&obj0,&arg2,&arg3)) goto fail;
18523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18524 {
18525 PyThreadState* __tstate = wxPyBeginAllowThreads();
18526 (arg1)->SetPPIScreen(arg2,arg3);
18527
18528 wxPyEndAllowThreads(__tstate);
18529 if (PyErr_Occurred()) SWIG_fail;
18530 }
18531 Py_INCREF(Py_None); resultobj = Py_None;
18532 return resultobj;
18533 fail:
18534 return NULL;
18535 }
18536
18537
18538 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18539 PyObject *resultobj;
18540 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18541 int *arg2 = (int *) 0 ;
18542 int *arg3 = (int *) 0 ;
18543 int temp2 ;
18544 int temp3 ;
18545 PyObject * obj0 = 0 ;
18546 char *kwnames[] = {
18547 (char *) "self", NULL
18548 };
18549
18550 arg2 = &temp2;
18551 arg3 = &temp3;
18552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
18553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18554 {
18555 PyThreadState* __tstate = wxPyBeginAllowThreads();
18556 (arg1)->GetPPIScreen(arg2,arg3);
18557
18558 wxPyEndAllowThreads(__tstate);
18559 if (PyErr_Occurred()) SWIG_fail;
18560 }
18561 Py_INCREF(Py_None); resultobj = Py_None;
18562 {
18563 PyObject *o = PyInt_FromLong((long) (*arg2));
18564 resultobj = t_output_helper(resultobj,o);
18565 }
18566 {
18567 PyObject *o = PyInt_FromLong((long) (*arg3));
18568 resultobj = t_output_helper(resultobj,o);
18569 }
18570 return resultobj;
18571 fail:
18572 return NULL;
18573 }
18574
18575
18576 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18577 PyObject *resultobj;
18578 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18579 int arg2 ;
18580 int arg3 ;
18581 PyObject * obj0 = 0 ;
18582 char *kwnames[] = {
18583 (char *) "self",(char *) "x",(char *) "y", NULL
18584 };
18585
18586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIPrinter",kwnames,&obj0,&arg2,&arg3)) goto fail;
18587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18588 {
18589 PyThreadState* __tstate = wxPyBeginAllowThreads();
18590 (arg1)->SetPPIPrinter(arg2,arg3);
18591
18592 wxPyEndAllowThreads(__tstate);
18593 if (PyErr_Occurred()) SWIG_fail;
18594 }
18595 Py_INCREF(Py_None); resultobj = Py_None;
18596 return resultobj;
18597 fail:
18598 return NULL;
18599 }
18600
18601
18602 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18603 PyObject *resultobj;
18604 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18605 int *arg2 = (int *) 0 ;
18606 int *arg3 = (int *) 0 ;
18607 int temp2 ;
18608 int temp3 ;
18609 PyObject * obj0 = 0 ;
18610 char *kwnames[] = {
18611 (char *) "self", NULL
18612 };
18613
18614 arg2 = &temp2;
18615 arg3 = &temp3;
18616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
18617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18618 {
18619 PyThreadState* __tstate = wxPyBeginAllowThreads();
18620 (arg1)->GetPPIPrinter(arg2,arg3);
18621
18622 wxPyEndAllowThreads(__tstate);
18623 if (PyErr_Occurred()) SWIG_fail;
18624 }
18625 Py_INCREF(Py_None); resultobj = Py_None;
18626 {
18627 PyObject *o = PyInt_FromLong((long) (*arg2));
18628 resultobj = t_output_helper(resultobj,o);
18629 }
18630 {
18631 PyObject *o = PyInt_FromLong((long) (*arg3));
18632 resultobj = t_output_helper(resultobj,o);
18633 }
18634 return resultobj;
18635 fail:
18636 return NULL;
18637 }
18638
18639
18640 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18641 PyObject *resultobj;
18642 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18643 bool result;
18644 PyObject * obj0 = 0 ;
18645 char *kwnames[] = {
18646 (char *) "self", NULL
18647 };
18648
18649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
18650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18651 {
18652 PyThreadState* __tstate = wxPyBeginAllowThreads();
18653 result = (bool)(arg1)->IsPreview();
18654
18655 wxPyEndAllowThreads(__tstate);
18656 if (PyErr_Occurred()) SWIG_fail;
18657 }
18658 resultobj = PyInt_FromLong((long)result);
18659 return resultobj;
18660 fail:
18661 return NULL;
18662 }
18663
18664
18665 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18666 PyObject *resultobj;
18667 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18668 bool arg2 ;
18669 PyObject * obj0 = 0 ;
18670 PyObject * obj1 = 0 ;
18671 char *kwnames[] = {
18672 (char *) "self",(char *) "p", NULL
18673 };
18674
18675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
18676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18677 arg2 = PyInt_AsLong(obj1) ? true : false;
18678 if (PyErr_Occurred()) SWIG_fail;
18679 {
18680 PyThreadState* __tstate = wxPyBeginAllowThreads();
18681 (arg1)->SetIsPreview(arg2);
18682
18683 wxPyEndAllowThreads(__tstate);
18684 if (PyErr_Occurred()) SWIG_fail;
18685 }
18686 Py_INCREF(Py_None); resultobj = Py_None;
18687 return resultobj;
18688 fail:
18689 return NULL;
18690 }
18691
18692
18693 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
18694 PyObject *resultobj;
18695 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18696 int arg2 ;
18697 int arg3 ;
18698 bool result;
18699 PyObject * obj0 = 0 ;
18700 char *kwnames[] = {
18701 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
18702 };
18703
18704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_base_OnBeginDocument",kwnames,&obj0,&arg2,&arg3)) goto fail;
18705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18706 {
18707 PyThreadState* __tstate = wxPyBeginAllowThreads();
18708 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
18709
18710 wxPyEndAllowThreads(__tstate);
18711 if (PyErr_Occurred()) SWIG_fail;
18712 }
18713 resultobj = PyInt_FromLong((long)result);
18714 return resultobj;
18715 fail:
18716 return NULL;
18717 }
18718
18719
18720 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
18721 PyObject *resultobj;
18722 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18723 PyObject * obj0 = 0 ;
18724 char *kwnames[] = {
18725 (char *) "self", NULL
18726 };
18727
18728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
18729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18730 {
18731 PyThreadState* __tstate = wxPyBeginAllowThreads();
18732 (arg1)->base_OnEndDocument();
18733
18734 wxPyEndAllowThreads(__tstate);
18735 if (PyErr_Occurred()) SWIG_fail;
18736 }
18737 Py_INCREF(Py_None); resultobj = Py_None;
18738 return resultobj;
18739 fail:
18740 return NULL;
18741 }
18742
18743
18744 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18745 PyObject *resultobj;
18746 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18747 PyObject * obj0 = 0 ;
18748 char *kwnames[] = {
18749 (char *) "self", NULL
18750 };
18751
18752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
18753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18754 {
18755 PyThreadState* __tstate = wxPyBeginAllowThreads();
18756 (arg1)->base_OnBeginPrinting();
18757
18758 wxPyEndAllowThreads(__tstate);
18759 if (PyErr_Occurred()) SWIG_fail;
18760 }
18761 Py_INCREF(Py_None); resultobj = Py_None;
18762 return resultobj;
18763 fail:
18764 return NULL;
18765 }
18766
18767
18768 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18769 PyObject *resultobj;
18770 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18771 PyObject * obj0 = 0 ;
18772 char *kwnames[] = {
18773 (char *) "self", NULL
18774 };
18775
18776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
18777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18778 {
18779 PyThreadState* __tstate = wxPyBeginAllowThreads();
18780 (arg1)->base_OnEndPrinting();
18781
18782 wxPyEndAllowThreads(__tstate);
18783 if (PyErr_Occurred()) SWIG_fail;
18784 }
18785 Py_INCREF(Py_None); resultobj = Py_None;
18786 return resultobj;
18787 fail:
18788 return NULL;
18789 }
18790
18791
18792 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18793 PyObject *resultobj;
18794 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18795 PyObject * obj0 = 0 ;
18796 char *kwnames[] = {
18797 (char *) "self", NULL
18798 };
18799
18800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
18801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18802 {
18803 PyThreadState* __tstate = wxPyBeginAllowThreads();
18804 (arg1)->base_OnPreparePrinting();
18805
18806 wxPyEndAllowThreads(__tstate);
18807 if (PyErr_Occurred()) SWIG_fail;
18808 }
18809 Py_INCREF(Py_None); resultobj = Py_None;
18810 return resultobj;
18811 fail:
18812 return NULL;
18813 }
18814
18815
18816 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18817 PyObject *resultobj;
18818 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18819 int arg2 ;
18820 bool result;
18821 PyObject * obj0 = 0 ;
18822 char *kwnames[] = {
18823 (char *) "self",(char *) "page", NULL
18824 };
18825
18826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Printout_base_HasPage",kwnames,&obj0,&arg2)) goto fail;
18827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18828 {
18829 PyThreadState* __tstate = wxPyBeginAllowThreads();
18830 result = (bool)(arg1)->base_HasPage(arg2);
18831
18832 wxPyEndAllowThreads(__tstate);
18833 if (PyErr_Occurred()) SWIG_fail;
18834 }
18835 resultobj = PyInt_FromLong((long)result);
18836 return resultobj;
18837 fail:
18838 return NULL;
18839 }
18840
18841
18842 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18843 PyObject *resultobj;
18844 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18845 int *arg2 = (int *) 0 ;
18846 int *arg3 = (int *) 0 ;
18847 int *arg4 = (int *) 0 ;
18848 int *arg5 = (int *) 0 ;
18849 int temp2 ;
18850 int temp3 ;
18851 int temp4 ;
18852 int temp5 ;
18853 PyObject * obj0 = 0 ;
18854 char *kwnames[] = {
18855 (char *) "self", NULL
18856 };
18857
18858 arg2 = &temp2;
18859 arg3 = &temp3;
18860 arg4 = &temp4;
18861 arg5 = &temp5;
18862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
18863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18864 {
18865 PyThreadState* __tstate = wxPyBeginAllowThreads();
18866 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
18867
18868 wxPyEndAllowThreads(__tstate);
18869 if (PyErr_Occurred()) SWIG_fail;
18870 }
18871 Py_INCREF(Py_None); resultobj = Py_None;
18872 {
18873 PyObject *o = PyInt_FromLong((long) (*arg2));
18874 resultobj = t_output_helper(resultobj,o);
18875 }
18876 {
18877 PyObject *o = PyInt_FromLong((long) (*arg3));
18878 resultobj = t_output_helper(resultobj,o);
18879 }
18880 {
18881 PyObject *o = PyInt_FromLong((long) (*arg4));
18882 resultobj = t_output_helper(resultobj,o);
18883 }
18884 {
18885 PyObject *o = PyInt_FromLong((long) (*arg5));
18886 resultobj = t_output_helper(resultobj,o);
18887 }
18888 return resultobj;
18889 fail:
18890 return NULL;
18891 }
18892
18893
18894 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
18895 PyObject *obj;
18896 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18897 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
18898 Py_INCREF(obj);
18899 return Py_BuildValue((char *)"");
18900 }
18901 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
18902 PyObject *resultobj;
18903 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
18904 wxWindow *arg2 = (wxWindow *) 0 ;
18905 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18906 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18907 wxSize const &arg4_defvalue = wxDefaultSize ;
18908 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18909 long arg5 = (long) 0 ;
18910 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
18911 wxString *arg6 = (wxString *) &arg6_defvalue ;
18912 wxPreviewCanvas *result;
18913 wxPoint temp3 ;
18914 wxSize temp4 ;
18915 bool temp6 = False ;
18916 PyObject * obj0 = 0 ;
18917 PyObject * obj1 = 0 ;
18918 PyObject * obj2 = 0 ;
18919 PyObject * obj3 = 0 ;
18920 PyObject * obj5 = 0 ;
18921 char *kwnames[] = {
18922 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18923 };
18924
18925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
18926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18927 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18928 if (obj2) {
18929 {
18930 arg3 = &temp3;
18931 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18932 }
18933 }
18934 if (obj3) {
18935 {
18936 arg4 = &temp4;
18937 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18938 }
18939 }
18940 if (obj5) {
18941 {
18942 arg6 = wxString_in_helper(obj5);
18943 if (arg6 == NULL) SWIG_fail;
18944 temp6 = True;
18945 }
18946 }
18947 {
18948 PyThreadState* __tstate = wxPyBeginAllowThreads();
18949 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18950
18951 wxPyEndAllowThreads(__tstate);
18952 if (PyErr_Occurred()) SWIG_fail;
18953 }
18954 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 1);
18955 {
18956 if (temp6)
18957 delete arg6;
18958 }
18959 return resultobj;
18960 fail:
18961 {
18962 if (temp6)
18963 delete arg6;
18964 }
18965 return NULL;
18966 }
18967
18968
18969 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
18970 PyObject *obj;
18971 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18972 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
18973 Py_INCREF(obj);
18974 return Py_BuildValue((char *)"");
18975 }
18976 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
18977 PyObject *resultobj;
18978 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
18979 wxFrame *arg2 = (wxFrame *) 0 ;
18980 wxString *arg3 = 0 ;
18981 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18982 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18983 wxSize const &arg5_defvalue = wxDefaultSize ;
18984 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18985 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
18986 wxString const &arg7_defvalue = wxPyFrameNameStr ;
18987 wxString *arg7 = (wxString *) &arg7_defvalue ;
18988 wxPreviewFrame *result;
18989 bool temp3 = False ;
18990 wxPoint temp4 ;
18991 wxSize temp5 ;
18992 bool temp7 = False ;
18993 PyObject * obj0 = 0 ;
18994 PyObject * obj1 = 0 ;
18995 PyObject * obj2 = 0 ;
18996 PyObject * obj3 = 0 ;
18997 PyObject * obj4 = 0 ;
18998 PyObject * obj6 = 0 ;
18999 char *kwnames[] = {
19000 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19001 };
19002
19003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
19004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19005 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19006 {
19007 arg3 = wxString_in_helper(obj2);
19008 if (arg3 == NULL) SWIG_fail;
19009 temp3 = True;
19010 }
19011 if (obj3) {
19012 {
19013 arg4 = &temp4;
19014 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19015 }
19016 }
19017 if (obj4) {
19018 {
19019 arg5 = &temp5;
19020 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19021 }
19022 }
19023 if (obj6) {
19024 {
19025 arg7 = wxString_in_helper(obj6);
19026 if (arg7 == NULL) SWIG_fail;
19027 temp7 = True;
19028 }
19029 }
19030 {
19031 PyThreadState* __tstate = wxPyBeginAllowThreads();
19032 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19033
19034 wxPyEndAllowThreads(__tstate);
19035 if (PyErr_Occurred()) SWIG_fail;
19036 }
19037 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewFrame, 1);
19038 {
19039 if (temp3)
19040 delete arg3;
19041 }
19042 {
19043 if (temp7)
19044 delete arg7;
19045 }
19046 return resultobj;
19047 fail:
19048 {
19049 if (temp3)
19050 delete arg3;
19051 }
19052 {
19053 if (temp7)
19054 delete arg7;
19055 }
19056 return NULL;
19057 }
19058
19059
19060 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
19061 PyObject *resultobj;
19062 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19063 PyObject * obj0 = 0 ;
19064 char *kwnames[] = {
19065 (char *) "self", NULL
19066 };
19067
19068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
19069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19070 {
19071 PyThreadState* __tstate = wxPyBeginAllowThreads();
19072 (arg1)->Initialize();
19073
19074 wxPyEndAllowThreads(__tstate);
19075 if (PyErr_Occurred()) SWIG_fail;
19076 }
19077 Py_INCREF(Py_None); resultobj = Py_None;
19078 return resultobj;
19079 fail:
19080 return NULL;
19081 }
19082
19083
19084 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19085 PyObject *resultobj;
19086 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19087 PyObject * obj0 = 0 ;
19088 char *kwnames[] = {
19089 (char *) "self", NULL
19090 };
19091
19092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
19093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19094 {
19095 PyThreadState* __tstate = wxPyBeginAllowThreads();
19096 (arg1)->CreateControlBar();
19097
19098 wxPyEndAllowThreads(__tstate);
19099 if (PyErr_Occurred()) SWIG_fail;
19100 }
19101 Py_INCREF(Py_None); resultobj = Py_None;
19102 return resultobj;
19103 fail:
19104 return NULL;
19105 }
19106
19107
19108 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19109 PyObject *resultobj;
19110 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19111 PyObject * obj0 = 0 ;
19112 char *kwnames[] = {
19113 (char *) "self", NULL
19114 };
19115
19116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
19117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19118 {
19119 PyThreadState* __tstate = wxPyBeginAllowThreads();
19120 (arg1)->CreateCanvas();
19121
19122 wxPyEndAllowThreads(__tstate);
19123 if (PyErr_Occurred()) SWIG_fail;
19124 }
19125 Py_INCREF(Py_None); resultobj = Py_None;
19126 return resultobj;
19127 fail:
19128 return NULL;
19129 }
19130
19131
19132 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19133 PyObject *resultobj;
19134 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19135 wxPreviewControlBar *result;
19136 PyObject * obj0 = 0 ;
19137 char *kwnames[] = {
19138 (char *) "self", NULL
19139 };
19140
19141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
19142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19143 {
19144 PyThreadState* __tstate = wxPyBeginAllowThreads();
19145 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
19146
19147 wxPyEndAllowThreads(__tstate);
19148 if (PyErr_Occurred()) SWIG_fail;
19149 }
19150 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 0);
19151 return resultobj;
19152 fail:
19153 return NULL;
19154 }
19155
19156
19157 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
19158 PyObject *obj;
19159 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19160 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
19161 Py_INCREF(obj);
19162 return Py_BuildValue((char *)"");
19163 }
19164 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19165 PyObject *resultobj;
19166 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19167 long arg2 ;
19168 wxWindow *arg3 = (wxWindow *) 0 ;
19169 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19170 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19171 wxSize const &arg5_defvalue = wxDefaultSize ;
19172 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19173 long arg6 = (long) wxTAB_TRAVERSAL ;
19174 wxString const &arg7_defvalue = wxPyPanelNameStr ;
19175 wxString *arg7 = (wxString *) &arg7_defvalue ;
19176 wxPreviewControlBar *result;
19177 wxPoint temp4 ;
19178 wxSize temp5 ;
19179 bool temp7 = False ;
19180 PyObject * obj0 = 0 ;
19181 PyObject * obj2 = 0 ;
19182 PyObject * obj3 = 0 ;
19183 PyObject * obj4 = 0 ;
19184 PyObject * obj6 = 0 ;
19185 char *kwnames[] = {
19186 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19187 };
19188
19189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
19190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19191 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19192 if (obj3) {
19193 {
19194 arg4 = &temp4;
19195 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19196 }
19197 }
19198 if (obj4) {
19199 {
19200 arg5 = &temp5;
19201 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19202 }
19203 }
19204 if (obj6) {
19205 {
19206 arg7 = wxString_in_helper(obj6);
19207 if (arg7 == NULL) SWIG_fail;
19208 temp7 = True;
19209 }
19210 }
19211 {
19212 PyThreadState* __tstate = wxPyBeginAllowThreads();
19213 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19214
19215 wxPyEndAllowThreads(__tstate);
19216 if (PyErr_Occurred()) SWIG_fail;
19217 }
19218 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 1);
19219 {
19220 if (temp7)
19221 delete arg7;
19222 }
19223 return resultobj;
19224 fail:
19225 {
19226 if (temp7)
19227 delete arg7;
19228 }
19229 return NULL;
19230 }
19231
19232
19233 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19234 PyObject *resultobj;
19235 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19236 int result;
19237 PyObject * obj0 = 0 ;
19238 char *kwnames[] = {
19239 (char *) "self", NULL
19240 };
19241
19242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
19243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19244 {
19245 PyThreadState* __tstate = wxPyBeginAllowThreads();
19246 result = (int)(arg1)->GetZoomControl();
19247
19248 wxPyEndAllowThreads(__tstate);
19249 if (PyErr_Occurred()) SWIG_fail;
19250 }
19251 resultobj = PyInt_FromLong((long)result);
19252 return resultobj;
19253 fail:
19254 return NULL;
19255 }
19256
19257
19258 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19259 PyObject *resultobj;
19260 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19261 int arg2 ;
19262 PyObject * obj0 = 0 ;
19263 char *kwnames[] = {
19264 (char *) "self",(char *) "zoom", NULL
19265 };
19266
19267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PreviewControlBar_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
19268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19269 {
19270 PyThreadState* __tstate = wxPyBeginAllowThreads();
19271 (arg1)->SetZoomControl(arg2);
19272
19273 wxPyEndAllowThreads(__tstate);
19274 if (PyErr_Occurred()) SWIG_fail;
19275 }
19276 Py_INCREF(Py_None); resultobj = Py_None;
19277 return resultobj;
19278 fail:
19279 return NULL;
19280 }
19281
19282
19283 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19284 PyObject *resultobj;
19285 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19286 wxPrintPreview *result;
19287 PyObject * obj0 = 0 ;
19288 char *kwnames[] = {
19289 (char *) "self", NULL
19290 };
19291
19292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
19293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19294 {
19295 PyThreadState* __tstate = wxPyBeginAllowThreads();
19296 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
19297
19298 wxPyEndAllowThreads(__tstate);
19299 if (PyErr_Occurred()) SWIG_fail;
19300 }
19301 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 0);
19302 return resultobj;
19303 fail:
19304 return NULL;
19305 }
19306
19307
19308 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
19309 PyObject *resultobj;
19310 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19311 PyObject * obj0 = 0 ;
19312 char *kwnames[] = {
19313 (char *) "self", NULL
19314 };
19315
19316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
19317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19318 {
19319 PyThreadState* __tstate = wxPyBeginAllowThreads();
19320 (arg1)->OnNext();
19321
19322 wxPyEndAllowThreads(__tstate);
19323 if (PyErr_Occurred()) SWIG_fail;
19324 }
19325 Py_INCREF(Py_None); resultobj = Py_None;
19326 return resultobj;
19327 fail:
19328 return NULL;
19329 }
19330
19331
19332 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
19333 PyObject *resultobj;
19334 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19335 PyObject * obj0 = 0 ;
19336 char *kwnames[] = {
19337 (char *) "self", NULL
19338 };
19339
19340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
19341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19342 {
19343 PyThreadState* __tstate = wxPyBeginAllowThreads();
19344 (arg1)->OnPrevious();
19345
19346 wxPyEndAllowThreads(__tstate);
19347 if (PyErr_Occurred()) SWIG_fail;
19348 }
19349 Py_INCREF(Py_None); resultobj = Py_None;
19350 return resultobj;
19351 fail:
19352 return NULL;
19353 }
19354
19355
19356 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
19357 PyObject *resultobj;
19358 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19359 PyObject * obj0 = 0 ;
19360 char *kwnames[] = {
19361 (char *) "self", NULL
19362 };
19363
19364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
19365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19366 {
19367 PyThreadState* __tstate = wxPyBeginAllowThreads();
19368 (arg1)->OnFirst();
19369
19370 wxPyEndAllowThreads(__tstate);
19371 if (PyErr_Occurred()) SWIG_fail;
19372 }
19373 Py_INCREF(Py_None); resultobj = Py_None;
19374 return resultobj;
19375 fail:
19376 return NULL;
19377 }
19378
19379
19380 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
19381 PyObject *resultobj;
19382 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19383 PyObject * obj0 = 0 ;
19384 char *kwnames[] = {
19385 (char *) "self", NULL
19386 };
19387
19388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
19389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19390 {
19391 PyThreadState* __tstate = wxPyBeginAllowThreads();
19392 (arg1)->OnLast();
19393
19394 wxPyEndAllowThreads(__tstate);
19395 if (PyErr_Occurred()) SWIG_fail;
19396 }
19397 Py_INCREF(Py_None); resultobj = Py_None;
19398 return resultobj;
19399 fail:
19400 return NULL;
19401 }
19402
19403
19404 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
19405 PyObject *resultobj;
19406 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19407 PyObject * obj0 = 0 ;
19408 char *kwnames[] = {
19409 (char *) "self", NULL
19410 };
19411
19412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
19413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19414 {
19415 PyThreadState* __tstate = wxPyBeginAllowThreads();
19416 (arg1)->OnGoto();
19417
19418 wxPyEndAllowThreads(__tstate);
19419 if (PyErr_Occurred()) SWIG_fail;
19420 }
19421 Py_INCREF(Py_None); resultobj = Py_None;
19422 return resultobj;
19423 fail:
19424 return NULL;
19425 }
19426
19427
19428 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
19429 PyObject *obj;
19430 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19431 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
19432 Py_INCREF(obj);
19433 return Py_BuildValue((char *)"");
19434 }
19435 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19436 PyObject *resultobj;
19437 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19438 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19439 wxPrintData *arg3 = (wxPrintData *) NULL ;
19440 wxPrintPreview *result;
19441 PyObject * obj0 = 0 ;
19442 PyObject * obj1 = 0 ;
19443 PyObject * obj2 = 0 ;
19444 char *kwnames[] = {
19445 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19446 };
19447
19448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
19449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19450 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19451 if (obj2) {
19452 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19453 }
19454 {
19455 PyThreadState* __tstate = wxPyBeginAllowThreads();
19456 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
19457
19458 wxPyEndAllowThreads(__tstate);
19459 if (PyErr_Occurred()) SWIG_fail;
19460 }
19461 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 1);
19462 return resultobj;
19463 fail:
19464 return NULL;
19465 }
19466
19467
19468 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19469 PyObject *resultobj;
19470 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19471 int arg2 ;
19472 bool result;
19473 PyObject * obj0 = 0 ;
19474 char *kwnames[] = {
19475 (char *) "self",(char *) "pageNum", NULL
19476 };
19477
19478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
19479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19480 {
19481 PyThreadState* __tstate = wxPyBeginAllowThreads();
19482 result = (bool)(arg1)->SetCurrentPage(arg2);
19483
19484 wxPyEndAllowThreads(__tstate);
19485 if (PyErr_Occurred()) SWIG_fail;
19486 }
19487 resultobj = PyInt_FromLong((long)result);
19488 return resultobj;
19489 fail:
19490 return NULL;
19491 }
19492
19493
19494 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19495 PyObject *resultobj;
19496 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19497 int result;
19498 PyObject * obj0 = 0 ;
19499 char *kwnames[] = {
19500 (char *) "self", NULL
19501 };
19502
19503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
19504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19505 {
19506 PyThreadState* __tstate = wxPyBeginAllowThreads();
19507 result = (int)(arg1)->GetCurrentPage();
19508
19509 wxPyEndAllowThreads(__tstate);
19510 if (PyErr_Occurred()) SWIG_fail;
19511 }
19512 resultobj = PyInt_FromLong((long)result);
19513 return resultobj;
19514 fail:
19515 return NULL;
19516 }
19517
19518
19519 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19520 PyObject *resultobj;
19521 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19522 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19523 PyObject * obj0 = 0 ;
19524 PyObject * obj1 = 0 ;
19525 char *kwnames[] = {
19526 (char *) "self",(char *) "printout", NULL
19527 };
19528
19529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
19530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19531 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19532 {
19533 PyThreadState* __tstate = wxPyBeginAllowThreads();
19534 (arg1)->SetPrintout(arg2);
19535
19536 wxPyEndAllowThreads(__tstate);
19537 if (PyErr_Occurred()) SWIG_fail;
19538 }
19539 Py_INCREF(Py_None); resultobj = Py_None;
19540 return resultobj;
19541 fail:
19542 return NULL;
19543 }
19544
19545
19546 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19547 PyObject *resultobj;
19548 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19549 wxPyPrintout *result;
19550 PyObject * obj0 = 0 ;
19551 char *kwnames[] = {
19552 (char *) "self", NULL
19553 };
19554
19555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
19556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19557 {
19558 PyThreadState* __tstate = wxPyBeginAllowThreads();
19559 result = (wxPyPrintout *)(arg1)->GetPrintout();
19560
19561 wxPyEndAllowThreads(__tstate);
19562 if (PyErr_Occurred()) SWIG_fail;
19563 }
19564 {
19565 resultobj = wxPyMake_wxObject(result);
19566 }
19567 return resultobj;
19568 fail:
19569 return NULL;
19570 }
19571
19572
19573 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
19574 PyObject *resultobj;
19575 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19576 wxPyPrintout *result;
19577 PyObject * obj0 = 0 ;
19578 char *kwnames[] = {
19579 (char *) "self", NULL
19580 };
19581
19582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
19583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19584 {
19585 PyThreadState* __tstate = wxPyBeginAllowThreads();
19586 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
19587
19588 wxPyEndAllowThreads(__tstate);
19589 if (PyErr_Occurred()) SWIG_fail;
19590 }
19591 {
19592 resultobj = wxPyMake_wxObject(result);
19593 }
19594 return resultobj;
19595 fail:
19596 return NULL;
19597 }
19598
19599
19600 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19601 PyObject *resultobj;
19602 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19603 wxFrame *arg2 = (wxFrame *) 0 ;
19604 PyObject * obj0 = 0 ;
19605 PyObject * obj1 = 0 ;
19606 char *kwnames[] = {
19607 (char *) "self",(char *) "frame", NULL
19608 };
19609
19610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
19611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19612 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19613 {
19614 PyThreadState* __tstate = wxPyBeginAllowThreads();
19615 (arg1)->SetFrame(arg2);
19616
19617 wxPyEndAllowThreads(__tstate);
19618 if (PyErr_Occurred()) SWIG_fail;
19619 }
19620 Py_INCREF(Py_None); resultobj = Py_None;
19621 return resultobj;
19622 fail:
19623 return NULL;
19624 }
19625
19626
19627 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19628 PyObject *resultobj;
19629 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19630 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19631 PyObject * obj0 = 0 ;
19632 PyObject * obj1 = 0 ;
19633 char *kwnames[] = {
19634 (char *) "self",(char *) "canvas", NULL
19635 };
19636
19637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
19638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19639 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19640 {
19641 PyThreadState* __tstate = wxPyBeginAllowThreads();
19642 (arg1)->SetCanvas(arg2);
19643
19644 wxPyEndAllowThreads(__tstate);
19645 if (PyErr_Occurred()) SWIG_fail;
19646 }
19647 Py_INCREF(Py_None); resultobj = Py_None;
19648 return resultobj;
19649 fail:
19650 return NULL;
19651 }
19652
19653
19654 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19655 PyObject *resultobj;
19656 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19657 wxFrame *result;
19658 PyObject * obj0 = 0 ;
19659 char *kwnames[] = {
19660 (char *) "self", NULL
19661 };
19662
19663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
19664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19665 {
19666 PyThreadState* __tstate = wxPyBeginAllowThreads();
19667 result = (wxFrame *)(arg1)->GetFrame();
19668
19669 wxPyEndAllowThreads(__tstate);
19670 if (PyErr_Occurred()) SWIG_fail;
19671 }
19672 {
19673 resultobj = wxPyMake_wxObject(result);
19674 }
19675 return resultobj;
19676 fail:
19677 return NULL;
19678 }
19679
19680
19681 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19682 PyObject *resultobj;
19683 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19684 wxPreviewCanvas *result;
19685 PyObject * obj0 = 0 ;
19686 char *kwnames[] = {
19687 (char *) "self", NULL
19688 };
19689
19690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
19691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19692 {
19693 PyThreadState* __tstate = wxPyBeginAllowThreads();
19694 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
19695
19696 wxPyEndAllowThreads(__tstate);
19697 if (PyErr_Occurred()) SWIG_fail;
19698 }
19699 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 0);
19700 return resultobj;
19701 fail:
19702 return NULL;
19703 }
19704
19705
19706 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19707 PyObject *resultobj;
19708 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19709 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19710 wxDC *arg3 = 0 ;
19711 bool result;
19712 PyObject * obj0 = 0 ;
19713 PyObject * obj1 = 0 ;
19714 PyObject * obj2 = 0 ;
19715 char *kwnames[] = {
19716 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19717 };
19718
19719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
19720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19721 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19722 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19723 if (arg3 == NULL) {
19724 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19725 }
19726 {
19727 PyThreadState* __tstate = wxPyBeginAllowThreads();
19728 result = (bool)(arg1)->PaintPage(arg2,*arg3);
19729
19730 wxPyEndAllowThreads(__tstate);
19731 if (PyErr_Occurred()) SWIG_fail;
19732 }
19733 resultobj = PyInt_FromLong((long)result);
19734 return resultobj;
19735 fail:
19736 return NULL;
19737 }
19738
19739
19740 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19741 PyObject *resultobj;
19742 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19743 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19744 wxDC *arg3 = 0 ;
19745 bool result;
19746 PyObject * obj0 = 0 ;
19747 PyObject * obj1 = 0 ;
19748 PyObject * obj2 = 0 ;
19749 char *kwnames[] = {
19750 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19751 };
19752
19753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
19754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19755 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19756 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19757 if (arg3 == NULL) {
19758 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19759 }
19760 {
19761 PyThreadState* __tstate = wxPyBeginAllowThreads();
19762 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
19763
19764 wxPyEndAllowThreads(__tstate);
19765 if (PyErr_Occurred()) SWIG_fail;
19766 }
19767 resultobj = PyInt_FromLong((long)result);
19768 return resultobj;
19769 fail:
19770 return NULL;
19771 }
19772
19773
19774 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19775 PyObject *resultobj;
19776 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19777 int arg2 ;
19778 bool result;
19779 PyObject * obj0 = 0 ;
19780 char *kwnames[] = {
19781 (char *) "self",(char *) "pageNum", NULL
19782 };
19783
19784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_RenderPage",kwnames,&obj0,&arg2)) goto fail;
19785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19786 {
19787 PyThreadState* __tstate = wxPyBeginAllowThreads();
19788 result = (bool)(arg1)->RenderPage(arg2);
19789
19790 wxPyEndAllowThreads(__tstate);
19791 if (PyErr_Occurred()) SWIG_fail;
19792 }
19793 resultobj = PyInt_FromLong((long)result);
19794 return resultobj;
19795 fail:
19796 return NULL;
19797 }
19798
19799
19800 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
19801 PyObject *resultobj;
19802 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19803 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19804 PyObject * obj0 = 0 ;
19805 PyObject * obj1 = 0 ;
19806 char *kwnames[] = {
19807 (char *) "self",(char *) "canvas", NULL
19808 };
19809
19810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
19811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19812 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19813 {
19814 PyThreadState* __tstate = wxPyBeginAllowThreads();
19815 (arg1)->AdjustScrollbars(arg2);
19816
19817 wxPyEndAllowThreads(__tstate);
19818 if (PyErr_Occurred()) SWIG_fail;
19819 }
19820 Py_INCREF(Py_None); resultobj = Py_None;
19821 return resultobj;
19822 fail:
19823 return NULL;
19824 }
19825
19826
19827 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19828 PyObject *resultobj;
19829 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19830 wxPrintDialogData *result;
19831 PyObject * obj0 = 0 ;
19832 char *kwnames[] = {
19833 (char *) "self", NULL
19834 };
19835
19836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
19837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19838 {
19839 PyThreadState* __tstate = wxPyBeginAllowThreads();
19840 {
19841 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
19842 result = (wxPrintDialogData *) &_result_ref;
19843 }
19844
19845 wxPyEndAllowThreads(__tstate);
19846 if (PyErr_Occurred()) SWIG_fail;
19847 }
19848 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
19849 return resultobj;
19850 fail:
19851 return NULL;
19852 }
19853
19854
19855 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
19856 PyObject *resultobj;
19857 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19858 int arg2 ;
19859 PyObject * obj0 = 0 ;
19860 char *kwnames[] = {
19861 (char *) "self",(char *) "percent", NULL
19862 };
19863
19864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetZoom",kwnames,&obj0,&arg2)) goto fail;
19865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19866 {
19867 PyThreadState* __tstate = wxPyBeginAllowThreads();
19868 (arg1)->SetZoom(arg2);
19869
19870 wxPyEndAllowThreads(__tstate);
19871 if (PyErr_Occurred()) SWIG_fail;
19872 }
19873 Py_INCREF(Py_None); resultobj = Py_None;
19874 return resultobj;
19875 fail:
19876 return NULL;
19877 }
19878
19879
19880 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
19881 PyObject *resultobj;
19882 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19883 int result;
19884 PyObject * obj0 = 0 ;
19885 char *kwnames[] = {
19886 (char *) "self", NULL
19887 };
19888
19889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
19890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19891 {
19892 PyThreadState* __tstate = wxPyBeginAllowThreads();
19893 result = (int)(arg1)->GetZoom();
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_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19906 PyObject *resultobj;
19907 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19908 int result;
19909 PyObject * obj0 = 0 ;
19910 char *kwnames[] = {
19911 (char *) "self", NULL
19912 };
19913
19914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
19915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19916 {
19917 PyThreadState* __tstate = wxPyBeginAllowThreads();
19918 result = (int)(arg1)->GetMaxPage();
19919
19920 wxPyEndAllowThreads(__tstate);
19921 if (PyErr_Occurred()) SWIG_fail;
19922 }
19923 resultobj = PyInt_FromLong((long)result);
19924 return resultobj;
19925 fail:
19926 return NULL;
19927 }
19928
19929
19930 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19931 PyObject *resultobj;
19932 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19933 int result;
19934 PyObject * obj0 = 0 ;
19935 char *kwnames[] = {
19936 (char *) "self", NULL
19937 };
19938
19939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
19940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19941 {
19942 PyThreadState* __tstate = wxPyBeginAllowThreads();
19943 result = (int)(arg1)->GetMinPage();
19944
19945 wxPyEndAllowThreads(__tstate);
19946 if (PyErr_Occurred()) SWIG_fail;
19947 }
19948 resultobj = PyInt_FromLong((long)result);
19949 return resultobj;
19950 fail:
19951 return NULL;
19952 }
19953
19954
19955 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19956 PyObject *resultobj;
19957 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19958 bool result;
19959 PyObject * obj0 = 0 ;
19960 char *kwnames[] = {
19961 (char *) "self", NULL
19962 };
19963
19964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
19965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19966 {
19967 PyThreadState* __tstate = wxPyBeginAllowThreads();
19968 result = (bool)(arg1)->Ok();
19969
19970 wxPyEndAllowThreads(__tstate);
19971 if (PyErr_Occurred()) SWIG_fail;
19972 }
19973 resultobj = PyInt_FromLong((long)result);
19974 return resultobj;
19975 fail:
19976 return NULL;
19977 }
19978
19979
19980 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
19981 PyObject *resultobj;
19982 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19983 bool arg2 ;
19984 PyObject * obj0 = 0 ;
19985 PyObject * obj1 = 0 ;
19986 char *kwnames[] = {
19987 (char *) "self",(char *) "ok", NULL
19988 };
19989
19990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
19991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19992 arg2 = PyInt_AsLong(obj1) ? true : false;
19993 if (PyErr_Occurred()) SWIG_fail;
19994 {
19995 PyThreadState* __tstate = wxPyBeginAllowThreads();
19996 (arg1)->SetOk(arg2);
19997
19998 wxPyEndAllowThreads(__tstate);
19999 if (PyErr_Occurred()) SWIG_fail;
20000 }
20001 Py_INCREF(Py_None); resultobj = Py_None;
20002 return resultobj;
20003 fail:
20004 return NULL;
20005 }
20006
20007
20008 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
20009 PyObject *resultobj;
20010 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20011 bool arg2 ;
20012 bool result;
20013 PyObject * obj0 = 0 ;
20014 PyObject * obj1 = 0 ;
20015 char *kwnames[] = {
20016 (char *) "self",(char *) "interactive", NULL
20017 };
20018
20019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
20020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20021 arg2 = PyInt_AsLong(obj1) ? true : false;
20022 if (PyErr_Occurred()) SWIG_fail;
20023 {
20024 PyThreadState* __tstate = wxPyBeginAllowThreads();
20025 result = (bool)(arg1)->Print(arg2);
20026
20027 wxPyEndAllowThreads(__tstate);
20028 if (PyErr_Occurred()) SWIG_fail;
20029 }
20030 resultobj = PyInt_FromLong((long)result);
20031 return resultobj;
20032 fail:
20033 return NULL;
20034 }
20035
20036
20037 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
20038 PyObject *resultobj;
20039 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20040 PyObject * obj0 = 0 ;
20041 char *kwnames[] = {
20042 (char *) "self", NULL
20043 };
20044
20045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
20046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20047 {
20048 PyThreadState* __tstate = wxPyBeginAllowThreads();
20049 (arg1)->DetermineScaling();
20050
20051 wxPyEndAllowThreads(__tstate);
20052 if (PyErr_Occurred()) SWIG_fail;
20053 }
20054 Py_INCREF(Py_None); resultobj = Py_None;
20055 return resultobj;
20056 fail:
20057 return NULL;
20058 }
20059
20060
20061 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
20062 PyObject *obj;
20063 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20064 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
20065 Py_INCREF(obj);
20066 return Py_BuildValue((char *)"");
20067 }
20068 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20069 PyObject *resultobj;
20070 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20071 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
20072 wxPrintData *arg3 = (wxPrintData *) NULL ;
20073 wxPyPrintPreview *result;
20074 PyObject * obj0 = 0 ;
20075 PyObject * obj1 = 0 ;
20076 PyObject * obj2 = 0 ;
20077 char *kwnames[] = {
20078 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
20079 };
20080
20081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PyPrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
20082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20083 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20084 if (obj2) {
20085 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20086 }
20087 {
20088 PyThreadState* __tstate = wxPyBeginAllowThreads();
20089 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
20090
20091 wxPyEndAllowThreads(__tstate);
20092 if (PyErr_Occurred()) SWIG_fail;
20093 }
20094 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPrintPreview, 1);
20095 return resultobj;
20096 fail:
20097 return NULL;
20098 }
20099
20100
20101 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20102 PyObject *resultobj;
20103 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20104 PyObject *arg2 = (PyObject *) 0 ;
20105 PyObject *arg3 = (PyObject *) 0 ;
20106 PyObject * obj0 = 0 ;
20107 PyObject * obj1 = 0 ;
20108 PyObject * obj2 = 0 ;
20109 char *kwnames[] = {
20110 (char *) "self",(char *) "self",(char *) "_class", NULL
20111 };
20112
20113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20115 arg2 = obj1;
20116 arg3 = obj2;
20117 {
20118 PyThreadState* __tstate = wxPyBeginAllowThreads();
20119 (arg1)->_setCallbackInfo(arg2,arg3);
20120
20121 wxPyEndAllowThreads(__tstate);
20122 if (PyErr_Occurred()) SWIG_fail;
20123 }
20124 Py_INCREF(Py_None); resultobj = Py_None;
20125 return resultobj;
20126 fail:
20127 return NULL;
20128 }
20129
20130
20131 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20132 PyObject *resultobj;
20133 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20134 int arg2 ;
20135 bool result;
20136 PyObject * obj0 = 0 ;
20137 char *kwnames[] = {
20138 (char *) "self",(char *) "pageNum", NULL
20139 };
20140
20141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
20142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20143 {
20144 PyThreadState* __tstate = wxPyBeginAllowThreads();
20145 result = (bool)(arg1)->base_SetCurrentPage(arg2);
20146
20147 wxPyEndAllowThreads(__tstate);
20148 if (PyErr_Occurred()) SWIG_fail;
20149 }
20150 resultobj = PyInt_FromLong((long)result);
20151 return resultobj;
20152 fail:
20153 return NULL;
20154 }
20155
20156
20157 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20158 PyObject *resultobj;
20159 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20160 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20161 wxDC *arg3 = 0 ;
20162 bool result;
20163 PyObject * obj0 = 0 ;
20164 PyObject * obj1 = 0 ;
20165 PyObject * obj2 = 0 ;
20166 char *kwnames[] = {
20167 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20168 };
20169
20170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20172 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20173 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20174 if (arg3 == NULL) {
20175 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20176 }
20177 {
20178 PyThreadState* __tstate = wxPyBeginAllowThreads();
20179 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
20180
20181 wxPyEndAllowThreads(__tstate);
20182 if (PyErr_Occurred()) SWIG_fail;
20183 }
20184 resultobj = PyInt_FromLong((long)result);
20185 return resultobj;
20186 fail:
20187 return NULL;
20188 }
20189
20190
20191 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20192 PyObject *resultobj;
20193 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20194 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20195 wxDC *arg3 = 0 ;
20196 bool result;
20197 PyObject * obj0 = 0 ;
20198 PyObject * obj1 = 0 ;
20199 PyObject * obj2 = 0 ;
20200 char *kwnames[] = {
20201 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20202 };
20203
20204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20206 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20207 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20208 if (arg3 == NULL) {
20209 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20210 }
20211 {
20212 PyThreadState* __tstate = wxPyBeginAllowThreads();
20213 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
20214
20215 wxPyEndAllowThreads(__tstate);
20216 if (PyErr_Occurred()) SWIG_fail;
20217 }
20218 resultobj = PyInt_FromLong((long)result);
20219 return resultobj;
20220 fail:
20221 return NULL;
20222 }
20223
20224
20225 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20226 PyObject *resultobj;
20227 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20228 int arg2 ;
20229 bool result;
20230 PyObject * obj0 = 0 ;
20231 char *kwnames[] = {
20232 (char *) "self",(char *) "pageNum", NULL
20233 };
20234
20235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_RenderPage",kwnames,&obj0,&arg2)) goto fail;
20236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20237 {
20238 PyThreadState* __tstate = wxPyBeginAllowThreads();
20239 result = (bool)(arg1)->base_RenderPage(arg2);
20240
20241 wxPyEndAllowThreads(__tstate);
20242 if (PyErr_Occurred()) SWIG_fail;
20243 }
20244 resultobj = PyInt_FromLong((long)result);
20245 return resultobj;
20246 fail:
20247 return NULL;
20248 }
20249
20250
20251 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20252 PyObject *resultobj;
20253 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20254 int arg2 ;
20255 PyObject * obj0 = 0 ;
20256 char *kwnames[] = {
20257 (char *) "self",(char *) "percent", NULL
20258 };
20259
20260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetZoom",kwnames,&obj0,&arg2)) goto fail;
20261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20262 {
20263 PyThreadState* __tstate = wxPyBeginAllowThreads();
20264 (arg1)->base_SetZoom(arg2);
20265
20266 wxPyEndAllowThreads(__tstate);
20267 if (PyErr_Occurred()) SWIG_fail;
20268 }
20269 Py_INCREF(Py_None); resultobj = Py_None;
20270 return resultobj;
20271 fail:
20272 return NULL;
20273 }
20274
20275
20276 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
20277 PyObject *resultobj;
20278 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20279 bool arg2 ;
20280 bool result;
20281 PyObject * obj0 = 0 ;
20282 PyObject * obj1 = 0 ;
20283 char *kwnames[] = {
20284 (char *) "self",(char *) "interactive", NULL
20285 };
20286
20287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
20288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20289 arg2 = PyInt_AsLong(obj1) ? true : false;
20290 if (PyErr_Occurred()) SWIG_fail;
20291 {
20292 PyThreadState* __tstate = wxPyBeginAllowThreads();
20293 result = (bool)(arg1)->base_Print(arg2);
20294
20295 wxPyEndAllowThreads(__tstate);
20296 if (PyErr_Occurred()) SWIG_fail;
20297 }
20298 resultobj = PyInt_FromLong((long)result);
20299 return resultobj;
20300 fail:
20301 return NULL;
20302 }
20303
20304
20305 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
20306 PyObject *resultobj;
20307 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20308 PyObject * obj0 = 0 ;
20309 char *kwnames[] = {
20310 (char *) "self", NULL
20311 };
20312
20313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
20314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20315 {
20316 PyThreadState* __tstate = wxPyBeginAllowThreads();
20317 (arg1)->base_DetermineScaling();
20318
20319 wxPyEndAllowThreads(__tstate);
20320 if (PyErr_Occurred()) SWIG_fail;
20321 }
20322 Py_INCREF(Py_None); resultobj = Py_None;
20323 return resultobj;
20324 fail:
20325 return NULL;
20326 }
20327
20328
20329 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
20330 PyObject *obj;
20331 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20332 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
20333 Py_INCREF(obj);
20334 return Py_BuildValue((char *)"");
20335 }
20336 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
20337 PyObject *resultobj;
20338 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20339 wxFrame *arg2 = (wxFrame *) 0 ;
20340 wxString *arg3 = 0 ;
20341 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20342 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20343 wxSize const &arg5_defvalue = wxDefaultSize ;
20344 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20345 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20346 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20347 wxString *arg7 = (wxString *) &arg7_defvalue ;
20348 wxPyPreviewFrame *result;
20349 bool temp3 = False ;
20350 wxPoint temp4 ;
20351 wxSize temp5 ;
20352 bool temp7 = False ;
20353 PyObject * obj0 = 0 ;
20354 PyObject * obj1 = 0 ;
20355 PyObject * obj2 = 0 ;
20356 PyObject * obj3 = 0 ;
20357 PyObject * obj4 = 0 ;
20358 PyObject * obj6 = 0 ;
20359 char *kwnames[] = {
20360 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20361 };
20362
20363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20365 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20366 {
20367 arg3 = wxString_in_helper(obj2);
20368 if (arg3 == NULL) SWIG_fail;
20369 temp3 = True;
20370 }
20371 if (obj3) {
20372 {
20373 arg4 = &temp4;
20374 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20375 }
20376 }
20377 if (obj4) {
20378 {
20379 arg5 = &temp5;
20380 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20381 }
20382 }
20383 if (obj6) {
20384 {
20385 arg7 = wxString_in_helper(obj6);
20386 if (arg7 == NULL) SWIG_fail;
20387 temp7 = True;
20388 }
20389 }
20390 {
20391 PyThreadState* __tstate = wxPyBeginAllowThreads();
20392 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20393
20394 wxPyEndAllowThreads(__tstate);
20395 if (PyErr_Occurred()) SWIG_fail;
20396 }
20397 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewFrame, 1);
20398 {
20399 if (temp3)
20400 delete arg3;
20401 }
20402 {
20403 if (temp7)
20404 delete arg7;
20405 }
20406 return resultobj;
20407 fail:
20408 {
20409 if (temp3)
20410 delete arg3;
20411 }
20412 {
20413 if (temp7)
20414 delete arg7;
20415 }
20416 return NULL;
20417 }
20418
20419
20420 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20421 PyObject *resultobj;
20422 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20423 PyObject *arg2 = (PyObject *) 0 ;
20424 PyObject *arg3 = (PyObject *) 0 ;
20425 PyObject * obj0 = 0 ;
20426 PyObject * obj1 = 0 ;
20427 PyObject * obj2 = 0 ;
20428 char *kwnames[] = {
20429 (char *) "self",(char *) "self",(char *) "_class", NULL
20430 };
20431
20432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20434 arg2 = obj1;
20435 arg3 = obj2;
20436 {
20437 PyThreadState* __tstate = wxPyBeginAllowThreads();
20438 (arg1)->_setCallbackInfo(arg2,arg3);
20439
20440 wxPyEndAllowThreads(__tstate);
20441 if (PyErr_Occurred()) SWIG_fail;
20442 }
20443 Py_INCREF(Py_None); resultobj = Py_None;
20444 return resultobj;
20445 fail:
20446 return NULL;
20447 }
20448
20449
20450 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20451 PyObject *resultobj;
20452 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20453 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20454 PyObject * obj0 = 0 ;
20455 PyObject * obj1 = 0 ;
20456 char *kwnames[] = {
20457 (char *) "self",(char *) "canvas", NULL
20458 };
20459
20460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
20461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20462 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20463 {
20464 PyThreadState* __tstate = wxPyBeginAllowThreads();
20465 (arg1)->SetPreviewCanvas(arg2);
20466
20467 wxPyEndAllowThreads(__tstate);
20468 if (PyErr_Occurred()) SWIG_fail;
20469 }
20470 Py_INCREF(Py_None); resultobj = Py_None;
20471 return resultobj;
20472 fail:
20473 return NULL;
20474 }
20475
20476
20477 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20478 PyObject *resultobj;
20479 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20480 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
20481 PyObject * obj0 = 0 ;
20482 PyObject * obj1 = 0 ;
20483 char *kwnames[] = {
20484 (char *) "self",(char *) "bar", NULL
20485 };
20486
20487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
20488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20489 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20490 {
20491 PyThreadState* __tstate = wxPyBeginAllowThreads();
20492 (arg1)->SetControlBar(arg2);
20493
20494 wxPyEndAllowThreads(__tstate);
20495 if (PyErr_Occurred()) SWIG_fail;
20496 }
20497 Py_INCREF(Py_None); resultobj = Py_None;
20498 return resultobj;
20499 fail:
20500 return NULL;
20501 }
20502
20503
20504 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
20505 PyObject *resultobj;
20506 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20507 PyObject * obj0 = 0 ;
20508 char *kwnames[] = {
20509 (char *) "self", NULL
20510 };
20511
20512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
20513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20514 {
20515 PyThreadState* __tstate = wxPyBeginAllowThreads();
20516 (arg1)->base_Initialize();
20517
20518 wxPyEndAllowThreads(__tstate);
20519 if (PyErr_Occurred()) SWIG_fail;
20520 }
20521 Py_INCREF(Py_None); resultobj = Py_None;
20522 return resultobj;
20523 fail:
20524 return NULL;
20525 }
20526
20527
20528 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20529 PyObject *resultobj;
20530 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20531 PyObject * obj0 = 0 ;
20532 char *kwnames[] = {
20533 (char *) "self", NULL
20534 };
20535
20536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
20537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20538 {
20539 PyThreadState* __tstate = wxPyBeginAllowThreads();
20540 (arg1)->base_CreateCanvas();
20541
20542 wxPyEndAllowThreads(__tstate);
20543 if (PyErr_Occurred()) SWIG_fail;
20544 }
20545 Py_INCREF(Py_None); resultobj = Py_None;
20546 return resultobj;
20547 fail:
20548 return NULL;
20549 }
20550
20551
20552 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20553 PyObject *resultobj;
20554 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20555 PyObject * obj0 = 0 ;
20556 char *kwnames[] = {
20557 (char *) "self", NULL
20558 };
20559
20560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
20561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20562 {
20563 PyThreadState* __tstate = wxPyBeginAllowThreads();
20564 (arg1)->base_CreateControlBar();
20565
20566 wxPyEndAllowThreads(__tstate);
20567 if (PyErr_Occurred()) SWIG_fail;
20568 }
20569 Py_INCREF(Py_None); resultobj = Py_None;
20570 return resultobj;
20571 fail:
20572 return NULL;
20573 }
20574
20575
20576 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
20577 PyObject *obj;
20578 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20579 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
20580 Py_INCREF(obj);
20581 return Py_BuildValue((char *)"");
20582 }
20583 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20584 PyObject *resultobj;
20585 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20586 long arg2 ;
20587 wxWindow *arg3 = (wxWindow *) 0 ;
20588 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20589 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20590 wxSize const &arg5_defvalue = wxDefaultSize ;
20591 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20592 long arg6 = (long) 0 ;
20593 wxString const &arg7_defvalue = wxPyPanelNameStr ;
20594 wxString *arg7 = (wxString *) &arg7_defvalue ;
20595 wxPyPreviewControlBar *result;
20596 wxPoint temp4 ;
20597 wxSize temp5 ;
20598 bool temp7 = False ;
20599 PyObject * obj0 = 0 ;
20600 PyObject * obj2 = 0 ;
20601 PyObject * obj3 = 0 ;
20602 PyObject * obj4 = 0 ;
20603 PyObject * obj6 = 0 ;
20604 char *kwnames[] = {
20605 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20606 };
20607
20608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PyPreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20610 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20611 if (obj3) {
20612 {
20613 arg4 = &temp4;
20614 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20615 }
20616 }
20617 if (obj4) {
20618 {
20619 arg5 = &temp5;
20620 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20621 }
20622 }
20623 if (obj6) {
20624 {
20625 arg7 = wxString_in_helper(obj6);
20626 if (arg7 == NULL) SWIG_fail;
20627 temp7 = True;
20628 }
20629 }
20630 {
20631 PyThreadState* __tstate = wxPyBeginAllowThreads();
20632 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20633
20634 wxPyEndAllowThreads(__tstate);
20635 if (PyErr_Occurred()) SWIG_fail;
20636 }
20637 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewControlBar, 1);
20638 {
20639 if (temp7)
20640 delete arg7;
20641 }
20642 return resultobj;
20643 fail:
20644 {
20645 if (temp7)
20646 delete arg7;
20647 }
20648 return NULL;
20649 }
20650
20651
20652 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20653 PyObject *resultobj;
20654 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20655 PyObject *arg2 = (PyObject *) 0 ;
20656 PyObject *arg3 = (PyObject *) 0 ;
20657 PyObject * obj0 = 0 ;
20658 PyObject * obj1 = 0 ;
20659 PyObject * obj2 = 0 ;
20660 char *kwnames[] = {
20661 (char *) "self",(char *) "self",(char *) "_class", NULL
20662 };
20663
20664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20666 arg2 = obj1;
20667 arg3 = obj2;
20668 {
20669 PyThreadState* __tstate = wxPyBeginAllowThreads();
20670 (arg1)->_setCallbackInfo(arg2,arg3);
20671
20672 wxPyEndAllowThreads(__tstate);
20673 if (PyErr_Occurred()) SWIG_fail;
20674 }
20675 Py_INCREF(Py_None); resultobj = Py_None;
20676 return resultobj;
20677 fail:
20678 return NULL;
20679 }
20680
20681
20682 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20683 PyObject *resultobj;
20684 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20685 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
20686 PyObject * obj0 = 0 ;
20687 PyObject * obj1 = 0 ;
20688 char *kwnames[] = {
20689 (char *) "self",(char *) "preview", NULL
20690 };
20691
20692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
20693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20694 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20695 {
20696 PyThreadState* __tstate = wxPyBeginAllowThreads();
20697 (arg1)->SetPrintPreview(arg2);
20698
20699 wxPyEndAllowThreads(__tstate);
20700 if (PyErr_Occurred()) SWIG_fail;
20701 }
20702 Py_INCREF(Py_None); resultobj = Py_None;
20703 return resultobj;
20704 fail:
20705 return NULL;
20706 }
20707
20708
20709 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
20710 PyObject *resultobj;
20711 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20712 PyObject * obj0 = 0 ;
20713 char *kwnames[] = {
20714 (char *) "self", NULL
20715 };
20716
20717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
20718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20719 {
20720 PyThreadState* __tstate = wxPyBeginAllowThreads();
20721 (arg1)->base_CreateButtons();
20722
20723 wxPyEndAllowThreads(__tstate);
20724 if (PyErr_Occurred()) SWIG_fail;
20725 }
20726 Py_INCREF(Py_None); resultobj = Py_None;
20727 return resultobj;
20728 fail:
20729 return NULL;
20730 }
20731
20732
20733 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
20734 PyObject *resultobj;
20735 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20736 int arg2 ;
20737 PyObject * obj0 = 0 ;
20738 char *kwnames[] = {
20739 (char *) "self",(char *) "zoom", NULL
20740 };
20741
20742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
20743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20744 {
20745 PyThreadState* __tstate = wxPyBeginAllowThreads();
20746 (arg1)->base_SetZoomControl(arg2);
20747
20748 wxPyEndAllowThreads(__tstate);
20749 if (PyErr_Occurred()) SWIG_fail;
20750 }
20751 Py_INCREF(Py_None); resultobj = Py_None;
20752 return resultobj;
20753 fail:
20754 return NULL;
20755 }
20756
20757
20758 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
20759 PyObject *obj;
20760 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20761 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
20762 Py_INCREF(obj);
20763 return Py_BuildValue((char *)"");
20764 }
20765 static PyMethodDef SwigMethods[] = {
20766 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
20767 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
20768 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
20769 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
20770 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
20771 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20772 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20773 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
20774 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
20775 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
20776 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
20777 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
20778 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
20779 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
20780 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
20781 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
20782 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
20783 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
20784 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
20785 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
20786 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
20787 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
20788 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
20789 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
20790 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
20791 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS },
20792 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS },
20793 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
20794 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
20795 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
20796 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
20797 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
20798 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
20799 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
20800 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
20801 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
20802 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
20803 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
20804 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
20805 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
20806 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
20807 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
20808 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
20809 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
20810 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
20811 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
20812 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
20813 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
20814 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
20815 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
20816 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
20817 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
20818 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
20819 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
20820 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
20821 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
20822 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
20823 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
20824 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
20825 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
20826 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
20827 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
20828 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
20829 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
20830 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
20831 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
20832 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
20833 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
20834 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
20835 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
20836 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
20837 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
20838 { (char *)"Dialog_SetModal", (PyCFunction) _wrap_Dialog_SetModal, METH_VARARGS | METH_KEYWORDS },
20839 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
20840 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20841 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
20842 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS },
20843 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
20844 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
20845 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
20846 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
20847 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
20848 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
20849 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
20850 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
20851 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
20852 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
20853 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
20854 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
20855 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
20856 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
20857 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
20858 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
20859 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
20860 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
20861 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
20862 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
20863 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
20864 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
20865 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
20866 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
20867 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
20868 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
20869 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
20870 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
20871 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
20872 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
20873 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
20874 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
20875 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
20876 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
20877 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
20878 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
20879 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
20880 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
20881 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
20882 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
20883 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
20884 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
20885 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
20886 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
20887 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
20888 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
20889 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
20890 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
20891 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
20892 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
20893 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
20894 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
20895 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
20896 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
20897 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
20898 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
20899 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
20900 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
20901 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
20902 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
20903 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
20904 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
20905 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
20906 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
20907 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
20908 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
20909 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
20910 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
20911 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
20912 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
20913 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
20914 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
20915 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
20916 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
20917 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
20918 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
20919 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
20920 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
20921 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
20922 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
20923 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
20924 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
20925 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
20926 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
20927 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
20928 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
20929 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
20930 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
20931 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
20932 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
20933 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
20934 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
20935 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
20936 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
20937 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
20938 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
20939 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
20940 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
20941 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
20942 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
20943 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
20944 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
20945 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
20946 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
20947 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
20948 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
20949 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
20950 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
20951 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
20952 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
20953 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
20954 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
20955 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
20956 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
20957 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
20958 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
20959 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
20960 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
20961 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
20962 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
20963 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
20964 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
20965 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
20966 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
20967 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
20968 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
20969 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
20970 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
20971 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
20972 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
20973 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
20974 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
20975 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
20976 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
20977 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
20978 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
20979 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
20980 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
20981 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
20982 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
20983 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
20984 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20985 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20986 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
20987 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
20988 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
20989 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
20990 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
20991 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
20992 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
20993 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
20994 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
20995 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
20996 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
20997 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
20998 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
20999 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
21000 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
21001 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
21002 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
21003 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
21004 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21005 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
21006 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
21007 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
21008 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
21009 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
21010 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
21011 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
21012 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
21013 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
21014 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
21015 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
21016 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
21017 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
21018 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
21019 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
21020 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
21021 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
21022 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
21023 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
21024 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
21025 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
21026 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
21027 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
21028 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
21029 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
21030 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21031 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
21032 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
21033 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
21034 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
21035 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
21036 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
21037 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS },
21038 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
21039 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
21040 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
21041 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
21042 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
21043 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
21044 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
21045 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
21046 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
21047 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
21048 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
21049 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
21050 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
21051 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
21052 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
21053 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
21054 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
21055 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
21056 { (char *)"ColourDialog_ShowModal", (PyCFunction) _wrap_ColourDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21057 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
21058 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
21059 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
21060 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
21061 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
21062 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
21063 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
21064 { (char *)"DirDialog_ShowModal", (PyCFunction) _wrap_DirDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21065 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
21066 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
21067 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
21068 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
21069 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
21070 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
21071 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
21072 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
21073 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
21074 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
21075 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
21076 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
21077 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
21078 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
21079 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
21080 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
21081 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
21082 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
21083 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
21084 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
21085 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
21086 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
21087 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
21088 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
21089 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
21090 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
21091 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
21092 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction) _wrap_SingleChoiceDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21093 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
21094 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
21095 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
21096 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
21097 { (char *)"TextEntryDialog_ShowModal", (PyCFunction) _wrap_TextEntryDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21098 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
21099 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
21100 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
21101 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
21102 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
21103 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
21104 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
21105 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
21106 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
21107 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
21108 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
21109 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
21110 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
21111 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
21112 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
21113 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
21114 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
21115 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
21116 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
21117 { (char *)"FontDialog_ShowModal", (PyCFunction) _wrap_FontDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21118 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
21119 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
21120 { (char *)"MessageDialog_ShowModal", (PyCFunction) _wrap_MessageDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21121 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
21122 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
21123 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
21124 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
21125 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
21126 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
21127 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21128 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
21129 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
21130 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
21131 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21132 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
21133 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
21134 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
21135 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
21136 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
21137 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
21138 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
21139 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
21140 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
21141 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
21142 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
21143 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
21144 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21145 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21146 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
21147 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
21148 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
21149 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
21150 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21151 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21152 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
21153 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
21154 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
21155 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
21156 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
21157 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
21158 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
21159 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
21160 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_GetWindowMenu, METH_VARARGS | METH_KEYWORDS },
21161 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS },
21162 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction) _wrap_MDIParentFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
21163 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
21164 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
21165 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21166 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21167 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
21168 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
21169 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
21170 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
21171 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
21172 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21173 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21174 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
21175 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
21176 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
21177 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21178 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21179 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21180 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21181 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21182 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21183 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21184 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21185 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21186 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21187 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21188 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21189 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21190 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
21191 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21192 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21193 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21194 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21195 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21196 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
21197 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
21198 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21199 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21200 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21201 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21202 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21203 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21204 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21205 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21206 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21207 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21208 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21209 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21210 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21211 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
21212 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21213 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21214 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21215 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21216 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21217 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
21218 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
21219 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
21220 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21221 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21222 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21223 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
21224 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
21225 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
21226 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
21227 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21228 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21229 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
21230 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21231 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21232 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21233 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
21234 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
21235 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
21236 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21237 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21238 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
21239 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21240 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21241 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21242 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
21243 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21244 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21245 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21246 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21247 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21248 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
21249 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21250 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21251 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21252 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
21253 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21254 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21255 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21256 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
21257 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21258 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21259 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
21260 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
21261 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
21262 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21263 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21264 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21265 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
21266 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
21267 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
21268 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
21269 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21270 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
21271 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
21272 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
21273 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
21274 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21275 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21276 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21277 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21278 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21279 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21280 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21281 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21282 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21283 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21284 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21285 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21286 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21287 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21288 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21289 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21290 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21291 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21292 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21293 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
21294 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
21295 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
21296 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21297 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
21298 { (char *)"new_PrintDialogData", (PyCFunction) _wrap_new_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21299 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21300 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
21301 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
21302 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21303 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21304 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21305 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
21306 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
21307 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21308 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21309 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21310 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
21311 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
21312 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
21313 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
21314 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21315 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
21316 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
21317 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21318 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21319 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21320 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21321 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
21322 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21323 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21324 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21325 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
21326 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21327 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21328 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21329 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21330 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21331 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
21332 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21333 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21334 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
21335 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21336 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
21337 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
21338 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
21339 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
21340 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21341 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
21342 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21343 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
21344 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
21345 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
21346 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
21347 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
21348 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
21349 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21350 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
21351 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
21352 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
21353 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
21354 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
21355 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21356 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21357 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21358 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21359 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21360 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21361 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
21362 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
21363 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
21364 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
21365 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
21366 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
21367 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
21368 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
21369 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
21370 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
21371 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21372 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
21373 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
21374 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
21375 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21376 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21377 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
21378 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
21379 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21380 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
21381 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21382 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21383 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
21384 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
21385 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
21386 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
21387 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
21388 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
21389 { (char *)"new_PrintPreview", (PyCFunction) _wrap_new_PrintPreview, METH_VARARGS | METH_KEYWORDS },
21390 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21391 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21392 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
21393 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
21394 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
21395 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
21396 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
21397 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
21398 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
21399 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
21400 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21401 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
21402 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
21403 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21404 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
21405 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
21406 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21407 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21408 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
21409 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
21410 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
21411 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21412 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
21413 { (char *)"new_PyPrintPreview", (PyCFunction) _wrap_new_PyPrintPreview, METH_VARARGS | METH_KEYWORDS },
21414 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21415 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21416 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
21417 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21418 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
21419 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
21420 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
21421 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21422 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
21423 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
21424 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21425 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21426 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
21427 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
21428 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21429 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21430 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
21431 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21432 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21433 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21434 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
21435 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21436 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
21437 { NULL, NULL }
21438 };
21439
21440
21441 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21442
21443 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
21444 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21445 }
21446 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
21447 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
21448 }
21449 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
21450 return (void *)((wxEvent *) ((wxMenuEvent *) x));
21451 }
21452 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
21453 return (void *)((wxEvent *) ((wxCloseEvent *) x));
21454 }
21455 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
21456 return (void *)((wxEvent *) ((wxMouseEvent *) x));
21457 }
21458 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
21459 return (void *)((wxEvent *) ((wxEraseEvent *) x));
21460 }
21461 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
21462 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
21463 }
21464 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
21465 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
21466 }
21467 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
21468 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
21469 }
21470 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
21471 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
21472 }
21473 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
21474 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
21475 }
21476 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
21477 return (void *)((wxEvent *) ((wxPyEvent *) x));
21478 }
21479 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
21480 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
21481 }
21482 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
21483 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
21484 }
21485 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
21486 return (void *)((wxEvent *) ((wxIdleEvent *) x));
21487 }
21488 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
21489 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
21490 }
21491 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
21492 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
21493 }
21494 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
21495 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
21496 }
21497 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
21498 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
21499 }
21500 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
21501 return (void *)((wxEvent *) ((wxActivateEvent *) x));
21502 }
21503 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
21504 return (void *)((wxEvent *) ((wxSizeEvent *) x));
21505 }
21506 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
21507 return (void *)((wxEvent *) ((wxMoveEvent *) x));
21508 }
21509 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
21510 return (void *)((wxEvent *) ((wxPaintEvent *) x));
21511 }
21512 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
21513 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
21514 }
21515 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
21516 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
21517 }
21518 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
21519 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
21520 }
21521 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
21522 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
21523 }
21524 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
21525 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21526 }
21527 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
21528 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
21529 }
21530 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
21531 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
21532 }
21533 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
21534 return (void *)((wxEvent *) ((wxFocusEvent *) x));
21535 }
21536 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
21537 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
21538 }
21539 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
21540 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
21541 }
21542 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
21543 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
21544 }
21545 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
21546 return (void *)((wxEvent *) ((wxShowEvent *) x));
21547 }
21548 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
21549 return (void *)((wxEvent *) ((wxCommandEvent *) x));
21550 }
21551 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
21552 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
21553 }
21554 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
21555 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21556 }
21557 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
21558 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
21559 }
21560 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
21561 return (void *)((wxEvent *) ((wxKeyEvent *) x));
21562 }
21563 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
21564 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
21565 }
21566 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
21567 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
21568 }
21569 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
21570 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
21571 }
21572 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
21573 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
21574 }
21575 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
21576 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
21577 }
21578 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
21579 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
21580 }
21581 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
21582 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
21583 }
21584 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
21585 return (void *)((wxEvtHandler *) ((wxValidator *) x));
21586 }
21587 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
21588 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
21589 }
21590 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
21591 return (void *)((wxEvtHandler *) ((wxMenu *) x));
21592 }
21593 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
21594 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
21595 }
21596 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
21597 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
21598 }
21599 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
21600 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
21601 }
21602 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
21603 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
21604 }
21605 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
21606 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
21607 }
21608 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
21609 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
21610 }
21611 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
21612 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
21613 }
21614 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
21615 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
21616 }
21617 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
21618 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
21619 }
21620 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
21621 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
21622 }
21623 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
21624 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
21625 }
21626 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
21627 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
21628 }
21629 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
21630 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
21631 }
21632 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
21633 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
21634 }
21635 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
21636 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
21637 }
21638 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
21639 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
21640 }
21641 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
21642 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
21643 }
21644 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
21645 return (void *)((wxEvtHandler *) ((wxWindow *) x));
21646 }
21647 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
21648 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
21649 }
21650 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
21651 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
21652 }
21653 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
21654 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
21655 }
21656 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
21657 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
21658 }
21659 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
21660 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
21661 }
21662 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
21663 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21664 }
21665 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
21666 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
21667 }
21668 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
21669 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
21670 }
21671 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
21672 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
21673 }
21674 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
21675 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
21676 }
21677 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
21678 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
21679 }
21680 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
21681 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
21682 }
21683 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
21684 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
21685 }
21686 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
21687 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
21688 }
21689 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
21690 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
21691 }
21692 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
21693 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
21694 }
21695 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
21696 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
21697 }
21698 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
21699 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
21700 }
21701 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
21702 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
21703 }
21704 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
21705 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
21706 }
21707 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
21708 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
21709 }
21710 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
21711 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
21712 }
21713 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
21714 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
21715 }
21716 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
21717 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
21718 }
21719 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
21720 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
21721 }
21722 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
21723 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
21724 }
21725 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
21726 return (void *)((wxFrame *) ((wxProgressDialog *) x));
21727 }
21728 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
21729 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
21730 }
21731 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
21732 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21733 }
21734 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
21735 return (void *)((wxFrame *) ((wxMiniFrame *) x));
21736 }
21737 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
21738 return (void *)((wxFrame *) ((wxSplashScreen *) x));
21739 }
21740 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
21741 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
21742 }
21743 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
21744 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
21745 }
21746 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
21747 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
21748 }
21749 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
21750 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
21751 }
21752 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
21753 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21754 }
21755 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
21756 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
21757 }
21758 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
21759 return (void *)((wxObject *) ((wxSizerItem *) x));
21760 }
21761 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
21762 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
21763 }
21764 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
21765 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
21766 }
21767 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
21768 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
21769 }
21770 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
21771 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
21772 }
21773 static void *_p_wxSizerTo_p_wxObject(void *x) {
21774 return (void *)((wxObject *) ((wxSizer *) x));
21775 }
21776 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
21777 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
21778 }
21779 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
21780 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
21781 }
21782 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
21783 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
21784 }
21785 static void *_p_wxEventTo_p_wxObject(void *x) {
21786 return (void *)((wxObject *) ((wxEvent *) x));
21787 }
21788 static void *_p_wxFontDataTo_p_wxObject(void *x) {
21789 return (void *)((wxObject *) ((wxFontData *) x));
21790 }
21791 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
21792 return (void *)((wxObject *) ((wxPrintData *) x));
21793 }
21794 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
21795 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
21796 }
21797 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
21798 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
21799 }
21800 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
21801 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
21802 }
21803 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
21804 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
21805 }
21806 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
21807 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
21808 }
21809 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
21810 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
21811 }
21812 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
21813 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
21814 }
21815 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
21816 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
21817 }
21818 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
21819 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
21820 }
21821 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
21822 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
21823 }
21824 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
21825 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21826 }
21827 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
21828 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
21829 }
21830 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
21831 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
21832 }
21833 static void *_p_wxControlTo_p_wxObject(void *x) {
21834 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
21835 }
21836 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
21837 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
21838 }
21839 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
21840 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
21841 }
21842 static void *_p_wxFSFileTo_p_wxObject(void *x) {
21843 return (void *)((wxObject *) ((wxFSFile *) x));
21844 }
21845 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
21846 return (void *)((wxObject *) ((wxFindReplaceData *) x));
21847 }
21848 static void *_p_wxPySizerTo_p_wxObject(void *x) {
21849 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
21850 }
21851 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
21852 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
21853 }
21854 static void *_p_wxColourDataTo_p_wxObject(void *x) {
21855 return (void *)((wxObject *) ((wxColourData *) x));
21856 }
21857 static void *_p_wxPyEventTo_p_wxObject(void *x) {
21858 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
21859 }
21860 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
21861 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
21862 }
21863 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
21864 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
21865 }
21866 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
21867 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
21868 }
21869 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
21870 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
21871 }
21872 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
21873 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
21874 }
21875 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
21876 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
21877 }
21878 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
21879 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
21880 }
21881 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
21882 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
21883 }
21884 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
21885 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
21886 }
21887 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
21888 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
21889 }
21890 static void *_p_wxShowEventTo_p_wxObject(void *x) {
21891 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
21892 }
21893 static void *_p_wxPrinterTo_p_wxObject(void *x) {
21894 return (void *)((wxObject *) ((wxPrinter *) x));
21895 }
21896 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
21897 return (void *)((wxObject *) ((wxMenuItem *) x));
21898 }
21899 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
21900 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
21901 }
21902 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
21903 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
21904 }
21905 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
21906 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
21907 }
21908 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
21909 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
21910 }
21911 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
21912 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
21913 }
21914 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
21915 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
21916 }
21917 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
21918 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
21919 }
21920 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
21921 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
21922 }
21923 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
21924 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
21925 }
21926 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
21927 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
21928 }
21929 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
21930 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
21931 }
21932 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
21933 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
21934 }
21935 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
21936 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
21937 }
21938 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
21939 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
21940 }
21941 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
21942 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
21943 }
21944 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
21945 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
21946 }
21947 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
21948 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
21949 }
21950 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
21951 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
21952 }
21953 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
21954 return (void *)((wxObject *) ((wxImageHandler *) x));
21955 }
21956 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
21957 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
21958 }
21959 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
21960 return (void *)((wxObject *) ((wxEvtHandler *) x));
21961 }
21962 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
21963 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
21964 }
21965 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
21966 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
21967 }
21968 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
21969 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
21970 }
21971 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
21972 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
21973 }
21974 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
21975 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
21976 }
21977 static void *_p_wxImageTo_p_wxObject(void *x) {
21978 return (void *)((wxObject *) ((wxImage *) x));
21979 }
21980 static void *_p_wxFrameTo_p_wxObject(void *x) {
21981 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
21982 }
21983 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
21984 return (void *)((wxObject *) ((wxPyPrintout *) x));
21985 }
21986 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
21987 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
21988 }
21989 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
21990 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
21991 }
21992 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
21993 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
21994 }
21995 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
21996 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
21997 }
21998 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
21999 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22000 }
22001 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
22002 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
22003 }
22004 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
22005 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
22006 }
22007 static void *_p_wxWindowTo_p_wxObject(void *x) {
22008 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
22009 }
22010 static void *_p_wxMenuTo_p_wxObject(void *x) {
22011 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
22012 }
22013 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
22014 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
22015 }
22016 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
22017 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
22018 }
22019 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
22020 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
22021 }
22022 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
22023 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
22024 }
22025 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
22026 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
22027 }
22028 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
22029 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
22030 }
22031 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
22032 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
22033 }
22034 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
22035 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
22036 }
22037 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
22038 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22039 }
22040 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
22041 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22042 }
22043 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
22044 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
22045 }
22046 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
22047 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
22048 }
22049 static void *_p_wxSashEventTo_p_wxObject(void *x) {
22050 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
22051 }
22052 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
22053 return (void *)((wxObject *) ((wxPrintPreview *) x));
22054 }
22055 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
22056 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
22057 }
22058 static void *_p_wxPanelTo_p_wxObject(void *x) {
22059 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
22060 }
22061 static void *_p_wxDialogTo_p_wxObject(void *x) {
22062 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
22063 }
22064 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
22065 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
22066 }
22067 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
22068 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
22069 }
22070 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
22071 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
22072 }
22073 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
22074 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22075 }
22076 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
22077 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22078 }
22079 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
22080 return (void *)((wxObject *) ((wxFileSystem *) x));
22081 }
22082 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
22083 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
22084 }
22085 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
22086 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
22087 }
22088 static void *_p_wxPyAppTo_p_wxObject(void *x) {
22089 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
22090 }
22091 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
22092 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
22093 }
22094 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
22095 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
22096 }
22097 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
22098 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
22099 }
22100 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
22101 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
22102 }
22103 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
22104 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
22105 }
22106 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
22107 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
22108 }
22109 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
22110 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22111 }
22112 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
22113 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
22114 }
22115 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
22116 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
22117 }
22118 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
22119 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
22120 }
22121 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
22122 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
22123 }
22124 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
22125 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
22126 }
22127 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
22128 return (void *)((wxObject *) ((wxPrintDialogData *) x));
22129 }
22130 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
22131 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
22132 }
22133 static void *_p_wxValidatorTo_p_wxObject(void *x) {
22134 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
22135 }
22136 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
22137 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22138 }
22139 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
22140 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
22141 }
22142 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
22143 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22144 }
22145 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
22146 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22147 }
22148 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
22149 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22150 }
22151 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
22152 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
22153 }
22154 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
22155 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
22156 }
22157 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
22158 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
22159 }
22160 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
22161 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
22162 }
22163 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
22164 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
22165 }
22166 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
22167 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
22168 }
22169 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
22170 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
22171 }
22172 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
22173 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
22174 }
22175 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
22176 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
22177 }
22178 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
22179 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
22180 }
22181 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
22182 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
22183 }
22184 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
22185 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
22186 }
22187 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
22188 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
22189 }
22190 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
22191 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
22192 }
22193 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
22194 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
22195 }
22196 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
22197 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
22198 }
22199 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22200 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
22201 }
22202 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22203 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
22204 }
22205 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
22206 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
22207 }
22208 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22209 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
22210 }
22211 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22212 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22213 }
22214 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
22215 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
22216 }
22217 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
22218 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
22219 }
22220 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
22221 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
22222 }
22223 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
22224 return (void *)((wxWindow *) ((wxMenuBar *) x));
22225 }
22226 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
22227 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
22228 }
22229 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
22230 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
22231 }
22232 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
22233 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
22234 }
22235 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
22236 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
22237 }
22238 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
22239 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
22240 }
22241 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
22242 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
22243 }
22244 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
22245 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
22246 }
22247 static void *_p_wxPanelTo_p_wxWindow(void *x) {
22248 return (void *)((wxWindow *) ((wxPanel *) x));
22249 }
22250 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
22251 return (void *)((wxWindow *) ((wxStatusBar *) x));
22252 }
22253 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
22254 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
22255 }
22256 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
22257 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
22258 }
22259 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
22260 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22261 }
22262 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
22263 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22264 }
22265 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
22266 return (void *)((wxWindow *) ((wxPopupWindow *) x));
22267 }
22268 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
22269 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
22270 }
22271 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
22272 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
22273 }
22274 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
22275 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
22276 }
22277 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
22278 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
22279 }
22280 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
22281 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
22282 }
22283 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
22284 return (void *)((wxWindow *) ((wxSashWindow *) x));
22285 }
22286 static void *_p_wxControlTo_p_wxWindow(void *x) {
22287 return (void *)((wxWindow *) ((wxControl *) x));
22288 }
22289 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
22290 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
22291 }
22292 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
22293 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22294 }
22295 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
22296 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
22297 }
22298 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
22299 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
22300 }
22301 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
22302 return (void *)((wxWindow *) ((wxPyWindow *) x));
22303 }
22304 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
22305 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
22306 }
22307 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
22308 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22309 }
22310 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
22311 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22312 }
22313 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
22314 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
22315 }
22316 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
22317 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22318 }
22319 static void *_p_wxFrameTo_p_wxWindow(void *x) {
22320 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
22321 }
22322 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
22323 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
22324 }
22325 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
22326 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
22327 }
22328 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
22329 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
22330 }
22331 static void *_p_wxDialogTo_p_wxWindow(void *x) {
22332 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
22333 }
22334 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
22335 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22336 }
22337 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
22338 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22339 }
22340 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
22341 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
22342 }
22343 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
22344 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
22345 }
22346 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
22347 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
22348 }
22349 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
22350 return (void *)((wxDialog *) ((wxColourDialog *) x));
22351 }
22352 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
22353 return (void *)((wxDialog *) ((wxDirDialog *) x));
22354 }
22355 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
22356 return (void *)((wxDialog *) ((wxFontDialog *) x));
22357 }
22358 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
22359 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
22360 }
22361 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
22362 return (void *)((wxDialog *) ((wxPrintDialog *) x));
22363 }
22364 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
22365 return (void *)((wxDialog *) ((wxFileDialog *) x));
22366 }
22367 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
22368 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
22369 }
22370 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
22371 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
22372 }
22373 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
22374 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
22375 }
22376 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
22377 return (void *)((wxDialog *) ((wxMessageDialog *) x));
22378 }
22379 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
22380 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
22381 }
22382 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
22383 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
22384 }
22385 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
22386 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
22387 }
22388 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
22389 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22390 }
22391 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
22392 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22393 }
22394 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
22395 return (void *)((wxPanel *) ((wxPyPanel *) x));
22396 }
22397 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
22398 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
22399 }
22400 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
22401 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
22402 }
22403 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
22404 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22405 }
22406 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
22407 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
22408 }
22409 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
22410 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
22411 }
22412 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
22413 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
22414 }
22415 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
22416 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
22417 }
22418 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
22419 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
22420 }
22421 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
22422 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22423 }
22424 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
22425 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
22426 }
22427 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
22428 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
22429 }
22430 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
22431 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
22432 }
22433 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
22434 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
22435 }
22436 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
22437 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
22438 }
22439 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
22440 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22441 }
22442 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
22443 static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame},{0}};
22444 static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
22445 static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
22446 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
22447 static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
22448 static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
22449 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}};
22450 static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
22451 static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
22452 static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
22453 static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
22454 static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
22455 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
22456 static swig_type_info _swigt__p_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
22457 static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
22458 static swig_type_info _swigt__p_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
22459 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
22460 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
22461 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
22462 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
22463 static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
22464 static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
22465 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent},{"_p_wxNotifyEvent"},{0}};
22466 static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
22467 static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
22468 static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
22469 static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
22470 static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
22471 static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
22472 static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
22473 static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
22474 static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
22475 static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
22476 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
22477 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}};
22478 static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
22479 static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
22480 static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox},{0}};
22481 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
22482 static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
22483 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}};
22484 static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
22485 static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
22486 static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
22487 static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
22488 static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
22489 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
22490 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}};
22491 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
22492 static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
22493 static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
22494 static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
22495 static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
22496 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}};
22497 static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow},{0}};
22498 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}};
22499 static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow},{0}};
22500 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}};
22501 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}};
22502 static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}};
22503 static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
22504 static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
22505 static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview},{0}};
22506 static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
22507 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
22508 static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
22509 static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
22510 static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
22511 static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
22512 static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
22513 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}};
22514 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}};
22515 static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
22516 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
22517 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}};
22518 static swig_type_info _swigt__p_wxPrintQuality[] = {{"_p_wxPrintQuality", 0, "wxPrintQuality *", 0},{"_p_wxPrintQuality"},{0}};
22519 static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar},{0}};
22520 static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
22521 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
22522 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
22523 static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
22524 static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
22525
22526 static swig_type_info *swig_types_initial[] = {
22527 _swigt__p_wxQueryLayoutInfoEvent,
22528 _swigt__p_wxPreviewFrame,
22529 _swigt__p_wxPyPreviewFrame,
22530 _swigt__p_wxPyPanel,
22531 _swigt__p_wxMenu,
22532 _swigt__p_wxPrintData,
22533 _swigt__p_wxFontData,
22534 _swigt__p_wxEvent,
22535 _swigt__p_wxTaskBarIcon,
22536 _swigt__p_wxIconBundle,
22537 _swigt__p_wxLayoutAlgorithm,
22538 _swigt__p_wxFindDialogEvent,
22539 _swigt__p_wxPreviewCanvas,
22540 _swigt__p_wxFont,
22541 _swigt__p_wxSplitterEvent,
22542 _swigt__p_wxRegion,
22543 _swigt__p_wxFindReplaceData,
22544 _swigt__p_int,
22545 _swigt__p_wxSize,
22546 _swigt__p_wxDC,
22547 _swigt__p_wxIcon,
22548 _swigt__p_wxMDIChildFrame,
22549 _swigt__p_wxColourData,
22550 _swigt__p_wxNotifyEvent,
22551 _swigt__p_wxPyWindow,
22552 _swigt__p_wxSplashScreen,
22553 _swigt__p_wxFindReplaceDialog,
22554 _swigt__p_wxProgressDialog,
22555 _swigt__p_wxMessageDialog,
22556 _swigt__p_wxTextEntryDialog,
22557 _swigt__p_wxSingleChoiceDialog,
22558 _swigt__p_wxMultiChoiceDialog,
22559 _swigt__p_wxFileDialog,
22560 _swigt__p_wxPrinter,
22561 _swigt__p_wxArrayInt,
22562 _swigt__p_wxEvtHandler,
22563 _swigt__p_wxCalculateLayoutEvent,
22564 _swigt__p_wxPyHtmlListBox,
22565 _swigt__p_wxPyVListBox,
22566 _swigt__p_wxRect,
22567 _swigt__p_wxMiniFrame,
22568 _swigt__p_wxFrame,
22569 _swigt__p_wxPyPrintout,
22570 _swigt__p_wxTaskBarIconEvent,
22571 _swigt__p_wxScrollWinEvent,
22572 _swigt__p_wxStatusBar,
22573 _swigt__p_wxMDIParentFrame,
22574 _swigt__p_wxPoint,
22575 _swigt__p_wxObject,
22576 _swigt__p_unsigned_long,
22577 _swigt__p_wxMDIClientWindow,
22578 _swigt__p_wxTipWindow,
22579 _swigt__p_wxSashLayoutWindow,
22580 _swigt__p_wxSplitterWindow,
22581 _swigt__p_wxPyVScrolledWindow,
22582 _swigt__p_wxPyPopupTransientWindow,
22583 _swigt__p_wxPopupWindow,
22584 _swigt__p_wxSashWindow,
22585 _swigt__p_wxTopLevelWindow,
22586 _swigt__p_wxWindow,
22587 _swigt__p_wxScrolledWindow,
22588 _swigt__p_wxSplashScreenWindow,
22589 _swigt__p_wxMenuBar,
22590 _swigt__p_wxPrintPreview,
22591 _swigt__p_wxSashEvent,
22592 _swigt__p_wxString,
22593 _swigt__p_wxPyPrintPreview,
22594 _swigt__p_wxPageSetupDialog,
22595 _swigt__p_wxFontDialog,
22596 _swigt__p_wxDirDialog,
22597 _swigt__p_wxColourDialog,
22598 _swigt__p_wxDialog,
22599 _swigt__p_wxPanel,
22600 _swigt__p_wxPrintDialog,
22601 _swigt__p_wxBitmap,
22602 _swigt__p_wxCommandEvent,
22603 _swigt__p_wxPrintQuality,
22604 _swigt__p_wxPreviewControlBar,
22605 _swigt__p_wxPyPreviewControlBar,
22606 _swigt__p_wxColour,
22607 _swigt__p_wxToolBar,
22608 _swigt__p_wxPageSetupDialogData,
22609 _swigt__p_wxPrintDialogData,
22610 0
22611 };
22612
22613
22614 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22615
22616 static swig_const_info swig_const_table[] = {
22617 { SWIG_PY_INT, (char *)"FULLSCREEN_NOMENUBAR", (long) wxFULLSCREEN_NOMENUBAR, 0, 0, 0},
22618 { SWIG_PY_INT, (char *)"FULLSCREEN_NOTOOLBAR", (long) wxFULLSCREEN_NOTOOLBAR, 0, 0, 0},
22619 { SWIG_PY_INT, (char *)"FULLSCREEN_NOSTATUSBAR", (long) wxFULLSCREEN_NOSTATUSBAR, 0, 0, 0},
22620 { SWIG_PY_INT, (char *)"FULLSCREEN_NOBORDER", (long) wxFULLSCREEN_NOBORDER, 0, 0, 0},
22621 { SWIG_PY_INT, (char *)"FULLSCREEN_NOCAPTION", (long) wxFULLSCREEN_NOCAPTION, 0, 0, 0},
22622 { SWIG_PY_INT, (char *)"FULLSCREEN_ALL", (long) wxFULLSCREEN_ALL, 0, 0, 0},
22623 { SWIG_PY_INT, (char *)"TOPLEVEL_EX_DIALOG", (long) wxTOPLEVEL_EX_DIALOG, 0, 0, 0},
22624 { SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_PARENT", (long) wxSPLASH_CENTRE_ON_PARENT, 0, 0, 0},
22625 { SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_SCREEN", (long) wxSPLASH_CENTRE_ON_SCREEN, 0, 0, 0},
22626 { SWIG_PY_INT, (char *)"SPLASH_NO_CENTRE", (long) wxSPLASH_NO_CENTRE, 0, 0, 0},
22627 { SWIG_PY_INT, (char *)"SPLASH_TIMEOUT", (long) wxSPLASH_TIMEOUT, 0, 0, 0},
22628 { SWIG_PY_INT, (char *)"SPLASH_NO_TIMEOUT", (long) wxSPLASH_NO_TIMEOUT, 0, 0, 0},
22629 { SWIG_PY_INT, (char *)"SP_NOBORDER", (long) wxSP_NOBORDER, 0, 0, 0},
22630 { SWIG_PY_INT, (char *)"SP_NOSASH", (long) wxSP_NOSASH, 0, 0, 0},
22631 { SWIG_PY_INT, (char *)"SP_PERMIT_UNSPLIT", (long) wxSP_PERMIT_UNSPLIT, 0, 0, 0},
22632 { SWIG_PY_INT, (char *)"SP_LIVE_UPDATE", (long) wxSP_LIVE_UPDATE, 0, 0, 0},
22633 { SWIG_PY_INT, (char *)"SP_3DSASH", (long) wxSP_3DSASH, 0, 0, 0},
22634 { SWIG_PY_INT, (char *)"SP_3DBORDER", (long) wxSP_3DBORDER, 0, 0, 0},
22635 { SWIG_PY_INT, (char *)"SP_BORDER", (long) wxSP_BORDER, 0, 0, 0},
22636 { SWIG_PY_INT, (char *)"SP_3D", (long) wxSP_3D, 0, 0, 0},
22637 { SWIG_PY_INT, (char *)"SPLIT_HORIZONTAL", (long) wxSPLIT_HORIZONTAL, 0, 0, 0},
22638 { SWIG_PY_INT, (char *)"SPLIT_VERTICAL", (long) wxSPLIT_VERTICAL, 0, 0, 0},
22639 { SWIG_PY_INT, (char *)"SPLIT_DRAG_NONE", (long) wxSPLIT_DRAG_NONE, 0, 0, 0},
22640 { SWIG_PY_INT, (char *)"SPLIT_DRAG_DRAGGING", (long) wxSPLIT_DRAG_DRAGGING, 0, 0, 0},
22641 { SWIG_PY_INT, (char *)"SPLIT_DRAG_LEFT_DOWN", (long) wxSPLIT_DRAG_LEFT_DOWN, 0, 0, 0},
22642 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, 0, 0, 0},
22643 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 0, 0, 0},
22644 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", (long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 0, 0, 0},
22645 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_UNSPLIT", (long) wxEVT_COMMAND_SPLITTER_UNSPLIT, 0, 0, 0},
22646 { SWIG_PY_INT, (char *)"SASH_DRAG_NONE", (long) wxSASH_DRAG_NONE, 0, 0, 0},
22647 { SWIG_PY_INT, (char *)"SASH_DRAG_DRAGGING", (long) wxSASH_DRAG_DRAGGING, 0, 0, 0},
22648 { SWIG_PY_INT, (char *)"SASH_DRAG_LEFT_DOWN", (long) wxSASH_DRAG_LEFT_DOWN, 0, 0, 0},
22649 { SWIG_PY_INT, (char *)"SW_NOBORDER", (long) wxSW_NOBORDER, 0, 0, 0},
22650 { SWIG_PY_INT, (char *)"SW_BORDER", (long) wxSW_BORDER, 0, 0, 0},
22651 { SWIG_PY_INT, (char *)"SW_3DSASH", (long) wxSW_3DSASH, 0, 0, 0},
22652 { SWIG_PY_INT, (char *)"SW_3DBORDER", (long) wxSW_3DBORDER, 0, 0, 0},
22653 { SWIG_PY_INT, (char *)"SW_3D", (long) wxSW_3D, 0, 0, 0},
22654 { SWIG_PY_INT, (char *)"SASH_TOP", (long) wxSASH_TOP, 0, 0, 0},
22655 { SWIG_PY_INT, (char *)"SASH_RIGHT", (long) wxSASH_RIGHT, 0, 0, 0},
22656 { SWIG_PY_INT, (char *)"SASH_BOTTOM", (long) wxSASH_BOTTOM, 0, 0, 0},
22657 { SWIG_PY_INT, (char *)"SASH_LEFT", (long) wxSASH_LEFT, 0, 0, 0},
22658 { SWIG_PY_INT, (char *)"SASH_NONE", (long) wxSASH_NONE, 0, 0, 0},
22659 { SWIG_PY_INT, (char *)"SASH_STATUS_OK", (long) wxSASH_STATUS_OK, 0, 0, 0},
22660 { SWIG_PY_INT, (char *)"SASH_STATUS_OUT_OF_RANGE", (long) wxSASH_STATUS_OUT_OF_RANGE, 0, 0, 0},
22661 { SWIG_PY_INT, (char *)"wxEVT_SASH_DRAGGED", (long) wxEVT_SASH_DRAGGED, 0, 0, 0},
22662 { SWIG_PY_INT, (char *)"LAYOUT_HORIZONTAL", (long) wxLAYOUT_HORIZONTAL, 0, 0, 0},
22663 { SWIG_PY_INT, (char *)"LAYOUT_VERTICAL", (long) wxLAYOUT_VERTICAL, 0, 0, 0},
22664 { SWIG_PY_INT, (char *)"LAYOUT_NONE", (long) wxLAYOUT_NONE, 0, 0, 0},
22665 { SWIG_PY_INT, (char *)"LAYOUT_TOP", (long) wxLAYOUT_TOP, 0, 0, 0},
22666 { SWIG_PY_INT, (char *)"LAYOUT_LEFT", (long) wxLAYOUT_LEFT, 0, 0, 0},
22667 { SWIG_PY_INT, (char *)"LAYOUT_RIGHT", (long) wxLAYOUT_RIGHT, 0, 0, 0},
22668 { SWIG_PY_INT, (char *)"LAYOUT_BOTTOM", (long) wxLAYOUT_BOTTOM, 0, 0, 0},
22669 { SWIG_PY_INT, (char *)"LAYOUT_LENGTH_Y", (long) wxLAYOUT_LENGTH_Y, 0, 0, 0},
22670 { SWIG_PY_INT, (char *)"LAYOUT_LENGTH_X", (long) wxLAYOUT_LENGTH_X, 0, 0, 0},
22671 { SWIG_PY_INT, (char *)"LAYOUT_MRU_LENGTH", (long) wxLAYOUT_MRU_LENGTH, 0, 0, 0},
22672 { SWIG_PY_INT, (char *)"LAYOUT_QUERY", (long) wxLAYOUT_QUERY, 0, 0, 0},
22673 { SWIG_PY_INT, (char *)"wxEVT_QUERY_LAYOUT_INFO", (long) wxEVT_QUERY_LAYOUT_INFO, 0, 0, 0},
22674 { SWIG_PY_INT, (char *)"wxEVT_CALCULATE_LAYOUT", (long) wxEVT_CALCULATE_LAYOUT, 0, 0, 0},
22675 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_MOVE", (long) wxEVT_TASKBAR_MOVE, 0, 0, 0},
22676 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DOWN", (long) wxEVT_TASKBAR_LEFT_DOWN, 0, 0, 0},
22677 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_UP", (long) wxEVT_TASKBAR_LEFT_UP, 0, 0, 0},
22678 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DOWN", (long) wxEVT_TASKBAR_RIGHT_DOWN, 0, 0, 0},
22679 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_UP", (long) wxEVT_TASKBAR_RIGHT_UP, 0, 0, 0},
22680 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DCLICK", (long) wxEVT_TASKBAR_LEFT_DCLICK, 0, 0, 0},
22681 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DCLICK", (long) wxEVT_TASKBAR_RIGHT_DCLICK, 0, 0, 0},
22682 { SWIG_PY_INT, (char *)"CHOICEDLG_STYLE", (long) wxCHOICEDLG_STYLE, 0, 0, 0},
22683 { SWIG_PY_INT, (char *)"FR_DOWN", (long) wxFR_DOWN, 0, 0, 0},
22684 { SWIG_PY_INT, (char *)"FR_WHOLEWORD", (long) wxFR_WHOLEWORD, 0, 0, 0},
22685 { SWIG_PY_INT, (char *)"FR_MATCHCASE", (long) wxFR_MATCHCASE, 0, 0, 0},
22686 { SWIG_PY_INT, (char *)"FR_REPLACEDIALOG", (long) wxFR_REPLACEDIALOG, 0, 0, 0},
22687 { SWIG_PY_INT, (char *)"FR_NOUPDOWN", (long) wxFR_NOUPDOWN, 0, 0, 0},
22688 { SWIG_PY_INT, (char *)"FR_NOMATCHCASE", (long) wxFR_NOMATCHCASE, 0, 0, 0},
22689 { SWIG_PY_INT, (char *)"FR_NOWHOLEWORD", (long) wxFR_NOWHOLEWORD, 0, 0, 0},
22690 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND", (long) wxEVT_COMMAND_FIND, 0, 0, 0},
22691 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_NEXT", (long) wxEVT_COMMAND_FIND_NEXT, 0, 0, 0},
22692 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE", (long) wxEVT_COMMAND_FIND_REPLACE, 0, 0, 0},
22693 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE_ALL", (long) wxEVT_COMMAND_FIND_REPLACE_ALL, 0, 0, 0},
22694 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_CLOSE", (long) wxEVT_COMMAND_FIND_CLOSE, 0, 0, 0},
22695 { SWIG_PY_INT, (char *)"IDM_WINDOWTILE", (long) 4001, 0, 0, 0},
22696 { SWIG_PY_INT, (char *)"IDM_WINDOWTILEHOR", (long) 4001, 0, 0, 0},
22697 { SWIG_PY_INT, (char *)"IDM_WINDOWCASCADE", (long) 4002, 0, 0, 0},
22698 { SWIG_PY_INT, (char *)"IDM_WINDOWICONS", (long) 4003, 0, 0, 0},
22699 { SWIG_PY_INT, (char *)"IDM_WINDOWNEXT", (long) 4004, 0, 0, 0},
22700 { SWIG_PY_INT, (char *)"IDM_WINDOWTILEVERT", (long) 4005, 0, 0, 0},
22701 { SWIG_PY_INT, (char *)"FIRST_MDI_CHILD", (long) 4100, 0, 0, 0},
22702 { SWIG_PY_INT, (char *)"LAST_MDI_CHILD", (long) 4600, 0, 0, 0},
22703 { SWIG_PY_INT, (char *)"PRINT_MODE_NONE", (long) wxPRINT_MODE_NONE, 0, 0, 0},
22704 { SWIG_PY_INT, (char *)"PRINT_MODE_PREVIEW", (long) wxPRINT_MODE_PREVIEW, 0, 0, 0},
22705 { SWIG_PY_INT, (char *)"PRINT_MODE_FILE", (long) wxPRINT_MODE_FILE, 0, 0, 0},
22706 { SWIG_PY_INT, (char *)"PRINT_MODE_PRINTER", (long) wxPRINT_MODE_PRINTER, 0, 0, 0},
22707 { SWIG_PY_INT, (char *)"PRINTER_NO_ERROR", (long) wxPRINTER_NO_ERROR, 0, 0, 0},
22708 { SWIG_PY_INT, (char *)"PRINTER_CANCELLED", (long) wxPRINTER_CANCELLED, 0, 0, 0},
22709 { SWIG_PY_INT, (char *)"PRINTER_ERROR", (long) wxPRINTER_ERROR, 0, 0, 0},
22710 { SWIG_PY_INT, (char *)"PREVIEW_PRINT", (long) wxPREVIEW_PRINT, 0, 0, 0},
22711 { SWIG_PY_INT, (char *)"PREVIEW_PREVIOUS", (long) wxPREVIEW_PREVIOUS, 0, 0, 0},
22712 { SWIG_PY_INT, (char *)"PREVIEW_NEXT", (long) wxPREVIEW_NEXT, 0, 0, 0},
22713 { SWIG_PY_INT, (char *)"PREVIEW_ZOOM", (long) wxPREVIEW_ZOOM, 0, 0, 0},
22714 { SWIG_PY_INT, (char *)"PREVIEW_FIRST", (long) wxPREVIEW_FIRST, 0, 0, 0},
22715 { SWIG_PY_INT, (char *)"PREVIEW_LAST", (long) wxPREVIEW_LAST, 0, 0, 0},
22716 { SWIG_PY_INT, (char *)"PREVIEW_GOTO", (long) wxPREVIEW_GOTO, 0, 0, 0},
22717 { SWIG_PY_INT, (char *)"PREVIEW_DEFAULT", (long) wxPREVIEW_DEFAULT, 0, 0, 0},
22718 { SWIG_PY_INT, (char *)"ID_PREVIEW_CLOSE", (long) wxID_PREVIEW_CLOSE, 0, 0, 0},
22719 { SWIG_PY_INT, (char *)"ID_PREVIEW_NEXT", (long) wxID_PREVIEW_NEXT, 0, 0, 0},
22720 { SWIG_PY_INT, (char *)"ID_PREVIEW_PREVIOUS", (long) wxID_PREVIEW_PREVIOUS, 0, 0, 0},
22721 { SWIG_PY_INT, (char *)"ID_PREVIEW_PRINT", (long) wxID_PREVIEW_PRINT, 0, 0, 0},
22722 { SWIG_PY_INT, (char *)"ID_PREVIEW_ZOOM", (long) wxID_PREVIEW_ZOOM, 0, 0, 0},
22723 { SWIG_PY_INT, (char *)"ID_PREVIEW_FIRST", (long) wxID_PREVIEW_FIRST, 0, 0, 0},
22724 { SWIG_PY_INT, (char *)"ID_PREVIEW_LAST", (long) wxID_PREVIEW_LAST, 0, 0, 0},
22725 { SWIG_PY_INT, (char *)"ID_PREVIEW_GOTO", (long) wxID_PREVIEW_GOTO, 0, 0, 0},
22726 {0}};
22727
22728 #ifdef __cplusplus
22729 }
22730 #endif
22731
22732 #ifdef __cplusplus
22733 extern "C"
22734 #endif
22735 SWIGEXPORT(void) SWIG_init(void) {
22736 static PyObject *SWIG_globals = 0;
22737 static int typeinit = 0;
22738 PyObject *m, *d;
22739 int i;
22740 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
22741 m = Py_InitModule((char *) SWIG_name, SwigMethods);
22742 d = PyModule_GetDict(m);
22743
22744 if (!typeinit) {
22745 for (i = 0; swig_types_initial[i]; i++) {
22746 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
22747 }
22748 typeinit = 1;
22749 }
22750 SWIG_InstallConstants(d,swig_const_table);
22751
22752 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
22753 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
22754 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
22755 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
22756 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
22757 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
22758 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
22759
22760 // Map renamed classes back to their common name for OOR
22761 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
22762 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
22763 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
22764
22765 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
22766 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
22767 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
22768 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
22769 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
22770 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
22771 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
22772 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
22773 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
22774 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
22775 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
22776 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
22777
22778 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
22779
22780 }
22781