]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/windows_wrap.cpp
Fixed SWIG warning
[wxWidgets.git] / wxPython / src / mac / windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.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_wxPyPopupTransientWindow swig_types[52]
265 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[53]
266 #define SWIGTYPE_p_wxSplitterWindow swig_types[54]
267 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[55]
268 #define SWIGTYPE_p_wxPopupWindow swig_types[56]
269 #define SWIGTYPE_p_wxSashWindow swig_types[57]
270 #define SWIGTYPE_p_wxTopLevelWindow swig_types[58]
271 #define SWIGTYPE_p_wxWindow swig_types[59]
272 #define SWIGTYPE_p_wxScrolledWindow swig_types[60]
273 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[61]
274 #define SWIGTYPE_p_wxMenuBar swig_types[62]
275 #define SWIGTYPE_p_wxPrintPreview swig_types[63]
276 #define SWIGTYPE_p_wxSashEvent swig_types[64]
277 #define SWIGTYPE_p_wxString swig_types[65]
278 #define SWIGTYPE_p_wxPyPrintPreview swig_types[66]
279 #define SWIGTYPE_p_wxPageSetupDialog swig_types[67]
280 #define SWIGTYPE_p_wxFontDialog swig_types[68]
281 #define SWIGTYPE_p_wxDirDialog swig_types[69]
282 #define SWIGTYPE_p_wxColourDialog swig_types[70]
283 #define SWIGTYPE_p_wxDialog swig_types[71]
284 #define SWIGTYPE_p_wxPanel swig_types[72]
285 #define SWIGTYPE_p_wxPrintDialog swig_types[73]
286 #define SWIGTYPE_p_wxBitmap swig_types[74]
287 #define SWIGTYPE_p_wxCommandEvent swig_types[75]
288 #define SWIGTYPE_p_wxPreviewControlBar swig_types[76]
289 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[77]
290 #define SWIGTYPE_p_wxColour swig_types[78]
291 #define SWIGTYPE_p_wxToolBar swig_types[79]
292 #define SWIGTYPE_p_wxPrintDialogData swig_types[80]
293 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[81]
294 static swig_type_info *swig_types[83];
295
296 /* -------- TYPES TABLE (END) -------- */
297
298
299 /*-----------------------------------------------
300 @(target):= _windows.so
301 ------------------------------------------------*/
302 #define SWIG_init init_windows
303
304 #define SWIG_name "_windows"
305
306 #include "wx/wxPython/wxPython.h"
307 #include "wx/wxPython/pyclasses.h"
308
309
310 static const wxString wxPyEmptyString(wxEmptyString);
311 static const wxString wxPyPanelNameStr(wxPanelNameStr);
312
313
314
315 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
316 PyObject* o2;
317 PyObject* o3;
318
319 if (!target) {
320 target = o;
321 } else if (target == Py_None) {
322 Py_DECREF(Py_None);
323 target = o;
324 } else {
325 if (!PyTuple_Check(target)) {
326 o2 = target;
327 target = PyTuple_New(1);
328 PyTuple_SetItem(target, 0, o2);
329 }
330 o3 = PyTuple_New(1);
331 PyTuple_SetItem(o3, 0, o);
332
333 o2 = target;
334 target = PySequence_Concat(o2, o3);
335 Py_DECREF(o2);
336 Py_DECREF(o3);
337 }
338 return target;
339 }
340
341 static const wxString wxPyFrameNameStr(wxFrameNameStr);
342 static const wxString wxPyDialogNameStr(wxDialogNameStr);
343 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
344 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
345 bool wxDialog_IsModalShowing(wxDialog *self){
346
347
348
349 return self->IsModalShowing();
350
351 }
352
353
354 wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
355 wxRect r;
356 self->GetFieldRect(i, r);
357 return r;
358 }
359 static const wxString wxPySplitterNameStr(wxT("splitter"));
360 static const wxString wxPySashNameStr(wxT("sashWindow"));
361 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
362
363 #include <wx/popupwin.h>
364
365
366 class wxPopupWindow : public wxWindow {
367 public:
368 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
369 wxPopupWindow() { wxPyRaiseNotImplemented(); }
370 };
371
372 class wxPyPopupTransientWindow : public wxPopupWindow
373 {
374 public:
375 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
376 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
377 };
378
379
380 #include <wx/tipwin.h>
381
382 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
383 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
384 }
385
386 #include <wx/tipwin.h>
387
388
389 #include <wx/vscroll.h>
390
391
392 class wxPyVScrolledWindow : public wxVScrolledWindow
393 {
394 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
395 public:
396 wxPyVScrolledWindow() : wxVScrolledWindow() {}
397
398 wxPyVScrolledWindow(wxWindow *parent,
399 wxWindowID id = wxID_ANY,
400 const wxPoint& pos = wxDefaultPosition,
401 const wxSize& size = wxDefaultSize,
402 long style = 0,
403 const wxString& name = wxPyPanelNameStr)
404 : wxVScrolledWindow(parent, id, pos, size, style, name)
405 {}
406
407 // Overridable virtuals
408
409 // this function must be overridden in the derived class and it should
410 // return the height of the given line in pixels
411 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
412
413
414 // this function doesn't have to be overridden but it may be useful to do
415 // it if calculating the lines heights is a relatively expensive operation
416 // as it gives the user code a possibility to calculate several of them at
417 // once
418 //
419 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
420 // shouldn't rely on the latter being called for all lines in the interval
421 // specified here. It is also possible that OnGetLineHeight() will be
422 // called for the lines outside of this interval, so this is really just a
423 // hint, not a promise.
424 //
425 // finally note that lineMin is inclusive, while lineMax is exclusive, as
426 // usual
427 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
428
429
430 // when the number of lines changes, we try to estimate the total height
431 // of all lines which is a rather expensive operation in terms of lines
432 // access, so if the user code may estimate the average height
433 // better/faster than we do, it should override this function to implement
434 // its own logic
435 //
436 // this function should return the best guess for the total height it may
437 // make
438 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
439
440
441 // Also expose some other interesting protected methods
442
443
444 // find the index of the line we need to show at the top of the window such
445 // that the last (fully or partially) visible line is the given one
446 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
447 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
448
449 // get the total height of the lines between lineMin (inclusive) and
450 // lineMax (exclusive)
451 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
452 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
453
454
455 PYPRIVATE;
456 };
457
458 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
459
460 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
461 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
462 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
463
464
465 #include <wx/vlbox.h>
466
467 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
468
469 class wxPyVListBox : public wxVListBox
470 {
471 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
472 public:
473 wxPyVListBox() : wxVListBox() {}
474
475 wxPyVListBox(wxWindow *parent,
476 wxWindowID id = wxID_ANY,
477 const wxPoint& pos = wxDefaultPosition,
478 const wxSize& size = wxDefaultSize,
479 long style = 0,
480 const wxString& name = wxPyVListBoxNameStr)
481 : wxVListBox(parent, id, pos, size, style, name)
482 {}
483
484 // Overridable virtuals
485
486 // the derived class must implement this function to actually draw the item
487 // with the given index on the provided DC
488 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
489 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
490
491
492 // the derived class must implement this method to return the height of the
493 // specified item
494 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
495 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
496
497
498 // this method may be used to draw separators between the lines; note that
499 // the rectangle may be modified, typically to deflate it a bit before
500 // passing to OnDrawItem()
501 //
502 // the base class version doesn't do anything
503 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
504 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
505
506
507 // this method is used to draw the items background and, maybe, a border
508 // around it
509 //
510 // the base class version implements a reasonable default behaviour which
511 // consists in drawing the selected item with the standard background
512 // colour and drawing a border around the item if it is either selected or
513 // current
514 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
515 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
516
517
518 PYPRIVATE;
519 };
520
521 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
522
523 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
524 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
525 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
526 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
527
528
529
530 #include <wx/htmllbox.h>
531
532
533 class wxPyHtmlListBox : public wxHtmlListBox
534 {
535 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
536 public:
537 wxPyHtmlListBox() : wxHtmlListBox() {}
538
539 wxPyHtmlListBox(wxWindow *parent,
540 wxWindowID id = wxID_ANY,
541 const wxPoint& pos = wxDefaultPosition,
542 const wxSize& size = wxDefaultSize,
543 long style = 0,
544 const wxString& name = wxPyVListBoxNameStr)
545 : wxHtmlListBox(parent, id, pos, size, style, name)
546 {}
547
548 // Overridable virtuals
549
550 // this method must be implemented in the derived class and should return
551 // the body (i.e. without <html>) of the HTML for the given item
552 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
553
554 // this function may be overridden to decorate HTML returned by OnGetItem()
555 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
556
557 // TODO:
558 // // this method allows to customize the selection appearance: it may be used
559 // // to specify the colour of the text which normally has the given colour
560 // // colFg when it is inside the selection
561 // //
562 // // by default, the original colour is not used at all and all text has the
563 // // same (default for this system) colour inside selection
564 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
565
566 // // this is the same as GetSelectedTextColour() but allows to customize the
567 // // background colour -- this is even more rarely used as you can change it
568 // // globally using SetSelectionBackground()
569 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
570
571
572 PYPRIVATE;
573 };
574
575
576 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
577
578 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
579 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
580
581
582
583
584
585 #ifdef __WXMAC__
586 // implement dummy classes and such for wxMac
587
588 class wxTaskBarIcon : public wxEvtHandler
589 {
590 public:
591 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
592 };
593
594
595 class wxTaskBarIconEvent : public wxEvent
596 {
597 public:
598 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
599 { wxPyRaiseNotImplemented(); }
600 virtual wxEvent* Clone() const { return NULL; }
601 };
602
603 enum {
604 wxEVT_TASKBAR_MOVE = 0,
605 wxEVT_TASKBAR_LEFT_DOWN = 0,
606 wxEVT_TASKBAR_LEFT_UP = 0,
607 wxEVT_TASKBAR_RIGHT_DOWN = 0,
608 wxEVT_TASKBAR_RIGHT_UP = 0,
609 wxEVT_TASKBAR_LEFT_DCLICK = 0,
610 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
611 };
612 #endif
613
614 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
615 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
616 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
617 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
618 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
619 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
620 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
621 wxArrayString arr;
622 self->GetFilenames(arr);
623 return wxArrayString2PyList_helper(arr);
624 }
625 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
626 wxArrayString arr;
627 self->GetPaths(arr);
628 return wxArrayString2PyList_helper(arr);
629 }
630 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
631 return wxArrayInt2PyList_helper(self->GetSelections());
632 }
633 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
634 return new wxSingleChoiceDialog(parent, message, caption,
635 choices, choices_array, NULL, style, pos);
636 }
637
638 #include <wx/mdi.h>
639
640 // C++ version of Python aware wxWindow
641 class wxPyWindow : public wxWindow
642 {
643 DECLARE_DYNAMIC_CLASS(wxPyWindow)
644 public:
645 wxPyWindow() : wxWindow() {}
646 wxPyWindow(wxWindow* parent, const wxWindowID id,
647 const wxPoint& pos = wxDefaultPosition,
648 const wxSize& size = wxDefaultSize,
649 long style = 0,
650 const wxString& name = wxPyPanelNameStr)
651 : wxWindow(parent, id, pos, size, style, name) {}
652
653
654 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
655 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
656 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
657 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
658
659 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
660 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
661 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
662
663 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
664 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
665
666 DEC_PYCALLBACK__(InitDialog);
667 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
668 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
669 DEC_PYCALLBACK_BOOL_(Validate);
670
671 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
672 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
673 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
674
675 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
676 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
677
678 PYPRIVATE;
679 };
680
681 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
682
683 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
684 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
685 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
686 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
687
688 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
689 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
690 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
691
692 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
693 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
694
695 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
696 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
697 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
698 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
699
700 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
701 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
702 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
703
704 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
705 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
706
707
708 // C++ version of Python aware wxPanel
709 class wxPyPanel : public wxPanel
710 {
711 DECLARE_DYNAMIC_CLASS(wxPyPanel)
712 public:
713 wxPyPanel() : wxPanel() {}
714 wxPyPanel(wxWindow* parent, const wxWindowID id,
715 const wxPoint& pos = wxDefaultPosition,
716 const wxSize& size = wxDefaultSize,
717 long style = 0,
718 const wxString& name = wxPyPanelNameStr)
719 : wxPanel(parent, id, pos, size, style, name) {}
720
721
722 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
723 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
724 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
725 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
726
727 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
728 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
729 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
730
731 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
732 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
733
734 DEC_PYCALLBACK__(InitDialog);
735 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
736 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
737 DEC_PYCALLBACK_BOOL_(Validate);
738
739 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
740 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
741 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
742
743 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
744 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
745
746 PYPRIVATE;
747 };
748
749 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
750
751 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
752 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
753 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
754 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
755
756 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
757 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
758 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
759
760 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
761 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
762
763 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
764 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
765 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
766 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
767
768 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
769 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
770 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
771
772 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
773 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
774
775
776
777 #include "wx/wxPython/printfw.h"
778
779
780 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
781 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
782
783
784
785 // Since this one would be tough and ugly to do with the Macros...
786 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
787 bool hadErr = False;
788 bool found;
789
790 wxPyBeginBlockThreads();
791 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
792 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
793 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
794 PyObject* val;
795
796 val = PyTuple_GetItem(result, 0);
797 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
798 else hadErr = True;
799
800 val = PyTuple_GetItem(result, 1);
801 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
802 else hadErr = True;
803
804 val = PyTuple_GetItem(result, 2);
805 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
806 else hadErr = True;
807
808 val = PyTuple_GetItem(result, 3);
809 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
810 else hadErr = True;
811 }
812 else
813 hadErr = True;
814
815 if (hadErr) {
816 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
817 PyErr_Print();
818 }
819 Py_DECREF(result);
820 }
821 wxPyEndBlockThreads();
822 if (! found)
823 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
824 }
825
826 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
827 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
828 }
829
830
831 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
832 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
833 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
834 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
835 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
836 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
837 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
838
839
840
841
842
843 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
844 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
845 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
846
847
848 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
849 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
850 bool rval=False; \
851 bool found; \
852 wxPyBeginBlockThreads(); \
853 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
854 PyObject* win = wxPyMake_wxObject(a); \
855 PyObject* dc = wxPyMake_wxObject(&b); \
856 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
857 Py_DECREF(win); \
858 Py_DECREF(dc); \
859 } \
860 wxPyEndBlockThreads(); \
861 if (! found) \
862 rval = PCLASS::CBNAME(a, b); \
863 return rval; \
864 } \
865 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
866 return PCLASS::CBNAME(a, b); \
867 }
868
869
870
871
872 class wxPyPrintPreview : public wxPrintPreview
873 {
874 DECLARE_CLASS(wxPyPrintPreview)
875 public:
876 wxPyPrintPreview(wxPyPrintout* printout,
877 wxPyPrintout* printoutForPrinting,
878 wxPrintData* data=NULL)
879 : wxPrintPreview(printout, printoutForPrinting, data)
880 {}
881
882 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
883 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
884 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
885 DEC_PYCALLBACK_BOOL_INT(RenderPage);
886 DEC_PYCALLBACK_VOID_INT(SetZoom);
887 DEC_PYCALLBACK_BOOL_BOOL(Print);
888 DEC_PYCALLBACK_VOID_(DetermineScaling);
889
890 PYPRIVATE;
891 };
892
893 // Stupid renamed classes... Fix this in 2.5...
894 #if defined(__WXMSW__)
895 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
896 #elif defined(__WXMAC__)
897 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
898 #else
899 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
900 #endif
901
902 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
903 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
904 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
905 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
906 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
907 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
908 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
909
910
911 class wxPyPreviewFrame : public wxPreviewFrame
912 {
913 DECLARE_CLASS(wxPyPreviewFrame);
914 public:
915 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
916 const wxString& title,
917 const wxPoint& pos = wxDefaultPosition,
918 const wxSize& size = wxDefaultSize,
919 long style = wxDEFAULT_FRAME_STYLE,
920 const wxString& name = wxPyFrameNameStr)
921 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
922 {}
923
924 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
925 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
926
927 DEC_PYCALLBACK_VOID_(Initialize);
928 DEC_PYCALLBACK_VOID_(CreateCanvas);
929 DEC_PYCALLBACK_VOID_(CreateControlBar);
930
931 PYPRIVATE;
932 };
933
934 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
935
936 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
937 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
938 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
939
940
941 class wxPyPreviewControlBar : public wxPreviewControlBar
942 {
943 DECLARE_CLASS(wxPyPreviewControlBar);
944 public:
945 wxPyPreviewControlBar(wxPrintPreview *preview,
946 long buttons,
947 wxWindow *parent,
948 const wxPoint& pos = wxDefaultPosition,
949 const wxSize& size = wxDefaultSize,
950 long style = 0,
951 const wxString& name = wxPyPanelNameStr)
952 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
953 {}
954
955 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
956
957 DEC_PYCALLBACK_VOID_(CreateButtons);
958 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
959
960 PYPRIVATE;
961 };
962
963 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
964 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
965 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
966
967 #ifdef __cplusplus
968 extern "C" {
969 #endif
970 static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
971 PyObject *resultobj;
972 wxWindow *arg1 = (wxWindow *) 0 ;
973 int arg2 = (int) (int)-1 ;
974 wxPoint const &arg3_defvalue = wxDefaultPosition ;
975 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
976 wxSize const &arg4_defvalue = wxDefaultSize ;
977 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
978 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
979 wxString const &arg6_defvalue = wxPyPanelNameStr ;
980 wxString *arg6 = (wxString *) &arg6_defvalue ;
981 wxPanel *result;
982 wxPoint temp3 ;
983 wxSize temp4 ;
984 bool temp6 = False ;
985 PyObject * obj0 = 0 ;
986 PyObject * obj2 = 0 ;
987 PyObject * obj3 = 0 ;
988 PyObject * obj5 = 0 ;
989 char *kwnames[] = {
990 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
991 };
992
993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_Panel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
995 if (obj2) {
996 {
997 arg3 = &temp3;
998 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
999 }
1000 }
1001 if (obj3) {
1002 {
1003 arg4 = &temp4;
1004 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1005 }
1006 }
1007 if (obj5) {
1008 {
1009 arg6 = wxString_in_helper(obj5);
1010 if (arg6 == NULL) SWIG_fail;
1011 temp6 = True;
1012 }
1013 }
1014 {
1015 PyThreadState* __tstate = wxPyBeginAllowThreads();
1016 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1017
1018 wxPyEndAllowThreads(__tstate);
1019 if (PyErr_Occurred()) SWIG_fail;
1020 }
1021 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1022 {
1023 if (temp6)
1024 delete arg6;
1025 }
1026 return resultobj;
1027 fail:
1028 {
1029 if (temp6)
1030 delete arg6;
1031 }
1032 return NULL;
1033 }
1034
1035
1036 static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1037 PyObject *resultobj;
1038 wxPanel *result;
1039 char *kwnames[] = {
1040 NULL
1041 };
1042
1043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1044 {
1045 PyThreadState* __tstate = wxPyBeginAllowThreads();
1046 result = (wxPanel *)new wxPanel();
1047
1048 wxPyEndAllowThreads(__tstate);
1049 if (PyErr_Occurred()) SWIG_fail;
1050 }
1051 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1052 return resultobj;
1053 fail:
1054 return NULL;
1055 }
1056
1057
1058 static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1059 PyObject *resultobj;
1060 wxPanel *arg1 = (wxPanel *) 0 ;
1061 wxWindow *arg2 = (wxWindow *) 0 ;
1062 int arg3 ;
1063 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1064 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1065 wxSize const &arg5_defvalue = wxDefaultSize ;
1066 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1067 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1068 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1069 wxString *arg7 = (wxString *) &arg7_defvalue ;
1070 bool result;
1071 wxPoint temp4 ;
1072 wxSize temp5 ;
1073 bool temp7 = False ;
1074 PyObject * obj0 = 0 ;
1075 PyObject * obj1 = 0 ;
1076 PyObject * obj3 = 0 ;
1077 PyObject * obj4 = 0 ;
1078 PyObject * obj6 = 0 ;
1079 char *kwnames[] = {
1080 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1081 };
1082
1083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Panel_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1085 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1086 if (obj3) {
1087 {
1088 arg4 = &temp4;
1089 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1090 }
1091 }
1092 if (obj4) {
1093 {
1094 arg5 = &temp5;
1095 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1096 }
1097 }
1098 if (obj6) {
1099 {
1100 arg7 = wxString_in_helper(obj6);
1101 if (arg7 == NULL) SWIG_fail;
1102 temp7 = True;
1103 }
1104 }
1105 {
1106 PyThreadState* __tstate = wxPyBeginAllowThreads();
1107 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1108
1109 wxPyEndAllowThreads(__tstate);
1110 if (PyErr_Occurred()) SWIG_fail;
1111 }
1112 resultobj = PyInt_FromLong((long)result);
1113 {
1114 if (temp7)
1115 delete arg7;
1116 }
1117 return resultobj;
1118 fail:
1119 {
1120 if (temp7)
1121 delete arg7;
1122 }
1123 return NULL;
1124 }
1125
1126
1127 static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1128 PyObject *resultobj;
1129 wxPanel *arg1 = (wxPanel *) 0 ;
1130 PyObject * obj0 = 0 ;
1131 char *kwnames[] = {
1132 (char *) "self", NULL
1133 };
1134
1135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1137 {
1138 PyThreadState* __tstate = wxPyBeginAllowThreads();
1139 (arg1)->InitDialog();
1140
1141 wxPyEndAllowThreads(__tstate);
1142 if (PyErr_Occurred()) SWIG_fail;
1143 }
1144 Py_INCREF(Py_None); resultobj = Py_None;
1145 return resultobj;
1146 fail:
1147 return NULL;
1148 }
1149
1150
1151 static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1152 PyObject *obj;
1153 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1154 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1155 Py_INCREF(obj);
1156 return Py_BuildValue((char *)"");
1157 }
1158 static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1159 PyObject *resultobj;
1160 wxWindow *arg1 = (wxWindow *) 0 ;
1161 int arg2 = (int) (int)-1 ;
1162 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1163 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1164 wxSize const &arg4_defvalue = wxDefaultSize ;
1165 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1166 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1167 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1168 wxString *arg6 = (wxString *) &arg6_defvalue ;
1169 wxScrolledWindow *result;
1170 wxPoint temp3 ;
1171 wxSize temp4 ;
1172 bool temp6 = False ;
1173 PyObject * obj0 = 0 ;
1174 PyObject * obj2 = 0 ;
1175 PyObject * obj3 = 0 ;
1176 PyObject * obj5 = 0 ;
1177 char *kwnames[] = {
1178 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1179 };
1180
1181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_ScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
1182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1183 if (obj2) {
1184 {
1185 arg3 = &temp3;
1186 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1187 }
1188 }
1189 if (obj3) {
1190 {
1191 arg4 = &temp4;
1192 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1193 }
1194 }
1195 if (obj5) {
1196 {
1197 arg6 = wxString_in_helper(obj5);
1198 if (arg6 == NULL) SWIG_fail;
1199 temp6 = True;
1200 }
1201 }
1202 {
1203 PyThreadState* __tstate = wxPyBeginAllowThreads();
1204 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1205
1206 wxPyEndAllowThreads(__tstate);
1207 if (PyErr_Occurred()) SWIG_fail;
1208 }
1209 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1210 {
1211 if (temp6)
1212 delete arg6;
1213 }
1214 return resultobj;
1215 fail:
1216 {
1217 if (temp6)
1218 delete arg6;
1219 }
1220 return NULL;
1221 }
1222
1223
1224 static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1225 PyObject *resultobj;
1226 wxScrolledWindow *result;
1227 char *kwnames[] = {
1228 NULL
1229 };
1230
1231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1232 {
1233 PyThreadState* __tstate = wxPyBeginAllowThreads();
1234 result = (wxScrolledWindow *)new wxScrolledWindow();
1235
1236 wxPyEndAllowThreads(__tstate);
1237 if (PyErr_Occurred()) SWIG_fail;
1238 }
1239 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1240 return resultobj;
1241 fail:
1242 return NULL;
1243 }
1244
1245
1246 static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1247 PyObject *resultobj;
1248 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1249 wxWindow *arg2 = (wxWindow *) 0 ;
1250 int arg3 = (int) (int)-1 ;
1251 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1252 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1253 wxSize const &arg5_defvalue = wxDefaultSize ;
1254 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1255 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1256 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1257 wxString *arg7 = (wxString *) &arg7_defvalue ;
1258 bool result;
1259 wxPoint temp4 ;
1260 wxSize temp5 ;
1261 bool temp7 = False ;
1262 PyObject * obj0 = 0 ;
1263 PyObject * obj1 = 0 ;
1264 PyObject * obj3 = 0 ;
1265 PyObject * obj4 = 0 ;
1266 PyObject * obj6 = 0 ;
1267 char *kwnames[] = {
1268 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1269 };
1270
1271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1273 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1274 if (obj3) {
1275 {
1276 arg4 = &temp4;
1277 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1278 }
1279 }
1280 if (obj4) {
1281 {
1282 arg5 = &temp5;
1283 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1284 }
1285 }
1286 if (obj6) {
1287 {
1288 arg7 = wxString_in_helper(obj6);
1289 if (arg7 == NULL) SWIG_fail;
1290 temp7 = True;
1291 }
1292 }
1293 {
1294 PyThreadState* __tstate = wxPyBeginAllowThreads();
1295 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1296
1297 wxPyEndAllowThreads(__tstate);
1298 if (PyErr_Occurred()) SWIG_fail;
1299 }
1300 resultobj = PyInt_FromLong((long)result);
1301 {
1302 if (temp7)
1303 delete arg7;
1304 }
1305 return resultobj;
1306 fail:
1307 {
1308 if (temp7)
1309 delete arg7;
1310 }
1311 return NULL;
1312 }
1313
1314
1315 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1316 PyObject *resultobj;
1317 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1318 int arg2 ;
1319 int arg3 ;
1320 int arg4 ;
1321 int arg5 ;
1322 int arg6 = (int) 0 ;
1323 int arg7 = (int) 0 ;
1324 bool arg8 = (bool) False ;
1325 PyObject * obj0 = 0 ;
1326 PyObject * obj7 = 0 ;
1327 char *kwnames[] = {
1328 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1329 };
1330
1331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|iiO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7,&obj7)) goto fail;
1332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1333 if (obj7) {
1334 arg8 = PyInt_AsLong(obj7) ? true : false;
1335 if (PyErr_Occurred()) SWIG_fail;
1336 }
1337 {
1338 PyThreadState* __tstate = wxPyBeginAllowThreads();
1339 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1340
1341 wxPyEndAllowThreads(__tstate);
1342 if (PyErr_Occurred()) SWIG_fail;
1343 }
1344 Py_INCREF(Py_None); resultobj = Py_None;
1345 return resultobj;
1346 fail:
1347 return NULL;
1348 }
1349
1350
1351 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1352 PyObject *resultobj;
1353 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1354 int arg2 ;
1355 int arg3 ;
1356 PyObject * obj0 = 0 ;
1357 char *kwnames[] = {
1358 (char *) "self",(char *) "x",(char *) "y", NULL
1359 };
1360
1361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_Scroll",kwnames,&obj0,&arg2,&arg3)) goto fail;
1362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1363 {
1364 PyThreadState* __tstate = wxPyBeginAllowThreads();
1365 (arg1)->Scroll(arg2,arg3);
1366
1367 wxPyEndAllowThreads(__tstate);
1368 if (PyErr_Occurred()) SWIG_fail;
1369 }
1370 Py_INCREF(Py_None); resultobj = Py_None;
1371 return resultobj;
1372 fail:
1373 return NULL;
1374 }
1375
1376
1377 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1378 PyObject *resultobj;
1379 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1380 int arg2 ;
1381 int result;
1382 PyObject * obj0 = 0 ;
1383 char *kwnames[] = {
1384 (char *) "self",(char *) "orient", NULL
1385 };
1386
1387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&arg2)) goto fail;
1388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1389 {
1390 PyThreadState* __tstate = wxPyBeginAllowThreads();
1391 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1392
1393 wxPyEndAllowThreads(__tstate);
1394 if (PyErr_Occurred()) SWIG_fail;
1395 }
1396 resultobj = PyInt_FromLong((long)result);
1397 return resultobj;
1398 fail:
1399 return NULL;
1400 }
1401
1402
1403 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1404 PyObject *resultobj;
1405 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1406 int arg2 ;
1407 int arg3 ;
1408 PyObject * obj0 = 0 ;
1409 char *kwnames[] = {
1410 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1411 };
1412
1413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
1414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1415 {
1416 PyThreadState* __tstate = wxPyBeginAllowThreads();
1417 (arg1)->SetScrollPageSize(arg2,arg3);
1418
1419 wxPyEndAllowThreads(__tstate);
1420 if (PyErr_Occurred()) SWIG_fail;
1421 }
1422 Py_INCREF(Py_None); resultobj = Py_None;
1423 return resultobj;
1424 fail:
1425 return NULL;
1426 }
1427
1428
1429 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1430 PyObject *resultobj;
1431 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1432 int arg2 ;
1433 int arg3 ;
1434 PyObject * obj0 = 0 ;
1435 char *kwnames[] = {
1436 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1437 };
1438
1439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollRate",kwnames,&obj0,&arg2,&arg3)) goto fail;
1440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1441 {
1442 PyThreadState* __tstate = wxPyBeginAllowThreads();
1443 (arg1)->SetScrollRate(arg2,arg3);
1444
1445 wxPyEndAllowThreads(__tstate);
1446 if (PyErr_Occurred()) SWIG_fail;
1447 }
1448 Py_INCREF(Py_None); resultobj = Py_None;
1449 return resultobj;
1450 fail:
1451 return NULL;
1452 }
1453
1454
1455 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1456 PyObject *resultobj;
1457 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1458 int *arg2 = (int *) 0 ;
1459 int *arg3 = (int *) 0 ;
1460 int temp2 ;
1461 int temp3 ;
1462 PyObject * obj0 = 0 ;
1463 char *kwnames[] = {
1464 (char *) "self", NULL
1465 };
1466
1467 arg2 = &temp2;
1468 arg3 = &temp3;
1469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1471 {
1472 PyThreadState* __tstate = wxPyBeginAllowThreads();
1473 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1474
1475 wxPyEndAllowThreads(__tstate);
1476 if (PyErr_Occurred()) SWIG_fail;
1477 }
1478 Py_INCREF(Py_None); resultobj = Py_None;
1479 {
1480 PyObject *o = PyInt_FromLong((long) (*arg2));
1481 resultobj = t_output_helper(resultobj,o);
1482 }
1483 {
1484 PyObject *o = PyInt_FromLong((long) (*arg3));
1485 resultobj = t_output_helper(resultobj,o);
1486 }
1487 return resultobj;
1488 fail:
1489 return NULL;
1490 }
1491
1492
1493 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1494 PyObject *resultobj;
1495 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1496 bool arg2 ;
1497 bool arg3 ;
1498 PyObject * obj0 = 0 ;
1499 PyObject * obj1 = 0 ;
1500 PyObject * obj2 = 0 ;
1501 char *kwnames[] = {
1502 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1503 };
1504
1505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1507 arg2 = PyInt_AsLong(obj1) ? true : false;
1508 if (PyErr_Occurred()) SWIG_fail;
1509 arg3 = PyInt_AsLong(obj2) ? true : false;
1510 if (PyErr_Occurred()) SWIG_fail;
1511 {
1512 PyThreadState* __tstate = wxPyBeginAllowThreads();
1513 (arg1)->EnableScrolling(arg2,arg3);
1514
1515 wxPyEndAllowThreads(__tstate);
1516 if (PyErr_Occurred()) SWIG_fail;
1517 }
1518 Py_INCREF(Py_None); resultobj = Py_None;
1519 return resultobj;
1520 fail:
1521 return NULL;
1522 }
1523
1524
1525 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1526 PyObject *resultobj;
1527 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1528 int *arg2 = (int *) 0 ;
1529 int *arg3 = (int *) 0 ;
1530 int temp2 ;
1531 int temp3 ;
1532 PyObject * obj0 = 0 ;
1533 char *kwnames[] = {
1534 (char *) "self", NULL
1535 };
1536
1537 arg2 = &temp2;
1538 arg3 = &temp3;
1539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1541 {
1542 PyThreadState* __tstate = wxPyBeginAllowThreads();
1543 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1544
1545 wxPyEndAllowThreads(__tstate);
1546 if (PyErr_Occurred()) SWIG_fail;
1547 }
1548 Py_INCREF(Py_None); resultobj = Py_None;
1549 {
1550 PyObject *o = PyInt_FromLong((long) (*arg2));
1551 resultobj = t_output_helper(resultobj,o);
1552 }
1553 {
1554 PyObject *o = PyInt_FromLong((long) (*arg3));
1555 resultobj = t_output_helper(resultobj,o);
1556 }
1557 return resultobj;
1558 fail:
1559 return NULL;
1560 }
1561
1562
1563 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
1564 PyObject *resultobj;
1565 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1566 double arg2 ;
1567 double arg3 ;
1568 PyObject * obj0 = 0 ;
1569 char *kwnames[] = {
1570 (char *) "self",(char *) "xs",(char *) "ys", NULL
1571 };
1572
1573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ScrolledWindow_SetScale",kwnames,&obj0,&arg2,&arg3)) goto fail;
1574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1575 {
1576 PyThreadState* __tstate = wxPyBeginAllowThreads();
1577 (arg1)->SetScale(arg2,arg3);
1578
1579 wxPyEndAllowThreads(__tstate);
1580 if (PyErr_Occurred()) SWIG_fail;
1581 }
1582 Py_INCREF(Py_None); resultobj = Py_None;
1583 return resultobj;
1584 fail:
1585 return NULL;
1586 }
1587
1588
1589 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
1590 PyObject *resultobj;
1591 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1592 double result;
1593 PyObject * obj0 = 0 ;
1594 char *kwnames[] = {
1595 (char *) "self", NULL
1596 };
1597
1598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
1599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1600 {
1601 PyThreadState* __tstate = wxPyBeginAllowThreads();
1602 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
1603
1604 wxPyEndAllowThreads(__tstate);
1605 if (PyErr_Occurred()) SWIG_fail;
1606 }
1607 resultobj = PyFloat_FromDouble(result);
1608 return resultobj;
1609 fail:
1610 return NULL;
1611 }
1612
1613
1614 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
1615 PyObject *resultobj;
1616 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1617 double result;
1618 PyObject * obj0 = 0 ;
1619 char *kwnames[] = {
1620 (char *) "self", NULL
1621 };
1622
1623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
1624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1625 {
1626 PyThreadState* __tstate = wxPyBeginAllowThreads();
1627 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
1628
1629 wxPyEndAllowThreads(__tstate);
1630 if (PyErr_Occurred()) SWIG_fail;
1631 }
1632 resultobj = PyFloat_FromDouble(result);
1633 return resultobj;
1634 fail:
1635 return NULL;
1636 }
1637
1638
1639 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1640 PyObject *resultobj;
1641 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1642 wxPoint *arg2 = 0 ;
1643 wxPoint result;
1644 wxPoint temp2 ;
1645 PyObject * obj0 = 0 ;
1646 PyObject * obj1 = 0 ;
1647
1648 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
1649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1650 {
1651 arg2 = &temp2;
1652 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1653 }
1654 {
1655 PyThreadState* __tstate = wxPyBeginAllowThreads();
1656 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
1657
1658 wxPyEndAllowThreads(__tstate);
1659 if (PyErr_Occurred()) SWIG_fail;
1660 }
1661 {
1662 wxPoint * resultptr;
1663 resultptr = new wxPoint((wxPoint &) result);
1664 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
1665 }
1666 return resultobj;
1667 fail:
1668 return NULL;
1669 }
1670
1671
1672 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1673 PyObject *resultobj;
1674 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1675 int arg2 ;
1676 int arg3 ;
1677 int *arg4 = (int *) 0 ;
1678 int *arg5 = (int *) 0 ;
1679 int temp4 ;
1680 int temp5 ;
1681 PyObject * obj0 = 0 ;
1682
1683 arg4 = &temp4;
1684 arg5 = &temp5;
1685 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcScrolledPosition",&obj0,&arg2,&arg3)) goto fail;
1686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1687 {
1688 PyThreadState* __tstate = wxPyBeginAllowThreads();
1689 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
1690
1691 wxPyEndAllowThreads(__tstate);
1692 if (PyErr_Occurred()) SWIG_fail;
1693 }
1694 Py_INCREF(Py_None); resultobj = Py_None;
1695 {
1696 PyObject *o = PyInt_FromLong((long) (*arg4));
1697 resultobj = t_output_helper(resultobj,o);
1698 }
1699 {
1700 PyObject *o = PyInt_FromLong((long) (*arg5));
1701 resultobj = t_output_helper(resultobj,o);
1702 }
1703 return resultobj;
1704 fail:
1705 return NULL;
1706 }
1707
1708
1709 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
1710 int argc;
1711 PyObject *argv[4];
1712 int ii;
1713
1714 argc = PyObject_Length(args);
1715 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1716 argv[ii] = PyTuple_GetItem(args,ii);
1717 }
1718 if (argc == 2) {
1719 int _v;
1720 {
1721 void *ptr;
1722 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1723 _v = 0;
1724 PyErr_Clear();
1725 } else {
1726 _v = 1;
1727 }
1728 }
1729 if (_v) {
1730 {
1731 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1732 }
1733 if (_v) {
1734 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
1735 }
1736 }
1737 }
1738 if (argc == 3) {
1739 int _v;
1740 {
1741 void *ptr;
1742 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1743 _v = 0;
1744 PyErr_Clear();
1745 } else {
1746 _v = 1;
1747 }
1748 }
1749 if (_v) {
1750 {
1751 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1752 }
1753 if (_v) {
1754 {
1755 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1756 }
1757 if (_v) {
1758 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
1759 }
1760 }
1761 }
1762 }
1763
1764 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
1765 return NULL;
1766 }
1767
1768
1769 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1770 PyObject *resultobj;
1771 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1772 wxPoint *arg2 = 0 ;
1773 wxPoint result;
1774 wxPoint temp2 ;
1775 PyObject * obj0 = 0 ;
1776 PyObject * obj1 = 0 ;
1777
1778 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
1779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1780 {
1781 arg2 = &temp2;
1782 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1783 }
1784 {
1785 PyThreadState* __tstate = wxPyBeginAllowThreads();
1786 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
1787
1788 wxPyEndAllowThreads(__tstate);
1789 if (PyErr_Occurred()) SWIG_fail;
1790 }
1791 {
1792 wxPoint * resultptr;
1793 resultptr = new wxPoint((wxPoint &) result);
1794 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
1795 }
1796 return resultobj;
1797 fail:
1798 return NULL;
1799 }
1800
1801
1802 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1803 PyObject *resultobj;
1804 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1805 int arg2 ;
1806 int arg3 ;
1807 int *arg4 = (int *) 0 ;
1808 int *arg5 = (int *) 0 ;
1809 int temp4 ;
1810 int temp5 ;
1811 PyObject * obj0 = 0 ;
1812
1813 arg4 = &temp4;
1814 arg5 = &temp5;
1815 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcUnscrolledPosition",&obj0,&arg2,&arg3)) goto fail;
1816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1817 {
1818 PyThreadState* __tstate = wxPyBeginAllowThreads();
1819 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
1820
1821 wxPyEndAllowThreads(__tstate);
1822 if (PyErr_Occurred()) SWIG_fail;
1823 }
1824 Py_INCREF(Py_None); resultobj = Py_None;
1825 {
1826 PyObject *o = PyInt_FromLong((long) (*arg4));
1827 resultobj = t_output_helper(resultobj,o);
1828 }
1829 {
1830 PyObject *o = PyInt_FromLong((long) (*arg5));
1831 resultobj = t_output_helper(resultobj,o);
1832 }
1833 return resultobj;
1834 fail:
1835 return NULL;
1836 }
1837
1838
1839 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
1840 int argc;
1841 PyObject *argv[4];
1842 int ii;
1843
1844 argc = PyObject_Length(args);
1845 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1846 argv[ii] = PyTuple_GetItem(args,ii);
1847 }
1848 if (argc == 2) {
1849 int _v;
1850 {
1851 void *ptr;
1852 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1853 _v = 0;
1854 PyErr_Clear();
1855 } else {
1856 _v = 1;
1857 }
1858 }
1859 if (_v) {
1860 {
1861 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1862 }
1863 if (_v) {
1864 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
1865 }
1866 }
1867 }
1868 if (argc == 3) {
1869 int _v;
1870 {
1871 void *ptr;
1872 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1873 _v = 0;
1874 PyErr_Clear();
1875 } else {
1876 _v = 1;
1877 }
1878 }
1879 if (_v) {
1880 {
1881 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1882 }
1883 if (_v) {
1884 {
1885 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1886 }
1887 if (_v) {
1888 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
1889 }
1890 }
1891 }
1892 }
1893
1894 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
1895 return NULL;
1896 }
1897
1898
1899 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1900 PyObject *resultobj;
1901 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1902 PyObject * obj0 = 0 ;
1903 char *kwnames[] = {
1904 (char *) "self", NULL
1905 };
1906
1907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
1908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1909 {
1910 PyThreadState* __tstate = wxPyBeginAllowThreads();
1911 (arg1)->AdjustScrollbars();
1912
1913 wxPyEndAllowThreads(__tstate);
1914 if (PyErr_Occurred()) SWIG_fail;
1915 }
1916 Py_INCREF(Py_None); resultobj = Py_None;
1917 return resultobj;
1918 fail:
1919 return NULL;
1920 }
1921
1922
1923 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
1924 PyObject *resultobj;
1925 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1926 wxScrollWinEvent *arg2 = 0 ;
1927 int result;
1928 PyObject * obj0 = 0 ;
1929 PyObject * obj1 = 0 ;
1930 char *kwnames[] = {
1931 (char *) "self",(char *) "event", NULL
1932 };
1933
1934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
1935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1936 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1937 if (arg2 == NULL) {
1938 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1939 }
1940 {
1941 PyThreadState* __tstate = wxPyBeginAllowThreads();
1942 result = (int)(arg1)->CalcScrollInc(*arg2);
1943
1944 wxPyEndAllowThreads(__tstate);
1945 if (PyErr_Occurred()) SWIG_fail;
1946 }
1947 resultobj = PyInt_FromLong((long)result);
1948 return resultobj;
1949 fail:
1950 return NULL;
1951 }
1952
1953
1954 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1955 PyObject *resultobj;
1956 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1957 wxWindow *arg2 = (wxWindow *) 0 ;
1958 PyObject * obj0 = 0 ;
1959 PyObject * obj1 = 0 ;
1960 char *kwnames[] = {
1961 (char *) "self",(char *) "target", NULL
1962 };
1963
1964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
1965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1966 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1967 {
1968 PyThreadState* __tstate = wxPyBeginAllowThreads();
1969 (arg1)->SetTargetWindow(arg2);
1970
1971 wxPyEndAllowThreads(__tstate);
1972 if (PyErr_Occurred()) SWIG_fail;
1973 }
1974 Py_INCREF(Py_None); resultobj = Py_None;
1975 return resultobj;
1976 fail:
1977 return NULL;
1978 }
1979
1980
1981 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1982 PyObject *resultobj;
1983 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1984 wxWindow *result;
1985 PyObject * obj0 = 0 ;
1986 char *kwnames[] = {
1987 (char *) "self", NULL
1988 };
1989
1990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
1991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1992 {
1993 PyThreadState* __tstate = wxPyBeginAllowThreads();
1994 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
1995
1996 wxPyEndAllowThreads(__tstate);
1997 if (PyErr_Occurred()) SWIG_fail;
1998 }
1999 {
2000 resultobj = wxPyMake_wxObject(result);
2001 }
2002 return resultobj;
2003 fail:
2004 return NULL;
2005 }
2006
2007
2008 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2009 PyObject *resultobj;
2010 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2011 wxRect *arg2 = 0 ;
2012 wxRect temp2 ;
2013 PyObject * obj0 = 0 ;
2014 PyObject * obj1 = 0 ;
2015 char *kwnames[] = {
2016 (char *) "self",(char *) "rect", NULL
2017 };
2018
2019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2021 {
2022 arg2 = &temp2;
2023 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2024 }
2025 {
2026 PyThreadState* __tstate = wxPyBeginAllowThreads();
2027 (arg1)->SetTargetRect((wxRect const &)*arg2);
2028
2029 wxPyEndAllowThreads(__tstate);
2030 if (PyErr_Occurred()) SWIG_fail;
2031 }
2032 Py_INCREF(Py_None); resultobj = Py_None;
2033 return resultobj;
2034 fail:
2035 return NULL;
2036 }
2037
2038
2039 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2040 PyObject *resultobj;
2041 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2042 wxRect result;
2043 PyObject * obj0 = 0 ;
2044 char *kwnames[] = {
2045 (char *) "self", NULL
2046 };
2047
2048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2050 {
2051 PyThreadState* __tstate = wxPyBeginAllowThreads();
2052 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2053
2054 wxPyEndAllowThreads(__tstate);
2055 if (PyErr_Occurred()) SWIG_fail;
2056 }
2057 {
2058 wxRect * resultptr;
2059 resultptr = new wxRect((wxRect &) result);
2060 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
2061 }
2062 return resultobj;
2063 fail:
2064 return NULL;
2065 }
2066
2067
2068 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2069 PyObject *obj;
2070 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2071 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2072 Py_INCREF(obj);
2073 return Py_BuildValue((char *)"");
2074 }
2075 static int _wrap_FrameNameStr_set(PyObject *_val) {
2076 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2077 return 1;
2078 }
2079
2080
2081 static PyObject *_wrap_FrameNameStr_get() {
2082 PyObject *pyobj;
2083
2084 {
2085 #if wxUSE_UNICODE
2086 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2087 #else
2088 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2089 #endif
2090 }
2091 return pyobj;
2092 }
2093
2094
2095 static int _wrap_DialogNameStr_set(PyObject *_val) {
2096 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2097 return 1;
2098 }
2099
2100
2101 static PyObject *_wrap_DialogNameStr_get() {
2102 PyObject *pyobj;
2103
2104 {
2105 #if wxUSE_UNICODE
2106 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2107 #else
2108 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2109 #endif
2110 }
2111 return pyobj;
2112 }
2113
2114
2115 static int _wrap_StatusLineNameStr_set(PyObject *_val) {
2116 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2117 return 1;
2118 }
2119
2120
2121 static PyObject *_wrap_StatusLineNameStr_get() {
2122 PyObject *pyobj;
2123
2124 {
2125 #if wxUSE_UNICODE
2126 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2127 #else
2128 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2129 #endif
2130 }
2131 return pyobj;
2132 }
2133
2134
2135 static int _wrap_ToolBarNameStr_set(PyObject *_val) {
2136 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2137 return 1;
2138 }
2139
2140
2141 static PyObject *_wrap_ToolBarNameStr_get() {
2142 PyObject *pyobj;
2143
2144 {
2145 #if wxUSE_UNICODE
2146 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2147 #else
2148 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2149 #endif
2150 }
2151 return pyobj;
2152 }
2153
2154
2155 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2156 PyObject *resultobj;
2157 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2158 bool arg2 = (bool) True ;
2159 PyObject * obj0 = 0 ;
2160 PyObject * obj1 = 0 ;
2161 char *kwnames[] = {
2162 (char *) "self",(char *) "maximize", NULL
2163 };
2164
2165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2167 if (obj1) {
2168 arg2 = PyInt_AsLong(obj1) ? true : false;
2169 if (PyErr_Occurred()) SWIG_fail;
2170 }
2171 {
2172 PyThreadState* __tstate = wxPyBeginAllowThreads();
2173 (arg1)->Maximize(arg2);
2174
2175 wxPyEndAllowThreads(__tstate);
2176 if (PyErr_Occurred()) SWIG_fail;
2177 }
2178 Py_INCREF(Py_None); resultobj = Py_None;
2179 return resultobj;
2180 fail:
2181 return NULL;
2182 }
2183
2184
2185 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2186 PyObject *resultobj;
2187 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2188 PyObject * obj0 = 0 ;
2189 char *kwnames[] = {
2190 (char *) "self", NULL
2191 };
2192
2193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2195 {
2196 PyThreadState* __tstate = wxPyBeginAllowThreads();
2197 (arg1)->Restore();
2198
2199 wxPyEndAllowThreads(__tstate);
2200 if (PyErr_Occurred()) SWIG_fail;
2201 }
2202 Py_INCREF(Py_None); resultobj = Py_None;
2203 return resultobj;
2204 fail:
2205 return NULL;
2206 }
2207
2208
2209 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2210 PyObject *resultobj;
2211 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2212 bool arg2 = (bool) True ;
2213 PyObject * obj0 = 0 ;
2214 PyObject * obj1 = 0 ;
2215 char *kwnames[] = {
2216 (char *) "self",(char *) "iconize", NULL
2217 };
2218
2219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2221 if (obj1) {
2222 arg2 = PyInt_AsLong(obj1) ? true : false;
2223 if (PyErr_Occurred()) SWIG_fail;
2224 }
2225 {
2226 PyThreadState* __tstate = wxPyBeginAllowThreads();
2227 (arg1)->Iconize(arg2);
2228
2229 wxPyEndAllowThreads(__tstate);
2230 if (PyErr_Occurred()) SWIG_fail;
2231 }
2232 Py_INCREF(Py_None); resultobj = Py_None;
2233 return resultobj;
2234 fail:
2235 return NULL;
2236 }
2237
2238
2239 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2240 PyObject *resultobj;
2241 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2242 bool result;
2243 PyObject * obj0 = 0 ;
2244 char *kwnames[] = {
2245 (char *) "self", NULL
2246 };
2247
2248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2250 {
2251 PyThreadState* __tstate = wxPyBeginAllowThreads();
2252 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2253
2254 wxPyEndAllowThreads(__tstate);
2255 if (PyErr_Occurred()) SWIG_fail;
2256 }
2257 resultobj = PyInt_FromLong((long)result);
2258 return resultobj;
2259 fail:
2260 return NULL;
2261 }
2262
2263
2264 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2265 PyObject *resultobj;
2266 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2267 bool result;
2268 PyObject * obj0 = 0 ;
2269 char *kwnames[] = {
2270 (char *) "self", NULL
2271 };
2272
2273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2275 {
2276 PyThreadState* __tstate = wxPyBeginAllowThreads();
2277 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2278
2279 wxPyEndAllowThreads(__tstate);
2280 if (PyErr_Occurred()) SWIG_fail;
2281 }
2282 resultobj = PyInt_FromLong((long)result);
2283 return resultobj;
2284 fail:
2285 return NULL;
2286 }
2287
2288
2289 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2290 PyObject *resultobj;
2291 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2292 wxIcon result;
2293 PyObject * obj0 = 0 ;
2294 char *kwnames[] = {
2295 (char *) "self", NULL
2296 };
2297
2298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2300 {
2301 PyThreadState* __tstate = wxPyBeginAllowThreads();
2302 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2303
2304 wxPyEndAllowThreads(__tstate);
2305 if (PyErr_Occurred()) SWIG_fail;
2306 }
2307 {
2308 wxIcon * resultptr;
2309 resultptr = new wxIcon((wxIcon &) result);
2310 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
2311 }
2312 return resultobj;
2313 fail:
2314 return NULL;
2315 }
2316
2317
2318 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2319 PyObject *resultobj;
2320 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2321 wxIcon *arg2 = 0 ;
2322 PyObject * obj0 = 0 ;
2323 PyObject * obj1 = 0 ;
2324 char *kwnames[] = {
2325 (char *) "self",(char *) "icon", NULL
2326 };
2327
2328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2330 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2331 if (arg2 == NULL) {
2332 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2333 }
2334 {
2335 PyThreadState* __tstate = wxPyBeginAllowThreads();
2336 (arg1)->SetIcon((wxIcon const &)*arg2);
2337
2338 wxPyEndAllowThreads(__tstate);
2339 if (PyErr_Occurred()) SWIG_fail;
2340 }
2341 Py_INCREF(Py_None); resultobj = Py_None;
2342 return resultobj;
2343 fail:
2344 return NULL;
2345 }
2346
2347
2348 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2349 PyObject *resultobj;
2350 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2351 wxIconBundle *arg2 = 0 ;
2352 PyObject * obj0 = 0 ;
2353 PyObject * obj1 = 0 ;
2354 char *kwnames[] = {
2355 (char *) "self",(char *) "icons", NULL
2356 };
2357
2358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2360 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIconBundle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2361 if (arg2 == NULL) {
2362 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2363 }
2364 {
2365 PyThreadState* __tstate = wxPyBeginAllowThreads();
2366 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2367
2368 wxPyEndAllowThreads(__tstate);
2369 if (PyErr_Occurred()) SWIG_fail;
2370 }
2371 Py_INCREF(Py_None); resultobj = Py_None;
2372 return resultobj;
2373 fail:
2374 return NULL;
2375 }
2376
2377
2378 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2379 PyObject *resultobj;
2380 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2381 bool arg2 ;
2382 long arg3 = (long) wxFULLSCREEN_ALL ;
2383 bool result;
2384 PyObject * obj0 = 0 ;
2385 PyObject * obj1 = 0 ;
2386 char *kwnames[] = {
2387 (char *) "self",(char *) "show",(char *) "style", NULL
2388 };
2389
2390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&arg3)) goto fail;
2391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2392 arg2 = PyInt_AsLong(obj1) ? true : false;
2393 if (PyErr_Occurred()) SWIG_fail;
2394 {
2395 PyThreadState* __tstate = wxPyBeginAllowThreads();
2396 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2397
2398 wxPyEndAllowThreads(__tstate);
2399 if (PyErr_Occurred()) SWIG_fail;
2400 }
2401 resultobj = PyInt_FromLong((long)result);
2402 return resultobj;
2403 fail:
2404 return NULL;
2405 }
2406
2407
2408 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2409 PyObject *resultobj;
2410 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2411 bool result;
2412 PyObject * obj0 = 0 ;
2413 char *kwnames[] = {
2414 (char *) "self", NULL
2415 };
2416
2417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2419 {
2420 PyThreadState* __tstate = wxPyBeginAllowThreads();
2421 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2422
2423 wxPyEndAllowThreads(__tstate);
2424 if (PyErr_Occurred()) SWIG_fail;
2425 }
2426 resultobj = PyInt_FromLong((long)result);
2427 return resultobj;
2428 fail:
2429 return NULL;
2430 }
2431
2432
2433 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2434 PyObject *resultobj;
2435 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2436 wxString *arg2 = 0 ;
2437 bool temp2 = False ;
2438 PyObject * obj0 = 0 ;
2439 PyObject * obj1 = 0 ;
2440 char *kwnames[] = {
2441 (char *) "self",(char *) "title", NULL
2442 };
2443
2444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2446 {
2447 arg2 = wxString_in_helper(obj1);
2448 if (arg2 == NULL) SWIG_fail;
2449 temp2 = True;
2450 }
2451 {
2452 PyThreadState* __tstate = wxPyBeginAllowThreads();
2453 (arg1)->SetTitle((wxString const &)*arg2);
2454
2455 wxPyEndAllowThreads(__tstate);
2456 if (PyErr_Occurred()) SWIG_fail;
2457 }
2458 Py_INCREF(Py_None); resultobj = Py_None;
2459 {
2460 if (temp2)
2461 delete arg2;
2462 }
2463 return resultobj;
2464 fail:
2465 {
2466 if (temp2)
2467 delete arg2;
2468 }
2469 return NULL;
2470 }
2471
2472
2473 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2474 PyObject *resultobj;
2475 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2476 wxString result;
2477 PyObject * obj0 = 0 ;
2478 char *kwnames[] = {
2479 (char *) "self", NULL
2480 };
2481
2482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2484 {
2485 PyThreadState* __tstate = wxPyBeginAllowThreads();
2486 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2487
2488 wxPyEndAllowThreads(__tstate);
2489 if (PyErr_Occurred()) SWIG_fail;
2490 }
2491 {
2492 #if wxUSE_UNICODE
2493 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2494 #else
2495 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2496 #endif
2497 }
2498 return resultobj;
2499 fail:
2500 return NULL;
2501 }
2502
2503
2504 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2505 PyObject *resultobj;
2506 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2507 wxRegion *arg2 = 0 ;
2508 bool result;
2509 PyObject * obj0 = 0 ;
2510 PyObject * obj1 = 0 ;
2511 char *kwnames[] = {
2512 (char *) "self",(char *) "region", NULL
2513 };
2514
2515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2517 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2518 if (arg2 == NULL) {
2519 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2520 }
2521 {
2522 PyThreadState* __tstate = wxPyBeginAllowThreads();
2523 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2524
2525 wxPyEndAllowThreads(__tstate);
2526 if (PyErr_Occurred()) SWIG_fail;
2527 }
2528 resultobj = PyInt_FromLong((long)result);
2529 return resultobj;
2530 fail:
2531 return NULL;
2532 }
2533
2534
2535 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
2536 PyObject *obj;
2537 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2538 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
2539 Py_INCREF(obj);
2540 return Py_BuildValue((char *)"");
2541 }
2542 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
2543 PyObject *resultobj;
2544 wxWindow *arg1 = (wxWindow *) 0 ;
2545 int arg2 ;
2546 wxString *arg3 = 0 ;
2547 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2548 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2549 wxSize const &arg5_defvalue = wxDefaultSize ;
2550 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2551 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
2552 wxString const &arg7_defvalue = wxPyFrameNameStr ;
2553 wxString *arg7 = (wxString *) &arg7_defvalue ;
2554 wxFrame *result;
2555 bool temp3 = False ;
2556 wxPoint temp4 ;
2557 wxSize temp5 ;
2558 bool temp7 = False ;
2559 PyObject * obj0 = 0 ;
2560 PyObject * obj2 = 0 ;
2561 PyObject * obj3 = 0 ;
2562 PyObject * obj4 = 0 ;
2563 PyObject * obj6 = 0 ;
2564 char *kwnames[] = {
2565 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2566 };
2567
2568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Frame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
2569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2570 {
2571 arg3 = wxString_in_helper(obj2);
2572 if (arg3 == NULL) SWIG_fail;
2573 temp3 = True;
2574 }
2575 if (obj3) {
2576 {
2577 arg4 = &temp4;
2578 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2579 }
2580 }
2581 if (obj4) {
2582 {
2583 arg5 = &temp5;
2584 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2585 }
2586 }
2587 if (obj6) {
2588 {
2589 arg7 = wxString_in_helper(obj6);
2590 if (arg7 == NULL) SWIG_fail;
2591 temp7 = True;
2592 }
2593 }
2594 {
2595 PyThreadState* __tstate = wxPyBeginAllowThreads();
2596 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2597
2598 wxPyEndAllowThreads(__tstate);
2599 if (PyErr_Occurred()) SWIG_fail;
2600 }
2601 {
2602 resultobj = wxPyMake_wxObject(result);
2603 }
2604 {
2605 if (temp3)
2606 delete arg3;
2607 }
2608 {
2609 if (temp7)
2610 delete arg7;
2611 }
2612 return resultobj;
2613 fail:
2614 {
2615 if (temp3)
2616 delete arg3;
2617 }
2618 {
2619 if (temp7)
2620 delete arg7;
2621 }
2622 return NULL;
2623 }
2624
2625
2626 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
2627 PyObject *resultobj;
2628 wxFrame *result;
2629 char *kwnames[] = {
2630 NULL
2631 };
2632
2633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
2634 {
2635 PyThreadState* __tstate = wxPyBeginAllowThreads();
2636 result = (wxFrame *)new wxFrame();
2637
2638 wxPyEndAllowThreads(__tstate);
2639 if (PyErr_Occurred()) SWIG_fail;
2640 }
2641 {
2642 resultobj = wxPyMake_wxObject(result);
2643 }
2644 return resultobj;
2645 fail:
2646 return NULL;
2647 }
2648
2649
2650 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2651 PyObject *resultobj;
2652 wxFrame *arg1 = (wxFrame *) 0 ;
2653 wxWindow *arg2 = (wxWindow *) 0 ;
2654 int arg3 ;
2655 wxString *arg4 = 0 ;
2656 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2657 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2658 wxSize const &arg6_defvalue = wxDefaultSize ;
2659 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2660 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
2661 wxString const &arg8_defvalue = wxPyFrameNameStr ;
2662 wxString *arg8 = (wxString *) &arg8_defvalue ;
2663 bool result;
2664 bool temp4 = False ;
2665 wxPoint temp5 ;
2666 wxSize temp6 ;
2667 bool temp8 = False ;
2668 PyObject * obj0 = 0 ;
2669 PyObject * obj1 = 0 ;
2670 PyObject * obj3 = 0 ;
2671 PyObject * obj4 = 0 ;
2672 PyObject * obj5 = 0 ;
2673 PyObject * obj7 = 0 ;
2674 char *kwnames[] = {
2675 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2676 };
2677
2678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Frame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
2679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2680 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2681 {
2682 arg4 = wxString_in_helper(obj3);
2683 if (arg4 == NULL) SWIG_fail;
2684 temp4 = True;
2685 }
2686 if (obj4) {
2687 {
2688 arg5 = &temp5;
2689 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2690 }
2691 }
2692 if (obj5) {
2693 {
2694 arg6 = &temp6;
2695 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2696 }
2697 }
2698 if (obj7) {
2699 {
2700 arg8 = wxString_in_helper(obj7);
2701 if (arg8 == NULL) SWIG_fail;
2702 temp8 = True;
2703 }
2704 }
2705 {
2706 PyThreadState* __tstate = wxPyBeginAllowThreads();
2707 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
2708
2709 wxPyEndAllowThreads(__tstate);
2710 if (PyErr_Occurred()) SWIG_fail;
2711 }
2712 resultobj = PyInt_FromLong((long)result);
2713 {
2714 if (temp4)
2715 delete arg4;
2716 }
2717 {
2718 if (temp8)
2719 delete arg8;
2720 }
2721 return resultobj;
2722 fail:
2723 {
2724 if (temp4)
2725 delete arg4;
2726 }
2727 {
2728 if (temp8)
2729 delete arg8;
2730 }
2731 return NULL;
2732 }
2733
2734
2735 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
2736 PyObject *resultobj;
2737 wxFrame *arg1 = (wxFrame *) 0 ;
2738 wxPoint result;
2739 PyObject * obj0 = 0 ;
2740 char *kwnames[] = {
2741 (char *) "self", NULL
2742 };
2743
2744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
2745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2746 {
2747 PyThreadState* __tstate = wxPyBeginAllowThreads();
2748 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
2749
2750 wxPyEndAllowThreads(__tstate);
2751 if (PyErr_Occurred()) SWIG_fail;
2752 }
2753 {
2754 wxPoint * resultptr;
2755 resultptr = new wxPoint((wxPoint &) result);
2756 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2757 }
2758 return resultobj;
2759 fail:
2760 return NULL;
2761 }
2762
2763
2764 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
2765 PyObject *resultobj;
2766 wxFrame *arg1 = (wxFrame *) 0 ;
2767 PyObject * obj0 = 0 ;
2768 char *kwnames[] = {
2769 (char *) "self", NULL
2770 };
2771
2772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
2773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2774 {
2775 PyThreadState* __tstate = wxPyBeginAllowThreads();
2776 (arg1)->SendSizeEvent();
2777
2778 wxPyEndAllowThreads(__tstate);
2779 if (PyErr_Occurred()) SWIG_fail;
2780 }
2781 Py_INCREF(Py_None); resultobj = Py_None;
2782 return resultobj;
2783 fail:
2784 return NULL;
2785 }
2786
2787
2788 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2789 PyObject *resultobj;
2790 wxFrame *arg1 = (wxFrame *) 0 ;
2791 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
2792 PyObject * obj0 = 0 ;
2793 PyObject * obj1 = 0 ;
2794 char *kwnames[] = {
2795 (char *) "self",(char *) "menubar", NULL
2796 };
2797
2798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
2799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2800 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2801 {
2802 PyThreadState* __tstate = wxPyBeginAllowThreads();
2803 (arg1)->SetMenuBar(arg2);
2804
2805 wxPyEndAllowThreads(__tstate);
2806 if (PyErr_Occurred()) SWIG_fail;
2807 }
2808 Py_INCREF(Py_None); resultobj = Py_None;
2809 return resultobj;
2810 fail:
2811 return NULL;
2812 }
2813
2814
2815 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2816 PyObject *resultobj;
2817 wxFrame *arg1 = (wxFrame *) 0 ;
2818 wxMenuBar *result;
2819 PyObject * obj0 = 0 ;
2820 char *kwnames[] = {
2821 (char *) "self", NULL
2822 };
2823
2824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
2825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2826 {
2827 PyThreadState* __tstate = wxPyBeginAllowThreads();
2828 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
2829
2830 wxPyEndAllowThreads(__tstate);
2831 if (PyErr_Occurred()) SWIG_fail;
2832 }
2833 {
2834 resultobj = wxPyMake_wxObject(result);
2835 }
2836 return resultobj;
2837 fail:
2838 return NULL;
2839 }
2840
2841
2842 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
2843 PyObject *resultobj;
2844 wxFrame *arg1 = (wxFrame *) 0 ;
2845 int arg2 ;
2846 bool result;
2847 PyObject * obj0 = 0 ;
2848 char *kwnames[] = {
2849 (char *) "self",(char *) "winid", NULL
2850 };
2851
2852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_ProcessCommand",kwnames,&obj0,&arg2)) goto fail;
2853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2854 {
2855 PyThreadState* __tstate = wxPyBeginAllowThreads();
2856 result = (bool)(arg1)->ProcessCommand(arg2);
2857
2858 wxPyEndAllowThreads(__tstate);
2859 if (PyErr_Occurred()) SWIG_fail;
2860 }
2861 resultobj = PyInt_FromLong((long)result);
2862 return resultobj;
2863 fail:
2864 return NULL;
2865 }
2866
2867
2868 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2869 PyObject *resultobj;
2870 wxFrame *arg1 = (wxFrame *) 0 ;
2871 int arg2 = (int) 1 ;
2872 long arg3 = (long) wxST_SIZEGRIP ;
2873 int arg4 = (int) 0 ;
2874 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
2875 wxString *arg5 = (wxString *) &arg5_defvalue ;
2876 wxStatusBar *result;
2877 bool temp5 = False ;
2878 PyObject * obj0 = 0 ;
2879 PyObject * obj4 = 0 ;
2880 char *kwnames[] = {
2881 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
2882 };
2883
2884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iliO:Frame_CreateStatusBar",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
2885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2886 if (obj4) {
2887 {
2888 arg5 = wxString_in_helper(obj4);
2889 if (arg5 == NULL) SWIG_fail;
2890 temp5 = True;
2891 }
2892 }
2893 {
2894 PyThreadState* __tstate = wxPyBeginAllowThreads();
2895 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
2896
2897 wxPyEndAllowThreads(__tstate);
2898 if (PyErr_Occurred()) SWIG_fail;
2899 }
2900 {
2901 resultobj = wxPyMake_wxObject(result);
2902 }
2903 {
2904 if (temp5)
2905 delete arg5;
2906 }
2907 return resultobj;
2908 fail:
2909 {
2910 if (temp5)
2911 delete arg5;
2912 }
2913 return NULL;
2914 }
2915
2916
2917 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2918 PyObject *resultobj;
2919 wxFrame *arg1 = (wxFrame *) 0 ;
2920 wxStatusBar *result;
2921 PyObject * obj0 = 0 ;
2922 char *kwnames[] = {
2923 (char *) "self", NULL
2924 };
2925
2926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
2927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2928 {
2929 PyThreadState* __tstate = wxPyBeginAllowThreads();
2930 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
2931
2932 wxPyEndAllowThreads(__tstate);
2933 if (PyErr_Occurred()) SWIG_fail;
2934 }
2935 {
2936 resultobj = wxPyMake_wxObject(result);
2937 }
2938 return resultobj;
2939 fail:
2940 return NULL;
2941 }
2942
2943
2944 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2945 PyObject *resultobj;
2946 wxFrame *arg1 = (wxFrame *) 0 ;
2947 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
2948 PyObject * obj0 = 0 ;
2949 PyObject * obj1 = 0 ;
2950 char *kwnames[] = {
2951 (char *) "self",(char *) "statBar", NULL
2952 };
2953
2954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
2955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2956 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2957 {
2958 PyThreadState* __tstate = wxPyBeginAllowThreads();
2959 (arg1)->SetStatusBar(arg2);
2960
2961 wxPyEndAllowThreads(__tstate);
2962 if (PyErr_Occurred()) SWIG_fail;
2963 }
2964 Py_INCREF(Py_None); resultobj = Py_None;
2965 return resultobj;
2966 fail:
2967 return NULL;
2968 }
2969
2970
2971 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
2972 PyObject *resultobj;
2973 wxFrame *arg1 = (wxFrame *) 0 ;
2974 wxString *arg2 = 0 ;
2975 int arg3 = (int) 0 ;
2976 bool temp2 = False ;
2977 PyObject * obj0 = 0 ;
2978 PyObject * obj1 = 0 ;
2979 char *kwnames[] = {
2980 (char *) "self",(char *) "text",(char *) "number", NULL
2981 };
2982
2983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
2984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2985 {
2986 arg2 = wxString_in_helper(obj1);
2987 if (arg2 == NULL) SWIG_fail;
2988 temp2 = True;
2989 }
2990 {
2991 PyThreadState* __tstate = wxPyBeginAllowThreads();
2992 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
2993
2994 wxPyEndAllowThreads(__tstate);
2995 if (PyErr_Occurred()) SWIG_fail;
2996 }
2997 Py_INCREF(Py_None); resultobj = Py_None;
2998 {
2999 if (temp2)
3000 delete arg2;
3001 }
3002 return resultobj;
3003 fail:
3004 {
3005 if (temp2)
3006 delete arg2;
3007 }
3008 return NULL;
3009 }
3010
3011
3012 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3013 PyObject *resultobj;
3014 wxFrame *arg1 = (wxFrame *) 0 ;
3015 int arg2 ;
3016 int *arg3 = (int *) 0 ;
3017 PyObject * obj0 = 0 ;
3018 PyObject * obj1 = 0 ;
3019 char *kwnames[] = {
3020 (char *) "self",(char *) "widths", NULL
3021 };
3022
3023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3025 {
3026 arg2 = PyList_Size(obj1);
3027 arg3 = int_LIST_helper(obj1);
3028 if (arg3 == NULL) SWIG_fail;
3029 }
3030 {
3031 PyThreadState* __tstate = wxPyBeginAllowThreads();
3032 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3033
3034 wxPyEndAllowThreads(__tstate);
3035 if (PyErr_Occurred()) SWIG_fail;
3036 }
3037 Py_INCREF(Py_None); resultobj = Py_None;
3038 {
3039 if (arg3) delete [] arg3;
3040 }
3041 return resultobj;
3042 fail:
3043 {
3044 if (arg3) delete [] arg3;
3045 }
3046 return NULL;
3047 }
3048
3049
3050 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3051 PyObject *resultobj;
3052 wxFrame *arg1 = (wxFrame *) 0 ;
3053 wxString *arg2 = 0 ;
3054 int arg3 = (int) 0 ;
3055 bool temp2 = False ;
3056 PyObject * obj0 = 0 ;
3057 PyObject * obj1 = 0 ;
3058 char *kwnames[] = {
3059 (char *) "self",(char *) "text",(char *) "number", NULL
3060 };
3061
3062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
3063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3064 {
3065 arg2 = wxString_in_helper(obj1);
3066 if (arg2 == NULL) SWIG_fail;
3067 temp2 = True;
3068 }
3069 {
3070 PyThreadState* __tstate = wxPyBeginAllowThreads();
3071 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3072
3073 wxPyEndAllowThreads(__tstate);
3074 if (PyErr_Occurred()) SWIG_fail;
3075 }
3076 Py_INCREF(Py_None); resultobj = Py_None;
3077 {
3078 if (temp2)
3079 delete arg2;
3080 }
3081 return resultobj;
3082 fail:
3083 {
3084 if (temp2)
3085 delete arg2;
3086 }
3087 return NULL;
3088 }
3089
3090
3091 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3092 PyObject *resultobj;
3093 wxFrame *arg1 = (wxFrame *) 0 ;
3094 int arg2 = (int) 0 ;
3095 PyObject * obj0 = 0 ;
3096 char *kwnames[] = {
3097 (char *) "self",(char *) "number", NULL
3098 };
3099
3100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Frame_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
3101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3102 {
3103 PyThreadState* __tstate = wxPyBeginAllowThreads();
3104 (arg1)->PopStatusText(arg2);
3105
3106 wxPyEndAllowThreads(__tstate);
3107 if (PyErr_Occurred()) SWIG_fail;
3108 }
3109 Py_INCREF(Py_None); resultobj = Py_None;
3110 return resultobj;
3111 fail:
3112 return NULL;
3113 }
3114
3115
3116 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3117 PyObject *resultobj;
3118 wxFrame *arg1 = (wxFrame *) 0 ;
3119 int arg2 ;
3120 PyObject * obj0 = 0 ;
3121 char *kwnames[] = {
3122 (char *) "self",(char *) "n", NULL
3123 };
3124
3125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_SetStatusBarPane",kwnames,&obj0,&arg2)) goto fail;
3126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3127 {
3128 PyThreadState* __tstate = wxPyBeginAllowThreads();
3129 (arg1)->SetStatusBarPane(arg2);
3130
3131 wxPyEndAllowThreads(__tstate);
3132 if (PyErr_Occurred()) SWIG_fail;
3133 }
3134 Py_INCREF(Py_None); resultobj = Py_None;
3135 return resultobj;
3136 fail:
3137 return NULL;
3138 }
3139
3140
3141 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3142 PyObject *resultobj;
3143 wxFrame *arg1 = (wxFrame *) 0 ;
3144 int result;
3145 PyObject * obj0 = 0 ;
3146 char *kwnames[] = {
3147 (char *) "self", NULL
3148 };
3149
3150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3152 {
3153 PyThreadState* __tstate = wxPyBeginAllowThreads();
3154 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3155
3156 wxPyEndAllowThreads(__tstate);
3157 if (PyErr_Occurred()) SWIG_fail;
3158 }
3159 resultobj = PyInt_FromLong((long)result);
3160 return resultobj;
3161 fail:
3162 return NULL;
3163 }
3164
3165
3166 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3167 PyObject *resultobj;
3168 wxFrame *arg1 = (wxFrame *) 0 ;
3169 long arg2 = (long) -1 ;
3170 int arg3 = (int) -1 ;
3171 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3172 wxString *arg4 = (wxString *) &arg4_defvalue ;
3173 wxToolBar *result;
3174 bool temp4 = False ;
3175 PyObject * obj0 = 0 ;
3176 PyObject * obj3 = 0 ;
3177 char *kwnames[] = {
3178 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3179 };
3180
3181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|liO:Frame_CreateToolBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
3182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3183 if (obj3) {
3184 {
3185 arg4 = wxString_in_helper(obj3);
3186 if (arg4 == NULL) SWIG_fail;
3187 temp4 = True;
3188 }
3189 }
3190 {
3191 PyThreadState* __tstate = wxPyBeginAllowThreads();
3192 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3193
3194 wxPyEndAllowThreads(__tstate);
3195 if (PyErr_Occurred()) SWIG_fail;
3196 }
3197 {
3198 resultobj = wxPyMake_wxObject(result);
3199 }
3200 {
3201 if (temp4)
3202 delete arg4;
3203 }
3204 return resultobj;
3205 fail:
3206 {
3207 if (temp4)
3208 delete arg4;
3209 }
3210 return NULL;
3211 }
3212
3213
3214 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3215 PyObject *resultobj;
3216 wxFrame *arg1 = (wxFrame *) 0 ;
3217 wxToolBar *result;
3218 PyObject * obj0 = 0 ;
3219 char *kwnames[] = {
3220 (char *) "self", NULL
3221 };
3222
3223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3225 {
3226 PyThreadState* __tstate = wxPyBeginAllowThreads();
3227 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3228
3229 wxPyEndAllowThreads(__tstate);
3230 if (PyErr_Occurred()) SWIG_fail;
3231 }
3232 {
3233 resultobj = wxPyMake_wxObject(result);
3234 }
3235 return resultobj;
3236 fail:
3237 return NULL;
3238 }
3239
3240
3241 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3242 PyObject *resultobj;
3243 wxFrame *arg1 = (wxFrame *) 0 ;
3244 wxToolBar *arg2 = (wxToolBar *) 0 ;
3245 PyObject * obj0 = 0 ;
3246 PyObject * obj1 = 0 ;
3247 char *kwnames[] = {
3248 (char *) "self",(char *) "toolbar", NULL
3249 };
3250
3251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3253 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3254 {
3255 PyThreadState* __tstate = wxPyBeginAllowThreads();
3256 (arg1)->SetToolBar(arg2);
3257
3258 wxPyEndAllowThreads(__tstate);
3259 if (PyErr_Occurred()) SWIG_fail;
3260 }
3261 Py_INCREF(Py_None); resultobj = Py_None;
3262 return resultobj;
3263 fail:
3264 return NULL;
3265 }
3266
3267
3268 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3269 PyObject *resultobj;
3270 wxFrame *arg1 = (wxFrame *) 0 ;
3271 wxString *arg2 = 0 ;
3272 bool arg3 ;
3273 bool temp2 = False ;
3274 PyObject * obj0 = 0 ;
3275 PyObject * obj1 = 0 ;
3276 PyObject * obj2 = 0 ;
3277 char *kwnames[] = {
3278 (char *) "self",(char *) "text",(char *) "show", NULL
3279 };
3280
3281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3283 {
3284 arg2 = wxString_in_helper(obj1);
3285 if (arg2 == NULL) SWIG_fail;
3286 temp2 = True;
3287 }
3288 arg3 = PyInt_AsLong(obj2) ? true : false;
3289 if (PyErr_Occurred()) SWIG_fail;
3290 {
3291 PyThreadState* __tstate = wxPyBeginAllowThreads();
3292 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3293
3294 wxPyEndAllowThreads(__tstate);
3295 if (PyErr_Occurred()) SWIG_fail;
3296 }
3297 Py_INCREF(Py_None); resultobj = Py_None;
3298 {
3299 if (temp2)
3300 delete arg2;
3301 }
3302 return resultobj;
3303 fail:
3304 {
3305 if (temp2)
3306 delete arg2;
3307 }
3308 return NULL;
3309 }
3310
3311
3312 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3313 PyObject *resultobj;
3314 wxFrame *arg1 = (wxFrame *) 0 ;
3315 wxMenu *arg2 = (wxMenu *) NULL ;
3316 PyObject * obj0 = 0 ;
3317 PyObject * obj1 = 0 ;
3318 char *kwnames[] = {
3319 (char *) "self",(char *) "menu", NULL
3320 };
3321
3322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3324 if (obj1) {
3325 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3326 }
3327 {
3328 PyThreadState* __tstate = wxPyBeginAllowThreads();
3329 (arg1)->DoMenuUpdates(arg2);
3330
3331 wxPyEndAllowThreads(__tstate);
3332 if (PyErr_Occurred()) SWIG_fail;
3333 }
3334 Py_INCREF(Py_None); resultobj = Py_None;
3335 return resultobj;
3336 fail:
3337 return NULL;
3338 }
3339
3340
3341 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3342 PyObject *obj;
3343 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3344 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3345 Py_INCREF(obj);
3346 return Py_BuildValue((char *)"");
3347 }
3348 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3349 PyObject *resultobj;
3350 wxWindow *arg1 = (wxWindow *) 0 ;
3351 int arg2 ;
3352 wxString *arg3 = 0 ;
3353 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3354 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3355 wxSize const &arg5_defvalue = wxDefaultSize ;
3356 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3357 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3358 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3359 wxString *arg7 = (wxString *) &arg7_defvalue ;
3360 wxDialog *result;
3361 bool temp3 = False ;
3362 wxPoint temp4 ;
3363 wxSize temp5 ;
3364 bool temp7 = False ;
3365 PyObject * obj0 = 0 ;
3366 PyObject * obj2 = 0 ;
3367 PyObject * obj3 = 0 ;
3368 PyObject * obj4 = 0 ;
3369 PyObject * obj6 = 0 ;
3370 char *kwnames[] = {
3371 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3372 };
3373
3374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Dialog",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3376 {
3377 arg3 = wxString_in_helper(obj2);
3378 if (arg3 == NULL) SWIG_fail;
3379 temp3 = True;
3380 }
3381 if (obj3) {
3382 {
3383 arg4 = &temp4;
3384 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3385 }
3386 }
3387 if (obj4) {
3388 {
3389 arg5 = &temp5;
3390 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3391 }
3392 }
3393 if (obj6) {
3394 {
3395 arg7 = wxString_in_helper(obj6);
3396 if (arg7 == NULL) SWIG_fail;
3397 temp7 = True;
3398 }
3399 }
3400 {
3401 PyThreadState* __tstate = wxPyBeginAllowThreads();
3402 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3403
3404 wxPyEndAllowThreads(__tstate);
3405 if (PyErr_Occurred()) SWIG_fail;
3406 }
3407 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3408 {
3409 if (temp3)
3410 delete arg3;
3411 }
3412 {
3413 if (temp7)
3414 delete arg7;
3415 }
3416 return resultobj;
3417 fail:
3418 {
3419 if (temp3)
3420 delete arg3;
3421 }
3422 {
3423 if (temp7)
3424 delete arg7;
3425 }
3426 return NULL;
3427 }
3428
3429
3430 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3431 PyObject *resultobj;
3432 wxDialog *result;
3433 char *kwnames[] = {
3434 NULL
3435 };
3436
3437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
3438 {
3439 PyThreadState* __tstate = wxPyBeginAllowThreads();
3440 result = (wxDialog *)new wxDialog();
3441
3442 wxPyEndAllowThreads(__tstate);
3443 if (PyErr_Occurred()) SWIG_fail;
3444 }
3445 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3446 return resultobj;
3447 fail:
3448 return NULL;
3449 }
3450
3451
3452 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3453 PyObject *resultobj;
3454 wxDialog *arg1 = (wxDialog *) 0 ;
3455 wxWindow *arg2 = (wxWindow *) 0 ;
3456 int arg3 ;
3457 wxString *arg4 = 0 ;
3458 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3459 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3460 wxSize const &arg6_defvalue = wxDefaultSize ;
3461 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3462 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
3463 wxString const &arg8_defvalue = wxPyDialogNameStr ;
3464 wxString *arg8 = (wxString *) &arg8_defvalue ;
3465 bool result;
3466 bool temp4 = False ;
3467 wxPoint temp5 ;
3468 wxSize temp6 ;
3469 bool temp8 = False ;
3470 PyObject * obj0 = 0 ;
3471 PyObject * obj1 = 0 ;
3472 PyObject * obj3 = 0 ;
3473 PyObject * obj4 = 0 ;
3474 PyObject * obj5 = 0 ;
3475 PyObject * obj7 = 0 ;
3476 char *kwnames[] = {
3477 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3478 };
3479
3480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Dialog_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3482 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3483 {
3484 arg4 = wxString_in_helper(obj3);
3485 if (arg4 == NULL) SWIG_fail;
3486 temp4 = True;
3487 }
3488 if (obj4) {
3489 {
3490 arg5 = &temp5;
3491 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3492 }
3493 }
3494 if (obj5) {
3495 {
3496 arg6 = &temp6;
3497 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3498 }
3499 }
3500 if (obj7) {
3501 {
3502 arg8 = wxString_in_helper(obj7);
3503 if (arg8 == NULL) SWIG_fail;
3504 temp8 = True;
3505 }
3506 }
3507 {
3508 PyThreadState* __tstate = wxPyBeginAllowThreads();
3509 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3510
3511 wxPyEndAllowThreads(__tstate);
3512 if (PyErr_Occurred()) SWIG_fail;
3513 }
3514 resultobj = PyInt_FromLong((long)result);
3515 {
3516 if (temp4)
3517 delete arg4;
3518 }
3519 {
3520 if (temp8)
3521 delete arg8;
3522 }
3523 return resultobj;
3524 fail:
3525 {
3526 if (temp4)
3527 delete arg4;
3528 }
3529 {
3530 if (temp8)
3531 delete arg8;
3532 }
3533 return NULL;
3534 }
3535
3536
3537 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3538 PyObject *resultobj;
3539 wxDialog *arg1 = (wxDialog *) 0 ;
3540 int arg2 ;
3541 PyObject * obj0 = 0 ;
3542 char *kwnames[] = {
3543 (char *) "self",(char *) "returnCode", NULL
3544 };
3545
3546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_SetReturnCode",kwnames,&obj0,&arg2)) goto fail;
3547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3548 {
3549 PyThreadState* __tstate = wxPyBeginAllowThreads();
3550 (arg1)->SetReturnCode(arg2);
3551
3552 wxPyEndAllowThreads(__tstate);
3553 if (PyErr_Occurred()) SWIG_fail;
3554 }
3555 Py_INCREF(Py_None); resultobj = Py_None;
3556 return resultobj;
3557 fail:
3558 return NULL;
3559 }
3560
3561
3562 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3563 PyObject *resultobj;
3564 wxDialog *arg1 = (wxDialog *) 0 ;
3565 int result;
3566 PyObject * obj0 = 0 ;
3567 char *kwnames[] = {
3568 (char *) "self", NULL
3569 };
3570
3571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
3572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3573 {
3574 PyThreadState* __tstate = wxPyBeginAllowThreads();
3575 result = (int)((wxDialog const *)arg1)->GetReturnCode();
3576
3577 wxPyEndAllowThreads(__tstate);
3578 if (PyErr_Occurred()) SWIG_fail;
3579 }
3580 resultobj = PyInt_FromLong((long)result);
3581 return resultobj;
3582 fail:
3583 return NULL;
3584 }
3585
3586
3587 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3588 PyObject *resultobj;
3589 wxDialog *arg1 = (wxDialog *) 0 ;
3590 wxString *arg2 = 0 ;
3591 wxSizer *result;
3592 bool temp2 = False ;
3593 PyObject * obj0 = 0 ;
3594 PyObject * obj1 = 0 ;
3595 char *kwnames[] = {
3596 (char *) "self",(char *) "message", NULL
3597 };
3598
3599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
3600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3601 {
3602 arg2 = wxString_in_helper(obj1);
3603 if (arg2 == NULL) SWIG_fail;
3604 temp2 = True;
3605 }
3606 {
3607 PyThreadState* __tstate = wxPyBeginAllowThreads();
3608 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
3609
3610 wxPyEndAllowThreads(__tstate);
3611 if (PyErr_Occurred()) SWIG_fail;
3612 }
3613 {
3614 resultobj = wxPyMake_wxSizer(result);
3615 }
3616 {
3617 if (temp2)
3618 delete arg2;
3619 }
3620 return resultobj;
3621 fail:
3622 {
3623 if (temp2)
3624 delete arg2;
3625 }
3626 return NULL;
3627 }
3628
3629
3630 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3631 PyObject *resultobj;
3632 wxDialog *arg1 = (wxDialog *) 0 ;
3633 long arg2 ;
3634 wxSizer *result;
3635 PyObject * obj0 = 0 ;
3636 char *kwnames[] = {
3637 (char *) "self",(char *) "flags", NULL
3638 };
3639
3640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Dialog_CreateButtonSizer",kwnames,&obj0,&arg2)) goto fail;
3641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3642 {
3643 PyThreadState* __tstate = wxPyBeginAllowThreads();
3644 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
3645
3646 wxPyEndAllowThreads(__tstate);
3647 if (PyErr_Occurred()) SWIG_fail;
3648 }
3649 {
3650 resultobj = wxPyMake_wxSizer(result);
3651 }
3652 return resultobj;
3653 fail:
3654 return NULL;
3655 }
3656
3657
3658 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3659 PyObject *resultobj;
3660 wxDialog *arg1 = (wxDialog *) 0 ;
3661 bool result;
3662 PyObject * obj0 = 0 ;
3663 char *kwnames[] = {
3664 (char *) "self", NULL
3665 };
3666
3667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
3668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3669 {
3670 PyThreadState* __tstate = wxPyBeginAllowThreads();
3671 result = (bool)((wxDialog const *)arg1)->IsModal();
3672
3673 wxPyEndAllowThreads(__tstate);
3674 if (PyErr_Occurred()) SWIG_fail;
3675 }
3676 resultobj = PyInt_FromLong((long)result);
3677 return resultobj;
3678 fail:
3679 return NULL;
3680 }
3681
3682
3683 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3684 PyObject *resultobj;
3685 wxDialog *arg1 = (wxDialog *) 0 ;
3686 int result;
3687 PyObject * obj0 = 0 ;
3688 char *kwnames[] = {
3689 (char *) "self", NULL
3690 };
3691
3692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
3693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3694 {
3695 PyThreadState* __tstate = wxPyBeginAllowThreads();
3696 result = (int)(arg1)->ShowModal();
3697
3698 wxPyEndAllowThreads(__tstate);
3699 if (PyErr_Occurred()) SWIG_fail;
3700 }
3701 resultobj = PyInt_FromLong((long)result);
3702 return resultobj;
3703 fail:
3704 return NULL;
3705 }
3706
3707
3708 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3709 PyObject *resultobj;
3710 wxDialog *arg1 = (wxDialog *) 0 ;
3711 int arg2 ;
3712 PyObject * obj0 = 0 ;
3713 char *kwnames[] = {
3714 (char *) "self",(char *) "retCode", NULL
3715 };
3716
3717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_EndModal",kwnames,&obj0,&arg2)) goto fail;
3718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3719 {
3720 PyThreadState* __tstate = wxPyBeginAllowThreads();
3721 (arg1)->EndModal(arg2);
3722
3723 wxPyEndAllowThreads(__tstate);
3724 if (PyErr_Occurred()) SWIG_fail;
3725 }
3726 Py_INCREF(Py_None); resultobj = Py_None;
3727 return resultobj;
3728 fail:
3729 return NULL;
3730 }
3731
3732
3733 static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) {
3734 PyObject *resultobj;
3735 wxDialog *arg1 = (wxDialog *) 0 ;
3736 bool result;
3737 PyObject * obj0 = 0 ;
3738 char *kwnames[] = {
3739 (char *) "self", NULL
3740 };
3741
3742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
3743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3744 {
3745 PyThreadState* __tstate = wxPyBeginAllowThreads();
3746 result = (bool)wxDialog_IsModalShowing(arg1);
3747
3748 wxPyEndAllowThreads(__tstate);
3749 if (PyErr_Occurred()) SWIG_fail;
3750 }
3751 resultobj = PyInt_FromLong((long)result);
3752 return resultobj;
3753 fail:
3754 return NULL;
3755 }
3756
3757
3758 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
3759 PyObject *obj;
3760 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3761 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
3762 Py_INCREF(obj);
3763 return Py_BuildValue((char *)"");
3764 }
3765 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3766 PyObject *resultobj;
3767 wxWindow *arg1 = (wxWindow *) 0 ;
3768 int arg2 ;
3769 wxString *arg3 = 0 ;
3770 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3771 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3772 wxSize const &arg5_defvalue = wxDefaultSize ;
3773 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3774 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3775 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3776 wxString *arg7 = (wxString *) &arg7_defvalue ;
3777 wxMiniFrame *result;
3778 bool temp3 = False ;
3779 wxPoint temp4 ;
3780 wxSize temp5 ;
3781 bool temp7 = False ;
3782 PyObject * obj0 = 0 ;
3783 PyObject * obj2 = 0 ;
3784 PyObject * obj3 = 0 ;
3785 PyObject * obj4 = 0 ;
3786 PyObject * obj6 = 0 ;
3787 char *kwnames[] = {
3788 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3789 };
3790
3791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MiniFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3793 {
3794 arg3 = wxString_in_helper(obj2);
3795 if (arg3 == NULL) SWIG_fail;
3796 temp3 = True;
3797 }
3798 if (obj3) {
3799 {
3800 arg4 = &temp4;
3801 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3802 }
3803 }
3804 if (obj4) {
3805 {
3806 arg5 = &temp5;
3807 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3808 }
3809 }
3810 if (obj6) {
3811 {
3812 arg7 = wxString_in_helper(obj6);
3813 if (arg7 == NULL) SWIG_fail;
3814 temp7 = True;
3815 }
3816 }
3817 {
3818 PyThreadState* __tstate = wxPyBeginAllowThreads();
3819 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3820
3821 wxPyEndAllowThreads(__tstate);
3822 if (PyErr_Occurred()) SWIG_fail;
3823 }
3824 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
3825 {
3826 if (temp3)
3827 delete arg3;
3828 }
3829 {
3830 if (temp7)
3831 delete arg7;
3832 }
3833 return resultobj;
3834 fail:
3835 {
3836 if (temp3)
3837 delete arg3;
3838 }
3839 {
3840 if (temp7)
3841 delete arg7;
3842 }
3843 return NULL;
3844 }
3845
3846
3847 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3848 PyObject *resultobj;
3849 wxMiniFrame *result;
3850 char *kwnames[] = {
3851 NULL
3852 };
3853
3854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
3855 {
3856 PyThreadState* __tstate = wxPyBeginAllowThreads();
3857 result = (wxMiniFrame *)new wxMiniFrame();
3858
3859 wxPyEndAllowThreads(__tstate);
3860 if (PyErr_Occurred()) SWIG_fail;
3861 }
3862 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
3863 return resultobj;
3864 fail:
3865 return NULL;
3866 }
3867
3868
3869 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3870 PyObject *resultobj;
3871 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
3872 wxWindow *arg2 = (wxWindow *) 0 ;
3873 int arg3 ;
3874 wxString *arg4 = 0 ;
3875 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3876 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3877 wxSize const &arg6_defvalue = wxDefaultSize ;
3878 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3879 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3880 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3881 wxString *arg8 = (wxString *) &arg8_defvalue ;
3882 bool result;
3883 bool temp4 = False ;
3884 wxPoint temp5 ;
3885 wxSize temp6 ;
3886 bool temp8 = False ;
3887 PyObject * obj0 = 0 ;
3888 PyObject * obj1 = 0 ;
3889 PyObject * obj3 = 0 ;
3890 PyObject * obj4 = 0 ;
3891 PyObject * obj5 = 0 ;
3892 PyObject * obj7 = 0 ;
3893 char *kwnames[] = {
3894 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3895 };
3896
3897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MiniFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMiniFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3899 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3900 {
3901 arg4 = wxString_in_helper(obj3);
3902 if (arg4 == NULL) SWIG_fail;
3903 temp4 = True;
3904 }
3905 if (obj4) {
3906 {
3907 arg5 = &temp5;
3908 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3909 }
3910 }
3911 if (obj5) {
3912 {
3913 arg6 = &temp6;
3914 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3915 }
3916 }
3917 if (obj7) {
3918 {
3919 arg8 = wxString_in_helper(obj7);
3920 if (arg8 == NULL) SWIG_fail;
3921 temp8 = True;
3922 }
3923 }
3924 {
3925 PyThreadState* __tstate = wxPyBeginAllowThreads();
3926 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3927
3928 wxPyEndAllowThreads(__tstate);
3929 if (PyErr_Occurred()) SWIG_fail;
3930 }
3931 resultobj = PyInt_FromLong((long)result);
3932 {
3933 if (temp4)
3934 delete arg4;
3935 }
3936 {
3937 if (temp8)
3938 delete arg8;
3939 }
3940 return resultobj;
3941 fail:
3942 {
3943 if (temp4)
3944 delete arg4;
3945 }
3946 {
3947 if (temp8)
3948 delete arg8;
3949 }
3950 return NULL;
3951 }
3952
3953
3954 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
3955 PyObject *obj;
3956 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3957 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
3958 Py_INCREF(obj);
3959 return Py_BuildValue((char *)"");
3960 }
3961 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3962 PyObject *resultobj;
3963 wxBitmap *arg1 = 0 ;
3964 wxWindow *arg2 = (wxWindow *) 0 ;
3965 int arg3 ;
3966 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3967 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3968 wxSize const &arg5_defvalue = wxDefaultSize ;
3969 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3970 long arg6 = (long) wxNO_BORDER ;
3971 wxSplashScreenWindow *result;
3972 wxPoint temp4 ;
3973 wxSize temp5 ;
3974 PyObject * obj0 = 0 ;
3975 PyObject * obj1 = 0 ;
3976 PyObject * obj3 = 0 ;
3977 PyObject * obj4 = 0 ;
3978 char *kwnames[] = {
3979 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3980 };
3981
3982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOl:new_SplashScreenWindow",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
3983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3984 if (arg1 == NULL) {
3985 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3986 }
3987 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3988 if (obj3) {
3989 {
3990 arg4 = &temp4;
3991 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3992 }
3993 }
3994 if (obj4) {
3995 {
3996 arg5 = &temp5;
3997 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3998 }
3999 }
4000 {
4001 PyThreadState* __tstate = wxPyBeginAllowThreads();
4002 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4003
4004 wxPyEndAllowThreads(__tstate);
4005 if (PyErr_Occurred()) SWIG_fail;
4006 }
4007 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 1);
4008 return resultobj;
4009 fail:
4010 return NULL;
4011 }
4012
4013
4014 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4015 PyObject *resultobj;
4016 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4017 wxBitmap *arg2 = 0 ;
4018 PyObject * obj0 = 0 ;
4019 PyObject * obj1 = 0 ;
4020 char *kwnames[] = {
4021 (char *) "self",(char *) "bitmap", NULL
4022 };
4023
4024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4026 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4027 if (arg2 == NULL) {
4028 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4029 }
4030 {
4031 PyThreadState* __tstate = wxPyBeginAllowThreads();
4032 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4033
4034 wxPyEndAllowThreads(__tstate);
4035 if (PyErr_Occurred()) SWIG_fail;
4036 }
4037 Py_INCREF(Py_None); resultobj = Py_None;
4038 return resultobj;
4039 fail:
4040 return NULL;
4041 }
4042
4043
4044 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4045 PyObject *resultobj;
4046 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4047 wxBitmap *result;
4048 PyObject * obj0 = 0 ;
4049 char *kwnames[] = {
4050 (char *) "self", NULL
4051 };
4052
4053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4055 {
4056 PyThreadState* __tstate = wxPyBeginAllowThreads();
4057 {
4058 wxBitmap &_result_ref = (arg1)->GetBitmap();
4059 result = (wxBitmap *) &_result_ref;
4060 }
4061
4062 wxPyEndAllowThreads(__tstate);
4063 if (PyErr_Occurred()) SWIG_fail;
4064 }
4065 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
4066 return resultobj;
4067 fail:
4068 return NULL;
4069 }
4070
4071
4072 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4073 PyObject *obj;
4074 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4075 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4076 Py_INCREF(obj);
4077 return Py_BuildValue((char *)"");
4078 }
4079 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4080 PyObject *resultobj;
4081 wxBitmap *arg1 = 0 ;
4082 long arg2 ;
4083 int arg3 ;
4084 wxWindow *arg4 = (wxWindow *) 0 ;
4085 int arg5 ;
4086 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4087 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4088 wxSize const &arg7_defvalue = wxDefaultSize ;
4089 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4090 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4091 wxSplashScreen *result;
4092 wxPoint temp6 ;
4093 wxSize temp7 ;
4094 PyObject * obj0 = 0 ;
4095 PyObject * obj3 = 0 ;
4096 PyObject * obj5 = 0 ;
4097 PyObject * obj6 = 0 ;
4098 char *kwnames[] = {
4099 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4100 };
4101
4102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliOi|OOl:new_SplashScreen",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5,&obj5,&obj6,&arg8)) goto fail;
4103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4104 if (arg1 == NULL) {
4105 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4106 }
4107 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4108 if (obj5) {
4109 {
4110 arg6 = &temp6;
4111 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4112 }
4113 }
4114 if (obj6) {
4115 {
4116 arg7 = &temp7;
4117 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4118 }
4119 }
4120 {
4121 PyThreadState* __tstate = wxPyBeginAllowThreads();
4122 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4123
4124 wxPyEndAllowThreads(__tstate);
4125 if (PyErr_Occurred()) SWIG_fail;
4126 }
4127 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreen, 1);
4128 return resultobj;
4129 fail:
4130 return NULL;
4131 }
4132
4133
4134 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4135 PyObject *resultobj;
4136 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4137 long result;
4138 PyObject * obj0 = 0 ;
4139 char *kwnames[] = {
4140 (char *) "self", NULL
4141 };
4142
4143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4145 {
4146 PyThreadState* __tstate = wxPyBeginAllowThreads();
4147 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4148
4149 wxPyEndAllowThreads(__tstate);
4150 if (PyErr_Occurred()) SWIG_fail;
4151 }
4152 resultobj = PyInt_FromLong((long)result);
4153 return resultobj;
4154 fail:
4155 return NULL;
4156 }
4157
4158
4159 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4160 PyObject *resultobj;
4161 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4162 wxSplashScreenWindow *result;
4163 PyObject * obj0 = 0 ;
4164 char *kwnames[] = {
4165 (char *) "self", NULL
4166 };
4167
4168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4170 {
4171 PyThreadState* __tstate = wxPyBeginAllowThreads();
4172 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4173
4174 wxPyEndAllowThreads(__tstate);
4175 if (PyErr_Occurred()) SWIG_fail;
4176 }
4177 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 0);
4178 return resultobj;
4179 fail:
4180 return NULL;
4181 }
4182
4183
4184 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4185 PyObject *resultobj;
4186 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4187 int result;
4188 PyObject * obj0 = 0 ;
4189 char *kwnames[] = {
4190 (char *) "self", NULL
4191 };
4192
4193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4195 {
4196 PyThreadState* __tstate = wxPyBeginAllowThreads();
4197 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4198
4199 wxPyEndAllowThreads(__tstate);
4200 if (PyErr_Occurred()) SWIG_fail;
4201 }
4202 resultobj = PyInt_FromLong((long)result);
4203 return resultobj;
4204 fail:
4205 return NULL;
4206 }
4207
4208
4209 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4210 PyObject *obj;
4211 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4212 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4213 Py_INCREF(obj);
4214 return Py_BuildValue((char *)"");
4215 }
4216 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4217 PyObject *resultobj;
4218 wxWindow *arg1 = (wxWindow *) 0 ;
4219 int arg2 = (int) -1 ;
4220 long arg3 = (long) wxST_SIZEGRIP ;
4221 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4222 wxString *arg4 = (wxString *) &arg4_defvalue ;
4223 wxStatusBar *result;
4224 bool temp4 = False ;
4225 PyObject * obj0 = 0 ;
4226 PyObject * obj3 = 0 ;
4227 char *kwnames[] = {
4228 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4229 };
4230
4231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ilO:new_StatusBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
4232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4233 if (obj3) {
4234 {
4235 arg4 = wxString_in_helper(obj3);
4236 if (arg4 == NULL) SWIG_fail;
4237 temp4 = True;
4238 }
4239 }
4240 {
4241 PyThreadState* __tstate = wxPyBeginAllowThreads();
4242 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4243
4244 wxPyEndAllowThreads(__tstate);
4245 if (PyErr_Occurred()) SWIG_fail;
4246 }
4247 {
4248 resultobj = wxPyMake_wxObject(result);
4249 }
4250 {
4251 if (temp4)
4252 delete arg4;
4253 }
4254 return resultobj;
4255 fail:
4256 {
4257 if (temp4)
4258 delete arg4;
4259 }
4260 return NULL;
4261 }
4262
4263
4264 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4265 PyObject *resultobj;
4266 wxStatusBar *result;
4267 char *kwnames[] = {
4268 NULL
4269 };
4270
4271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4272 {
4273 PyThreadState* __tstate = wxPyBeginAllowThreads();
4274 result = (wxStatusBar *)new wxStatusBar();
4275
4276 wxPyEndAllowThreads(__tstate);
4277 if (PyErr_Occurred()) SWIG_fail;
4278 }
4279 {
4280 resultobj = wxPyMake_wxObject(result);
4281 }
4282 return resultobj;
4283 fail:
4284 return NULL;
4285 }
4286
4287
4288 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4289 PyObject *resultobj;
4290 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4291 wxWindow *arg2 = (wxWindow *) 0 ;
4292 int arg3 ;
4293 long arg4 = (long) wxST_SIZEGRIP ;
4294 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4295 wxString *arg5 = (wxString *) &arg5_defvalue ;
4296 bool result;
4297 bool temp5 = False ;
4298 PyObject * obj0 = 0 ;
4299 PyObject * obj1 = 0 ;
4300 PyObject * obj4 = 0 ;
4301 char *kwnames[] = {
4302 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4303 };
4304
4305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|lO:StatusBar_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
4306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4307 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4308 if (obj4) {
4309 {
4310 arg5 = wxString_in_helper(obj4);
4311 if (arg5 == NULL) SWIG_fail;
4312 temp5 = True;
4313 }
4314 }
4315 {
4316 PyThreadState* __tstate = wxPyBeginAllowThreads();
4317 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4318
4319 wxPyEndAllowThreads(__tstate);
4320 if (PyErr_Occurred()) SWIG_fail;
4321 }
4322 resultobj = PyInt_FromLong((long)result);
4323 {
4324 if (temp5)
4325 delete arg5;
4326 }
4327 return resultobj;
4328 fail:
4329 {
4330 if (temp5)
4331 delete arg5;
4332 }
4333 return NULL;
4334 }
4335
4336
4337 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4338 PyObject *resultobj;
4339 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4340 int arg2 = (int) 1 ;
4341 PyObject * obj0 = 0 ;
4342 char *kwnames[] = {
4343 (char *) "self",(char *) "number", NULL
4344 };
4345
4346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_SetFieldsCount",kwnames,&obj0,&arg2)) goto fail;
4347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4348 {
4349 PyThreadState* __tstate = wxPyBeginAllowThreads();
4350 (arg1)->SetFieldsCount(arg2);
4351
4352 wxPyEndAllowThreads(__tstate);
4353 if (PyErr_Occurred()) SWIG_fail;
4354 }
4355 Py_INCREF(Py_None); resultobj = Py_None;
4356 return resultobj;
4357 fail:
4358 return NULL;
4359 }
4360
4361
4362 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4363 PyObject *resultobj;
4364 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4365 int result;
4366 PyObject * obj0 = 0 ;
4367 char *kwnames[] = {
4368 (char *) "self", NULL
4369 };
4370
4371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
4372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4373 {
4374 PyThreadState* __tstate = wxPyBeginAllowThreads();
4375 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
4376
4377 wxPyEndAllowThreads(__tstate);
4378 if (PyErr_Occurred()) SWIG_fail;
4379 }
4380 resultobj = PyInt_FromLong((long)result);
4381 return resultobj;
4382 fail:
4383 return NULL;
4384 }
4385
4386
4387 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4388 PyObject *resultobj;
4389 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4390 wxString *arg2 = 0 ;
4391 int arg3 = (int) 0 ;
4392 bool temp2 = False ;
4393 PyObject * obj0 = 0 ;
4394 PyObject * obj1 = 0 ;
4395 char *kwnames[] = {
4396 (char *) "self",(char *) "text",(char *) "number", NULL
4397 };
4398
4399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4401 {
4402 arg2 = wxString_in_helper(obj1);
4403 if (arg2 == NULL) SWIG_fail;
4404 temp2 = True;
4405 }
4406 {
4407 PyThreadState* __tstate = wxPyBeginAllowThreads();
4408 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
4409
4410 wxPyEndAllowThreads(__tstate);
4411 if (PyErr_Occurred()) SWIG_fail;
4412 }
4413 Py_INCREF(Py_None); resultobj = Py_None;
4414 {
4415 if (temp2)
4416 delete arg2;
4417 }
4418 return resultobj;
4419 fail:
4420 {
4421 if (temp2)
4422 delete arg2;
4423 }
4424 return NULL;
4425 }
4426
4427
4428 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4429 PyObject *resultobj;
4430 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4431 int arg2 = (int) 0 ;
4432 wxString result;
4433 PyObject * obj0 = 0 ;
4434 char *kwnames[] = {
4435 (char *) "self",(char *) "number", NULL
4436 };
4437
4438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_GetStatusText",kwnames,&obj0,&arg2)) goto fail;
4439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4440 {
4441 PyThreadState* __tstate = wxPyBeginAllowThreads();
4442 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
4443
4444 wxPyEndAllowThreads(__tstate);
4445 if (PyErr_Occurred()) SWIG_fail;
4446 }
4447 {
4448 #if wxUSE_UNICODE
4449 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4450 #else
4451 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4452 #endif
4453 }
4454 return resultobj;
4455 fail:
4456 return NULL;
4457 }
4458
4459
4460 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4461 PyObject *resultobj;
4462 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4463 wxString *arg2 = 0 ;
4464 int arg3 = (int) 0 ;
4465 bool temp2 = False ;
4466 PyObject * obj0 = 0 ;
4467 PyObject * obj1 = 0 ;
4468 char *kwnames[] = {
4469 (char *) "self",(char *) "text",(char *) "number", NULL
4470 };
4471
4472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4474 {
4475 arg2 = wxString_in_helper(obj1);
4476 if (arg2 == NULL) SWIG_fail;
4477 temp2 = True;
4478 }
4479 {
4480 PyThreadState* __tstate = wxPyBeginAllowThreads();
4481 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
4482
4483 wxPyEndAllowThreads(__tstate);
4484 if (PyErr_Occurred()) SWIG_fail;
4485 }
4486 Py_INCREF(Py_None); resultobj = Py_None;
4487 {
4488 if (temp2)
4489 delete arg2;
4490 }
4491 return resultobj;
4492 fail:
4493 {
4494 if (temp2)
4495 delete arg2;
4496 }
4497 return NULL;
4498 }
4499
4500
4501 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4502 PyObject *resultobj;
4503 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4504 int arg2 = (int) 0 ;
4505 PyObject * obj0 = 0 ;
4506 char *kwnames[] = {
4507 (char *) "self",(char *) "number", NULL
4508 };
4509
4510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
4511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4512 {
4513 PyThreadState* __tstate = wxPyBeginAllowThreads();
4514 (arg1)->PopStatusText(arg2);
4515
4516 wxPyEndAllowThreads(__tstate);
4517 if (PyErr_Occurred()) SWIG_fail;
4518 }
4519 Py_INCREF(Py_None); resultobj = Py_None;
4520 return resultobj;
4521 fail:
4522 return NULL;
4523 }
4524
4525
4526 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
4527 PyObject *resultobj;
4528 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4529 int arg2 ;
4530 int *arg3 = (int *) 0 ;
4531 PyObject * obj0 = 0 ;
4532 PyObject * obj1 = 0 ;
4533 char *kwnames[] = {
4534 (char *) "self",(char *) "widths", NULL
4535 };
4536
4537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
4538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4539 {
4540 arg2 = PyList_Size(obj1);
4541 arg3 = int_LIST_helper(obj1);
4542 if (arg3 == NULL) SWIG_fail;
4543 }
4544 {
4545 PyThreadState* __tstate = wxPyBeginAllowThreads();
4546 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
4547
4548 wxPyEndAllowThreads(__tstate);
4549 if (PyErr_Occurred()) SWIG_fail;
4550 }
4551 Py_INCREF(Py_None); resultobj = Py_None;
4552 {
4553 if (arg3) delete [] arg3;
4554 }
4555 return resultobj;
4556 fail:
4557 {
4558 if (arg3) delete [] arg3;
4559 }
4560 return NULL;
4561 }
4562
4563
4564 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4565 PyObject *resultobj;
4566 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4567 int arg2 ;
4568 wxRect result;
4569 PyObject * obj0 = 0 ;
4570 char *kwnames[] = {
4571 (char *) "self",(char *) "i", NULL
4572 };
4573
4574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_GetFieldRect",kwnames,&obj0,&arg2)) goto fail;
4575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4576 {
4577 PyThreadState* __tstate = wxPyBeginAllowThreads();
4578 result = wxStatusBar_GetFieldRect(arg1,arg2);
4579
4580 wxPyEndAllowThreads(__tstate);
4581 if (PyErr_Occurred()) SWIG_fail;
4582 }
4583 {
4584 wxRect * resultptr;
4585 resultptr = new wxRect((wxRect &) result);
4586 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
4587 }
4588 return resultobj;
4589 fail:
4590 return NULL;
4591 }
4592
4593
4594 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
4595 PyObject *resultobj;
4596 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4597 int arg2 ;
4598 PyObject * obj0 = 0 ;
4599 char *kwnames[] = {
4600 (char *) "self",(char *) "height", NULL
4601 };
4602
4603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_SetMinHeight",kwnames,&obj0,&arg2)) goto fail;
4604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4605 {
4606 PyThreadState* __tstate = wxPyBeginAllowThreads();
4607 (arg1)->SetMinHeight(arg2);
4608
4609 wxPyEndAllowThreads(__tstate);
4610 if (PyErr_Occurred()) SWIG_fail;
4611 }
4612 Py_INCREF(Py_None); resultobj = Py_None;
4613 return resultobj;
4614 fail:
4615 return NULL;
4616 }
4617
4618
4619 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
4620 PyObject *resultobj;
4621 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4622 int result;
4623 PyObject * obj0 = 0 ;
4624 char *kwnames[] = {
4625 (char *) "self", NULL
4626 };
4627
4628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
4629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4630 {
4631 PyThreadState* __tstate = wxPyBeginAllowThreads();
4632 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
4633
4634 wxPyEndAllowThreads(__tstate);
4635 if (PyErr_Occurred()) SWIG_fail;
4636 }
4637 resultobj = PyInt_FromLong((long)result);
4638 return resultobj;
4639 fail:
4640 return NULL;
4641 }
4642
4643
4644 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
4645 PyObject *resultobj;
4646 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4647 int result;
4648 PyObject * obj0 = 0 ;
4649 char *kwnames[] = {
4650 (char *) "self", NULL
4651 };
4652
4653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
4654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4655 {
4656 PyThreadState* __tstate = wxPyBeginAllowThreads();
4657 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
4658
4659 wxPyEndAllowThreads(__tstate);
4660 if (PyErr_Occurred()) SWIG_fail;
4661 }
4662 resultobj = PyInt_FromLong((long)result);
4663 return resultobj;
4664 fail:
4665 return NULL;
4666 }
4667
4668
4669 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
4670 PyObject *obj;
4671 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4672 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
4673 Py_INCREF(obj);
4674 return Py_BuildValue((char *)"");
4675 }
4676 static int _wrap_SplitterNameStr_set(PyObject *_val) {
4677 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
4678 return 1;
4679 }
4680
4681
4682 static PyObject *_wrap_SplitterNameStr_get() {
4683 PyObject *pyobj;
4684
4685 {
4686 #if wxUSE_UNICODE
4687 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
4688 #else
4689 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
4690 #endif
4691 }
4692 return pyobj;
4693 }
4694
4695
4696 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4697 PyObject *resultobj;
4698 wxWindow *arg1 = (wxWindow *) 0 ;
4699 int arg2 ;
4700 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4701 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4702 wxSize const &arg4_defvalue = wxDefaultSize ;
4703 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4704 long arg5 = (long) wxSP_3D ;
4705 wxString const &arg6_defvalue = wxPySplitterNameStr ;
4706 wxString *arg6 = (wxString *) &arg6_defvalue ;
4707 wxSplitterWindow *result;
4708 wxPoint temp3 ;
4709 wxSize temp4 ;
4710 bool temp6 = False ;
4711 PyObject * obj0 = 0 ;
4712 PyObject * obj2 = 0 ;
4713 PyObject * obj3 = 0 ;
4714 PyObject * obj5 = 0 ;
4715 char *kwnames[] = {
4716 (char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4717 };
4718
4719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SplitterWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
4720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4721 if (obj2) {
4722 {
4723 arg3 = &temp3;
4724 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4725 }
4726 }
4727 if (obj3) {
4728 {
4729 arg4 = &temp4;
4730 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4731 }
4732 }
4733 if (obj5) {
4734 {
4735 arg6 = wxString_in_helper(obj5);
4736 if (arg6 == NULL) SWIG_fail;
4737 temp6 = True;
4738 }
4739 }
4740 {
4741 PyThreadState* __tstate = wxPyBeginAllowThreads();
4742 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4743
4744 wxPyEndAllowThreads(__tstate);
4745 if (PyErr_Occurred()) SWIG_fail;
4746 }
4747 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
4748 {
4749 if (temp6)
4750 delete arg6;
4751 }
4752 return resultobj;
4753 fail:
4754 {
4755 if (temp6)
4756 delete arg6;
4757 }
4758 return NULL;
4759 }
4760
4761
4762 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4763 PyObject *resultobj;
4764 wxSplitterWindow *result;
4765 char *kwnames[] = {
4766 NULL
4767 };
4768
4769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
4770 {
4771 PyThreadState* __tstate = wxPyBeginAllowThreads();
4772 result = (wxSplitterWindow *)new wxSplitterWindow();
4773
4774 wxPyEndAllowThreads(__tstate);
4775 if (PyErr_Occurred()) SWIG_fail;
4776 }
4777 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
4778 return resultobj;
4779 fail:
4780 return NULL;
4781 }
4782
4783
4784 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4785 PyObject *resultobj;
4786 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4787 wxWindow *arg2 = (wxWindow *) 0 ;
4788 int arg3 ;
4789 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4790 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4791 wxSize const &arg5_defvalue = wxDefaultSize ;
4792 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4793 long arg6 = (long) wxSP_3D ;
4794 wxString const &arg7_defvalue = wxPySplitterNameStr ;
4795 wxString *arg7 = (wxString *) &arg7_defvalue ;
4796 bool result;
4797 wxPoint temp4 ;
4798 wxSize temp5 ;
4799 bool temp7 = False ;
4800 PyObject * obj0 = 0 ;
4801 PyObject * obj1 = 0 ;
4802 PyObject * obj3 = 0 ;
4803 PyObject * obj4 = 0 ;
4804 PyObject * obj6 = 0 ;
4805 char *kwnames[] = {
4806 (char *) "self",(char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4807 };
4808
4809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SplitterWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
4810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4811 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4812 if (obj3) {
4813 {
4814 arg4 = &temp4;
4815 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4816 }
4817 }
4818 if (obj4) {
4819 {
4820 arg5 = &temp5;
4821 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4822 }
4823 }
4824 if (obj6) {
4825 {
4826 arg7 = wxString_in_helper(obj6);
4827 if (arg7 == NULL) SWIG_fail;
4828 temp7 = True;
4829 }
4830 }
4831 {
4832 PyThreadState* __tstate = wxPyBeginAllowThreads();
4833 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4834
4835 wxPyEndAllowThreads(__tstate);
4836 if (PyErr_Occurred()) SWIG_fail;
4837 }
4838 resultobj = PyInt_FromLong((long)result);
4839 {
4840 if (temp7)
4841 delete arg7;
4842 }
4843 return resultobj;
4844 fail:
4845 {
4846 if (temp7)
4847 delete arg7;
4848 }
4849 return NULL;
4850 }
4851
4852
4853 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
4854 PyObject *resultobj;
4855 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4856 wxWindow *result;
4857 PyObject * obj0 = 0 ;
4858 char *kwnames[] = {
4859 (char *) "self", NULL
4860 };
4861
4862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
4863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4864 {
4865 PyThreadState* __tstate = wxPyBeginAllowThreads();
4866 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
4867
4868 wxPyEndAllowThreads(__tstate);
4869 if (PyErr_Occurred()) SWIG_fail;
4870 }
4871 {
4872 resultobj = wxPyMake_wxObject(result);
4873 }
4874 return resultobj;
4875 fail:
4876 return NULL;
4877 }
4878
4879
4880 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
4881 PyObject *resultobj;
4882 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4883 wxWindow *result;
4884 PyObject * obj0 = 0 ;
4885 char *kwnames[] = {
4886 (char *) "self", NULL
4887 };
4888
4889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
4890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4891 {
4892 PyThreadState* __tstate = wxPyBeginAllowThreads();
4893 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
4894
4895 wxPyEndAllowThreads(__tstate);
4896 if (PyErr_Occurred()) SWIG_fail;
4897 }
4898 {
4899 resultobj = wxPyMake_wxObject(result);
4900 }
4901 return resultobj;
4902 fail:
4903 return NULL;
4904 }
4905
4906
4907 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4908 PyObject *resultobj;
4909 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4910 int arg2 ;
4911 PyObject * obj0 = 0 ;
4912 char *kwnames[] = {
4913 (char *) "self",(char *) "mode", NULL
4914 };
4915
4916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSplitMode",kwnames,&obj0,&arg2)) goto fail;
4917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4918 {
4919 PyThreadState* __tstate = wxPyBeginAllowThreads();
4920 (arg1)->SetSplitMode(arg2);
4921
4922 wxPyEndAllowThreads(__tstate);
4923 if (PyErr_Occurred()) SWIG_fail;
4924 }
4925 Py_INCREF(Py_None); resultobj = Py_None;
4926 return resultobj;
4927 fail:
4928 return NULL;
4929 }
4930
4931
4932 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4933 PyObject *resultobj;
4934 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4935 int result;
4936 PyObject * obj0 = 0 ;
4937 char *kwnames[] = {
4938 (char *) "self", NULL
4939 };
4940
4941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
4942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4943 {
4944 PyThreadState* __tstate = wxPyBeginAllowThreads();
4945 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
4946
4947 wxPyEndAllowThreads(__tstate);
4948 if (PyErr_Occurred()) SWIG_fail;
4949 }
4950 resultobj = PyInt_FromLong((long)result);
4951 return resultobj;
4952 fail:
4953 return NULL;
4954 }
4955
4956
4957 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
4958 PyObject *resultobj;
4959 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4960 wxWindow *arg2 = (wxWindow *) 0 ;
4961 PyObject * obj0 = 0 ;
4962 PyObject * obj1 = 0 ;
4963 char *kwnames[] = {
4964 (char *) "self",(char *) "window", NULL
4965 };
4966
4967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
4968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4969 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4970 {
4971 PyThreadState* __tstate = wxPyBeginAllowThreads();
4972 (arg1)->Initialize(arg2);
4973
4974 wxPyEndAllowThreads(__tstate);
4975 if (PyErr_Occurred()) SWIG_fail;
4976 }
4977 Py_INCREF(Py_None); resultobj = Py_None;
4978 return resultobj;
4979 fail:
4980 return NULL;
4981 }
4982
4983
4984 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
4985 PyObject *resultobj;
4986 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4987 wxWindow *arg2 = (wxWindow *) 0 ;
4988 wxWindow *arg3 = (wxWindow *) 0 ;
4989 int arg4 = (int) 0 ;
4990 bool result;
4991 PyObject * obj0 = 0 ;
4992 PyObject * obj1 = 0 ;
4993 PyObject * obj2 = 0 ;
4994 char *kwnames[] = {
4995 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
4996 };
4997
4998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
4999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5000 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5001 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5002 {
5003 PyThreadState* __tstate = wxPyBeginAllowThreads();
5004 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5005
5006 wxPyEndAllowThreads(__tstate);
5007 if (PyErr_Occurred()) SWIG_fail;
5008 }
5009 resultobj = PyInt_FromLong((long)result);
5010 return resultobj;
5011 fail:
5012 return NULL;
5013 }
5014
5015
5016 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5017 PyObject *resultobj;
5018 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5019 wxWindow *arg2 = (wxWindow *) 0 ;
5020 wxWindow *arg3 = (wxWindow *) 0 ;
5021 int arg4 = (int) 0 ;
5022 bool result;
5023 PyObject * obj0 = 0 ;
5024 PyObject * obj1 = 0 ;
5025 PyObject * obj2 = 0 ;
5026 char *kwnames[] = {
5027 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5028 };
5029
5030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
5031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5032 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5033 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5034 {
5035 PyThreadState* __tstate = wxPyBeginAllowThreads();
5036 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5037
5038 wxPyEndAllowThreads(__tstate);
5039 if (PyErr_Occurred()) SWIG_fail;
5040 }
5041 resultobj = PyInt_FromLong((long)result);
5042 return resultobj;
5043 fail:
5044 return NULL;
5045 }
5046
5047
5048 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5049 PyObject *resultobj;
5050 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5051 wxWindow *arg2 = (wxWindow *) NULL ;
5052 bool result;
5053 PyObject * obj0 = 0 ;
5054 PyObject * obj1 = 0 ;
5055 char *kwnames[] = {
5056 (char *) "self",(char *) "toRemove", NULL
5057 };
5058
5059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5061 if (obj1) {
5062 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5063 }
5064 {
5065 PyThreadState* __tstate = wxPyBeginAllowThreads();
5066 result = (bool)(arg1)->Unsplit(arg2);
5067
5068 wxPyEndAllowThreads(__tstate);
5069 if (PyErr_Occurred()) SWIG_fail;
5070 }
5071 resultobj = PyInt_FromLong((long)result);
5072 return resultobj;
5073 fail:
5074 return NULL;
5075 }
5076
5077
5078 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5079 PyObject *resultobj;
5080 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5081 wxWindow *arg2 = (wxWindow *) 0 ;
5082 wxWindow *arg3 = (wxWindow *) 0 ;
5083 bool result;
5084 PyObject * obj0 = 0 ;
5085 PyObject * obj1 = 0 ;
5086 PyObject * obj2 = 0 ;
5087 char *kwnames[] = {
5088 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5089 };
5090
5091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5093 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5094 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5095 {
5096 PyThreadState* __tstate = wxPyBeginAllowThreads();
5097 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5098
5099 wxPyEndAllowThreads(__tstate);
5100 if (PyErr_Occurred()) SWIG_fail;
5101 }
5102 resultobj = PyInt_FromLong((long)result);
5103 return resultobj;
5104 fail:
5105 return NULL;
5106 }
5107
5108
5109 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5110 PyObject *resultobj;
5111 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5112 bool result;
5113 PyObject * obj0 = 0 ;
5114 char *kwnames[] = {
5115 (char *) "self", NULL
5116 };
5117
5118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5120 {
5121 PyThreadState* __tstate = wxPyBeginAllowThreads();
5122 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5123
5124 wxPyEndAllowThreads(__tstate);
5125 if (PyErr_Occurred()) SWIG_fail;
5126 }
5127 resultobj = PyInt_FromLong((long)result);
5128 return resultobj;
5129 fail:
5130 return NULL;
5131 }
5132
5133
5134 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5135 PyObject *resultobj;
5136 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5137 int arg2 ;
5138 PyObject * obj0 = 0 ;
5139 char *kwnames[] = {
5140 (char *) "self",(char *) "width", NULL
5141 };
5142
5143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSashSize",kwnames,&obj0,&arg2)) goto fail;
5144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5145 {
5146 PyThreadState* __tstate = wxPyBeginAllowThreads();
5147 (arg1)->SetSashSize(arg2);
5148
5149 wxPyEndAllowThreads(__tstate);
5150 if (PyErr_Occurred()) SWIG_fail;
5151 }
5152 Py_INCREF(Py_None); resultobj = Py_None;
5153 return resultobj;
5154 fail:
5155 return NULL;
5156 }
5157
5158
5159 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5160 PyObject *resultobj;
5161 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5162 int arg2 ;
5163 PyObject * obj0 = 0 ;
5164 char *kwnames[] = {
5165 (char *) "self",(char *) "width", NULL
5166 };
5167
5168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetBorderSize",kwnames,&obj0,&arg2)) goto fail;
5169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5170 {
5171 PyThreadState* __tstate = wxPyBeginAllowThreads();
5172 (arg1)->SetBorderSize(arg2);
5173
5174 wxPyEndAllowThreads(__tstate);
5175 if (PyErr_Occurred()) SWIG_fail;
5176 }
5177 Py_INCREF(Py_None); resultobj = Py_None;
5178 return resultobj;
5179 fail:
5180 return NULL;
5181 }
5182
5183
5184 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5185 PyObject *resultobj;
5186 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5187 int result;
5188 PyObject * obj0 = 0 ;
5189 char *kwnames[] = {
5190 (char *) "self", NULL
5191 };
5192
5193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
5194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5195 {
5196 PyThreadState* __tstate = wxPyBeginAllowThreads();
5197 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
5198
5199 wxPyEndAllowThreads(__tstate);
5200 if (PyErr_Occurred()) SWIG_fail;
5201 }
5202 resultobj = PyInt_FromLong((long)result);
5203 return resultobj;
5204 fail:
5205 return NULL;
5206 }
5207
5208
5209 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5210 PyObject *resultobj;
5211 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5212 int result;
5213 PyObject * obj0 = 0 ;
5214 char *kwnames[] = {
5215 (char *) "self", NULL
5216 };
5217
5218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
5219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5220 {
5221 PyThreadState* __tstate = wxPyBeginAllowThreads();
5222 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
5223
5224 wxPyEndAllowThreads(__tstate);
5225 if (PyErr_Occurred()) SWIG_fail;
5226 }
5227 resultobj = PyInt_FromLong((long)result);
5228 return resultobj;
5229 fail:
5230 return NULL;
5231 }
5232
5233
5234 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5235 PyObject *resultobj;
5236 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5237 int arg2 ;
5238 bool arg3 = (bool) True ;
5239 PyObject * obj0 = 0 ;
5240 PyObject * obj2 = 0 ;
5241 char *kwnames[] = {
5242 (char *) "self",(char *) "position",(char *) "redraw", NULL
5243 };
5244
5245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
5246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5247 if (obj2) {
5248 arg3 = PyInt_AsLong(obj2) ? true : false;
5249 if (PyErr_Occurred()) SWIG_fail;
5250 }
5251 {
5252 PyThreadState* __tstate = wxPyBeginAllowThreads();
5253 (arg1)->SetSashPosition(arg2,arg3);
5254
5255 wxPyEndAllowThreads(__tstate);
5256 if (PyErr_Occurred()) SWIG_fail;
5257 }
5258 Py_INCREF(Py_None); resultobj = Py_None;
5259 return resultobj;
5260 fail:
5261 return NULL;
5262 }
5263
5264
5265 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5266 PyObject *resultobj;
5267 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5268 int result;
5269 PyObject * obj0 = 0 ;
5270 char *kwnames[] = {
5271 (char *) "self", NULL
5272 };
5273
5274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
5275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5276 {
5277 PyThreadState* __tstate = wxPyBeginAllowThreads();
5278 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
5279
5280 wxPyEndAllowThreads(__tstate);
5281 if (PyErr_Occurred()) SWIG_fail;
5282 }
5283 resultobj = PyInt_FromLong((long)result);
5284 return resultobj;
5285 fail:
5286 return NULL;
5287 }
5288
5289
5290 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5291 PyObject *resultobj;
5292 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5293 int arg2 ;
5294 PyObject * obj0 = 0 ;
5295 char *kwnames[] = {
5296 (char *) "self",(char *) "min", NULL
5297 };
5298
5299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&arg2)) goto fail;
5300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5301 {
5302 PyThreadState* __tstate = wxPyBeginAllowThreads();
5303 (arg1)->SetMinimumPaneSize(arg2);
5304
5305 wxPyEndAllowThreads(__tstate);
5306 if (PyErr_Occurred()) SWIG_fail;
5307 }
5308 Py_INCREF(Py_None); resultobj = Py_None;
5309 return resultobj;
5310 fail:
5311 return NULL;
5312 }
5313
5314
5315 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5316 PyObject *resultobj;
5317 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5318 int result;
5319 PyObject * obj0 = 0 ;
5320 char *kwnames[] = {
5321 (char *) "self", NULL
5322 };
5323
5324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
5325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5326 {
5327 PyThreadState* __tstate = wxPyBeginAllowThreads();
5328 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
5329
5330 wxPyEndAllowThreads(__tstate);
5331 if (PyErr_Occurred()) SWIG_fail;
5332 }
5333 resultobj = PyInt_FromLong((long)result);
5334 return resultobj;
5335 fail:
5336 return NULL;
5337 }
5338
5339
5340 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5341 PyObject *resultobj;
5342 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5343 int arg2 ;
5344 int arg3 ;
5345 int arg4 = (int) 5 ;
5346 bool result;
5347 PyObject * obj0 = 0 ;
5348 char *kwnames[] = {
5349 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5350 };
5351
5352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SplitterWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
5353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5354 {
5355 PyThreadState* __tstate = wxPyBeginAllowThreads();
5356 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
5357
5358 wxPyEndAllowThreads(__tstate);
5359 if (PyErr_Occurred()) SWIG_fail;
5360 }
5361 resultobj = PyInt_FromLong((long)result);
5362 return resultobj;
5363 fail:
5364 return NULL;
5365 }
5366
5367
5368 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
5369 PyObject *resultobj;
5370 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5371 PyObject * obj0 = 0 ;
5372 char *kwnames[] = {
5373 (char *) "self", NULL
5374 };
5375
5376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
5377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5378 {
5379 PyThreadState* __tstate = wxPyBeginAllowThreads();
5380 (arg1)->SizeWindows();
5381
5382 wxPyEndAllowThreads(__tstate);
5383 if (PyErr_Occurred()) SWIG_fail;
5384 }
5385 Py_INCREF(Py_None); resultobj = Py_None;
5386 return resultobj;
5387 fail:
5388 return NULL;
5389 }
5390
5391
5392 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5393 PyObject *resultobj;
5394 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5395 bool arg2 ;
5396 PyObject * obj0 = 0 ;
5397 PyObject * obj1 = 0 ;
5398 char *kwnames[] = {
5399 (char *) "self",(char *) "needUpdating", NULL
5400 };
5401
5402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
5403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5404 arg2 = PyInt_AsLong(obj1) ? true : false;
5405 if (PyErr_Occurred()) SWIG_fail;
5406 {
5407 PyThreadState* __tstate = wxPyBeginAllowThreads();
5408 (arg1)->SetNeedUpdating(arg2);
5409
5410 wxPyEndAllowThreads(__tstate);
5411 if (PyErr_Occurred()) SWIG_fail;
5412 }
5413 Py_INCREF(Py_None); resultobj = Py_None;
5414 return resultobj;
5415 fail:
5416 return NULL;
5417 }
5418
5419
5420 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5421 PyObject *resultobj;
5422 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5423 bool result;
5424 PyObject * obj0 = 0 ;
5425 char *kwnames[] = {
5426 (char *) "self", NULL
5427 };
5428
5429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
5430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5431 {
5432 PyThreadState* __tstate = wxPyBeginAllowThreads();
5433 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
5434
5435 wxPyEndAllowThreads(__tstate);
5436 if (PyErr_Occurred()) SWIG_fail;
5437 }
5438 resultobj = PyInt_FromLong((long)result);
5439 return resultobj;
5440 fail:
5441 return NULL;
5442 }
5443
5444
5445 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
5446 PyObject *obj;
5447 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5448 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
5449 Py_INCREF(obj);
5450 return Py_BuildValue((char *)"");
5451 }
5452 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5453 PyObject *resultobj;
5454 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
5455 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
5456 wxSplitterEvent *result;
5457 PyObject * obj1 = 0 ;
5458 char *kwnames[] = {
5459 (char *) "type",(char *) "splitter", NULL
5460 };
5461
5462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_SplitterEvent",kwnames,&arg1,&obj1)) goto fail;
5463 if (obj1) {
5464 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5465 }
5466 {
5467 PyThreadState* __tstate = wxPyBeginAllowThreads();
5468 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
5469
5470 wxPyEndAllowThreads(__tstate);
5471 if (PyErr_Occurred()) SWIG_fail;
5472 }
5473 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterEvent, 1);
5474 return resultobj;
5475 fail:
5476 return NULL;
5477 }
5478
5479
5480 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5481 PyObject *resultobj;
5482 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5483 int arg2 ;
5484 PyObject * obj0 = 0 ;
5485 char *kwnames[] = {
5486 (char *) "self",(char *) "pos", NULL
5487 };
5488
5489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterEvent_SetSashPosition",kwnames,&obj0,&arg2)) goto fail;
5490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5491 {
5492 PyThreadState* __tstate = wxPyBeginAllowThreads();
5493 (arg1)->SetSashPosition(arg2);
5494
5495 wxPyEndAllowThreads(__tstate);
5496 if (PyErr_Occurred()) SWIG_fail;
5497 }
5498 Py_INCREF(Py_None); resultobj = Py_None;
5499 return resultobj;
5500 fail:
5501 return NULL;
5502 }
5503
5504
5505 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5506 PyObject *resultobj;
5507 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5508 int result;
5509 PyObject * obj0 = 0 ;
5510 char *kwnames[] = {
5511 (char *) "self", NULL
5512 };
5513
5514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
5515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5516 {
5517 PyThreadState* __tstate = wxPyBeginAllowThreads();
5518 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
5519
5520 wxPyEndAllowThreads(__tstate);
5521 if (PyErr_Occurred()) SWIG_fail;
5522 }
5523 resultobj = PyInt_FromLong((long)result);
5524 return resultobj;
5525 fail:
5526 return NULL;
5527 }
5528
5529
5530 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
5531 PyObject *resultobj;
5532 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5533 wxWindow *result;
5534 PyObject * obj0 = 0 ;
5535 char *kwnames[] = {
5536 (char *) "self", NULL
5537 };
5538
5539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
5540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5541 {
5542 PyThreadState* __tstate = wxPyBeginAllowThreads();
5543 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
5544
5545 wxPyEndAllowThreads(__tstate);
5546 if (PyErr_Occurred()) SWIG_fail;
5547 }
5548 {
5549 resultobj = wxPyMake_wxObject(result);
5550 }
5551 return resultobj;
5552 fail:
5553 return NULL;
5554 }
5555
5556
5557 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
5558 PyObject *resultobj;
5559 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5560 int result;
5561 PyObject * obj0 = 0 ;
5562 char *kwnames[] = {
5563 (char *) "self", NULL
5564 };
5565
5566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
5567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5568 {
5569 PyThreadState* __tstate = wxPyBeginAllowThreads();
5570 result = (int)((wxSplitterEvent const *)arg1)->GetX();
5571
5572 wxPyEndAllowThreads(__tstate);
5573 if (PyErr_Occurred()) SWIG_fail;
5574 }
5575 resultobj = PyInt_FromLong((long)result);
5576 return resultobj;
5577 fail:
5578 return NULL;
5579 }
5580
5581
5582 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
5583 PyObject *resultobj;
5584 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5585 int result;
5586 PyObject * obj0 = 0 ;
5587 char *kwnames[] = {
5588 (char *) "self", NULL
5589 };
5590
5591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
5592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5593 {
5594 PyThreadState* __tstate = wxPyBeginAllowThreads();
5595 result = (int)((wxSplitterEvent const *)arg1)->GetY();
5596
5597 wxPyEndAllowThreads(__tstate);
5598 if (PyErr_Occurred()) SWIG_fail;
5599 }
5600 resultobj = PyInt_FromLong((long)result);
5601 return resultobj;
5602 fail:
5603 return NULL;
5604 }
5605
5606
5607 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
5608 PyObject *obj;
5609 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5610 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
5611 Py_INCREF(obj);
5612 return Py_BuildValue((char *)"");
5613 }
5614 static int _wrap_SashNameStr_set(PyObject *_val) {
5615 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
5616 return 1;
5617 }
5618
5619
5620 static PyObject *_wrap_SashNameStr_get() {
5621 PyObject *pyobj;
5622
5623 {
5624 #if wxUSE_UNICODE
5625 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
5626 #else
5627 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
5628 #endif
5629 }
5630 return pyobj;
5631 }
5632
5633
5634 static int _wrap_SashLayoutNameStr_set(PyObject *_val) {
5635 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
5636 return 1;
5637 }
5638
5639
5640 static PyObject *_wrap_SashLayoutNameStr_get() {
5641 PyObject *pyobj;
5642
5643 {
5644 #if wxUSE_UNICODE
5645 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
5646 #else
5647 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
5648 #endif
5649 }
5650 return pyobj;
5651 }
5652
5653
5654 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5655 PyObject *resultobj;
5656 wxWindow *arg1 = (wxWindow *) 0 ;
5657 int arg2 ;
5658 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5659 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5660 wxSize const &arg4_defvalue = wxDefaultSize ;
5661 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5662 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
5663 wxString const &arg6_defvalue = wxPySashNameStr ;
5664 wxString *arg6 = (wxString *) &arg6_defvalue ;
5665 wxSashWindow *result;
5666 wxPoint temp3 ;
5667 wxSize temp4 ;
5668 bool temp6 = False ;
5669 PyObject * obj0 = 0 ;
5670 PyObject * obj2 = 0 ;
5671 PyObject * obj3 = 0 ;
5672 PyObject * obj5 = 0 ;
5673 char *kwnames[] = {
5674 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5675 };
5676
5677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
5678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5679 if (obj2) {
5680 {
5681 arg3 = &temp3;
5682 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5683 }
5684 }
5685 if (obj3) {
5686 {
5687 arg4 = &temp4;
5688 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5689 }
5690 }
5691 if (obj5) {
5692 {
5693 arg6 = wxString_in_helper(obj5);
5694 if (arg6 == NULL) SWIG_fail;
5695 temp6 = True;
5696 }
5697 }
5698 {
5699 PyThreadState* __tstate = wxPyBeginAllowThreads();
5700 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5701
5702 wxPyEndAllowThreads(__tstate);
5703 if (PyErr_Occurred()) SWIG_fail;
5704 }
5705 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
5706 {
5707 if (temp6)
5708 delete arg6;
5709 }
5710 return resultobj;
5711 fail:
5712 {
5713 if (temp6)
5714 delete arg6;
5715 }
5716 return NULL;
5717 }
5718
5719
5720 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5721 PyObject *resultobj;
5722 wxSashWindow *result;
5723 char *kwnames[] = {
5724 NULL
5725 };
5726
5727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
5728 {
5729 PyThreadState* __tstate = wxPyBeginAllowThreads();
5730 result = (wxSashWindow *)new wxSashWindow();
5731
5732 wxPyEndAllowThreads(__tstate);
5733 if (PyErr_Occurred()) SWIG_fail;
5734 }
5735 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
5736 return resultobj;
5737 fail:
5738 return NULL;
5739 }
5740
5741
5742 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5743 PyObject *resultobj;
5744 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5745 wxWindow *arg2 = (wxWindow *) 0 ;
5746 int arg3 ;
5747 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5748 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5749 wxSize const &arg5_defvalue = wxDefaultSize ;
5750 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5751 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
5752 wxString const &arg7_defvalue = wxPySashNameStr ;
5753 wxString *arg7 = (wxString *) &arg7_defvalue ;
5754 bool result;
5755 wxPoint temp4 ;
5756 wxSize temp5 ;
5757 bool temp7 = False ;
5758 PyObject * obj0 = 0 ;
5759 PyObject * obj1 = 0 ;
5760 PyObject * obj3 = 0 ;
5761 PyObject * obj4 = 0 ;
5762 PyObject * obj6 = 0 ;
5763 char *kwnames[] = {
5764 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5765 };
5766
5767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
5768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5769 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5770 if (obj3) {
5771 {
5772 arg4 = &temp4;
5773 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5774 }
5775 }
5776 if (obj4) {
5777 {
5778 arg5 = &temp5;
5779 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5780 }
5781 }
5782 if (obj6) {
5783 {
5784 arg7 = wxString_in_helper(obj6);
5785 if (arg7 == NULL) SWIG_fail;
5786 temp7 = True;
5787 }
5788 }
5789 {
5790 PyThreadState* __tstate = wxPyBeginAllowThreads();
5791 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5792
5793 wxPyEndAllowThreads(__tstate);
5794 if (PyErr_Occurred()) SWIG_fail;
5795 }
5796 resultobj = PyInt_FromLong((long)result);
5797 {
5798 if (temp7)
5799 delete arg7;
5800 }
5801 return resultobj;
5802 fail:
5803 {
5804 if (temp7)
5805 delete arg7;
5806 }
5807 return NULL;
5808 }
5809
5810
5811 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5812 PyObject *resultobj;
5813 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5814 int arg2 ;
5815 bool arg3 ;
5816 PyObject * obj0 = 0 ;
5817 PyObject * obj2 = 0 ;
5818 char *kwnames[] = {
5819 (char *) "self",(char *) "edge",(char *) "sash", NULL
5820 };
5821
5822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashVisible",kwnames,&obj0,&arg2,&obj2)) goto fail;
5823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5824 arg3 = PyInt_AsLong(obj2) ? true : false;
5825 if (PyErr_Occurred()) SWIG_fail;
5826 {
5827 PyThreadState* __tstate = wxPyBeginAllowThreads();
5828 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
5829
5830 wxPyEndAllowThreads(__tstate);
5831 if (PyErr_Occurred()) SWIG_fail;
5832 }
5833 Py_INCREF(Py_None); resultobj = Py_None;
5834 return resultobj;
5835 fail:
5836 return NULL;
5837 }
5838
5839
5840 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5841 PyObject *resultobj;
5842 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5843 int arg2 ;
5844 bool result;
5845 PyObject * obj0 = 0 ;
5846 char *kwnames[] = {
5847 (char *) "self",(char *) "edge", NULL
5848 };
5849
5850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetSashVisible",kwnames,&obj0,&arg2)) goto fail;
5851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5852 {
5853 PyThreadState* __tstate = wxPyBeginAllowThreads();
5854 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
5855
5856 wxPyEndAllowThreads(__tstate);
5857 if (PyErr_Occurred()) SWIG_fail;
5858 }
5859 resultobj = PyInt_FromLong((long)result);
5860 return resultobj;
5861 fail:
5862 return NULL;
5863 }
5864
5865
5866 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
5867 PyObject *resultobj;
5868 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5869 int arg2 ;
5870 bool arg3 ;
5871 PyObject * obj0 = 0 ;
5872 PyObject * obj2 = 0 ;
5873 char *kwnames[] = {
5874 (char *) "self",(char *) "edge",(char *) "border", NULL
5875 };
5876
5877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashBorder",kwnames,&obj0,&arg2,&obj2)) goto fail;
5878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5879 arg3 = PyInt_AsLong(obj2) ? true : false;
5880 if (PyErr_Occurred()) SWIG_fail;
5881 {
5882 PyThreadState* __tstate = wxPyBeginAllowThreads();
5883 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
5884
5885 wxPyEndAllowThreads(__tstate);
5886 if (PyErr_Occurred()) SWIG_fail;
5887 }
5888 Py_INCREF(Py_None); resultobj = Py_None;
5889 return resultobj;
5890 fail:
5891 return NULL;
5892 }
5893
5894
5895 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
5896 PyObject *resultobj;
5897 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5898 int arg2 ;
5899 bool result;
5900 PyObject * obj0 = 0 ;
5901 char *kwnames[] = {
5902 (char *) "self",(char *) "edge", NULL
5903 };
5904
5905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_HasBorder",kwnames,&obj0,&arg2)) goto fail;
5906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5907 {
5908 PyThreadState* __tstate = wxPyBeginAllowThreads();
5909 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
5910
5911 wxPyEndAllowThreads(__tstate);
5912 if (PyErr_Occurred()) SWIG_fail;
5913 }
5914 resultobj = PyInt_FromLong((long)result);
5915 return resultobj;
5916 fail:
5917 return NULL;
5918 }
5919
5920
5921 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
5922 PyObject *resultobj;
5923 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5924 int arg2 ;
5925 int result;
5926 PyObject * obj0 = 0 ;
5927 char *kwnames[] = {
5928 (char *) "self",(char *) "edge", NULL
5929 };
5930
5931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetEdgeMargin",kwnames,&obj0,&arg2)) goto fail;
5932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5933 {
5934 PyThreadState* __tstate = wxPyBeginAllowThreads();
5935 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
5936
5937 wxPyEndAllowThreads(__tstate);
5938 if (PyErr_Occurred()) SWIG_fail;
5939 }
5940 resultobj = PyInt_FromLong((long)result);
5941 return resultobj;
5942 fail:
5943 return NULL;
5944 }
5945
5946
5947 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5948 PyObject *resultobj;
5949 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5950 int arg2 ;
5951 PyObject * obj0 = 0 ;
5952 char *kwnames[] = {
5953 (char *) "self",(char *) "width", NULL
5954 };
5955
5956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&arg2)) goto fail;
5957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5958 {
5959 PyThreadState* __tstate = wxPyBeginAllowThreads();
5960 (arg1)->SetDefaultBorderSize(arg2);
5961
5962 wxPyEndAllowThreads(__tstate);
5963 if (PyErr_Occurred()) SWIG_fail;
5964 }
5965 Py_INCREF(Py_None); resultobj = Py_None;
5966 return resultobj;
5967 fail:
5968 return NULL;
5969 }
5970
5971
5972 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5973 PyObject *resultobj;
5974 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5975 int result;
5976 PyObject * obj0 = 0 ;
5977 char *kwnames[] = {
5978 (char *) "self", NULL
5979 };
5980
5981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
5982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5983 {
5984 PyThreadState* __tstate = wxPyBeginAllowThreads();
5985 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
5986
5987 wxPyEndAllowThreads(__tstate);
5988 if (PyErr_Occurred()) SWIG_fail;
5989 }
5990 resultobj = PyInt_FromLong((long)result);
5991 return resultobj;
5992 fail:
5993 return NULL;
5994 }
5995
5996
5997 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5998 PyObject *resultobj;
5999 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6000 int arg2 ;
6001 PyObject * obj0 = 0 ;
6002 char *kwnames[] = {
6003 (char *) "self",(char *) "width", NULL
6004 };
6005
6006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetExtraBorderSize",kwnames,&obj0,&arg2)) goto fail;
6007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6008 {
6009 PyThreadState* __tstate = wxPyBeginAllowThreads();
6010 (arg1)->SetExtraBorderSize(arg2);
6011
6012 wxPyEndAllowThreads(__tstate);
6013 if (PyErr_Occurred()) SWIG_fail;
6014 }
6015 Py_INCREF(Py_None); resultobj = Py_None;
6016 return resultobj;
6017 fail:
6018 return NULL;
6019 }
6020
6021
6022 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6023 PyObject *resultobj;
6024 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6025 int result;
6026 PyObject * obj0 = 0 ;
6027 char *kwnames[] = {
6028 (char *) "self", NULL
6029 };
6030
6031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
6032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6033 {
6034 PyThreadState* __tstate = wxPyBeginAllowThreads();
6035 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
6036
6037 wxPyEndAllowThreads(__tstate);
6038 if (PyErr_Occurred()) SWIG_fail;
6039 }
6040 resultobj = PyInt_FromLong((long)result);
6041 return resultobj;
6042 fail:
6043 return NULL;
6044 }
6045
6046
6047 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6048 PyObject *resultobj;
6049 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6050 int arg2 ;
6051 PyObject * obj0 = 0 ;
6052 char *kwnames[] = {
6053 (char *) "self",(char *) "min", NULL
6054 };
6055
6056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeX",kwnames,&obj0,&arg2)) goto fail;
6057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6058 {
6059 PyThreadState* __tstate = wxPyBeginAllowThreads();
6060 (arg1)->SetMinimumSizeX(arg2);
6061
6062 wxPyEndAllowThreads(__tstate);
6063 if (PyErr_Occurred()) SWIG_fail;
6064 }
6065 Py_INCREF(Py_None); resultobj = Py_None;
6066 return resultobj;
6067 fail:
6068 return NULL;
6069 }
6070
6071
6072 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6073 PyObject *resultobj;
6074 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6075 int arg2 ;
6076 PyObject * obj0 = 0 ;
6077 char *kwnames[] = {
6078 (char *) "self",(char *) "min", NULL
6079 };
6080
6081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeY",kwnames,&obj0,&arg2)) goto fail;
6082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6083 {
6084 PyThreadState* __tstate = wxPyBeginAllowThreads();
6085 (arg1)->SetMinimumSizeY(arg2);
6086
6087 wxPyEndAllowThreads(__tstate);
6088 if (PyErr_Occurred()) SWIG_fail;
6089 }
6090 Py_INCREF(Py_None); resultobj = Py_None;
6091 return resultobj;
6092 fail:
6093 return NULL;
6094 }
6095
6096
6097 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6098 PyObject *resultobj;
6099 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6100 int result;
6101 PyObject * obj0 = 0 ;
6102 char *kwnames[] = {
6103 (char *) "self", NULL
6104 };
6105
6106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
6107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6108 {
6109 PyThreadState* __tstate = wxPyBeginAllowThreads();
6110 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
6111
6112 wxPyEndAllowThreads(__tstate);
6113 if (PyErr_Occurred()) SWIG_fail;
6114 }
6115 resultobj = PyInt_FromLong((long)result);
6116 return resultobj;
6117 fail:
6118 return NULL;
6119 }
6120
6121
6122 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6123 PyObject *resultobj;
6124 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6125 int result;
6126 PyObject * obj0 = 0 ;
6127 char *kwnames[] = {
6128 (char *) "self", NULL
6129 };
6130
6131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
6132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6133 {
6134 PyThreadState* __tstate = wxPyBeginAllowThreads();
6135 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
6136
6137 wxPyEndAllowThreads(__tstate);
6138 if (PyErr_Occurred()) SWIG_fail;
6139 }
6140 resultobj = PyInt_FromLong((long)result);
6141 return resultobj;
6142 fail:
6143 return NULL;
6144 }
6145
6146
6147 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6148 PyObject *resultobj;
6149 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6150 int arg2 ;
6151 PyObject * obj0 = 0 ;
6152 char *kwnames[] = {
6153 (char *) "self",(char *) "max", NULL
6154 };
6155
6156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeX",kwnames,&obj0,&arg2)) goto fail;
6157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6158 {
6159 PyThreadState* __tstate = wxPyBeginAllowThreads();
6160 (arg1)->SetMaximumSizeX(arg2);
6161
6162 wxPyEndAllowThreads(__tstate);
6163 if (PyErr_Occurred()) SWIG_fail;
6164 }
6165 Py_INCREF(Py_None); resultobj = Py_None;
6166 return resultobj;
6167 fail:
6168 return NULL;
6169 }
6170
6171
6172 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6173 PyObject *resultobj;
6174 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6175 int arg2 ;
6176 PyObject * obj0 = 0 ;
6177 char *kwnames[] = {
6178 (char *) "self",(char *) "max", NULL
6179 };
6180
6181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeY",kwnames,&obj0,&arg2)) goto fail;
6182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6183 {
6184 PyThreadState* __tstate = wxPyBeginAllowThreads();
6185 (arg1)->SetMaximumSizeY(arg2);
6186
6187 wxPyEndAllowThreads(__tstate);
6188 if (PyErr_Occurred()) SWIG_fail;
6189 }
6190 Py_INCREF(Py_None); resultobj = Py_None;
6191 return resultobj;
6192 fail:
6193 return NULL;
6194 }
6195
6196
6197 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6198 PyObject *resultobj;
6199 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6200 int result;
6201 PyObject * obj0 = 0 ;
6202 char *kwnames[] = {
6203 (char *) "self", NULL
6204 };
6205
6206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
6207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6208 {
6209 PyThreadState* __tstate = wxPyBeginAllowThreads();
6210 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
6211
6212 wxPyEndAllowThreads(__tstate);
6213 if (PyErr_Occurred()) SWIG_fail;
6214 }
6215 resultobj = PyInt_FromLong((long)result);
6216 return resultobj;
6217 fail:
6218 return NULL;
6219 }
6220
6221
6222 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6223 PyObject *resultobj;
6224 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6225 int result;
6226 PyObject * obj0 = 0 ;
6227 char *kwnames[] = {
6228 (char *) "self", NULL
6229 };
6230
6231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
6232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6233 {
6234 PyThreadState* __tstate = wxPyBeginAllowThreads();
6235 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
6236
6237 wxPyEndAllowThreads(__tstate);
6238 if (PyErr_Occurred()) SWIG_fail;
6239 }
6240 resultobj = PyInt_FromLong((long)result);
6241 return resultobj;
6242 fail:
6243 return NULL;
6244 }
6245
6246
6247 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6248 PyObject *resultobj;
6249 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6250 int arg2 ;
6251 int arg3 ;
6252 int arg4 = (int) 2 ;
6253 int result;
6254 PyObject * obj0 = 0 ;
6255 char *kwnames[] = {
6256 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6257 };
6258
6259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SashWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
6260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6261 {
6262 PyThreadState* __tstate = wxPyBeginAllowThreads();
6263 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
6264
6265 wxPyEndAllowThreads(__tstate);
6266 if (PyErr_Occurred()) SWIG_fail;
6267 }
6268 resultobj = PyInt_FromLong((long)result);
6269 return resultobj;
6270 fail:
6271 return NULL;
6272 }
6273
6274
6275 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6276 PyObject *resultobj;
6277 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6278 PyObject * obj0 = 0 ;
6279 char *kwnames[] = {
6280 (char *) "self", NULL
6281 };
6282
6283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
6284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6285 {
6286 PyThreadState* __tstate = wxPyBeginAllowThreads();
6287 (arg1)->SizeWindows();
6288
6289 wxPyEndAllowThreads(__tstate);
6290 if (PyErr_Occurred()) SWIG_fail;
6291 }
6292 Py_INCREF(Py_None); resultobj = Py_None;
6293 return resultobj;
6294 fail:
6295 return NULL;
6296 }
6297
6298
6299 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
6300 PyObject *obj;
6301 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6302 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
6303 Py_INCREF(obj);
6304 return Py_BuildValue((char *)"");
6305 }
6306 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6307 PyObject *resultobj;
6308 int arg1 = (int) 0 ;
6309 int arg2 = (int) wxSASH_NONE ;
6310 wxSashEvent *result;
6311 char *kwnames[] = {
6312 (char *) "id",(char *) "edge", NULL
6313 };
6314
6315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_SashEvent",kwnames,&arg1,&arg2)) goto fail;
6316 {
6317 PyThreadState* __tstate = wxPyBeginAllowThreads();
6318 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
6319
6320 wxPyEndAllowThreads(__tstate);
6321 if (PyErr_Occurred()) SWIG_fail;
6322 }
6323 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashEvent, 1);
6324 return resultobj;
6325 fail:
6326 return NULL;
6327 }
6328
6329
6330 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6331 PyObject *resultobj;
6332 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6333 int arg2 ;
6334 PyObject * obj0 = 0 ;
6335 char *kwnames[] = {
6336 (char *) "self",(char *) "edge", NULL
6337 };
6338
6339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetEdge",kwnames,&obj0,&arg2)) goto fail;
6340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6341 {
6342 PyThreadState* __tstate = wxPyBeginAllowThreads();
6343 (arg1)->SetEdge((wxSashEdgePosition )arg2);
6344
6345 wxPyEndAllowThreads(__tstate);
6346 if (PyErr_Occurred()) SWIG_fail;
6347 }
6348 Py_INCREF(Py_None); resultobj = Py_None;
6349 return resultobj;
6350 fail:
6351 return NULL;
6352 }
6353
6354
6355 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6356 PyObject *resultobj;
6357 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6358 int result;
6359 PyObject * obj0 = 0 ;
6360 char *kwnames[] = {
6361 (char *) "self", NULL
6362 };
6363
6364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
6365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6366 {
6367 PyThreadState* __tstate = wxPyBeginAllowThreads();
6368 result = (int)((wxSashEvent const *)arg1)->GetEdge();
6369
6370 wxPyEndAllowThreads(__tstate);
6371 if (PyErr_Occurred()) SWIG_fail;
6372 }
6373 resultobj = PyInt_FromLong((long)result);
6374 return resultobj;
6375 fail:
6376 return NULL;
6377 }
6378
6379
6380 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6381 PyObject *resultobj;
6382 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6383 wxRect *arg2 = 0 ;
6384 wxRect temp2 ;
6385 PyObject * obj0 = 0 ;
6386 PyObject * obj1 = 0 ;
6387 char *kwnames[] = {
6388 (char *) "self",(char *) "rect", NULL
6389 };
6390
6391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
6392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6393 {
6394 arg2 = &temp2;
6395 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6396 }
6397 {
6398 PyThreadState* __tstate = wxPyBeginAllowThreads();
6399 (arg1)->SetDragRect((wxRect const &)*arg2);
6400
6401 wxPyEndAllowThreads(__tstate);
6402 if (PyErr_Occurred()) SWIG_fail;
6403 }
6404 Py_INCREF(Py_None); resultobj = Py_None;
6405 return resultobj;
6406 fail:
6407 return NULL;
6408 }
6409
6410
6411 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6412 PyObject *resultobj;
6413 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6414 wxRect result;
6415 PyObject * obj0 = 0 ;
6416 char *kwnames[] = {
6417 (char *) "self", NULL
6418 };
6419
6420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
6421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6422 {
6423 PyThreadState* __tstate = wxPyBeginAllowThreads();
6424 result = ((wxSashEvent const *)arg1)->GetDragRect();
6425
6426 wxPyEndAllowThreads(__tstate);
6427 if (PyErr_Occurred()) SWIG_fail;
6428 }
6429 {
6430 wxRect * resultptr;
6431 resultptr = new wxRect((wxRect &) result);
6432 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
6433 }
6434 return resultobj;
6435 fail:
6436 return NULL;
6437 }
6438
6439
6440 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6441 PyObject *resultobj;
6442 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6443 int arg2 ;
6444 PyObject * obj0 = 0 ;
6445 char *kwnames[] = {
6446 (char *) "self",(char *) "status", NULL
6447 };
6448
6449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetDragStatus",kwnames,&obj0,&arg2)) goto fail;
6450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6451 {
6452 PyThreadState* __tstate = wxPyBeginAllowThreads();
6453 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
6454
6455 wxPyEndAllowThreads(__tstate);
6456 if (PyErr_Occurred()) SWIG_fail;
6457 }
6458 Py_INCREF(Py_None); resultobj = Py_None;
6459 return resultobj;
6460 fail:
6461 return NULL;
6462 }
6463
6464
6465 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6466 PyObject *resultobj;
6467 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6468 int result;
6469 PyObject * obj0 = 0 ;
6470 char *kwnames[] = {
6471 (char *) "self", NULL
6472 };
6473
6474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
6475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6476 {
6477 PyThreadState* __tstate = wxPyBeginAllowThreads();
6478 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
6479
6480 wxPyEndAllowThreads(__tstate);
6481 if (PyErr_Occurred()) SWIG_fail;
6482 }
6483 resultobj = PyInt_FromLong((long)result);
6484 return resultobj;
6485 fail:
6486 return NULL;
6487 }
6488
6489
6490 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
6491 PyObject *obj;
6492 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6493 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
6494 Py_INCREF(obj);
6495 return Py_BuildValue((char *)"");
6496 }
6497 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6498 PyObject *resultobj;
6499 int arg1 = (int) 0 ;
6500 wxQueryLayoutInfoEvent *result;
6501 char *kwnames[] = {
6502 (char *) "id", NULL
6503 };
6504
6505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_QueryLayoutInfoEvent",kwnames,&arg1)) goto fail;
6506 {
6507 PyThreadState* __tstate = wxPyBeginAllowThreads();
6508 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
6509
6510 wxPyEndAllowThreads(__tstate);
6511 if (PyErr_Occurred()) SWIG_fail;
6512 }
6513 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
6514 return resultobj;
6515 fail:
6516 return NULL;
6517 }
6518
6519
6520 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6521 PyObject *resultobj;
6522 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6523 int arg2 ;
6524 PyObject * obj0 = 0 ;
6525 char *kwnames[] = {
6526 (char *) "self",(char *) "length", NULL
6527 };
6528
6529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&arg2)) goto fail;
6530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6531 {
6532 PyThreadState* __tstate = wxPyBeginAllowThreads();
6533 (arg1)->SetRequestedLength(arg2);
6534
6535 wxPyEndAllowThreads(__tstate);
6536 if (PyErr_Occurred()) SWIG_fail;
6537 }
6538 Py_INCREF(Py_None); resultobj = Py_None;
6539 return resultobj;
6540 fail:
6541 return NULL;
6542 }
6543
6544
6545 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6546 PyObject *resultobj;
6547 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6548 int result;
6549 PyObject * obj0 = 0 ;
6550 char *kwnames[] = {
6551 (char *) "self", NULL
6552 };
6553
6554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
6555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6556 {
6557 PyThreadState* __tstate = wxPyBeginAllowThreads();
6558 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
6559
6560 wxPyEndAllowThreads(__tstate);
6561 if (PyErr_Occurred()) SWIG_fail;
6562 }
6563 resultobj = PyInt_FromLong((long)result);
6564 return resultobj;
6565 fail:
6566 return NULL;
6567 }
6568
6569
6570 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6571 PyObject *resultobj;
6572 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6573 int arg2 ;
6574 PyObject * obj0 = 0 ;
6575 char *kwnames[] = {
6576 (char *) "self",(char *) "flags", NULL
6577 };
6578
6579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6581 {
6582 PyThreadState* __tstate = wxPyBeginAllowThreads();
6583 (arg1)->SetFlags(arg2);
6584
6585 wxPyEndAllowThreads(__tstate);
6586 if (PyErr_Occurred()) SWIG_fail;
6587 }
6588 Py_INCREF(Py_None); resultobj = Py_None;
6589 return resultobj;
6590 fail:
6591 return NULL;
6592 }
6593
6594
6595 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6596 PyObject *resultobj;
6597 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6598 int result;
6599 PyObject * obj0 = 0 ;
6600 char *kwnames[] = {
6601 (char *) "self", NULL
6602 };
6603
6604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
6605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6606 {
6607 PyThreadState* __tstate = wxPyBeginAllowThreads();
6608 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
6609
6610 wxPyEndAllowThreads(__tstate);
6611 if (PyErr_Occurred()) SWIG_fail;
6612 }
6613 resultobj = PyInt_FromLong((long)result);
6614 return resultobj;
6615 fail:
6616 return NULL;
6617 }
6618
6619
6620 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6621 PyObject *resultobj;
6622 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6623 wxSize *arg2 = 0 ;
6624 wxSize temp2 ;
6625 PyObject * obj0 = 0 ;
6626 PyObject * obj1 = 0 ;
6627 char *kwnames[] = {
6628 (char *) "self",(char *) "size", NULL
6629 };
6630
6631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
6632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6633 {
6634 arg2 = &temp2;
6635 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
6636 }
6637 {
6638 PyThreadState* __tstate = wxPyBeginAllowThreads();
6639 (arg1)->SetSize((wxSize const &)*arg2);
6640
6641 wxPyEndAllowThreads(__tstate);
6642 if (PyErr_Occurred()) SWIG_fail;
6643 }
6644 Py_INCREF(Py_None); resultobj = Py_None;
6645 return resultobj;
6646 fail:
6647 return NULL;
6648 }
6649
6650
6651 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6652 PyObject *resultobj;
6653 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6654 wxSize result;
6655 PyObject * obj0 = 0 ;
6656 char *kwnames[] = {
6657 (char *) "self", NULL
6658 };
6659
6660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
6661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6662 {
6663 PyThreadState* __tstate = wxPyBeginAllowThreads();
6664 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
6665
6666 wxPyEndAllowThreads(__tstate);
6667 if (PyErr_Occurred()) SWIG_fail;
6668 }
6669 {
6670 wxSize * resultptr;
6671 resultptr = new wxSize((wxSize &) result);
6672 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
6673 }
6674 return resultobj;
6675 fail:
6676 return NULL;
6677 }
6678
6679
6680 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6681 PyObject *resultobj;
6682 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6683 int arg2 ;
6684 PyObject * obj0 = 0 ;
6685 char *kwnames[] = {
6686 (char *) "self",(char *) "orient", NULL
6687 };
6688
6689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
6690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6691 {
6692 PyThreadState* __tstate = wxPyBeginAllowThreads();
6693 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
6694
6695 wxPyEndAllowThreads(__tstate);
6696 if (PyErr_Occurred()) SWIG_fail;
6697 }
6698 Py_INCREF(Py_None); resultobj = Py_None;
6699 return resultobj;
6700 fail:
6701 return NULL;
6702 }
6703
6704
6705 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6706 PyObject *resultobj;
6707 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6708 int result;
6709 PyObject * obj0 = 0 ;
6710 char *kwnames[] = {
6711 (char *) "self", NULL
6712 };
6713
6714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
6715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6716 {
6717 PyThreadState* __tstate = wxPyBeginAllowThreads();
6718 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
6719
6720 wxPyEndAllowThreads(__tstate);
6721 if (PyErr_Occurred()) SWIG_fail;
6722 }
6723 resultobj = PyInt_FromLong((long)result);
6724 return resultobj;
6725 fail:
6726 return NULL;
6727 }
6728
6729
6730 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6731 PyObject *resultobj;
6732 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6733 int arg2 ;
6734 PyObject * obj0 = 0 ;
6735 char *kwnames[] = {
6736 (char *) "self",(char *) "align", NULL
6737 };
6738
6739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
6740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6741 {
6742 PyThreadState* __tstate = wxPyBeginAllowThreads();
6743 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
6744
6745 wxPyEndAllowThreads(__tstate);
6746 if (PyErr_Occurred()) SWIG_fail;
6747 }
6748 Py_INCREF(Py_None); resultobj = Py_None;
6749 return resultobj;
6750 fail:
6751 return NULL;
6752 }
6753
6754
6755 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6756 PyObject *resultobj;
6757 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6758 int result;
6759 PyObject * obj0 = 0 ;
6760 char *kwnames[] = {
6761 (char *) "self", NULL
6762 };
6763
6764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
6765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6766 {
6767 PyThreadState* __tstate = wxPyBeginAllowThreads();
6768 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
6769
6770 wxPyEndAllowThreads(__tstate);
6771 if (PyErr_Occurred()) SWIG_fail;
6772 }
6773 resultobj = PyInt_FromLong((long)result);
6774 return resultobj;
6775 fail:
6776 return NULL;
6777 }
6778
6779
6780 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
6781 PyObject *obj;
6782 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6783 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
6784 Py_INCREF(obj);
6785 return Py_BuildValue((char *)"");
6786 }
6787 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6788 PyObject *resultobj;
6789 int arg1 = (int) 0 ;
6790 wxCalculateLayoutEvent *result;
6791 char *kwnames[] = {
6792 (char *) "id", NULL
6793 };
6794
6795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_CalculateLayoutEvent",kwnames,&arg1)) goto fail;
6796 {
6797 PyThreadState* __tstate = wxPyBeginAllowThreads();
6798 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
6799
6800 wxPyEndAllowThreads(__tstate);
6801 if (PyErr_Occurred()) SWIG_fail;
6802 }
6803 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCalculateLayoutEvent, 1);
6804 return resultobj;
6805 fail:
6806 return NULL;
6807 }
6808
6809
6810 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6811 PyObject *resultobj;
6812 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6813 int arg2 ;
6814 PyObject * obj0 = 0 ;
6815 char *kwnames[] = {
6816 (char *) "self",(char *) "flags", NULL
6817 };
6818
6819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6821 {
6822 PyThreadState* __tstate = wxPyBeginAllowThreads();
6823 (arg1)->SetFlags(arg2);
6824
6825 wxPyEndAllowThreads(__tstate);
6826 if (PyErr_Occurred()) SWIG_fail;
6827 }
6828 Py_INCREF(Py_None); resultobj = Py_None;
6829 return resultobj;
6830 fail:
6831 return NULL;
6832 }
6833
6834
6835 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6836 PyObject *resultobj;
6837 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6838 int result;
6839 PyObject * obj0 = 0 ;
6840 char *kwnames[] = {
6841 (char *) "self", NULL
6842 };
6843
6844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
6845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6846 {
6847 PyThreadState* __tstate = wxPyBeginAllowThreads();
6848 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
6849
6850 wxPyEndAllowThreads(__tstate);
6851 if (PyErr_Occurred()) SWIG_fail;
6852 }
6853 resultobj = PyInt_FromLong((long)result);
6854 return resultobj;
6855 fail:
6856 return NULL;
6857 }
6858
6859
6860 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6861 PyObject *resultobj;
6862 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6863 wxRect *arg2 = 0 ;
6864 wxRect temp2 ;
6865 PyObject * obj0 = 0 ;
6866 PyObject * obj1 = 0 ;
6867 char *kwnames[] = {
6868 (char *) "self",(char *) "rect", NULL
6869 };
6870
6871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
6872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6873 {
6874 arg2 = &temp2;
6875 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6876 }
6877 {
6878 PyThreadState* __tstate = wxPyBeginAllowThreads();
6879 (arg1)->SetRect((wxRect const &)*arg2);
6880
6881 wxPyEndAllowThreads(__tstate);
6882 if (PyErr_Occurred()) SWIG_fail;
6883 }
6884 Py_INCREF(Py_None); resultobj = Py_None;
6885 return resultobj;
6886 fail:
6887 return NULL;
6888 }
6889
6890
6891 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6892 PyObject *resultobj;
6893 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6894 wxRect result;
6895 PyObject * obj0 = 0 ;
6896 char *kwnames[] = {
6897 (char *) "self", NULL
6898 };
6899
6900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
6901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6902 {
6903 PyThreadState* __tstate = wxPyBeginAllowThreads();
6904 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
6905
6906 wxPyEndAllowThreads(__tstate);
6907 if (PyErr_Occurred()) SWIG_fail;
6908 }
6909 {
6910 wxRect * resultptr;
6911 resultptr = new wxRect((wxRect &) result);
6912 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
6913 }
6914 return resultobj;
6915 fail:
6916 return NULL;
6917 }
6918
6919
6920 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
6921 PyObject *obj;
6922 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6923 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
6924 Py_INCREF(obj);
6925 return Py_BuildValue((char *)"");
6926 }
6927 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6928 PyObject *resultobj;
6929 wxWindow *arg1 = (wxWindow *) 0 ;
6930 int arg2 ;
6931 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6932 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6933 wxSize const &arg4_defvalue = wxDefaultSize ;
6934 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6935 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6936 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
6937 wxString *arg6 = (wxString *) &arg6_defvalue ;
6938 wxSashLayoutWindow *result;
6939 wxPoint temp3 ;
6940 wxSize temp4 ;
6941 bool temp6 = False ;
6942 PyObject * obj0 = 0 ;
6943 PyObject * obj2 = 0 ;
6944 PyObject * obj3 = 0 ;
6945 PyObject * obj5 = 0 ;
6946 char *kwnames[] = {
6947 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6948 };
6949
6950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashLayoutWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
6951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6952 if (obj2) {
6953 {
6954 arg3 = &temp3;
6955 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6956 }
6957 }
6958 if (obj3) {
6959 {
6960 arg4 = &temp4;
6961 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6962 }
6963 }
6964 if (obj5) {
6965 {
6966 arg6 = wxString_in_helper(obj5);
6967 if (arg6 == NULL) SWIG_fail;
6968 temp6 = True;
6969 }
6970 }
6971 {
6972 PyThreadState* __tstate = wxPyBeginAllowThreads();
6973 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6974
6975 wxPyEndAllowThreads(__tstate);
6976 if (PyErr_Occurred()) SWIG_fail;
6977 }
6978 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
6979 {
6980 if (temp6)
6981 delete arg6;
6982 }
6983 return resultobj;
6984 fail:
6985 {
6986 if (temp6)
6987 delete arg6;
6988 }
6989 return NULL;
6990 }
6991
6992
6993 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6994 PyObject *resultobj;
6995 wxSashLayoutWindow *result;
6996 char *kwnames[] = {
6997 NULL
6998 };
6999
7000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
7001 {
7002 PyThreadState* __tstate = wxPyBeginAllowThreads();
7003 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
7004
7005 wxPyEndAllowThreads(__tstate);
7006 if (PyErr_Occurred()) SWIG_fail;
7007 }
7008 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
7009 return resultobj;
7010 fail:
7011 return NULL;
7012 }
7013
7014
7015 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7016 PyObject *resultobj;
7017 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7018 wxWindow *arg2 = (wxWindow *) 0 ;
7019 int arg3 ;
7020 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7021 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7022 wxSize const &arg5_defvalue = wxDefaultSize ;
7023 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7024 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7025 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
7026 wxString *arg7 = (wxString *) &arg7_defvalue ;
7027 bool result;
7028 wxPoint temp4 ;
7029 wxSize temp5 ;
7030 bool temp7 = False ;
7031 PyObject * obj0 = 0 ;
7032 PyObject * obj1 = 0 ;
7033 PyObject * obj3 = 0 ;
7034 PyObject * obj4 = 0 ;
7035 PyObject * obj6 = 0 ;
7036 char *kwnames[] = {
7037 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7038 };
7039
7040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
7041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7042 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7043 if (obj3) {
7044 {
7045 arg4 = &temp4;
7046 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7047 }
7048 }
7049 if (obj4) {
7050 {
7051 arg5 = &temp5;
7052 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7053 }
7054 }
7055 if (obj6) {
7056 {
7057 arg7 = wxString_in_helper(obj6);
7058 if (arg7 == NULL) SWIG_fail;
7059 temp7 = True;
7060 }
7061 }
7062 {
7063 PyThreadState* __tstate = wxPyBeginAllowThreads();
7064 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7065
7066 wxPyEndAllowThreads(__tstate);
7067 if (PyErr_Occurred()) SWIG_fail;
7068 }
7069 resultobj = PyInt_FromLong((long)result);
7070 {
7071 if (temp7)
7072 delete arg7;
7073 }
7074 return resultobj;
7075 fail:
7076 {
7077 if (temp7)
7078 delete arg7;
7079 }
7080 return NULL;
7081 }
7082
7083
7084 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7085 PyObject *resultobj;
7086 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7087 int result;
7088 PyObject * obj0 = 0 ;
7089 char *kwnames[] = {
7090 (char *) "self", NULL
7091 };
7092
7093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
7094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7095 {
7096 PyThreadState* __tstate = wxPyBeginAllowThreads();
7097 result = (int)(arg1)->GetAlignment();
7098
7099 wxPyEndAllowThreads(__tstate);
7100 if (PyErr_Occurred()) SWIG_fail;
7101 }
7102 resultobj = PyInt_FromLong((long)result);
7103 return resultobj;
7104 fail:
7105 return NULL;
7106 }
7107
7108
7109 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7110 PyObject *resultobj;
7111 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7112 int result;
7113 PyObject * obj0 = 0 ;
7114 char *kwnames[] = {
7115 (char *) "self", NULL
7116 };
7117
7118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
7119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7120 {
7121 PyThreadState* __tstate = wxPyBeginAllowThreads();
7122 result = (int)(arg1)->GetOrientation();
7123
7124 wxPyEndAllowThreads(__tstate);
7125 if (PyErr_Occurred()) SWIG_fail;
7126 }
7127 resultobj = PyInt_FromLong((long)result);
7128 return resultobj;
7129 fail:
7130 return NULL;
7131 }
7132
7133
7134 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7135 PyObject *resultobj;
7136 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7137 int arg2 ;
7138 PyObject * obj0 = 0 ;
7139 char *kwnames[] = {
7140 (char *) "self",(char *) "alignment", NULL
7141 };
7142
7143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
7144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7145 {
7146 PyThreadState* __tstate = wxPyBeginAllowThreads();
7147 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7148
7149 wxPyEndAllowThreads(__tstate);
7150 if (PyErr_Occurred()) SWIG_fail;
7151 }
7152 Py_INCREF(Py_None); resultobj = Py_None;
7153 return resultobj;
7154 fail:
7155 return NULL;
7156 }
7157
7158
7159 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7160 PyObject *resultobj;
7161 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7162 wxSize *arg2 = 0 ;
7163 wxSize temp2 ;
7164 PyObject * obj0 = 0 ;
7165 PyObject * obj1 = 0 ;
7166 char *kwnames[] = {
7167 (char *) "self",(char *) "size", NULL
7168 };
7169
7170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
7171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7172 {
7173 arg2 = &temp2;
7174 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7175 }
7176 {
7177 PyThreadState* __tstate = wxPyBeginAllowThreads();
7178 (arg1)->SetDefaultSize((wxSize const &)*arg2);
7179
7180 wxPyEndAllowThreads(__tstate);
7181 if (PyErr_Occurred()) SWIG_fail;
7182 }
7183 Py_INCREF(Py_None); resultobj = Py_None;
7184 return resultobj;
7185 fail:
7186 return NULL;
7187 }
7188
7189
7190 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7191 PyObject *resultobj;
7192 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7193 int arg2 ;
7194 PyObject * obj0 = 0 ;
7195 char *kwnames[] = {
7196 (char *) "self",(char *) "orientation", NULL
7197 };
7198
7199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
7200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7201 {
7202 PyThreadState* __tstate = wxPyBeginAllowThreads();
7203 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7204
7205 wxPyEndAllowThreads(__tstate);
7206 if (PyErr_Occurred()) SWIG_fail;
7207 }
7208 Py_INCREF(Py_None); resultobj = Py_None;
7209 return resultobj;
7210 fail:
7211 return NULL;
7212 }
7213
7214
7215 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
7216 PyObject *obj;
7217 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7218 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
7219 Py_INCREF(obj);
7220 return Py_BuildValue((char *)"");
7221 }
7222 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7223 PyObject *resultobj;
7224 wxLayoutAlgorithm *result;
7225 char *kwnames[] = {
7226 NULL
7227 };
7228
7229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
7230 {
7231 PyThreadState* __tstate = wxPyBeginAllowThreads();
7232 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
7233
7234 wxPyEndAllowThreads(__tstate);
7235 if (PyErr_Occurred()) SWIG_fail;
7236 }
7237 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutAlgorithm, 1);
7238 return resultobj;
7239 fail:
7240 return NULL;
7241 }
7242
7243
7244 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7245 PyObject *resultobj;
7246 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7247 PyObject * obj0 = 0 ;
7248 char *kwnames[] = {
7249 (char *) "self", NULL
7250 };
7251
7252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
7253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7254 {
7255 PyThreadState* __tstate = wxPyBeginAllowThreads();
7256 delete arg1;
7257
7258 wxPyEndAllowThreads(__tstate);
7259 if (PyErr_Occurred()) SWIG_fail;
7260 }
7261 Py_INCREF(Py_None); resultobj = Py_None;
7262 return resultobj;
7263 fail:
7264 return NULL;
7265 }
7266
7267
7268 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7269 PyObject *resultobj;
7270 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7271 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
7272 wxRect *arg3 = (wxRect *) NULL ;
7273 bool result;
7274 PyObject * obj0 = 0 ;
7275 PyObject * obj1 = 0 ;
7276 PyObject * obj2 = 0 ;
7277 char *kwnames[] = {
7278 (char *) "self",(char *) "frame",(char *) "rect", NULL
7279 };
7280
7281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7283 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7284 if (obj2) {
7285 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7286 }
7287 {
7288 PyThreadState* __tstate = wxPyBeginAllowThreads();
7289 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
7290
7291 wxPyEndAllowThreads(__tstate);
7292 if (PyErr_Occurred()) SWIG_fail;
7293 }
7294 resultobj = PyInt_FromLong((long)result);
7295 return resultobj;
7296 fail:
7297 return NULL;
7298 }
7299
7300
7301 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7302 PyObject *resultobj;
7303 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7304 wxFrame *arg2 = (wxFrame *) 0 ;
7305 wxWindow *arg3 = (wxWindow *) NULL ;
7306 bool result;
7307 PyObject * obj0 = 0 ;
7308 PyObject * obj1 = 0 ;
7309 PyObject * obj2 = 0 ;
7310 char *kwnames[] = {
7311 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
7312 };
7313
7314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7316 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7317 if (obj2) {
7318 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7319 }
7320 {
7321 PyThreadState* __tstate = wxPyBeginAllowThreads();
7322 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
7323
7324 wxPyEndAllowThreads(__tstate);
7325 if (PyErr_Occurred()) SWIG_fail;
7326 }
7327 resultobj = PyInt_FromLong((long)result);
7328 return resultobj;
7329 fail:
7330 return NULL;
7331 }
7332
7333
7334 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7335 PyObject *resultobj;
7336 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7337 wxWindow *arg2 = (wxWindow *) 0 ;
7338 wxWindow *arg3 = (wxWindow *) NULL ;
7339 bool result;
7340 PyObject * obj0 = 0 ;
7341 PyObject * obj1 = 0 ;
7342 PyObject * obj2 = 0 ;
7343 char *kwnames[] = {
7344 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
7345 };
7346
7347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
7348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7349 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7350 if (obj2) {
7351 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7352 }
7353 {
7354 PyThreadState* __tstate = wxPyBeginAllowThreads();
7355 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
7356
7357 wxPyEndAllowThreads(__tstate);
7358 if (PyErr_Occurred()) SWIG_fail;
7359 }
7360 resultobj = PyInt_FromLong((long)result);
7361 return resultobj;
7362 fail:
7363 return NULL;
7364 }
7365
7366
7367 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
7368 PyObject *obj;
7369 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7370 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
7371 Py_INCREF(obj);
7372 return Py_BuildValue((char *)"");
7373 }
7374 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7375 PyObject *resultobj;
7376 wxWindow *arg1 = (wxWindow *) 0 ;
7377 int arg2 = (int) wxBORDER_NONE ;
7378 wxPopupWindow *result;
7379 PyObject * obj0 = 0 ;
7380 char *kwnames[] = {
7381 (char *) "parent",(char *) "flags", NULL
7382 };
7383
7384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupWindow",kwnames,&obj0,&arg2)) goto fail;
7385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7386 {
7387 PyThreadState* __tstate = wxPyBeginAllowThreads();
7388 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
7389
7390 wxPyEndAllowThreads(__tstate);
7391 if (PyErr_Occurred()) SWIG_fail;
7392 }
7393 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7394 return resultobj;
7395 fail:
7396 return NULL;
7397 }
7398
7399
7400 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7401 PyObject *resultobj;
7402 wxPopupWindow *result;
7403 char *kwnames[] = {
7404 NULL
7405 };
7406
7407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
7408 {
7409 PyThreadState* __tstate = wxPyBeginAllowThreads();
7410 result = (wxPopupWindow *)new wxPopupWindow();
7411
7412 wxPyEndAllowThreads(__tstate);
7413 if (PyErr_Occurred()) SWIG_fail;
7414 }
7415 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7416 return resultobj;
7417 fail:
7418 return NULL;
7419 }
7420
7421
7422 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
7423 PyObject *obj;
7424 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7425 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
7426 Py_INCREF(obj);
7427 return Py_BuildValue((char *)"");
7428 }
7429 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7430 PyObject *resultobj;
7431 wxWindow *arg1 = (wxWindow *) 0 ;
7432 int arg2 = (int) wxBORDER_NONE ;
7433 wxPyPopupTransientWindow *result;
7434 PyObject * obj0 = 0 ;
7435 char *kwnames[] = {
7436 (char *) "parent",(char *) "style", NULL
7437 };
7438
7439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupTransientWindow",kwnames,&obj0,&arg2)) goto fail;
7440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7441 {
7442 PyThreadState* __tstate = wxPyBeginAllowThreads();
7443 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
7444
7445 wxPyEndAllowThreads(__tstate);
7446 if (PyErr_Occurred()) SWIG_fail;
7447 }
7448 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7449 return resultobj;
7450 fail:
7451 return NULL;
7452 }
7453
7454
7455 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7456 PyObject *resultobj;
7457 wxPyPopupTransientWindow *result;
7458 char *kwnames[] = {
7459 NULL
7460 };
7461
7462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
7463 {
7464 PyThreadState* __tstate = wxPyBeginAllowThreads();
7465 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
7466
7467 wxPyEndAllowThreads(__tstate);
7468 if (PyErr_Occurred()) SWIG_fail;
7469 }
7470 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7471 return resultobj;
7472 fail:
7473 return NULL;
7474 }
7475
7476
7477 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
7478 PyObject *obj;
7479 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7480 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
7481 Py_INCREF(obj);
7482 return Py_BuildValue((char *)"");
7483 }
7484 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7485 PyObject *resultobj;
7486 wxWindow *arg1 = (wxWindow *) 0 ;
7487 wxString *arg2 = 0 ;
7488 int arg3 = (int) 100 ;
7489 wxRect *arg4 = (wxRect *) NULL ;
7490 wxTipWindow *result;
7491 bool temp2 = False ;
7492 PyObject * obj0 = 0 ;
7493 PyObject * obj1 = 0 ;
7494 PyObject * obj3 = 0 ;
7495 char *kwnames[] = {
7496 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
7497 };
7498
7499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iO:new_TipWindow",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
7500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7501 {
7502 arg2 = wxString_in_helper(obj1);
7503 if (arg2 == NULL) SWIG_fail;
7504 temp2 = True;
7505 }
7506 if (obj3) {
7507 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7508 }
7509 {
7510 PyThreadState* __tstate = wxPyBeginAllowThreads();
7511 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
7512
7513 wxPyEndAllowThreads(__tstate);
7514 if (PyErr_Occurred()) SWIG_fail;
7515 }
7516 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipWindow, 1);
7517 {
7518 if (temp2)
7519 delete arg2;
7520 }
7521 return resultobj;
7522 fail:
7523 {
7524 if (temp2)
7525 delete arg2;
7526 }
7527 return NULL;
7528 }
7529
7530
7531 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7532 PyObject *resultobj;
7533 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7534 wxRect *arg2 = 0 ;
7535 wxRect temp2 ;
7536 PyObject * obj0 = 0 ;
7537 PyObject * obj1 = 0 ;
7538 char *kwnames[] = {
7539 (char *) "self",(char *) "rectBound", NULL
7540 };
7541
7542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
7543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7544 {
7545 arg2 = &temp2;
7546 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7547 }
7548 {
7549 PyThreadState* __tstate = wxPyBeginAllowThreads();
7550 (arg1)->SetBoundingRect((wxRect const &)*arg2);
7551
7552 wxPyEndAllowThreads(__tstate);
7553 if (PyErr_Occurred()) SWIG_fail;
7554 }
7555 Py_INCREF(Py_None); resultobj = Py_None;
7556 return resultobj;
7557 fail:
7558 return NULL;
7559 }
7560
7561
7562 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
7563 PyObject *resultobj;
7564 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7565 PyObject * obj0 = 0 ;
7566 char *kwnames[] = {
7567 (char *) "self", NULL
7568 };
7569
7570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
7571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7572 {
7573 PyThreadState* __tstate = wxPyBeginAllowThreads();
7574 (arg1)->Close();
7575
7576 wxPyEndAllowThreads(__tstate);
7577 if (PyErr_Occurred()) SWIG_fail;
7578 }
7579 Py_INCREF(Py_None); resultobj = Py_None;
7580 return resultobj;
7581 fail:
7582 return NULL;
7583 }
7584
7585
7586 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
7587 PyObject *obj;
7588 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7589 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
7590 Py_INCREF(obj);
7591 return Py_BuildValue((char *)"");
7592 }
7593 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7594 PyObject *resultobj;
7595 wxWindow *arg1 = (wxWindow *) 0 ;
7596 int arg2 = (int) wxID_ANY ;
7597 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7598 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7599 wxSize const &arg4_defvalue = wxDefaultSize ;
7600 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7601 long arg5 = (long) 0 ;
7602 wxString const &arg6_defvalue = wxPyPanelNameStr ;
7603 wxString *arg6 = (wxString *) &arg6_defvalue ;
7604 wxPyVScrolledWindow *result;
7605 wxPoint temp3 ;
7606 wxSize temp4 ;
7607 bool temp6 = False ;
7608 PyObject * obj0 = 0 ;
7609 PyObject * obj2 = 0 ;
7610 PyObject * obj3 = 0 ;
7611 PyObject * obj5 = 0 ;
7612 char *kwnames[] = {
7613 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7614 };
7615
7616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
7617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7618 if (obj2) {
7619 {
7620 arg3 = &temp3;
7621 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7622 }
7623 }
7624 if (obj3) {
7625 {
7626 arg4 = &temp4;
7627 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7628 }
7629 }
7630 if (obj5) {
7631 {
7632 arg6 = wxString_in_helper(obj5);
7633 if (arg6 == NULL) SWIG_fail;
7634 temp6 = True;
7635 }
7636 }
7637 {
7638 PyThreadState* __tstate = wxPyBeginAllowThreads();
7639 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7640
7641 wxPyEndAllowThreads(__tstate);
7642 if (PyErr_Occurred()) SWIG_fail;
7643 }
7644 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
7645 {
7646 if (temp6)
7647 delete arg6;
7648 }
7649 return resultobj;
7650 fail:
7651 {
7652 if (temp6)
7653 delete arg6;
7654 }
7655 return NULL;
7656 }
7657
7658
7659 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7660 PyObject *resultobj;
7661 wxPyVScrolledWindow *result;
7662 char *kwnames[] = {
7663 NULL
7664 };
7665
7666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
7667 {
7668 PyThreadState* __tstate = wxPyBeginAllowThreads();
7669 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
7670
7671 wxPyEndAllowThreads(__tstate);
7672 if (PyErr_Occurred()) SWIG_fail;
7673 }
7674 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
7675 return resultobj;
7676 fail:
7677 return NULL;
7678 }
7679
7680
7681 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7682 PyObject *resultobj;
7683 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7684 PyObject *arg2 = (PyObject *) 0 ;
7685 PyObject *arg3 = (PyObject *) 0 ;
7686 PyObject * obj0 = 0 ;
7687 PyObject * obj1 = 0 ;
7688 PyObject * obj2 = 0 ;
7689 char *kwnames[] = {
7690 (char *) "self",(char *) "self",(char *) "_class", NULL
7691 };
7692
7693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7695 arg2 = obj1;
7696 arg3 = obj2;
7697 {
7698 PyThreadState* __tstate = wxPyBeginAllowThreads();
7699 (arg1)->_setCallbackInfo(arg2,arg3);
7700
7701 wxPyEndAllowThreads(__tstate);
7702 if (PyErr_Occurred()) SWIG_fail;
7703 }
7704 Py_INCREF(Py_None); resultobj = Py_None;
7705 return resultobj;
7706 fail:
7707 return NULL;
7708 }
7709
7710
7711 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7712 PyObject *resultobj;
7713 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7714 wxWindow *arg2 = (wxWindow *) 0 ;
7715 int arg3 = (int) wxID_ANY ;
7716 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7717 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7718 wxSize const &arg5_defvalue = wxDefaultSize ;
7719 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7720 long arg6 = (long) 0 ;
7721 wxString const &arg7_defvalue = wxPyPanelNameStr ;
7722 wxString *arg7 = (wxString *) &arg7_defvalue ;
7723 bool result;
7724 wxPoint temp4 ;
7725 wxSize temp5 ;
7726 bool temp7 = False ;
7727 PyObject * obj0 = 0 ;
7728 PyObject * obj1 = 0 ;
7729 PyObject * obj3 = 0 ;
7730 PyObject * obj4 = 0 ;
7731 PyObject * obj6 = 0 ;
7732 char *kwnames[] = {
7733 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7734 };
7735
7736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
7737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7738 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7739 if (obj3) {
7740 {
7741 arg4 = &temp4;
7742 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7743 }
7744 }
7745 if (obj4) {
7746 {
7747 arg5 = &temp5;
7748 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7749 }
7750 }
7751 if (obj6) {
7752 {
7753 arg7 = wxString_in_helper(obj6);
7754 if (arg7 == NULL) SWIG_fail;
7755 temp7 = True;
7756 }
7757 }
7758 {
7759 PyThreadState* __tstate = wxPyBeginAllowThreads();
7760 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7761
7762 wxPyEndAllowThreads(__tstate);
7763 if (PyErr_Occurred()) SWIG_fail;
7764 }
7765 resultobj = PyInt_FromLong((long)result);
7766 {
7767 if (temp7)
7768 delete arg7;
7769 }
7770 return resultobj;
7771 fail:
7772 {
7773 if (temp7)
7774 delete arg7;
7775 }
7776 return NULL;
7777 }
7778
7779
7780 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7781 PyObject *resultobj;
7782 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7783 size_t arg2 ;
7784 PyObject * obj0 = 0 ;
7785 PyObject * obj1 = 0 ;
7786 char *kwnames[] = {
7787 (char *) "self",(char *) "count", NULL
7788 };
7789
7790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
7791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7792 arg2 = (size_t) PyInt_AsLong(obj1);
7793 if (PyErr_Occurred()) SWIG_fail;
7794 {
7795 PyThreadState* __tstate = wxPyBeginAllowThreads();
7796 (arg1)->SetLineCount(arg2);
7797
7798 wxPyEndAllowThreads(__tstate);
7799 if (PyErr_Occurred()) SWIG_fail;
7800 }
7801 Py_INCREF(Py_None); resultobj = Py_None;
7802 return resultobj;
7803 fail:
7804 return NULL;
7805 }
7806
7807
7808 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7809 PyObject *resultobj;
7810 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7811 size_t arg2 ;
7812 bool result;
7813 PyObject * obj0 = 0 ;
7814 PyObject * obj1 = 0 ;
7815 char *kwnames[] = {
7816 (char *) "self",(char *) "line", NULL
7817 };
7818
7819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
7820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7821 arg2 = (size_t) PyInt_AsLong(obj1);
7822 if (PyErr_Occurred()) SWIG_fail;
7823 {
7824 PyThreadState* __tstate = wxPyBeginAllowThreads();
7825 result = (bool)(arg1)->ScrollToLine(arg2);
7826
7827 wxPyEndAllowThreads(__tstate);
7828 if (PyErr_Occurred()) SWIG_fail;
7829 }
7830 resultobj = PyInt_FromLong((long)result);
7831 return resultobj;
7832 fail:
7833 return NULL;
7834 }
7835
7836
7837 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7838 PyObject *resultobj;
7839 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7840 int arg2 ;
7841 bool result;
7842 PyObject * obj0 = 0 ;
7843 char *kwnames[] = {
7844 (char *) "self",(char *) "lines", NULL
7845 };
7846
7847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollLines",kwnames,&obj0,&arg2)) goto fail;
7848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7849 {
7850 PyThreadState* __tstate = wxPyBeginAllowThreads();
7851 result = (bool)(arg1)->ScrollLines(arg2);
7852
7853 wxPyEndAllowThreads(__tstate);
7854 if (PyErr_Occurred()) SWIG_fail;
7855 }
7856 resultobj = PyInt_FromLong((long)result);
7857 return resultobj;
7858 fail:
7859 return NULL;
7860 }
7861
7862
7863 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
7864 PyObject *resultobj;
7865 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7866 int arg2 ;
7867 bool result;
7868 PyObject * obj0 = 0 ;
7869 char *kwnames[] = {
7870 (char *) "self",(char *) "pages", NULL
7871 };
7872
7873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollPages",kwnames,&obj0,&arg2)) goto fail;
7874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7875 {
7876 PyThreadState* __tstate = wxPyBeginAllowThreads();
7877 result = (bool)(arg1)->ScrollPages(arg2);
7878
7879 wxPyEndAllowThreads(__tstate);
7880 if (PyErr_Occurred()) SWIG_fail;
7881 }
7882 resultobj = PyInt_FromLong((long)result);
7883 return resultobj;
7884 fail:
7885 return NULL;
7886 }
7887
7888
7889 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7890 PyObject *resultobj;
7891 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7892 size_t arg2 ;
7893 PyObject * obj0 = 0 ;
7894 PyObject * obj1 = 0 ;
7895 char *kwnames[] = {
7896 (char *) "self",(char *) "line", NULL
7897 };
7898
7899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
7900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7901 arg2 = (size_t) PyInt_AsLong(obj1);
7902 if (PyErr_Occurred()) SWIG_fail;
7903 {
7904 PyThreadState* __tstate = wxPyBeginAllowThreads();
7905 (arg1)->RefreshLine(arg2);
7906
7907 wxPyEndAllowThreads(__tstate);
7908 if (PyErr_Occurred()) SWIG_fail;
7909 }
7910 Py_INCREF(Py_None); resultobj = Py_None;
7911 return resultobj;
7912 fail:
7913 return NULL;
7914 }
7915
7916
7917 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7918 PyObject *resultobj;
7919 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7920 size_t arg2 ;
7921 size_t arg3 ;
7922 PyObject * obj0 = 0 ;
7923 PyObject * obj1 = 0 ;
7924 PyObject * obj2 = 0 ;
7925 char *kwnames[] = {
7926 (char *) "self",(char *) "from",(char *) "to", NULL
7927 };
7928
7929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
7930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7931 arg2 = (size_t) PyInt_AsLong(obj1);
7932 if (PyErr_Occurred()) SWIG_fail;
7933 arg3 = (size_t) PyInt_AsLong(obj2);
7934 if (PyErr_Occurred()) SWIG_fail;
7935 {
7936 PyThreadState* __tstate = wxPyBeginAllowThreads();
7937 (arg1)->RefreshLines(arg2,arg3);
7938
7939 wxPyEndAllowThreads(__tstate);
7940 if (PyErr_Occurred()) SWIG_fail;
7941 }
7942 Py_INCREF(Py_None); resultobj = Py_None;
7943 return resultobj;
7944 fail:
7945 return NULL;
7946 }
7947
7948
7949 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
7950 PyObject *resultobj;
7951 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7952 int arg2 ;
7953 int arg3 ;
7954 int result;
7955 PyObject * obj0 = 0 ;
7956 char *kwnames[] = {
7957 (char *) "self",(char *) "x",(char *) "y", NULL
7958 };
7959
7960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VScrolledWindow_HitTestXT",kwnames,&obj0,&arg2,&arg3)) goto fail;
7961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7962 {
7963 PyThreadState* __tstate = wxPyBeginAllowThreads();
7964 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
7965
7966 wxPyEndAllowThreads(__tstate);
7967 if (PyErr_Occurred()) SWIG_fail;
7968 }
7969 resultobj = PyInt_FromLong((long)result);
7970 return resultobj;
7971 fail:
7972 return NULL;
7973 }
7974
7975
7976 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
7977 PyObject *resultobj;
7978 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7979 wxPoint *arg2 = 0 ;
7980 int result;
7981 wxPoint temp2 ;
7982 PyObject * obj0 = 0 ;
7983 PyObject * obj1 = 0 ;
7984 char *kwnames[] = {
7985 (char *) "self",(char *) "pt", NULL
7986 };
7987
7988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
7989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7990 {
7991 arg2 = &temp2;
7992 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7993 }
7994 {
7995 PyThreadState* __tstate = wxPyBeginAllowThreads();
7996 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
7997
7998 wxPyEndAllowThreads(__tstate);
7999 if (PyErr_Occurred()) SWIG_fail;
8000 }
8001 resultobj = PyInt_FromLong((long)result);
8002 return resultobj;
8003 fail:
8004 return NULL;
8005 }
8006
8007
8008 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8009 PyObject *resultobj;
8010 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8011 PyObject * obj0 = 0 ;
8012 char *kwnames[] = {
8013 (char *) "self", NULL
8014 };
8015
8016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
8017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8018 {
8019 PyThreadState* __tstate = wxPyBeginAllowThreads();
8020 (arg1)->RefreshAll();
8021
8022 wxPyEndAllowThreads(__tstate);
8023 if (PyErr_Occurred()) SWIG_fail;
8024 }
8025 Py_INCREF(Py_None); resultobj = Py_None;
8026 return resultobj;
8027 fail:
8028 return NULL;
8029 }
8030
8031
8032 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8033 PyObject *resultobj;
8034 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8035 size_t result;
8036 PyObject * obj0 = 0 ;
8037 char *kwnames[] = {
8038 (char *) "self", NULL
8039 };
8040
8041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
8042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8043 {
8044 PyThreadState* __tstate = wxPyBeginAllowThreads();
8045 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
8046
8047 wxPyEndAllowThreads(__tstate);
8048 if (PyErr_Occurred()) SWIG_fail;
8049 }
8050 resultobj = PyInt_FromLong((long)result);
8051 return resultobj;
8052 fail:
8053 return NULL;
8054 }
8055
8056
8057 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8058 PyObject *resultobj;
8059 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8060 size_t result;
8061 PyObject * obj0 = 0 ;
8062 char *kwnames[] = {
8063 (char *) "self", NULL
8064 };
8065
8066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
8067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8068 {
8069 PyThreadState* __tstate = wxPyBeginAllowThreads();
8070 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
8071
8072 wxPyEndAllowThreads(__tstate);
8073 if (PyErr_Occurred()) SWIG_fail;
8074 }
8075 resultobj = PyInt_FromLong((long)result);
8076 return resultobj;
8077 fail:
8078 return NULL;
8079 }
8080
8081
8082 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8083 PyObject *resultobj;
8084 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8085 size_t result;
8086 PyObject * obj0 = 0 ;
8087 char *kwnames[] = {
8088 (char *) "self", NULL
8089 };
8090
8091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
8092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8093 {
8094 PyThreadState* __tstate = wxPyBeginAllowThreads();
8095 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
8096
8097 wxPyEndAllowThreads(__tstate);
8098 if (PyErr_Occurred()) SWIG_fail;
8099 }
8100 resultobj = PyInt_FromLong((long)result);
8101 return resultobj;
8102 fail:
8103 return NULL;
8104 }
8105
8106
8107 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8108 PyObject *resultobj;
8109 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8110 size_t arg2 ;
8111 bool result;
8112 PyObject * obj0 = 0 ;
8113 PyObject * obj1 = 0 ;
8114 char *kwnames[] = {
8115 (char *) "self",(char *) "line", NULL
8116 };
8117
8118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
8119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8120 arg2 = (size_t) PyInt_AsLong(obj1);
8121 if (PyErr_Occurred()) SWIG_fail;
8122 {
8123 PyThreadState* __tstate = wxPyBeginAllowThreads();
8124 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
8125
8126 wxPyEndAllowThreads(__tstate);
8127 if (PyErr_Occurred()) SWIG_fail;
8128 }
8129 resultobj = PyInt_FromLong((long)result);
8130 return resultobj;
8131 fail:
8132 return NULL;
8133 }
8134
8135
8136 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
8137 PyObject *obj;
8138 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8139 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
8140 Py_INCREF(obj);
8141 return Py_BuildValue((char *)"");
8142 }
8143 static int _wrap_VListBoxNameStr_set(PyObject *_val) {
8144 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
8145 return 1;
8146 }
8147
8148
8149 static PyObject *_wrap_VListBoxNameStr_get() {
8150 PyObject *pyobj;
8151
8152 {
8153 #if wxUSE_UNICODE
8154 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
8155 #else
8156 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
8157 #endif
8158 }
8159 return pyobj;
8160 }
8161
8162
8163 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8164 PyObject *resultobj;
8165 wxWindow *arg1 = (wxWindow *) 0 ;
8166 int arg2 = (int) wxID_ANY ;
8167 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8168 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8169 wxSize const &arg4_defvalue = wxDefaultSize ;
8170 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8171 long arg5 = (long) 0 ;
8172 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
8173 wxString *arg6 = (wxString *) &arg6_defvalue ;
8174 wxPyVListBox *result;
8175 wxPoint temp3 ;
8176 wxSize temp4 ;
8177 bool temp6 = False ;
8178 PyObject * obj0 = 0 ;
8179 PyObject * obj2 = 0 ;
8180 PyObject * obj3 = 0 ;
8181 PyObject * obj5 = 0 ;
8182 char *kwnames[] = {
8183 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8184 };
8185
8186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8188 if (obj2) {
8189 {
8190 arg3 = &temp3;
8191 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8192 }
8193 }
8194 if (obj3) {
8195 {
8196 arg4 = &temp4;
8197 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8198 }
8199 }
8200 if (obj5) {
8201 {
8202 arg6 = wxString_in_helper(obj5);
8203 if (arg6 == NULL) SWIG_fail;
8204 temp6 = True;
8205 }
8206 }
8207 {
8208 PyThreadState* __tstate = wxPyBeginAllowThreads();
8209 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8210
8211 wxPyEndAllowThreads(__tstate);
8212 if (PyErr_Occurred()) SWIG_fail;
8213 }
8214 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8215 {
8216 if (temp6)
8217 delete arg6;
8218 }
8219 return resultobj;
8220 fail:
8221 {
8222 if (temp6)
8223 delete arg6;
8224 }
8225 return NULL;
8226 }
8227
8228
8229 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8230 PyObject *resultobj;
8231 wxPyVListBox *result;
8232 char *kwnames[] = {
8233 NULL
8234 };
8235
8236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
8237 {
8238 PyThreadState* __tstate = wxPyBeginAllowThreads();
8239 result = (wxPyVListBox *)new wxPyVListBox();
8240
8241 wxPyEndAllowThreads(__tstate);
8242 if (PyErr_Occurred()) SWIG_fail;
8243 }
8244 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8245 return resultobj;
8246 fail:
8247 return NULL;
8248 }
8249
8250
8251 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8252 PyObject *resultobj;
8253 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8254 PyObject *arg2 = (PyObject *) 0 ;
8255 PyObject *arg3 = (PyObject *) 0 ;
8256 PyObject * obj0 = 0 ;
8257 PyObject * obj1 = 0 ;
8258 PyObject * obj2 = 0 ;
8259 char *kwnames[] = {
8260 (char *) "self",(char *) "self",(char *) "_class", NULL
8261 };
8262
8263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8265 arg2 = obj1;
8266 arg3 = obj2;
8267 {
8268 PyThreadState* __tstate = wxPyBeginAllowThreads();
8269 (arg1)->_setCallbackInfo(arg2,arg3);
8270
8271 wxPyEndAllowThreads(__tstate);
8272 if (PyErr_Occurred()) SWIG_fail;
8273 }
8274 Py_INCREF(Py_None); resultobj = Py_None;
8275 return resultobj;
8276 fail:
8277 return NULL;
8278 }
8279
8280
8281 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8282 PyObject *resultobj;
8283 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8284 wxWindow *arg2 = (wxWindow *) 0 ;
8285 int arg3 = (int) wxID_ANY ;
8286 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8287 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8288 wxSize const &arg5_defvalue = wxDefaultSize ;
8289 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8290 long arg6 = (long) 0 ;
8291 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
8292 wxString *arg7 = (wxString *) &arg7_defvalue ;
8293 bool result;
8294 wxPoint temp4 ;
8295 wxSize temp5 ;
8296 bool temp7 = False ;
8297 PyObject * obj0 = 0 ;
8298 PyObject * obj1 = 0 ;
8299 PyObject * obj3 = 0 ;
8300 PyObject * obj4 = 0 ;
8301 PyObject * obj6 = 0 ;
8302 char *kwnames[] = {
8303 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8304 };
8305
8306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8308 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8309 if (obj3) {
8310 {
8311 arg4 = &temp4;
8312 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8313 }
8314 }
8315 if (obj4) {
8316 {
8317 arg5 = &temp5;
8318 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8319 }
8320 }
8321 if (obj6) {
8322 {
8323 arg7 = wxString_in_helper(obj6);
8324 if (arg7 == NULL) SWIG_fail;
8325 temp7 = True;
8326 }
8327 }
8328 {
8329 PyThreadState* __tstate = wxPyBeginAllowThreads();
8330 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8331
8332 wxPyEndAllowThreads(__tstate);
8333 if (PyErr_Occurred()) SWIG_fail;
8334 }
8335 resultobj = PyInt_FromLong((long)result);
8336 {
8337 if (temp7)
8338 delete arg7;
8339 }
8340 return resultobj;
8341 fail:
8342 {
8343 if (temp7)
8344 delete arg7;
8345 }
8346 return NULL;
8347 }
8348
8349
8350 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8351 PyObject *resultobj;
8352 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8353 size_t result;
8354 PyObject * obj0 = 0 ;
8355 char *kwnames[] = {
8356 (char *) "self", NULL
8357 };
8358
8359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
8360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8361 {
8362 PyThreadState* __tstate = wxPyBeginAllowThreads();
8363 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
8364
8365 wxPyEndAllowThreads(__tstate);
8366 if (PyErr_Occurred()) SWIG_fail;
8367 }
8368 resultobj = PyInt_FromLong((long)result);
8369 return resultobj;
8370 fail:
8371 return NULL;
8372 }
8373
8374
8375 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8376 PyObject *resultobj;
8377 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8378 bool result;
8379 PyObject * obj0 = 0 ;
8380 char *kwnames[] = {
8381 (char *) "self", NULL
8382 };
8383
8384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
8385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8386 {
8387 PyThreadState* __tstate = wxPyBeginAllowThreads();
8388 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
8389
8390 wxPyEndAllowThreads(__tstate);
8391 if (PyErr_Occurred()) SWIG_fail;
8392 }
8393 resultobj = PyInt_FromLong((long)result);
8394 return resultobj;
8395 fail:
8396 return NULL;
8397 }
8398
8399
8400 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8401 PyObject *resultobj;
8402 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8403 int result;
8404 PyObject * obj0 = 0 ;
8405 char *kwnames[] = {
8406 (char *) "self", NULL
8407 };
8408
8409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
8410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8411 {
8412 PyThreadState* __tstate = wxPyBeginAllowThreads();
8413 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
8414
8415 wxPyEndAllowThreads(__tstate);
8416 if (PyErr_Occurred()) SWIG_fail;
8417 }
8418 resultobj = PyInt_FromLong((long)result);
8419 return resultobj;
8420 fail:
8421 return NULL;
8422 }
8423
8424
8425 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
8426 PyObject *resultobj;
8427 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8428 size_t arg2 ;
8429 bool result;
8430 PyObject * obj0 = 0 ;
8431 PyObject * obj1 = 0 ;
8432 char *kwnames[] = {
8433 (char *) "self",(char *) "item", NULL
8434 };
8435
8436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
8437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8438 arg2 = (size_t) PyInt_AsLong(obj1);
8439 if (PyErr_Occurred()) SWIG_fail;
8440 {
8441 PyThreadState* __tstate = wxPyBeginAllowThreads();
8442 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
8443
8444 wxPyEndAllowThreads(__tstate);
8445 if (PyErr_Occurred()) SWIG_fail;
8446 }
8447 resultobj = PyInt_FromLong((long)result);
8448 return resultobj;
8449 fail:
8450 return NULL;
8451 }
8452
8453
8454 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8455 PyObject *resultobj;
8456 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8457 size_t arg2 ;
8458 bool result;
8459 PyObject * obj0 = 0 ;
8460 PyObject * obj1 = 0 ;
8461 char *kwnames[] = {
8462 (char *) "self",(char *) "item", NULL
8463 };
8464
8465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
8466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8467 arg2 = (size_t) PyInt_AsLong(obj1);
8468 if (PyErr_Occurred()) SWIG_fail;
8469 {
8470 PyThreadState* __tstate = wxPyBeginAllowThreads();
8471 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
8472
8473 wxPyEndAllowThreads(__tstate);
8474 if (PyErr_Occurred()) SWIG_fail;
8475 }
8476 resultobj = PyInt_FromLong((long)result);
8477 return resultobj;
8478 fail:
8479 return NULL;
8480 }
8481
8482
8483 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8484 PyObject *resultobj;
8485 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8486 size_t result;
8487 PyObject * obj0 = 0 ;
8488 char *kwnames[] = {
8489 (char *) "self", NULL
8490 };
8491
8492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
8493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8494 {
8495 PyThreadState* __tstate = wxPyBeginAllowThreads();
8496 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
8497
8498 wxPyEndAllowThreads(__tstate);
8499 if (PyErr_Occurred()) SWIG_fail;
8500 }
8501 resultobj = PyInt_FromLong((long)result);
8502 return resultobj;
8503 fail:
8504 return NULL;
8505 }
8506
8507
8508 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8509 PyObject *resultobj;
8510 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8511 unsigned long *arg2 = 0 ;
8512 int result;
8513 PyObject * obj0 = 0 ;
8514 PyObject * obj1 = 0 ;
8515 char *kwnames[] = {
8516 (char *) "self",(char *) "cookie", NULL
8517 };
8518
8519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
8520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8521 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8522 if (arg2 == NULL) {
8523 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8524 }
8525 {
8526 PyThreadState* __tstate = wxPyBeginAllowThreads();
8527 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
8528
8529 wxPyEndAllowThreads(__tstate);
8530 if (PyErr_Occurred()) SWIG_fail;
8531 }
8532 resultobj = PyInt_FromLong((long)result);
8533 return resultobj;
8534 fail:
8535 return NULL;
8536 }
8537
8538
8539 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8540 PyObject *resultobj;
8541 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8542 unsigned long *arg2 = 0 ;
8543 int result;
8544 PyObject * obj0 = 0 ;
8545 PyObject * obj1 = 0 ;
8546 char *kwnames[] = {
8547 (char *) "self",(char *) "cookie", NULL
8548 };
8549
8550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
8551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8552 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8553 if (arg2 == NULL) {
8554 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8555 }
8556 {
8557 PyThreadState* __tstate = wxPyBeginAllowThreads();
8558 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
8559
8560 wxPyEndAllowThreads(__tstate);
8561 if (PyErr_Occurred()) SWIG_fail;
8562 }
8563 resultobj = PyInt_FromLong((long)result);
8564 return resultobj;
8565 fail:
8566 return NULL;
8567 }
8568
8569
8570 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
8571 PyObject *resultobj;
8572 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8573 wxPoint result;
8574 PyObject * obj0 = 0 ;
8575 char *kwnames[] = {
8576 (char *) "self", NULL
8577 };
8578
8579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
8580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8581 {
8582 PyThreadState* __tstate = wxPyBeginAllowThreads();
8583 result = ((wxPyVListBox const *)arg1)->GetMargins();
8584
8585 wxPyEndAllowThreads(__tstate);
8586 if (PyErr_Occurred()) SWIG_fail;
8587 }
8588 {
8589 wxPoint * resultptr;
8590 resultptr = new wxPoint((wxPoint &) result);
8591 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
8592 }
8593 return resultobj;
8594 fail:
8595 return NULL;
8596 }
8597
8598
8599 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8600 PyObject *resultobj;
8601 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8602 wxColour *result;
8603 PyObject * obj0 = 0 ;
8604 char *kwnames[] = {
8605 (char *) "self", NULL
8606 };
8607
8608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
8609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8610 {
8611 PyThreadState* __tstate = wxPyBeginAllowThreads();
8612 {
8613 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
8614 result = (wxColour *) &_result_ref;
8615 }
8616
8617 wxPyEndAllowThreads(__tstate);
8618 if (PyErr_Occurred()) SWIG_fail;
8619 }
8620 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
8621 return resultobj;
8622 fail:
8623 return NULL;
8624 }
8625
8626
8627 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8628 PyObject *resultobj;
8629 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8630 size_t arg2 ;
8631 PyObject * obj0 = 0 ;
8632 PyObject * obj1 = 0 ;
8633 char *kwnames[] = {
8634 (char *) "self",(char *) "count", NULL
8635 };
8636
8637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
8638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8639 arg2 = (size_t) PyInt_AsLong(obj1);
8640 if (PyErr_Occurred()) SWIG_fail;
8641 {
8642 PyThreadState* __tstate = wxPyBeginAllowThreads();
8643 (arg1)->SetItemCount(arg2);
8644
8645 wxPyEndAllowThreads(__tstate);
8646 if (PyErr_Occurred()) SWIG_fail;
8647 }
8648 Py_INCREF(Py_None); resultobj = Py_None;
8649 return resultobj;
8650 fail:
8651 return NULL;
8652 }
8653
8654
8655 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8656 PyObject *resultobj;
8657 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8658 PyObject * obj0 = 0 ;
8659 char *kwnames[] = {
8660 (char *) "self", NULL
8661 };
8662
8663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
8664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8665 {
8666 PyThreadState* __tstate = wxPyBeginAllowThreads();
8667 (arg1)->Clear();
8668
8669 wxPyEndAllowThreads(__tstate);
8670 if (PyErr_Occurred()) SWIG_fail;
8671 }
8672 Py_INCREF(Py_None); resultobj = Py_None;
8673 return resultobj;
8674 fail:
8675 return NULL;
8676 }
8677
8678
8679 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8680 PyObject *resultobj;
8681 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8682 int arg2 ;
8683 PyObject * obj0 = 0 ;
8684 char *kwnames[] = {
8685 (char *) "self",(char *) "selection", NULL
8686 };
8687
8688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VListBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
8689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8690 {
8691 PyThreadState* __tstate = wxPyBeginAllowThreads();
8692 (arg1)->SetSelection(arg2);
8693
8694 wxPyEndAllowThreads(__tstate);
8695 if (PyErr_Occurred()) SWIG_fail;
8696 }
8697 Py_INCREF(Py_None); resultobj = Py_None;
8698 return resultobj;
8699 fail:
8700 return NULL;
8701 }
8702
8703
8704 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
8705 PyObject *resultobj;
8706 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8707 size_t arg2 ;
8708 bool arg3 = (bool) True ;
8709 bool result;
8710 PyObject * obj0 = 0 ;
8711 PyObject * obj1 = 0 ;
8712 PyObject * obj2 = 0 ;
8713 char *kwnames[] = {
8714 (char *) "self",(char *) "item",(char *) "select", NULL
8715 };
8716
8717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
8718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8719 arg2 = (size_t) PyInt_AsLong(obj1);
8720 if (PyErr_Occurred()) SWIG_fail;
8721 if (obj2) {
8722 arg3 = PyInt_AsLong(obj2) ? true : false;
8723 if (PyErr_Occurred()) SWIG_fail;
8724 }
8725 {
8726 PyThreadState* __tstate = wxPyBeginAllowThreads();
8727 result = (bool)(arg1)->Select(arg2,arg3);
8728
8729 wxPyEndAllowThreads(__tstate);
8730 if (PyErr_Occurred()) SWIG_fail;
8731 }
8732 resultobj = PyInt_FromLong((long)result);
8733 return resultobj;
8734 fail:
8735 return NULL;
8736 }
8737
8738
8739 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8740 PyObject *resultobj;
8741 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8742 size_t arg2 ;
8743 size_t arg3 ;
8744 bool result;
8745 PyObject * obj0 = 0 ;
8746 PyObject * obj1 = 0 ;
8747 PyObject * obj2 = 0 ;
8748 char *kwnames[] = {
8749 (char *) "self",(char *) "from",(char *) "to", NULL
8750 };
8751
8752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
8753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8754 arg2 = (size_t) PyInt_AsLong(obj1);
8755 if (PyErr_Occurred()) SWIG_fail;
8756 arg3 = (size_t) PyInt_AsLong(obj2);
8757 if (PyErr_Occurred()) SWIG_fail;
8758 {
8759 PyThreadState* __tstate = wxPyBeginAllowThreads();
8760 result = (bool)(arg1)->SelectRange(arg2,arg3);
8761
8762 wxPyEndAllowThreads(__tstate);
8763 if (PyErr_Occurred()) SWIG_fail;
8764 }
8765 resultobj = PyInt_FromLong((long)result);
8766 return resultobj;
8767 fail:
8768 return NULL;
8769 }
8770
8771
8772 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
8773 PyObject *resultobj;
8774 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8775 size_t arg2 ;
8776 PyObject * obj0 = 0 ;
8777 PyObject * obj1 = 0 ;
8778 char *kwnames[] = {
8779 (char *) "self",(char *) "item", NULL
8780 };
8781
8782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
8783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8784 arg2 = (size_t) PyInt_AsLong(obj1);
8785 if (PyErr_Occurred()) SWIG_fail;
8786 {
8787 PyThreadState* __tstate = wxPyBeginAllowThreads();
8788 (arg1)->Toggle(arg2);
8789
8790 wxPyEndAllowThreads(__tstate);
8791 if (PyErr_Occurred()) SWIG_fail;
8792 }
8793 Py_INCREF(Py_None); resultobj = Py_None;
8794 return resultobj;
8795 fail:
8796 return NULL;
8797 }
8798
8799
8800 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8801 PyObject *resultobj;
8802 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8803 bool result;
8804 PyObject * obj0 = 0 ;
8805 char *kwnames[] = {
8806 (char *) "self", NULL
8807 };
8808
8809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
8810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8811 {
8812 PyThreadState* __tstate = wxPyBeginAllowThreads();
8813 result = (bool)(arg1)->SelectAll();
8814
8815 wxPyEndAllowThreads(__tstate);
8816 if (PyErr_Occurred()) SWIG_fail;
8817 }
8818 resultobj = PyInt_FromLong((long)result);
8819 return resultobj;
8820 fail:
8821 return NULL;
8822 }
8823
8824
8825 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8826 PyObject *resultobj;
8827 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8828 bool result;
8829 PyObject * obj0 = 0 ;
8830 char *kwnames[] = {
8831 (char *) "self", NULL
8832 };
8833
8834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
8835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8836 {
8837 PyThreadState* __tstate = wxPyBeginAllowThreads();
8838 result = (bool)(arg1)->DeselectAll();
8839
8840 wxPyEndAllowThreads(__tstate);
8841 if (PyErr_Occurred()) SWIG_fail;
8842 }
8843 resultobj = PyInt_FromLong((long)result);
8844 return resultobj;
8845 fail:
8846 return NULL;
8847 }
8848
8849
8850 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
8851 PyObject *resultobj;
8852 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8853 wxPoint *arg2 = 0 ;
8854 wxPoint temp2 ;
8855 PyObject * obj0 = 0 ;
8856 PyObject * obj1 = 0 ;
8857 char *kwnames[] = {
8858 (char *) "self",(char *) "pt", NULL
8859 };
8860
8861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
8862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8863 {
8864 arg2 = &temp2;
8865 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8866 }
8867 {
8868 PyThreadState* __tstate = wxPyBeginAllowThreads();
8869 (arg1)->SetMargins((wxPoint const &)*arg2);
8870
8871 wxPyEndAllowThreads(__tstate);
8872 if (PyErr_Occurred()) SWIG_fail;
8873 }
8874 Py_INCREF(Py_None); resultobj = Py_None;
8875 return resultobj;
8876 fail:
8877 return NULL;
8878 }
8879
8880
8881 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8882 PyObject *resultobj;
8883 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8884 int arg2 ;
8885 int arg3 ;
8886 PyObject * obj0 = 0 ;
8887 char *kwnames[] = {
8888 (char *) "self",(char *) "x",(char *) "y", NULL
8889 };
8890
8891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VListBox_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
8892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8893 {
8894 PyThreadState* __tstate = wxPyBeginAllowThreads();
8895 (arg1)->SetMargins(arg2,arg3);
8896
8897 wxPyEndAllowThreads(__tstate);
8898 if (PyErr_Occurred()) SWIG_fail;
8899 }
8900 Py_INCREF(Py_None); resultobj = Py_None;
8901 return resultobj;
8902 fail:
8903 return NULL;
8904 }
8905
8906
8907 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8908 PyObject *resultobj;
8909 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8910 wxColour *arg2 = 0 ;
8911 wxColour temp2 ;
8912 PyObject * obj0 = 0 ;
8913 PyObject * obj1 = 0 ;
8914 char *kwnames[] = {
8915 (char *) "self",(char *) "col", NULL
8916 };
8917
8918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
8919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8920 {
8921 arg2 = &temp2;
8922 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8923 }
8924 {
8925 PyThreadState* __tstate = wxPyBeginAllowThreads();
8926 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
8927
8928 wxPyEndAllowThreads(__tstate);
8929 if (PyErr_Occurred()) SWIG_fail;
8930 }
8931 Py_INCREF(Py_None); resultobj = Py_None;
8932 return resultobj;
8933 fail:
8934 return NULL;
8935 }
8936
8937
8938 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
8939 PyObject *obj;
8940 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8941 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
8942 Py_INCREF(obj);
8943 return Py_BuildValue((char *)"");
8944 }
8945 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8946 PyObject *resultobj;
8947 wxWindow *arg1 = (wxWindow *) 0 ;
8948 int arg2 = (int) wxID_ANY ;
8949 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8950 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8951 wxSize const &arg4_defvalue = wxDefaultSize ;
8952 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8953 long arg5 = (long) 0 ;
8954 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
8955 wxString *arg6 = (wxString *) &arg6_defvalue ;
8956 wxPyHtmlListBox *result;
8957 wxPoint temp3 ;
8958 wxSize temp4 ;
8959 bool temp6 = False ;
8960 PyObject * obj0 = 0 ;
8961 PyObject * obj2 = 0 ;
8962 PyObject * obj3 = 0 ;
8963 PyObject * obj5 = 0 ;
8964 char *kwnames[] = {
8965 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8966 };
8967
8968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_HtmlListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8970 if (obj2) {
8971 {
8972 arg3 = &temp3;
8973 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8974 }
8975 }
8976 if (obj3) {
8977 {
8978 arg4 = &temp4;
8979 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8980 }
8981 }
8982 if (obj5) {
8983 {
8984 arg6 = wxString_in_helper(obj5);
8985 if (arg6 == NULL) SWIG_fail;
8986 temp6 = True;
8987 }
8988 }
8989 {
8990 PyThreadState* __tstate = wxPyBeginAllowThreads();
8991 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8992
8993 wxPyEndAllowThreads(__tstate);
8994 if (PyErr_Occurred()) SWIG_fail;
8995 }
8996 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
8997 {
8998 if (temp6)
8999 delete arg6;
9000 }
9001 return resultobj;
9002 fail:
9003 {
9004 if (temp6)
9005 delete arg6;
9006 }
9007 return NULL;
9008 }
9009
9010
9011 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9012 PyObject *resultobj;
9013 wxPyHtmlListBox *result;
9014 char *kwnames[] = {
9015 NULL
9016 };
9017
9018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
9019 {
9020 PyThreadState* __tstate = wxPyBeginAllowThreads();
9021 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
9022
9023 wxPyEndAllowThreads(__tstate);
9024 if (PyErr_Occurred()) SWIG_fail;
9025 }
9026 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
9027 return resultobj;
9028 fail:
9029 return NULL;
9030 }
9031
9032
9033 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9034 PyObject *resultobj;
9035 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9036 PyObject *arg2 = (PyObject *) 0 ;
9037 PyObject *arg3 = (PyObject *) 0 ;
9038 PyObject * obj0 = 0 ;
9039 PyObject * obj1 = 0 ;
9040 PyObject * obj2 = 0 ;
9041 char *kwnames[] = {
9042 (char *) "self",(char *) "self",(char *) "_class", NULL
9043 };
9044
9045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9047 arg2 = obj1;
9048 arg3 = obj2;
9049 {
9050 PyThreadState* __tstate = wxPyBeginAllowThreads();
9051 (arg1)->_setCallbackInfo(arg2,arg3);
9052
9053 wxPyEndAllowThreads(__tstate);
9054 if (PyErr_Occurred()) SWIG_fail;
9055 }
9056 Py_INCREF(Py_None); resultobj = Py_None;
9057 return resultobj;
9058 fail:
9059 return NULL;
9060 }
9061
9062
9063 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9064 PyObject *resultobj;
9065 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9066 wxWindow *arg2 = (wxWindow *) 0 ;
9067 int arg3 = (int) wxID_ANY ;
9068 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9069 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9070 wxSize const &arg5_defvalue = wxDefaultSize ;
9071 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9072 long arg6 = (long) 0 ;
9073 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9074 wxString *arg7 = (wxString *) &arg7_defvalue ;
9075 bool result;
9076 wxPoint temp4 ;
9077 wxSize temp5 ;
9078 bool temp7 = False ;
9079 PyObject * obj0 = 0 ;
9080 PyObject * obj1 = 0 ;
9081 PyObject * obj3 = 0 ;
9082 PyObject * obj4 = 0 ;
9083 PyObject * obj6 = 0 ;
9084 char *kwnames[] = {
9085 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9086 };
9087
9088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:HtmlListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
9089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9090 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9091 if (obj3) {
9092 {
9093 arg4 = &temp4;
9094 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9095 }
9096 }
9097 if (obj4) {
9098 {
9099 arg5 = &temp5;
9100 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9101 }
9102 }
9103 if (obj6) {
9104 {
9105 arg7 = wxString_in_helper(obj6);
9106 if (arg7 == NULL) SWIG_fail;
9107 temp7 = True;
9108 }
9109 }
9110 {
9111 PyThreadState* __tstate = wxPyBeginAllowThreads();
9112 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9113
9114 wxPyEndAllowThreads(__tstate);
9115 if (PyErr_Occurred()) SWIG_fail;
9116 }
9117 resultobj = PyInt_FromLong((long)result);
9118 {
9119 if (temp7)
9120 delete arg7;
9121 }
9122 return resultobj;
9123 fail:
9124 {
9125 if (temp7)
9126 delete arg7;
9127 }
9128 return NULL;
9129 }
9130
9131
9132 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9133 PyObject *resultobj;
9134 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9135 PyObject * obj0 = 0 ;
9136 char *kwnames[] = {
9137 (char *) "self", NULL
9138 };
9139
9140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
9141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9142 {
9143 PyThreadState* __tstate = wxPyBeginAllowThreads();
9144 (arg1)->RefreshAll();
9145
9146 wxPyEndAllowThreads(__tstate);
9147 if (PyErr_Occurred()) SWIG_fail;
9148 }
9149 Py_INCREF(Py_None); resultobj = Py_None;
9150 return resultobj;
9151 fail:
9152 return NULL;
9153 }
9154
9155
9156 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9157 PyObject *resultobj;
9158 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9159 size_t arg2 ;
9160 PyObject * obj0 = 0 ;
9161 PyObject * obj1 = 0 ;
9162 char *kwnames[] = {
9163 (char *) "self",(char *) "count", NULL
9164 };
9165
9166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9168 arg2 = (size_t) PyInt_AsLong(obj1);
9169 if (PyErr_Occurred()) SWIG_fail;
9170 {
9171 PyThreadState* __tstate = wxPyBeginAllowThreads();
9172 (arg1)->SetItemCount(arg2);
9173
9174 wxPyEndAllowThreads(__tstate);
9175 if (PyErr_Occurred()) SWIG_fail;
9176 }
9177 Py_INCREF(Py_None); resultobj = Py_None;
9178 return resultobj;
9179 fail:
9180 return NULL;
9181 }
9182
9183
9184 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
9185 PyObject *obj;
9186 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9187 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
9188 Py_INCREF(obj);
9189 return Py_BuildValue((char *)"");
9190 }
9191 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9192 PyObject *resultobj;
9193 wxTaskBarIcon *result;
9194 char *kwnames[] = {
9195 NULL
9196 };
9197
9198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
9199 {
9200 PyThreadState* __tstate = wxPyBeginAllowThreads();
9201 result = (wxTaskBarIcon *)new wxTaskBarIcon();
9202
9203 wxPyEndAllowThreads(__tstate);
9204 if (PyErr_Occurred()) SWIG_fail;
9205 }
9206 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIcon, 1);
9207 return resultobj;
9208 fail:
9209 return NULL;
9210 }
9211
9212
9213 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9214 PyObject *resultobj;
9215 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9216 PyObject * obj0 = 0 ;
9217 char *kwnames[] = {
9218 (char *) "self", NULL
9219 };
9220
9221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
9222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9223 {
9224 PyThreadState* __tstate = wxPyBeginAllowThreads();
9225 delete arg1;
9226
9227 wxPyEndAllowThreads(__tstate);
9228 if (PyErr_Occurred()) SWIG_fail;
9229 }
9230 Py_INCREF(Py_None); resultobj = Py_None;
9231 return resultobj;
9232 fail:
9233 return NULL;
9234 }
9235
9236
9237 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
9238 PyObject *obj;
9239 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9240 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
9241 Py_INCREF(obj);
9242 return Py_BuildValue((char *)"");
9243 }
9244 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9245 PyObject *resultobj;
9246 wxEventType arg1 ;
9247 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
9248 wxTaskBarIconEvent *result;
9249 PyObject * obj1 = 0 ;
9250 char *kwnames[] = {
9251 (char *) "evtType",(char *) "tbIcon", NULL
9252 };
9253
9254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iO:new_TaskBarIconEvent",kwnames,&arg1,&obj1)) goto fail;
9255 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9256 {
9257 PyThreadState* __tstate = wxPyBeginAllowThreads();
9258 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
9259
9260 wxPyEndAllowThreads(__tstate);
9261 if (PyErr_Occurred()) SWIG_fail;
9262 }
9263 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIconEvent, 1);
9264 return resultobj;
9265 fail:
9266 return NULL;
9267 }
9268
9269
9270 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
9271 PyObject *obj;
9272 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9273 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
9274 Py_INCREF(obj);
9275 return Py_BuildValue((char *)"");
9276 }
9277 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
9278 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
9279 return 1;
9280 }
9281
9282
9283 static PyObject *_wrap_FileSelectorPromptStr_get() {
9284 PyObject *pyobj;
9285
9286 {
9287 #if wxUSE_UNICODE
9288 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
9289 #else
9290 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
9291 #endif
9292 }
9293 return pyobj;
9294 }
9295
9296
9297 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
9298 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
9299 return 1;
9300 }
9301
9302
9303 static PyObject *_wrap_DirSelectorPromptStr_get() {
9304 PyObject *pyobj;
9305
9306 {
9307 #if wxUSE_UNICODE
9308 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
9309 #else
9310 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
9311 #endif
9312 }
9313 return pyobj;
9314 }
9315
9316
9317 static int _wrap_DirDialogNameStr_set(PyObject *_val) {
9318 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
9319 return 1;
9320 }
9321
9322
9323 static PyObject *_wrap_DirDialogNameStr_get() {
9324 PyObject *pyobj;
9325
9326 {
9327 #if wxUSE_UNICODE
9328 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
9329 #else
9330 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
9331 #endif
9332 }
9333 return pyobj;
9334 }
9335
9336
9337 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
9338 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
9339 return 1;
9340 }
9341
9342
9343 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
9344 PyObject *pyobj;
9345
9346 {
9347 #if wxUSE_UNICODE
9348 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
9349 #else
9350 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
9351 #endif
9352 }
9353 return pyobj;
9354 }
9355
9356
9357 static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) {
9358 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
9359 return 1;
9360 }
9361
9362
9363 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
9364 PyObject *pyobj;
9365
9366 {
9367 #if wxUSE_UNICODE
9368 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
9369 #else
9370 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
9371 #endif
9372 }
9373 return pyobj;
9374 }
9375
9376
9377 static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) {
9378 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
9379 return 1;
9380 }
9381
9382
9383 static PyObject *_wrap_MessageBoxCaptionStr_get() {
9384 PyObject *pyobj;
9385
9386 {
9387 #if wxUSE_UNICODE
9388 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
9389 #else
9390 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
9391 #endif
9392 }
9393 return pyobj;
9394 }
9395
9396
9397 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9398 PyObject *resultobj;
9399 wxColourData *result;
9400 char *kwnames[] = {
9401 NULL
9402 };
9403
9404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
9405 {
9406 PyThreadState* __tstate = wxPyBeginAllowThreads();
9407 result = (wxColourData *)new wxColourData();
9408
9409 wxPyEndAllowThreads(__tstate);
9410 if (PyErr_Occurred()) SWIG_fail;
9411 }
9412 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 1);
9413 return resultobj;
9414 fail:
9415 return NULL;
9416 }
9417
9418
9419 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9420 PyObject *resultobj;
9421 wxColourData *arg1 = (wxColourData *) 0 ;
9422 PyObject * obj0 = 0 ;
9423 char *kwnames[] = {
9424 (char *) "self", NULL
9425 };
9426
9427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
9428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9429 {
9430 PyThreadState* __tstate = wxPyBeginAllowThreads();
9431 delete arg1;
9432
9433 wxPyEndAllowThreads(__tstate);
9434 if (PyErr_Occurred()) SWIG_fail;
9435 }
9436 Py_INCREF(Py_None); resultobj = Py_None;
9437 return resultobj;
9438 fail:
9439 return NULL;
9440 }
9441
9442
9443 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9444 PyObject *resultobj;
9445 wxColourData *arg1 = (wxColourData *) 0 ;
9446 bool result;
9447 PyObject * obj0 = 0 ;
9448 char *kwnames[] = {
9449 (char *) "self", NULL
9450 };
9451
9452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
9453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9454 {
9455 PyThreadState* __tstate = wxPyBeginAllowThreads();
9456 result = (bool)(arg1)->GetChooseFull();
9457
9458 wxPyEndAllowThreads(__tstate);
9459 if (PyErr_Occurred()) SWIG_fail;
9460 }
9461 resultobj = PyInt_FromLong((long)result);
9462 return resultobj;
9463 fail:
9464 return NULL;
9465 }
9466
9467
9468 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9469 PyObject *resultobj;
9470 wxColourData *arg1 = (wxColourData *) 0 ;
9471 wxColour result;
9472 PyObject * obj0 = 0 ;
9473 char *kwnames[] = {
9474 (char *) "self", NULL
9475 };
9476
9477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
9478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9479 {
9480 PyThreadState* __tstate = wxPyBeginAllowThreads();
9481 result = (arg1)->GetColour();
9482
9483 wxPyEndAllowThreads(__tstate);
9484 if (PyErr_Occurred()) SWIG_fail;
9485 }
9486 {
9487 wxColour * resultptr;
9488 resultptr = new wxColour((wxColour &) result);
9489 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9490 }
9491 return resultobj;
9492 fail:
9493 return NULL;
9494 }
9495
9496
9497 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9498 PyObject *resultobj;
9499 wxColourData *arg1 = (wxColourData *) 0 ;
9500 int arg2 ;
9501 wxColour result;
9502 PyObject * obj0 = 0 ;
9503 char *kwnames[] = {
9504 (char *) "self",(char *) "i", NULL
9505 };
9506
9507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_GetCustomColour",kwnames,&obj0,&arg2)) goto fail;
9508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9509 {
9510 PyThreadState* __tstate = wxPyBeginAllowThreads();
9511 result = (arg1)->GetCustomColour(arg2);
9512
9513 wxPyEndAllowThreads(__tstate);
9514 if (PyErr_Occurred()) SWIG_fail;
9515 }
9516 {
9517 wxColour * resultptr;
9518 resultptr = new wxColour((wxColour &) result);
9519 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9520 }
9521 return resultobj;
9522 fail:
9523 return NULL;
9524 }
9525
9526
9527 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9528 PyObject *resultobj;
9529 wxColourData *arg1 = (wxColourData *) 0 ;
9530 int arg2 ;
9531 PyObject * obj0 = 0 ;
9532 char *kwnames[] = {
9533 (char *) "self",(char *) "flag", NULL
9534 };
9535
9536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_SetChooseFull",kwnames,&obj0,&arg2)) goto fail;
9537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9538 {
9539 PyThreadState* __tstate = wxPyBeginAllowThreads();
9540 (arg1)->SetChooseFull(arg2);
9541
9542 wxPyEndAllowThreads(__tstate);
9543 if (PyErr_Occurred()) SWIG_fail;
9544 }
9545 Py_INCREF(Py_None); resultobj = Py_None;
9546 return resultobj;
9547 fail:
9548 return NULL;
9549 }
9550
9551
9552 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9553 PyObject *resultobj;
9554 wxColourData *arg1 = (wxColourData *) 0 ;
9555 wxColour *arg2 = 0 ;
9556 wxColour temp2 ;
9557 PyObject * obj0 = 0 ;
9558 PyObject * obj1 = 0 ;
9559 char *kwnames[] = {
9560 (char *) "self",(char *) "colour", NULL
9561 };
9562
9563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
9564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9565 {
9566 arg2 = &temp2;
9567 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9568 }
9569 {
9570 PyThreadState* __tstate = wxPyBeginAllowThreads();
9571 (arg1)->SetColour((wxColour const &)*arg2);
9572
9573 wxPyEndAllowThreads(__tstate);
9574 if (PyErr_Occurred()) SWIG_fail;
9575 }
9576 Py_INCREF(Py_None); resultobj = Py_None;
9577 return resultobj;
9578 fail:
9579 return NULL;
9580 }
9581
9582
9583 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9584 PyObject *resultobj;
9585 wxColourData *arg1 = (wxColourData *) 0 ;
9586 int arg2 ;
9587 wxColour *arg3 = 0 ;
9588 wxColour temp3 ;
9589 PyObject * obj0 = 0 ;
9590 PyObject * obj2 = 0 ;
9591 char *kwnames[] = {
9592 (char *) "self",(char *) "i",(char *) "colour", NULL
9593 };
9594
9595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ColourData_SetCustomColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
9596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9597 {
9598 arg3 = &temp3;
9599 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9600 }
9601 {
9602 PyThreadState* __tstate = wxPyBeginAllowThreads();
9603 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
9604
9605 wxPyEndAllowThreads(__tstate);
9606 if (PyErr_Occurred()) SWIG_fail;
9607 }
9608 Py_INCREF(Py_None); resultobj = Py_None;
9609 return resultobj;
9610 fail:
9611 return NULL;
9612 }
9613
9614
9615 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
9616 PyObject *obj;
9617 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9618 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
9619 Py_INCREF(obj);
9620 return Py_BuildValue((char *)"");
9621 }
9622 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
9623 PyObject *resultobj;
9624 wxWindow *arg1 = (wxWindow *) 0 ;
9625 wxColourData *arg2 = (wxColourData *) NULL ;
9626 wxColourDialog *result;
9627 PyObject * obj0 = 0 ;
9628 PyObject * obj1 = 0 ;
9629 char *kwnames[] = {
9630 (char *) "parent",(char *) "data", NULL
9631 };
9632
9633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
9634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9635 if (obj1) {
9636 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9637 }
9638 {
9639 PyThreadState* __tstate = wxPyBeginAllowThreads();
9640 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
9641
9642 wxPyEndAllowThreads(__tstate);
9643 if (PyErr_Occurred()) SWIG_fail;
9644 }
9645 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourDialog, 1);
9646 return resultobj;
9647 fail:
9648 return NULL;
9649 }
9650
9651
9652 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9653 PyObject *resultobj;
9654 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
9655 wxColourData *result;
9656 PyObject * obj0 = 0 ;
9657 char *kwnames[] = {
9658 (char *) "self", NULL
9659 };
9660
9661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
9662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9663 {
9664 PyThreadState* __tstate = wxPyBeginAllowThreads();
9665 {
9666 wxColourData &_result_ref = (arg1)->GetColourData();
9667 result = (wxColourData *) &_result_ref;
9668 }
9669
9670 wxPyEndAllowThreads(__tstate);
9671 if (PyErr_Occurred()) SWIG_fail;
9672 }
9673 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 0);
9674 return resultobj;
9675 fail:
9676 return NULL;
9677 }
9678
9679
9680 static PyObject *_wrap_ColourDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
9681 PyObject *resultobj;
9682 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
9683 int result;
9684 PyObject * obj0 = 0 ;
9685 char *kwnames[] = {
9686 (char *) "self", NULL
9687 };
9688
9689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_ShowModal",kwnames,&obj0)) goto fail;
9690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9691 {
9692 PyThreadState* __tstate = wxPyBeginAllowThreads();
9693 result = (int)(arg1)->ShowModal();
9694
9695 wxPyEndAllowThreads(__tstate);
9696 if (PyErr_Occurred()) SWIG_fail;
9697 }
9698 resultobj = PyInt_FromLong((long)result);
9699 return resultobj;
9700 fail:
9701 return NULL;
9702 }
9703
9704
9705 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
9706 PyObject *obj;
9707 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9708 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
9709 Py_INCREF(obj);
9710 return Py_BuildValue((char *)"");
9711 }
9712 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
9713 PyObject *resultobj;
9714 wxWindow *arg1 = (wxWindow *) 0 ;
9715 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
9716 wxString *arg2 = (wxString *) &arg2_defvalue ;
9717 wxString const &arg3_defvalue = wxPyEmptyString ;
9718 wxString *arg3 = (wxString *) &arg3_defvalue ;
9719 long arg4 = (long) 0 ;
9720 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9721 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9722 wxSize const &arg6_defvalue = wxDefaultSize ;
9723 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9724 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
9725 wxString *arg7 = (wxString *) &arg7_defvalue ;
9726 wxDirDialog *result;
9727 bool temp2 = False ;
9728 bool temp3 = False ;
9729 wxPoint temp5 ;
9730 wxSize temp6 ;
9731 bool temp7 = False ;
9732 PyObject * obj0 = 0 ;
9733 PyObject * obj1 = 0 ;
9734 PyObject * obj2 = 0 ;
9735 PyObject * obj4 = 0 ;
9736 PyObject * obj5 = 0 ;
9737 PyObject * obj6 = 0 ;
9738 char *kwnames[] = {
9739 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
9740 };
9741
9742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOlOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&obj5,&obj6)) goto fail;
9743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9744 if (obj1) {
9745 {
9746 arg2 = wxString_in_helper(obj1);
9747 if (arg2 == NULL) SWIG_fail;
9748 temp2 = True;
9749 }
9750 }
9751 if (obj2) {
9752 {
9753 arg3 = wxString_in_helper(obj2);
9754 if (arg3 == NULL) SWIG_fail;
9755 temp3 = True;
9756 }
9757 }
9758 if (obj4) {
9759 {
9760 arg5 = &temp5;
9761 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9762 }
9763 }
9764 if (obj5) {
9765 {
9766 arg6 = &temp6;
9767 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9768 }
9769 }
9770 if (obj6) {
9771 {
9772 arg7 = wxString_in_helper(obj6);
9773 if (arg7 == NULL) SWIG_fail;
9774 temp7 = True;
9775 }
9776 }
9777 {
9778 PyThreadState* __tstate = wxPyBeginAllowThreads();
9779 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
9780
9781 wxPyEndAllowThreads(__tstate);
9782 if (PyErr_Occurred()) SWIG_fail;
9783 }
9784 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirDialog, 1);
9785 {
9786 if (temp2)
9787 delete arg2;
9788 }
9789 {
9790 if (temp3)
9791 delete arg3;
9792 }
9793 {
9794 if (temp7)
9795 delete arg7;
9796 }
9797 return resultobj;
9798 fail:
9799 {
9800 if (temp2)
9801 delete arg2;
9802 }
9803 {
9804 if (temp3)
9805 delete arg3;
9806 }
9807 {
9808 if (temp7)
9809 delete arg7;
9810 }
9811 return NULL;
9812 }
9813
9814
9815 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
9816 PyObject *resultobj;
9817 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9818 wxString result;
9819 PyObject * obj0 = 0 ;
9820 char *kwnames[] = {
9821 (char *) "self", NULL
9822 };
9823
9824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
9825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9826 {
9827 PyThreadState* __tstate = wxPyBeginAllowThreads();
9828 result = (arg1)->GetPath();
9829
9830 wxPyEndAllowThreads(__tstate);
9831 if (PyErr_Occurred()) SWIG_fail;
9832 }
9833 {
9834 #if wxUSE_UNICODE
9835 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9836 #else
9837 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9838 #endif
9839 }
9840 return resultobj;
9841 fail:
9842 return NULL;
9843 }
9844
9845
9846 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
9847 PyObject *resultobj;
9848 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9849 wxString result;
9850 PyObject * obj0 = 0 ;
9851 char *kwnames[] = {
9852 (char *) "self", NULL
9853 };
9854
9855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
9856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9857 {
9858 PyThreadState* __tstate = wxPyBeginAllowThreads();
9859 result = (arg1)->GetMessage();
9860
9861 wxPyEndAllowThreads(__tstate);
9862 if (PyErr_Occurred()) SWIG_fail;
9863 }
9864 {
9865 #if wxUSE_UNICODE
9866 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9867 #else
9868 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9869 #endif
9870 }
9871 return resultobj;
9872 fail:
9873 return NULL;
9874 }
9875
9876
9877 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9878 PyObject *resultobj;
9879 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9880 long result;
9881 PyObject * obj0 = 0 ;
9882 char *kwnames[] = {
9883 (char *) "self", NULL
9884 };
9885
9886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
9887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9888 {
9889 PyThreadState* __tstate = wxPyBeginAllowThreads();
9890 result = (long)(arg1)->GetStyle();
9891
9892 wxPyEndAllowThreads(__tstate);
9893 if (PyErr_Occurred()) SWIG_fail;
9894 }
9895 resultobj = PyInt_FromLong((long)result);
9896 return resultobj;
9897 fail:
9898 return NULL;
9899 }
9900
9901
9902 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
9903 PyObject *resultobj;
9904 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9905 wxString *arg2 = 0 ;
9906 bool temp2 = False ;
9907 PyObject * obj0 = 0 ;
9908 PyObject * obj1 = 0 ;
9909 char *kwnames[] = {
9910 (char *) "self",(char *) "message", NULL
9911 };
9912
9913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
9914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9915 {
9916 arg2 = wxString_in_helper(obj1);
9917 if (arg2 == NULL) SWIG_fail;
9918 temp2 = True;
9919 }
9920 {
9921 PyThreadState* __tstate = wxPyBeginAllowThreads();
9922 (arg1)->SetMessage((wxString const &)*arg2);
9923
9924 wxPyEndAllowThreads(__tstate);
9925 if (PyErr_Occurred()) SWIG_fail;
9926 }
9927 Py_INCREF(Py_None); resultobj = Py_None;
9928 {
9929 if (temp2)
9930 delete arg2;
9931 }
9932 return resultobj;
9933 fail:
9934 {
9935 if (temp2)
9936 delete arg2;
9937 }
9938 return NULL;
9939 }
9940
9941
9942 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
9943 PyObject *resultobj;
9944 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9945 wxString *arg2 = 0 ;
9946 bool temp2 = False ;
9947 PyObject * obj0 = 0 ;
9948 PyObject * obj1 = 0 ;
9949 char *kwnames[] = {
9950 (char *) "self",(char *) "path", NULL
9951 };
9952
9953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
9954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9955 {
9956 arg2 = wxString_in_helper(obj1);
9957 if (arg2 == NULL) SWIG_fail;
9958 temp2 = True;
9959 }
9960 {
9961 PyThreadState* __tstate = wxPyBeginAllowThreads();
9962 (arg1)->SetPath((wxString const &)*arg2);
9963
9964 wxPyEndAllowThreads(__tstate);
9965 if (PyErr_Occurred()) SWIG_fail;
9966 }
9967 Py_INCREF(Py_None); resultobj = Py_None;
9968 {
9969 if (temp2)
9970 delete arg2;
9971 }
9972 return resultobj;
9973 fail:
9974 {
9975 if (temp2)
9976 delete arg2;
9977 }
9978 return NULL;
9979 }
9980
9981
9982 static PyObject *_wrap_DirDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
9983 PyObject *resultobj;
9984 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9985 int result;
9986 PyObject * obj0 = 0 ;
9987 char *kwnames[] = {
9988 (char *) "self", NULL
9989 };
9990
9991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_ShowModal",kwnames,&obj0)) goto fail;
9992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9993 {
9994 PyThreadState* __tstate = wxPyBeginAllowThreads();
9995 result = (int)(arg1)->ShowModal();
9996
9997 wxPyEndAllowThreads(__tstate);
9998 if (PyErr_Occurred()) SWIG_fail;
9999 }
10000 resultobj = PyInt_FromLong((long)result);
10001 return resultobj;
10002 fail:
10003 return NULL;
10004 }
10005
10006
10007 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
10008 PyObject *obj;
10009 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10010 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
10011 Py_INCREF(obj);
10012 return Py_BuildValue((char *)"");
10013 }
10014 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10015 PyObject *resultobj;
10016 wxWindow *arg1 = (wxWindow *) 0 ;
10017 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
10018 wxString *arg2 = (wxString *) &arg2_defvalue ;
10019 wxString const &arg3_defvalue = wxPyEmptyString ;
10020 wxString *arg3 = (wxString *) &arg3_defvalue ;
10021 wxString const &arg4_defvalue = wxPyEmptyString ;
10022 wxString *arg4 = (wxString *) &arg4_defvalue ;
10023 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
10024 wxString *arg5 = (wxString *) &arg5_defvalue ;
10025 long arg6 = (long) 0 ;
10026 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10027 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10028 wxFileDialog *result;
10029 bool temp2 = False ;
10030 bool temp3 = False ;
10031 bool temp4 = False ;
10032 bool temp5 = False ;
10033 wxPoint temp7 ;
10034 PyObject * obj0 = 0 ;
10035 PyObject * obj1 = 0 ;
10036 PyObject * obj2 = 0 ;
10037 PyObject * obj3 = 0 ;
10038 PyObject * obj4 = 0 ;
10039 PyObject * obj6 = 0 ;
10040 char *kwnames[] = {
10041 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
10042 };
10043
10044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOlO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
10045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10046 if (obj1) {
10047 {
10048 arg2 = wxString_in_helper(obj1);
10049 if (arg2 == NULL) SWIG_fail;
10050 temp2 = True;
10051 }
10052 }
10053 if (obj2) {
10054 {
10055 arg3 = wxString_in_helper(obj2);
10056 if (arg3 == NULL) SWIG_fail;
10057 temp3 = True;
10058 }
10059 }
10060 if (obj3) {
10061 {
10062 arg4 = wxString_in_helper(obj3);
10063 if (arg4 == NULL) SWIG_fail;
10064 temp4 = True;
10065 }
10066 }
10067 if (obj4) {
10068 {
10069 arg5 = wxString_in_helper(obj4);
10070 if (arg5 == NULL) SWIG_fail;
10071 temp5 = True;
10072 }
10073 }
10074 if (obj6) {
10075 {
10076 arg7 = &temp7;
10077 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10078 }
10079 }
10080 {
10081 PyThreadState* __tstate = wxPyBeginAllowThreads();
10082 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
10083
10084 wxPyEndAllowThreads(__tstate);
10085 if (PyErr_Occurred()) SWIG_fail;
10086 }
10087 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDialog, 1);
10088 {
10089 if (temp2)
10090 delete arg2;
10091 }
10092 {
10093 if (temp3)
10094 delete arg3;
10095 }
10096 {
10097 if (temp4)
10098 delete arg4;
10099 }
10100 {
10101 if (temp5)
10102 delete arg5;
10103 }
10104 return resultobj;
10105 fail:
10106 {
10107 if (temp2)
10108 delete arg2;
10109 }
10110 {
10111 if (temp3)
10112 delete arg3;
10113 }
10114 {
10115 if (temp4)
10116 delete arg4;
10117 }
10118 {
10119 if (temp5)
10120 delete arg5;
10121 }
10122 return NULL;
10123 }
10124
10125
10126 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10127 PyObject *resultobj;
10128 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10129 wxString *arg2 = 0 ;
10130 bool temp2 = False ;
10131 PyObject * obj0 = 0 ;
10132 PyObject * obj1 = 0 ;
10133 char *kwnames[] = {
10134 (char *) "self",(char *) "message", NULL
10135 };
10136
10137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
10138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10139 {
10140 arg2 = wxString_in_helper(obj1);
10141 if (arg2 == NULL) SWIG_fail;
10142 temp2 = True;
10143 }
10144 {
10145 PyThreadState* __tstate = wxPyBeginAllowThreads();
10146 (arg1)->SetMessage((wxString const &)*arg2);
10147
10148 wxPyEndAllowThreads(__tstate);
10149 if (PyErr_Occurred()) SWIG_fail;
10150 }
10151 Py_INCREF(Py_None); resultobj = Py_None;
10152 {
10153 if (temp2)
10154 delete arg2;
10155 }
10156 return resultobj;
10157 fail:
10158 {
10159 if (temp2)
10160 delete arg2;
10161 }
10162 return NULL;
10163 }
10164
10165
10166 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10167 PyObject *resultobj;
10168 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10169 wxString *arg2 = 0 ;
10170 bool temp2 = False ;
10171 PyObject * obj0 = 0 ;
10172 PyObject * obj1 = 0 ;
10173 char *kwnames[] = {
10174 (char *) "self",(char *) "path", NULL
10175 };
10176
10177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
10178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10179 {
10180 arg2 = wxString_in_helper(obj1);
10181 if (arg2 == NULL) SWIG_fail;
10182 temp2 = True;
10183 }
10184 {
10185 PyThreadState* __tstate = wxPyBeginAllowThreads();
10186 (arg1)->SetPath((wxString const &)*arg2);
10187
10188 wxPyEndAllowThreads(__tstate);
10189 if (PyErr_Occurred()) SWIG_fail;
10190 }
10191 Py_INCREF(Py_None); resultobj = Py_None;
10192 {
10193 if (temp2)
10194 delete arg2;
10195 }
10196 return resultobj;
10197 fail:
10198 {
10199 if (temp2)
10200 delete arg2;
10201 }
10202 return NULL;
10203 }
10204
10205
10206 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10207 PyObject *resultobj;
10208 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10209 wxString *arg2 = 0 ;
10210 bool temp2 = False ;
10211 PyObject * obj0 = 0 ;
10212 PyObject * obj1 = 0 ;
10213 char *kwnames[] = {
10214 (char *) "self",(char *) "dir", NULL
10215 };
10216
10217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
10218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10219 {
10220 arg2 = wxString_in_helper(obj1);
10221 if (arg2 == NULL) SWIG_fail;
10222 temp2 = True;
10223 }
10224 {
10225 PyThreadState* __tstate = wxPyBeginAllowThreads();
10226 (arg1)->SetDirectory((wxString const &)*arg2);
10227
10228 wxPyEndAllowThreads(__tstate);
10229 if (PyErr_Occurred()) SWIG_fail;
10230 }
10231 Py_INCREF(Py_None); resultobj = Py_None;
10232 {
10233 if (temp2)
10234 delete arg2;
10235 }
10236 return resultobj;
10237 fail:
10238 {
10239 if (temp2)
10240 delete arg2;
10241 }
10242 return NULL;
10243 }
10244
10245
10246 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10247 PyObject *resultobj;
10248 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10249 wxString *arg2 = 0 ;
10250 bool temp2 = False ;
10251 PyObject * obj0 = 0 ;
10252 PyObject * obj1 = 0 ;
10253 char *kwnames[] = {
10254 (char *) "self",(char *) "name", NULL
10255 };
10256
10257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
10258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10259 {
10260 arg2 = wxString_in_helper(obj1);
10261 if (arg2 == NULL) SWIG_fail;
10262 temp2 = True;
10263 }
10264 {
10265 PyThreadState* __tstate = wxPyBeginAllowThreads();
10266 (arg1)->SetFilename((wxString const &)*arg2);
10267
10268 wxPyEndAllowThreads(__tstate);
10269 if (PyErr_Occurred()) SWIG_fail;
10270 }
10271 Py_INCREF(Py_None); resultobj = Py_None;
10272 {
10273 if (temp2)
10274 delete arg2;
10275 }
10276 return resultobj;
10277 fail:
10278 {
10279 if (temp2)
10280 delete arg2;
10281 }
10282 return NULL;
10283 }
10284
10285
10286 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10287 PyObject *resultobj;
10288 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10289 wxString *arg2 = 0 ;
10290 bool temp2 = False ;
10291 PyObject * obj0 = 0 ;
10292 PyObject * obj1 = 0 ;
10293 char *kwnames[] = {
10294 (char *) "self",(char *) "wildCard", NULL
10295 };
10296
10297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
10298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10299 {
10300 arg2 = wxString_in_helper(obj1);
10301 if (arg2 == NULL) SWIG_fail;
10302 temp2 = True;
10303 }
10304 {
10305 PyThreadState* __tstate = wxPyBeginAllowThreads();
10306 (arg1)->SetWildcard((wxString const &)*arg2);
10307
10308 wxPyEndAllowThreads(__tstate);
10309 if (PyErr_Occurred()) SWIG_fail;
10310 }
10311 Py_INCREF(Py_None); resultobj = Py_None;
10312 {
10313 if (temp2)
10314 delete arg2;
10315 }
10316 return resultobj;
10317 fail:
10318 {
10319 if (temp2)
10320 delete arg2;
10321 }
10322 return NULL;
10323 }
10324
10325
10326 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10327 PyObject *resultobj;
10328 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10329 long arg2 ;
10330 PyObject * obj0 = 0 ;
10331 char *kwnames[] = {
10332 (char *) "self",(char *) "style", NULL
10333 };
10334
10335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:FileDialog_SetStyle",kwnames,&obj0,&arg2)) goto fail;
10336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10337 {
10338 PyThreadState* __tstate = wxPyBeginAllowThreads();
10339 (arg1)->SetStyle(arg2);
10340
10341 wxPyEndAllowThreads(__tstate);
10342 if (PyErr_Occurred()) SWIG_fail;
10343 }
10344 Py_INCREF(Py_None); resultobj = Py_None;
10345 return resultobj;
10346 fail:
10347 return NULL;
10348 }
10349
10350
10351 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10352 PyObject *resultobj;
10353 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10354 int arg2 ;
10355 PyObject * obj0 = 0 ;
10356 char *kwnames[] = {
10357 (char *) "self",(char *) "filterIndex", NULL
10358 };
10359
10360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileDialog_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
10361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10362 {
10363 PyThreadState* __tstate = wxPyBeginAllowThreads();
10364 (arg1)->SetFilterIndex(arg2);
10365
10366 wxPyEndAllowThreads(__tstate);
10367 if (PyErr_Occurred()) SWIG_fail;
10368 }
10369 Py_INCREF(Py_None); resultobj = Py_None;
10370 return resultobj;
10371 fail:
10372 return NULL;
10373 }
10374
10375
10376 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10377 PyObject *resultobj;
10378 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10379 wxString result;
10380 PyObject * obj0 = 0 ;
10381 char *kwnames[] = {
10382 (char *) "self", NULL
10383 };
10384
10385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
10386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10387 {
10388 PyThreadState* __tstate = wxPyBeginAllowThreads();
10389 result = ((wxFileDialog const *)arg1)->GetMessage();
10390
10391 wxPyEndAllowThreads(__tstate);
10392 if (PyErr_Occurred()) SWIG_fail;
10393 }
10394 {
10395 #if wxUSE_UNICODE
10396 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10397 #else
10398 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10399 #endif
10400 }
10401 return resultobj;
10402 fail:
10403 return NULL;
10404 }
10405
10406
10407 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10408 PyObject *resultobj;
10409 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10410 wxString result;
10411 PyObject * obj0 = 0 ;
10412 char *kwnames[] = {
10413 (char *) "self", NULL
10414 };
10415
10416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
10417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10418 {
10419 PyThreadState* __tstate = wxPyBeginAllowThreads();
10420 result = ((wxFileDialog const *)arg1)->GetPath();
10421
10422 wxPyEndAllowThreads(__tstate);
10423 if (PyErr_Occurred()) SWIG_fail;
10424 }
10425 {
10426 #if wxUSE_UNICODE
10427 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10428 #else
10429 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10430 #endif
10431 }
10432 return resultobj;
10433 fail:
10434 return NULL;
10435 }
10436
10437
10438 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10439 PyObject *resultobj;
10440 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10441 wxString result;
10442 PyObject * obj0 = 0 ;
10443 char *kwnames[] = {
10444 (char *) "self", NULL
10445 };
10446
10447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
10448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10449 {
10450 PyThreadState* __tstate = wxPyBeginAllowThreads();
10451 result = ((wxFileDialog const *)arg1)->GetDirectory();
10452
10453 wxPyEndAllowThreads(__tstate);
10454 if (PyErr_Occurred()) SWIG_fail;
10455 }
10456 {
10457 #if wxUSE_UNICODE
10458 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10459 #else
10460 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10461 #endif
10462 }
10463 return resultobj;
10464 fail:
10465 return NULL;
10466 }
10467
10468
10469 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10470 PyObject *resultobj;
10471 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10472 wxString result;
10473 PyObject * obj0 = 0 ;
10474 char *kwnames[] = {
10475 (char *) "self", NULL
10476 };
10477
10478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
10479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10480 {
10481 PyThreadState* __tstate = wxPyBeginAllowThreads();
10482 result = ((wxFileDialog const *)arg1)->GetFilename();
10483
10484 wxPyEndAllowThreads(__tstate);
10485 if (PyErr_Occurred()) SWIG_fail;
10486 }
10487 {
10488 #if wxUSE_UNICODE
10489 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10490 #else
10491 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10492 #endif
10493 }
10494 return resultobj;
10495 fail:
10496 return NULL;
10497 }
10498
10499
10500 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10501 PyObject *resultobj;
10502 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10503 wxString result;
10504 PyObject * obj0 = 0 ;
10505 char *kwnames[] = {
10506 (char *) "self", NULL
10507 };
10508
10509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
10510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10511 {
10512 PyThreadState* __tstate = wxPyBeginAllowThreads();
10513 result = ((wxFileDialog const *)arg1)->GetWildcard();
10514
10515 wxPyEndAllowThreads(__tstate);
10516 if (PyErr_Occurred()) SWIG_fail;
10517 }
10518 {
10519 #if wxUSE_UNICODE
10520 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10521 #else
10522 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10523 #endif
10524 }
10525 return resultobj;
10526 fail:
10527 return NULL;
10528 }
10529
10530
10531 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10532 PyObject *resultobj;
10533 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10534 long result;
10535 PyObject * obj0 = 0 ;
10536 char *kwnames[] = {
10537 (char *) "self", NULL
10538 };
10539
10540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
10541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10542 {
10543 PyThreadState* __tstate = wxPyBeginAllowThreads();
10544 result = (long)((wxFileDialog const *)arg1)->GetStyle();
10545
10546 wxPyEndAllowThreads(__tstate);
10547 if (PyErr_Occurred()) SWIG_fail;
10548 }
10549 resultobj = PyInt_FromLong((long)result);
10550 return resultobj;
10551 fail:
10552 return NULL;
10553 }
10554
10555
10556 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10557 PyObject *resultobj;
10558 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10559 int result;
10560 PyObject * obj0 = 0 ;
10561 char *kwnames[] = {
10562 (char *) "self", NULL
10563 };
10564
10565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
10566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10567 {
10568 PyThreadState* __tstate = wxPyBeginAllowThreads();
10569 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
10570
10571 wxPyEndAllowThreads(__tstate);
10572 if (PyErr_Occurred()) SWIG_fail;
10573 }
10574 resultobj = PyInt_FromLong((long)result);
10575 return resultobj;
10576 fail:
10577 return NULL;
10578 }
10579
10580
10581 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
10582 PyObject *resultobj;
10583 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10584 PyObject *result;
10585 PyObject * obj0 = 0 ;
10586 char *kwnames[] = {
10587 (char *) "self", NULL
10588 };
10589
10590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
10591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10592 {
10593 PyThreadState* __tstate = wxPyBeginAllowThreads();
10594 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
10595
10596 wxPyEndAllowThreads(__tstate);
10597 if (PyErr_Occurred()) SWIG_fail;
10598 }
10599 resultobj = result;
10600 return resultobj;
10601 fail:
10602 return NULL;
10603 }
10604
10605
10606 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
10607 PyObject *resultobj;
10608 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10609 PyObject *result;
10610 PyObject * obj0 = 0 ;
10611 char *kwnames[] = {
10612 (char *) "self", NULL
10613 };
10614
10615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",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 = (PyObject *)wxFileDialog_GetPaths(arg1);
10620
10621 wxPyEndAllowThreads(__tstate);
10622 if (PyErr_Occurred()) SWIG_fail;
10623 }
10624 resultobj = result;
10625 return resultobj;
10626 fail:
10627 return NULL;
10628 }
10629
10630
10631 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
10632 PyObject *obj;
10633 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10634 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
10635 Py_INCREF(obj);
10636 return Py_BuildValue((char *)"");
10637 }
10638 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10639 PyObject *resultobj;
10640 wxWindow *arg1 = (wxWindow *) 0 ;
10641 wxString *arg2 = 0 ;
10642 wxString *arg3 = 0 ;
10643 int arg4 ;
10644 wxString *arg5 = (wxString *) 0 ;
10645 long arg6 = (long) wxCHOICEDLG_STYLE ;
10646 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10647 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10648 wxMultiChoiceDialog *result;
10649 bool temp2 = False ;
10650 bool temp3 = False ;
10651 bool temp5 = False ;
10652 wxPoint temp7 ;
10653 PyObject * obj0 = 0 ;
10654 PyObject * obj1 = 0 ;
10655 PyObject * obj2 = 0 ;
10656 PyObject * obj4 = 0 ;
10657 PyObject * obj6 = 0 ;
10658 char *kwnames[] = {
10659 (char *) "parent",(char *) "message",(char *) "caption",(char *) "LCOUNT",(char *) "choices",(char *) "style",(char *) "pos", NULL
10660 };
10661
10662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiO|lO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&arg6,&obj6)) goto fail;
10663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10664 {
10665 arg2 = wxString_in_helper(obj1);
10666 if (arg2 == NULL) SWIG_fail;
10667 temp2 = True;
10668 }
10669 {
10670 arg3 = wxString_in_helper(obj2);
10671 if (arg3 == NULL) SWIG_fail;
10672 temp3 = True;
10673 }
10674 {
10675 arg5 = wxString_in_helper(obj4);
10676 if (arg5 == NULL) SWIG_fail;
10677 temp5 = True;
10678 }
10679 if (obj6) {
10680 {
10681 arg7 = &temp7;
10682 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10683 }
10684 }
10685 {
10686 PyThreadState* __tstate = wxPyBeginAllowThreads();
10687 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
10688
10689 wxPyEndAllowThreads(__tstate);
10690 if (PyErr_Occurred()) SWIG_fail;
10691 }
10692 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMultiChoiceDialog, 1);
10693 {
10694 if (temp2)
10695 delete arg2;
10696 }
10697 {
10698 if (temp3)
10699 delete arg3;
10700 }
10701 {
10702 if (temp5)
10703 delete arg5;
10704 }
10705 return resultobj;
10706 fail:
10707 {
10708 if (temp2)
10709 delete arg2;
10710 }
10711 {
10712 if (temp3)
10713 delete arg3;
10714 }
10715 {
10716 if (temp5)
10717 delete arg5;
10718 }
10719 return NULL;
10720 }
10721
10722
10723 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
10724 PyObject *resultobj;
10725 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
10726 wxArrayInt *arg2 = 0 ;
10727 PyObject * obj0 = 0 ;
10728 PyObject * obj1 = 0 ;
10729 char *kwnames[] = {
10730 (char *) "self",(char *) "selections", NULL
10731 };
10732
10733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
10734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10735 {
10736 if (! PySequence_Check(obj1)) {
10737 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10738 SWIG_fail;
10739 }
10740 arg2 = new wxArrayInt;
10741 int i, len=PySequence_Length(obj1);
10742 for (i=0; i<len; i++) {
10743 PyObject* item = PySequence_GetItem(obj1, i);
10744 PyObject* number = PyNumber_Int(item);
10745 arg2->Add(PyInt_AS_LONG(number));
10746 Py_DECREF(item);
10747 Py_DECREF(number);
10748 }
10749 }
10750 {
10751 PyThreadState* __tstate = wxPyBeginAllowThreads();
10752 (arg1)->SetSelections((wxArrayInt const &)*arg2);
10753
10754 wxPyEndAllowThreads(__tstate);
10755 if (PyErr_Occurred()) SWIG_fail;
10756 }
10757 Py_INCREF(Py_None); resultobj = Py_None;
10758 {
10759 if (arg2) delete arg2;
10760 }
10761 return resultobj;
10762 fail:
10763 {
10764 if (arg2) delete arg2;
10765 }
10766 return NULL;
10767 }
10768
10769
10770 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
10771 PyObject *resultobj;
10772 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
10773 PyObject *result;
10774 PyObject * obj0 = 0 ;
10775 char *kwnames[] = {
10776 (char *) "self", NULL
10777 };
10778
10779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
10780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10781 {
10782 PyThreadState* __tstate = wxPyBeginAllowThreads();
10783 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
10784
10785 wxPyEndAllowThreads(__tstate);
10786 if (PyErr_Occurred()) SWIG_fail;
10787 }
10788 resultobj = result;
10789 return resultobj;
10790 fail:
10791 return NULL;
10792 }
10793
10794
10795 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
10796 PyObject *obj;
10797 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10798 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
10799 Py_INCREF(obj);
10800 return Py_BuildValue((char *)"");
10801 }
10802 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10803 PyObject *resultobj;
10804 wxWindow *arg1 = (wxWindow *) 0 ;
10805 wxString *arg2 = 0 ;
10806 wxString *arg3 = 0 ;
10807 int arg4 ;
10808 wxString *arg5 = (wxString *) 0 ;
10809 long arg6 = (long) wxCHOICEDLG_STYLE ;
10810 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10811 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10812 wxSingleChoiceDialog *result;
10813 bool temp2 = False ;
10814 bool temp3 = False ;
10815 wxPoint temp6 ;
10816 PyObject * obj0 = 0 ;
10817 PyObject * obj1 = 0 ;
10818 PyObject * obj2 = 0 ;
10819 PyObject * obj3 = 0 ;
10820 PyObject * obj5 = 0 ;
10821 char *kwnames[] = {
10822 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
10823 };
10824
10825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|lO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&obj5)) goto fail;
10826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10827 {
10828 arg2 = wxString_in_helper(obj1);
10829 if (arg2 == NULL) SWIG_fail;
10830 temp2 = True;
10831 }
10832 {
10833 arg3 = wxString_in_helper(obj2);
10834 if (arg3 == NULL) SWIG_fail;
10835 temp3 = True;
10836 }
10837 {
10838 arg4 = PyList_Size(obj3);
10839 arg5 = wxString_LIST_helper(obj3);
10840 if (arg5 == NULL) SWIG_fail;
10841 }
10842 if (obj5) {
10843 {
10844 arg7 = &temp6;
10845 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
10846 }
10847 }
10848 {
10849 PyThreadState* __tstate = wxPyBeginAllowThreads();
10850 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
10851
10852 wxPyEndAllowThreads(__tstate);
10853 if (PyErr_Occurred()) SWIG_fail;
10854 }
10855 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleChoiceDialog, 1);
10856 {
10857 if (temp2)
10858 delete arg2;
10859 }
10860 {
10861 if (temp3)
10862 delete arg3;
10863 }
10864 {
10865 if (arg5) delete [] arg5;
10866 }
10867 return resultobj;
10868 fail:
10869 {
10870 if (temp2)
10871 delete arg2;
10872 }
10873 {
10874 if (temp3)
10875 delete arg3;
10876 }
10877 {
10878 if (arg5) delete [] arg5;
10879 }
10880 return NULL;
10881 }
10882
10883
10884 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10885 PyObject *resultobj;
10886 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
10887 int result;
10888 PyObject * obj0 = 0 ;
10889 char *kwnames[] = {
10890 (char *) "self", NULL
10891 };
10892
10893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
10894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10895 {
10896 PyThreadState* __tstate = wxPyBeginAllowThreads();
10897 result = (int)(arg1)->GetSelection();
10898
10899 wxPyEndAllowThreads(__tstate);
10900 if (PyErr_Occurred()) SWIG_fail;
10901 }
10902 resultobj = PyInt_FromLong((long)result);
10903 return resultobj;
10904 fail:
10905 return NULL;
10906 }
10907
10908
10909 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10910 PyObject *resultobj;
10911 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
10912 wxString result;
10913 PyObject * obj0 = 0 ;
10914 char *kwnames[] = {
10915 (char *) "self", NULL
10916 };
10917
10918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
10919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10920 {
10921 PyThreadState* __tstate = wxPyBeginAllowThreads();
10922 result = (arg1)->GetStringSelection();
10923
10924 wxPyEndAllowThreads(__tstate);
10925 if (PyErr_Occurred()) SWIG_fail;
10926 }
10927 {
10928 #if wxUSE_UNICODE
10929 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10930 #else
10931 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10932 #endif
10933 }
10934 return resultobj;
10935 fail:
10936 return NULL;
10937 }
10938
10939
10940 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10941 PyObject *resultobj;
10942 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
10943 int arg2 ;
10944 PyObject * obj0 = 0 ;
10945 char *kwnames[] = {
10946 (char *) "self",(char *) "sel", NULL
10947 };
10948
10949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SingleChoiceDialog_SetSelection",kwnames,&obj0,&arg2)) goto fail;
10950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10951 {
10952 PyThreadState* __tstate = wxPyBeginAllowThreads();
10953 (arg1)->SetSelection(arg2);
10954
10955 wxPyEndAllowThreads(__tstate);
10956 if (PyErr_Occurred()) SWIG_fail;
10957 }
10958 Py_INCREF(Py_None); resultobj = Py_None;
10959 return resultobj;
10960 fail:
10961 return NULL;
10962 }
10963
10964
10965 static PyObject *_wrap_SingleChoiceDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
10966 PyObject *resultobj;
10967 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
10968 int result;
10969 PyObject * obj0 = 0 ;
10970 char *kwnames[] = {
10971 (char *) "self", NULL
10972 };
10973
10974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_ShowModal",kwnames,&obj0)) goto fail;
10975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10976 {
10977 PyThreadState* __tstate = wxPyBeginAllowThreads();
10978 result = (int)(arg1)->ShowModal();
10979
10980 wxPyEndAllowThreads(__tstate);
10981 if (PyErr_Occurred()) SWIG_fail;
10982 }
10983 resultobj = PyInt_FromLong((long)result);
10984 return resultobj;
10985 fail:
10986 return NULL;
10987 }
10988
10989
10990 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
10991 PyObject *obj;
10992 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10993 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
10994 Py_INCREF(obj);
10995 return Py_BuildValue((char *)"");
10996 }
10997 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10998 PyObject *resultobj;
10999 wxWindow *arg1 = (wxWindow *) 0 ;
11000 wxString *arg2 = 0 ;
11001 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
11002 wxString *arg3 = (wxString *) &arg3_defvalue ;
11003 wxString const &arg4_defvalue = wxPyEmptyString ;
11004 wxString *arg4 = (wxString *) &arg4_defvalue ;
11005 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
11006 wxPoint const &arg6_defvalue = wxDefaultPosition ;
11007 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
11008 wxTextEntryDialog *result;
11009 bool temp2 = False ;
11010 bool temp3 = False ;
11011 bool temp4 = False ;
11012 wxPoint temp6 ;
11013 PyObject * obj0 = 0 ;
11014 PyObject * obj1 = 0 ;
11015 PyObject * obj2 = 0 ;
11016 PyObject * obj3 = 0 ;
11017 PyObject * obj5 = 0 ;
11018 char *kwnames[] = {
11019 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
11020 };
11021
11022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
11023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11024 {
11025 arg2 = wxString_in_helper(obj1);
11026 if (arg2 == NULL) SWIG_fail;
11027 temp2 = True;
11028 }
11029 if (obj2) {
11030 {
11031 arg3 = wxString_in_helper(obj2);
11032 if (arg3 == NULL) SWIG_fail;
11033 temp3 = True;
11034 }
11035 }
11036 if (obj3) {
11037 {
11038 arg4 = wxString_in_helper(obj3);
11039 if (arg4 == NULL) SWIG_fail;
11040 temp4 = True;
11041 }
11042 }
11043 if (obj5) {
11044 {
11045 arg6 = &temp6;
11046 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
11047 }
11048 }
11049 {
11050 PyThreadState* __tstate = wxPyBeginAllowThreads();
11051 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
11052
11053 wxPyEndAllowThreads(__tstate);
11054 if (PyErr_Occurred()) SWIG_fail;
11055 }
11056 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextEntryDialog, 1);
11057 {
11058 if (temp2)
11059 delete arg2;
11060 }
11061 {
11062 if (temp3)
11063 delete arg3;
11064 }
11065 {
11066 if (temp4)
11067 delete arg4;
11068 }
11069 return resultobj;
11070 fail:
11071 {
11072 if (temp2)
11073 delete arg2;
11074 }
11075 {
11076 if (temp3)
11077 delete arg3;
11078 }
11079 {
11080 if (temp4)
11081 delete arg4;
11082 }
11083 return NULL;
11084 }
11085
11086
11087 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11088 PyObject *resultobj;
11089 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11090 wxString result;
11091 PyObject * obj0 = 0 ;
11092 char *kwnames[] = {
11093 (char *) "self", NULL
11094 };
11095
11096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
11097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11098 {
11099 PyThreadState* __tstate = wxPyBeginAllowThreads();
11100 result = (arg1)->GetValue();
11101
11102 wxPyEndAllowThreads(__tstate);
11103 if (PyErr_Occurred()) SWIG_fail;
11104 }
11105 {
11106 #if wxUSE_UNICODE
11107 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11108 #else
11109 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11110 #endif
11111 }
11112 return resultobj;
11113 fail:
11114 return NULL;
11115 }
11116
11117
11118 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11119 PyObject *resultobj;
11120 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11121 wxString *arg2 = 0 ;
11122 bool temp2 = False ;
11123 PyObject * obj0 = 0 ;
11124 PyObject * obj1 = 0 ;
11125 char *kwnames[] = {
11126 (char *) "self",(char *) "value", NULL
11127 };
11128
11129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
11130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11131 {
11132 arg2 = wxString_in_helper(obj1);
11133 if (arg2 == NULL) SWIG_fail;
11134 temp2 = True;
11135 }
11136 {
11137 PyThreadState* __tstate = wxPyBeginAllowThreads();
11138 (arg1)->SetValue((wxString const &)*arg2);
11139
11140 wxPyEndAllowThreads(__tstate);
11141 if (PyErr_Occurred()) SWIG_fail;
11142 }
11143 Py_INCREF(Py_None); resultobj = Py_None;
11144 {
11145 if (temp2)
11146 delete arg2;
11147 }
11148 return resultobj;
11149 fail:
11150 {
11151 if (temp2)
11152 delete arg2;
11153 }
11154 return NULL;
11155 }
11156
11157
11158 static PyObject *_wrap_TextEntryDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11159 PyObject *resultobj;
11160 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11161 int result;
11162 PyObject * obj0 = 0 ;
11163 char *kwnames[] = {
11164 (char *) "self", NULL
11165 };
11166
11167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_ShowModal",kwnames,&obj0)) goto fail;
11168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11169 {
11170 PyThreadState* __tstate = wxPyBeginAllowThreads();
11171 result = (int)(arg1)->ShowModal();
11172
11173 wxPyEndAllowThreads(__tstate);
11174 if (PyErr_Occurred()) SWIG_fail;
11175 }
11176 resultobj = PyInt_FromLong((long)result);
11177 return resultobj;
11178 fail:
11179 return NULL;
11180 }
11181
11182
11183 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
11184 PyObject *obj;
11185 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11186 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
11187 Py_INCREF(obj);
11188 return Py_BuildValue((char *)"");
11189 }
11190 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11191 PyObject *resultobj;
11192 wxFontData *result;
11193 char *kwnames[] = {
11194 NULL
11195 };
11196
11197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
11198 {
11199 PyThreadState* __tstate = wxPyBeginAllowThreads();
11200 result = (wxFontData *)new wxFontData();
11201
11202 wxPyEndAllowThreads(__tstate);
11203 if (PyErr_Occurred()) SWIG_fail;
11204 }
11205 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 1);
11206 return resultobj;
11207 fail:
11208 return NULL;
11209 }
11210
11211
11212 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11213 PyObject *resultobj;
11214 wxFontData *arg1 = (wxFontData *) 0 ;
11215 PyObject * obj0 = 0 ;
11216 char *kwnames[] = {
11217 (char *) "self", NULL
11218 };
11219
11220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
11221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11222 {
11223 PyThreadState* __tstate = wxPyBeginAllowThreads();
11224 delete arg1;
11225
11226 wxPyEndAllowThreads(__tstate);
11227 if (PyErr_Occurred()) SWIG_fail;
11228 }
11229 Py_INCREF(Py_None); resultobj = Py_None;
11230 return resultobj;
11231 fail:
11232 return NULL;
11233 }
11234
11235
11236 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11237 PyObject *resultobj;
11238 wxFontData *arg1 = (wxFontData *) 0 ;
11239 bool arg2 ;
11240 PyObject * obj0 = 0 ;
11241 PyObject * obj1 = 0 ;
11242 char *kwnames[] = {
11243 (char *) "self",(char *) "enable", NULL
11244 };
11245
11246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
11247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11248 arg2 = PyInt_AsLong(obj1) ? true : false;
11249 if (PyErr_Occurred()) SWIG_fail;
11250 {
11251 PyThreadState* __tstate = wxPyBeginAllowThreads();
11252 (arg1)->EnableEffects(arg2);
11253
11254 wxPyEndAllowThreads(__tstate);
11255 if (PyErr_Occurred()) SWIG_fail;
11256 }
11257 Py_INCREF(Py_None); resultobj = Py_None;
11258 return resultobj;
11259 fail:
11260 return NULL;
11261 }
11262
11263
11264 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11265 PyObject *resultobj;
11266 wxFontData *arg1 = (wxFontData *) 0 ;
11267 bool result;
11268 PyObject * obj0 = 0 ;
11269 char *kwnames[] = {
11270 (char *) "self", NULL
11271 };
11272
11273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
11274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11275 {
11276 PyThreadState* __tstate = wxPyBeginAllowThreads();
11277 result = (bool)(arg1)->GetAllowSymbols();
11278
11279 wxPyEndAllowThreads(__tstate);
11280 if (PyErr_Occurred()) SWIG_fail;
11281 }
11282 resultobj = PyInt_FromLong((long)result);
11283 return resultobj;
11284 fail:
11285 return NULL;
11286 }
11287
11288
11289 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11290 PyObject *resultobj;
11291 wxFontData *arg1 = (wxFontData *) 0 ;
11292 wxColour result;
11293 PyObject * obj0 = 0 ;
11294 char *kwnames[] = {
11295 (char *) "self", NULL
11296 };
11297
11298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
11299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11300 {
11301 PyThreadState* __tstate = wxPyBeginAllowThreads();
11302 result = (arg1)->GetColour();
11303
11304 wxPyEndAllowThreads(__tstate);
11305 if (PyErr_Occurred()) SWIG_fail;
11306 }
11307 {
11308 wxColour * resultptr;
11309 resultptr = new wxColour((wxColour &) result);
11310 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
11311 }
11312 return resultobj;
11313 fail:
11314 return NULL;
11315 }
11316
11317
11318 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11319 PyObject *resultobj;
11320 wxFontData *arg1 = (wxFontData *) 0 ;
11321 wxFont result;
11322 PyObject * obj0 = 0 ;
11323 char *kwnames[] = {
11324 (char *) "self", NULL
11325 };
11326
11327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
11328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11329 {
11330 PyThreadState* __tstate = wxPyBeginAllowThreads();
11331 result = (arg1)->GetChosenFont();
11332
11333 wxPyEndAllowThreads(__tstate);
11334 if (PyErr_Occurred()) SWIG_fail;
11335 }
11336 {
11337 wxFont * resultptr;
11338 resultptr = new wxFont((wxFont &) result);
11339 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11340 }
11341 return resultobj;
11342 fail:
11343 return NULL;
11344 }
11345
11346
11347 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11348 PyObject *resultobj;
11349 wxFontData *arg1 = (wxFontData *) 0 ;
11350 bool result;
11351 PyObject * obj0 = 0 ;
11352 char *kwnames[] = {
11353 (char *) "self", NULL
11354 };
11355
11356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
11357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11358 {
11359 PyThreadState* __tstate = wxPyBeginAllowThreads();
11360 result = (bool)(arg1)->GetEnableEffects();
11361
11362 wxPyEndAllowThreads(__tstate);
11363 if (PyErr_Occurred()) SWIG_fail;
11364 }
11365 resultobj = PyInt_FromLong((long)result);
11366 return resultobj;
11367 fail:
11368 return NULL;
11369 }
11370
11371
11372 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11373 PyObject *resultobj;
11374 wxFontData *arg1 = (wxFontData *) 0 ;
11375 wxFont result;
11376 PyObject * obj0 = 0 ;
11377 char *kwnames[] = {
11378 (char *) "self", NULL
11379 };
11380
11381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
11382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11383 {
11384 PyThreadState* __tstate = wxPyBeginAllowThreads();
11385 result = (arg1)->GetInitialFont();
11386
11387 wxPyEndAllowThreads(__tstate);
11388 if (PyErr_Occurred()) SWIG_fail;
11389 }
11390 {
11391 wxFont * resultptr;
11392 resultptr = new wxFont((wxFont &) result);
11393 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11394 }
11395 return resultobj;
11396 fail:
11397 return NULL;
11398 }
11399
11400
11401 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11402 PyObject *resultobj;
11403 wxFontData *arg1 = (wxFontData *) 0 ;
11404 bool result;
11405 PyObject * obj0 = 0 ;
11406 char *kwnames[] = {
11407 (char *) "self", NULL
11408 };
11409
11410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
11411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11412 {
11413 PyThreadState* __tstate = wxPyBeginAllowThreads();
11414 result = (bool)(arg1)->GetShowHelp();
11415
11416 wxPyEndAllowThreads(__tstate);
11417 if (PyErr_Occurred()) SWIG_fail;
11418 }
11419 resultobj = PyInt_FromLong((long)result);
11420 return resultobj;
11421 fail:
11422 return NULL;
11423 }
11424
11425
11426 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11427 PyObject *resultobj;
11428 wxFontData *arg1 = (wxFontData *) 0 ;
11429 bool arg2 ;
11430 PyObject * obj0 = 0 ;
11431 PyObject * obj1 = 0 ;
11432 char *kwnames[] = {
11433 (char *) "self",(char *) "allowSymbols", NULL
11434 };
11435
11436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
11437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11438 arg2 = PyInt_AsLong(obj1) ? true : false;
11439 if (PyErr_Occurred()) SWIG_fail;
11440 {
11441 PyThreadState* __tstate = wxPyBeginAllowThreads();
11442 (arg1)->SetAllowSymbols(arg2);
11443
11444 wxPyEndAllowThreads(__tstate);
11445 if (PyErr_Occurred()) SWIG_fail;
11446 }
11447 Py_INCREF(Py_None); resultobj = Py_None;
11448 return resultobj;
11449 fail:
11450 return NULL;
11451 }
11452
11453
11454 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11455 PyObject *resultobj;
11456 wxFontData *arg1 = (wxFontData *) 0 ;
11457 wxFont *arg2 = 0 ;
11458 PyObject * obj0 = 0 ;
11459 PyObject * obj1 = 0 ;
11460 char *kwnames[] = {
11461 (char *) "self",(char *) "font", NULL
11462 };
11463
11464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
11465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11466 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11467 if (arg2 == NULL) {
11468 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11469 }
11470 {
11471 PyThreadState* __tstate = wxPyBeginAllowThreads();
11472 (arg1)->SetChosenFont((wxFont const &)*arg2);
11473
11474 wxPyEndAllowThreads(__tstate);
11475 if (PyErr_Occurred()) SWIG_fail;
11476 }
11477 Py_INCREF(Py_None); resultobj = Py_None;
11478 return resultobj;
11479 fail:
11480 return NULL;
11481 }
11482
11483
11484 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11485 PyObject *resultobj;
11486 wxFontData *arg1 = (wxFontData *) 0 ;
11487 wxColour *arg2 = 0 ;
11488 wxColour temp2 ;
11489 PyObject * obj0 = 0 ;
11490 PyObject * obj1 = 0 ;
11491 char *kwnames[] = {
11492 (char *) "self",(char *) "colour", NULL
11493 };
11494
11495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11497 {
11498 arg2 = &temp2;
11499 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11500 }
11501 {
11502 PyThreadState* __tstate = wxPyBeginAllowThreads();
11503 (arg1)->SetColour((wxColour const &)*arg2);
11504
11505 wxPyEndAllowThreads(__tstate);
11506 if (PyErr_Occurred()) SWIG_fail;
11507 }
11508 Py_INCREF(Py_None); resultobj = Py_None;
11509 return resultobj;
11510 fail:
11511 return NULL;
11512 }
11513
11514
11515 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11516 PyObject *resultobj;
11517 wxFontData *arg1 = (wxFontData *) 0 ;
11518 wxFont *arg2 = 0 ;
11519 PyObject * obj0 = 0 ;
11520 PyObject * obj1 = 0 ;
11521 char *kwnames[] = {
11522 (char *) "self",(char *) "font", NULL
11523 };
11524
11525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
11526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11527 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11528 if (arg2 == NULL) {
11529 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11530 }
11531 {
11532 PyThreadState* __tstate = wxPyBeginAllowThreads();
11533 (arg1)->SetInitialFont((wxFont const &)*arg2);
11534
11535 wxPyEndAllowThreads(__tstate);
11536 if (PyErr_Occurred()) SWIG_fail;
11537 }
11538 Py_INCREF(Py_None); resultobj = Py_None;
11539 return resultobj;
11540 fail:
11541 return NULL;
11542 }
11543
11544
11545 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11546 PyObject *resultobj;
11547 wxFontData *arg1 = (wxFontData *) 0 ;
11548 int arg2 ;
11549 int arg3 ;
11550 PyObject * obj0 = 0 ;
11551 char *kwnames[] = {
11552 (char *) "self",(char *) "min",(char *) "max", NULL
11553 };
11554
11555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:FontData_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
11556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11557 {
11558 PyThreadState* __tstate = wxPyBeginAllowThreads();
11559 (arg1)->SetRange(arg2,arg3);
11560
11561 wxPyEndAllowThreads(__tstate);
11562 if (PyErr_Occurred()) SWIG_fail;
11563 }
11564 Py_INCREF(Py_None); resultobj = Py_None;
11565 return resultobj;
11566 fail:
11567 return NULL;
11568 }
11569
11570
11571 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11572 PyObject *resultobj;
11573 wxFontData *arg1 = (wxFontData *) 0 ;
11574 bool arg2 ;
11575 PyObject * obj0 = 0 ;
11576 PyObject * obj1 = 0 ;
11577 char *kwnames[] = {
11578 (char *) "self",(char *) "showHelp", NULL
11579 };
11580
11581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
11582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11583 arg2 = PyInt_AsLong(obj1) ? true : false;
11584 if (PyErr_Occurred()) SWIG_fail;
11585 {
11586 PyThreadState* __tstate = wxPyBeginAllowThreads();
11587 (arg1)->SetShowHelp(arg2);
11588
11589 wxPyEndAllowThreads(__tstate);
11590 if (PyErr_Occurred()) SWIG_fail;
11591 }
11592 Py_INCREF(Py_None); resultobj = Py_None;
11593 return resultobj;
11594 fail:
11595 return NULL;
11596 }
11597
11598
11599 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
11600 PyObject *obj;
11601 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11602 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
11603 Py_INCREF(obj);
11604 return Py_BuildValue((char *)"");
11605 }
11606 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11607 PyObject *resultobj;
11608 wxWindow *arg1 = (wxWindow *) 0 ;
11609 wxFontData *arg2 = 0 ;
11610 wxFontDialog *result;
11611 PyObject * obj0 = 0 ;
11612 PyObject * obj1 = 0 ;
11613 char *kwnames[] = {
11614 (char *) "parent",(char *) "data", NULL
11615 };
11616
11617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
11618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11619 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11620 if (arg2 == NULL) {
11621 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11622 }
11623 {
11624 PyThreadState* __tstate = wxPyBeginAllowThreads();
11625 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
11626
11627 wxPyEndAllowThreads(__tstate);
11628 if (PyErr_Occurred()) SWIG_fail;
11629 }
11630 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontDialog, 1);
11631 return resultobj;
11632 fail:
11633 return NULL;
11634 }
11635
11636
11637 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11638 PyObject *resultobj;
11639 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
11640 wxFontData *result;
11641 PyObject * obj0 = 0 ;
11642 char *kwnames[] = {
11643 (char *) "self", NULL
11644 };
11645
11646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
11647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11648 {
11649 PyThreadState* __tstate = wxPyBeginAllowThreads();
11650 {
11651 wxFontData &_result_ref = (arg1)->GetFontData();
11652 result = (wxFontData *) &_result_ref;
11653 }
11654
11655 wxPyEndAllowThreads(__tstate);
11656 if (PyErr_Occurred()) SWIG_fail;
11657 }
11658 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 0);
11659 return resultobj;
11660 fail:
11661 return NULL;
11662 }
11663
11664
11665 static PyObject *_wrap_FontDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11666 PyObject *resultobj;
11667 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
11668 int result;
11669 PyObject * obj0 = 0 ;
11670 char *kwnames[] = {
11671 (char *) "self", NULL
11672 };
11673
11674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_ShowModal",kwnames,&obj0)) goto fail;
11675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11676 {
11677 PyThreadState* __tstate = wxPyBeginAllowThreads();
11678 result = (int)(arg1)->ShowModal();
11679
11680 wxPyEndAllowThreads(__tstate);
11681 if (PyErr_Occurred()) SWIG_fail;
11682 }
11683 resultobj = PyInt_FromLong((long)result);
11684 return resultobj;
11685 fail:
11686 return NULL;
11687 }
11688
11689
11690 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
11691 PyObject *obj;
11692 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11693 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
11694 Py_INCREF(obj);
11695 return Py_BuildValue((char *)"");
11696 }
11697 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11698 PyObject *resultobj;
11699 wxWindow *arg1 = (wxWindow *) 0 ;
11700 wxString *arg2 = 0 ;
11701 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
11702 wxString *arg3 = (wxString *) &arg3_defvalue ;
11703 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
11704 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11705 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11706 wxMessageDialog *result;
11707 bool temp2 = False ;
11708 bool temp3 = False ;
11709 wxPoint temp5 ;
11710 PyObject * obj0 = 0 ;
11711 PyObject * obj1 = 0 ;
11712 PyObject * obj2 = 0 ;
11713 PyObject * obj4 = 0 ;
11714 char *kwnames[] = {
11715 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
11716 };
11717
11718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OlO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4)) goto fail;
11719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11720 {
11721 arg2 = wxString_in_helper(obj1);
11722 if (arg2 == NULL) SWIG_fail;
11723 temp2 = True;
11724 }
11725 if (obj2) {
11726 {
11727 arg3 = wxString_in_helper(obj2);
11728 if (arg3 == NULL) SWIG_fail;
11729 temp3 = True;
11730 }
11731 }
11732 if (obj4) {
11733 {
11734 arg5 = &temp5;
11735 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11736 }
11737 }
11738 {
11739 PyThreadState* __tstate = wxPyBeginAllowThreads();
11740 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
11741
11742 wxPyEndAllowThreads(__tstate);
11743 if (PyErr_Occurred()) SWIG_fail;
11744 }
11745 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMessageDialog, 1);
11746 {
11747 if (temp2)
11748 delete arg2;
11749 }
11750 {
11751 if (temp3)
11752 delete arg3;
11753 }
11754 return resultobj;
11755 fail:
11756 {
11757 if (temp2)
11758 delete arg2;
11759 }
11760 {
11761 if (temp3)
11762 delete arg3;
11763 }
11764 return NULL;
11765 }
11766
11767
11768 static PyObject *_wrap_MessageDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11769 PyObject *resultobj;
11770 wxMessageDialog *arg1 = (wxMessageDialog *) 0 ;
11771 int result;
11772 PyObject * obj0 = 0 ;
11773 char *kwnames[] = {
11774 (char *) "self", NULL
11775 };
11776
11777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MessageDialog_ShowModal",kwnames,&obj0)) goto fail;
11778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMessageDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11779 {
11780 PyThreadState* __tstate = wxPyBeginAllowThreads();
11781 result = (int)(arg1)->ShowModal();
11782
11783 wxPyEndAllowThreads(__tstate);
11784 if (PyErr_Occurred()) SWIG_fail;
11785 }
11786 resultobj = PyInt_FromLong((long)result);
11787 return resultobj;
11788 fail:
11789 return NULL;
11790 }
11791
11792
11793 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
11794 PyObject *obj;
11795 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11796 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
11797 Py_INCREF(obj);
11798 return Py_BuildValue((char *)"");
11799 }
11800 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11801 PyObject *resultobj;
11802 wxString *arg1 = 0 ;
11803 wxString *arg2 = 0 ;
11804 int arg3 = (int) 100 ;
11805 wxWindow *arg4 = (wxWindow *) NULL ;
11806 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
11807 wxProgressDialog *result;
11808 bool temp1 = False ;
11809 bool temp2 = False ;
11810 PyObject * obj0 = 0 ;
11811 PyObject * obj1 = 0 ;
11812 PyObject * obj3 = 0 ;
11813 char *kwnames[] = {
11814 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
11815 };
11816
11817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOi:new_ProgressDialog",kwnames,&obj0,&obj1,&arg3,&obj3,&arg5)) goto fail;
11818 {
11819 arg1 = wxString_in_helper(obj0);
11820 if (arg1 == NULL) SWIG_fail;
11821 temp1 = True;
11822 }
11823 {
11824 arg2 = wxString_in_helper(obj1);
11825 if (arg2 == NULL) SWIG_fail;
11826 temp2 = True;
11827 }
11828 if (obj3) {
11829 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11830 }
11831 {
11832 PyThreadState* __tstate = wxPyBeginAllowThreads();
11833 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
11834
11835 wxPyEndAllowThreads(__tstate);
11836 if (PyErr_Occurred()) SWIG_fail;
11837 }
11838 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProgressDialog, 1);
11839 {
11840 if (temp1)
11841 delete arg1;
11842 }
11843 {
11844 if (temp2)
11845 delete arg2;
11846 }
11847 return resultobj;
11848 fail:
11849 {
11850 if (temp1)
11851 delete arg1;
11852 }
11853 {
11854 if (temp2)
11855 delete arg2;
11856 }
11857 return NULL;
11858 }
11859
11860
11861 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
11862 PyObject *resultobj;
11863 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
11864 int arg2 ;
11865 wxString const &arg3_defvalue = wxPyEmptyString ;
11866 wxString *arg3 = (wxString *) &arg3_defvalue ;
11867 bool result;
11868 bool temp3 = False ;
11869 PyObject * obj0 = 0 ;
11870 PyObject * obj2 = 0 ;
11871 char *kwnames[] = {
11872 (char *) "self",(char *) "value",(char *) "newmsg", NULL
11873 };
11874
11875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ProgressDialog_Update",kwnames,&obj0,&arg2,&obj2)) goto fail;
11876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11877 if (obj2) {
11878 {
11879 arg3 = wxString_in_helper(obj2);
11880 if (arg3 == NULL) SWIG_fail;
11881 temp3 = True;
11882 }
11883 }
11884 {
11885 PyThreadState* __tstate = wxPyBeginAllowThreads();
11886 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
11887
11888 wxPyEndAllowThreads(__tstate);
11889 if (PyErr_Occurred()) SWIG_fail;
11890 }
11891 resultobj = PyInt_FromLong((long)result);
11892 {
11893 if (temp3)
11894 delete arg3;
11895 }
11896 return resultobj;
11897 fail:
11898 {
11899 if (temp3)
11900 delete arg3;
11901 }
11902 return NULL;
11903 }
11904
11905
11906 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
11907 PyObject *resultobj;
11908 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
11909 PyObject * obj0 = 0 ;
11910 char *kwnames[] = {
11911 (char *) "self", NULL
11912 };
11913
11914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
11915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11916 {
11917 PyThreadState* __tstate = wxPyBeginAllowThreads();
11918 (arg1)->Resume();
11919
11920 wxPyEndAllowThreads(__tstate);
11921 if (PyErr_Occurred()) SWIG_fail;
11922 }
11923 Py_INCREF(Py_None); resultobj = Py_None;
11924 return resultobj;
11925 fail:
11926 return NULL;
11927 }
11928
11929
11930 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
11931 PyObject *obj;
11932 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11933 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
11934 Py_INCREF(obj);
11935 return Py_BuildValue((char *)"");
11936 }
11937 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11938 PyObject *resultobj;
11939 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11940 int arg2 = (int) 0 ;
11941 wxFindDialogEvent *result;
11942 char *kwnames[] = {
11943 (char *) "commandType",(char *) "id", NULL
11944 };
11945
11946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_FindDialogEvent",kwnames,&arg1,&arg2)) goto fail;
11947 {
11948 PyThreadState* __tstate = wxPyBeginAllowThreads();
11949 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
11950
11951 wxPyEndAllowThreads(__tstate);
11952 if (PyErr_Occurred()) SWIG_fail;
11953 }
11954 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindDialogEvent, 1);
11955 return resultobj;
11956 fail:
11957 return NULL;
11958 }
11959
11960
11961 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
11962 PyObject *resultobj;
11963 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
11964 int result;
11965 PyObject * obj0 = 0 ;
11966 char *kwnames[] = {
11967 (char *) "self", NULL
11968 };
11969
11970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
11971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11972 {
11973 PyThreadState* __tstate = wxPyBeginAllowThreads();
11974 result = (int)(arg1)->GetFlags();
11975
11976 wxPyEndAllowThreads(__tstate);
11977 if (PyErr_Occurred()) SWIG_fail;
11978 }
11979 resultobj = PyInt_FromLong((long)result);
11980 return resultobj;
11981 fail:
11982 return NULL;
11983 }
11984
11985
11986 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
11987 PyObject *resultobj;
11988 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
11989 wxString *result;
11990 PyObject * obj0 = 0 ;
11991 char *kwnames[] = {
11992 (char *) "self", NULL
11993 };
11994
11995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
11996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11997 {
11998 PyThreadState* __tstate = wxPyBeginAllowThreads();
11999 {
12000 wxString const &_result_ref = (arg1)->GetFindString();
12001 result = (wxString *) &_result_ref;
12002 }
12003
12004 wxPyEndAllowThreads(__tstate);
12005 if (PyErr_Occurred()) SWIG_fail;
12006 }
12007 {
12008 #if wxUSE_UNICODE
12009 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12010 #else
12011 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12012 #endif
12013 }
12014 return resultobj;
12015 fail:
12016 return NULL;
12017 }
12018
12019
12020 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12021 PyObject *resultobj;
12022 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12023 wxString *result;
12024 PyObject * obj0 = 0 ;
12025 char *kwnames[] = {
12026 (char *) "self", NULL
12027 };
12028
12029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
12030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12031 {
12032 PyThreadState* __tstate = wxPyBeginAllowThreads();
12033 {
12034 wxString const &_result_ref = (arg1)->GetReplaceString();
12035 result = (wxString *) &_result_ref;
12036 }
12037
12038 wxPyEndAllowThreads(__tstate);
12039 if (PyErr_Occurred()) SWIG_fail;
12040 }
12041 {
12042 #if wxUSE_UNICODE
12043 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12044 #else
12045 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12046 #endif
12047 }
12048 return resultobj;
12049 fail:
12050 return NULL;
12051 }
12052
12053
12054 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12055 PyObject *resultobj;
12056 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12057 wxFindReplaceDialog *result;
12058 PyObject * obj0 = 0 ;
12059 char *kwnames[] = {
12060 (char *) "self", NULL
12061 };
12062
12063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
12064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12065 {
12066 PyThreadState* __tstate = wxPyBeginAllowThreads();
12067 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
12068
12069 wxPyEndAllowThreads(__tstate);
12070 if (PyErr_Occurred()) SWIG_fail;
12071 }
12072 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 0);
12073 return resultobj;
12074 fail:
12075 return NULL;
12076 }
12077
12078
12079 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12080 PyObject *resultobj;
12081 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12082 int arg2 ;
12083 PyObject * obj0 = 0 ;
12084 char *kwnames[] = {
12085 (char *) "self",(char *) "flags", NULL
12086 };
12087
12088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindDialogEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12090 {
12091 PyThreadState* __tstate = wxPyBeginAllowThreads();
12092 (arg1)->SetFlags(arg2);
12093
12094 wxPyEndAllowThreads(__tstate);
12095 if (PyErr_Occurred()) SWIG_fail;
12096 }
12097 Py_INCREF(Py_None); resultobj = Py_None;
12098 return resultobj;
12099 fail:
12100 return NULL;
12101 }
12102
12103
12104 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12105 PyObject *resultobj;
12106 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12107 wxString *arg2 = 0 ;
12108 bool temp2 = False ;
12109 PyObject * obj0 = 0 ;
12110 PyObject * obj1 = 0 ;
12111 char *kwnames[] = {
12112 (char *) "self",(char *) "str", NULL
12113 };
12114
12115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12117 {
12118 arg2 = wxString_in_helper(obj1);
12119 if (arg2 == NULL) SWIG_fail;
12120 temp2 = True;
12121 }
12122 {
12123 PyThreadState* __tstate = wxPyBeginAllowThreads();
12124 (arg1)->SetFindString((wxString const &)*arg2);
12125
12126 wxPyEndAllowThreads(__tstate);
12127 if (PyErr_Occurred()) SWIG_fail;
12128 }
12129 Py_INCREF(Py_None); resultobj = Py_None;
12130 {
12131 if (temp2)
12132 delete arg2;
12133 }
12134 return resultobj;
12135 fail:
12136 {
12137 if (temp2)
12138 delete arg2;
12139 }
12140 return NULL;
12141 }
12142
12143
12144 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12145 PyObject *resultobj;
12146 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12147 wxString *arg2 = 0 ;
12148 bool temp2 = False ;
12149 PyObject * obj0 = 0 ;
12150 PyObject * obj1 = 0 ;
12151 char *kwnames[] = {
12152 (char *) "self",(char *) "str", NULL
12153 };
12154
12155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12157 {
12158 arg2 = wxString_in_helper(obj1);
12159 if (arg2 == NULL) SWIG_fail;
12160 temp2 = True;
12161 }
12162 {
12163 PyThreadState* __tstate = wxPyBeginAllowThreads();
12164 (arg1)->SetReplaceString((wxString const &)*arg2);
12165
12166 wxPyEndAllowThreads(__tstate);
12167 if (PyErr_Occurred()) SWIG_fail;
12168 }
12169 Py_INCREF(Py_None); resultobj = Py_None;
12170 {
12171 if (temp2)
12172 delete arg2;
12173 }
12174 return resultobj;
12175 fail:
12176 {
12177 if (temp2)
12178 delete arg2;
12179 }
12180 return NULL;
12181 }
12182
12183
12184 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
12185 PyObject *obj;
12186 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12187 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
12188 Py_INCREF(obj);
12189 return Py_BuildValue((char *)"");
12190 }
12191 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12192 PyObject *resultobj;
12193 int arg1 = (int) 0 ;
12194 wxFindReplaceData *result;
12195 char *kwnames[] = {
12196 (char *) "flags", NULL
12197 };
12198
12199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_FindReplaceData",kwnames,&arg1)) goto fail;
12200 {
12201 PyThreadState* __tstate = wxPyBeginAllowThreads();
12202 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
12203
12204 wxPyEndAllowThreads(__tstate);
12205 if (PyErr_Occurred()) SWIG_fail;
12206 }
12207 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 1);
12208 return resultobj;
12209 fail:
12210 return NULL;
12211 }
12212
12213
12214 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12215 PyObject *resultobj;
12216 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12217 PyObject * obj0 = 0 ;
12218 char *kwnames[] = {
12219 (char *) "self", NULL
12220 };
12221
12222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
12223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12224 {
12225 PyThreadState* __tstate = wxPyBeginAllowThreads();
12226 delete arg1;
12227
12228 wxPyEndAllowThreads(__tstate);
12229 if (PyErr_Occurred()) SWIG_fail;
12230 }
12231 Py_INCREF(Py_None); resultobj = Py_None;
12232 return resultobj;
12233 fail:
12234 return NULL;
12235 }
12236
12237
12238 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12239 PyObject *resultobj;
12240 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12241 wxString *result;
12242 PyObject * obj0 = 0 ;
12243 char *kwnames[] = {
12244 (char *) "self", NULL
12245 };
12246
12247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
12248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12249 {
12250 PyThreadState* __tstate = wxPyBeginAllowThreads();
12251 {
12252 wxString const &_result_ref = (arg1)->GetFindString();
12253 result = (wxString *) &_result_ref;
12254 }
12255
12256 wxPyEndAllowThreads(__tstate);
12257 if (PyErr_Occurred()) SWIG_fail;
12258 }
12259 {
12260 #if wxUSE_UNICODE
12261 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12262 #else
12263 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12264 #endif
12265 }
12266 return resultobj;
12267 fail:
12268 return NULL;
12269 }
12270
12271
12272 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12273 PyObject *resultobj;
12274 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12275 wxString *result;
12276 PyObject * obj0 = 0 ;
12277 char *kwnames[] = {
12278 (char *) "self", NULL
12279 };
12280
12281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
12282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12283 {
12284 PyThreadState* __tstate = wxPyBeginAllowThreads();
12285 {
12286 wxString const &_result_ref = (arg1)->GetReplaceString();
12287 result = (wxString *) &_result_ref;
12288 }
12289
12290 wxPyEndAllowThreads(__tstate);
12291 if (PyErr_Occurred()) SWIG_fail;
12292 }
12293 {
12294 #if wxUSE_UNICODE
12295 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12296 #else
12297 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12298 #endif
12299 }
12300 return resultobj;
12301 fail:
12302 return NULL;
12303 }
12304
12305
12306 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12307 PyObject *resultobj;
12308 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12309 int result;
12310 PyObject * obj0 = 0 ;
12311 char *kwnames[] = {
12312 (char *) "self", NULL
12313 };
12314
12315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
12316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12317 {
12318 PyThreadState* __tstate = wxPyBeginAllowThreads();
12319 result = (int)(arg1)->GetFlags();
12320
12321 wxPyEndAllowThreads(__tstate);
12322 if (PyErr_Occurred()) SWIG_fail;
12323 }
12324 resultobj = PyInt_FromLong((long)result);
12325 return resultobj;
12326 fail:
12327 return NULL;
12328 }
12329
12330
12331 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12332 PyObject *resultobj;
12333 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12334 int arg2 ;
12335 PyObject * obj0 = 0 ;
12336 char *kwnames[] = {
12337 (char *) "self",(char *) "flags", NULL
12338 };
12339
12340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindReplaceData_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12342 {
12343 PyThreadState* __tstate = wxPyBeginAllowThreads();
12344 (arg1)->SetFlags(arg2);
12345
12346 wxPyEndAllowThreads(__tstate);
12347 if (PyErr_Occurred()) SWIG_fail;
12348 }
12349 Py_INCREF(Py_None); resultobj = Py_None;
12350 return resultobj;
12351 fail:
12352 return NULL;
12353 }
12354
12355
12356 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12357 PyObject *resultobj;
12358 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12359 wxString *arg2 = 0 ;
12360 bool temp2 = False ;
12361 PyObject * obj0 = 0 ;
12362 PyObject * obj1 = 0 ;
12363 char *kwnames[] = {
12364 (char *) "self",(char *) "str", NULL
12365 };
12366
12367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12369 {
12370 arg2 = wxString_in_helper(obj1);
12371 if (arg2 == NULL) SWIG_fail;
12372 temp2 = True;
12373 }
12374 {
12375 PyThreadState* __tstate = wxPyBeginAllowThreads();
12376 (arg1)->SetFindString((wxString const &)*arg2);
12377
12378 wxPyEndAllowThreads(__tstate);
12379 if (PyErr_Occurred()) SWIG_fail;
12380 }
12381 Py_INCREF(Py_None); resultobj = Py_None;
12382 {
12383 if (temp2)
12384 delete arg2;
12385 }
12386 return resultobj;
12387 fail:
12388 {
12389 if (temp2)
12390 delete arg2;
12391 }
12392 return NULL;
12393 }
12394
12395
12396 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12397 PyObject *resultobj;
12398 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12399 wxString *arg2 = 0 ;
12400 bool temp2 = False ;
12401 PyObject * obj0 = 0 ;
12402 PyObject * obj1 = 0 ;
12403 char *kwnames[] = {
12404 (char *) "self",(char *) "str", NULL
12405 };
12406
12407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12409 {
12410 arg2 = wxString_in_helper(obj1);
12411 if (arg2 == NULL) SWIG_fail;
12412 temp2 = True;
12413 }
12414 {
12415 PyThreadState* __tstate = wxPyBeginAllowThreads();
12416 (arg1)->SetReplaceString((wxString const &)*arg2);
12417
12418 wxPyEndAllowThreads(__tstate);
12419 if (PyErr_Occurred()) SWIG_fail;
12420 }
12421 Py_INCREF(Py_None); resultobj = Py_None;
12422 {
12423 if (temp2)
12424 delete arg2;
12425 }
12426 return resultobj;
12427 fail:
12428 {
12429 if (temp2)
12430 delete arg2;
12431 }
12432 return NULL;
12433 }
12434
12435
12436 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
12437 PyObject *obj;
12438 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12439 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
12440 Py_INCREF(obj);
12441 return Py_BuildValue((char *)"");
12442 }
12443 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12444 PyObject *resultobj;
12445 wxWindow *arg1 = (wxWindow *) 0 ;
12446 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12447 wxString *arg3 = 0 ;
12448 int arg4 = (int) 0 ;
12449 wxFindReplaceDialog *result;
12450 bool temp3 = False ;
12451 PyObject * obj0 = 0 ;
12452 PyObject * obj1 = 0 ;
12453 PyObject * obj2 = 0 ;
12454 char *kwnames[] = {
12455 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12456 };
12457
12458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
12459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12460 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12461 {
12462 arg3 = wxString_in_helper(obj2);
12463 if (arg3 == NULL) SWIG_fail;
12464 temp3 = True;
12465 }
12466 {
12467 PyThreadState* __tstate = wxPyBeginAllowThreads();
12468 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
12469
12470 wxPyEndAllowThreads(__tstate);
12471 if (PyErr_Occurred()) SWIG_fail;
12472 }
12473 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12474 {
12475 if (temp3)
12476 delete arg3;
12477 }
12478 return resultobj;
12479 fail:
12480 {
12481 if (temp3)
12482 delete arg3;
12483 }
12484 return NULL;
12485 }
12486
12487
12488 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12489 PyObject *resultobj;
12490 wxFindReplaceDialog *result;
12491 char *kwnames[] = {
12492 NULL
12493 };
12494
12495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
12496 {
12497 PyThreadState* __tstate = wxPyBeginAllowThreads();
12498 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
12499
12500 wxPyEndAllowThreads(__tstate);
12501 if (PyErr_Occurred()) SWIG_fail;
12502 }
12503 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12504 return resultobj;
12505 fail:
12506 return NULL;
12507 }
12508
12509
12510 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12511 PyObject *resultobj;
12512 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12513 wxWindow *arg2 = (wxWindow *) 0 ;
12514 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
12515 wxString *arg4 = 0 ;
12516 int arg5 = (int) 0 ;
12517 bool result;
12518 bool temp4 = False ;
12519 PyObject * obj0 = 0 ;
12520 PyObject * obj1 = 0 ;
12521 PyObject * obj2 = 0 ;
12522 PyObject * obj3 = 0 ;
12523 char *kwnames[] = {
12524 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12525 };
12526
12527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|i:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
12528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12529 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12530 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12531 {
12532 arg4 = wxString_in_helper(obj3);
12533 if (arg4 == NULL) SWIG_fail;
12534 temp4 = True;
12535 }
12536 {
12537 PyThreadState* __tstate = wxPyBeginAllowThreads();
12538 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
12539
12540 wxPyEndAllowThreads(__tstate);
12541 if (PyErr_Occurred()) SWIG_fail;
12542 }
12543 resultobj = PyInt_FromLong((long)result);
12544 {
12545 if (temp4)
12546 delete arg4;
12547 }
12548 return resultobj;
12549 fail:
12550 {
12551 if (temp4)
12552 delete arg4;
12553 }
12554 return NULL;
12555 }
12556
12557
12558 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12559 PyObject *resultobj;
12560 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12561 wxFindReplaceData *result;
12562 PyObject * obj0 = 0 ;
12563 char *kwnames[] = {
12564 (char *) "self", NULL
12565 };
12566
12567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
12568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12569 {
12570 PyThreadState* __tstate = wxPyBeginAllowThreads();
12571 result = (wxFindReplaceData *)(arg1)->GetData();
12572
12573 wxPyEndAllowThreads(__tstate);
12574 if (PyErr_Occurred()) SWIG_fail;
12575 }
12576 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 0);
12577 return resultobj;
12578 fail:
12579 return NULL;
12580 }
12581
12582
12583 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12584 PyObject *resultobj;
12585 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12586 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12587 PyObject * obj0 = 0 ;
12588 PyObject * obj1 = 0 ;
12589 char *kwnames[] = {
12590 (char *) "self",(char *) "data", NULL
12591 };
12592
12593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
12594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12595 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12596 {
12597 PyThreadState* __tstate = wxPyBeginAllowThreads();
12598 (arg1)->SetData(arg2);
12599
12600 wxPyEndAllowThreads(__tstate);
12601 if (PyErr_Occurred()) SWIG_fail;
12602 }
12603 Py_INCREF(Py_None); resultobj = Py_None;
12604 return resultobj;
12605 fail:
12606 return NULL;
12607 }
12608
12609
12610 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
12611 PyObject *obj;
12612 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12613 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
12614 Py_INCREF(obj);
12615 return Py_BuildValue((char *)"");
12616 }
12617 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
12618 PyObject *resultobj;
12619 wxWindow *arg1 = (wxWindow *) 0 ;
12620 int arg2 ;
12621 wxString *arg3 = 0 ;
12622 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12623 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12624 wxSize const &arg5_defvalue = wxDefaultSize ;
12625 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12626 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
12627 wxString const &arg7_defvalue = wxPyFrameNameStr ;
12628 wxString *arg7 = (wxString *) &arg7_defvalue ;
12629 wxMDIParentFrame *result;
12630 bool temp3 = False ;
12631 wxPoint temp4 ;
12632 wxSize temp5 ;
12633 bool temp7 = False ;
12634 PyObject * obj0 = 0 ;
12635 PyObject * obj2 = 0 ;
12636 PyObject * obj3 = 0 ;
12637 PyObject * obj4 = 0 ;
12638 PyObject * obj6 = 0 ;
12639 char *kwnames[] = {
12640 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12641 };
12642
12643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIParentFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
12644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12645 {
12646 arg3 = wxString_in_helper(obj2);
12647 if (arg3 == NULL) SWIG_fail;
12648 temp3 = True;
12649 }
12650 if (obj3) {
12651 {
12652 arg4 = &temp4;
12653 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12654 }
12655 }
12656 if (obj4) {
12657 {
12658 arg5 = &temp5;
12659 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12660 }
12661 }
12662 if (obj6) {
12663 {
12664 arg7 = wxString_in_helper(obj6);
12665 if (arg7 == NULL) SWIG_fail;
12666 temp7 = True;
12667 }
12668 }
12669 {
12670 PyThreadState* __tstate = wxPyBeginAllowThreads();
12671 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12672
12673 wxPyEndAllowThreads(__tstate);
12674 if (PyErr_Occurred()) SWIG_fail;
12675 }
12676 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
12677 {
12678 if (temp3)
12679 delete arg3;
12680 }
12681 {
12682 if (temp7)
12683 delete arg7;
12684 }
12685 return resultobj;
12686 fail:
12687 {
12688 if (temp3)
12689 delete arg3;
12690 }
12691 {
12692 if (temp7)
12693 delete arg7;
12694 }
12695 return NULL;
12696 }
12697
12698
12699 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
12700 PyObject *resultobj;
12701 wxMDIParentFrame *result;
12702 char *kwnames[] = {
12703 NULL
12704 };
12705
12706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
12707 {
12708 PyThreadState* __tstate = wxPyBeginAllowThreads();
12709 result = (wxMDIParentFrame *)new wxMDIParentFrame();
12710
12711 wxPyEndAllowThreads(__tstate);
12712 if (PyErr_Occurred()) SWIG_fail;
12713 }
12714 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
12715 return resultobj;
12716 fail:
12717 return NULL;
12718 }
12719
12720
12721 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12722 PyObject *resultobj;
12723 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12724 wxWindow *arg2 = (wxWindow *) 0 ;
12725 int arg3 ;
12726 wxString *arg4 = 0 ;
12727 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12728 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12729 wxSize const &arg6_defvalue = wxDefaultSize ;
12730 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12731 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
12732 wxString const &arg8_defvalue = wxPyFrameNameStr ;
12733 wxString *arg8 = (wxString *) &arg8_defvalue ;
12734 bool result;
12735 bool temp4 = False ;
12736 wxPoint temp5 ;
12737 wxSize temp6 ;
12738 bool temp8 = False ;
12739 PyObject * obj0 = 0 ;
12740 PyObject * obj1 = 0 ;
12741 PyObject * obj3 = 0 ;
12742 PyObject * obj4 = 0 ;
12743 PyObject * obj5 = 0 ;
12744 PyObject * obj7 = 0 ;
12745 char *kwnames[] = {
12746 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12747 };
12748
12749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
12750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12751 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12752 {
12753 arg4 = wxString_in_helper(obj3);
12754 if (arg4 == NULL) SWIG_fail;
12755 temp4 = True;
12756 }
12757 if (obj4) {
12758 {
12759 arg5 = &temp5;
12760 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12761 }
12762 }
12763 if (obj5) {
12764 {
12765 arg6 = &temp6;
12766 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12767 }
12768 }
12769 if (obj7) {
12770 {
12771 arg8 = wxString_in_helper(obj7);
12772 if (arg8 == NULL) SWIG_fail;
12773 temp8 = True;
12774 }
12775 }
12776 {
12777 PyThreadState* __tstate = wxPyBeginAllowThreads();
12778 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
12779
12780 wxPyEndAllowThreads(__tstate);
12781 if (PyErr_Occurred()) SWIG_fail;
12782 }
12783 resultobj = PyInt_FromLong((long)result);
12784 {
12785 if (temp4)
12786 delete arg4;
12787 }
12788 {
12789 if (temp8)
12790 delete arg8;
12791 }
12792 return resultobj;
12793 fail:
12794 {
12795 if (temp4)
12796 delete arg4;
12797 }
12798 {
12799 if (temp8)
12800 delete arg8;
12801 }
12802 return NULL;
12803 }
12804
12805
12806 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
12807 PyObject *resultobj;
12808 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12809 PyObject * obj0 = 0 ;
12810 char *kwnames[] = {
12811 (char *) "self", NULL
12812 };
12813
12814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
12815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12816 {
12817 PyThreadState* __tstate = wxPyBeginAllowThreads();
12818 (arg1)->ActivateNext();
12819
12820 wxPyEndAllowThreads(__tstate);
12821 if (PyErr_Occurred()) SWIG_fail;
12822 }
12823 Py_INCREF(Py_None); resultobj = Py_None;
12824 return resultobj;
12825 fail:
12826 return NULL;
12827 }
12828
12829
12830 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
12831 PyObject *resultobj;
12832 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12833 PyObject * obj0 = 0 ;
12834 char *kwnames[] = {
12835 (char *) "self", NULL
12836 };
12837
12838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
12839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12840 {
12841 PyThreadState* __tstate = wxPyBeginAllowThreads();
12842 (arg1)->ActivatePrevious();
12843
12844 wxPyEndAllowThreads(__tstate);
12845 if (PyErr_Occurred()) SWIG_fail;
12846 }
12847 Py_INCREF(Py_None); resultobj = Py_None;
12848 return resultobj;
12849 fail:
12850 return NULL;
12851 }
12852
12853
12854 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
12855 PyObject *resultobj;
12856 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12857 PyObject * obj0 = 0 ;
12858 char *kwnames[] = {
12859 (char *) "self", NULL
12860 };
12861
12862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
12863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12864 {
12865 PyThreadState* __tstate = wxPyBeginAllowThreads();
12866 (arg1)->ArrangeIcons();
12867
12868 wxPyEndAllowThreads(__tstate);
12869 if (PyErr_Occurred()) SWIG_fail;
12870 }
12871 Py_INCREF(Py_None); resultobj = Py_None;
12872 return resultobj;
12873 fail:
12874 return NULL;
12875 }
12876
12877
12878 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
12879 PyObject *resultobj;
12880 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12881 PyObject * obj0 = 0 ;
12882 char *kwnames[] = {
12883 (char *) "self", NULL
12884 };
12885
12886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
12887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12888 {
12889 PyThreadState* __tstate = wxPyBeginAllowThreads();
12890 (arg1)->Cascade();
12891
12892 wxPyEndAllowThreads(__tstate);
12893 if (PyErr_Occurred()) SWIG_fail;
12894 }
12895 Py_INCREF(Py_None); resultobj = Py_None;
12896 return resultobj;
12897 fail:
12898 return NULL;
12899 }
12900
12901
12902 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
12903 PyObject *resultobj;
12904 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12905 wxMDIChildFrame *result;
12906 PyObject * obj0 = 0 ;
12907 char *kwnames[] = {
12908 (char *) "self", NULL
12909 };
12910
12911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
12912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12913 {
12914 PyThreadState* __tstate = wxPyBeginAllowThreads();
12915 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
12916
12917 wxPyEndAllowThreads(__tstate);
12918 if (PyErr_Occurred()) SWIG_fail;
12919 }
12920 {
12921 resultobj = wxPyMake_wxObject(result);
12922 }
12923 return resultobj;
12924 fail:
12925 return NULL;
12926 }
12927
12928
12929 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12930 PyObject *resultobj;
12931 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12932 wxMDIClientWindow *result;
12933 PyObject * obj0 = 0 ;
12934 char *kwnames[] = {
12935 (char *) "self", NULL
12936 };
12937
12938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
12939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12940 {
12941 PyThreadState* __tstate = wxPyBeginAllowThreads();
12942 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
12943
12944 wxPyEndAllowThreads(__tstate);
12945 if (PyErr_Occurred()) SWIG_fail;
12946 }
12947 {
12948 resultobj = wxPyMake_wxObject(result);
12949 }
12950 return resultobj;
12951 fail:
12952 return NULL;
12953 }
12954
12955
12956 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
12957 PyObject *resultobj;
12958 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12959 wxWindow *result;
12960 PyObject * obj0 = 0 ;
12961 char *kwnames[] = {
12962 (char *) "self", NULL
12963 };
12964
12965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
12966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12967 {
12968 PyThreadState* __tstate = wxPyBeginAllowThreads();
12969 result = (wxWindow *)(arg1)->GetToolBar();
12970
12971 wxPyEndAllowThreads(__tstate);
12972 if (PyErr_Occurred()) SWIG_fail;
12973 }
12974 {
12975 resultobj = wxPyMake_wxObject(result);
12976 }
12977 return resultobj;
12978 fail:
12979 return NULL;
12980 }
12981
12982
12983 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
12984 PyObject *resultobj;
12985 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12986 PyObject * obj0 = 0 ;
12987 char *kwnames[] = {
12988 (char *) "self", NULL
12989 };
12990
12991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
12992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12993 {
12994 PyThreadState* __tstate = wxPyBeginAllowThreads();
12995 (arg1)->Tile();
12996
12997 wxPyEndAllowThreads(__tstate);
12998 if (PyErr_Occurred()) SWIG_fail;
12999 }
13000 Py_INCREF(Py_None); resultobj = Py_None;
13001 return resultobj;
13002 fail:
13003 return NULL;
13004 }
13005
13006
13007 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
13008 PyObject *obj;
13009 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13010 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
13011 Py_INCREF(obj);
13012 return Py_BuildValue((char *)"");
13013 }
13014 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13015 PyObject *resultobj;
13016 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13017 int arg2 ;
13018 wxString *arg3 = 0 ;
13019 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13020 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13021 wxSize const &arg5_defvalue = wxDefaultSize ;
13022 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13023 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
13024 wxString const &arg7_defvalue = wxPyFrameNameStr ;
13025 wxString *arg7 = (wxString *) &arg7_defvalue ;
13026 wxMDIChildFrame *result;
13027 bool temp3 = False ;
13028 wxPoint temp4 ;
13029 wxSize temp5 ;
13030 bool temp7 = False ;
13031 PyObject * obj0 = 0 ;
13032 PyObject * obj2 = 0 ;
13033 PyObject * obj3 = 0 ;
13034 PyObject * obj4 = 0 ;
13035 PyObject * obj6 = 0 ;
13036 char *kwnames[] = {
13037 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13038 };
13039
13040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIChildFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
13041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13042 {
13043 arg3 = wxString_in_helper(obj2);
13044 if (arg3 == NULL) SWIG_fail;
13045 temp3 = True;
13046 }
13047 if (obj3) {
13048 {
13049 arg4 = &temp4;
13050 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13051 }
13052 }
13053 if (obj4) {
13054 {
13055 arg5 = &temp5;
13056 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13057 }
13058 }
13059 if (obj6) {
13060 {
13061 arg7 = wxString_in_helper(obj6);
13062 if (arg7 == NULL) SWIG_fail;
13063 temp7 = True;
13064 }
13065 }
13066 {
13067 PyThreadState* __tstate = wxPyBeginAllowThreads();
13068 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13069
13070 wxPyEndAllowThreads(__tstate);
13071 if (PyErr_Occurred()) SWIG_fail;
13072 }
13073 {
13074 resultobj = wxPyMake_wxObject(result);
13075 }
13076 {
13077 if (temp3)
13078 delete arg3;
13079 }
13080 {
13081 if (temp7)
13082 delete arg7;
13083 }
13084 return resultobj;
13085 fail:
13086 {
13087 if (temp3)
13088 delete arg3;
13089 }
13090 {
13091 if (temp7)
13092 delete arg7;
13093 }
13094 return NULL;
13095 }
13096
13097
13098 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13099 PyObject *resultobj;
13100 wxMDIChildFrame *result;
13101 char *kwnames[] = {
13102 NULL
13103 };
13104
13105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
13106 {
13107 PyThreadState* __tstate = wxPyBeginAllowThreads();
13108 result = (wxMDIChildFrame *)new wxMDIChildFrame();
13109
13110 wxPyEndAllowThreads(__tstate);
13111 if (PyErr_Occurred()) SWIG_fail;
13112 }
13113 {
13114 resultobj = wxPyMake_wxObject(result);
13115 }
13116 return resultobj;
13117 fail:
13118 return NULL;
13119 }
13120
13121
13122 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13123 PyObject *resultobj;
13124 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13125 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13126 int arg3 ;
13127 wxString *arg4 = 0 ;
13128 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13129 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13130 wxSize const &arg6_defvalue = wxDefaultSize ;
13131 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13132 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
13133 wxString const &arg8_defvalue = wxPyFrameNameStr ;
13134 wxString *arg8 = (wxString *) &arg8_defvalue ;
13135 bool result;
13136 bool temp4 = False ;
13137 wxPoint temp5 ;
13138 wxSize temp6 ;
13139 bool temp8 = False ;
13140 PyObject * obj0 = 0 ;
13141 PyObject * obj1 = 0 ;
13142 PyObject * obj3 = 0 ;
13143 PyObject * obj4 = 0 ;
13144 PyObject * obj5 = 0 ;
13145 PyObject * obj7 = 0 ;
13146 char *kwnames[] = {
13147 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13148 };
13149
13150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
13151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13152 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13153 {
13154 arg4 = wxString_in_helper(obj3);
13155 if (arg4 == NULL) SWIG_fail;
13156 temp4 = True;
13157 }
13158 if (obj4) {
13159 {
13160 arg5 = &temp5;
13161 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13162 }
13163 }
13164 if (obj5) {
13165 {
13166 arg6 = &temp6;
13167 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13168 }
13169 }
13170 if (obj7) {
13171 {
13172 arg8 = wxString_in_helper(obj7);
13173 if (arg8 == NULL) SWIG_fail;
13174 temp8 = True;
13175 }
13176 }
13177 {
13178 PyThreadState* __tstate = wxPyBeginAllowThreads();
13179 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
13180
13181 wxPyEndAllowThreads(__tstate);
13182 if (PyErr_Occurred()) SWIG_fail;
13183 }
13184 resultobj = PyInt_FromLong((long)result);
13185 {
13186 if (temp4)
13187 delete arg4;
13188 }
13189 {
13190 if (temp8)
13191 delete arg8;
13192 }
13193 return resultobj;
13194 fail:
13195 {
13196 if (temp4)
13197 delete arg4;
13198 }
13199 {
13200 if (temp8)
13201 delete arg8;
13202 }
13203 return NULL;
13204 }
13205
13206
13207 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
13208 PyObject *resultobj;
13209 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13210 PyObject * obj0 = 0 ;
13211 char *kwnames[] = {
13212 (char *) "self", NULL
13213 };
13214
13215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
13216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13217 {
13218 PyThreadState* __tstate = wxPyBeginAllowThreads();
13219 (arg1)->Activate();
13220
13221 wxPyEndAllowThreads(__tstate);
13222 if (PyErr_Occurred()) SWIG_fail;
13223 }
13224 Py_INCREF(Py_None); resultobj = Py_None;
13225 return resultobj;
13226 fail:
13227 return NULL;
13228 }
13229
13230
13231 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
13232 PyObject *resultobj;
13233 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13234 bool arg2 ;
13235 PyObject * obj0 = 0 ;
13236 PyObject * obj1 = 0 ;
13237 char *kwnames[] = {
13238 (char *) "self",(char *) "maximize", NULL
13239 };
13240
13241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
13242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13243 arg2 = PyInt_AsLong(obj1) ? true : false;
13244 if (PyErr_Occurred()) SWIG_fail;
13245 {
13246 PyThreadState* __tstate = wxPyBeginAllowThreads();
13247 (arg1)->Maximize(arg2);
13248
13249 wxPyEndAllowThreads(__tstate);
13250 if (PyErr_Occurred()) SWIG_fail;
13251 }
13252 Py_INCREF(Py_None); resultobj = Py_None;
13253 return resultobj;
13254 fail:
13255 return NULL;
13256 }
13257
13258
13259 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
13260 PyObject *resultobj;
13261 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13262 PyObject * obj0 = 0 ;
13263 char *kwnames[] = {
13264 (char *) "self", NULL
13265 };
13266
13267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
13268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13269 {
13270 PyThreadState* __tstate = wxPyBeginAllowThreads();
13271 (arg1)->Restore();
13272
13273 wxPyEndAllowThreads(__tstate);
13274 if (PyErr_Occurred()) SWIG_fail;
13275 }
13276 Py_INCREF(Py_None); resultobj = Py_None;
13277 return resultobj;
13278 fail:
13279 return NULL;
13280 }
13281
13282
13283 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
13284 PyObject *obj;
13285 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13286 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
13287 Py_INCREF(obj);
13288 return Py_BuildValue((char *)"");
13289 }
13290 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13291 PyObject *resultobj;
13292 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13293 long arg2 = (long) 0 ;
13294 wxMDIClientWindow *result;
13295 PyObject * obj0 = 0 ;
13296 char *kwnames[] = {
13297 (char *) "parent",(char *) "style", NULL
13298 };
13299
13300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:new_MDIClientWindow",kwnames,&obj0,&arg2)) goto fail;
13301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13302 {
13303 PyThreadState* __tstate = wxPyBeginAllowThreads();
13304 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
13305
13306 wxPyEndAllowThreads(__tstate);
13307 if (PyErr_Occurred()) SWIG_fail;
13308 }
13309 {
13310 resultobj = wxPyMake_wxObject(result);
13311 }
13312 return resultobj;
13313 fail:
13314 return NULL;
13315 }
13316
13317
13318 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13319 PyObject *resultobj;
13320 wxMDIClientWindow *result;
13321 char *kwnames[] = {
13322 NULL
13323 };
13324
13325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
13326 {
13327 PyThreadState* __tstate = wxPyBeginAllowThreads();
13328 result = (wxMDIClientWindow *)new wxMDIClientWindow();
13329
13330 wxPyEndAllowThreads(__tstate);
13331 if (PyErr_Occurred()) SWIG_fail;
13332 }
13333 {
13334 resultobj = wxPyMake_wxObject(result);
13335 }
13336 return resultobj;
13337 fail:
13338 return NULL;
13339 }
13340
13341
13342 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13343 PyObject *resultobj;
13344 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
13345 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13346 long arg3 = (long) 0 ;
13347 bool result;
13348 PyObject * obj0 = 0 ;
13349 PyObject * obj1 = 0 ;
13350 char *kwnames[] = {
13351 (char *) "self",(char *) "parent",(char *) "style", NULL
13352 };
13353
13354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:MDIClientWindow_Create",kwnames,&obj0,&obj1,&arg3)) goto fail;
13355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIClientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13356 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13357 {
13358 PyThreadState* __tstate = wxPyBeginAllowThreads();
13359 result = (bool)(arg1)->Create(arg2,arg3);
13360
13361 wxPyEndAllowThreads(__tstate);
13362 if (PyErr_Occurred()) SWIG_fail;
13363 }
13364 resultobj = PyInt_FromLong((long)result);
13365 return resultobj;
13366 fail:
13367 return NULL;
13368 }
13369
13370
13371 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
13372 PyObject *obj;
13373 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13374 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
13375 Py_INCREF(obj);
13376 return Py_BuildValue((char *)"");
13377 }
13378 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13379 PyObject *resultobj;
13380 wxWindow *arg1 = (wxWindow *) 0 ;
13381 int arg2 ;
13382 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13383 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13384 wxSize const &arg4_defvalue = wxDefaultSize ;
13385 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13386 long arg5 = (long) 0 ;
13387 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13388 wxString *arg6 = (wxString *) &arg6_defvalue ;
13389 wxPyWindow *result;
13390 wxPoint temp3 ;
13391 wxSize temp4 ;
13392 bool temp6 = False ;
13393 PyObject * obj0 = 0 ;
13394 PyObject * obj2 = 0 ;
13395 PyObject * obj3 = 0 ;
13396 PyObject * obj5 = 0 ;
13397 char *kwnames[] = {
13398 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13399 };
13400
13401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
13402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13403 if (obj2) {
13404 {
13405 arg3 = &temp3;
13406 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13407 }
13408 }
13409 if (obj3) {
13410 {
13411 arg4 = &temp4;
13412 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13413 }
13414 }
13415 if (obj5) {
13416 {
13417 arg6 = wxString_in_helper(obj5);
13418 if (arg6 == NULL) SWIG_fail;
13419 temp6 = True;
13420 }
13421 }
13422 {
13423 PyThreadState* __tstate = wxPyBeginAllowThreads();
13424 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13425
13426 wxPyEndAllowThreads(__tstate);
13427 if (PyErr_Occurred()) SWIG_fail;
13428 }
13429 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyWindow, 1);
13430 {
13431 if (temp6)
13432 delete arg6;
13433 }
13434 return resultobj;
13435 fail:
13436 {
13437 if (temp6)
13438 delete arg6;
13439 }
13440 return NULL;
13441 }
13442
13443
13444 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
13445 PyObject *resultobj;
13446 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13447 PyObject *arg2 = (PyObject *) 0 ;
13448 PyObject *arg3 = (PyObject *) 0 ;
13449 PyObject * obj0 = 0 ;
13450 PyObject * obj1 = 0 ;
13451 PyObject * obj2 = 0 ;
13452 char *kwnames[] = {
13453 (char *) "self",(char *) "self",(char *) "_class", NULL
13454 };
13455
13456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
13457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13458 arg2 = obj1;
13459 arg3 = obj2;
13460 {
13461 PyThreadState* __tstate = wxPyBeginAllowThreads();
13462 (arg1)->_setCallbackInfo(arg2,arg3);
13463
13464 wxPyEndAllowThreads(__tstate);
13465 if (PyErr_Occurred()) SWIG_fail;
13466 }
13467 Py_INCREF(Py_None); resultobj = Py_None;
13468 return resultobj;
13469 fail:
13470 return NULL;
13471 }
13472
13473
13474 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13475 PyObject *resultobj;
13476 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13477 int arg2 ;
13478 int arg3 ;
13479 int arg4 ;
13480 int arg5 ;
13481 PyObject * obj0 = 0 ;
13482 char *kwnames[] = {
13483 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13484 };
13485
13486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyWindow_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13488 {
13489 PyThreadState* __tstate = wxPyBeginAllowThreads();
13490 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
13491
13492 wxPyEndAllowThreads(__tstate);
13493 if (PyErr_Occurred()) SWIG_fail;
13494 }
13495 Py_INCREF(Py_None); resultobj = Py_None;
13496 return resultobj;
13497 fail:
13498 return NULL;
13499 }
13500
13501
13502 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13503 PyObject *resultobj;
13504 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13505 int arg2 ;
13506 int arg3 ;
13507 int arg4 ;
13508 int arg5 ;
13509 int arg6 = (int) wxSIZE_AUTO ;
13510 PyObject * obj0 = 0 ;
13511 char *kwnames[] = {
13512 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
13513 };
13514
13515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyWindow_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
13516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13517 {
13518 PyThreadState* __tstate = wxPyBeginAllowThreads();
13519 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
13520
13521 wxPyEndAllowThreads(__tstate);
13522 if (PyErr_Occurred()) SWIG_fail;
13523 }
13524 Py_INCREF(Py_None); resultobj = Py_None;
13525 return resultobj;
13526 fail:
13527 return NULL;
13528 }
13529
13530
13531 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13532 PyObject *resultobj;
13533 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13534 int arg2 ;
13535 int arg3 ;
13536 PyObject * obj0 = 0 ;
13537 char *kwnames[] = {
13538 (char *) "self",(char *) "width",(char *) "height", NULL
13539 };
13540
13541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13543 {
13544 PyThreadState* __tstate = wxPyBeginAllowThreads();
13545 (arg1)->base_DoSetClientSize(arg2,arg3);
13546
13547 wxPyEndAllowThreads(__tstate);
13548 if (PyErr_Occurred()) SWIG_fail;
13549 }
13550 Py_INCREF(Py_None); resultobj = Py_None;
13551 return resultobj;
13552 fail:
13553 return NULL;
13554 }
13555
13556
13557 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13558 PyObject *resultobj;
13559 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13560 int arg2 ;
13561 int arg3 ;
13562 PyObject * obj0 = 0 ;
13563 char *kwnames[] = {
13564 (char *) "self",(char *) "x",(char *) "y", NULL
13565 };
13566
13567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13569 {
13570 PyThreadState* __tstate = wxPyBeginAllowThreads();
13571 (arg1)->base_DoSetVirtualSize(arg2,arg3);
13572
13573 wxPyEndAllowThreads(__tstate);
13574 if (PyErr_Occurred()) SWIG_fail;
13575 }
13576 Py_INCREF(Py_None); resultobj = Py_None;
13577 return resultobj;
13578 fail:
13579 return NULL;
13580 }
13581
13582
13583 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13584 PyObject *resultobj;
13585 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13586 int *arg2 = (int *) 0 ;
13587 int *arg3 = (int *) 0 ;
13588 int temp2 ;
13589 int temp3 ;
13590 PyObject * obj0 = 0 ;
13591 char *kwnames[] = {
13592 (char *) "self", NULL
13593 };
13594
13595 arg2 = &temp2;
13596 arg3 = &temp3;
13597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
13598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13599 {
13600 PyThreadState* __tstate = wxPyBeginAllowThreads();
13601 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
13602
13603 wxPyEndAllowThreads(__tstate);
13604 if (PyErr_Occurred()) SWIG_fail;
13605 }
13606 Py_INCREF(Py_None); resultobj = Py_None;
13607 {
13608 PyObject *o = PyInt_FromLong((long) (*arg2));
13609 resultobj = t_output_helper(resultobj,o);
13610 }
13611 {
13612 PyObject *o = PyInt_FromLong((long) (*arg3));
13613 resultobj = t_output_helper(resultobj,o);
13614 }
13615 return resultobj;
13616 fail:
13617 return NULL;
13618 }
13619
13620
13621 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13622 PyObject *resultobj;
13623 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13624 int *arg2 = (int *) 0 ;
13625 int *arg3 = (int *) 0 ;
13626 int temp2 ;
13627 int temp3 ;
13628 PyObject * obj0 = 0 ;
13629 char *kwnames[] = {
13630 (char *) "self", NULL
13631 };
13632
13633 arg2 = &temp2;
13634 arg3 = &temp3;
13635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
13636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13637 {
13638 PyThreadState* __tstate = wxPyBeginAllowThreads();
13639 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
13640
13641 wxPyEndAllowThreads(__tstate);
13642 if (PyErr_Occurred()) SWIG_fail;
13643 }
13644 Py_INCREF(Py_None); resultobj = Py_None;
13645 {
13646 PyObject *o = PyInt_FromLong((long) (*arg2));
13647 resultobj = t_output_helper(resultobj,o);
13648 }
13649 {
13650 PyObject *o = PyInt_FromLong((long) (*arg3));
13651 resultobj = t_output_helper(resultobj,o);
13652 }
13653 return resultobj;
13654 fail:
13655 return NULL;
13656 }
13657
13658
13659 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13660 PyObject *resultobj;
13661 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13662 int *arg2 = (int *) 0 ;
13663 int *arg3 = (int *) 0 ;
13664 int temp2 ;
13665 int temp3 ;
13666 PyObject * obj0 = 0 ;
13667 char *kwnames[] = {
13668 (char *) "self", NULL
13669 };
13670
13671 arg2 = &temp2;
13672 arg3 = &temp3;
13673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
13674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13675 {
13676 PyThreadState* __tstate = wxPyBeginAllowThreads();
13677 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
13678
13679 wxPyEndAllowThreads(__tstate);
13680 if (PyErr_Occurred()) SWIG_fail;
13681 }
13682 Py_INCREF(Py_None); resultobj = Py_None;
13683 {
13684 PyObject *o = PyInt_FromLong((long) (*arg2));
13685 resultobj = t_output_helper(resultobj,o);
13686 }
13687 {
13688 PyObject *o = PyInt_FromLong((long) (*arg3));
13689 resultobj = t_output_helper(resultobj,o);
13690 }
13691 return resultobj;
13692 fail:
13693 return NULL;
13694 }
13695
13696
13697 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13698 PyObject *resultobj;
13699 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13700 wxSize result;
13701 PyObject * obj0 = 0 ;
13702 char *kwnames[] = {
13703 (char *) "self", NULL
13704 };
13705
13706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
13707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13708 {
13709 PyThreadState* __tstate = wxPyBeginAllowThreads();
13710 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
13711
13712 wxPyEndAllowThreads(__tstate);
13713 if (PyErr_Occurred()) SWIG_fail;
13714 }
13715 {
13716 wxSize * resultptr;
13717 resultptr = new wxSize((wxSize &) result);
13718 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13719 }
13720 return resultobj;
13721 fail:
13722 return NULL;
13723 }
13724
13725
13726 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13727 PyObject *resultobj;
13728 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13729 wxSize result;
13730 PyObject * obj0 = 0 ;
13731 char *kwnames[] = {
13732 (char *) "self", NULL
13733 };
13734
13735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
13736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13737 {
13738 PyThreadState* __tstate = wxPyBeginAllowThreads();
13739 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
13740
13741 wxPyEndAllowThreads(__tstate);
13742 if (PyErr_Occurred()) SWIG_fail;
13743 }
13744 {
13745 wxSize * resultptr;
13746 resultptr = new wxSize((wxSize &) result);
13747 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13748 }
13749 return resultobj;
13750 fail:
13751 return NULL;
13752 }
13753
13754
13755 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13756 PyObject *resultobj;
13757 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13758 PyObject * obj0 = 0 ;
13759 char *kwnames[] = {
13760 (char *) "self", NULL
13761 };
13762
13763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
13764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13765 {
13766 PyThreadState* __tstate = wxPyBeginAllowThreads();
13767 (arg1)->base_InitDialog();
13768
13769 wxPyEndAllowThreads(__tstate);
13770 if (PyErr_Occurred()) SWIG_fail;
13771 }
13772 Py_INCREF(Py_None); resultobj = Py_None;
13773 return resultobj;
13774 fail:
13775 return NULL;
13776 }
13777
13778
13779 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13780 PyObject *resultobj;
13781 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13782 bool result;
13783 PyObject * obj0 = 0 ;
13784 char *kwnames[] = {
13785 (char *) "self", NULL
13786 };
13787
13788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
13789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13790 {
13791 PyThreadState* __tstate = wxPyBeginAllowThreads();
13792 result = (bool)(arg1)->base_TransferDataToWindow();
13793
13794 wxPyEndAllowThreads(__tstate);
13795 if (PyErr_Occurred()) SWIG_fail;
13796 }
13797 resultobj = PyInt_FromLong((long)result);
13798 return resultobj;
13799 fail:
13800 return NULL;
13801 }
13802
13803
13804 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13805 PyObject *resultobj;
13806 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13807 bool result;
13808 PyObject * obj0 = 0 ;
13809 char *kwnames[] = {
13810 (char *) "self", NULL
13811 };
13812
13813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
13814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13815 {
13816 PyThreadState* __tstate = wxPyBeginAllowThreads();
13817 result = (bool)(arg1)->base_TransferDataFromWindow();
13818
13819 wxPyEndAllowThreads(__tstate);
13820 if (PyErr_Occurred()) SWIG_fail;
13821 }
13822 resultobj = PyInt_FromLong((long)result);
13823 return resultobj;
13824 fail:
13825 return NULL;
13826 }
13827
13828
13829 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
13830 PyObject *resultobj;
13831 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13832 bool result;
13833 PyObject * obj0 = 0 ;
13834 char *kwnames[] = {
13835 (char *) "self", NULL
13836 };
13837
13838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
13839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13840 {
13841 PyThreadState* __tstate = wxPyBeginAllowThreads();
13842 result = (bool)(arg1)->base_Validate();
13843
13844 wxPyEndAllowThreads(__tstate);
13845 if (PyErr_Occurred()) SWIG_fail;
13846 }
13847 resultobj = PyInt_FromLong((long)result);
13848 return resultobj;
13849 fail:
13850 return NULL;
13851 }
13852
13853
13854 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
13855 PyObject *resultobj;
13856 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13857 bool result;
13858 PyObject * obj0 = 0 ;
13859 char *kwnames[] = {
13860 (char *) "self", NULL
13861 };
13862
13863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
13864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13865 {
13866 PyThreadState* __tstate = wxPyBeginAllowThreads();
13867 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
13868
13869 wxPyEndAllowThreads(__tstate);
13870 if (PyErr_Occurred()) SWIG_fail;
13871 }
13872 resultobj = PyInt_FromLong((long)result);
13873 return resultobj;
13874 fail:
13875 return NULL;
13876 }
13877
13878
13879 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
13880 PyObject *resultobj;
13881 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13882 bool result;
13883 PyObject * obj0 = 0 ;
13884 char *kwnames[] = {
13885 (char *) "self", NULL
13886 };
13887
13888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
13889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13890 {
13891 PyThreadState* __tstate = wxPyBeginAllowThreads();
13892 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
13893
13894 wxPyEndAllowThreads(__tstate);
13895 if (PyErr_Occurred()) SWIG_fail;
13896 }
13897 resultobj = PyInt_FromLong((long)result);
13898 return resultobj;
13899 fail:
13900 return NULL;
13901 }
13902
13903
13904 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13905 PyObject *resultobj;
13906 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13907 wxSize result;
13908 PyObject * obj0 = 0 ;
13909 char *kwnames[] = {
13910 (char *) "self", NULL
13911 };
13912
13913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
13914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13915 {
13916 PyThreadState* __tstate = wxPyBeginAllowThreads();
13917 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
13918
13919 wxPyEndAllowThreads(__tstate);
13920 if (PyErr_Occurred()) SWIG_fail;
13921 }
13922 {
13923 wxSize * resultptr;
13924 resultptr = new wxSize((wxSize &) result);
13925 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13926 }
13927 return resultobj;
13928 fail:
13929 return NULL;
13930 }
13931
13932
13933 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
13934 PyObject *resultobj;
13935 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13936 wxWindow *arg2 = (wxWindow *) 0 ;
13937 PyObject * obj0 = 0 ;
13938 PyObject * obj1 = 0 ;
13939 char *kwnames[] = {
13940 (char *) "self",(char *) "child", NULL
13941 };
13942
13943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
13944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13945 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13946 {
13947 PyThreadState* __tstate = wxPyBeginAllowThreads();
13948 (arg1)->base_AddChild(arg2);
13949
13950 wxPyEndAllowThreads(__tstate);
13951 if (PyErr_Occurred()) SWIG_fail;
13952 }
13953 Py_INCREF(Py_None); resultobj = Py_None;
13954 return resultobj;
13955 fail:
13956 return NULL;
13957 }
13958
13959
13960 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
13961 PyObject *resultobj;
13962 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13963 wxWindow *arg2 = (wxWindow *) 0 ;
13964 PyObject * obj0 = 0 ;
13965 PyObject * obj1 = 0 ;
13966 char *kwnames[] = {
13967 (char *) "self",(char *) "child", NULL
13968 };
13969
13970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
13971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13972 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13973 {
13974 PyThreadState* __tstate = wxPyBeginAllowThreads();
13975 (arg1)->base_RemoveChild(arg2);
13976
13977 wxPyEndAllowThreads(__tstate);
13978 if (PyErr_Occurred()) SWIG_fail;
13979 }
13980 Py_INCREF(Py_None); resultobj = Py_None;
13981 return resultobj;
13982 fail:
13983 return NULL;
13984 }
13985
13986
13987 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
13988 PyObject *obj;
13989 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13990 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
13991 Py_INCREF(obj);
13992 return Py_BuildValue((char *)"");
13993 }
13994 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
13995 PyObject *resultobj;
13996 wxWindow *arg1 = (wxWindow *) 0 ;
13997 int arg2 ;
13998 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13999 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14000 wxSize const &arg4_defvalue = wxDefaultSize ;
14001 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14002 long arg5 = (long) 0 ;
14003 wxString const &arg6_defvalue = wxPyPanelNameStr ;
14004 wxString *arg6 = (wxString *) &arg6_defvalue ;
14005 wxPyPanel *result;
14006 wxPoint temp3 ;
14007 wxSize temp4 ;
14008 bool temp6 = False ;
14009 PyObject * obj0 = 0 ;
14010 PyObject * obj2 = 0 ;
14011 PyObject * obj3 = 0 ;
14012 PyObject * obj5 = 0 ;
14013 char *kwnames[] = {
14014 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14015 };
14016
14017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyPanel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
14018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14019 if (obj2) {
14020 {
14021 arg3 = &temp3;
14022 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14023 }
14024 }
14025 if (obj3) {
14026 {
14027 arg4 = &temp4;
14028 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14029 }
14030 }
14031 if (obj5) {
14032 {
14033 arg6 = wxString_in_helper(obj5);
14034 if (arg6 == NULL) SWIG_fail;
14035 temp6 = True;
14036 }
14037 }
14038 {
14039 PyThreadState* __tstate = wxPyBeginAllowThreads();
14040 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14041
14042 wxPyEndAllowThreads(__tstate);
14043 if (PyErr_Occurred()) SWIG_fail;
14044 }
14045 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPanel, 1);
14046 {
14047 if (temp6)
14048 delete arg6;
14049 }
14050 return resultobj;
14051 fail:
14052 {
14053 if (temp6)
14054 delete arg6;
14055 }
14056 return NULL;
14057 }
14058
14059
14060 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14061 PyObject *resultobj;
14062 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14063 PyObject *arg2 = (PyObject *) 0 ;
14064 PyObject *arg3 = (PyObject *) 0 ;
14065 PyObject * obj0 = 0 ;
14066 PyObject * obj1 = 0 ;
14067 PyObject * obj2 = 0 ;
14068 char *kwnames[] = {
14069 (char *) "self",(char *) "self",(char *) "_class", NULL
14070 };
14071
14072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14074 arg2 = obj1;
14075 arg3 = obj2;
14076 {
14077 PyThreadState* __tstate = wxPyBeginAllowThreads();
14078 (arg1)->_setCallbackInfo(arg2,arg3);
14079
14080 wxPyEndAllowThreads(__tstate);
14081 if (PyErr_Occurred()) SWIG_fail;
14082 }
14083 Py_INCREF(Py_None); resultobj = Py_None;
14084 return resultobj;
14085 fail:
14086 return NULL;
14087 }
14088
14089
14090 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14091 PyObject *resultobj;
14092 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14093 int arg2 ;
14094 int arg3 ;
14095 int arg4 ;
14096 int arg5 ;
14097 PyObject * obj0 = 0 ;
14098 char *kwnames[] = {
14099 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14100 };
14101
14102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyPanel_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14104 {
14105 PyThreadState* __tstate = wxPyBeginAllowThreads();
14106 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
14107
14108 wxPyEndAllowThreads(__tstate);
14109 if (PyErr_Occurred()) SWIG_fail;
14110 }
14111 Py_INCREF(Py_None); resultobj = Py_None;
14112 return resultobj;
14113 fail:
14114 return NULL;
14115 }
14116
14117
14118 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14119 PyObject *resultobj;
14120 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14121 int arg2 ;
14122 int arg3 ;
14123 int arg4 ;
14124 int arg5 ;
14125 int arg6 = (int) wxSIZE_AUTO ;
14126 PyObject * obj0 = 0 ;
14127 char *kwnames[] = {
14128 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14129 };
14130
14131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyPanel_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
14132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14133 {
14134 PyThreadState* __tstate = wxPyBeginAllowThreads();
14135 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
14136
14137 wxPyEndAllowThreads(__tstate);
14138 if (PyErr_Occurred()) SWIG_fail;
14139 }
14140 Py_INCREF(Py_None); resultobj = Py_None;
14141 return resultobj;
14142 fail:
14143 return NULL;
14144 }
14145
14146
14147 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14148 PyObject *resultobj;
14149 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14150 int arg2 ;
14151 int arg3 ;
14152 PyObject * obj0 = 0 ;
14153 char *kwnames[] = {
14154 (char *) "self",(char *) "width",(char *) "height", NULL
14155 };
14156
14157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14159 {
14160 PyThreadState* __tstate = wxPyBeginAllowThreads();
14161 (arg1)->base_DoSetClientSize(arg2,arg3);
14162
14163 wxPyEndAllowThreads(__tstate);
14164 if (PyErr_Occurred()) SWIG_fail;
14165 }
14166 Py_INCREF(Py_None); resultobj = Py_None;
14167 return resultobj;
14168 fail:
14169 return NULL;
14170 }
14171
14172
14173 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14174 PyObject *resultobj;
14175 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14176 int arg2 ;
14177 int arg3 ;
14178 PyObject * obj0 = 0 ;
14179 char *kwnames[] = {
14180 (char *) "self",(char *) "x",(char *) "y", NULL
14181 };
14182
14183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14185 {
14186 PyThreadState* __tstate = wxPyBeginAllowThreads();
14187 (arg1)->base_DoSetVirtualSize(arg2,arg3);
14188
14189 wxPyEndAllowThreads(__tstate);
14190 if (PyErr_Occurred()) SWIG_fail;
14191 }
14192 Py_INCREF(Py_None); resultobj = Py_None;
14193 return resultobj;
14194 fail:
14195 return NULL;
14196 }
14197
14198
14199 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14200 PyObject *resultobj;
14201 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14202 int *arg2 = (int *) 0 ;
14203 int *arg3 = (int *) 0 ;
14204 int temp2 ;
14205 int temp3 ;
14206 PyObject * obj0 = 0 ;
14207 char *kwnames[] = {
14208 (char *) "self", NULL
14209 };
14210
14211 arg2 = &temp2;
14212 arg3 = &temp3;
14213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
14214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14215 {
14216 PyThreadState* __tstate = wxPyBeginAllowThreads();
14217 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
14218
14219 wxPyEndAllowThreads(__tstate);
14220 if (PyErr_Occurred()) SWIG_fail;
14221 }
14222 Py_INCREF(Py_None); resultobj = Py_None;
14223 {
14224 PyObject *o = PyInt_FromLong((long) (*arg2));
14225 resultobj = t_output_helper(resultobj,o);
14226 }
14227 {
14228 PyObject *o = PyInt_FromLong((long) (*arg3));
14229 resultobj = t_output_helper(resultobj,o);
14230 }
14231 return resultobj;
14232 fail:
14233 return NULL;
14234 }
14235
14236
14237 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14238 PyObject *resultobj;
14239 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14240 int *arg2 = (int *) 0 ;
14241 int *arg3 = (int *) 0 ;
14242 int temp2 ;
14243 int temp3 ;
14244 PyObject * obj0 = 0 ;
14245 char *kwnames[] = {
14246 (char *) "self", NULL
14247 };
14248
14249 arg2 = &temp2;
14250 arg3 = &temp3;
14251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
14252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14253 {
14254 PyThreadState* __tstate = wxPyBeginAllowThreads();
14255 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
14256
14257 wxPyEndAllowThreads(__tstate);
14258 if (PyErr_Occurred()) SWIG_fail;
14259 }
14260 Py_INCREF(Py_None); resultobj = Py_None;
14261 {
14262 PyObject *o = PyInt_FromLong((long) (*arg2));
14263 resultobj = t_output_helper(resultobj,o);
14264 }
14265 {
14266 PyObject *o = PyInt_FromLong((long) (*arg3));
14267 resultobj = t_output_helper(resultobj,o);
14268 }
14269 return resultobj;
14270 fail:
14271 return NULL;
14272 }
14273
14274
14275 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14276 PyObject *resultobj;
14277 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14278 int *arg2 = (int *) 0 ;
14279 int *arg3 = (int *) 0 ;
14280 int temp2 ;
14281 int temp3 ;
14282 PyObject * obj0 = 0 ;
14283 char *kwnames[] = {
14284 (char *) "self", NULL
14285 };
14286
14287 arg2 = &temp2;
14288 arg3 = &temp3;
14289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
14290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14291 {
14292 PyThreadState* __tstate = wxPyBeginAllowThreads();
14293 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
14294
14295 wxPyEndAllowThreads(__tstate);
14296 if (PyErr_Occurred()) SWIG_fail;
14297 }
14298 Py_INCREF(Py_None); resultobj = Py_None;
14299 {
14300 PyObject *o = PyInt_FromLong((long) (*arg2));
14301 resultobj = t_output_helper(resultobj,o);
14302 }
14303 {
14304 PyObject *o = PyInt_FromLong((long) (*arg3));
14305 resultobj = t_output_helper(resultobj,o);
14306 }
14307 return resultobj;
14308 fail:
14309 return NULL;
14310 }
14311
14312
14313 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14314 PyObject *resultobj;
14315 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14316 wxSize result;
14317 PyObject * obj0 = 0 ;
14318 char *kwnames[] = {
14319 (char *) "self", NULL
14320 };
14321
14322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
14323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14324 {
14325 PyThreadState* __tstate = wxPyBeginAllowThreads();
14326 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
14327
14328 wxPyEndAllowThreads(__tstate);
14329 if (PyErr_Occurred()) SWIG_fail;
14330 }
14331 {
14332 wxSize * resultptr;
14333 resultptr = new wxSize((wxSize &) result);
14334 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14335 }
14336 return resultobj;
14337 fail:
14338 return NULL;
14339 }
14340
14341
14342 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14343 PyObject *resultobj;
14344 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14345 wxSize result;
14346 PyObject * obj0 = 0 ;
14347 char *kwnames[] = {
14348 (char *) "self", NULL
14349 };
14350
14351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
14352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14353 {
14354 PyThreadState* __tstate = wxPyBeginAllowThreads();
14355 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
14356
14357 wxPyEndAllowThreads(__tstate);
14358 if (PyErr_Occurred()) SWIG_fail;
14359 }
14360 {
14361 wxSize * resultptr;
14362 resultptr = new wxSize((wxSize &) result);
14363 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14364 }
14365 return resultobj;
14366 fail:
14367 return NULL;
14368 }
14369
14370
14371 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14372 PyObject *resultobj;
14373 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14374 PyObject * obj0 = 0 ;
14375 char *kwnames[] = {
14376 (char *) "self", NULL
14377 };
14378
14379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
14380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14381 {
14382 PyThreadState* __tstate = wxPyBeginAllowThreads();
14383 (arg1)->base_InitDialog();
14384
14385 wxPyEndAllowThreads(__tstate);
14386 if (PyErr_Occurred()) SWIG_fail;
14387 }
14388 Py_INCREF(Py_None); resultobj = Py_None;
14389 return resultobj;
14390 fail:
14391 return NULL;
14392 }
14393
14394
14395 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14396 PyObject *resultobj;
14397 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14398 bool result;
14399 PyObject * obj0 = 0 ;
14400 char *kwnames[] = {
14401 (char *) "self", NULL
14402 };
14403
14404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
14405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14406 {
14407 PyThreadState* __tstate = wxPyBeginAllowThreads();
14408 result = (bool)(arg1)->base_TransferDataToWindow();
14409
14410 wxPyEndAllowThreads(__tstate);
14411 if (PyErr_Occurred()) SWIG_fail;
14412 }
14413 resultobj = PyInt_FromLong((long)result);
14414 return resultobj;
14415 fail:
14416 return NULL;
14417 }
14418
14419
14420 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14421 PyObject *resultobj;
14422 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14423 bool result;
14424 PyObject * obj0 = 0 ;
14425 char *kwnames[] = {
14426 (char *) "self", NULL
14427 };
14428
14429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
14430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14431 {
14432 PyThreadState* __tstate = wxPyBeginAllowThreads();
14433 result = (bool)(arg1)->base_TransferDataFromWindow();
14434
14435 wxPyEndAllowThreads(__tstate);
14436 if (PyErr_Occurred()) SWIG_fail;
14437 }
14438 resultobj = PyInt_FromLong((long)result);
14439 return resultobj;
14440 fail:
14441 return NULL;
14442 }
14443
14444
14445 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
14446 PyObject *resultobj;
14447 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14448 bool result;
14449 PyObject * obj0 = 0 ;
14450 char *kwnames[] = {
14451 (char *) "self", NULL
14452 };
14453
14454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
14455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14456 {
14457 PyThreadState* __tstate = wxPyBeginAllowThreads();
14458 result = (bool)(arg1)->base_Validate();
14459
14460 wxPyEndAllowThreads(__tstate);
14461 if (PyErr_Occurred()) SWIG_fail;
14462 }
14463 resultobj = PyInt_FromLong((long)result);
14464 return resultobj;
14465 fail:
14466 return NULL;
14467 }
14468
14469
14470 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
14471 PyObject *resultobj;
14472 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14473 bool result;
14474 PyObject * obj0 = 0 ;
14475 char *kwnames[] = {
14476 (char *) "self", NULL
14477 };
14478
14479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
14480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14481 {
14482 PyThreadState* __tstate = wxPyBeginAllowThreads();
14483 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
14484
14485 wxPyEndAllowThreads(__tstate);
14486 if (PyErr_Occurred()) SWIG_fail;
14487 }
14488 resultobj = PyInt_FromLong((long)result);
14489 return resultobj;
14490 fail:
14491 return NULL;
14492 }
14493
14494
14495 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
14496 PyObject *resultobj;
14497 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14498 bool result;
14499 PyObject * obj0 = 0 ;
14500 char *kwnames[] = {
14501 (char *) "self", NULL
14502 };
14503
14504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
14505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14506 {
14507 PyThreadState* __tstate = wxPyBeginAllowThreads();
14508 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
14509
14510 wxPyEndAllowThreads(__tstate);
14511 if (PyErr_Occurred()) SWIG_fail;
14512 }
14513 resultobj = PyInt_FromLong((long)result);
14514 return resultobj;
14515 fail:
14516 return NULL;
14517 }
14518
14519
14520 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14521 PyObject *resultobj;
14522 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14523 wxSize result;
14524 PyObject * obj0 = 0 ;
14525 char *kwnames[] = {
14526 (char *) "self", NULL
14527 };
14528
14529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
14530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14531 {
14532 PyThreadState* __tstate = wxPyBeginAllowThreads();
14533 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
14534
14535 wxPyEndAllowThreads(__tstate);
14536 if (PyErr_Occurred()) SWIG_fail;
14537 }
14538 {
14539 wxSize * resultptr;
14540 resultptr = new wxSize((wxSize &) result);
14541 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14542 }
14543 return resultobj;
14544 fail:
14545 return NULL;
14546 }
14547
14548
14549 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14550 PyObject *resultobj;
14551 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14552 wxWindow *arg2 = (wxWindow *) 0 ;
14553 PyObject * obj0 = 0 ;
14554 PyObject * obj1 = 0 ;
14555 char *kwnames[] = {
14556 (char *) "self",(char *) "child", NULL
14557 };
14558
14559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
14560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14561 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14562 {
14563 PyThreadState* __tstate = wxPyBeginAllowThreads();
14564 (arg1)->base_AddChild(arg2);
14565
14566 wxPyEndAllowThreads(__tstate);
14567 if (PyErr_Occurred()) SWIG_fail;
14568 }
14569 Py_INCREF(Py_None); resultobj = Py_None;
14570 return resultobj;
14571 fail:
14572 return NULL;
14573 }
14574
14575
14576 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14577 PyObject *resultobj;
14578 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14579 wxWindow *arg2 = (wxWindow *) 0 ;
14580 PyObject * obj0 = 0 ;
14581 PyObject * obj1 = 0 ;
14582 char *kwnames[] = {
14583 (char *) "self",(char *) "child", NULL
14584 };
14585
14586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
14587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14588 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14589 {
14590 PyThreadState* __tstate = wxPyBeginAllowThreads();
14591 (arg1)->base_RemoveChild(arg2);
14592
14593 wxPyEndAllowThreads(__tstate);
14594 if (PyErr_Occurred()) SWIG_fail;
14595 }
14596 Py_INCREF(Py_None); resultobj = Py_None;
14597 return resultobj;
14598 fail:
14599 return NULL;
14600 }
14601
14602
14603 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
14604 PyObject *obj;
14605 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14606 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
14607 Py_INCREF(obj);
14608 return Py_BuildValue((char *)"");
14609 }
14610 static int _wrap_PrintoutTitleStr_set(PyObject *_val) {
14611 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
14612 return 1;
14613 }
14614
14615
14616 static PyObject *_wrap_PrintoutTitleStr_get() {
14617 PyObject *pyobj;
14618
14619 {
14620 #if wxUSE_UNICODE
14621 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
14622 #else
14623 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
14624 #endif
14625 }
14626 return pyobj;
14627 }
14628
14629
14630 static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) {
14631 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
14632 return 1;
14633 }
14634
14635
14636 static PyObject *_wrap_PreviewCanvasNameStr_get() {
14637 PyObject *pyobj;
14638
14639 {
14640 #if wxUSE_UNICODE
14641 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
14642 #else
14643 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
14644 #endif
14645 }
14646 return pyobj;
14647 }
14648
14649
14650 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
14651 PyObject *resultobj;
14652 wxPrintData *result;
14653 char *kwnames[] = {
14654 NULL
14655 };
14656
14657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
14658 {
14659 PyThreadState* __tstate = wxPyBeginAllowThreads();
14660 result = (wxPrintData *)new wxPrintData();
14661
14662 wxPyEndAllowThreads(__tstate);
14663 if (PyErr_Occurred()) SWIG_fail;
14664 }
14665 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 1);
14666 return resultobj;
14667 fail:
14668 return NULL;
14669 }
14670
14671
14672 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
14673 PyObject *resultobj;
14674 wxPrintData *arg1 = (wxPrintData *) 0 ;
14675 PyObject * obj0 = 0 ;
14676 char *kwnames[] = {
14677 (char *) "self", NULL
14678 };
14679
14680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
14681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14682 {
14683 PyThreadState* __tstate = wxPyBeginAllowThreads();
14684 delete arg1;
14685
14686 wxPyEndAllowThreads(__tstate);
14687 if (PyErr_Occurred()) SWIG_fail;
14688 }
14689 Py_INCREF(Py_None); resultobj = Py_None;
14690 return resultobj;
14691 fail:
14692 return NULL;
14693 }
14694
14695
14696 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
14697 PyObject *resultobj;
14698 wxPrintData *arg1 = (wxPrintData *) 0 ;
14699 int result;
14700 PyObject * obj0 = 0 ;
14701 char *kwnames[] = {
14702 (char *) "self", NULL
14703 };
14704
14705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
14706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14707 {
14708 PyThreadState* __tstate = wxPyBeginAllowThreads();
14709 result = (int)(arg1)->GetNoCopies();
14710
14711 wxPyEndAllowThreads(__tstate);
14712 if (PyErr_Occurred()) SWIG_fail;
14713 }
14714 resultobj = PyInt_FromLong((long)result);
14715 return resultobj;
14716 fail:
14717 return NULL;
14718 }
14719
14720
14721 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
14722 PyObject *resultobj;
14723 wxPrintData *arg1 = (wxPrintData *) 0 ;
14724 bool result;
14725 PyObject * obj0 = 0 ;
14726 char *kwnames[] = {
14727 (char *) "self", NULL
14728 };
14729
14730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
14731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14732 {
14733 PyThreadState* __tstate = wxPyBeginAllowThreads();
14734 result = (bool)(arg1)->GetCollate();
14735
14736 wxPyEndAllowThreads(__tstate);
14737 if (PyErr_Occurred()) SWIG_fail;
14738 }
14739 resultobj = PyInt_FromLong((long)result);
14740 return resultobj;
14741 fail:
14742 return NULL;
14743 }
14744
14745
14746 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
14747 PyObject *resultobj;
14748 wxPrintData *arg1 = (wxPrintData *) 0 ;
14749 int result;
14750 PyObject * obj0 = 0 ;
14751 char *kwnames[] = {
14752 (char *) "self", NULL
14753 };
14754
14755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
14756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14757 {
14758 PyThreadState* __tstate = wxPyBeginAllowThreads();
14759 result = (int)(arg1)->GetOrientation();
14760
14761 wxPyEndAllowThreads(__tstate);
14762 if (PyErr_Occurred()) SWIG_fail;
14763 }
14764 resultobj = PyInt_FromLong((long)result);
14765 return resultobj;
14766 fail:
14767 return NULL;
14768 }
14769
14770
14771 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
14772 PyObject *resultobj;
14773 wxPrintData *arg1 = (wxPrintData *) 0 ;
14774 bool result;
14775 PyObject * obj0 = 0 ;
14776 char *kwnames[] = {
14777 (char *) "self", NULL
14778 };
14779
14780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
14781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14782 {
14783 PyThreadState* __tstate = wxPyBeginAllowThreads();
14784 result = (bool)(arg1)->Ok();
14785
14786 wxPyEndAllowThreads(__tstate);
14787 if (PyErr_Occurred()) SWIG_fail;
14788 }
14789 resultobj = PyInt_FromLong((long)result);
14790 return resultobj;
14791 fail:
14792 return NULL;
14793 }
14794
14795
14796 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
14797 PyObject *resultobj;
14798 wxPrintData *arg1 = (wxPrintData *) 0 ;
14799 wxString *result;
14800 PyObject * obj0 = 0 ;
14801 char *kwnames[] = {
14802 (char *) "self", NULL
14803 };
14804
14805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
14806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14807 {
14808 PyThreadState* __tstate = wxPyBeginAllowThreads();
14809 {
14810 wxString const &_result_ref = (arg1)->GetPrinterName();
14811 result = (wxString *) &_result_ref;
14812 }
14813
14814 wxPyEndAllowThreads(__tstate);
14815 if (PyErr_Occurred()) SWIG_fail;
14816 }
14817 {
14818 #if wxUSE_UNICODE
14819 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14820 #else
14821 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14822 #endif
14823 }
14824 return resultobj;
14825 fail:
14826 return NULL;
14827 }
14828
14829
14830 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
14831 PyObject *resultobj;
14832 wxPrintData *arg1 = (wxPrintData *) 0 ;
14833 bool result;
14834 PyObject * obj0 = 0 ;
14835 char *kwnames[] = {
14836 (char *) "self", NULL
14837 };
14838
14839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
14840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14841 {
14842 PyThreadState* __tstate = wxPyBeginAllowThreads();
14843 result = (bool)(arg1)->GetColour();
14844
14845 wxPyEndAllowThreads(__tstate);
14846 if (PyErr_Occurred()) SWIG_fail;
14847 }
14848 resultobj = PyInt_FromLong((long)result);
14849 return resultobj;
14850 fail:
14851 return NULL;
14852 }
14853
14854
14855 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
14856 PyObject *resultobj;
14857 wxPrintData *arg1 = (wxPrintData *) 0 ;
14858 int result;
14859 PyObject * obj0 = 0 ;
14860 char *kwnames[] = {
14861 (char *) "self", NULL
14862 };
14863
14864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
14865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14866 {
14867 PyThreadState* __tstate = wxPyBeginAllowThreads();
14868 result = (int)(arg1)->GetDuplex();
14869
14870 wxPyEndAllowThreads(__tstate);
14871 if (PyErr_Occurred()) SWIG_fail;
14872 }
14873 resultobj = PyInt_FromLong((long)result);
14874 return resultobj;
14875 fail:
14876 return NULL;
14877 }
14878
14879
14880 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
14881 PyObject *resultobj;
14882 wxPrintData *arg1 = (wxPrintData *) 0 ;
14883 int result;
14884 PyObject * obj0 = 0 ;
14885 char *kwnames[] = {
14886 (char *) "self", NULL
14887 };
14888
14889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
14890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14891 {
14892 PyThreadState* __tstate = wxPyBeginAllowThreads();
14893 result = (int)(arg1)->GetPaperId();
14894
14895 wxPyEndAllowThreads(__tstate);
14896 if (PyErr_Occurred()) SWIG_fail;
14897 }
14898 resultobj = PyInt_FromLong((long)result);
14899 return resultobj;
14900 fail:
14901 return NULL;
14902 }
14903
14904
14905 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14906 PyObject *resultobj;
14907 wxPrintData *arg1 = (wxPrintData *) 0 ;
14908 wxSize *result;
14909 PyObject * obj0 = 0 ;
14910 char *kwnames[] = {
14911 (char *) "self", NULL
14912 };
14913
14914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
14915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14916 {
14917 PyThreadState* __tstate = wxPyBeginAllowThreads();
14918 {
14919 wxSize const &_result_ref = (arg1)->GetPaperSize();
14920 result = (wxSize *) &_result_ref;
14921 }
14922
14923 wxPyEndAllowThreads(__tstate);
14924 if (PyErr_Occurred()) SWIG_fail;
14925 }
14926 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
14927 return resultobj;
14928 fail:
14929 return NULL;
14930 }
14931
14932
14933 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
14934 PyObject *resultobj;
14935 wxPrintData *arg1 = (wxPrintData *) 0 ;
14936 int result;
14937 PyObject * obj0 = 0 ;
14938 char *kwnames[] = {
14939 (char *) "self", NULL
14940 };
14941
14942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",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 = (int)(arg1)->GetQuality();
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_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
14959 PyObject *resultobj;
14960 wxPrintData *arg1 = (wxPrintData *) 0 ;
14961 int arg2 ;
14962 PyObject * obj0 = 0 ;
14963 char *kwnames[] = {
14964 (char *) "self",(char *) "v", NULL
14965 };
14966
14967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetNoCopies",kwnames,&obj0,&arg2)) 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 (arg1)->SetNoCopies(arg2);
14972
14973 wxPyEndAllowThreads(__tstate);
14974 if (PyErr_Occurred()) SWIG_fail;
14975 }
14976 Py_INCREF(Py_None); resultobj = Py_None;
14977 return resultobj;
14978 fail:
14979 return NULL;
14980 }
14981
14982
14983 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
14984 PyObject *resultobj;
14985 wxPrintData *arg1 = (wxPrintData *) 0 ;
14986 bool arg2 ;
14987 PyObject * obj0 = 0 ;
14988 PyObject * obj1 = 0 ;
14989 char *kwnames[] = {
14990 (char *) "self",(char *) "flag", NULL
14991 };
14992
14993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
14994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14995 arg2 = PyInt_AsLong(obj1) ? true : false;
14996 if (PyErr_Occurred()) SWIG_fail;
14997 {
14998 PyThreadState* __tstate = wxPyBeginAllowThreads();
14999 (arg1)->SetCollate(arg2);
15000
15001 wxPyEndAllowThreads(__tstate);
15002 if (PyErr_Occurred()) SWIG_fail;
15003 }
15004 Py_INCREF(Py_None); resultobj = Py_None;
15005 return resultobj;
15006 fail:
15007 return NULL;
15008 }
15009
15010
15011 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
15012 PyObject *resultobj;
15013 wxPrintData *arg1 = (wxPrintData *) 0 ;
15014 int arg2 ;
15015 PyObject * obj0 = 0 ;
15016 char *kwnames[] = {
15017 (char *) "self",(char *) "orient", NULL
15018 };
15019
15020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
15021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15022 {
15023 PyThreadState* __tstate = wxPyBeginAllowThreads();
15024 (arg1)->SetOrientation(arg2);
15025
15026 wxPyEndAllowThreads(__tstate);
15027 if (PyErr_Occurred()) SWIG_fail;
15028 }
15029 Py_INCREF(Py_None); resultobj = Py_None;
15030 return resultobj;
15031 fail:
15032 return NULL;
15033 }
15034
15035
15036 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
15037 PyObject *resultobj;
15038 wxPrintData *arg1 = (wxPrintData *) 0 ;
15039 wxString *arg2 = 0 ;
15040 bool temp2 = False ;
15041 PyObject * obj0 = 0 ;
15042 PyObject * obj1 = 0 ;
15043 char *kwnames[] = {
15044 (char *) "self",(char *) "name", NULL
15045 };
15046
15047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
15048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15049 {
15050 arg2 = wxString_in_helper(obj1);
15051 if (arg2 == NULL) SWIG_fail;
15052 temp2 = True;
15053 }
15054 {
15055 PyThreadState* __tstate = wxPyBeginAllowThreads();
15056 (arg1)->SetPrinterName((wxString const &)*arg2);
15057
15058 wxPyEndAllowThreads(__tstate);
15059 if (PyErr_Occurred()) SWIG_fail;
15060 }
15061 Py_INCREF(Py_None); resultobj = Py_None;
15062 {
15063 if (temp2)
15064 delete arg2;
15065 }
15066 return resultobj;
15067 fail:
15068 {
15069 if (temp2)
15070 delete arg2;
15071 }
15072 return NULL;
15073 }
15074
15075
15076 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15077 PyObject *resultobj;
15078 wxPrintData *arg1 = (wxPrintData *) 0 ;
15079 bool arg2 ;
15080 PyObject * obj0 = 0 ;
15081 PyObject * obj1 = 0 ;
15082 char *kwnames[] = {
15083 (char *) "self",(char *) "colour", NULL
15084 };
15085
15086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15088 arg2 = PyInt_AsLong(obj1) ? true : false;
15089 if (PyErr_Occurred()) SWIG_fail;
15090 {
15091 PyThreadState* __tstate = wxPyBeginAllowThreads();
15092 (arg1)->SetColour(arg2);
15093
15094 wxPyEndAllowThreads(__tstate);
15095 if (PyErr_Occurred()) SWIG_fail;
15096 }
15097 Py_INCREF(Py_None); resultobj = Py_None;
15098 return resultobj;
15099 fail:
15100 return NULL;
15101 }
15102
15103
15104 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
15105 PyObject *resultobj;
15106 wxPrintData *arg1 = (wxPrintData *) 0 ;
15107 int arg2 ;
15108 PyObject * obj0 = 0 ;
15109 char *kwnames[] = {
15110 (char *) "self",(char *) "duplex", NULL
15111 };
15112
15113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetDuplex",kwnames,&obj0,&arg2)) goto fail;
15114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15115 {
15116 PyThreadState* __tstate = wxPyBeginAllowThreads();
15117 (arg1)->SetDuplex((wxDuplexMode )arg2);
15118
15119 wxPyEndAllowThreads(__tstate);
15120 if (PyErr_Occurred()) SWIG_fail;
15121 }
15122 Py_INCREF(Py_None); resultobj = Py_None;
15123 return resultobj;
15124 fail:
15125 return NULL;
15126 }
15127
15128
15129 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
15130 PyObject *resultobj;
15131 wxPrintData *arg1 = (wxPrintData *) 0 ;
15132 int arg2 ;
15133 PyObject * obj0 = 0 ;
15134 char *kwnames[] = {
15135 (char *) "self",(char *) "sizeId", NULL
15136 };
15137
15138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
15139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15140 {
15141 PyThreadState* __tstate = wxPyBeginAllowThreads();
15142 (arg1)->SetPaperId((wxPaperSize )arg2);
15143
15144 wxPyEndAllowThreads(__tstate);
15145 if (PyErr_Occurred()) SWIG_fail;
15146 }
15147 Py_INCREF(Py_None); resultobj = Py_None;
15148 return resultobj;
15149 fail:
15150 return NULL;
15151 }
15152
15153
15154 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15155 PyObject *resultobj;
15156 wxPrintData *arg1 = (wxPrintData *) 0 ;
15157 wxSize *arg2 = 0 ;
15158 wxSize temp2 ;
15159 PyObject * obj0 = 0 ;
15160 PyObject * obj1 = 0 ;
15161 char *kwnames[] = {
15162 (char *) "self",(char *) "sz", NULL
15163 };
15164
15165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
15166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15167 {
15168 arg2 = &temp2;
15169 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15170 }
15171 {
15172 PyThreadState* __tstate = wxPyBeginAllowThreads();
15173 (arg1)->SetPaperSize((wxSize const &)*arg2);
15174
15175 wxPyEndAllowThreads(__tstate);
15176 if (PyErr_Occurred()) SWIG_fail;
15177 }
15178 Py_INCREF(Py_None); resultobj = Py_None;
15179 return resultobj;
15180 fail:
15181 return NULL;
15182 }
15183
15184
15185 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
15186 PyObject *resultobj;
15187 wxPrintData *arg1 = (wxPrintData *) 0 ;
15188 int arg2 ;
15189 PyObject * obj0 = 0 ;
15190 char *kwnames[] = {
15191 (char *) "self",(char *) "quality", NULL
15192 };
15193
15194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetQuality",kwnames,&obj0,&arg2)) goto fail;
15195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15196 {
15197 PyThreadState* __tstate = wxPyBeginAllowThreads();
15198 (arg1)->SetQuality(arg2);
15199
15200 wxPyEndAllowThreads(__tstate);
15201 if (PyErr_Occurred()) SWIG_fail;
15202 }
15203 Py_INCREF(Py_None); resultobj = Py_None;
15204 return resultobj;
15205 fail:
15206 return NULL;
15207 }
15208
15209
15210 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15211 PyObject *resultobj;
15212 wxPrintData *arg1 = (wxPrintData *) 0 ;
15213 wxString *result;
15214 PyObject * obj0 = 0 ;
15215 char *kwnames[] = {
15216 (char *) "self", NULL
15217 };
15218
15219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
15220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15221 {
15222 PyThreadState* __tstate = wxPyBeginAllowThreads();
15223 {
15224 wxString const &_result_ref = (arg1)->GetPrinterCommand();
15225 result = (wxString *) &_result_ref;
15226 }
15227
15228 wxPyEndAllowThreads(__tstate);
15229 if (PyErr_Occurred()) SWIG_fail;
15230 }
15231 {
15232 #if wxUSE_UNICODE
15233 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15234 #else
15235 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15236 #endif
15237 }
15238 return resultobj;
15239 fail:
15240 return NULL;
15241 }
15242
15243
15244 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15245 PyObject *resultobj;
15246 wxPrintData *arg1 = (wxPrintData *) 0 ;
15247 wxString *result;
15248 PyObject * obj0 = 0 ;
15249 char *kwnames[] = {
15250 (char *) "self", NULL
15251 };
15252
15253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
15254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15255 {
15256 PyThreadState* __tstate = wxPyBeginAllowThreads();
15257 {
15258 wxString const &_result_ref = (arg1)->GetPrinterOptions();
15259 result = (wxString *) &_result_ref;
15260 }
15261
15262 wxPyEndAllowThreads(__tstate);
15263 if (PyErr_Occurred()) SWIG_fail;
15264 }
15265 {
15266 #if wxUSE_UNICODE
15267 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15268 #else
15269 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15270 #endif
15271 }
15272 return resultobj;
15273 fail:
15274 return NULL;
15275 }
15276
15277
15278 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15279 PyObject *resultobj;
15280 wxPrintData *arg1 = (wxPrintData *) 0 ;
15281 wxString *result;
15282 PyObject * obj0 = 0 ;
15283 char *kwnames[] = {
15284 (char *) "self", NULL
15285 };
15286
15287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
15288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15289 {
15290 PyThreadState* __tstate = wxPyBeginAllowThreads();
15291 {
15292 wxString const &_result_ref = (arg1)->GetPreviewCommand();
15293 result = (wxString *) &_result_ref;
15294 }
15295
15296 wxPyEndAllowThreads(__tstate);
15297 if (PyErr_Occurred()) SWIG_fail;
15298 }
15299 {
15300 #if wxUSE_UNICODE
15301 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15302 #else
15303 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15304 #endif
15305 }
15306 return resultobj;
15307 fail:
15308 return NULL;
15309 }
15310
15311
15312 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
15313 PyObject *resultobj;
15314 wxPrintData *arg1 = (wxPrintData *) 0 ;
15315 wxString *result;
15316 PyObject * obj0 = 0 ;
15317 char *kwnames[] = {
15318 (char *) "self", NULL
15319 };
15320
15321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
15322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15323 {
15324 PyThreadState* __tstate = wxPyBeginAllowThreads();
15325 {
15326 wxString const &_result_ref = (arg1)->GetFilename();
15327 result = (wxString *) &_result_ref;
15328 }
15329
15330 wxPyEndAllowThreads(__tstate);
15331 if (PyErr_Occurred()) SWIG_fail;
15332 }
15333 {
15334 #if wxUSE_UNICODE
15335 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15336 #else
15337 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15338 #endif
15339 }
15340 return resultobj;
15341 fail:
15342 return NULL;
15343 }
15344
15345
15346 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
15347 PyObject *resultobj;
15348 wxPrintData *arg1 = (wxPrintData *) 0 ;
15349 wxString *result;
15350 PyObject * obj0 = 0 ;
15351 char *kwnames[] = {
15352 (char *) "self", NULL
15353 };
15354
15355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
15356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15357 {
15358 PyThreadState* __tstate = wxPyBeginAllowThreads();
15359 {
15360 wxString const &_result_ref = (arg1)->GetFontMetricPath();
15361 result = (wxString *) &_result_ref;
15362 }
15363
15364 wxPyEndAllowThreads(__tstate);
15365 if (PyErr_Occurred()) SWIG_fail;
15366 }
15367 {
15368 #if wxUSE_UNICODE
15369 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15370 #else
15371 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15372 #endif
15373 }
15374 return resultobj;
15375 fail:
15376 return NULL;
15377 }
15378
15379
15380 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
15381 PyObject *resultobj;
15382 wxPrintData *arg1 = (wxPrintData *) 0 ;
15383 double result;
15384 PyObject * obj0 = 0 ;
15385 char *kwnames[] = {
15386 (char *) "self", NULL
15387 };
15388
15389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
15390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15391 {
15392 PyThreadState* __tstate = wxPyBeginAllowThreads();
15393 result = (double)(arg1)->GetPrinterScaleX();
15394
15395 wxPyEndAllowThreads(__tstate);
15396 if (PyErr_Occurred()) SWIG_fail;
15397 }
15398 resultobj = PyFloat_FromDouble(result);
15399 return resultobj;
15400 fail:
15401 return NULL;
15402 }
15403
15404
15405 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
15406 PyObject *resultobj;
15407 wxPrintData *arg1 = (wxPrintData *) 0 ;
15408 double result;
15409 PyObject * obj0 = 0 ;
15410 char *kwnames[] = {
15411 (char *) "self", NULL
15412 };
15413
15414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
15415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15416 {
15417 PyThreadState* __tstate = wxPyBeginAllowThreads();
15418 result = (double)(arg1)->GetPrinterScaleY();
15419
15420 wxPyEndAllowThreads(__tstate);
15421 if (PyErr_Occurred()) SWIG_fail;
15422 }
15423 resultobj = PyFloat_FromDouble(result);
15424 return resultobj;
15425 fail:
15426 return NULL;
15427 }
15428
15429
15430 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
15431 PyObject *resultobj;
15432 wxPrintData *arg1 = (wxPrintData *) 0 ;
15433 long result;
15434 PyObject * obj0 = 0 ;
15435 char *kwnames[] = {
15436 (char *) "self", NULL
15437 };
15438
15439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
15440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15441 {
15442 PyThreadState* __tstate = wxPyBeginAllowThreads();
15443 result = (long)(arg1)->GetPrinterTranslateX();
15444
15445 wxPyEndAllowThreads(__tstate);
15446 if (PyErr_Occurred()) SWIG_fail;
15447 }
15448 resultobj = PyInt_FromLong((long)result);
15449 return resultobj;
15450 fail:
15451 return NULL;
15452 }
15453
15454
15455 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
15456 PyObject *resultobj;
15457 wxPrintData *arg1 = (wxPrintData *) 0 ;
15458 long result;
15459 PyObject * obj0 = 0 ;
15460 char *kwnames[] = {
15461 (char *) "self", NULL
15462 };
15463
15464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
15465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15466 {
15467 PyThreadState* __tstate = wxPyBeginAllowThreads();
15468 result = (long)(arg1)->GetPrinterTranslateY();
15469
15470 wxPyEndAllowThreads(__tstate);
15471 if (PyErr_Occurred()) SWIG_fail;
15472 }
15473 resultobj = PyInt_FromLong((long)result);
15474 return resultobj;
15475 fail:
15476 return NULL;
15477 }
15478
15479
15480 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
15481 PyObject *resultobj;
15482 wxPrintData *arg1 = (wxPrintData *) 0 ;
15483 int result;
15484 PyObject * obj0 = 0 ;
15485 char *kwnames[] = {
15486 (char *) "self", NULL
15487 };
15488
15489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
15490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15491 {
15492 PyThreadState* __tstate = wxPyBeginAllowThreads();
15493 result = (int)(arg1)->GetPrintMode();
15494
15495 wxPyEndAllowThreads(__tstate);
15496 if (PyErr_Occurred()) SWIG_fail;
15497 }
15498 resultobj = PyInt_FromLong((long)result);
15499 return resultobj;
15500 fail:
15501 return NULL;
15502 }
15503
15504
15505 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15506 PyObject *resultobj;
15507 wxPrintData *arg1 = (wxPrintData *) 0 ;
15508 wxString *arg2 = 0 ;
15509 bool temp2 = False ;
15510 PyObject * obj0 = 0 ;
15511 PyObject * obj1 = 0 ;
15512 char *kwnames[] = {
15513 (char *) "self",(char *) "command", NULL
15514 };
15515
15516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
15517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15518 {
15519 arg2 = wxString_in_helper(obj1);
15520 if (arg2 == NULL) SWIG_fail;
15521 temp2 = True;
15522 }
15523 {
15524 PyThreadState* __tstate = wxPyBeginAllowThreads();
15525 (arg1)->SetPrinterCommand((wxString const &)*arg2);
15526
15527 wxPyEndAllowThreads(__tstate);
15528 if (PyErr_Occurred()) SWIG_fail;
15529 }
15530 Py_INCREF(Py_None); resultobj = Py_None;
15531 {
15532 if (temp2)
15533 delete arg2;
15534 }
15535 return resultobj;
15536 fail:
15537 {
15538 if (temp2)
15539 delete arg2;
15540 }
15541 return NULL;
15542 }
15543
15544
15545 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15546 PyObject *resultobj;
15547 wxPrintData *arg1 = (wxPrintData *) 0 ;
15548 wxString *arg2 = 0 ;
15549 bool temp2 = False ;
15550 PyObject * obj0 = 0 ;
15551 PyObject * obj1 = 0 ;
15552 char *kwnames[] = {
15553 (char *) "self",(char *) "options", NULL
15554 };
15555
15556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
15557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15558 {
15559 arg2 = wxString_in_helper(obj1);
15560 if (arg2 == NULL) SWIG_fail;
15561 temp2 = True;
15562 }
15563 {
15564 PyThreadState* __tstate = wxPyBeginAllowThreads();
15565 (arg1)->SetPrinterOptions((wxString const &)*arg2);
15566
15567 wxPyEndAllowThreads(__tstate);
15568 if (PyErr_Occurred()) SWIG_fail;
15569 }
15570 Py_INCREF(Py_None); resultobj = Py_None;
15571 {
15572 if (temp2)
15573 delete arg2;
15574 }
15575 return resultobj;
15576 fail:
15577 {
15578 if (temp2)
15579 delete arg2;
15580 }
15581 return NULL;
15582 }
15583
15584
15585 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15586 PyObject *resultobj;
15587 wxPrintData *arg1 = (wxPrintData *) 0 ;
15588 wxString *arg2 = 0 ;
15589 bool temp2 = False ;
15590 PyObject * obj0 = 0 ;
15591 PyObject * obj1 = 0 ;
15592 char *kwnames[] = {
15593 (char *) "self",(char *) "command", NULL
15594 };
15595
15596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
15597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15598 {
15599 arg2 = wxString_in_helper(obj1);
15600 if (arg2 == NULL) SWIG_fail;
15601 temp2 = True;
15602 }
15603 {
15604 PyThreadState* __tstate = wxPyBeginAllowThreads();
15605 (arg1)->SetPreviewCommand((wxString const &)*arg2);
15606
15607 wxPyEndAllowThreads(__tstate);
15608 if (PyErr_Occurred()) SWIG_fail;
15609 }
15610 Py_INCREF(Py_None); resultobj = Py_None;
15611 {
15612 if (temp2)
15613 delete arg2;
15614 }
15615 return resultobj;
15616 fail:
15617 {
15618 if (temp2)
15619 delete arg2;
15620 }
15621 return NULL;
15622 }
15623
15624
15625 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
15626 PyObject *resultobj;
15627 wxPrintData *arg1 = (wxPrintData *) 0 ;
15628 wxString *arg2 = 0 ;
15629 bool temp2 = False ;
15630 PyObject * obj0 = 0 ;
15631 PyObject * obj1 = 0 ;
15632 char *kwnames[] = {
15633 (char *) "self",(char *) "filename", NULL
15634 };
15635
15636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
15637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15638 {
15639 arg2 = wxString_in_helper(obj1);
15640 if (arg2 == NULL) SWIG_fail;
15641 temp2 = True;
15642 }
15643 {
15644 PyThreadState* __tstate = wxPyBeginAllowThreads();
15645 (arg1)->SetFilename((wxString const &)*arg2);
15646
15647 wxPyEndAllowThreads(__tstate);
15648 if (PyErr_Occurred()) SWIG_fail;
15649 }
15650 Py_INCREF(Py_None); resultobj = Py_None;
15651 {
15652 if (temp2)
15653 delete arg2;
15654 }
15655 return resultobj;
15656 fail:
15657 {
15658 if (temp2)
15659 delete arg2;
15660 }
15661 return NULL;
15662 }
15663
15664
15665 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
15666 PyObject *resultobj;
15667 wxPrintData *arg1 = (wxPrintData *) 0 ;
15668 wxString *arg2 = 0 ;
15669 bool temp2 = False ;
15670 PyObject * obj0 = 0 ;
15671 PyObject * obj1 = 0 ;
15672 char *kwnames[] = {
15673 (char *) "self",(char *) "path", NULL
15674 };
15675
15676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
15677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15678 {
15679 arg2 = wxString_in_helper(obj1);
15680 if (arg2 == NULL) SWIG_fail;
15681 temp2 = True;
15682 }
15683 {
15684 PyThreadState* __tstate = wxPyBeginAllowThreads();
15685 (arg1)->SetFontMetricPath((wxString const &)*arg2);
15686
15687 wxPyEndAllowThreads(__tstate);
15688 if (PyErr_Occurred()) SWIG_fail;
15689 }
15690 Py_INCREF(Py_None); resultobj = Py_None;
15691 {
15692 if (temp2)
15693 delete arg2;
15694 }
15695 return resultobj;
15696 fail:
15697 {
15698 if (temp2)
15699 delete arg2;
15700 }
15701 return NULL;
15702 }
15703
15704
15705 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
15706 PyObject *resultobj;
15707 wxPrintData *arg1 = (wxPrintData *) 0 ;
15708 double arg2 ;
15709 PyObject * obj0 = 0 ;
15710 char *kwnames[] = {
15711 (char *) "self",(char *) "x", NULL
15712 };
15713
15714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleX",kwnames,&obj0,&arg2)) goto fail;
15715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15716 {
15717 PyThreadState* __tstate = wxPyBeginAllowThreads();
15718 (arg1)->SetPrinterScaleX(arg2);
15719
15720 wxPyEndAllowThreads(__tstate);
15721 if (PyErr_Occurred()) SWIG_fail;
15722 }
15723 Py_INCREF(Py_None); resultobj = Py_None;
15724 return resultobj;
15725 fail:
15726 return NULL;
15727 }
15728
15729
15730 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
15731 PyObject *resultobj;
15732 wxPrintData *arg1 = (wxPrintData *) 0 ;
15733 double arg2 ;
15734 PyObject * obj0 = 0 ;
15735 char *kwnames[] = {
15736 (char *) "self",(char *) "y", NULL
15737 };
15738
15739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleY",kwnames,&obj0,&arg2)) goto fail;
15740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15741 {
15742 PyThreadState* __tstate = wxPyBeginAllowThreads();
15743 (arg1)->SetPrinterScaleY(arg2);
15744
15745 wxPyEndAllowThreads(__tstate);
15746 if (PyErr_Occurred()) SWIG_fail;
15747 }
15748 Py_INCREF(Py_None); resultobj = Py_None;
15749 return resultobj;
15750 fail:
15751 return NULL;
15752 }
15753
15754
15755 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
15756 PyObject *resultobj;
15757 wxPrintData *arg1 = (wxPrintData *) 0 ;
15758 double arg2 ;
15759 double arg3 ;
15760 PyObject * obj0 = 0 ;
15761 char *kwnames[] = {
15762 (char *) "self",(char *) "x",(char *) "y", NULL
15763 };
15764
15765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PrintData_SetPrinterScaling",kwnames,&obj0,&arg2,&arg3)) goto fail;
15766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15767 {
15768 PyThreadState* __tstate = wxPyBeginAllowThreads();
15769 (arg1)->SetPrinterScaling(arg2,arg3);
15770
15771 wxPyEndAllowThreads(__tstate);
15772 if (PyErr_Occurred()) SWIG_fail;
15773 }
15774 Py_INCREF(Py_None); resultobj = Py_None;
15775 return resultobj;
15776 fail:
15777 return NULL;
15778 }
15779
15780
15781 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
15782 PyObject *resultobj;
15783 wxPrintData *arg1 = (wxPrintData *) 0 ;
15784 long arg2 ;
15785 PyObject * obj0 = 0 ;
15786 char *kwnames[] = {
15787 (char *) "self",(char *) "x", NULL
15788 };
15789
15790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateX",kwnames,&obj0,&arg2)) goto fail;
15791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15792 {
15793 PyThreadState* __tstate = wxPyBeginAllowThreads();
15794 (arg1)->SetPrinterTranslateX(arg2);
15795
15796 wxPyEndAllowThreads(__tstate);
15797 if (PyErr_Occurred()) SWIG_fail;
15798 }
15799 Py_INCREF(Py_None); resultobj = Py_None;
15800 return resultobj;
15801 fail:
15802 return NULL;
15803 }
15804
15805
15806 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
15807 PyObject *resultobj;
15808 wxPrintData *arg1 = (wxPrintData *) 0 ;
15809 long arg2 ;
15810 PyObject * obj0 = 0 ;
15811 char *kwnames[] = {
15812 (char *) "self",(char *) "y", NULL
15813 };
15814
15815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateY",kwnames,&obj0,&arg2)) goto fail;
15816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15817 {
15818 PyThreadState* __tstate = wxPyBeginAllowThreads();
15819 (arg1)->SetPrinterTranslateY(arg2);
15820
15821 wxPyEndAllowThreads(__tstate);
15822 if (PyErr_Occurred()) SWIG_fail;
15823 }
15824 Py_INCREF(Py_None); resultobj = Py_None;
15825 return resultobj;
15826 fail:
15827 return NULL;
15828 }
15829
15830
15831 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
15832 PyObject *resultobj;
15833 wxPrintData *arg1 = (wxPrintData *) 0 ;
15834 long arg2 ;
15835 long arg3 ;
15836 PyObject * obj0 = 0 ;
15837 char *kwnames[] = {
15838 (char *) "self",(char *) "x",(char *) "y", NULL
15839 };
15840
15841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:PrintData_SetPrinterTranslation",kwnames,&obj0,&arg2,&arg3)) goto fail;
15842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15843 {
15844 PyThreadState* __tstate = wxPyBeginAllowThreads();
15845 (arg1)->SetPrinterTranslation(arg2,arg3);
15846
15847 wxPyEndAllowThreads(__tstate);
15848 if (PyErr_Occurred()) SWIG_fail;
15849 }
15850 Py_INCREF(Py_None); resultobj = Py_None;
15851 return resultobj;
15852 fail:
15853 return NULL;
15854 }
15855
15856
15857 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
15858 PyObject *resultobj;
15859 wxPrintData *arg1 = (wxPrintData *) 0 ;
15860 int arg2 ;
15861 PyObject * obj0 = 0 ;
15862 char *kwnames[] = {
15863 (char *) "self",(char *) "printMode", NULL
15864 };
15865
15866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPrintMode",kwnames,&obj0,&arg2)) goto fail;
15867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15868 {
15869 PyThreadState* __tstate = wxPyBeginAllowThreads();
15870 (arg1)->SetPrintMode((wxPrintMode )arg2);
15871
15872 wxPyEndAllowThreads(__tstate);
15873 if (PyErr_Occurred()) SWIG_fail;
15874 }
15875 Py_INCREF(Py_None); resultobj = Py_None;
15876 return resultobj;
15877 fail:
15878 return NULL;
15879 }
15880
15881
15882 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
15883 PyObject *obj;
15884 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15885 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
15886 Py_INCREF(obj);
15887 return Py_BuildValue((char *)"");
15888 }
15889 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
15890 PyObject *resultobj;
15891 wxPageSetupDialogData *result;
15892 char *kwnames[] = {
15893 NULL
15894 };
15895
15896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
15897 {
15898 PyThreadState* __tstate = wxPyBeginAllowThreads();
15899 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
15900
15901 wxPyEndAllowThreads(__tstate);
15902 if (PyErr_Occurred()) SWIG_fail;
15903 }
15904 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 1);
15905 return resultobj;
15906 fail:
15907 return NULL;
15908 }
15909
15910
15911 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
15912 PyObject *resultobj;
15913 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15914 PyObject * obj0 = 0 ;
15915 char *kwnames[] = {
15916 (char *) "self", NULL
15917 };
15918
15919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
15920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15921 {
15922 PyThreadState* __tstate = wxPyBeginAllowThreads();
15923 delete arg1;
15924
15925 wxPyEndAllowThreads(__tstate);
15926 if (PyErr_Occurred()) SWIG_fail;
15927 }
15928 Py_INCREF(Py_None); resultobj = Py_None;
15929 return resultobj;
15930 fail:
15931 return NULL;
15932 }
15933
15934
15935 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15936 PyObject *resultobj;
15937 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15938 bool arg2 ;
15939 PyObject * obj0 = 0 ;
15940 PyObject * obj1 = 0 ;
15941 char *kwnames[] = {
15942 (char *) "self",(char *) "flag", NULL
15943 };
15944
15945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
15946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15947 arg2 = PyInt_AsLong(obj1) ? true : false;
15948 if (PyErr_Occurred()) SWIG_fail;
15949 {
15950 PyThreadState* __tstate = wxPyBeginAllowThreads();
15951 (arg1)->EnableHelp(arg2);
15952
15953 wxPyEndAllowThreads(__tstate);
15954 if (PyErr_Occurred()) SWIG_fail;
15955 }
15956 Py_INCREF(Py_None); resultobj = Py_None;
15957 return resultobj;
15958 fail:
15959 return NULL;
15960 }
15961
15962
15963 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
15964 PyObject *resultobj;
15965 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15966 bool arg2 ;
15967 PyObject * obj0 = 0 ;
15968 PyObject * obj1 = 0 ;
15969 char *kwnames[] = {
15970 (char *) "self",(char *) "flag", NULL
15971 };
15972
15973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
15974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15975 arg2 = PyInt_AsLong(obj1) ? true : false;
15976 if (PyErr_Occurred()) SWIG_fail;
15977 {
15978 PyThreadState* __tstate = wxPyBeginAllowThreads();
15979 (arg1)->EnableMargins(arg2);
15980
15981 wxPyEndAllowThreads(__tstate);
15982 if (PyErr_Occurred()) SWIG_fail;
15983 }
15984 Py_INCREF(Py_None); resultobj = Py_None;
15985 return resultobj;
15986 fail:
15987 return NULL;
15988 }
15989
15990
15991 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
15992 PyObject *resultobj;
15993 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15994 bool arg2 ;
15995 PyObject * obj0 = 0 ;
15996 PyObject * obj1 = 0 ;
15997 char *kwnames[] = {
15998 (char *) "self",(char *) "flag", NULL
15999 };
16000
16001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
16002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16003 arg2 = PyInt_AsLong(obj1) ? true : false;
16004 if (PyErr_Occurred()) SWIG_fail;
16005 {
16006 PyThreadState* __tstate = wxPyBeginAllowThreads();
16007 (arg1)->EnableOrientation(arg2);
16008
16009 wxPyEndAllowThreads(__tstate);
16010 if (PyErr_Occurred()) SWIG_fail;
16011 }
16012 Py_INCREF(Py_None); resultobj = Py_None;
16013 return resultobj;
16014 fail:
16015 return NULL;
16016 }
16017
16018
16019 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
16020 PyObject *resultobj;
16021 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16022 bool arg2 ;
16023 PyObject * obj0 = 0 ;
16024 PyObject * obj1 = 0 ;
16025 char *kwnames[] = {
16026 (char *) "self",(char *) "flag", NULL
16027 };
16028
16029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
16030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16031 arg2 = PyInt_AsLong(obj1) ? true : false;
16032 if (PyErr_Occurred()) SWIG_fail;
16033 {
16034 PyThreadState* __tstate = wxPyBeginAllowThreads();
16035 (arg1)->EnablePaper(arg2);
16036
16037 wxPyEndAllowThreads(__tstate);
16038 if (PyErr_Occurred()) SWIG_fail;
16039 }
16040 Py_INCREF(Py_None); resultobj = Py_None;
16041 return resultobj;
16042 fail:
16043 return NULL;
16044 }
16045
16046
16047 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16048 PyObject *resultobj;
16049 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16050 bool arg2 ;
16051 PyObject * obj0 = 0 ;
16052 PyObject * obj1 = 0 ;
16053 char *kwnames[] = {
16054 (char *) "self",(char *) "flag", NULL
16055 };
16056
16057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
16058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16059 arg2 = PyInt_AsLong(obj1) ? true : false;
16060 if (PyErr_Occurred()) SWIG_fail;
16061 {
16062 PyThreadState* __tstate = wxPyBeginAllowThreads();
16063 (arg1)->EnablePrinter(arg2);
16064
16065 wxPyEndAllowThreads(__tstate);
16066 if (PyErr_Occurred()) SWIG_fail;
16067 }
16068 Py_INCREF(Py_None); resultobj = Py_None;
16069 return resultobj;
16070 fail:
16071 return NULL;
16072 }
16073
16074
16075 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16076 PyObject *resultobj;
16077 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16078 bool result;
16079 PyObject * obj0 = 0 ;
16080 char *kwnames[] = {
16081 (char *) "self", NULL
16082 };
16083
16084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
16085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16086 {
16087 PyThreadState* __tstate = wxPyBeginAllowThreads();
16088 result = (bool)(arg1)->GetDefaultMinMargins();
16089
16090 wxPyEndAllowThreads(__tstate);
16091 if (PyErr_Occurred()) SWIG_fail;
16092 }
16093 resultobj = PyInt_FromLong((long)result);
16094 return resultobj;
16095 fail:
16096 return NULL;
16097 }
16098
16099
16100 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16101 PyObject *resultobj;
16102 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16103 bool result;
16104 PyObject * obj0 = 0 ;
16105 char *kwnames[] = {
16106 (char *) "self", NULL
16107 };
16108
16109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
16110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16111 {
16112 PyThreadState* __tstate = wxPyBeginAllowThreads();
16113 result = (bool)(arg1)->GetEnableMargins();
16114
16115 wxPyEndAllowThreads(__tstate);
16116 if (PyErr_Occurred()) SWIG_fail;
16117 }
16118 resultobj = PyInt_FromLong((long)result);
16119 return resultobj;
16120 fail:
16121 return NULL;
16122 }
16123
16124
16125 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16126 PyObject *resultobj;
16127 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16128 bool result;
16129 PyObject * obj0 = 0 ;
16130 char *kwnames[] = {
16131 (char *) "self", NULL
16132 };
16133
16134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
16135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16136 {
16137 PyThreadState* __tstate = wxPyBeginAllowThreads();
16138 result = (bool)(arg1)->GetEnableOrientation();
16139
16140 wxPyEndAllowThreads(__tstate);
16141 if (PyErr_Occurred()) SWIG_fail;
16142 }
16143 resultobj = PyInt_FromLong((long)result);
16144 return resultobj;
16145 fail:
16146 return NULL;
16147 }
16148
16149
16150 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
16151 PyObject *resultobj;
16152 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16153 bool result;
16154 PyObject * obj0 = 0 ;
16155 char *kwnames[] = {
16156 (char *) "self", NULL
16157 };
16158
16159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
16160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16161 {
16162 PyThreadState* __tstate = wxPyBeginAllowThreads();
16163 result = (bool)(arg1)->GetEnablePaper();
16164
16165 wxPyEndAllowThreads(__tstate);
16166 if (PyErr_Occurred()) SWIG_fail;
16167 }
16168 resultobj = PyInt_FromLong((long)result);
16169 return resultobj;
16170 fail:
16171 return NULL;
16172 }
16173
16174
16175 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16176 PyObject *resultobj;
16177 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16178 bool result;
16179 PyObject * obj0 = 0 ;
16180 char *kwnames[] = {
16181 (char *) "self", NULL
16182 };
16183
16184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
16185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16186 {
16187 PyThreadState* __tstate = wxPyBeginAllowThreads();
16188 result = (bool)(arg1)->GetEnablePrinter();
16189
16190 wxPyEndAllowThreads(__tstate);
16191 if (PyErr_Occurred()) SWIG_fail;
16192 }
16193 resultobj = PyInt_FromLong((long)result);
16194 return resultobj;
16195 fail:
16196 return NULL;
16197 }
16198
16199
16200 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16201 PyObject *resultobj;
16202 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16203 bool result;
16204 PyObject * obj0 = 0 ;
16205 char *kwnames[] = {
16206 (char *) "self", NULL
16207 };
16208
16209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
16210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16211 {
16212 PyThreadState* __tstate = wxPyBeginAllowThreads();
16213 result = (bool)(arg1)->GetEnableHelp();
16214
16215 wxPyEndAllowThreads(__tstate);
16216 if (PyErr_Occurred()) SWIG_fail;
16217 }
16218 resultobj = PyInt_FromLong((long)result);
16219 return resultobj;
16220 fail:
16221 return NULL;
16222 }
16223
16224
16225 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16226 PyObject *resultobj;
16227 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16228 bool result;
16229 PyObject * obj0 = 0 ;
16230 char *kwnames[] = {
16231 (char *) "self", NULL
16232 };
16233
16234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
16235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16236 {
16237 PyThreadState* __tstate = wxPyBeginAllowThreads();
16238 result = (bool)(arg1)->GetDefaultInfo();
16239
16240 wxPyEndAllowThreads(__tstate);
16241 if (PyErr_Occurred()) SWIG_fail;
16242 }
16243 resultobj = PyInt_FromLong((long)result);
16244 return resultobj;
16245 fail:
16246 return NULL;
16247 }
16248
16249
16250 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16251 PyObject *resultobj;
16252 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16253 wxPoint result;
16254 PyObject * obj0 = 0 ;
16255 char *kwnames[] = {
16256 (char *) "self", NULL
16257 };
16258
16259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
16260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16261 {
16262 PyThreadState* __tstate = wxPyBeginAllowThreads();
16263 result = (arg1)->GetMarginTopLeft();
16264
16265 wxPyEndAllowThreads(__tstate);
16266 if (PyErr_Occurred()) SWIG_fail;
16267 }
16268 {
16269 wxPoint * resultptr;
16270 resultptr = new wxPoint((wxPoint &) result);
16271 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16272 }
16273 return resultobj;
16274 fail:
16275 return NULL;
16276 }
16277
16278
16279 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16280 PyObject *resultobj;
16281 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16282 wxPoint result;
16283 PyObject * obj0 = 0 ;
16284 char *kwnames[] = {
16285 (char *) "self", NULL
16286 };
16287
16288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
16289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16290 {
16291 PyThreadState* __tstate = wxPyBeginAllowThreads();
16292 result = (arg1)->GetMarginBottomRight();
16293
16294 wxPyEndAllowThreads(__tstate);
16295 if (PyErr_Occurred()) SWIG_fail;
16296 }
16297 {
16298 wxPoint * resultptr;
16299 resultptr = new wxPoint((wxPoint &) result);
16300 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16301 }
16302 return resultobj;
16303 fail:
16304 return NULL;
16305 }
16306
16307
16308 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16309 PyObject *resultobj;
16310 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16311 wxPoint result;
16312 PyObject * obj0 = 0 ;
16313 char *kwnames[] = {
16314 (char *) "self", NULL
16315 };
16316
16317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
16318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16319 {
16320 PyThreadState* __tstate = wxPyBeginAllowThreads();
16321 result = (arg1)->GetMinMarginTopLeft();
16322
16323 wxPyEndAllowThreads(__tstate);
16324 if (PyErr_Occurred()) SWIG_fail;
16325 }
16326 {
16327 wxPoint * resultptr;
16328 resultptr = new wxPoint((wxPoint &) result);
16329 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16330 }
16331 return resultobj;
16332 fail:
16333 return NULL;
16334 }
16335
16336
16337 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16338 PyObject *resultobj;
16339 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16340 wxPoint result;
16341 PyObject * obj0 = 0 ;
16342 char *kwnames[] = {
16343 (char *) "self", NULL
16344 };
16345
16346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
16347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16348 {
16349 PyThreadState* __tstate = wxPyBeginAllowThreads();
16350 result = (arg1)->GetMinMarginBottomRight();
16351
16352 wxPyEndAllowThreads(__tstate);
16353 if (PyErr_Occurred()) SWIG_fail;
16354 }
16355 {
16356 wxPoint * resultptr;
16357 resultptr = new wxPoint((wxPoint &) result);
16358 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16359 }
16360 return resultobj;
16361 fail:
16362 return NULL;
16363 }
16364
16365
16366 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16367 PyObject *resultobj;
16368 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16369 int result;
16370 PyObject * obj0 = 0 ;
16371 char *kwnames[] = {
16372 (char *) "self", NULL
16373 };
16374
16375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
16376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16377 {
16378 PyThreadState* __tstate = wxPyBeginAllowThreads();
16379 result = (int)(arg1)->GetPaperId();
16380
16381 wxPyEndAllowThreads(__tstate);
16382 if (PyErr_Occurred()) SWIG_fail;
16383 }
16384 resultobj = PyInt_FromLong((long)result);
16385 return resultobj;
16386 fail:
16387 return NULL;
16388 }
16389
16390
16391 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16392 PyObject *resultobj;
16393 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16394 wxSize result;
16395 PyObject * obj0 = 0 ;
16396 char *kwnames[] = {
16397 (char *) "self", NULL
16398 };
16399
16400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
16401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16402 {
16403 PyThreadState* __tstate = wxPyBeginAllowThreads();
16404 result = (arg1)->GetPaperSize();
16405
16406 wxPyEndAllowThreads(__tstate);
16407 if (PyErr_Occurred()) SWIG_fail;
16408 }
16409 {
16410 wxSize * resultptr;
16411 resultptr = new wxSize((wxSize &) result);
16412 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16413 }
16414 return resultobj;
16415 fail:
16416 return NULL;
16417 }
16418
16419
16420 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16421 PyObject *resultobj;
16422 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16423 wxPrintData *result;
16424 PyObject * obj0 = 0 ;
16425 char *kwnames[] = {
16426 (char *) "self", NULL
16427 };
16428
16429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
16430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16431 {
16432 PyThreadState* __tstate = wxPyBeginAllowThreads();
16433 {
16434 wxPrintData &_result_ref = (arg1)->GetPrintData();
16435 result = (wxPrintData *) &_result_ref;
16436 }
16437
16438 wxPyEndAllowThreads(__tstate);
16439 if (PyErr_Occurred()) SWIG_fail;
16440 }
16441 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
16442 return resultobj;
16443 fail:
16444 return NULL;
16445 }
16446
16447
16448 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
16449 PyObject *resultobj;
16450 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16451 bool result;
16452 PyObject * obj0 = 0 ;
16453 char *kwnames[] = {
16454 (char *) "self", NULL
16455 };
16456
16457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",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 = (bool)(arg1)->Ok();
16462
16463 wxPyEndAllowThreads(__tstate);
16464 if (PyErr_Occurred()) SWIG_fail;
16465 }
16466 resultobj = PyInt_FromLong((long)result);
16467 return resultobj;
16468 fail:
16469 return NULL;
16470 }
16471
16472
16473 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16474 PyObject *resultobj;
16475 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16476 bool arg2 ;
16477 PyObject * obj0 = 0 ;
16478 PyObject * obj1 = 0 ;
16479 char *kwnames[] = {
16480 (char *) "self",(char *) "flag", NULL
16481 };
16482
16483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
16484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16485 arg2 = PyInt_AsLong(obj1) ? true : false;
16486 if (PyErr_Occurred()) SWIG_fail;
16487 {
16488 PyThreadState* __tstate = wxPyBeginAllowThreads();
16489 (arg1)->SetDefaultInfo(arg2);
16490
16491 wxPyEndAllowThreads(__tstate);
16492 if (PyErr_Occurred()) SWIG_fail;
16493 }
16494 Py_INCREF(Py_None); resultobj = Py_None;
16495 return resultobj;
16496 fail:
16497 return NULL;
16498 }
16499
16500
16501 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16502 PyObject *resultobj;
16503 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16504 bool arg2 ;
16505 PyObject * obj0 = 0 ;
16506 PyObject * obj1 = 0 ;
16507 char *kwnames[] = {
16508 (char *) "self",(char *) "flag", NULL
16509 };
16510
16511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
16512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16513 arg2 = PyInt_AsLong(obj1) ? true : false;
16514 if (PyErr_Occurred()) SWIG_fail;
16515 {
16516 PyThreadState* __tstate = wxPyBeginAllowThreads();
16517 (arg1)->SetDefaultMinMargins(arg2);
16518
16519 wxPyEndAllowThreads(__tstate);
16520 if (PyErr_Occurred()) SWIG_fail;
16521 }
16522 Py_INCREF(Py_None); resultobj = Py_None;
16523 return resultobj;
16524 fail:
16525 return NULL;
16526 }
16527
16528
16529 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16530 PyObject *resultobj;
16531 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16532 wxPoint *arg2 = 0 ;
16533 wxPoint temp2 ;
16534 PyObject * obj0 = 0 ;
16535 PyObject * obj1 = 0 ;
16536 char *kwnames[] = {
16537 (char *) "self",(char *) "pt", NULL
16538 };
16539
16540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
16541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16542 {
16543 arg2 = &temp2;
16544 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16545 }
16546 {
16547 PyThreadState* __tstate = wxPyBeginAllowThreads();
16548 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
16549
16550 wxPyEndAllowThreads(__tstate);
16551 if (PyErr_Occurred()) SWIG_fail;
16552 }
16553 Py_INCREF(Py_None); resultobj = Py_None;
16554 return resultobj;
16555 fail:
16556 return NULL;
16557 }
16558
16559
16560 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16561 PyObject *resultobj;
16562 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16563 wxPoint *arg2 = 0 ;
16564 wxPoint temp2 ;
16565 PyObject * obj0 = 0 ;
16566 PyObject * obj1 = 0 ;
16567 char *kwnames[] = {
16568 (char *) "self",(char *) "pt", NULL
16569 };
16570
16571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
16572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16573 {
16574 arg2 = &temp2;
16575 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16576 }
16577 {
16578 PyThreadState* __tstate = wxPyBeginAllowThreads();
16579 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
16580
16581 wxPyEndAllowThreads(__tstate);
16582 if (PyErr_Occurred()) SWIG_fail;
16583 }
16584 Py_INCREF(Py_None); resultobj = Py_None;
16585 return resultobj;
16586 fail:
16587 return NULL;
16588 }
16589
16590
16591 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16592 PyObject *resultobj;
16593 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16594 wxPoint *arg2 = 0 ;
16595 wxPoint temp2 ;
16596 PyObject * obj0 = 0 ;
16597 PyObject * obj1 = 0 ;
16598 char *kwnames[] = {
16599 (char *) "self",(char *) "pt", NULL
16600 };
16601
16602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
16603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16604 {
16605 arg2 = &temp2;
16606 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16607 }
16608 {
16609 PyThreadState* __tstate = wxPyBeginAllowThreads();
16610 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
16611
16612 wxPyEndAllowThreads(__tstate);
16613 if (PyErr_Occurred()) SWIG_fail;
16614 }
16615 Py_INCREF(Py_None); resultobj = Py_None;
16616 return resultobj;
16617 fail:
16618 return NULL;
16619 }
16620
16621
16622 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16623 PyObject *resultobj;
16624 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16625 wxPoint *arg2 = 0 ;
16626 wxPoint temp2 ;
16627 PyObject * obj0 = 0 ;
16628 PyObject * obj1 = 0 ;
16629 char *kwnames[] = {
16630 (char *) "self",(char *) "pt", NULL
16631 };
16632
16633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
16634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16635 {
16636 arg2 = &temp2;
16637 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16638 }
16639 {
16640 PyThreadState* __tstate = wxPyBeginAllowThreads();
16641 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
16642
16643 wxPyEndAllowThreads(__tstate);
16644 if (PyErr_Occurred()) SWIG_fail;
16645 }
16646 Py_INCREF(Py_None); resultobj = Py_None;
16647 return resultobj;
16648 fail:
16649 return NULL;
16650 }
16651
16652
16653 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16654 PyObject *resultobj;
16655 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16656 int arg2 ;
16657 PyObject * obj0 = 0 ;
16658 char *kwnames[] = {
16659 (char *) "self",(char *) "id", NULL
16660 };
16661
16662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PageSetupDialogData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
16663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16664 {
16665 PyThreadState* __tstate = wxPyBeginAllowThreads();
16666 (arg1)->SetPaperId((wxPaperSize )arg2);
16667
16668 wxPyEndAllowThreads(__tstate);
16669 if (PyErr_Occurred()) SWIG_fail;
16670 }
16671 Py_INCREF(Py_None); resultobj = Py_None;
16672 return resultobj;
16673 fail:
16674 return NULL;
16675 }
16676
16677
16678 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16679 PyObject *resultobj;
16680 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16681 wxSize *arg2 = 0 ;
16682 wxSize temp2 ;
16683 PyObject * obj0 = 0 ;
16684 PyObject * obj1 = 0 ;
16685 char *kwnames[] = {
16686 (char *) "self",(char *) "size", NULL
16687 };
16688
16689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
16690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16691 {
16692 arg2 = &temp2;
16693 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16694 }
16695 {
16696 PyThreadState* __tstate = wxPyBeginAllowThreads();
16697 (arg1)->SetPaperSize((wxSize const &)*arg2);
16698
16699 wxPyEndAllowThreads(__tstate);
16700 if (PyErr_Occurred()) SWIG_fail;
16701 }
16702 Py_INCREF(Py_None); resultobj = Py_None;
16703 return resultobj;
16704 fail:
16705 return NULL;
16706 }
16707
16708
16709 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16710 PyObject *resultobj;
16711 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16712 wxPrintData *arg2 = 0 ;
16713 PyObject * obj0 = 0 ;
16714 PyObject * obj1 = 0 ;
16715 char *kwnames[] = {
16716 (char *) "self",(char *) "printData", NULL
16717 };
16718
16719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
16720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16721 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16722 if (arg2 == NULL) {
16723 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16724 }
16725 {
16726 PyThreadState* __tstate = wxPyBeginAllowThreads();
16727 (arg1)->SetPrintData((wxPrintData const &)*arg2);
16728
16729 wxPyEndAllowThreads(__tstate);
16730 if (PyErr_Occurred()) SWIG_fail;
16731 }
16732 Py_INCREF(Py_None); resultobj = Py_None;
16733 return resultobj;
16734 fail:
16735 return NULL;
16736 }
16737
16738
16739 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
16740 PyObject *obj;
16741 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16742 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
16743 Py_INCREF(obj);
16744 return Py_BuildValue((char *)"");
16745 }
16746 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16747 PyObject *resultobj;
16748 wxWindow *arg1 = (wxWindow *) 0 ;
16749 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
16750 wxPageSetupDialog *result;
16751 PyObject * obj0 = 0 ;
16752 PyObject * obj1 = 0 ;
16753 char *kwnames[] = {
16754 (char *) "parent",(char *) "data", NULL
16755 };
16756
16757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
16758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16759 if (obj1) {
16760 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16761 }
16762 {
16763 PyThreadState* __tstate = wxPyBeginAllowThreads();
16764 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
16765
16766 wxPyEndAllowThreads(__tstate);
16767 if (PyErr_Occurred()) SWIG_fail;
16768 }
16769 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialog, 1);
16770 return resultobj;
16771 fail:
16772 return NULL;
16773 }
16774
16775
16776 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
16777 PyObject *resultobj;
16778 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
16779 wxPageSetupDialogData *result;
16780 PyObject * obj0 = 0 ;
16781 char *kwnames[] = {
16782 (char *) "self", NULL
16783 };
16784
16785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
16786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16787 {
16788 PyThreadState* __tstate = wxPyBeginAllowThreads();
16789 {
16790 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
16791 result = (wxPageSetupDialogData *) &_result_ref;
16792 }
16793
16794 wxPyEndAllowThreads(__tstate);
16795 if (PyErr_Occurred()) SWIG_fail;
16796 }
16797 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 0);
16798 return resultobj;
16799 fail:
16800 return NULL;
16801 }
16802
16803
16804 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
16805 PyObject *resultobj;
16806 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
16807 int result;
16808 PyObject * obj0 = 0 ;
16809 char *kwnames[] = {
16810 (char *) "self", NULL
16811 };
16812
16813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
16814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16815 {
16816 PyThreadState* __tstate = wxPyBeginAllowThreads();
16817 result = (int)(arg1)->ShowModal();
16818
16819 wxPyEndAllowThreads(__tstate);
16820 if (PyErr_Occurred()) SWIG_fail;
16821 }
16822 resultobj = PyInt_FromLong((long)result);
16823 return resultobj;
16824 fail:
16825 return NULL;
16826 }
16827
16828
16829 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
16830 PyObject *obj;
16831 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16832 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
16833 Py_INCREF(obj);
16834 return Py_BuildValue((char *)"");
16835 }
16836 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16837 PyObject *resultobj;
16838 wxPrintDialogData *result;
16839 char *kwnames[] = {
16840 NULL
16841 };
16842
16843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintDialogData",kwnames)) goto fail;
16844 {
16845 PyThreadState* __tstate = wxPyBeginAllowThreads();
16846 result = (wxPrintDialogData *)new wxPrintDialogData();
16847
16848 wxPyEndAllowThreads(__tstate);
16849 if (PyErr_Occurred()) SWIG_fail;
16850 }
16851 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 1);
16852 return resultobj;
16853 fail:
16854 return NULL;
16855 }
16856
16857
16858 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16859 PyObject *resultobj;
16860 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16861 PyObject * obj0 = 0 ;
16862 char *kwnames[] = {
16863 (char *) "self", NULL
16864 };
16865
16866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
16867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16868 {
16869 PyThreadState* __tstate = wxPyBeginAllowThreads();
16870 delete arg1;
16871
16872 wxPyEndAllowThreads(__tstate);
16873 if (PyErr_Occurred()) SWIG_fail;
16874 }
16875 Py_INCREF(Py_None); resultobj = Py_None;
16876 return resultobj;
16877 fail:
16878 return NULL;
16879 }
16880
16881
16882 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16883 PyObject *resultobj;
16884 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16885 int result;
16886 PyObject * obj0 = 0 ;
16887 char *kwnames[] = {
16888 (char *) "self", NULL
16889 };
16890
16891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
16892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16893 {
16894 PyThreadState* __tstate = wxPyBeginAllowThreads();
16895 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
16896
16897 wxPyEndAllowThreads(__tstate);
16898 if (PyErr_Occurred()) SWIG_fail;
16899 }
16900 resultobj = PyInt_FromLong((long)result);
16901 return resultobj;
16902 fail:
16903 return NULL;
16904 }
16905
16906
16907 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16908 PyObject *resultobj;
16909 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16910 int result;
16911 PyObject * obj0 = 0 ;
16912 char *kwnames[] = {
16913 (char *) "self", NULL
16914 };
16915
16916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
16917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16918 {
16919 PyThreadState* __tstate = wxPyBeginAllowThreads();
16920 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
16921
16922 wxPyEndAllowThreads(__tstate);
16923 if (PyErr_Occurred()) SWIG_fail;
16924 }
16925 resultobj = PyInt_FromLong((long)result);
16926 return resultobj;
16927 fail:
16928 return NULL;
16929 }
16930
16931
16932 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16933 PyObject *resultobj;
16934 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16935 int result;
16936 PyObject * obj0 = 0 ;
16937 char *kwnames[] = {
16938 (char *) "self", NULL
16939 };
16940
16941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
16942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16943 {
16944 PyThreadState* __tstate = wxPyBeginAllowThreads();
16945 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
16946
16947 wxPyEndAllowThreads(__tstate);
16948 if (PyErr_Occurred()) SWIG_fail;
16949 }
16950 resultobj = PyInt_FromLong((long)result);
16951 return resultobj;
16952 fail:
16953 return NULL;
16954 }
16955
16956
16957 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16958 PyObject *resultobj;
16959 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16960 int result;
16961 PyObject * obj0 = 0 ;
16962 char *kwnames[] = {
16963 (char *) "self", NULL
16964 };
16965
16966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
16967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16968 {
16969 PyThreadState* __tstate = wxPyBeginAllowThreads();
16970 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
16971
16972 wxPyEndAllowThreads(__tstate);
16973 if (PyErr_Occurred()) SWIG_fail;
16974 }
16975 resultobj = PyInt_FromLong((long)result);
16976 return resultobj;
16977 fail:
16978 return NULL;
16979 }
16980
16981
16982 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
16983 PyObject *resultobj;
16984 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16985 int result;
16986 PyObject * obj0 = 0 ;
16987 char *kwnames[] = {
16988 (char *) "self", NULL
16989 };
16990
16991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
16992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16993 {
16994 PyThreadState* __tstate = wxPyBeginAllowThreads();
16995 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
16996
16997 wxPyEndAllowThreads(__tstate);
16998 if (PyErr_Occurred()) SWIG_fail;
16999 }
17000 resultobj = PyInt_FromLong((long)result);
17001 return resultobj;
17002 fail:
17003 return NULL;
17004 }
17005
17006
17007 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
17008 PyObject *resultobj;
17009 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17010 bool result;
17011 PyObject * obj0 = 0 ;
17012 char *kwnames[] = {
17013 (char *) "self", NULL
17014 };
17015
17016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
17017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17018 {
17019 PyThreadState* __tstate = wxPyBeginAllowThreads();
17020 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
17021
17022 wxPyEndAllowThreads(__tstate);
17023 if (PyErr_Occurred()) SWIG_fail;
17024 }
17025 resultobj = PyInt_FromLong((long)result);
17026 return resultobj;
17027 fail:
17028 return NULL;
17029 }
17030
17031
17032 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17033 PyObject *resultobj;
17034 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17035 bool result;
17036 PyObject * obj0 = 0 ;
17037 char *kwnames[] = {
17038 (char *) "self", NULL
17039 };
17040
17041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
17042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17043 {
17044 PyThreadState* __tstate = wxPyBeginAllowThreads();
17045 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
17046
17047 wxPyEndAllowThreads(__tstate);
17048 if (PyErr_Occurred()) SWIG_fail;
17049 }
17050 resultobj = PyInt_FromLong((long)result);
17051 return resultobj;
17052 fail:
17053 return NULL;
17054 }
17055
17056
17057 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17058 PyObject *resultobj;
17059 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17060 bool result;
17061 PyObject * obj0 = 0 ;
17062 char *kwnames[] = {
17063 (char *) "self", NULL
17064 };
17065
17066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
17067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17068 {
17069 PyThreadState* __tstate = wxPyBeginAllowThreads();
17070 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
17071
17072 wxPyEndAllowThreads(__tstate);
17073 if (PyErr_Occurred()) SWIG_fail;
17074 }
17075 resultobj = PyInt_FromLong((long)result);
17076 return resultobj;
17077 fail:
17078 return NULL;
17079 }
17080
17081
17082 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17083 PyObject *resultobj;
17084 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17085 bool result;
17086 PyObject * obj0 = 0 ;
17087 char *kwnames[] = {
17088 (char *) "self", NULL
17089 };
17090
17091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
17092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17093 {
17094 PyThreadState* __tstate = wxPyBeginAllowThreads();
17095 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
17096
17097 wxPyEndAllowThreads(__tstate);
17098 if (PyErr_Occurred()) SWIG_fail;
17099 }
17100 resultobj = PyInt_FromLong((long)result);
17101 return resultobj;
17102 fail:
17103 return NULL;
17104 }
17105
17106
17107 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17108 PyObject *resultobj;
17109 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17110 bool result;
17111 PyObject * obj0 = 0 ;
17112 char *kwnames[] = {
17113 (char *) "self", NULL
17114 };
17115
17116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
17117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17118 {
17119 PyThreadState* __tstate = wxPyBeginAllowThreads();
17120 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
17121
17122 wxPyEndAllowThreads(__tstate);
17123 if (PyErr_Occurred()) SWIG_fail;
17124 }
17125 resultobj = PyInt_FromLong((long)result);
17126 return resultobj;
17127 fail:
17128 return NULL;
17129 }
17130
17131
17132 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17133 PyObject *resultobj;
17134 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17135 int arg2 ;
17136 PyObject * obj0 = 0 ;
17137 char *kwnames[] = {
17138 (char *) "self",(char *) "v", NULL
17139 };
17140
17141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetFromPage",kwnames,&obj0,&arg2)) goto fail;
17142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17143 {
17144 PyThreadState* __tstate = wxPyBeginAllowThreads();
17145 (arg1)->SetFromPage(arg2);
17146
17147 wxPyEndAllowThreads(__tstate);
17148 if (PyErr_Occurred()) SWIG_fail;
17149 }
17150 Py_INCREF(Py_None); resultobj = Py_None;
17151 return resultobj;
17152 fail:
17153 return NULL;
17154 }
17155
17156
17157 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17158 PyObject *resultobj;
17159 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17160 int arg2 ;
17161 PyObject * obj0 = 0 ;
17162 char *kwnames[] = {
17163 (char *) "self",(char *) "v", NULL
17164 };
17165
17166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetToPage",kwnames,&obj0,&arg2)) goto fail;
17167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17168 {
17169 PyThreadState* __tstate = wxPyBeginAllowThreads();
17170 (arg1)->SetToPage(arg2);
17171
17172 wxPyEndAllowThreads(__tstate);
17173 if (PyErr_Occurred()) SWIG_fail;
17174 }
17175 Py_INCREF(Py_None); resultobj = Py_None;
17176 return resultobj;
17177 fail:
17178 return NULL;
17179 }
17180
17181
17182 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17183 PyObject *resultobj;
17184 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17185 int arg2 ;
17186 PyObject * obj0 = 0 ;
17187 char *kwnames[] = {
17188 (char *) "self",(char *) "v", NULL
17189 };
17190
17191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMinPage",kwnames,&obj0,&arg2)) goto fail;
17192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17193 {
17194 PyThreadState* __tstate = wxPyBeginAllowThreads();
17195 (arg1)->SetMinPage(arg2);
17196
17197 wxPyEndAllowThreads(__tstate);
17198 if (PyErr_Occurred()) SWIG_fail;
17199 }
17200 Py_INCREF(Py_None); resultobj = Py_None;
17201 return resultobj;
17202 fail:
17203 return NULL;
17204 }
17205
17206
17207 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17208 PyObject *resultobj;
17209 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17210 int arg2 ;
17211 PyObject * obj0 = 0 ;
17212 char *kwnames[] = {
17213 (char *) "self",(char *) "v", NULL
17214 };
17215
17216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMaxPage",kwnames,&obj0,&arg2)) goto fail;
17217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17218 {
17219 PyThreadState* __tstate = wxPyBeginAllowThreads();
17220 (arg1)->SetMaxPage(arg2);
17221
17222 wxPyEndAllowThreads(__tstate);
17223 if (PyErr_Occurred()) SWIG_fail;
17224 }
17225 Py_INCREF(Py_None); resultobj = Py_None;
17226 return resultobj;
17227 fail:
17228 return NULL;
17229 }
17230
17231
17232 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17233 PyObject *resultobj;
17234 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17235 int arg2 ;
17236 PyObject * obj0 = 0 ;
17237 char *kwnames[] = {
17238 (char *) "self",(char *) "v", NULL
17239 };
17240
17241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
17242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17243 {
17244 PyThreadState* __tstate = wxPyBeginAllowThreads();
17245 (arg1)->SetNoCopies(arg2);
17246
17247 wxPyEndAllowThreads(__tstate);
17248 if (PyErr_Occurred()) SWIG_fail;
17249 }
17250 Py_INCREF(Py_None); resultobj = Py_None;
17251 return resultobj;
17252 fail:
17253 return NULL;
17254 }
17255
17256
17257 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
17258 PyObject *resultobj;
17259 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17260 bool arg2 ;
17261 PyObject * obj0 = 0 ;
17262 PyObject * obj1 = 0 ;
17263 char *kwnames[] = {
17264 (char *) "self",(char *) "flag", NULL
17265 };
17266
17267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
17268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17269 arg2 = PyInt_AsLong(obj1) ? true : false;
17270 if (PyErr_Occurred()) SWIG_fail;
17271 {
17272 PyThreadState* __tstate = wxPyBeginAllowThreads();
17273 (arg1)->SetAllPages(arg2);
17274
17275 wxPyEndAllowThreads(__tstate);
17276 if (PyErr_Occurred()) SWIG_fail;
17277 }
17278 Py_INCREF(Py_None); resultobj = Py_None;
17279 return resultobj;
17280 fail:
17281 return NULL;
17282 }
17283
17284
17285 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17286 PyObject *resultobj;
17287 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17288 bool arg2 ;
17289 PyObject * obj0 = 0 ;
17290 PyObject * obj1 = 0 ;
17291 char *kwnames[] = {
17292 (char *) "self",(char *) "flag", NULL
17293 };
17294
17295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
17296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17297 arg2 = PyInt_AsLong(obj1) ? true : false;
17298 if (PyErr_Occurred()) SWIG_fail;
17299 {
17300 PyThreadState* __tstate = wxPyBeginAllowThreads();
17301 (arg1)->SetSelection(arg2);
17302
17303 wxPyEndAllowThreads(__tstate);
17304 if (PyErr_Occurred()) SWIG_fail;
17305 }
17306 Py_INCREF(Py_None); resultobj = Py_None;
17307 return resultobj;
17308 fail:
17309 return NULL;
17310 }
17311
17312
17313 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17314 PyObject *resultobj;
17315 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17316 bool arg2 ;
17317 PyObject * obj0 = 0 ;
17318 PyObject * obj1 = 0 ;
17319 char *kwnames[] = {
17320 (char *) "self",(char *) "flag", NULL
17321 };
17322
17323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
17324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17325 arg2 = PyInt_AsLong(obj1) ? true : false;
17326 if (PyErr_Occurred()) SWIG_fail;
17327 {
17328 PyThreadState* __tstate = wxPyBeginAllowThreads();
17329 (arg1)->SetCollate(arg2);
17330
17331 wxPyEndAllowThreads(__tstate);
17332 if (PyErr_Occurred()) SWIG_fail;
17333 }
17334 Py_INCREF(Py_None); resultobj = Py_None;
17335 return resultobj;
17336 fail:
17337 return NULL;
17338 }
17339
17340
17341 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17342 PyObject *resultobj;
17343 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17344 bool arg2 ;
17345 PyObject * obj0 = 0 ;
17346 PyObject * obj1 = 0 ;
17347 char *kwnames[] = {
17348 (char *) "self",(char *) "flag", NULL
17349 };
17350
17351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
17352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17353 arg2 = PyInt_AsLong(obj1) ? true : false;
17354 if (PyErr_Occurred()) SWIG_fail;
17355 {
17356 PyThreadState* __tstate = wxPyBeginAllowThreads();
17357 (arg1)->SetPrintToFile(arg2);
17358
17359 wxPyEndAllowThreads(__tstate);
17360 if (PyErr_Occurred()) SWIG_fail;
17361 }
17362 Py_INCREF(Py_None); resultobj = Py_None;
17363 return resultobj;
17364 fail:
17365 return NULL;
17366 }
17367
17368
17369 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17370 PyObject *resultobj;
17371 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17372 bool arg2 ;
17373 PyObject * obj0 = 0 ;
17374 PyObject * obj1 = 0 ;
17375 char *kwnames[] = {
17376 (char *) "self",(char *) "flag", NULL
17377 };
17378
17379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
17380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17381 arg2 = PyInt_AsLong(obj1) ? true : false;
17382 if (PyErr_Occurred()) SWIG_fail;
17383 {
17384 PyThreadState* __tstate = wxPyBeginAllowThreads();
17385 (arg1)->SetSetupDialog(arg2);
17386
17387 wxPyEndAllowThreads(__tstate);
17388 if (PyErr_Occurred()) SWIG_fail;
17389 }
17390 Py_INCREF(Py_None); resultobj = Py_None;
17391 return resultobj;
17392 fail:
17393 return NULL;
17394 }
17395
17396
17397 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17398 PyObject *resultobj;
17399 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17400 bool arg2 ;
17401 PyObject * obj0 = 0 ;
17402 PyObject * obj1 = 0 ;
17403 char *kwnames[] = {
17404 (char *) "self",(char *) "flag", NULL
17405 };
17406
17407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
17408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17409 arg2 = PyInt_AsLong(obj1) ? true : false;
17410 if (PyErr_Occurred()) SWIG_fail;
17411 {
17412 PyThreadState* __tstate = wxPyBeginAllowThreads();
17413 (arg1)->EnablePrintToFile(arg2);
17414
17415 wxPyEndAllowThreads(__tstate);
17416 if (PyErr_Occurred()) SWIG_fail;
17417 }
17418 Py_INCREF(Py_None); resultobj = Py_None;
17419 return resultobj;
17420 fail:
17421 return NULL;
17422 }
17423
17424
17425 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17426 PyObject *resultobj;
17427 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17428 bool arg2 ;
17429 PyObject * obj0 = 0 ;
17430 PyObject * obj1 = 0 ;
17431 char *kwnames[] = {
17432 (char *) "self",(char *) "flag", NULL
17433 };
17434
17435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
17436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17437 arg2 = PyInt_AsLong(obj1) ? true : false;
17438 if (PyErr_Occurred()) SWIG_fail;
17439 {
17440 PyThreadState* __tstate = wxPyBeginAllowThreads();
17441 (arg1)->EnableSelection(arg2);
17442
17443 wxPyEndAllowThreads(__tstate);
17444 if (PyErr_Occurred()) SWIG_fail;
17445 }
17446 Py_INCREF(Py_None); resultobj = Py_None;
17447 return resultobj;
17448 fail:
17449 return NULL;
17450 }
17451
17452
17453 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17454 PyObject *resultobj;
17455 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17456 bool arg2 ;
17457 PyObject * obj0 = 0 ;
17458 PyObject * obj1 = 0 ;
17459 char *kwnames[] = {
17460 (char *) "self",(char *) "flag", NULL
17461 };
17462
17463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
17464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17465 arg2 = PyInt_AsLong(obj1) ? true : false;
17466 if (PyErr_Occurred()) SWIG_fail;
17467 {
17468 PyThreadState* __tstate = wxPyBeginAllowThreads();
17469 (arg1)->EnablePageNumbers(arg2);
17470
17471 wxPyEndAllowThreads(__tstate);
17472 if (PyErr_Occurred()) SWIG_fail;
17473 }
17474 Py_INCREF(Py_None); resultobj = Py_None;
17475 return resultobj;
17476 fail:
17477 return NULL;
17478 }
17479
17480
17481 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17482 PyObject *resultobj;
17483 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17484 bool arg2 ;
17485 PyObject * obj0 = 0 ;
17486 PyObject * obj1 = 0 ;
17487 char *kwnames[] = {
17488 (char *) "self",(char *) "flag", NULL
17489 };
17490
17491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
17492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17493 arg2 = PyInt_AsLong(obj1) ? true : false;
17494 if (PyErr_Occurred()) SWIG_fail;
17495 {
17496 PyThreadState* __tstate = wxPyBeginAllowThreads();
17497 (arg1)->EnableHelp(arg2);
17498
17499 wxPyEndAllowThreads(__tstate);
17500 if (PyErr_Occurred()) SWIG_fail;
17501 }
17502 Py_INCREF(Py_None); resultobj = Py_None;
17503 return resultobj;
17504 fail:
17505 return NULL;
17506 }
17507
17508
17509 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17510 PyObject *resultobj;
17511 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17512 bool result;
17513 PyObject * obj0 = 0 ;
17514 char *kwnames[] = {
17515 (char *) "self", NULL
17516 };
17517
17518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
17519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17520 {
17521 PyThreadState* __tstate = wxPyBeginAllowThreads();
17522 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
17523
17524 wxPyEndAllowThreads(__tstate);
17525 if (PyErr_Occurred()) SWIG_fail;
17526 }
17527 resultobj = PyInt_FromLong((long)result);
17528 return resultobj;
17529 fail:
17530 return NULL;
17531 }
17532
17533
17534 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17535 PyObject *resultobj;
17536 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17537 bool result;
17538 PyObject * obj0 = 0 ;
17539 char *kwnames[] = {
17540 (char *) "self", NULL
17541 };
17542
17543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
17544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17545 {
17546 PyThreadState* __tstate = wxPyBeginAllowThreads();
17547 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
17548
17549 wxPyEndAllowThreads(__tstate);
17550 if (PyErr_Occurred()) SWIG_fail;
17551 }
17552 resultobj = PyInt_FromLong((long)result);
17553 return resultobj;
17554 fail:
17555 return NULL;
17556 }
17557
17558
17559 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17560 PyObject *resultobj;
17561 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17562 bool result;
17563 PyObject * obj0 = 0 ;
17564 char *kwnames[] = {
17565 (char *) "self", NULL
17566 };
17567
17568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
17569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17570 {
17571 PyThreadState* __tstate = wxPyBeginAllowThreads();
17572 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
17573
17574 wxPyEndAllowThreads(__tstate);
17575 if (PyErr_Occurred()) SWIG_fail;
17576 }
17577 resultobj = PyInt_FromLong((long)result);
17578 return resultobj;
17579 fail:
17580 return NULL;
17581 }
17582
17583
17584 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17585 PyObject *resultobj;
17586 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17587 bool result;
17588 PyObject * obj0 = 0 ;
17589 char *kwnames[] = {
17590 (char *) "self", NULL
17591 };
17592
17593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
17594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17595 {
17596 PyThreadState* __tstate = wxPyBeginAllowThreads();
17597 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
17598
17599 wxPyEndAllowThreads(__tstate);
17600 if (PyErr_Occurred()) SWIG_fail;
17601 }
17602 resultobj = PyInt_FromLong((long)result);
17603 return resultobj;
17604 fail:
17605 return NULL;
17606 }
17607
17608
17609 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
17610 PyObject *resultobj;
17611 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17612 bool result;
17613 PyObject * obj0 = 0 ;
17614 char *kwnames[] = {
17615 (char *) "self", NULL
17616 };
17617
17618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
17619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17620 {
17621 PyThreadState* __tstate = wxPyBeginAllowThreads();
17622 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
17623
17624 wxPyEndAllowThreads(__tstate);
17625 if (PyErr_Occurred()) SWIG_fail;
17626 }
17627 resultobj = PyInt_FromLong((long)result);
17628 return resultobj;
17629 fail:
17630 return NULL;
17631 }
17632
17633
17634 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17635 PyObject *resultobj;
17636 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17637 wxPrintData *result;
17638 PyObject * obj0 = 0 ;
17639 char *kwnames[] = {
17640 (char *) "self", NULL
17641 };
17642
17643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
17644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17645 {
17646 PyThreadState* __tstate = wxPyBeginAllowThreads();
17647 {
17648 wxPrintData &_result_ref = (arg1)->GetPrintData();
17649 result = (wxPrintData *) &_result_ref;
17650 }
17651
17652 wxPyEndAllowThreads(__tstate);
17653 if (PyErr_Occurred()) SWIG_fail;
17654 }
17655 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
17656 return resultobj;
17657 fail:
17658 return NULL;
17659 }
17660
17661
17662 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17663 PyObject *resultobj;
17664 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17665 wxPrintData *arg2 = 0 ;
17666 PyObject * obj0 = 0 ;
17667 PyObject * obj1 = 0 ;
17668 char *kwnames[] = {
17669 (char *) "self",(char *) "printData", NULL
17670 };
17671
17672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
17673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17674 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17675 if (arg2 == NULL) {
17676 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17677 }
17678 {
17679 PyThreadState* __tstate = wxPyBeginAllowThreads();
17680 (arg1)->SetPrintData((wxPrintData const &)*arg2);
17681
17682 wxPyEndAllowThreads(__tstate);
17683 if (PyErr_Occurred()) SWIG_fail;
17684 }
17685 Py_INCREF(Py_None); resultobj = Py_None;
17686 return resultobj;
17687 fail:
17688 return NULL;
17689 }
17690
17691
17692 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
17693 PyObject *obj;
17694 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17695 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
17696 Py_INCREF(obj);
17697 return Py_BuildValue((char *)"");
17698 }
17699 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17700 PyObject *resultobj;
17701 wxWindow *arg1 = (wxWindow *) 0 ;
17702 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
17703 wxPrintDialog *result;
17704 PyObject * obj0 = 0 ;
17705 PyObject * obj1 = 0 ;
17706 char *kwnames[] = {
17707 (char *) "parent",(char *) "data", NULL
17708 };
17709
17710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
17711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17712 if (obj1) {
17713 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17714 }
17715 {
17716 PyThreadState* __tstate = wxPyBeginAllowThreads();
17717 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
17718
17719 wxPyEndAllowThreads(__tstate);
17720 if (PyErr_Occurred()) SWIG_fail;
17721 }
17722 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialog, 1);
17723 return resultobj;
17724 fail:
17725 return NULL;
17726 }
17727
17728
17729 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17730 PyObject *resultobj;
17731 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
17732 wxPrintDialogData *result;
17733 PyObject * obj0 = 0 ;
17734 char *kwnames[] = {
17735 (char *) "self", NULL
17736 };
17737
17738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
17739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17740 {
17741 PyThreadState* __tstate = wxPyBeginAllowThreads();
17742 {
17743 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
17744 result = (wxPrintDialogData *) &_result_ref;
17745 }
17746
17747 wxPyEndAllowThreads(__tstate);
17748 if (PyErr_Occurred()) SWIG_fail;
17749 }
17750 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
17751 return resultobj;
17752 fail:
17753 return NULL;
17754 }
17755
17756
17757 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
17758 PyObject *resultobj;
17759 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
17760 wxDC *result;
17761 PyObject * obj0 = 0 ;
17762 char *kwnames[] = {
17763 (char *) "self", NULL
17764 };
17765
17766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
17767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17768 {
17769 PyThreadState* __tstate = wxPyBeginAllowThreads();
17770 result = (wxDC *)(arg1)->GetPrintDC();
17771
17772 wxPyEndAllowThreads(__tstate);
17773 if (PyErr_Occurred()) SWIG_fail;
17774 }
17775 {
17776 resultobj = wxPyMake_wxObject(result);
17777 }
17778 return resultobj;
17779 fail:
17780 return NULL;
17781 }
17782
17783
17784 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
17785 PyObject *resultobj;
17786 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
17787 int result;
17788 PyObject * obj0 = 0 ;
17789 char *kwnames[] = {
17790 (char *) "self", NULL
17791 };
17792
17793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
17794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17795 {
17796 PyThreadState* __tstate = wxPyBeginAllowThreads();
17797 result = (int)(arg1)->ShowModal();
17798
17799 wxPyEndAllowThreads(__tstate);
17800 if (PyErr_Occurred()) SWIG_fail;
17801 }
17802 resultobj = PyInt_FromLong((long)result);
17803 return resultobj;
17804 fail:
17805 return NULL;
17806 }
17807
17808
17809 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
17810 PyObject *obj;
17811 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17812 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
17813 Py_INCREF(obj);
17814 return Py_BuildValue((char *)"");
17815 }
17816 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
17817 PyObject *resultobj;
17818 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
17819 wxPrinter *result;
17820 PyObject * obj0 = 0 ;
17821 char *kwnames[] = {
17822 (char *) "data", NULL
17823 };
17824
17825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
17826 if (obj0) {
17827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17828 }
17829 {
17830 PyThreadState* __tstate = wxPyBeginAllowThreads();
17831 result = (wxPrinter *)new wxPrinter(arg1);
17832
17833 wxPyEndAllowThreads(__tstate);
17834 if (PyErr_Occurred()) SWIG_fail;
17835 }
17836 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrinter, 1);
17837 return resultobj;
17838 fail:
17839 return NULL;
17840 }
17841
17842
17843 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
17844 PyObject *resultobj;
17845 wxPrinter *arg1 = (wxPrinter *) 0 ;
17846 PyObject * obj0 = 0 ;
17847 char *kwnames[] = {
17848 (char *) "self", NULL
17849 };
17850
17851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
17852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17853 {
17854 PyThreadState* __tstate = wxPyBeginAllowThreads();
17855 delete arg1;
17856
17857 wxPyEndAllowThreads(__tstate);
17858 if (PyErr_Occurred()) SWIG_fail;
17859 }
17860 Py_INCREF(Py_None); resultobj = Py_None;
17861 return resultobj;
17862 fail:
17863 return NULL;
17864 }
17865
17866
17867 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17868 PyObject *resultobj;
17869 wxPrinter *arg1 = (wxPrinter *) 0 ;
17870 wxWindow *arg2 = (wxWindow *) 0 ;
17871 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
17872 PyObject * obj0 = 0 ;
17873 PyObject * obj1 = 0 ;
17874 PyObject * obj2 = 0 ;
17875 char *kwnames[] = {
17876 (char *) "self",(char *) "parent",(char *) "printout", NULL
17877 };
17878
17879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
17880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17881 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17882 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17883 {
17884 PyThreadState* __tstate = wxPyBeginAllowThreads();
17885 (arg1)->CreateAbortWindow(arg2,arg3);
17886
17887 wxPyEndAllowThreads(__tstate);
17888 if (PyErr_Occurred()) SWIG_fail;
17889 }
17890 Py_INCREF(Py_None); resultobj = Py_None;
17891 return resultobj;
17892 fail:
17893 return NULL;
17894 }
17895
17896
17897 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17898 PyObject *resultobj;
17899 wxPrinter *arg1 = (wxPrinter *) 0 ;
17900 wxPrintDialogData *result;
17901 PyObject * obj0 = 0 ;
17902 char *kwnames[] = {
17903 (char *) "self", NULL
17904 };
17905
17906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
17907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17908 {
17909 PyThreadState* __tstate = wxPyBeginAllowThreads();
17910 {
17911 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
17912 result = (wxPrintDialogData *) &_result_ref;
17913 }
17914
17915 wxPyEndAllowThreads(__tstate);
17916 if (PyErr_Occurred()) SWIG_fail;
17917 }
17918 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
17919 return resultobj;
17920 fail:
17921 return NULL;
17922 }
17923
17924
17925 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
17926 PyObject *resultobj;
17927 wxPrinter *arg1 = (wxPrinter *) 0 ;
17928 wxWindow *arg2 = (wxWindow *) 0 ;
17929 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
17930 int arg4 = (int) True ;
17931 bool result;
17932 PyObject * obj0 = 0 ;
17933 PyObject * obj1 = 0 ;
17934 PyObject * obj2 = 0 ;
17935 char *kwnames[] = {
17936 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
17937 };
17938
17939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:Printer_Print",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
17940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17941 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17942 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17943 {
17944 PyThreadState* __tstate = wxPyBeginAllowThreads();
17945 result = (bool)(arg1)->Print(arg2,arg3,arg4);
17946
17947 wxPyEndAllowThreads(__tstate);
17948 if (PyErr_Occurred()) SWIG_fail;
17949 }
17950 resultobj = PyInt_FromLong((long)result);
17951 return resultobj;
17952 fail:
17953 return NULL;
17954 }
17955
17956
17957 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17958 PyObject *resultobj;
17959 wxPrinter *arg1 = (wxPrinter *) 0 ;
17960 wxWindow *arg2 = (wxWindow *) 0 ;
17961 wxDC *result;
17962 PyObject * obj0 = 0 ;
17963 PyObject * obj1 = 0 ;
17964 char *kwnames[] = {
17965 (char *) "self",(char *) "parent", NULL
17966 };
17967
17968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
17969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17970 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17971 {
17972 PyThreadState* __tstate = wxPyBeginAllowThreads();
17973 result = (wxDC *)(arg1)->PrintDialog(arg2);
17974
17975 wxPyEndAllowThreads(__tstate);
17976 if (PyErr_Occurred()) SWIG_fail;
17977 }
17978 {
17979 resultobj = wxPyMake_wxObject(result);
17980 }
17981 return resultobj;
17982 fail:
17983 return NULL;
17984 }
17985
17986
17987 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
17988 PyObject *resultobj;
17989 wxPrinter *arg1 = (wxPrinter *) 0 ;
17990 wxWindow *arg2 = (wxWindow *) 0 ;
17991 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
17992 wxString *arg4 = 0 ;
17993 bool temp4 = False ;
17994 PyObject * obj0 = 0 ;
17995 PyObject * obj1 = 0 ;
17996 PyObject * obj2 = 0 ;
17997 PyObject * obj3 = 0 ;
17998 char *kwnames[] = {
17999 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
18000 };
18001
18002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18004 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18005 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18006 {
18007 arg4 = wxString_in_helper(obj3);
18008 if (arg4 == NULL) SWIG_fail;
18009 temp4 = True;
18010 }
18011 {
18012 PyThreadState* __tstate = wxPyBeginAllowThreads();
18013 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
18014
18015 wxPyEndAllowThreads(__tstate);
18016 if (PyErr_Occurred()) SWIG_fail;
18017 }
18018 Py_INCREF(Py_None); resultobj = Py_None;
18019 {
18020 if (temp4)
18021 delete arg4;
18022 }
18023 return resultobj;
18024 fail:
18025 {
18026 if (temp4)
18027 delete arg4;
18028 }
18029 return NULL;
18030 }
18031
18032
18033 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
18034 PyObject *resultobj;
18035 wxPrinter *arg1 = (wxPrinter *) 0 ;
18036 wxWindow *arg2 = (wxWindow *) 0 ;
18037 bool result;
18038 PyObject * obj0 = 0 ;
18039 PyObject * obj1 = 0 ;
18040 char *kwnames[] = {
18041 (char *) "self",(char *) "parent", NULL
18042 };
18043
18044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
18045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18046 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18047 {
18048 PyThreadState* __tstate = wxPyBeginAllowThreads();
18049 result = (bool)(arg1)->Setup(arg2);
18050
18051 wxPyEndAllowThreads(__tstate);
18052 if (PyErr_Occurred()) SWIG_fail;
18053 }
18054 resultobj = PyInt_FromLong((long)result);
18055 return resultobj;
18056 fail:
18057 return NULL;
18058 }
18059
18060
18061 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
18062 PyObject *resultobj;
18063 wxPrinter *arg1 = (wxPrinter *) 0 ;
18064 bool result;
18065 PyObject * obj0 = 0 ;
18066 char *kwnames[] = {
18067 (char *) "self", NULL
18068 };
18069
18070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
18071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18072 {
18073 PyThreadState* __tstate = wxPyBeginAllowThreads();
18074 result = (bool)(arg1)->GetAbort();
18075
18076 wxPyEndAllowThreads(__tstate);
18077 if (PyErr_Occurred()) SWIG_fail;
18078 }
18079 resultobj = PyInt_FromLong((long)result);
18080 return resultobj;
18081 fail:
18082 return NULL;
18083 }
18084
18085
18086 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
18087 PyObject *resultobj;
18088 int result;
18089 char *kwnames[] = {
18090 NULL
18091 };
18092
18093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
18094 {
18095 PyThreadState* __tstate = wxPyBeginAllowThreads();
18096 result = (int)wxPrinter::GetLastError();
18097
18098 wxPyEndAllowThreads(__tstate);
18099 if (PyErr_Occurred()) SWIG_fail;
18100 }
18101 resultobj = PyInt_FromLong((long)result);
18102 return resultobj;
18103 fail:
18104 return NULL;
18105 }
18106
18107
18108 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
18109 PyObject *obj;
18110 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18111 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
18112 Py_INCREF(obj);
18113 return Py_BuildValue((char *)"");
18114 }
18115 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
18116 PyObject *resultobj;
18117 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
18118 wxString *arg1 = (wxString *) &arg1_defvalue ;
18119 wxPyPrintout *result;
18120 bool temp1 = False ;
18121 PyObject * obj0 = 0 ;
18122 char *kwnames[] = {
18123 (char *) "title", NULL
18124 };
18125
18126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
18127 if (obj0) {
18128 {
18129 arg1 = wxString_in_helper(obj0);
18130 if (arg1 == NULL) SWIG_fail;
18131 temp1 = True;
18132 }
18133 }
18134 {
18135 PyThreadState* __tstate = wxPyBeginAllowThreads();
18136 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
18137
18138 wxPyEndAllowThreads(__tstate);
18139 if (PyErr_Occurred()) SWIG_fail;
18140 }
18141 {
18142 resultobj = wxPyMake_wxObject(result);
18143 }
18144 {
18145 if (temp1)
18146 delete arg1;
18147 }
18148 return resultobj;
18149 fail:
18150 {
18151 if (temp1)
18152 delete arg1;
18153 }
18154 return NULL;
18155 }
18156
18157
18158 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18159 PyObject *resultobj;
18160 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18161 PyObject *arg2 = (PyObject *) 0 ;
18162 PyObject *arg3 = (PyObject *) 0 ;
18163 PyObject * obj0 = 0 ;
18164 PyObject * obj1 = 0 ;
18165 PyObject * obj2 = 0 ;
18166 char *kwnames[] = {
18167 (char *) "self",(char *) "self",(char *) "_class", NULL
18168 };
18169
18170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18172 arg2 = obj1;
18173 arg3 = obj2;
18174 {
18175 PyThreadState* __tstate = wxPyBeginAllowThreads();
18176 (arg1)->_setCallbackInfo(arg2,arg3);
18177
18178 wxPyEndAllowThreads(__tstate);
18179 if (PyErr_Occurred()) SWIG_fail;
18180 }
18181 Py_INCREF(Py_None); resultobj = Py_None;
18182 return resultobj;
18183 fail:
18184 return NULL;
18185 }
18186
18187
18188 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
18189 PyObject *resultobj;
18190 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18191 wxString result;
18192 PyObject * obj0 = 0 ;
18193 char *kwnames[] = {
18194 (char *) "self", NULL
18195 };
18196
18197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
18198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18199 {
18200 PyThreadState* __tstate = wxPyBeginAllowThreads();
18201 result = ((wxPyPrintout const *)arg1)->GetTitle();
18202
18203 wxPyEndAllowThreads(__tstate);
18204 if (PyErr_Occurred()) SWIG_fail;
18205 }
18206 {
18207 #if wxUSE_UNICODE
18208 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18209 #else
18210 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18211 #endif
18212 }
18213 return resultobj;
18214 fail:
18215 return NULL;
18216 }
18217
18218
18219 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18220 PyObject *resultobj;
18221 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18222 wxDC *result;
18223 PyObject * obj0 = 0 ;
18224 char *kwnames[] = {
18225 (char *) "self", NULL
18226 };
18227
18228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
18229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18230 {
18231 PyThreadState* __tstate = wxPyBeginAllowThreads();
18232 result = (wxDC *)(arg1)->GetDC();
18233
18234 wxPyEndAllowThreads(__tstate);
18235 if (PyErr_Occurred()) SWIG_fail;
18236 }
18237 {
18238 resultobj = wxPyMake_wxObject(result);
18239 }
18240 return resultobj;
18241 fail:
18242 return NULL;
18243 }
18244
18245
18246 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18247 PyObject *resultobj;
18248 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18249 wxDC *arg2 = (wxDC *) 0 ;
18250 PyObject * obj0 = 0 ;
18251 PyObject * obj1 = 0 ;
18252 char *kwnames[] = {
18253 (char *) "self",(char *) "dc", NULL
18254 };
18255
18256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
18257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18258 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18259 {
18260 PyThreadState* __tstate = wxPyBeginAllowThreads();
18261 (arg1)->SetDC(arg2);
18262
18263 wxPyEndAllowThreads(__tstate);
18264 if (PyErr_Occurred()) SWIG_fail;
18265 }
18266 Py_INCREF(Py_None); resultobj = Py_None;
18267 return resultobj;
18268 fail:
18269 return NULL;
18270 }
18271
18272
18273 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
18274 PyObject *resultobj;
18275 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18276 int arg2 ;
18277 int arg3 ;
18278 PyObject * obj0 = 0 ;
18279 char *kwnames[] = {
18280 (char *) "self",(char *) "w",(char *) "h", NULL
18281 };
18282
18283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizePixels",kwnames,&obj0,&arg2,&arg3)) goto fail;
18284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18285 {
18286 PyThreadState* __tstate = wxPyBeginAllowThreads();
18287 (arg1)->SetPageSizePixels(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_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
18300 PyObject *resultobj;
18301 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18302 int *arg2 = (int *) 0 ;
18303 int *arg3 = (int *) 0 ;
18304 int temp2 ;
18305 int temp3 ;
18306 PyObject * obj0 = 0 ;
18307 char *kwnames[] = {
18308 (char *) "self", NULL
18309 };
18310
18311 arg2 = &temp2;
18312 arg3 = &temp3;
18313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
18314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18315 {
18316 PyThreadState* __tstate = wxPyBeginAllowThreads();
18317 (arg1)->GetPageSizePixels(arg2,arg3);
18318
18319 wxPyEndAllowThreads(__tstate);
18320 if (PyErr_Occurred()) SWIG_fail;
18321 }
18322 Py_INCREF(Py_None); resultobj = Py_None;
18323 {
18324 PyObject *o = PyInt_FromLong((long) (*arg2));
18325 resultobj = t_output_helper(resultobj,o);
18326 }
18327 {
18328 PyObject *o = PyInt_FromLong((long) (*arg3));
18329 resultobj = t_output_helper(resultobj,o);
18330 }
18331 return resultobj;
18332 fail:
18333 return NULL;
18334 }
18335
18336
18337 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18338 PyObject *resultobj;
18339 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18340 int arg2 ;
18341 int arg3 ;
18342 PyObject * obj0 = 0 ;
18343 char *kwnames[] = {
18344 (char *) "self",(char *) "w",(char *) "h", NULL
18345 };
18346
18347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizeMM",kwnames,&obj0,&arg2,&arg3)) goto fail;
18348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18349 {
18350 PyThreadState* __tstate = wxPyBeginAllowThreads();
18351 (arg1)->SetPageSizeMM(arg2,arg3);
18352
18353 wxPyEndAllowThreads(__tstate);
18354 if (PyErr_Occurred()) SWIG_fail;
18355 }
18356 Py_INCREF(Py_None); resultobj = Py_None;
18357 return resultobj;
18358 fail:
18359 return NULL;
18360 }
18361
18362
18363 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18364 PyObject *resultobj;
18365 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18366 int *arg2 = (int *) 0 ;
18367 int *arg3 = (int *) 0 ;
18368 int temp2 ;
18369 int temp3 ;
18370 PyObject * obj0 = 0 ;
18371 char *kwnames[] = {
18372 (char *) "self", NULL
18373 };
18374
18375 arg2 = &temp2;
18376 arg3 = &temp3;
18377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
18378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18379 {
18380 PyThreadState* __tstate = wxPyBeginAllowThreads();
18381 (arg1)->GetPageSizeMM(arg2,arg3);
18382
18383 wxPyEndAllowThreads(__tstate);
18384 if (PyErr_Occurred()) SWIG_fail;
18385 }
18386 Py_INCREF(Py_None); resultobj = Py_None;
18387 {
18388 PyObject *o = PyInt_FromLong((long) (*arg2));
18389 resultobj = t_output_helper(resultobj,o);
18390 }
18391 {
18392 PyObject *o = PyInt_FromLong((long) (*arg3));
18393 resultobj = t_output_helper(resultobj,o);
18394 }
18395 return resultobj;
18396 fail:
18397 return NULL;
18398 }
18399
18400
18401 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18402 PyObject *resultobj;
18403 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18404 int arg2 ;
18405 int arg3 ;
18406 PyObject * obj0 = 0 ;
18407 char *kwnames[] = {
18408 (char *) "self",(char *) "x",(char *) "y", NULL
18409 };
18410
18411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIScreen",kwnames,&obj0,&arg2,&arg3)) goto fail;
18412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18413 {
18414 PyThreadState* __tstate = wxPyBeginAllowThreads();
18415 (arg1)->SetPPIScreen(arg2,arg3);
18416
18417 wxPyEndAllowThreads(__tstate);
18418 if (PyErr_Occurred()) SWIG_fail;
18419 }
18420 Py_INCREF(Py_None); resultobj = Py_None;
18421 return resultobj;
18422 fail:
18423 return NULL;
18424 }
18425
18426
18427 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18428 PyObject *resultobj;
18429 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18430 int *arg2 = (int *) 0 ;
18431 int *arg3 = (int *) 0 ;
18432 int temp2 ;
18433 int temp3 ;
18434 PyObject * obj0 = 0 ;
18435 char *kwnames[] = {
18436 (char *) "self", NULL
18437 };
18438
18439 arg2 = &temp2;
18440 arg3 = &temp3;
18441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
18442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18443 {
18444 PyThreadState* __tstate = wxPyBeginAllowThreads();
18445 (arg1)->GetPPIScreen(arg2,arg3);
18446
18447 wxPyEndAllowThreads(__tstate);
18448 if (PyErr_Occurred()) SWIG_fail;
18449 }
18450 Py_INCREF(Py_None); resultobj = Py_None;
18451 {
18452 PyObject *o = PyInt_FromLong((long) (*arg2));
18453 resultobj = t_output_helper(resultobj,o);
18454 }
18455 {
18456 PyObject *o = PyInt_FromLong((long) (*arg3));
18457 resultobj = t_output_helper(resultobj,o);
18458 }
18459 return resultobj;
18460 fail:
18461 return NULL;
18462 }
18463
18464
18465 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18466 PyObject *resultobj;
18467 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18468 int arg2 ;
18469 int arg3 ;
18470 PyObject * obj0 = 0 ;
18471 char *kwnames[] = {
18472 (char *) "self",(char *) "x",(char *) "y", NULL
18473 };
18474
18475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIPrinter",kwnames,&obj0,&arg2,&arg3)) goto fail;
18476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18477 {
18478 PyThreadState* __tstate = wxPyBeginAllowThreads();
18479 (arg1)->SetPPIPrinter(arg2,arg3);
18480
18481 wxPyEndAllowThreads(__tstate);
18482 if (PyErr_Occurred()) SWIG_fail;
18483 }
18484 Py_INCREF(Py_None); resultobj = Py_None;
18485 return resultobj;
18486 fail:
18487 return NULL;
18488 }
18489
18490
18491 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18492 PyObject *resultobj;
18493 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18494 int *arg2 = (int *) 0 ;
18495 int *arg3 = (int *) 0 ;
18496 int temp2 ;
18497 int temp3 ;
18498 PyObject * obj0 = 0 ;
18499 char *kwnames[] = {
18500 (char *) "self", NULL
18501 };
18502
18503 arg2 = &temp2;
18504 arg3 = &temp3;
18505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
18506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18507 {
18508 PyThreadState* __tstate = wxPyBeginAllowThreads();
18509 (arg1)->GetPPIPrinter(arg2,arg3);
18510
18511 wxPyEndAllowThreads(__tstate);
18512 if (PyErr_Occurred()) SWIG_fail;
18513 }
18514 Py_INCREF(Py_None); resultobj = Py_None;
18515 {
18516 PyObject *o = PyInt_FromLong((long) (*arg2));
18517 resultobj = t_output_helper(resultobj,o);
18518 }
18519 {
18520 PyObject *o = PyInt_FromLong((long) (*arg3));
18521 resultobj = t_output_helper(resultobj,o);
18522 }
18523 return resultobj;
18524 fail:
18525 return NULL;
18526 }
18527
18528
18529 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18530 PyObject *resultobj;
18531 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18532 bool result;
18533 PyObject * obj0 = 0 ;
18534 char *kwnames[] = {
18535 (char *) "self", NULL
18536 };
18537
18538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
18539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18540 {
18541 PyThreadState* __tstate = wxPyBeginAllowThreads();
18542 result = (bool)(arg1)->IsPreview();
18543
18544 wxPyEndAllowThreads(__tstate);
18545 if (PyErr_Occurred()) SWIG_fail;
18546 }
18547 resultobj = PyInt_FromLong((long)result);
18548 return resultobj;
18549 fail:
18550 return NULL;
18551 }
18552
18553
18554 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18555 PyObject *resultobj;
18556 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18557 bool arg2 ;
18558 PyObject * obj0 = 0 ;
18559 PyObject * obj1 = 0 ;
18560 char *kwnames[] = {
18561 (char *) "self",(char *) "p", NULL
18562 };
18563
18564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
18565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18566 arg2 = PyInt_AsLong(obj1) ? true : false;
18567 if (PyErr_Occurred()) SWIG_fail;
18568 {
18569 PyThreadState* __tstate = wxPyBeginAllowThreads();
18570 (arg1)->SetIsPreview(arg2);
18571
18572 wxPyEndAllowThreads(__tstate);
18573 if (PyErr_Occurred()) SWIG_fail;
18574 }
18575 Py_INCREF(Py_None); resultobj = Py_None;
18576 return resultobj;
18577 fail:
18578 return NULL;
18579 }
18580
18581
18582 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
18583 PyObject *resultobj;
18584 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18585 int arg2 ;
18586 int arg3 ;
18587 bool result;
18588 PyObject * obj0 = 0 ;
18589 char *kwnames[] = {
18590 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
18591 };
18592
18593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_base_OnBeginDocument",kwnames,&obj0,&arg2,&arg3)) goto fail;
18594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18595 {
18596 PyThreadState* __tstate = wxPyBeginAllowThreads();
18597 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
18598
18599 wxPyEndAllowThreads(__tstate);
18600 if (PyErr_Occurred()) SWIG_fail;
18601 }
18602 resultobj = PyInt_FromLong((long)result);
18603 return resultobj;
18604 fail:
18605 return NULL;
18606 }
18607
18608
18609 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
18610 PyObject *resultobj;
18611 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18612 PyObject * obj0 = 0 ;
18613 char *kwnames[] = {
18614 (char *) "self", NULL
18615 };
18616
18617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
18618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18619 {
18620 PyThreadState* __tstate = wxPyBeginAllowThreads();
18621 (arg1)->base_OnEndDocument();
18622
18623 wxPyEndAllowThreads(__tstate);
18624 if (PyErr_Occurred()) SWIG_fail;
18625 }
18626 Py_INCREF(Py_None); resultobj = Py_None;
18627 return resultobj;
18628 fail:
18629 return NULL;
18630 }
18631
18632
18633 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18634 PyObject *resultobj;
18635 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18636 PyObject * obj0 = 0 ;
18637 char *kwnames[] = {
18638 (char *) "self", NULL
18639 };
18640
18641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
18642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18643 {
18644 PyThreadState* __tstate = wxPyBeginAllowThreads();
18645 (arg1)->base_OnBeginPrinting();
18646
18647 wxPyEndAllowThreads(__tstate);
18648 if (PyErr_Occurred()) SWIG_fail;
18649 }
18650 Py_INCREF(Py_None); resultobj = Py_None;
18651 return resultobj;
18652 fail:
18653 return NULL;
18654 }
18655
18656
18657 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18658 PyObject *resultobj;
18659 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18660 PyObject * obj0 = 0 ;
18661 char *kwnames[] = {
18662 (char *) "self", NULL
18663 };
18664
18665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
18666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18667 {
18668 PyThreadState* __tstate = wxPyBeginAllowThreads();
18669 (arg1)->base_OnEndPrinting();
18670
18671 wxPyEndAllowThreads(__tstate);
18672 if (PyErr_Occurred()) SWIG_fail;
18673 }
18674 Py_INCREF(Py_None); resultobj = Py_None;
18675 return resultobj;
18676 fail:
18677 return NULL;
18678 }
18679
18680
18681 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18682 PyObject *resultobj;
18683 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18684 PyObject * obj0 = 0 ;
18685 char *kwnames[] = {
18686 (char *) "self", NULL
18687 };
18688
18689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
18690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18691 {
18692 PyThreadState* __tstate = wxPyBeginAllowThreads();
18693 (arg1)->base_OnPreparePrinting();
18694
18695 wxPyEndAllowThreads(__tstate);
18696 if (PyErr_Occurred()) SWIG_fail;
18697 }
18698 Py_INCREF(Py_None); resultobj = Py_None;
18699 return resultobj;
18700 fail:
18701 return NULL;
18702 }
18703
18704
18705 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18706 PyObject *resultobj;
18707 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18708 int arg2 ;
18709 bool result;
18710 PyObject * obj0 = 0 ;
18711 char *kwnames[] = {
18712 (char *) "self",(char *) "page", NULL
18713 };
18714
18715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Printout_base_HasPage",kwnames,&obj0,&arg2)) goto fail;
18716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18717 {
18718 PyThreadState* __tstate = wxPyBeginAllowThreads();
18719 result = (bool)(arg1)->base_HasPage(arg2);
18720
18721 wxPyEndAllowThreads(__tstate);
18722 if (PyErr_Occurred()) SWIG_fail;
18723 }
18724 resultobj = PyInt_FromLong((long)result);
18725 return resultobj;
18726 fail:
18727 return NULL;
18728 }
18729
18730
18731 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18732 PyObject *resultobj;
18733 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18734 int *arg2 = (int *) 0 ;
18735 int *arg3 = (int *) 0 ;
18736 int *arg4 = (int *) 0 ;
18737 int *arg5 = (int *) 0 ;
18738 int temp2 ;
18739 int temp3 ;
18740 int temp4 ;
18741 int temp5 ;
18742 PyObject * obj0 = 0 ;
18743 char *kwnames[] = {
18744 (char *) "self", NULL
18745 };
18746
18747 arg2 = &temp2;
18748 arg3 = &temp3;
18749 arg4 = &temp4;
18750 arg5 = &temp5;
18751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
18752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18753 {
18754 PyThreadState* __tstate = wxPyBeginAllowThreads();
18755 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
18756
18757 wxPyEndAllowThreads(__tstate);
18758 if (PyErr_Occurred()) SWIG_fail;
18759 }
18760 Py_INCREF(Py_None); resultobj = Py_None;
18761 {
18762 PyObject *o = PyInt_FromLong((long) (*arg2));
18763 resultobj = t_output_helper(resultobj,o);
18764 }
18765 {
18766 PyObject *o = PyInt_FromLong((long) (*arg3));
18767 resultobj = t_output_helper(resultobj,o);
18768 }
18769 {
18770 PyObject *o = PyInt_FromLong((long) (*arg4));
18771 resultobj = t_output_helper(resultobj,o);
18772 }
18773 {
18774 PyObject *o = PyInt_FromLong((long) (*arg5));
18775 resultobj = t_output_helper(resultobj,o);
18776 }
18777 return resultobj;
18778 fail:
18779 return NULL;
18780 }
18781
18782
18783 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
18784 PyObject *obj;
18785 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18786 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
18787 Py_INCREF(obj);
18788 return Py_BuildValue((char *)"");
18789 }
18790 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
18791 PyObject *resultobj;
18792 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
18793 wxWindow *arg2 = (wxWindow *) 0 ;
18794 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18795 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18796 wxSize const &arg4_defvalue = wxDefaultSize ;
18797 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18798 long arg5 = (long) 0 ;
18799 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
18800 wxString *arg6 = (wxString *) &arg6_defvalue ;
18801 wxPreviewCanvas *result;
18802 wxPoint temp3 ;
18803 wxSize temp4 ;
18804 bool temp6 = False ;
18805 PyObject * obj0 = 0 ;
18806 PyObject * obj1 = 0 ;
18807 PyObject * obj2 = 0 ;
18808 PyObject * obj3 = 0 ;
18809 PyObject * obj5 = 0 ;
18810 char *kwnames[] = {
18811 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18812 };
18813
18814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
18815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18816 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18817 if (obj2) {
18818 {
18819 arg3 = &temp3;
18820 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18821 }
18822 }
18823 if (obj3) {
18824 {
18825 arg4 = &temp4;
18826 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18827 }
18828 }
18829 if (obj5) {
18830 {
18831 arg6 = wxString_in_helper(obj5);
18832 if (arg6 == NULL) SWIG_fail;
18833 temp6 = True;
18834 }
18835 }
18836 {
18837 PyThreadState* __tstate = wxPyBeginAllowThreads();
18838 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18839
18840 wxPyEndAllowThreads(__tstate);
18841 if (PyErr_Occurred()) SWIG_fail;
18842 }
18843 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 1);
18844 {
18845 if (temp6)
18846 delete arg6;
18847 }
18848 return resultobj;
18849 fail:
18850 {
18851 if (temp6)
18852 delete arg6;
18853 }
18854 return NULL;
18855 }
18856
18857
18858 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
18859 PyObject *obj;
18860 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18861 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
18862 Py_INCREF(obj);
18863 return Py_BuildValue((char *)"");
18864 }
18865 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
18866 PyObject *resultobj;
18867 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
18868 wxFrame *arg2 = (wxFrame *) 0 ;
18869 wxString *arg3 = 0 ;
18870 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18871 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18872 wxSize const &arg5_defvalue = wxDefaultSize ;
18873 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18874 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
18875 wxString const &arg7_defvalue = wxPyFrameNameStr ;
18876 wxString *arg7 = (wxString *) &arg7_defvalue ;
18877 wxPreviewFrame *result;
18878 bool temp3 = False ;
18879 wxPoint temp4 ;
18880 wxSize temp5 ;
18881 bool temp7 = False ;
18882 PyObject * obj0 = 0 ;
18883 PyObject * obj1 = 0 ;
18884 PyObject * obj2 = 0 ;
18885 PyObject * obj3 = 0 ;
18886 PyObject * obj4 = 0 ;
18887 PyObject * obj6 = 0 ;
18888 char *kwnames[] = {
18889 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18890 };
18891
18892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
18893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18894 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18895 {
18896 arg3 = wxString_in_helper(obj2);
18897 if (arg3 == NULL) SWIG_fail;
18898 temp3 = True;
18899 }
18900 if (obj3) {
18901 {
18902 arg4 = &temp4;
18903 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18904 }
18905 }
18906 if (obj4) {
18907 {
18908 arg5 = &temp5;
18909 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18910 }
18911 }
18912 if (obj6) {
18913 {
18914 arg7 = wxString_in_helper(obj6);
18915 if (arg7 == NULL) SWIG_fail;
18916 temp7 = True;
18917 }
18918 }
18919 {
18920 PyThreadState* __tstate = wxPyBeginAllowThreads();
18921 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18922
18923 wxPyEndAllowThreads(__tstate);
18924 if (PyErr_Occurred()) SWIG_fail;
18925 }
18926 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewFrame, 1);
18927 {
18928 if (temp3)
18929 delete arg3;
18930 }
18931 {
18932 if (temp7)
18933 delete arg7;
18934 }
18935 return resultobj;
18936 fail:
18937 {
18938 if (temp3)
18939 delete arg3;
18940 }
18941 {
18942 if (temp7)
18943 delete arg7;
18944 }
18945 return NULL;
18946 }
18947
18948
18949 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
18950 PyObject *resultobj;
18951 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
18952 PyObject * obj0 = 0 ;
18953 char *kwnames[] = {
18954 (char *) "self", NULL
18955 };
18956
18957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
18958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18959 {
18960 PyThreadState* __tstate = wxPyBeginAllowThreads();
18961 (arg1)->Initialize();
18962
18963 wxPyEndAllowThreads(__tstate);
18964 if (PyErr_Occurred()) SWIG_fail;
18965 }
18966 Py_INCREF(Py_None); resultobj = Py_None;
18967 return resultobj;
18968 fail:
18969 return NULL;
18970 }
18971
18972
18973 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
18974 PyObject *resultobj;
18975 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
18976 PyObject * obj0 = 0 ;
18977 char *kwnames[] = {
18978 (char *) "self", NULL
18979 };
18980
18981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
18982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18983 {
18984 PyThreadState* __tstate = wxPyBeginAllowThreads();
18985 (arg1)->CreateControlBar();
18986
18987 wxPyEndAllowThreads(__tstate);
18988 if (PyErr_Occurred()) SWIG_fail;
18989 }
18990 Py_INCREF(Py_None); resultobj = Py_None;
18991 return resultobj;
18992 fail:
18993 return NULL;
18994 }
18995
18996
18997 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
18998 PyObject *resultobj;
18999 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19000 PyObject * obj0 = 0 ;
19001 char *kwnames[] = {
19002 (char *) "self", NULL
19003 };
19004
19005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
19006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19007 {
19008 PyThreadState* __tstate = wxPyBeginAllowThreads();
19009 (arg1)->CreateCanvas();
19010
19011 wxPyEndAllowThreads(__tstate);
19012 if (PyErr_Occurred()) SWIG_fail;
19013 }
19014 Py_INCREF(Py_None); resultobj = Py_None;
19015 return resultobj;
19016 fail:
19017 return NULL;
19018 }
19019
19020
19021 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19022 PyObject *resultobj;
19023 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19024 wxPreviewControlBar *result;
19025 PyObject * obj0 = 0 ;
19026 char *kwnames[] = {
19027 (char *) "self", NULL
19028 };
19029
19030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
19031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19032 {
19033 PyThreadState* __tstate = wxPyBeginAllowThreads();
19034 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
19035
19036 wxPyEndAllowThreads(__tstate);
19037 if (PyErr_Occurred()) SWIG_fail;
19038 }
19039 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 0);
19040 return resultobj;
19041 fail:
19042 return NULL;
19043 }
19044
19045
19046 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
19047 PyObject *obj;
19048 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19049 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
19050 Py_INCREF(obj);
19051 return Py_BuildValue((char *)"");
19052 }
19053 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19054 PyObject *resultobj;
19055 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19056 long arg2 ;
19057 wxWindow *arg3 = (wxWindow *) 0 ;
19058 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19059 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19060 wxSize const &arg5_defvalue = wxDefaultSize ;
19061 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19062 long arg6 = (long) wxTAB_TRAVERSAL ;
19063 wxString const &arg7_defvalue = wxPyPanelNameStr ;
19064 wxString *arg7 = (wxString *) &arg7_defvalue ;
19065 wxPreviewControlBar *result;
19066 wxPoint temp4 ;
19067 wxSize temp5 ;
19068 bool temp7 = False ;
19069 PyObject * obj0 = 0 ;
19070 PyObject * obj2 = 0 ;
19071 PyObject * obj3 = 0 ;
19072 PyObject * obj4 = 0 ;
19073 PyObject * obj6 = 0 ;
19074 char *kwnames[] = {
19075 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19076 };
19077
19078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
19079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19080 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19081 if (obj3) {
19082 {
19083 arg4 = &temp4;
19084 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19085 }
19086 }
19087 if (obj4) {
19088 {
19089 arg5 = &temp5;
19090 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19091 }
19092 }
19093 if (obj6) {
19094 {
19095 arg7 = wxString_in_helper(obj6);
19096 if (arg7 == NULL) SWIG_fail;
19097 temp7 = True;
19098 }
19099 }
19100 {
19101 PyThreadState* __tstate = wxPyBeginAllowThreads();
19102 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19103
19104 wxPyEndAllowThreads(__tstate);
19105 if (PyErr_Occurred()) SWIG_fail;
19106 }
19107 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 1);
19108 {
19109 if (temp7)
19110 delete arg7;
19111 }
19112 return resultobj;
19113 fail:
19114 {
19115 if (temp7)
19116 delete arg7;
19117 }
19118 return NULL;
19119 }
19120
19121
19122 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19123 PyObject *resultobj;
19124 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19125 int result;
19126 PyObject * obj0 = 0 ;
19127 char *kwnames[] = {
19128 (char *) "self", NULL
19129 };
19130
19131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
19132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19133 {
19134 PyThreadState* __tstate = wxPyBeginAllowThreads();
19135 result = (int)(arg1)->GetZoomControl();
19136
19137 wxPyEndAllowThreads(__tstate);
19138 if (PyErr_Occurred()) SWIG_fail;
19139 }
19140 resultobj = PyInt_FromLong((long)result);
19141 return resultobj;
19142 fail:
19143 return NULL;
19144 }
19145
19146
19147 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19148 PyObject *resultobj;
19149 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19150 int arg2 ;
19151 PyObject * obj0 = 0 ;
19152 char *kwnames[] = {
19153 (char *) "self",(char *) "zoom", NULL
19154 };
19155
19156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PreviewControlBar_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
19157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19158 {
19159 PyThreadState* __tstate = wxPyBeginAllowThreads();
19160 (arg1)->SetZoomControl(arg2);
19161
19162 wxPyEndAllowThreads(__tstate);
19163 if (PyErr_Occurred()) SWIG_fail;
19164 }
19165 Py_INCREF(Py_None); resultobj = Py_None;
19166 return resultobj;
19167 fail:
19168 return NULL;
19169 }
19170
19171
19172 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19173 PyObject *resultobj;
19174 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19175 wxPrintPreview *result;
19176 PyObject * obj0 = 0 ;
19177 char *kwnames[] = {
19178 (char *) "self", NULL
19179 };
19180
19181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
19182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19183 {
19184 PyThreadState* __tstate = wxPyBeginAllowThreads();
19185 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
19186
19187 wxPyEndAllowThreads(__tstate);
19188 if (PyErr_Occurred()) SWIG_fail;
19189 }
19190 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 0);
19191 return resultobj;
19192 fail:
19193 return NULL;
19194 }
19195
19196
19197 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
19198 PyObject *resultobj;
19199 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19200 PyObject * obj0 = 0 ;
19201 char *kwnames[] = {
19202 (char *) "self", NULL
19203 };
19204
19205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
19206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19207 {
19208 PyThreadState* __tstate = wxPyBeginAllowThreads();
19209 (arg1)->OnNext();
19210
19211 wxPyEndAllowThreads(__tstate);
19212 if (PyErr_Occurred()) SWIG_fail;
19213 }
19214 Py_INCREF(Py_None); resultobj = Py_None;
19215 return resultobj;
19216 fail:
19217 return NULL;
19218 }
19219
19220
19221 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
19222 PyObject *resultobj;
19223 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19224 PyObject * obj0 = 0 ;
19225 char *kwnames[] = {
19226 (char *) "self", NULL
19227 };
19228
19229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
19230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19231 {
19232 PyThreadState* __tstate = wxPyBeginAllowThreads();
19233 (arg1)->OnPrevious();
19234
19235 wxPyEndAllowThreads(__tstate);
19236 if (PyErr_Occurred()) SWIG_fail;
19237 }
19238 Py_INCREF(Py_None); resultobj = Py_None;
19239 return resultobj;
19240 fail:
19241 return NULL;
19242 }
19243
19244
19245 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
19246 PyObject *resultobj;
19247 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19248 PyObject * obj0 = 0 ;
19249 char *kwnames[] = {
19250 (char *) "self", NULL
19251 };
19252
19253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
19254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19255 {
19256 PyThreadState* __tstate = wxPyBeginAllowThreads();
19257 (arg1)->OnFirst();
19258
19259 wxPyEndAllowThreads(__tstate);
19260 if (PyErr_Occurred()) SWIG_fail;
19261 }
19262 Py_INCREF(Py_None); resultobj = Py_None;
19263 return resultobj;
19264 fail:
19265 return NULL;
19266 }
19267
19268
19269 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
19270 PyObject *resultobj;
19271 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19272 PyObject * obj0 = 0 ;
19273 char *kwnames[] = {
19274 (char *) "self", NULL
19275 };
19276
19277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
19278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19279 {
19280 PyThreadState* __tstate = wxPyBeginAllowThreads();
19281 (arg1)->OnLast();
19282
19283 wxPyEndAllowThreads(__tstate);
19284 if (PyErr_Occurred()) SWIG_fail;
19285 }
19286 Py_INCREF(Py_None); resultobj = Py_None;
19287 return resultobj;
19288 fail:
19289 return NULL;
19290 }
19291
19292
19293 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
19294 PyObject *resultobj;
19295 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19296 PyObject * obj0 = 0 ;
19297 char *kwnames[] = {
19298 (char *) "self", NULL
19299 };
19300
19301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
19302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19303 {
19304 PyThreadState* __tstate = wxPyBeginAllowThreads();
19305 (arg1)->OnGoto();
19306
19307 wxPyEndAllowThreads(__tstate);
19308 if (PyErr_Occurred()) SWIG_fail;
19309 }
19310 Py_INCREF(Py_None); resultobj = Py_None;
19311 return resultobj;
19312 fail:
19313 return NULL;
19314 }
19315
19316
19317 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
19318 PyObject *obj;
19319 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19320 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
19321 Py_INCREF(obj);
19322 return Py_BuildValue((char *)"");
19323 }
19324 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19325 PyObject *resultobj;
19326 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19327 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19328 wxPrintData *arg3 = (wxPrintData *) NULL ;
19329 wxPrintPreview *result;
19330 PyObject * obj0 = 0 ;
19331 PyObject * obj1 = 0 ;
19332 PyObject * obj2 = 0 ;
19333 char *kwnames[] = {
19334 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19335 };
19336
19337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
19338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19339 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19340 if (obj2) {
19341 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19342 }
19343 {
19344 PyThreadState* __tstate = wxPyBeginAllowThreads();
19345 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
19346
19347 wxPyEndAllowThreads(__tstate);
19348 if (PyErr_Occurred()) SWIG_fail;
19349 }
19350 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 1);
19351 return resultobj;
19352 fail:
19353 return NULL;
19354 }
19355
19356
19357 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19358 PyObject *resultobj;
19359 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19360 int arg2 ;
19361 bool result;
19362 PyObject * obj0 = 0 ;
19363 char *kwnames[] = {
19364 (char *) "self",(char *) "pageNum", NULL
19365 };
19366
19367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
19368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19369 {
19370 PyThreadState* __tstate = wxPyBeginAllowThreads();
19371 result = (bool)(arg1)->SetCurrentPage(arg2);
19372
19373 wxPyEndAllowThreads(__tstate);
19374 if (PyErr_Occurred()) SWIG_fail;
19375 }
19376 resultobj = PyInt_FromLong((long)result);
19377 return resultobj;
19378 fail:
19379 return NULL;
19380 }
19381
19382
19383 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19384 PyObject *resultobj;
19385 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19386 int result;
19387 PyObject * obj0 = 0 ;
19388 char *kwnames[] = {
19389 (char *) "self", NULL
19390 };
19391
19392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
19393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19394 {
19395 PyThreadState* __tstate = wxPyBeginAllowThreads();
19396 result = (int)(arg1)->GetCurrentPage();
19397
19398 wxPyEndAllowThreads(__tstate);
19399 if (PyErr_Occurred()) SWIG_fail;
19400 }
19401 resultobj = PyInt_FromLong((long)result);
19402 return resultobj;
19403 fail:
19404 return NULL;
19405 }
19406
19407
19408 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19409 PyObject *resultobj;
19410 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19411 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19412 PyObject * obj0 = 0 ;
19413 PyObject * obj1 = 0 ;
19414 char *kwnames[] = {
19415 (char *) "self",(char *) "printout", NULL
19416 };
19417
19418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
19419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19420 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19421 {
19422 PyThreadState* __tstate = wxPyBeginAllowThreads();
19423 (arg1)->SetPrintout(arg2);
19424
19425 wxPyEndAllowThreads(__tstate);
19426 if (PyErr_Occurred()) SWIG_fail;
19427 }
19428 Py_INCREF(Py_None); resultobj = Py_None;
19429 return resultobj;
19430 fail:
19431 return NULL;
19432 }
19433
19434
19435 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19436 PyObject *resultobj;
19437 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19438 wxPyPrintout *result;
19439 PyObject * obj0 = 0 ;
19440 char *kwnames[] = {
19441 (char *) "self", NULL
19442 };
19443
19444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
19445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19446 {
19447 PyThreadState* __tstate = wxPyBeginAllowThreads();
19448 result = (wxPyPrintout *)(arg1)->GetPrintout();
19449
19450 wxPyEndAllowThreads(__tstate);
19451 if (PyErr_Occurred()) SWIG_fail;
19452 }
19453 {
19454 resultobj = wxPyMake_wxObject(result);
19455 }
19456 return resultobj;
19457 fail:
19458 return NULL;
19459 }
19460
19461
19462 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
19463 PyObject *resultobj;
19464 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19465 wxPyPrintout *result;
19466 PyObject * obj0 = 0 ;
19467 char *kwnames[] = {
19468 (char *) "self", NULL
19469 };
19470
19471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
19472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19473 {
19474 PyThreadState* __tstate = wxPyBeginAllowThreads();
19475 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
19476
19477 wxPyEndAllowThreads(__tstate);
19478 if (PyErr_Occurred()) SWIG_fail;
19479 }
19480 {
19481 resultobj = wxPyMake_wxObject(result);
19482 }
19483 return resultobj;
19484 fail:
19485 return NULL;
19486 }
19487
19488
19489 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19490 PyObject *resultobj;
19491 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19492 wxFrame *arg2 = (wxFrame *) 0 ;
19493 PyObject * obj0 = 0 ;
19494 PyObject * obj1 = 0 ;
19495 char *kwnames[] = {
19496 (char *) "self",(char *) "frame", NULL
19497 };
19498
19499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
19500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19501 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19502 {
19503 PyThreadState* __tstate = wxPyBeginAllowThreads();
19504 (arg1)->SetFrame(arg2);
19505
19506 wxPyEndAllowThreads(__tstate);
19507 if (PyErr_Occurred()) SWIG_fail;
19508 }
19509 Py_INCREF(Py_None); resultobj = Py_None;
19510 return resultobj;
19511 fail:
19512 return NULL;
19513 }
19514
19515
19516 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19517 PyObject *resultobj;
19518 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19519 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19520 PyObject * obj0 = 0 ;
19521 PyObject * obj1 = 0 ;
19522 char *kwnames[] = {
19523 (char *) "self",(char *) "canvas", NULL
19524 };
19525
19526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
19527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19528 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19529 {
19530 PyThreadState* __tstate = wxPyBeginAllowThreads();
19531 (arg1)->SetCanvas(arg2);
19532
19533 wxPyEndAllowThreads(__tstate);
19534 if (PyErr_Occurred()) SWIG_fail;
19535 }
19536 Py_INCREF(Py_None); resultobj = Py_None;
19537 return resultobj;
19538 fail:
19539 return NULL;
19540 }
19541
19542
19543 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19544 PyObject *resultobj;
19545 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19546 wxFrame *result;
19547 PyObject * obj0 = 0 ;
19548 char *kwnames[] = {
19549 (char *) "self", NULL
19550 };
19551
19552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
19553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19554 {
19555 PyThreadState* __tstate = wxPyBeginAllowThreads();
19556 result = (wxFrame *)(arg1)->GetFrame();
19557
19558 wxPyEndAllowThreads(__tstate);
19559 if (PyErr_Occurred()) SWIG_fail;
19560 }
19561 {
19562 resultobj = wxPyMake_wxObject(result);
19563 }
19564 return resultobj;
19565 fail:
19566 return NULL;
19567 }
19568
19569
19570 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19571 PyObject *resultobj;
19572 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19573 wxPreviewCanvas *result;
19574 PyObject * obj0 = 0 ;
19575 char *kwnames[] = {
19576 (char *) "self", NULL
19577 };
19578
19579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
19580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19581 {
19582 PyThreadState* __tstate = wxPyBeginAllowThreads();
19583 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
19584
19585 wxPyEndAllowThreads(__tstate);
19586 if (PyErr_Occurred()) SWIG_fail;
19587 }
19588 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 0);
19589 return resultobj;
19590 fail:
19591 return NULL;
19592 }
19593
19594
19595 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19596 PyObject *resultobj;
19597 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19598 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19599 wxDC *arg3 = 0 ;
19600 bool result;
19601 PyObject * obj0 = 0 ;
19602 PyObject * obj1 = 0 ;
19603 PyObject * obj2 = 0 ;
19604 char *kwnames[] = {
19605 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19606 };
19607
19608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
19609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19610 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19611 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19612 if (arg3 == NULL) {
19613 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19614 }
19615 {
19616 PyThreadState* __tstate = wxPyBeginAllowThreads();
19617 result = (bool)(arg1)->PaintPage(arg2,*arg3);
19618
19619 wxPyEndAllowThreads(__tstate);
19620 if (PyErr_Occurred()) SWIG_fail;
19621 }
19622 resultobj = PyInt_FromLong((long)result);
19623 return resultobj;
19624 fail:
19625 return NULL;
19626 }
19627
19628
19629 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19630 PyObject *resultobj;
19631 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19632 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19633 wxDC *arg3 = 0 ;
19634 bool result;
19635 PyObject * obj0 = 0 ;
19636 PyObject * obj1 = 0 ;
19637 PyObject * obj2 = 0 ;
19638 char *kwnames[] = {
19639 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19640 };
19641
19642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
19643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19644 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19645 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19646 if (arg3 == NULL) {
19647 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19648 }
19649 {
19650 PyThreadState* __tstate = wxPyBeginAllowThreads();
19651 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
19652
19653 wxPyEndAllowThreads(__tstate);
19654 if (PyErr_Occurred()) SWIG_fail;
19655 }
19656 resultobj = PyInt_FromLong((long)result);
19657 return resultobj;
19658 fail:
19659 return NULL;
19660 }
19661
19662
19663 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19664 PyObject *resultobj;
19665 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19666 int arg2 ;
19667 bool result;
19668 PyObject * obj0 = 0 ;
19669 char *kwnames[] = {
19670 (char *) "self",(char *) "pageNum", NULL
19671 };
19672
19673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_RenderPage",kwnames,&obj0,&arg2)) goto fail;
19674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19675 {
19676 PyThreadState* __tstate = wxPyBeginAllowThreads();
19677 result = (bool)(arg1)->RenderPage(arg2);
19678
19679 wxPyEndAllowThreads(__tstate);
19680 if (PyErr_Occurred()) SWIG_fail;
19681 }
19682 resultobj = PyInt_FromLong((long)result);
19683 return resultobj;
19684 fail:
19685 return NULL;
19686 }
19687
19688
19689 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
19690 PyObject *resultobj;
19691 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19692 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19693 PyObject * obj0 = 0 ;
19694 PyObject * obj1 = 0 ;
19695 char *kwnames[] = {
19696 (char *) "self",(char *) "canvas", NULL
19697 };
19698
19699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
19700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19701 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19702 {
19703 PyThreadState* __tstate = wxPyBeginAllowThreads();
19704 (arg1)->AdjustScrollbars(arg2);
19705
19706 wxPyEndAllowThreads(__tstate);
19707 if (PyErr_Occurred()) SWIG_fail;
19708 }
19709 Py_INCREF(Py_None); resultobj = Py_None;
19710 return resultobj;
19711 fail:
19712 return NULL;
19713 }
19714
19715
19716 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19717 PyObject *resultobj;
19718 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19719 wxPrintDialogData *result;
19720 PyObject * obj0 = 0 ;
19721 char *kwnames[] = {
19722 (char *) "self", NULL
19723 };
19724
19725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
19726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19727 {
19728 PyThreadState* __tstate = wxPyBeginAllowThreads();
19729 {
19730 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
19731 result = (wxPrintDialogData *) &_result_ref;
19732 }
19733
19734 wxPyEndAllowThreads(__tstate);
19735 if (PyErr_Occurred()) SWIG_fail;
19736 }
19737 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
19738 return resultobj;
19739 fail:
19740 return NULL;
19741 }
19742
19743
19744 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
19745 PyObject *resultobj;
19746 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19747 int arg2 ;
19748 PyObject * obj0 = 0 ;
19749 char *kwnames[] = {
19750 (char *) "self",(char *) "percent", NULL
19751 };
19752
19753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetZoom",kwnames,&obj0,&arg2)) goto fail;
19754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19755 {
19756 PyThreadState* __tstate = wxPyBeginAllowThreads();
19757 (arg1)->SetZoom(arg2);
19758
19759 wxPyEndAllowThreads(__tstate);
19760 if (PyErr_Occurred()) SWIG_fail;
19761 }
19762 Py_INCREF(Py_None); resultobj = Py_None;
19763 return resultobj;
19764 fail:
19765 return NULL;
19766 }
19767
19768
19769 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
19770 PyObject *resultobj;
19771 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19772 int result;
19773 PyObject * obj0 = 0 ;
19774 char *kwnames[] = {
19775 (char *) "self", NULL
19776 };
19777
19778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
19779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19780 {
19781 PyThreadState* __tstate = wxPyBeginAllowThreads();
19782 result = (int)(arg1)->GetZoom();
19783
19784 wxPyEndAllowThreads(__tstate);
19785 if (PyErr_Occurred()) SWIG_fail;
19786 }
19787 resultobj = PyInt_FromLong((long)result);
19788 return resultobj;
19789 fail:
19790 return NULL;
19791 }
19792
19793
19794 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19795 PyObject *resultobj;
19796 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19797 int result;
19798 PyObject * obj0 = 0 ;
19799 char *kwnames[] = {
19800 (char *) "self", NULL
19801 };
19802
19803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
19804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19805 {
19806 PyThreadState* __tstate = wxPyBeginAllowThreads();
19807 result = (int)(arg1)->GetMaxPage();
19808
19809 wxPyEndAllowThreads(__tstate);
19810 if (PyErr_Occurred()) SWIG_fail;
19811 }
19812 resultobj = PyInt_FromLong((long)result);
19813 return resultobj;
19814 fail:
19815 return NULL;
19816 }
19817
19818
19819 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19820 PyObject *resultobj;
19821 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19822 int result;
19823 PyObject * obj0 = 0 ;
19824 char *kwnames[] = {
19825 (char *) "self", NULL
19826 };
19827
19828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
19829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19830 {
19831 PyThreadState* __tstate = wxPyBeginAllowThreads();
19832 result = (int)(arg1)->GetMinPage();
19833
19834 wxPyEndAllowThreads(__tstate);
19835 if (PyErr_Occurred()) SWIG_fail;
19836 }
19837 resultobj = PyInt_FromLong((long)result);
19838 return resultobj;
19839 fail:
19840 return NULL;
19841 }
19842
19843
19844 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19845 PyObject *resultobj;
19846 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19847 bool result;
19848 PyObject * obj0 = 0 ;
19849 char *kwnames[] = {
19850 (char *) "self", NULL
19851 };
19852
19853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
19854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19855 {
19856 PyThreadState* __tstate = wxPyBeginAllowThreads();
19857 result = (bool)(arg1)->Ok();
19858
19859 wxPyEndAllowThreads(__tstate);
19860 if (PyErr_Occurred()) SWIG_fail;
19861 }
19862 resultobj = PyInt_FromLong((long)result);
19863 return resultobj;
19864 fail:
19865 return NULL;
19866 }
19867
19868
19869 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
19870 PyObject *resultobj;
19871 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19872 bool arg2 ;
19873 PyObject * obj0 = 0 ;
19874 PyObject * obj1 = 0 ;
19875 char *kwnames[] = {
19876 (char *) "self",(char *) "ok", NULL
19877 };
19878
19879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
19880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19881 arg2 = PyInt_AsLong(obj1) ? true : false;
19882 if (PyErr_Occurred()) SWIG_fail;
19883 {
19884 PyThreadState* __tstate = wxPyBeginAllowThreads();
19885 (arg1)->SetOk(arg2);
19886
19887 wxPyEndAllowThreads(__tstate);
19888 if (PyErr_Occurred()) SWIG_fail;
19889 }
19890 Py_INCREF(Py_None); resultobj = Py_None;
19891 return resultobj;
19892 fail:
19893 return NULL;
19894 }
19895
19896
19897 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
19898 PyObject *resultobj;
19899 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19900 bool arg2 ;
19901 bool result;
19902 PyObject * obj0 = 0 ;
19903 PyObject * obj1 = 0 ;
19904 char *kwnames[] = {
19905 (char *) "self",(char *) "interactive", NULL
19906 };
19907
19908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
19909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19910 arg2 = PyInt_AsLong(obj1) ? true : false;
19911 if (PyErr_Occurred()) SWIG_fail;
19912 {
19913 PyThreadState* __tstate = wxPyBeginAllowThreads();
19914 result = (bool)(arg1)->Print(arg2);
19915
19916 wxPyEndAllowThreads(__tstate);
19917 if (PyErr_Occurred()) SWIG_fail;
19918 }
19919 resultobj = PyInt_FromLong((long)result);
19920 return resultobj;
19921 fail:
19922 return NULL;
19923 }
19924
19925
19926 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
19927 PyObject *resultobj;
19928 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19929 PyObject * obj0 = 0 ;
19930 char *kwnames[] = {
19931 (char *) "self", NULL
19932 };
19933
19934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
19935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19936 {
19937 PyThreadState* __tstate = wxPyBeginAllowThreads();
19938 (arg1)->DetermineScaling();
19939
19940 wxPyEndAllowThreads(__tstate);
19941 if (PyErr_Occurred()) SWIG_fail;
19942 }
19943 Py_INCREF(Py_None); resultobj = Py_None;
19944 return resultobj;
19945 fail:
19946 return NULL;
19947 }
19948
19949
19950 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
19951 PyObject *obj;
19952 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19953 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
19954 Py_INCREF(obj);
19955 return Py_BuildValue((char *)"");
19956 }
19957 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19958 PyObject *resultobj;
19959 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19960 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19961 wxPrintData *arg3 = (wxPrintData *) NULL ;
19962 wxPyPrintPreview *result;
19963 PyObject * obj0 = 0 ;
19964 PyObject * obj1 = 0 ;
19965 PyObject * obj2 = 0 ;
19966 char *kwnames[] = {
19967 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19968 };
19969
19970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PyPrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
19971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19972 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19973 if (obj2) {
19974 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19975 }
19976 {
19977 PyThreadState* __tstate = wxPyBeginAllowThreads();
19978 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
19979
19980 wxPyEndAllowThreads(__tstate);
19981 if (PyErr_Occurred()) SWIG_fail;
19982 }
19983 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPrintPreview, 1);
19984 return resultobj;
19985 fail:
19986 return NULL;
19987 }
19988
19989
19990 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19991 PyObject *resultobj;
19992 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
19993 PyObject *arg2 = (PyObject *) 0 ;
19994 PyObject *arg3 = (PyObject *) 0 ;
19995 PyObject * obj0 = 0 ;
19996 PyObject * obj1 = 0 ;
19997 PyObject * obj2 = 0 ;
19998 char *kwnames[] = {
19999 (char *) "self",(char *) "self",(char *) "_class", NULL
20000 };
20001
20002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20004 arg2 = obj1;
20005 arg3 = obj2;
20006 {
20007 PyThreadState* __tstate = wxPyBeginAllowThreads();
20008 (arg1)->_setCallbackInfo(arg2,arg3);
20009
20010 wxPyEndAllowThreads(__tstate);
20011 if (PyErr_Occurred()) SWIG_fail;
20012 }
20013 Py_INCREF(Py_None); resultobj = Py_None;
20014 return resultobj;
20015 fail:
20016 return NULL;
20017 }
20018
20019
20020 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20021 PyObject *resultobj;
20022 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20023 int arg2 ;
20024 bool result;
20025 PyObject * obj0 = 0 ;
20026 char *kwnames[] = {
20027 (char *) "self",(char *) "pageNum", NULL
20028 };
20029
20030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
20031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20032 {
20033 PyThreadState* __tstate = wxPyBeginAllowThreads();
20034 result = (bool)(arg1)->base_SetCurrentPage(arg2);
20035
20036 wxPyEndAllowThreads(__tstate);
20037 if (PyErr_Occurred()) SWIG_fail;
20038 }
20039 resultobj = PyInt_FromLong((long)result);
20040 return resultobj;
20041 fail:
20042 return NULL;
20043 }
20044
20045
20046 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20047 PyObject *resultobj;
20048 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20049 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20050 wxDC *arg3 = 0 ;
20051 bool result;
20052 PyObject * obj0 = 0 ;
20053 PyObject * obj1 = 0 ;
20054 PyObject * obj2 = 0 ;
20055 char *kwnames[] = {
20056 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20057 };
20058
20059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20061 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20062 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20063 if (arg3 == NULL) {
20064 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20065 }
20066 {
20067 PyThreadState* __tstate = wxPyBeginAllowThreads();
20068 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
20069
20070 wxPyEndAllowThreads(__tstate);
20071 if (PyErr_Occurred()) SWIG_fail;
20072 }
20073 resultobj = PyInt_FromLong((long)result);
20074 return resultobj;
20075 fail:
20076 return NULL;
20077 }
20078
20079
20080 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20081 PyObject *resultobj;
20082 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20083 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20084 wxDC *arg3 = 0 ;
20085 bool result;
20086 PyObject * obj0 = 0 ;
20087 PyObject * obj1 = 0 ;
20088 PyObject * obj2 = 0 ;
20089 char *kwnames[] = {
20090 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20091 };
20092
20093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20095 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20096 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20097 if (arg3 == NULL) {
20098 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20099 }
20100 {
20101 PyThreadState* __tstate = wxPyBeginAllowThreads();
20102 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
20103
20104 wxPyEndAllowThreads(__tstate);
20105 if (PyErr_Occurred()) SWIG_fail;
20106 }
20107 resultobj = PyInt_FromLong((long)result);
20108 return resultobj;
20109 fail:
20110 return NULL;
20111 }
20112
20113
20114 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20115 PyObject *resultobj;
20116 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20117 int arg2 ;
20118 bool result;
20119 PyObject * obj0 = 0 ;
20120 char *kwnames[] = {
20121 (char *) "self",(char *) "pageNum", NULL
20122 };
20123
20124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_RenderPage",kwnames,&obj0,&arg2)) goto fail;
20125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20126 {
20127 PyThreadState* __tstate = wxPyBeginAllowThreads();
20128 result = (bool)(arg1)->base_RenderPage(arg2);
20129
20130 wxPyEndAllowThreads(__tstate);
20131 if (PyErr_Occurred()) SWIG_fail;
20132 }
20133 resultobj = PyInt_FromLong((long)result);
20134 return resultobj;
20135 fail:
20136 return NULL;
20137 }
20138
20139
20140 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20141 PyObject *resultobj;
20142 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20143 int arg2 ;
20144 PyObject * obj0 = 0 ;
20145 char *kwnames[] = {
20146 (char *) "self",(char *) "percent", NULL
20147 };
20148
20149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetZoom",kwnames,&obj0,&arg2)) goto fail;
20150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20151 {
20152 PyThreadState* __tstate = wxPyBeginAllowThreads();
20153 (arg1)->base_SetZoom(arg2);
20154
20155 wxPyEndAllowThreads(__tstate);
20156 if (PyErr_Occurred()) SWIG_fail;
20157 }
20158 Py_INCREF(Py_None); resultobj = Py_None;
20159 return resultobj;
20160 fail:
20161 return NULL;
20162 }
20163
20164
20165 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
20166 PyObject *resultobj;
20167 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20168 bool arg2 ;
20169 bool result;
20170 PyObject * obj0 = 0 ;
20171 PyObject * obj1 = 0 ;
20172 char *kwnames[] = {
20173 (char *) "self",(char *) "interactive", NULL
20174 };
20175
20176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
20177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20178 arg2 = PyInt_AsLong(obj1) ? true : false;
20179 if (PyErr_Occurred()) SWIG_fail;
20180 {
20181 PyThreadState* __tstate = wxPyBeginAllowThreads();
20182 result = (bool)(arg1)->base_Print(arg2);
20183
20184 wxPyEndAllowThreads(__tstate);
20185 if (PyErr_Occurred()) SWIG_fail;
20186 }
20187 resultobj = PyInt_FromLong((long)result);
20188 return resultobj;
20189 fail:
20190 return NULL;
20191 }
20192
20193
20194 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
20195 PyObject *resultobj;
20196 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20197 PyObject * obj0 = 0 ;
20198 char *kwnames[] = {
20199 (char *) "self", NULL
20200 };
20201
20202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
20203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20204 {
20205 PyThreadState* __tstate = wxPyBeginAllowThreads();
20206 (arg1)->base_DetermineScaling();
20207
20208 wxPyEndAllowThreads(__tstate);
20209 if (PyErr_Occurred()) SWIG_fail;
20210 }
20211 Py_INCREF(Py_None); resultobj = Py_None;
20212 return resultobj;
20213 fail:
20214 return NULL;
20215 }
20216
20217
20218 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
20219 PyObject *obj;
20220 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20221 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
20222 Py_INCREF(obj);
20223 return Py_BuildValue((char *)"");
20224 }
20225 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
20226 PyObject *resultobj;
20227 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20228 wxFrame *arg2 = (wxFrame *) 0 ;
20229 wxString *arg3 = 0 ;
20230 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20231 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20232 wxSize const &arg5_defvalue = wxDefaultSize ;
20233 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20234 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20235 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20236 wxString *arg7 = (wxString *) &arg7_defvalue ;
20237 wxPyPreviewFrame *result;
20238 bool temp3 = False ;
20239 wxPoint temp4 ;
20240 wxSize temp5 ;
20241 bool temp7 = False ;
20242 PyObject * obj0 = 0 ;
20243 PyObject * obj1 = 0 ;
20244 PyObject * obj2 = 0 ;
20245 PyObject * obj3 = 0 ;
20246 PyObject * obj4 = 0 ;
20247 PyObject * obj6 = 0 ;
20248 char *kwnames[] = {
20249 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20250 };
20251
20252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20254 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20255 {
20256 arg3 = wxString_in_helper(obj2);
20257 if (arg3 == NULL) SWIG_fail;
20258 temp3 = True;
20259 }
20260 if (obj3) {
20261 {
20262 arg4 = &temp4;
20263 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20264 }
20265 }
20266 if (obj4) {
20267 {
20268 arg5 = &temp5;
20269 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20270 }
20271 }
20272 if (obj6) {
20273 {
20274 arg7 = wxString_in_helper(obj6);
20275 if (arg7 == NULL) SWIG_fail;
20276 temp7 = True;
20277 }
20278 }
20279 {
20280 PyThreadState* __tstate = wxPyBeginAllowThreads();
20281 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20282
20283 wxPyEndAllowThreads(__tstate);
20284 if (PyErr_Occurred()) SWIG_fail;
20285 }
20286 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewFrame, 1);
20287 {
20288 if (temp3)
20289 delete arg3;
20290 }
20291 {
20292 if (temp7)
20293 delete arg7;
20294 }
20295 return resultobj;
20296 fail:
20297 {
20298 if (temp3)
20299 delete arg3;
20300 }
20301 {
20302 if (temp7)
20303 delete arg7;
20304 }
20305 return NULL;
20306 }
20307
20308
20309 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20310 PyObject *resultobj;
20311 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20312 PyObject *arg2 = (PyObject *) 0 ;
20313 PyObject *arg3 = (PyObject *) 0 ;
20314 PyObject * obj0 = 0 ;
20315 PyObject * obj1 = 0 ;
20316 PyObject * obj2 = 0 ;
20317 char *kwnames[] = {
20318 (char *) "self",(char *) "self",(char *) "_class", NULL
20319 };
20320
20321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20323 arg2 = obj1;
20324 arg3 = obj2;
20325 {
20326 PyThreadState* __tstate = wxPyBeginAllowThreads();
20327 (arg1)->_setCallbackInfo(arg2,arg3);
20328
20329 wxPyEndAllowThreads(__tstate);
20330 if (PyErr_Occurred()) SWIG_fail;
20331 }
20332 Py_INCREF(Py_None); resultobj = Py_None;
20333 return resultobj;
20334 fail:
20335 return NULL;
20336 }
20337
20338
20339 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20340 PyObject *resultobj;
20341 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20342 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20343 PyObject * obj0 = 0 ;
20344 PyObject * obj1 = 0 ;
20345 char *kwnames[] = {
20346 (char *) "self",(char *) "canvas", NULL
20347 };
20348
20349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
20350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20351 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20352 {
20353 PyThreadState* __tstate = wxPyBeginAllowThreads();
20354 (arg1)->SetPreviewCanvas(arg2);
20355
20356 wxPyEndAllowThreads(__tstate);
20357 if (PyErr_Occurred()) SWIG_fail;
20358 }
20359 Py_INCREF(Py_None); resultobj = Py_None;
20360 return resultobj;
20361 fail:
20362 return NULL;
20363 }
20364
20365
20366 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20367 PyObject *resultobj;
20368 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20369 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
20370 PyObject * obj0 = 0 ;
20371 PyObject * obj1 = 0 ;
20372 char *kwnames[] = {
20373 (char *) "self",(char *) "bar", NULL
20374 };
20375
20376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
20377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20378 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20379 {
20380 PyThreadState* __tstate = wxPyBeginAllowThreads();
20381 (arg1)->SetControlBar(arg2);
20382
20383 wxPyEndAllowThreads(__tstate);
20384 if (PyErr_Occurred()) SWIG_fail;
20385 }
20386 Py_INCREF(Py_None); resultobj = Py_None;
20387 return resultobj;
20388 fail:
20389 return NULL;
20390 }
20391
20392
20393 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
20394 PyObject *resultobj;
20395 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20396 PyObject * obj0 = 0 ;
20397 char *kwnames[] = {
20398 (char *) "self", NULL
20399 };
20400
20401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
20402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20403 {
20404 PyThreadState* __tstate = wxPyBeginAllowThreads();
20405 (arg1)->base_Initialize();
20406
20407 wxPyEndAllowThreads(__tstate);
20408 if (PyErr_Occurred()) SWIG_fail;
20409 }
20410 Py_INCREF(Py_None); resultobj = Py_None;
20411 return resultobj;
20412 fail:
20413 return NULL;
20414 }
20415
20416
20417 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20418 PyObject *resultobj;
20419 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20420 PyObject * obj0 = 0 ;
20421 char *kwnames[] = {
20422 (char *) "self", NULL
20423 };
20424
20425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
20426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20427 {
20428 PyThreadState* __tstate = wxPyBeginAllowThreads();
20429 (arg1)->base_CreateCanvas();
20430
20431 wxPyEndAllowThreads(__tstate);
20432 if (PyErr_Occurred()) SWIG_fail;
20433 }
20434 Py_INCREF(Py_None); resultobj = Py_None;
20435 return resultobj;
20436 fail:
20437 return NULL;
20438 }
20439
20440
20441 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20442 PyObject *resultobj;
20443 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20444 PyObject * obj0 = 0 ;
20445 char *kwnames[] = {
20446 (char *) "self", NULL
20447 };
20448
20449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
20450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20451 {
20452 PyThreadState* __tstate = wxPyBeginAllowThreads();
20453 (arg1)->base_CreateControlBar();
20454
20455 wxPyEndAllowThreads(__tstate);
20456 if (PyErr_Occurred()) SWIG_fail;
20457 }
20458 Py_INCREF(Py_None); resultobj = Py_None;
20459 return resultobj;
20460 fail:
20461 return NULL;
20462 }
20463
20464
20465 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
20466 PyObject *obj;
20467 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20468 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
20469 Py_INCREF(obj);
20470 return Py_BuildValue((char *)"");
20471 }
20472 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20473 PyObject *resultobj;
20474 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20475 long arg2 ;
20476 wxWindow *arg3 = (wxWindow *) 0 ;
20477 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20478 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20479 wxSize const &arg5_defvalue = wxDefaultSize ;
20480 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20481 long arg6 = (long) 0 ;
20482 wxString const &arg7_defvalue = wxPyPanelNameStr ;
20483 wxString *arg7 = (wxString *) &arg7_defvalue ;
20484 wxPyPreviewControlBar *result;
20485 wxPoint temp4 ;
20486 wxSize temp5 ;
20487 bool temp7 = False ;
20488 PyObject * obj0 = 0 ;
20489 PyObject * obj2 = 0 ;
20490 PyObject * obj3 = 0 ;
20491 PyObject * obj4 = 0 ;
20492 PyObject * obj6 = 0 ;
20493 char *kwnames[] = {
20494 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20495 };
20496
20497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PyPreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20499 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20500 if (obj3) {
20501 {
20502 arg4 = &temp4;
20503 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20504 }
20505 }
20506 if (obj4) {
20507 {
20508 arg5 = &temp5;
20509 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20510 }
20511 }
20512 if (obj6) {
20513 {
20514 arg7 = wxString_in_helper(obj6);
20515 if (arg7 == NULL) SWIG_fail;
20516 temp7 = True;
20517 }
20518 }
20519 {
20520 PyThreadState* __tstate = wxPyBeginAllowThreads();
20521 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20522
20523 wxPyEndAllowThreads(__tstate);
20524 if (PyErr_Occurred()) SWIG_fail;
20525 }
20526 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewControlBar, 1);
20527 {
20528 if (temp7)
20529 delete arg7;
20530 }
20531 return resultobj;
20532 fail:
20533 {
20534 if (temp7)
20535 delete arg7;
20536 }
20537 return NULL;
20538 }
20539
20540
20541 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20542 PyObject *resultobj;
20543 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20544 PyObject *arg2 = (PyObject *) 0 ;
20545 PyObject *arg3 = (PyObject *) 0 ;
20546 PyObject * obj0 = 0 ;
20547 PyObject * obj1 = 0 ;
20548 PyObject * obj2 = 0 ;
20549 char *kwnames[] = {
20550 (char *) "self",(char *) "self",(char *) "_class", NULL
20551 };
20552
20553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20555 arg2 = obj1;
20556 arg3 = obj2;
20557 {
20558 PyThreadState* __tstate = wxPyBeginAllowThreads();
20559 (arg1)->_setCallbackInfo(arg2,arg3);
20560
20561 wxPyEndAllowThreads(__tstate);
20562 if (PyErr_Occurred()) SWIG_fail;
20563 }
20564 Py_INCREF(Py_None); resultobj = Py_None;
20565 return resultobj;
20566 fail:
20567 return NULL;
20568 }
20569
20570
20571 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20572 PyObject *resultobj;
20573 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20574 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
20575 PyObject * obj0 = 0 ;
20576 PyObject * obj1 = 0 ;
20577 char *kwnames[] = {
20578 (char *) "self",(char *) "preview", NULL
20579 };
20580
20581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
20582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20583 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20584 {
20585 PyThreadState* __tstate = wxPyBeginAllowThreads();
20586 (arg1)->SetPrintPreview(arg2);
20587
20588 wxPyEndAllowThreads(__tstate);
20589 if (PyErr_Occurred()) SWIG_fail;
20590 }
20591 Py_INCREF(Py_None); resultobj = Py_None;
20592 return resultobj;
20593 fail:
20594 return NULL;
20595 }
20596
20597
20598 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
20599 PyObject *resultobj;
20600 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20601 PyObject * obj0 = 0 ;
20602 char *kwnames[] = {
20603 (char *) "self", NULL
20604 };
20605
20606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
20607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20608 {
20609 PyThreadState* __tstate = wxPyBeginAllowThreads();
20610 (arg1)->base_CreateButtons();
20611
20612 wxPyEndAllowThreads(__tstate);
20613 if (PyErr_Occurred()) SWIG_fail;
20614 }
20615 Py_INCREF(Py_None); resultobj = Py_None;
20616 return resultobj;
20617 fail:
20618 return NULL;
20619 }
20620
20621
20622 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
20623 PyObject *resultobj;
20624 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20625 int arg2 ;
20626 PyObject * obj0 = 0 ;
20627 char *kwnames[] = {
20628 (char *) "self",(char *) "zoom", NULL
20629 };
20630
20631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
20632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20633 {
20634 PyThreadState* __tstate = wxPyBeginAllowThreads();
20635 (arg1)->base_SetZoomControl(arg2);
20636
20637 wxPyEndAllowThreads(__tstate);
20638 if (PyErr_Occurred()) SWIG_fail;
20639 }
20640 Py_INCREF(Py_None); resultobj = Py_None;
20641 return resultobj;
20642 fail:
20643 return NULL;
20644 }
20645
20646
20647 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
20648 PyObject *obj;
20649 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20650 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
20651 Py_INCREF(obj);
20652 return Py_BuildValue((char *)"");
20653 }
20654 static PyMethodDef SwigMethods[] = {
20655 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
20656 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
20657 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
20658 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
20659 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
20660 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20661 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20662 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
20663 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
20664 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
20665 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
20666 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
20667 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
20668 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
20669 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
20670 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
20671 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
20672 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
20673 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
20674 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
20675 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
20676 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
20677 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
20678 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
20679 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
20680 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS },
20681 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS },
20682 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
20683 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
20684 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
20685 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
20686 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
20687 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
20688 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
20689 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
20690 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
20691 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
20692 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
20693 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
20694 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
20695 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
20696 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
20697 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
20698 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
20699 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
20700 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
20701 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
20702 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
20703 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
20704 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
20705 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
20706 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
20707 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
20708 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
20709 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
20710 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
20711 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
20712 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
20713 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
20714 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
20715 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
20716 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
20717 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
20718 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
20719 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
20720 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
20721 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
20722 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
20723 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
20724 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
20725 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
20726 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
20727 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
20728 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20729 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
20730 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS },
20731 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
20732 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
20733 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
20734 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
20735 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
20736 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
20737 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
20738 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
20739 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
20740 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
20741 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
20742 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
20743 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
20744 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
20745 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
20746 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
20747 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
20748 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
20749 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
20750 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
20751 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
20752 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
20753 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
20754 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
20755 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
20756 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
20757 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
20758 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
20759 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
20760 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
20761 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
20762 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
20763 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
20764 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
20765 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
20766 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
20767 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
20768 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
20769 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
20770 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
20771 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
20772 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
20773 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
20774 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
20775 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
20776 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
20777 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
20778 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
20779 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
20780 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
20781 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
20782 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
20783 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
20784 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
20785 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
20786 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
20787 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
20788 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
20789 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
20790 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
20791 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
20792 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
20793 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
20794 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
20795 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
20796 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
20797 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
20798 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
20799 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
20800 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
20801 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
20802 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
20803 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
20804 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
20805 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
20806 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
20807 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
20808 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
20809 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
20810 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
20811 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
20812 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
20813 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
20814 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
20815 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
20816 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
20817 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
20818 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
20819 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
20820 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
20821 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
20822 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
20823 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
20824 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
20825 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
20826 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
20827 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
20828 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
20829 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
20830 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
20831 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
20832 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
20833 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
20834 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
20835 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
20836 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
20837 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
20838 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
20839 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
20840 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
20841 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
20842 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
20843 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
20844 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
20845 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
20846 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
20847 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
20848 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
20849 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
20850 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
20851 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
20852 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
20853 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
20854 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
20855 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
20856 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
20857 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
20858 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
20859 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
20860 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
20861 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
20862 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
20863 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
20864 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
20865 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
20866 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
20867 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20868 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20869 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
20870 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
20871 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
20872 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
20873 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
20874 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
20875 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
20876 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
20877 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
20878 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
20879 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
20880 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
20881 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
20882 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
20883 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
20884 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
20885 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
20886 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
20887 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
20888 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
20889 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
20890 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
20891 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
20892 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
20893 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
20894 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
20895 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
20896 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
20897 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
20898 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
20899 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
20900 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
20901 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
20902 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
20903 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
20904 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
20905 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
20906 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
20907 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
20908 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
20909 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
20910 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
20911 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
20912 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
20913 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
20914 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
20915 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
20916 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
20917 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
20918 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
20919 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
20920 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
20921 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
20922 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
20923 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
20924 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
20925 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
20926 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
20927 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
20928 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
20929 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
20930 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
20931 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
20932 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
20933 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
20934 { (char *)"ColourDialog_ShowModal", (PyCFunction) _wrap_ColourDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20935 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
20936 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
20937 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
20938 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
20939 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
20940 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
20941 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
20942 { (char *)"DirDialog_ShowModal", (PyCFunction) _wrap_DirDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20943 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
20944 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
20945 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
20946 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
20947 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
20948 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
20949 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
20950 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
20951 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
20952 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
20953 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
20954 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
20955 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
20956 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
20957 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
20958 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
20959 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
20960 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
20961 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
20962 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
20963 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
20964 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
20965 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
20966 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
20967 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
20968 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
20969 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
20970 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction) _wrap_SingleChoiceDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20971 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
20972 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
20973 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
20974 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
20975 { (char *)"TextEntryDialog_ShowModal", (PyCFunction) _wrap_TextEntryDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20976 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
20977 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
20978 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
20979 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
20980 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
20981 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
20982 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
20983 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
20984 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
20985 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
20986 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
20987 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
20988 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
20989 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
20990 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
20991 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
20992 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
20993 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
20994 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
20995 { (char *)"FontDialog_ShowModal", (PyCFunction) _wrap_FontDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20996 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
20997 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
20998 { (char *)"MessageDialog_ShowModal", (PyCFunction) _wrap_MessageDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20999 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
21000 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
21001 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
21002 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
21003 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
21004 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
21005 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21006 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
21007 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
21008 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
21009 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21010 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
21011 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
21012 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
21013 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
21014 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
21015 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
21016 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
21017 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
21018 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
21019 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
21020 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
21021 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
21022 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21023 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21024 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
21025 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
21026 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
21027 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
21028 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21029 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21030 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
21031 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
21032 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
21033 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
21034 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
21035 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
21036 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
21037 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
21038 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
21039 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
21040 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21041 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21042 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
21043 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
21044 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
21045 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
21046 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
21047 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21048 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21049 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
21050 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
21051 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
21052 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21053 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21054 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21055 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21056 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21057 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21058 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21059 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21060 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21061 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21062 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21063 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21064 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21065 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
21066 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21067 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21068 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21069 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21070 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21071 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
21072 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
21073 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21074 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21075 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21076 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21077 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21078 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21079 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21080 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21081 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21082 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21083 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21084 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21085 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21086 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
21087 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21088 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21089 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21090 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21091 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21092 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
21093 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
21094 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
21095 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21096 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21097 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21098 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
21099 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
21100 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
21101 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
21102 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21103 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21104 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
21105 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21106 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21107 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21108 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
21109 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
21110 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
21111 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21112 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21113 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
21114 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21115 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21116 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21117 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
21118 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21119 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21120 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21121 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21122 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21123 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
21124 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21125 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21126 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21127 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
21128 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21129 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21130 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21131 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
21132 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21133 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21134 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
21135 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
21136 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
21137 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21138 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21139 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21140 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
21141 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
21142 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
21143 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
21144 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21145 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
21146 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
21147 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
21148 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
21149 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21150 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21151 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21152 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21153 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21154 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21155 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21156 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21157 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21158 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21159 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21160 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21161 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21162 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21163 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21164 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21165 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21166 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21167 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21168 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
21169 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
21170 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
21171 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21172 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
21173 { (char *)"new_PrintDialogData", (PyCFunction) _wrap_new_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21174 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21175 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
21176 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
21177 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21178 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21179 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21180 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
21181 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
21182 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21183 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21184 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21185 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
21186 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
21187 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
21188 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
21189 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21190 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
21191 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
21192 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21193 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21194 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21195 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21196 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
21197 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21198 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21199 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21200 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
21201 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21202 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21203 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21204 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21205 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21206 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
21207 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21208 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21209 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
21210 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21211 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
21212 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
21213 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
21214 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
21215 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21216 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
21217 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21218 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
21219 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
21220 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
21221 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
21222 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
21223 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
21224 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21225 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
21226 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
21227 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
21228 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
21229 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
21230 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21231 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21232 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21233 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21234 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21235 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21236 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
21237 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
21238 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
21239 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
21240 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
21241 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
21242 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
21243 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
21244 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
21245 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
21246 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21247 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
21248 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
21249 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
21250 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21251 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21252 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
21253 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
21254 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21255 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
21256 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21257 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21258 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
21259 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
21260 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
21261 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
21262 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
21263 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
21264 { (char *)"new_PrintPreview", (PyCFunction) _wrap_new_PrintPreview, METH_VARARGS | METH_KEYWORDS },
21265 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21266 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21267 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
21268 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
21269 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
21270 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
21271 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
21272 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
21273 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
21274 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
21275 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21276 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
21277 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
21278 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21279 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
21280 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
21281 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21282 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21283 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
21284 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
21285 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
21286 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21287 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
21288 { (char *)"new_PyPrintPreview", (PyCFunction) _wrap_new_PyPrintPreview, METH_VARARGS | METH_KEYWORDS },
21289 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21290 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21291 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
21292 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21293 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
21294 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
21295 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
21296 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21297 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
21298 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
21299 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21300 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21301 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
21302 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
21303 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21304 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21305 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
21306 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21307 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21308 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21309 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
21310 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21311 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
21312 { NULL, NULL }
21313 };
21314
21315
21316 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21317
21318 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
21319 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21320 }
21321 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
21322 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
21323 }
21324 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
21325 return (void *)((wxEvent *) ((wxMenuEvent *) x));
21326 }
21327 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
21328 return (void *)((wxEvent *) ((wxCloseEvent *) x));
21329 }
21330 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
21331 return (void *)((wxEvent *) ((wxMouseEvent *) x));
21332 }
21333 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
21334 return (void *)((wxEvent *) ((wxEraseEvent *) x));
21335 }
21336 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
21337 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
21338 }
21339 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
21340 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
21341 }
21342 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
21343 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
21344 }
21345 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
21346 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
21347 }
21348 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
21349 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
21350 }
21351 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
21352 return (void *)((wxEvent *) ((wxPyEvent *) x));
21353 }
21354 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
21355 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
21356 }
21357 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
21358 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
21359 }
21360 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
21361 return (void *)((wxEvent *) ((wxIdleEvent *) x));
21362 }
21363 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
21364 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
21365 }
21366 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
21367 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
21368 }
21369 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
21370 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
21371 }
21372 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
21373 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
21374 }
21375 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
21376 return (void *)((wxEvent *) ((wxActivateEvent *) x));
21377 }
21378 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
21379 return (void *)((wxEvent *) ((wxSizeEvent *) x));
21380 }
21381 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
21382 return (void *)((wxEvent *) ((wxMoveEvent *) x));
21383 }
21384 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
21385 return (void *)((wxEvent *) ((wxPaintEvent *) x));
21386 }
21387 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
21388 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
21389 }
21390 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
21391 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
21392 }
21393 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
21394 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
21395 }
21396 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
21397 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
21398 }
21399 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
21400 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21401 }
21402 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
21403 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
21404 }
21405 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
21406 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
21407 }
21408 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
21409 return (void *)((wxEvent *) ((wxFocusEvent *) x));
21410 }
21411 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
21412 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
21413 }
21414 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
21415 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
21416 }
21417 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
21418 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
21419 }
21420 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
21421 return (void *)((wxEvent *) ((wxShowEvent *) x));
21422 }
21423 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
21424 return (void *)((wxEvent *) ((wxCommandEvent *) x));
21425 }
21426 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
21427 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
21428 }
21429 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
21430 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21431 }
21432 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
21433 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
21434 }
21435 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
21436 return (void *)((wxEvent *) ((wxKeyEvent *) x));
21437 }
21438 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
21439 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
21440 }
21441 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
21442 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
21443 }
21444 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
21445 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
21446 }
21447 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
21448 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
21449 }
21450 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
21451 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
21452 }
21453 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
21454 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
21455 }
21456 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
21457 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
21458 }
21459 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
21460 return (void *)((wxEvtHandler *) ((wxValidator *) x));
21461 }
21462 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
21463 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
21464 }
21465 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
21466 return (void *)((wxEvtHandler *) ((wxMenu *) x));
21467 }
21468 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
21469 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
21470 }
21471 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
21472 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
21473 }
21474 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
21475 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
21476 }
21477 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
21478 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
21479 }
21480 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
21481 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
21482 }
21483 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
21484 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
21485 }
21486 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
21487 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
21488 }
21489 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
21490 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
21491 }
21492 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
21493 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
21494 }
21495 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
21496 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
21497 }
21498 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
21499 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
21500 }
21501 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
21502 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
21503 }
21504 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
21505 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
21506 }
21507 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
21508 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
21509 }
21510 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
21511 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
21512 }
21513 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
21514 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
21515 }
21516 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
21517 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
21518 }
21519 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
21520 return (void *)((wxEvtHandler *) ((wxWindow *) x));
21521 }
21522 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
21523 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
21524 }
21525 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
21526 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
21527 }
21528 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
21529 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
21530 }
21531 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
21532 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
21533 }
21534 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
21535 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
21536 }
21537 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
21538 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21539 }
21540 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
21541 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
21542 }
21543 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
21544 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
21545 }
21546 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
21547 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
21548 }
21549 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
21550 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
21551 }
21552 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
21553 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
21554 }
21555 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
21556 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
21557 }
21558 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
21559 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
21560 }
21561 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
21562 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
21563 }
21564 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
21565 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
21566 }
21567 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
21568 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
21569 }
21570 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
21571 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
21572 }
21573 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
21574 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
21575 }
21576 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
21577 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
21578 }
21579 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
21580 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
21581 }
21582 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
21583 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
21584 }
21585 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
21586 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
21587 }
21588 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
21589 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
21590 }
21591 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
21592 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
21593 }
21594 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
21595 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
21596 }
21597 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
21598 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
21599 }
21600 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
21601 return (void *)((wxFrame *) ((wxProgressDialog *) x));
21602 }
21603 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
21604 return (void *)((wxFrame *) ((wxTipWindow *) x));
21605 }
21606 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
21607 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
21608 }
21609 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
21610 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21611 }
21612 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
21613 return (void *)((wxFrame *) ((wxMiniFrame *) x));
21614 }
21615 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
21616 return (void *)((wxFrame *) ((wxSplashScreen *) x));
21617 }
21618 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
21619 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
21620 }
21621 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
21622 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
21623 }
21624 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
21625 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
21626 }
21627 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
21628 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
21629 }
21630 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
21631 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21632 }
21633 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
21634 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
21635 }
21636 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
21637 return (void *)((wxObject *) ((wxSizerItem *) x));
21638 }
21639 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
21640 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
21641 }
21642 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
21643 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
21644 }
21645 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
21646 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
21647 }
21648 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
21649 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
21650 }
21651 static void *_p_wxSizerTo_p_wxObject(void *x) {
21652 return (void *)((wxObject *) ((wxSizer *) x));
21653 }
21654 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
21655 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
21656 }
21657 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
21658 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
21659 }
21660 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
21661 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
21662 }
21663 static void *_p_wxEventTo_p_wxObject(void *x) {
21664 return (void *)((wxObject *) ((wxEvent *) x));
21665 }
21666 static void *_p_wxFontDataTo_p_wxObject(void *x) {
21667 return (void *)((wxObject *) ((wxFontData *) x));
21668 }
21669 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
21670 return (void *)((wxObject *) ((wxPrintData *) x));
21671 }
21672 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
21673 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
21674 }
21675 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
21676 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
21677 }
21678 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
21679 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
21680 }
21681 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
21682 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
21683 }
21684 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
21685 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
21686 }
21687 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
21688 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
21689 }
21690 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
21691 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
21692 }
21693 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
21694 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
21695 }
21696 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
21697 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
21698 }
21699 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
21700 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
21701 }
21702 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
21703 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21704 }
21705 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
21706 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
21707 }
21708 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
21709 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
21710 }
21711 static void *_p_wxControlTo_p_wxObject(void *x) {
21712 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
21713 }
21714 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
21715 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
21716 }
21717 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
21718 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
21719 }
21720 static void *_p_wxFSFileTo_p_wxObject(void *x) {
21721 return (void *)((wxObject *) ((wxFSFile *) x));
21722 }
21723 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
21724 return (void *)((wxObject *) ((wxFindReplaceData *) x));
21725 }
21726 static void *_p_wxPySizerTo_p_wxObject(void *x) {
21727 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
21728 }
21729 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
21730 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
21731 }
21732 static void *_p_wxColourDataTo_p_wxObject(void *x) {
21733 return (void *)((wxObject *) ((wxColourData *) x));
21734 }
21735 static void *_p_wxPyEventTo_p_wxObject(void *x) {
21736 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
21737 }
21738 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
21739 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
21740 }
21741 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
21742 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
21743 }
21744 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
21745 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
21746 }
21747 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
21748 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
21749 }
21750 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
21751 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
21752 }
21753 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
21754 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
21755 }
21756 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
21757 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
21758 }
21759 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
21760 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
21761 }
21762 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
21763 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
21764 }
21765 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
21766 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
21767 }
21768 static void *_p_wxShowEventTo_p_wxObject(void *x) {
21769 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
21770 }
21771 static void *_p_wxPrinterTo_p_wxObject(void *x) {
21772 return (void *)((wxObject *) ((wxPrinter *) x));
21773 }
21774 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
21775 return (void *)((wxObject *) ((wxMenuItem *) x));
21776 }
21777 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
21778 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
21779 }
21780 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
21781 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
21782 }
21783 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
21784 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
21785 }
21786 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
21787 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
21788 }
21789 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
21790 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
21791 }
21792 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
21793 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
21794 }
21795 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
21796 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
21797 }
21798 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
21799 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
21800 }
21801 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
21802 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
21803 }
21804 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
21805 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
21806 }
21807 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
21808 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
21809 }
21810 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
21811 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
21812 }
21813 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
21814 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
21815 }
21816 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
21817 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
21818 }
21819 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
21820 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
21821 }
21822 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
21823 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
21824 }
21825 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
21826 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
21827 }
21828 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
21829 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
21830 }
21831 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
21832 return (void *)((wxObject *) ((wxImageHandler *) x));
21833 }
21834 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
21835 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
21836 }
21837 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
21838 return (void *)((wxObject *) ((wxEvtHandler *) x));
21839 }
21840 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
21841 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
21842 }
21843 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
21844 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
21845 }
21846 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
21847 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
21848 }
21849 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
21850 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
21851 }
21852 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
21853 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
21854 }
21855 static void *_p_wxImageTo_p_wxObject(void *x) {
21856 return (void *)((wxObject *) ((wxImage *) x));
21857 }
21858 static void *_p_wxFrameTo_p_wxObject(void *x) {
21859 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
21860 }
21861 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
21862 return (void *)((wxObject *) ((wxPyPrintout *) x));
21863 }
21864 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
21865 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
21866 }
21867 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
21868 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
21869 }
21870 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
21871 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
21872 }
21873 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
21874 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
21875 }
21876 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
21877 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21878 }
21879 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
21880 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
21881 }
21882 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
21883 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
21884 }
21885 static void *_p_wxWindowTo_p_wxObject(void *x) {
21886 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
21887 }
21888 static void *_p_wxMenuTo_p_wxObject(void *x) {
21889 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
21890 }
21891 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
21892 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
21893 }
21894 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
21895 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
21896 }
21897 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
21898 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
21899 }
21900 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
21901 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
21902 }
21903 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
21904 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
21905 }
21906 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
21907 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
21908 }
21909 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
21910 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
21911 }
21912 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
21913 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
21914 }
21915 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
21916 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
21917 }
21918 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
21919 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
21920 }
21921 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
21922 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
21923 }
21924 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
21925 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
21926 }
21927 static void *_p_wxSashEventTo_p_wxObject(void *x) {
21928 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
21929 }
21930 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
21931 return (void *)((wxObject *) ((wxPrintPreview *) x));
21932 }
21933 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
21934 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
21935 }
21936 static void *_p_wxPanelTo_p_wxObject(void *x) {
21937 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
21938 }
21939 static void *_p_wxDialogTo_p_wxObject(void *x) {
21940 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
21941 }
21942 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
21943 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
21944 }
21945 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
21946 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
21947 }
21948 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
21949 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
21950 }
21951 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
21952 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
21953 }
21954 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
21955 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
21956 }
21957 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
21958 return (void *)((wxObject *) ((wxFileSystem *) x));
21959 }
21960 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
21961 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
21962 }
21963 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
21964 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
21965 }
21966 static void *_p_wxPyAppTo_p_wxObject(void *x) {
21967 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
21968 }
21969 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
21970 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
21971 }
21972 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
21973 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
21974 }
21975 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
21976 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
21977 }
21978 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
21979 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
21980 }
21981 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
21982 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
21983 }
21984 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
21985 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
21986 }
21987 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
21988 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
21989 }
21990 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
21991 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
21992 }
21993 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
21994 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
21995 }
21996 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
21997 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
21998 }
21999 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
22000 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
22001 }
22002 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
22003 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
22004 }
22005 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
22006 return (void *)((wxObject *) ((wxPrintDialogData *) x));
22007 }
22008 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
22009 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
22010 }
22011 static void *_p_wxValidatorTo_p_wxObject(void *x) {
22012 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
22013 }
22014 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
22015 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22016 }
22017 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
22018 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
22019 }
22020 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
22021 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22022 }
22023 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
22024 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
22025 }
22026 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
22027 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
22028 }
22029 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
22030 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
22031 }
22032 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
22033 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
22034 }
22035 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
22036 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
22037 }
22038 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
22039 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
22040 }
22041 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
22042 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
22043 }
22044 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
22045 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
22046 }
22047 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
22048 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
22049 }
22050 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
22051 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
22052 }
22053 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
22054 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
22055 }
22056 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
22057 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
22058 }
22059 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
22060 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
22061 }
22062 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
22063 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
22064 }
22065 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
22066 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
22067 }
22068 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
22069 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
22070 }
22071 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22072 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
22073 }
22074 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22075 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
22076 }
22077 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
22078 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
22079 }
22080 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
22081 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
22082 }
22083 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22084 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
22085 }
22086 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22087 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22088 }
22089 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
22090 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
22091 }
22092 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
22093 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
22094 }
22095 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
22096 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
22097 }
22098 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
22099 return (void *)((wxWindow *) ((wxMenuBar *) x));
22100 }
22101 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
22102 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
22103 }
22104 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
22105 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
22106 }
22107 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
22108 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
22109 }
22110 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
22111 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
22112 }
22113 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
22114 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
22115 }
22116 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
22117 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
22118 }
22119 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
22120 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
22121 }
22122 static void *_p_wxPanelTo_p_wxWindow(void *x) {
22123 return (void *)((wxWindow *) ((wxPanel *) x));
22124 }
22125 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
22126 return (void *)((wxWindow *) ((wxStatusBar *) x));
22127 }
22128 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
22129 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
22130 }
22131 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
22132 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
22133 }
22134 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
22135 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
22136 }
22137 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
22138 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22139 }
22140 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
22141 return (void *)((wxWindow *) ((wxPopupWindow *) x));
22142 }
22143 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
22144 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
22145 }
22146 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
22147 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
22148 }
22149 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
22150 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
22151 }
22152 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
22153 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
22154 }
22155 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
22156 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
22157 }
22158 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
22159 return (void *)((wxWindow *) ((wxSashWindow *) x));
22160 }
22161 static void *_p_wxControlTo_p_wxWindow(void *x) {
22162 return (void *)((wxWindow *) ((wxControl *) x));
22163 }
22164 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
22165 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
22166 }
22167 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
22168 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22169 }
22170 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
22171 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
22172 }
22173 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
22174 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
22175 }
22176 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
22177 return (void *)((wxWindow *) ((wxPyWindow *) x));
22178 }
22179 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
22180 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
22181 }
22182 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
22183 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22184 }
22185 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
22186 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22187 }
22188 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
22189 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
22190 }
22191 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
22192 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22193 }
22194 static void *_p_wxFrameTo_p_wxWindow(void *x) {
22195 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
22196 }
22197 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
22198 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
22199 }
22200 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
22201 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
22202 }
22203 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
22204 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
22205 }
22206 static void *_p_wxDialogTo_p_wxWindow(void *x) {
22207 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
22208 }
22209 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
22210 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22211 }
22212 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
22213 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22214 }
22215 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
22216 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
22217 }
22218 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
22219 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
22220 }
22221 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
22222 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
22223 }
22224 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
22225 return (void *)((wxDialog *) ((wxColourDialog *) x));
22226 }
22227 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
22228 return (void *)((wxDialog *) ((wxDirDialog *) x));
22229 }
22230 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
22231 return (void *)((wxDialog *) ((wxFontDialog *) x));
22232 }
22233 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
22234 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
22235 }
22236 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
22237 return (void *)((wxDialog *) ((wxPrintDialog *) x));
22238 }
22239 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
22240 return (void *)((wxDialog *) ((wxFileDialog *) x));
22241 }
22242 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
22243 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
22244 }
22245 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
22246 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
22247 }
22248 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
22249 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
22250 }
22251 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
22252 return (void *)((wxDialog *) ((wxMessageDialog *) x));
22253 }
22254 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
22255 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
22256 }
22257 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
22258 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
22259 }
22260 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
22261 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
22262 }
22263 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
22264 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22265 }
22266 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
22267 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22268 }
22269 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
22270 return (void *)((wxPanel *) ((wxPyPanel *) x));
22271 }
22272 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
22273 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
22274 }
22275 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
22276 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
22277 }
22278 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
22279 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22280 }
22281 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
22282 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
22283 }
22284 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
22285 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
22286 }
22287 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
22288 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
22289 }
22290 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
22291 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
22292 }
22293 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
22294 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
22295 }
22296 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
22297 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22298 }
22299 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
22300 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
22301 }
22302 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
22303 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
22304 }
22305 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
22306 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
22307 }
22308 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
22309 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
22310 }
22311 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
22312 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
22313 }
22314 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
22315 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22316 }
22317 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
22318 static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame},{0}};
22319 static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
22320 static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
22321 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
22322 static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
22323 static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
22324 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}};
22325 static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
22326 static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
22327 static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
22328 static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
22329 static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
22330 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
22331 static swig_type_info _swigt__p_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
22332 static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
22333 static swig_type_info _swigt__p_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
22334 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
22335 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
22336 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
22337 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
22338 static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
22339 static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
22340 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent},{"_p_wxNotifyEvent"},{0}};
22341 static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
22342 static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
22343 static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
22344 static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
22345 static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
22346 static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
22347 static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
22348 static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
22349 static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
22350 static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
22351 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
22352 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler},{"_p_wxEvtHandler"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler},{0}};
22353 static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
22354 static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
22355 static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox},{0}};
22356 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
22357 static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
22358 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxFrame},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame},{"_p_wxFrame"},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame},{0}};
22359 static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
22360 static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
22361 static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
22362 static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
22363 static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
22364 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
22365 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxFrame", _p_wxFrameTo_p_wxObject},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject},{"_p_wxPanel", _p_wxPanelTo_p_wxObject},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject},{"_p_wxDialog", _p_wxDialogTo_p_wxObject},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{0}};
22366 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
22367 static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
22368 static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
22369 static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{0}};
22370 static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
22371 static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
22372 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}};
22373 static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0},{"_p_wxPopupWindow"},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow},{0}};
22374 static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow},{0}};
22375 static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxTopLevelWindow},{"_p_wxTopLevelWindow"},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow},{0}};
22376 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow},{0}};
22377 static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}};
22378 static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
22379 static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
22380 static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview},{0}};
22381 static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
22382 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
22383 static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
22384 static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
22385 static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
22386 static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
22387 static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
22388 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}};
22389 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}};
22390 static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
22391 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
22392 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}};
22393 static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar},{0}};
22394 static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
22395 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
22396 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
22397 static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
22398 static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
22399
22400 static swig_type_info *swig_types_initial[] = {
22401 _swigt__p_wxQueryLayoutInfoEvent,
22402 _swigt__p_wxPreviewFrame,
22403 _swigt__p_wxPyPreviewFrame,
22404 _swigt__p_wxPyPanel,
22405 _swigt__p_wxMenu,
22406 _swigt__p_wxPrintData,
22407 _swigt__p_wxFontData,
22408 _swigt__p_wxEvent,
22409 _swigt__p_wxTaskBarIcon,
22410 _swigt__p_wxIconBundle,
22411 _swigt__p_wxLayoutAlgorithm,
22412 _swigt__p_wxFindDialogEvent,
22413 _swigt__p_wxPreviewCanvas,
22414 _swigt__p_wxFont,
22415 _swigt__p_wxSplitterEvent,
22416 _swigt__p_wxRegion,
22417 _swigt__p_wxFindReplaceData,
22418 _swigt__p_int,
22419 _swigt__p_wxSize,
22420 _swigt__p_wxDC,
22421 _swigt__p_wxIcon,
22422 _swigt__p_wxMDIChildFrame,
22423 _swigt__p_wxColourData,
22424 _swigt__p_wxNotifyEvent,
22425 _swigt__p_wxPyWindow,
22426 _swigt__p_wxSplashScreen,
22427 _swigt__p_wxFindReplaceDialog,
22428 _swigt__p_wxProgressDialog,
22429 _swigt__p_wxMessageDialog,
22430 _swigt__p_wxTextEntryDialog,
22431 _swigt__p_wxSingleChoiceDialog,
22432 _swigt__p_wxMultiChoiceDialog,
22433 _swigt__p_wxFileDialog,
22434 _swigt__p_wxPrinter,
22435 _swigt__p_wxArrayInt,
22436 _swigt__p_wxEvtHandler,
22437 _swigt__p_wxCalculateLayoutEvent,
22438 _swigt__p_wxPyHtmlListBox,
22439 _swigt__p_wxPyVListBox,
22440 _swigt__p_wxRect,
22441 _swigt__p_wxMiniFrame,
22442 _swigt__p_wxFrame,
22443 _swigt__p_wxPyPrintout,
22444 _swigt__p_wxTaskBarIconEvent,
22445 _swigt__p_wxScrollWinEvent,
22446 _swigt__p_wxStatusBar,
22447 _swigt__p_wxMDIParentFrame,
22448 _swigt__p_wxPoint,
22449 _swigt__p_wxObject,
22450 _swigt__p_unsigned_long,
22451 _swigt__p_wxMDIClientWindow,
22452 _swigt__p_wxTipWindow,
22453 _swigt__p_wxPyPopupTransientWindow,
22454 _swigt__p_wxSashLayoutWindow,
22455 _swigt__p_wxSplitterWindow,
22456 _swigt__p_wxPyVScrolledWindow,
22457 _swigt__p_wxPopupWindow,
22458 _swigt__p_wxSashWindow,
22459 _swigt__p_wxTopLevelWindow,
22460 _swigt__p_wxWindow,
22461 _swigt__p_wxScrolledWindow,
22462 _swigt__p_wxSplashScreenWindow,
22463 _swigt__p_wxMenuBar,
22464 _swigt__p_wxPrintPreview,
22465 _swigt__p_wxSashEvent,
22466 _swigt__p_wxString,
22467 _swigt__p_wxPyPrintPreview,
22468 _swigt__p_wxPageSetupDialog,
22469 _swigt__p_wxFontDialog,
22470 _swigt__p_wxDirDialog,
22471 _swigt__p_wxColourDialog,
22472 _swigt__p_wxDialog,
22473 _swigt__p_wxPanel,
22474 _swigt__p_wxPrintDialog,
22475 _swigt__p_wxBitmap,
22476 _swigt__p_wxCommandEvent,
22477 _swigt__p_wxPreviewControlBar,
22478 _swigt__p_wxPyPreviewControlBar,
22479 _swigt__p_wxColour,
22480 _swigt__p_wxToolBar,
22481 _swigt__p_wxPrintDialogData,
22482 _swigt__p_wxPageSetupDialogData,
22483 0
22484 };
22485
22486
22487 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22488
22489 static swig_const_info swig_const_table[] = {
22490 { SWIG_PY_INT, (char *)"FULLSCREEN_NOMENUBAR", (long) wxFULLSCREEN_NOMENUBAR, 0, 0, 0},
22491 { SWIG_PY_INT, (char *)"FULLSCREEN_NOTOOLBAR", (long) wxFULLSCREEN_NOTOOLBAR, 0, 0, 0},
22492 { SWIG_PY_INT, (char *)"FULLSCREEN_NOSTATUSBAR", (long) wxFULLSCREEN_NOSTATUSBAR, 0, 0, 0},
22493 { SWIG_PY_INT, (char *)"FULLSCREEN_NOBORDER", (long) wxFULLSCREEN_NOBORDER, 0, 0, 0},
22494 { SWIG_PY_INT, (char *)"FULLSCREEN_NOCAPTION", (long) wxFULLSCREEN_NOCAPTION, 0, 0, 0},
22495 { SWIG_PY_INT, (char *)"FULLSCREEN_ALL", (long) wxFULLSCREEN_ALL, 0, 0, 0},
22496 { SWIG_PY_INT, (char *)"TOPLEVEL_EX_DIALOG", (long) wxTOPLEVEL_EX_DIALOG, 0, 0, 0},
22497 { SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_PARENT", (long) wxSPLASH_CENTRE_ON_PARENT, 0, 0, 0},
22498 { SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_SCREEN", (long) wxSPLASH_CENTRE_ON_SCREEN, 0, 0, 0},
22499 { SWIG_PY_INT, (char *)"SPLASH_NO_CENTRE", (long) wxSPLASH_NO_CENTRE, 0, 0, 0},
22500 { SWIG_PY_INT, (char *)"SPLASH_TIMEOUT", (long) wxSPLASH_TIMEOUT, 0, 0, 0},
22501 { SWIG_PY_INT, (char *)"SPLASH_NO_TIMEOUT", (long) wxSPLASH_NO_TIMEOUT, 0, 0, 0},
22502 { SWIG_PY_INT, (char *)"SP_NOBORDER", (long) wxSP_NOBORDER, 0, 0, 0},
22503 { SWIG_PY_INT, (char *)"SP_NOSASH", (long) wxSP_NOSASH, 0, 0, 0},
22504 { SWIG_PY_INT, (char *)"SP_PERMIT_UNSPLIT", (long) wxSP_PERMIT_UNSPLIT, 0, 0, 0},
22505 { SWIG_PY_INT, (char *)"SP_LIVE_UPDATE", (long) wxSP_LIVE_UPDATE, 0, 0, 0},
22506 { SWIG_PY_INT, (char *)"SP_3DSASH", (long) wxSP_3DSASH, 0, 0, 0},
22507 { SWIG_PY_INT, (char *)"SP_3DBORDER", (long) wxSP_3DBORDER, 0, 0, 0},
22508 { SWIG_PY_INT, (char *)"SP_BORDER", (long) wxSP_BORDER, 0, 0, 0},
22509 { SWIG_PY_INT, (char *)"SP_3D", (long) wxSP_3D, 0, 0, 0},
22510 { SWIG_PY_INT, (char *)"SPLIT_HORIZONTAL", (long) wxSPLIT_HORIZONTAL, 0, 0, 0},
22511 { SWIG_PY_INT, (char *)"SPLIT_VERTICAL", (long) wxSPLIT_VERTICAL, 0, 0, 0},
22512 { SWIG_PY_INT, (char *)"SPLIT_DRAG_NONE", (long) wxSPLIT_DRAG_NONE, 0, 0, 0},
22513 { SWIG_PY_INT, (char *)"SPLIT_DRAG_DRAGGING", (long) wxSPLIT_DRAG_DRAGGING, 0, 0, 0},
22514 { SWIG_PY_INT, (char *)"SPLIT_DRAG_LEFT_DOWN", (long) wxSPLIT_DRAG_LEFT_DOWN, 0, 0, 0},
22515 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, 0, 0, 0},
22516 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 0, 0, 0},
22517 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", (long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 0, 0, 0},
22518 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_UNSPLIT", (long) wxEVT_COMMAND_SPLITTER_UNSPLIT, 0, 0, 0},
22519 { SWIG_PY_INT, (char *)"SASH_DRAG_NONE", (long) wxSASH_DRAG_NONE, 0, 0, 0},
22520 { SWIG_PY_INT, (char *)"SASH_DRAG_DRAGGING", (long) wxSASH_DRAG_DRAGGING, 0, 0, 0},
22521 { SWIG_PY_INT, (char *)"SASH_DRAG_LEFT_DOWN", (long) wxSASH_DRAG_LEFT_DOWN, 0, 0, 0},
22522 { SWIG_PY_INT, (char *)"SW_NOBORDER", (long) wxSW_NOBORDER, 0, 0, 0},
22523 { SWIG_PY_INT, (char *)"SW_BORDER", (long) wxSW_BORDER, 0, 0, 0},
22524 { SWIG_PY_INT, (char *)"SW_3DSASH", (long) wxSW_3DSASH, 0, 0, 0},
22525 { SWIG_PY_INT, (char *)"SW_3DBORDER", (long) wxSW_3DBORDER, 0, 0, 0},
22526 { SWIG_PY_INT, (char *)"SW_3D", (long) wxSW_3D, 0, 0, 0},
22527 { SWIG_PY_INT, (char *)"SASH_TOP", (long) wxSASH_TOP, 0, 0, 0},
22528 { SWIG_PY_INT, (char *)"SASH_RIGHT", (long) wxSASH_RIGHT, 0, 0, 0},
22529 { SWIG_PY_INT, (char *)"SASH_BOTTOM", (long) wxSASH_BOTTOM, 0, 0, 0},
22530 { SWIG_PY_INT, (char *)"SASH_LEFT", (long) wxSASH_LEFT, 0, 0, 0},
22531 { SWIG_PY_INT, (char *)"SASH_NONE", (long) wxSASH_NONE, 0, 0, 0},
22532 { SWIG_PY_INT, (char *)"SASH_STATUS_OK", (long) wxSASH_STATUS_OK, 0, 0, 0},
22533 { SWIG_PY_INT, (char *)"SASH_STATUS_OUT_OF_RANGE", (long) wxSASH_STATUS_OUT_OF_RANGE, 0, 0, 0},
22534 { SWIG_PY_INT, (char *)"wxEVT_SASH_DRAGGED", (long) wxEVT_SASH_DRAGGED, 0, 0, 0},
22535 { SWIG_PY_INT, (char *)"LAYOUT_HORIZONTAL", (long) wxLAYOUT_HORIZONTAL, 0, 0, 0},
22536 { SWIG_PY_INT, (char *)"LAYOUT_VERTICAL", (long) wxLAYOUT_VERTICAL, 0, 0, 0},
22537 { SWIG_PY_INT, (char *)"LAYOUT_NONE", (long) wxLAYOUT_NONE, 0, 0, 0},
22538 { SWIG_PY_INT, (char *)"LAYOUT_TOP", (long) wxLAYOUT_TOP, 0, 0, 0},
22539 { SWIG_PY_INT, (char *)"LAYOUT_LEFT", (long) wxLAYOUT_LEFT, 0, 0, 0},
22540 { SWIG_PY_INT, (char *)"LAYOUT_RIGHT", (long) wxLAYOUT_RIGHT, 0, 0, 0},
22541 { SWIG_PY_INT, (char *)"LAYOUT_BOTTOM", (long) wxLAYOUT_BOTTOM, 0, 0, 0},
22542 { SWIG_PY_INT, (char *)"LAYOUT_LENGTH_Y", (long) wxLAYOUT_LENGTH_Y, 0, 0, 0},
22543 { SWIG_PY_INT, (char *)"LAYOUT_LENGTH_X", (long) wxLAYOUT_LENGTH_X, 0, 0, 0},
22544 { SWIG_PY_INT, (char *)"LAYOUT_MRU_LENGTH", (long) wxLAYOUT_MRU_LENGTH, 0, 0, 0},
22545 { SWIG_PY_INT, (char *)"LAYOUT_QUERY", (long) wxLAYOUT_QUERY, 0, 0, 0},
22546 { SWIG_PY_INT, (char *)"wxEVT_QUERY_LAYOUT_INFO", (long) wxEVT_QUERY_LAYOUT_INFO, 0, 0, 0},
22547 { SWIG_PY_INT, (char *)"wxEVT_CALCULATE_LAYOUT", (long) wxEVT_CALCULATE_LAYOUT, 0, 0, 0},
22548 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_MOVE", (long) wxEVT_TASKBAR_MOVE, 0, 0, 0},
22549 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DOWN", (long) wxEVT_TASKBAR_LEFT_DOWN, 0, 0, 0},
22550 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_UP", (long) wxEVT_TASKBAR_LEFT_UP, 0, 0, 0},
22551 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DOWN", (long) wxEVT_TASKBAR_RIGHT_DOWN, 0, 0, 0},
22552 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_UP", (long) wxEVT_TASKBAR_RIGHT_UP, 0, 0, 0},
22553 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DCLICK", (long) wxEVT_TASKBAR_LEFT_DCLICK, 0, 0, 0},
22554 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DCLICK", (long) wxEVT_TASKBAR_RIGHT_DCLICK, 0, 0, 0},
22555 { SWIG_PY_INT, (char *)"CHOICEDLG_STYLE", (long) wxCHOICEDLG_STYLE, 0, 0, 0},
22556 { SWIG_PY_INT, (char *)"FR_DOWN", (long) wxFR_DOWN, 0, 0, 0},
22557 { SWIG_PY_INT, (char *)"FR_WHOLEWORD", (long) wxFR_WHOLEWORD, 0, 0, 0},
22558 { SWIG_PY_INT, (char *)"FR_MATCHCASE", (long) wxFR_MATCHCASE, 0, 0, 0},
22559 { SWIG_PY_INT, (char *)"FR_REPLACEDIALOG", (long) wxFR_REPLACEDIALOG, 0, 0, 0},
22560 { SWIG_PY_INT, (char *)"FR_NOUPDOWN", (long) wxFR_NOUPDOWN, 0, 0, 0},
22561 { SWIG_PY_INT, (char *)"FR_NOMATCHCASE", (long) wxFR_NOMATCHCASE, 0, 0, 0},
22562 { SWIG_PY_INT, (char *)"FR_NOWHOLEWORD", (long) wxFR_NOWHOLEWORD, 0, 0, 0},
22563 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND", (long) wxEVT_COMMAND_FIND, 0, 0, 0},
22564 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_NEXT", (long) wxEVT_COMMAND_FIND_NEXT, 0, 0, 0},
22565 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE", (long) wxEVT_COMMAND_FIND_REPLACE, 0, 0, 0},
22566 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE_ALL", (long) wxEVT_COMMAND_FIND_REPLACE_ALL, 0, 0, 0},
22567 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_CLOSE", (long) wxEVT_COMMAND_FIND_CLOSE, 0, 0, 0},
22568 { SWIG_PY_INT, (char *)"IDM_WINDOWTILE", (long) 4001, 0, 0, 0},
22569 { SWIG_PY_INT, (char *)"IDM_WINDOWTILEHOR", (long) 4001, 0, 0, 0},
22570 { SWIG_PY_INT, (char *)"IDM_WINDOWCASCADE", (long) 4002, 0, 0, 0},
22571 { SWIG_PY_INT, (char *)"IDM_WINDOWICONS", (long) 4003, 0, 0, 0},
22572 { SWIG_PY_INT, (char *)"IDM_WINDOWNEXT", (long) 4004, 0, 0, 0},
22573 { SWIG_PY_INT, (char *)"IDM_WINDOWTILEVERT", (long) 4005, 0, 0, 0},
22574 { SWIG_PY_INT, (char *)"FIRST_MDI_CHILD", (long) 4100, 0, 0, 0},
22575 { SWIG_PY_INT, (char *)"LAST_MDI_CHILD", (long) 4600, 0, 0, 0},
22576 { SWIG_PY_INT, (char *)"PRINT_MODE_NONE", (long) wxPRINT_MODE_NONE, 0, 0, 0},
22577 { SWIG_PY_INT, (char *)"PRINT_MODE_PREVIEW", (long) wxPRINT_MODE_PREVIEW, 0, 0, 0},
22578 { SWIG_PY_INT, (char *)"PRINT_MODE_FILE", (long) wxPRINT_MODE_FILE, 0, 0, 0},
22579 { SWIG_PY_INT, (char *)"PRINT_MODE_PRINTER", (long) wxPRINT_MODE_PRINTER, 0, 0, 0},
22580 { SWIG_PY_INT, (char *)"PRINTER_NO_ERROR", (long) wxPRINTER_NO_ERROR, 0, 0, 0},
22581 { SWIG_PY_INT, (char *)"PRINTER_CANCELLED", (long) wxPRINTER_CANCELLED, 0, 0, 0},
22582 { SWIG_PY_INT, (char *)"PRINTER_ERROR", (long) wxPRINTER_ERROR, 0, 0, 0},
22583 { SWIG_PY_INT, (char *)"PREVIEW_PRINT", (long) wxPREVIEW_PRINT, 0, 0, 0},
22584 { SWIG_PY_INT, (char *)"PREVIEW_PREVIOUS", (long) wxPREVIEW_PREVIOUS, 0, 0, 0},
22585 { SWIG_PY_INT, (char *)"PREVIEW_NEXT", (long) wxPREVIEW_NEXT, 0, 0, 0},
22586 { SWIG_PY_INT, (char *)"PREVIEW_ZOOM", (long) wxPREVIEW_ZOOM, 0, 0, 0},
22587 { SWIG_PY_INT, (char *)"PREVIEW_FIRST", (long) wxPREVIEW_FIRST, 0, 0, 0},
22588 { SWIG_PY_INT, (char *)"PREVIEW_LAST", (long) wxPREVIEW_LAST, 0, 0, 0},
22589 { SWIG_PY_INT, (char *)"PREVIEW_GOTO", (long) wxPREVIEW_GOTO, 0, 0, 0},
22590 { SWIG_PY_INT, (char *)"PREVIEW_DEFAULT", (long) wxPREVIEW_DEFAULT, 0, 0, 0},
22591 { SWIG_PY_INT, (char *)"ID_PREVIEW_CLOSE", (long) wxID_PREVIEW_CLOSE, 0, 0, 0},
22592 { SWIG_PY_INT, (char *)"ID_PREVIEW_NEXT", (long) wxID_PREVIEW_NEXT, 0, 0, 0},
22593 { SWIG_PY_INT, (char *)"ID_PREVIEW_PREVIOUS", (long) wxID_PREVIEW_PREVIOUS, 0, 0, 0},
22594 { SWIG_PY_INT, (char *)"ID_PREVIEW_PRINT", (long) wxID_PREVIEW_PRINT, 0, 0, 0},
22595 { SWIG_PY_INT, (char *)"ID_PREVIEW_ZOOM", (long) wxID_PREVIEW_ZOOM, 0, 0, 0},
22596 { SWIG_PY_INT, (char *)"ID_PREVIEW_FIRST", (long) wxID_PREVIEW_FIRST, 0, 0, 0},
22597 { SWIG_PY_INT, (char *)"ID_PREVIEW_LAST", (long) wxID_PREVIEW_LAST, 0, 0, 0},
22598 { SWIG_PY_INT, (char *)"ID_PREVIEW_GOTO", (long) wxID_PREVIEW_GOTO, 0, 0, 0},
22599 {0}};
22600
22601 #ifdef __cplusplus
22602 }
22603 #endif
22604
22605 #ifdef __cplusplus
22606 extern "C"
22607 #endif
22608 SWIGEXPORT(void) SWIG_init(void) {
22609 static PyObject *SWIG_globals = 0;
22610 static int typeinit = 0;
22611 PyObject *m, *d;
22612 int i;
22613 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
22614 m = Py_InitModule((char *) SWIG_name, SwigMethods);
22615 d = PyModule_GetDict(m);
22616
22617 if (!typeinit) {
22618 for (i = 0; swig_types_initial[i]; i++) {
22619 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
22620 }
22621 typeinit = 1;
22622 }
22623 SWIG_InstallConstants(d,swig_const_table);
22624
22625 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
22626 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
22627 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
22628 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
22629 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
22630 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
22631 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
22632 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
22633 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
22634 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
22635 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
22636 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
22637 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
22638 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
22639 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
22640 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
22641
22642 // Map renamed classes back to their common name for OOR
22643 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
22644 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
22645 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
22646
22647 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
22648 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
22649 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
22650 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
22651 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
22652 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
22653 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
22654 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
22655 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
22656 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
22657 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
22658 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
22659 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
22660 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
22661 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
22662 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
22663 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
22664 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
22665 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
22666 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
22667
22668 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
22669
22670 }
22671