]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/windows_wrap.cpp
Fixed a couple namespace issues
[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_wxPrintQuality swig_types[76]
289 #define SWIGTYPE_p_wxPreviewControlBar swig_types[77]
290 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[78]
291 #define SWIGTYPE_p_wxColour swig_types[79]
292 #define SWIGTYPE_p_wxToolBar swig_types[80]
293 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[81]
294 #define SWIGTYPE_p_wxPrintDialogData swig_types[82]
295 static swig_type_info *swig_types[84];
296
297 /* -------- TYPES TABLE (END) -------- */
298
299
300 /*-----------------------------------------------
301 @(target):= _windows.so
302 ------------------------------------------------*/
303 #define SWIG_init init_windows
304
305 #define SWIG_name "_windows"
306
307 #include "wx/wxPython/wxPython.h"
308 #include "wx/wxPython/pyclasses.h"
309
310 DECLARE_DEF_STRING(PanelNameStr);
311 DECLARE_DEF_STRING(EmptyString);
312
313
314
315
316
317 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
318 PyObject* o2;
319 PyObject* o3;
320
321 if (!target) {
322 target = o;
323 } else if (target == Py_None) {
324 Py_DECREF(Py_None);
325 target = o;
326 } else {
327 if (!PyTuple_Check(target)) {
328 o2 = target;
329 target = PyTuple_New(1);
330 PyTuple_SetItem(target, 0, o2);
331 }
332 o3 = PyTuple_New(1);
333 PyTuple_SetItem(o3, 0, o);
334
335 o2 = target;
336 target = PySequence_Concat(o2, o3);
337 Py_DECREF(o2);
338 Py_DECREF(o3);
339 }
340 return target;
341 }
342
343
344 // Put some wx default wxChar* values into wxStrings.
345 DECLARE_DEF_STRING(FrameNameStr);
346 DECLARE_DEF_STRING(DialogNameStr);
347 DECLARE_DEF_STRING(StatusLineNameStr);
348 DECLARE_DEF_STRING(ToolBarNameStr);
349
350 bool wxDialog_IsModalShowing(wxDialog *self){
351
352
353
354 return self->IsModalShowing();
355
356 }
357
358
359 wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
360 wxRect r;
361 self->GetFieldRect(i, r);
362 return r;
363 }
364
365 static const wxChar* wxSplitterNameStr = wxT("splitter");
366 DECLARE_DEF_STRING(SplitterNameStr);
367
368
369 static const wxChar* wxSashNameStr = wxT("sashWindow");
370 DECLARE_DEF_STRING(SashNameStr);
371 static const wxChar* wxSashLayoutNameStr = wxT("layoutWindow");
372 DECLARE_DEF_STRING(SashLayoutNameStr);
373
374
375 #include <wx/popupwin.h>
376
377
378 class wxPopupWindow : public wxWindow {
379 public:
380 wxPopupWindow(wxWindow *, int) { PyErr_SetNone(PyExc_NotImplementedError); }
381 wxPopupWindow() { PyErr_SetNone(PyExc_NotImplementedError); }
382 };
383
384 class wxPyPopupTransientWindow : public wxPopupWindow
385 {
386 public:
387 wxPyPopupTransientWindow(wxWindow *, int) { PyErr_SetNone(PyExc_NotImplementedError); }
388 wxPyPopupTransientWindow() { PyErr_SetNone(PyExc_NotImplementedError); }
389 };
390
391
392 #include <wx/tipwin.h>
393
394 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
395 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
396 }
397
398 #include <wx/tipwin.h>
399
400
401 #include <wx/vscroll.h>
402
403
404 class wxPyVScrolledWindow : public wxVScrolledWindow
405 {
406 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
407 public:
408 wxPyVScrolledWindow() : wxVScrolledWindow() {}
409
410 wxPyVScrolledWindow(wxWindow *parent,
411 wxWindowID id = wxID_ANY,
412 const wxPoint& pos = wxDefaultPosition,
413 const wxSize& size = wxDefaultSize,
414 long style = 0,
415 const wxString& name = wxPyPanelNameStr)
416 : wxVScrolledWindow(parent, id, pos, size, style, name)
417 {}
418
419 // Overridable virtuals
420
421 // this function must be overridden in the derived class and it should
422 // return the height of the given line in pixels
423 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
424
425
426 // this function doesn't have to be overridden but it may be useful to do
427 // it if calculating the lines heights is a relatively expensive operation
428 // as it gives the user code a possibility to calculate several of them at
429 // once
430 //
431 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
432 // shouldn't rely on the latter being called for all lines in the interval
433 // specified here. It is also possible that OnGetLineHeight() will be
434 // called for the lines outside of this interval, so this is really just a
435 // hint, not a promise.
436 //
437 // finally note that lineMin is inclusive, while lineMax is exclusive, as
438 // usual
439 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
440
441
442 // when the number of lines changes, we try to estimate the total height
443 // of all lines which is a rather expensive operation in terms of lines
444 // access, so if the user code may estimate the average height
445 // better/faster than we do, it should override this function to implement
446 // its own logic
447 //
448 // this function should return the best guess for the total height it may
449 // make
450 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
451
452
453 // Also expose some other interesting protected methods
454
455
456 // find the index of the line we need to show at the top of the window such
457 // that the last (fully or partially) visible line is the given one
458 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
459 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
460
461 // get the total height of the lines between lineMin (inclusive) and
462 // lineMax (exclusive)
463 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
464 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
465
466
467 PYPRIVATE;
468 };
469
470 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
471
472 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
473 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
474 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
475
476
477 #include <wx/vlbox.h>
478 DECLARE_DEF_STRING(VListBoxNameStr);
479
480
481 class wxPyVListBox : public wxVListBox
482 {
483 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
484 public:
485 wxPyVListBox() : wxVListBox() {}
486
487 wxPyVListBox(wxWindow *parent,
488 wxWindowID id = wxID_ANY,
489 const wxPoint& pos = wxDefaultPosition,
490 const wxSize& size = wxDefaultSize,
491 long style = 0,
492 const wxString& name = wxPyVListBoxNameStr)
493 : wxVListBox(parent, id, pos, size, style, name)
494 {}
495
496 // Overridable virtuals
497
498 // the derived class must implement this function to actually draw the item
499 // with the given index on the provided DC
500 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
501 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
502
503
504 // the derived class must implement this method to return the height of the
505 // specified item
506 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
507 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
508
509
510 // this method may be used to draw separators between the lines; note that
511 // the rectangle may be modified, typically to deflate it a bit before
512 // passing to OnDrawItem()
513 //
514 // the base class version doesn't do anything
515 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
516 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
517
518
519 // this method is used to draw the items background and, maybe, a border
520 // around it
521 //
522 // the base class version implements a reasonable default behaviour which
523 // consists in drawing the selected item with the standard background
524 // colour and drawing a border around the item if it is either selected or
525 // current
526 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
527 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
528
529
530 PYPRIVATE;
531 };
532
533 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
534
535 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
536 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
537 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
538 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
539
540
541
542 #include <wx/htmllbox.h>
543
544
545 class wxPyHtmlListBox : public wxHtmlListBox
546 {
547 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
548 public:
549 wxPyHtmlListBox() : wxHtmlListBox() {}
550
551 wxPyHtmlListBox(wxWindow *parent,
552 wxWindowID id = wxID_ANY,
553 const wxPoint& pos = wxDefaultPosition,
554 const wxSize& size = wxDefaultSize,
555 long style = 0,
556 const wxString& name = wxPyVListBoxNameStr)
557 : wxHtmlListBox(parent, id, pos, size, style, name)
558 {}
559
560 // Overridable virtuals
561
562 // this method must be implemented in the derived class and should return
563 // the body (i.e. without <html>) of the HTML for the given item
564 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
565
566 // this function may be overridden to decorate HTML returned by OnGetItem()
567 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
568
569 // TODO:
570 // // this method allows to customize the selection appearance: it may be used
571 // // to specify the colour of the text which normally has the given colour
572 // // colFg when it is inside the selection
573 // //
574 // // by default, the original colour is not used at all and all text has the
575 // // same (default for this system) colour inside selection
576 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
577
578 // // this is the same as GetSelectedTextColour() but allows to customize the
579 // // background colour -- this is even more rarely used as you can change it
580 // // globally using SetSelectionBackground()
581 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
582
583
584 PYPRIVATE;
585 };
586
587
588 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
589
590 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
591 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
592
593
594
595
596
597 #ifdef __WXMAC__
598 // implement dummy classes and such for wxMac
599
600 class wxTaskBarIcon : public wxEvtHandler
601 {
602 public:
603 wxTaskBarIcon() { PyErr_SetNone(PyExc_NotImplementedError); }
604 };
605
606
607 class wxTaskBarIconEvent : public wxEvent
608 {
609 public:
610 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
611 { PyErr_SetNone(PyExc_NotImplementedError); }
612 virtual wxEvent* Clone() const { return NULL; }
613 };
614
615 enum {
616 wxEVT_TASKBAR_MOVE = 0,
617 wxEVT_TASKBAR_LEFT_DOWN = 0,
618 wxEVT_TASKBAR_LEFT_UP = 0,
619 wxEVT_TASKBAR_RIGHT_DOWN = 0,
620 wxEVT_TASKBAR_RIGHT_UP = 0,
621 wxEVT_TASKBAR_LEFT_DCLICK = 0,
622 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
623 };
624 #endif
625
626
627
628 DECLARE_DEF_STRING(FileSelectorPromptStr);
629 DECLARE_DEF_STRING(DirSelectorPromptStr);
630 DECLARE_DEF_STRING(DirDialogNameStr);
631 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr);
632 DECLARE_DEF_STRING(GetTextFromUserPromptStr);
633 DECLARE_DEF_STRING(MessageBoxCaptionStr);
634
635
636 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
637 wxArrayString arr;
638 self->GetFilenames(arr);
639 return wxArrayString2PyList_helper(arr);
640 }
641 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
642 wxArrayString arr;
643 self->GetPaths(arr);
644 return wxArrayString2PyList_helper(arr);
645 }
646 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
647 return wxArrayInt2PyList_helper(self->GetSelections());
648 }
649 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
650 return new wxSingleChoiceDialog(parent, message, caption,
651 choices, choices_array, NULL, style, pos);
652 }
653
654 #include <wx/mdi.h>
655
656 // C++ version of Python aware wxWindow
657 class wxPyWindow : public wxWindow
658 {
659 DECLARE_DYNAMIC_CLASS(wxPyWindow)
660 public:
661 wxPyWindow() : wxWindow() {}
662 wxPyWindow(wxWindow* parent, const wxWindowID id,
663 const wxPoint& pos = wxDefaultPosition,
664 const wxSize& size = wxDefaultSize,
665 long style = 0,
666 const wxString& name = wxPyPanelNameStr)
667 : wxWindow(parent, id, pos, size, style, name) {}
668
669
670 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
671 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
672 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
673 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
674
675 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
676 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
677 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
678
679 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
680 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
681
682 DEC_PYCALLBACK__(InitDialog);
683 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
684 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
685 DEC_PYCALLBACK_BOOL_(Validate);
686
687 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
688 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
689 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
690
691 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
692 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
693
694 PYPRIVATE;
695 };
696
697 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
698
699 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
700 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
701 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
702 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
703
704 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
705 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
706 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
707
708 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
709 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
710
711 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
712 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
713 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
714 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
715
716 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
717 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
718 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
719
720 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
721 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
722
723
724 // C++ version of Python aware wxPanel
725 class wxPyPanel : public wxPanel
726 {
727 DECLARE_DYNAMIC_CLASS(wxPyPanel)
728 public:
729 wxPyPanel() : wxPanel() {}
730 wxPyPanel(wxWindow* parent, const wxWindowID id,
731 const wxPoint& pos = wxDefaultPosition,
732 const wxSize& size = wxDefaultSize,
733 long style = 0,
734 const wxString& name = wxPyPanelNameStr)
735 : wxPanel(parent, id, pos, size, style, name) {}
736
737
738 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
739 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
740 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
741 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
742
743 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
744 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
745 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
746
747 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
748 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
749
750 DEC_PYCALLBACK__(InitDialog);
751 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
752 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
753 DEC_PYCALLBACK_BOOL_(Validate);
754
755 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
756 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
757 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
758
759 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
760 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
761
762 PYPRIVATE;
763 };
764
765 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
766
767 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
768 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
769 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
770 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
771
772 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
773 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
774 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
775
776 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
777 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
778
779 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
780 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
781 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
782 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
783
784 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
785 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
786 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
787
788 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
789 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
790
791
792
793 #include "wx/wxPython/printfw.h"
794
795 static const wxChar* wxPrintoutTitleStr = wxT("Printout");
796 DECLARE_DEF_STRING(PrintoutTitleStr);
797 static const wxChar* wxPreviewCanvasNameStr = wxT("previewcanvas");
798 DECLARE_DEF_STRING(PreviewCanvasNameStr);
799
800
801
802
803
804 // Since this one would be tough and ugly to do with the Macros...
805 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
806 bool hadErr = False;
807 bool found;
808
809 wxPyBeginBlockThreads();
810 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
811 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
812 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
813 PyObject* val;
814
815 val = PyTuple_GetItem(result, 0);
816 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
817 else hadErr = True;
818
819 val = PyTuple_GetItem(result, 1);
820 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
821 else hadErr = True;
822
823 val = PyTuple_GetItem(result, 2);
824 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
825 else hadErr = True;
826
827 val = PyTuple_GetItem(result, 3);
828 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
829 else hadErr = True;
830 }
831 else
832 hadErr = True;
833
834 if (hadErr) {
835 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
836 PyErr_Print();
837 }
838 Py_DECREF(result);
839 }
840 wxPyEndBlockThreads();
841 if (! found)
842 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
843 }
844
845 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
846 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
847 }
848
849
850 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
851 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
852 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
853 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
854 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
855 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
856 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
857
858
859
860
861
862 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
863 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
864 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
865
866
867 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
868 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
869 bool rval=False; \
870 bool found; \
871 wxPyBeginBlockThreads(); \
872 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
873 PyObject* win = wxPyMake_wxObject(a); \
874 PyObject* dc = wxPyMake_wxObject(&b); \
875 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
876 Py_DECREF(win); \
877 Py_DECREF(dc); \
878 } \
879 wxPyEndBlockThreads(); \
880 if (! found) \
881 rval = PCLASS::CBNAME(a, b); \
882 return rval; \
883 } \
884 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
885 return PCLASS::CBNAME(a, b); \
886 }
887
888
889
890
891 class wxPyPrintPreview : public wxPrintPreview
892 {
893 DECLARE_CLASS(wxPyPrintPreview)
894 public:
895 wxPyPrintPreview(wxPyPrintout* printout,
896 wxPyPrintout* printoutForPrinting,
897 wxPrintData* data=NULL)
898 : wxPrintPreview(printout, printoutForPrinting, data)
899 {}
900
901 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
902 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
903 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
904 DEC_PYCALLBACK_BOOL_INT(RenderPage);
905 DEC_PYCALLBACK_VOID_INT(SetZoom);
906 DEC_PYCALLBACK_BOOL_BOOL(Print);
907 DEC_PYCALLBACK_VOID_(DetermineScaling);
908
909 PYPRIVATE;
910 };
911
912 // Stupid renamed classes... Fix this in 2.5...
913 #if defined(__WXMSW__)
914 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
915 #elif defined(__WXMAC__)
916 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
917 #else
918 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
919 #endif
920
921 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
922 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
923 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
924 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
925 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
926 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
927 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
928
929
930 class wxPyPreviewFrame : public wxPreviewFrame
931 {
932 DECLARE_CLASS(wxPyPreviewFrame);
933 public:
934 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
935 const wxString& title,
936 const wxPoint& pos = wxDefaultPosition,
937 const wxSize& size = wxDefaultSize,
938 long style = wxDEFAULT_FRAME_STYLE,
939 const wxString& name = wxPyFrameNameStr)
940 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
941 {}
942
943 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
944 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
945
946 DEC_PYCALLBACK_VOID_(Initialize);
947 DEC_PYCALLBACK_VOID_(CreateCanvas);
948 DEC_PYCALLBACK_VOID_(CreateControlBar);
949
950 PYPRIVATE;
951 };
952
953 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
954
955 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
956 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
957 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
958
959
960 class wxPyPreviewControlBar : public wxPreviewControlBar
961 {
962 DECLARE_CLASS(wxPyPreviewControlBar);
963 public:
964 wxPyPreviewControlBar(wxPrintPreview *preview,
965 long buttons,
966 wxWindow *parent,
967 const wxPoint& pos = wxDefaultPosition,
968 const wxSize& size = wxDefaultSize,
969 long style = 0,
970 const wxString& name = wxPyPanelNameStr)
971 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
972 {}
973
974 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
975
976 DEC_PYCALLBACK_VOID_(CreateButtons);
977 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
978
979 PYPRIVATE;
980 };
981
982 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
983 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
984 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
985
986 #ifdef __cplusplus
987 extern "C" {
988 #endif
989 static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
990 PyObject *resultobj;
991 wxWindow *arg1 = (wxWindow *) 0 ;
992 int arg2 = (int) (int)-1 ;
993 wxPoint const &arg3_defvalue = wxDefaultPosition ;
994 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
995 wxSize const &arg4_defvalue = wxDefaultSize ;
996 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
997 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
998 wxString const &arg6_defvalue = wxPyPanelNameStr ;
999 wxString *arg6 = (wxString *) &arg6_defvalue ;
1000 wxPanel *result;
1001 wxPoint temp3 ;
1002 wxSize temp4 ;
1003 bool temp6 = False ;
1004 PyObject * obj0 = 0 ;
1005 PyObject * obj2 = 0 ;
1006 PyObject * obj3 = 0 ;
1007 PyObject * obj5 = 0 ;
1008 char *kwnames[] = {
1009 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1010 };
1011
1012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_Panel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
1013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1014 if (obj2) {
1015 {
1016 arg3 = &temp3;
1017 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1018 }
1019 }
1020 if (obj3) {
1021 {
1022 arg4 = &temp4;
1023 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1024 }
1025 }
1026 if (obj5) {
1027 {
1028 arg6 = wxString_in_helper(obj5);
1029 if (arg6 == NULL) SWIG_fail;
1030 temp6 = True;
1031 }
1032 }
1033 {
1034 PyThreadState* __tstate = wxPyBeginAllowThreads();
1035 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1036
1037 wxPyEndAllowThreads(__tstate);
1038 if (PyErr_Occurred()) SWIG_fail;
1039 }
1040 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1041 {
1042 if (temp6)
1043 delete arg6;
1044 }
1045 return resultobj;
1046 fail:
1047 {
1048 if (temp6)
1049 delete arg6;
1050 }
1051 return NULL;
1052 }
1053
1054
1055 static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1056 PyObject *resultobj;
1057 wxPanel *result;
1058 char *kwnames[] = {
1059 NULL
1060 };
1061
1062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1063 {
1064 PyThreadState* __tstate = wxPyBeginAllowThreads();
1065 result = (wxPanel *)new wxPanel();
1066
1067 wxPyEndAllowThreads(__tstate);
1068 if (PyErr_Occurred()) SWIG_fail;
1069 }
1070 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1071 return resultobj;
1072 fail:
1073 return NULL;
1074 }
1075
1076
1077 static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1078 PyObject *resultobj;
1079 wxPanel *arg1 = (wxPanel *) 0 ;
1080 wxWindow *arg2 = (wxWindow *) 0 ;
1081 int arg3 ;
1082 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1083 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1084 wxSize const &arg5_defvalue = wxDefaultSize ;
1085 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1086 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1087 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1088 wxString *arg7 = (wxString *) &arg7_defvalue ;
1089 bool result;
1090 wxPoint temp4 ;
1091 wxSize temp5 ;
1092 bool temp7 = False ;
1093 PyObject * obj0 = 0 ;
1094 PyObject * obj1 = 0 ;
1095 PyObject * obj3 = 0 ;
1096 PyObject * obj4 = 0 ;
1097 PyObject * obj6 = 0 ;
1098 char *kwnames[] = {
1099 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1100 };
1101
1102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Panel_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1104 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1105 if (obj3) {
1106 {
1107 arg4 = &temp4;
1108 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1109 }
1110 }
1111 if (obj4) {
1112 {
1113 arg5 = &temp5;
1114 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1115 }
1116 }
1117 if (obj6) {
1118 {
1119 arg7 = wxString_in_helper(obj6);
1120 if (arg7 == NULL) SWIG_fail;
1121 temp7 = True;
1122 }
1123 }
1124 {
1125 PyThreadState* __tstate = wxPyBeginAllowThreads();
1126 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1127
1128 wxPyEndAllowThreads(__tstate);
1129 if (PyErr_Occurred()) SWIG_fail;
1130 }
1131 resultobj = PyInt_FromLong((long)result);
1132 {
1133 if (temp7)
1134 delete arg7;
1135 }
1136 return resultobj;
1137 fail:
1138 {
1139 if (temp7)
1140 delete arg7;
1141 }
1142 return NULL;
1143 }
1144
1145
1146 static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1147 PyObject *resultobj;
1148 wxPanel *arg1 = (wxPanel *) 0 ;
1149 PyObject * obj0 = 0 ;
1150 char *kwnames[] = {
1151 (char *) "self", NULL
1152 };
1153
1154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1156 {
1157 PyThreadState* __tstate = wxPyBeginAllowThreads();
1158 (arg1)->InitDialog();
1159
1160 wxPyEndAllowThreads(__tstate);
1161 if (PyErr_Occurred()) SWIG_fail;
1162 }
1163 Py_INCREF(Py_None); resultobj = Py_None;
1164 return resultobj;
1165 fail:
1166 return NULL;
1167 }
1168
1169
1170 static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1171 PyObject *obj;
1172 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1173 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1174 Py_INCREF(obj);
1175 return Py_BuildValue((char *)"");
1176 }
1177 static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1178 PyObject *resultobj;
1179 wxWindow *arg1 = (wxWindow *) 0 ;
1180 int arg2 = (int) (int)-1 ;
1181 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1182 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1183 wxSize const &arg4_defvalue = wxDefaultSize ;
1184 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1185 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1186 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1187 wxString *arg6 = (wxString *) &arg6_defvalue ;
1188 wxScrolledWindow *result;
1189 wxPoint temp3 ;
1190 wxSize temp4 ;
1191 bool temp6 = False ;
1192 PyObject * obj0 = 0 ;
1193 PyObject * obj2 = 0 ;
1194 PyObject * obj3 = 0 ;
1195 PyObject * obj5 = 0 ;
1196 char *kwnames[] = {
1197 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1198 };
1199
1200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_ScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
1201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1202 if (obj2) {
1203 {
1204 arg3 = &temp3;
1205 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1206 }
1207 }
1208 if (obj3) {
1209 {
1210 arg4 = &temp4;
1211 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1212 }
1213 }
1214 if (obj5) {
1215 {
1216 arg6 = wxString_in_helper(obj5);
1217 if (arg6 == NULL) SWIG_fail;
1218 temp6 = True;
1219 }
1220 }
1221 {
1222 PyThreadState* __tstate = wxPyBeginAllowThreads();
1223 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1224
1225 wxPyEndAllowThreads(__tstate);
1226 if (PyErr_Occurred()) SWIG_fail;
1227 }
1228 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1229 {
1230 if (temp6)
1231 delete arg6;
1232 }
1233 return resultobj;
1234 fail:
1235 {
1236 if (temp6)
1237 delete arg6;
1238 }
1239 return NULL;
1240 }
1241
1242
1243 static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1244 PyObject *resultobj;
1245 wxScrolledWindow *result;
1246 char *kwnames[] = {
1247 NULL
1248 };
1249
1250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1251 {
1252 PyThreadState* __tstate = wxPyBeginAllowThreads();
1253 result = (wxScrolledWindow *)new wxScrolledWindow();
1254
1255 wxPyEndAllowThreads(__tstate);
1256 if (PyErr_Occurred()) SWIG_fail;
1257 }
1258 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1259 return resultobj;
1260 fail:
1261 return NULL;
1262 }
1263
1264
1265 static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1266 PyObject *resultobj;
1267 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1268 wxWindow *arg2 = (wxWindow *) 0 ;
1269 int arg3 = (int) (int)-1 ;
1270 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1271 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1272 wxSize const &arg5_defvalue = wxDefaultSize ;
1273 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1274 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1275 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1276 wxString *arg7 = (wxString *) &arg7_defvalue ;
1277 bool result;
1278 wxPoint temp4 ;
1279 wxSize temp5 ;
1280 bool temp7 = False ;
1281 PyObject * obj0 = 0 ;
1282 PyObject * obj1 = 0 ;
1283 PyObject * obj3 = 0 ;
1284 PyObject * obj4 = 0 ;
1285 PyObject * obj6 = 0 ;
1286 char *kwnames[] = {
1287 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1288 };
1289
1290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1292 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1293 if (obj3) {
1294 {
1295 arg4 = &temp4;
1296 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1297 }
1298 }
1299 if (obj4) {
1300 {
1301 arg5 = &temp5;
1302 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1303 }
1304 }
1305 if (obj6) {
1306 {
1307 arg7 = wxString_in_helper(obj6);
1308 if (arg7 == NULL) SWIG_fail;
1309 temp7 = True;
1310 }
1311 }
1312 {
1313 PyThreadState* __tstate = wxPyBeginAllowThreads();
1314 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1315
1316 wxPyEndAllowThreads(__tstate);
1317 if (PyErr_Occurred()) SWIG_fail;
1318 }
1319 resultobj = PyInt_FromLong((long)result);
1320 {
1321 if (temp7)
1322 delete arg7;
1323 }
1324 return resultobj;
1325 fail:
1326 {
1327 if (temp7)
1328 delete arg7;
1329 }
1330 return NULL;
1331 }
1332
1333
1334 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1335 PyObject *resultobj;
1336 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1337 int arg2 ;
1338 int arg3 ;
1339 int arg4 ;
1340 int arg5 ;
1341 int arg6 = (int) 0 ;
1342 int arg7 = (int) 0 ;
1343 bool arg8 = (bool) False ;
1344 PyObject * obj0 = 0 ;
1345 PyObject * obj7 = 0 ;
1346 char *kwnames[] = {
1347 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1348 };
1349
1350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|iiO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7,&obj7)) goto fail;
1351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1352 if (obj7) {
1353 arg8 = PyInt_AsLong(obj7) ? true : false;
1354 if (PyErr_Occurred()) SWIG_fail;
1355 }
1356 {
1357 PyThreadState* __tstate = wxPyBeginAllowThreads();
1358 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1359
1360 wxPyEndAllowThreads(__tstate);
1361 if (PyErr_Occurred()) SWIG_fail;
1362 }
1363 Py_INCREF(Py_None); resultobj = Py_None;
1364 return resultobj;
1365 fail:
1366 return NULL;
1367 }
1368
1369
1370 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1371 PyObject *resultobj;
1372 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1373 int arg2 ;
1374 int arg3 ;
1375 PyObject * obj0 = 0 ;
1376 char *kwnames[] = {
1377 (char *) "self",(char *) "x",(char *) "y", NULL
1378 };
1379
1380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_Scroll",kwnames,&obj0,&arg2,&arg3)) goto fail;
1381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1382 {
1383 PyThreadState* __tstate = wxPyBeginAllowThreads();
1384 (arg1)->Scroll(arg2,arg3);
1385
1386 wxPyEndAllowThreads(__tstate);
1387 if (PyErr_Occurred()) SWIG_fail;
1388 }
1389 Py_INCREF(Py_None); resultobj = Py_None;
1390 return resultobj;
1391 fail:
1392 return NULL;
1393 }
1394
1395
1396 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1397 PyObject *resultobj;
1398 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1399 int arg2 ;
1400 int result;
1401 PyObject * obj0 = 0 ;
1402 char *kwnames[] = {
1403 (char *) "self",(char *) "orient", NULL
1404 };
1405
1406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&arg2)) goto fail;
1407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1408 {
1409 PyThreadState* __tstate = wxPyBeginAllowThreads();
1410 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1411
1412 wxPyEndAllowThreads(__tstate);
1413 if (PyErr_Occurred()) SWIG_fail;
1414 }
1415 resultobj = PyInt_FromLong((long)result);
1416 return resultobj;
1417 fail:
1418 return NULL;
1419 }
1420
1421
1422 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1423 PyObject *resultobj;
1424 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1425 int arg2 ;
1426 int arg3 ;
1427 PyObject * obj0 = 0 ;
1428 char *kwnames[] = {
1429 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1430 };
1431
1432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
1433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1434 {
1435 PyThreadState* __tstate = wxPyBeginAllowThreads();
1436 (arg1)->SetScrollPageSize(arg2,arg3);
1437
1438 wxPyEndAllowThreads(__tstate);
1439 if (PyErr_Occurred()) SWIG_fail;
1440 }
1441 Py_INCREF(Py_None); resultobj = Py_None;
1442 return resultobj;
1443 fail:
1444 return NULL;
1445 }
1446
1447
1448 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1449 PyObject *resultobj;
1450 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1451 int arg2 ;
1452 int arg3 ;
1453 PyObject * obj0 = 0 ;
1454 char *kwnames[] = {
1455 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1456 };
1457
1458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollRate",kwnames,&obj0,&arg2,&arg3)) goto fail;
1459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1460 {
1461 PyThreadState* __tstate = wxPyBeginAllowThreads();
1462 (arg1)->SetScrollRate(arg2,arg3);
1463
1464 wxPyEndAllowThreads(__tstate);
1465 if (PyErr_Occurred()) SWIG_fail;
1466 }
1467 Py_INCREF(Py_None); resultobj = Py_None;
1468 return resultobj;
1469 fail:
1470 return NULL;
1471 }
1472
1473
1474 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1475 PyObject *resultobj;
1476 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1477 int *arg2 = (int *) 0 ;
1478 int *arg3 = (int *) 0 ;
1479 int temp2 ;
1480 int temp3 ;
1481 PyObject * obj0 = 0 ;
1482 char *kwnames[] = {
1483 (char *) "self", NULL
1484 };
1485
1486 arg2 = &temp2;
1487 arg3 = &temp3;
1488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1490 {
1491 PyThreadState* __tstate = wxPyBeginAllowThreads();
1492 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1493
1494 wxPyEndAllowThreads(__tstate);
1495 if (PyErr_Occurred()) SWIG_fail;
1496 }
1497 Py_INCREF(Py_None); resultobj = Py_None;
1498 {
1499 PyObject *o = PyInt_FromLong((long) (*arg2));
1500 resultobj = t_output_helper(resultobj,o);
1501 }
1502 {
1503 PyObject *o = PyInt_FromLong((long) (*arg3));
1504 resultobj = t_output_helper(resultobj,o);
1505 }
1506 return resultobj;
1507 fail:
1508 return NULL;
1509 }
1510
1511
1512 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1513 PyObject *resultobj;
1514 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1515 bool arg2 ;
1516 bool arg3 ;
1517 PyObject * obj0 = 0 ;
1518 PyObject * obj1 = 0 ;
1519 PyObject * obj2 = 0 ;
1520 char *kwnames[] = {
1521 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1522 };
1523
1524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1526 arg2 = PyInt_AsLong(obj1) ? true : false;
1527 if (PyErr_Occurred()) SWIG_fail;
1528 arg3 = PyInt_AsLong(obj2) ? true : false;
1529 if (PyErr_Occurred()) SWIG_fail;
1530 {
1531 PyThreadState* __tstate = wxPyBeginAllowThreads();
1532 (arg1)->EnableScrolling(arg2,arg3);
1533
1534 wxPyEndAllowThreads(__tstate);
1535 if (PyErr_Occurred()) SWIG_fail;
1536 }
1537 Py_INCREF(Py_None); resultobj = Py_None;
1538 return resultobj;
1539 fail:
1540 return NULL;
1541 }
1542
1543
1544 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1545 PyObject *resultobj;
1546 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1547 int *arg2 = (int *) 0 ;
1548 int *arg3 = (int *) 0 ;
1549 int temp2 ;
1550 int temp3 ;
1551 PyObject * obj0 = 0 ;
1552 char *kwnames[] = {
1553 (char *) "self", NULL
1554 };
1555
1556 arg2 = &temp2;
1557 arg3 = &temp3;
1558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1560 {
1561 PyThreadState* __tstate = wxPyBeginAllowThreads();
1562 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1563
1564 wxPyEndAllowThreads(__tstate);
1565 if (PyErr_Occurred()) SWIG_fail;
1566 }
1567 Py_INCREF(Py_None); resultobj = Py_None;
1568 {
1569 PyObject *o = PyInt_FromLong((long) (*arg2));
1570 resultobj = t_output_helper(resultobj,o);
1571 }
1572 {
1573 PyObject *o = PyInt_FromLong((long) (*arg3));
1574 resultobj = t_output_helper(resultobj,o);
1575 }
1576 return resultobj;
1577 fail:
1578 return NULL;
1579 }
1580
1581
1582 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
1583 PyObject *resultobj;
1584 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1585 double arg2 ;
1586 double arg3 ;
1587 PyObject * obj0 = 0 ;
1588 char *kwnames[] = {
1589 (char *) "self",(char *) "xs",(char *) "ys", NULL
1590 };
1591
1592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ScrolledWindow_SetScale",kwnames,&obj0,&arg2,&arg3)) goto fail;
1593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1594 {
1595 PyThreadState* __tstate = wxPyBeginAllowThreads();
1596 (arg1)->SetScale(arg2,arg3);
1597
1598 wxPyEndAllowThreads(__tstate);
1599 if (PyErr_Occurred()) SWIG_fail;
1600 }
1601 Py_INCREF(Py_None); resultobj = Py_None;
1602 return resultobj;
1603 fail:
1604 return NULL;
1605 }
1606
1607
1608 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
1609 PyObject *resultobj;
1610 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1611 double result;
1612 PyObject * obj0 = 0 ;
1613 char *kwnames[] = {
1614 (char *) "self", NULL
1615 };
1616
1617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
1618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1619 {
1620 PyThreadState* __tstate = wxPyBeginAllowThreads();
1621 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
1622
1623 wxPyEndAllowThreads(__tstate);
1624 if (PyErr_Occurred()) SWIG_fail;
1625 }
1626 resultobj = PyFloat_FromDouble(result);
1627 return resultobj;
1628 fail:
1629 return NULL;
1630 }
1631
1632
1633 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
1634 PyObject *resultobj;
1635 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1636 double result;
1637 PyObject * obj0 = 0 ;
1638 char *kwnames[] = {
1639 (char *) "self", NULL
1640 };
1641
1642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
1643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1644 {
1645 PyThreadState* __tstate = wxPyBeginAllowThreads();
1646 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
1647
1648 wxPyEndAllowThreads(__tstate);
1649 if (PyErr_Occurred()) SWIG_fail;
1650 }
1651 resultobj = PyFloat_FromDouble(result);
1652 return resultobj;
1653 fail:
1654 return NULL;
1655 }
1656
1657
1658 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1659 PyObject *resultobj;
1660 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1661 wxPoint *arg2 = 0 ;
1662 wxPoint result;
1663 wxPoint temp2 ;
1664 PyObject * obj0 = 0 ;
1665 PyObject * obj1 = 0 ;
1666
1667 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
1668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1669 {
1670 arg2 = &temp2;
1671 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1672 }
1673 {
1674 PyThreadState* __tstate = wxPyBeginAllowThreads();
1675 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
1676
1677 wxPyEndAllowThreads(__tstate);
1678 if (PyErr_Occurred()) SWIG_fail;
1679 }
1680 {
1681 wxPoint * resultptr;
1682 resultptr = new wxPoint((wxPoint &) result);
1683 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
1684 }
1685 return resultobj;
1686 fail:
1687 return NULL;
1688 }
1689
1690
1691 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1692 PyObject *resultobj;
1693 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1694 int arg2 ;
1695 int arg3 ;
1696 int *arg4 = (int *) 0 ;
1697 int *arg5 = (int *) 0 ;
1698 int temp4 ;
1699 int temp5 ;
1700 PyObject * obj0 = 0 ;
1701
1702 arg4 = &temp4;
1703 arg5 = &temp5;
1704 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcScrolledPosition",&obj0,&arg2,&arg3)) goto fail;
1705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1706 {
1707 PyThreadState* __tstate = wxPyBeginAllowThreads();
1708 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
1709
1710 wxPyEndAllowThreads(__tstate);
1711 if (PyErr_Occurred()) SWIG_fail;
1712 }
1713 Py_INCREF(Py_None); resultobj = Py_None;
1714 {
1715 PyObject *o = PyInt_FromLong((long) (*arg4));
1716 resultobj = t_output_helper(resultobj,o);
1717 }
1718 {
1719 PyObject *o = PyInt_FromLong((long) (*arg5));
1720 resultobj = t_output_helper(resultobj,o);
1721 }
1722 return resultobj;
1723 fail:
1724 return NULL;
1725 }
1726
1727
1728 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
1729 int argc;
1730 PyObject *argv[4];
1731 int ii;
1732
1733 argc = PyObject_Length(args);
1734 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1735 argv[ii] = PyTuple_GetItem(args,ii);
1736 }
1737 if (argc == 2) {
1738 int _v;
1739 {
1740 void *ptr;
1741 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1742 _v = 0;
1743 PyErr_Clear();
1744 } else {
1745 _v = 1;
1746 }
1747 }
1748 if (_v) {
1749 {
1750 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1751 }
1752 if (_v) {
1753 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
1754 }
1755 }
1756 }
1757 if (argc == 3) {
1758 int _v;
1759 {
1760 void *ptr;
1761 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1762 _v = 0;
1763 PyErr_Clear();
1764 } else {
1765 _v = 1;
1766 }
1767 }
1768 if (_v) {
1769 {
1770 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1771 }
1772 if (_v) {
1773 {
1774 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1775 }
1776 if (_v) {
1777 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
1778 }
1779 }
1780 }
1781 }
1782
1783 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
1784 return NULL;
1785 }
1786
1787
1788 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1789 PyObject *resultobj;
1790 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1791 wxPoint *arg2 = 0 ;
1792 wxPoint result;
1793 wxPoint temp2 ;
1794 PyObject * obj0 = 0 ;
1795 PyObject * obj1 = 0 ;
1796
1797 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
1798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1799 {
1800 arg2 = &temp2;
1801 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1802 }
1803 {
1804 PyThreadState* __tstate = wxPyBeginAllowThreads();
1805 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
1806
1807 wxPyEndAllowThreads(__tstate);
1808 if (PyErr_Occurred()) SWIG_fail;
1809 }
1810 {
1811 wxPoint * resultptr;
1812 resultptr = new wxPoint((wxPoint &) result);
1813 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
1814 }
1815 return resultobj;
1816 fail:
1817 return NULL;
1818 }
1819
1820
1821 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1822 PyObject *resultobj;
1823 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1824 int arg2 ;
1825 int arg3 ;
1826 int *arg4 = (int *) 0 ;
1827 int *arg5 = (int *) 0 ;
1828 int temp4 ;
1829 int temp5 ;
1830 PyObject * obj0 = 0 ;
1831
1832 arg4 = &temp4;
1833 arg5 = &temp5;
1834 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcUnscrolledPosition",&obj0,&arg2,&arg3)) goto fail;
1835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1836 {
1837 PyThreadState* __tstate = wxPyBeginAllowThreads();
1838 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
1839
1840 wxPyEndAllowThreads(__tstate);
1841 if (PyErr_Occurred()) SWIG_fail;
1842 }
1843 Py_INCREF(Py_None); resultobj = Py_None;
1844 {
1845 PyObject *o = PyInt_FromLong((long) (*arg4));
1846 resultobj = t_output_helper(resultobj,o);
1847 }
1848 {
1849 PyObject *o = PyInt_FromLong((long) (*arg5));
1850 resultobj = t_output_helper(resultobj,o);
1851 }
1852 return resultobj;
1853 fail:
1854 return NULL;
1855 }
1856
1857
1858 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
1859 int argc;
1860 PyObject *argv[4];
1861 int ii;
1862
1863 argc = PyObject_Length(args);
1864 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1865 argv[ii] = PyTuple_GetItem(args,ii);
1866 }
1867 if (argc == 2) {
1868 int _v;
1869 {
1870 void *ptr;
1871 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1872 _v = 0;
1873 PyErr_Clear();
1874 } else {
1875 _v = 1;
1876 }
1877 }
1878 if (_v) {
1879 {
1880 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1881 }
1882 if (_v) {
1883 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
1884 }
1885 }
1886 }
1887 if (argc == 3) {
1888 int _v;
1889 {
1890 void *ptr;
1891 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1892 _v = 0;
1893 PyErr_Clear();
1894 } else {
1895 _v = 1;
1896 }
1897 }
1898 if (_v) {
1899 {
1900 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1901 }
1902 if (_v) {
1903 {
1904 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1905 }
1906 if (_v) {
1907 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
1908 }
1909 }
1910 }
1911 }
1912
1913 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
1914 return NULL;
1915 }
1916
1917
1918 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1919 PyObject *resultobj;
1920 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1921 PyObject * obj0 = 0 ;
1922 char *kwnames[] = {
1923 (char *) "self", NULL
1924 };
1925
1926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
1927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1928 {
1929 PyThreadState* __tstate = wxPyBeginAllowThreads();
1930 (arg1)->AdjustScrollbars();
1931
1932 wxPyEndAllowThreads(__tstate);
1933 if (PyErr_Occurred()) SWIG_fail;
1934 }
1935 Py_INCREF(Py_None); resultobj = Py_None;
1936 return resultobj;
1937 fail:
1938 return NULL;
1939 }
1940
1941
1942 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
1943 PyObject *resultobj;
1944 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1945 wxScrollWinEvent *arg2 = 0 ;
1946 int result;
1947 PyObject * obj0 = 0 ;
1948 PyObject * obj1 = 0 ;
1949 char *kwnames[] = {
1950 (char *) "self",(char *) "event", NULL
1951 };
1952
1953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
1954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1955 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1956 if (arg2 == NULL) {
1957 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1958 }
1959 {
1960 PyThreadState* __tstate = wxPyBeginAllowThreads();
1961 result = (int)(arg1)->CalcScrollInc(*arg2);
1962
1963 wxPyEndAllowThreads(__tstate);
1964 if (PyErr_Occurred()) SWIG_fail;
1965 }
1966 resultobj = PyInt_FromLong((long)result);
1967 return resultobj;
1968 fail:
1969 return NULL;
1970 }
1971
1972
1973 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1974 PyObject *resultobj;
1975 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1976 wxWindow *arg2 = (wxWindow *) 0 ;
1977 PyObject * obj0 = 0 ;
1978 PyObject * obj1 = 0 ;
1979 char *kwnames[] = {
1980 (char *) "self",(char *) "target", NULL
1981 };
1982
1983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
1984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1985 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1986 {
1987 PyThreadState* __tstate = wxPyBeginAllowThreads();
1988 (arg1)->SetTargetWindow(arg2);
1989
1990 wxPyEndAllowThreads(__tstate);
1991 if (PyErr_Occurred()) SWIG_fail;
1992 }
1993 Py_INCREF(Py_None); resultobj = Py_None;
1994 return resultobj;
1995 fail:
1996 return NULL;
1997 }
1998
1999
2000 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2001 PyObject *resultobj;
2002 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2003 wxWindow *result;
2004 PyObject * obj0 = 0 ;
2005 char *kwnames[] = {
2006 (char *) "self", NULL
2007 };
2008
2009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2011 {
2012 PyThreadState* __tstate = wxPyBeginAllowThreads();
2013 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2014
2015 wxPyEndAllowThreads(__tstate);
2016 if (PyErr_Occurred()) SWIG_fail;
2017 }
2018 {
2019 resultobj = wxPyMake_wxObject(result);
2020 }
2021 return resultobj;
2022 fail:
2023 return NULL;
2024 }
2025
2026
2027 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2028 PyObject *resultobj;
2029 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2030 wxRect *arg2 = 0 ;
2031 wxRect temp2 ;
2032 PyObject * obj0 = 0 ;
2033 PyObject * obj1 = 0 ;
2034 char *kwnames[] = {
2035 (char *) "self",(char *) "rect", NULL
2036 };
2037
2038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2040 {
2041 arg2 = &temp2;
2042 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2043 }
2044 {
2045 PyThreadState* __tstate = wxPyBeginAllowThreads();
2046 (arg1)->SetTargetRect((wxRect const &)*arg2);
2047
2048 wxPyEndAllowThreads(__tstate);
2049 if (PyErr_Occurred()) SWIG_fail;
2050 }
2051 Py_INCREF(Py_None); resultobj = Py_None;
2052 return resultobj;
2053 fail:
2054 return NULL;
2055 }
2056
2057
2058 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2059 PyObject *resultobj;
2060 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2061 wxRect result;
2062 PyObject * obj0 = 0 ;
2063 char *kwnames[] = {
2064 (char *) "self", NULL
2065 };
2066
2067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2069 {
2070 PyThreadState* __tstate = wxPyBeginAllowThreads();
2071 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2072
2073 wxPyEndAllowThreads(__tstate);
2074 if (PyErr_Occurred()) SWIG_fail;
2075 }
2076 {
2077 wxRect * resultptr;
2078 resultptr = new wxRect((wxRect &) result);
2079 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
2080 }
2081 return resultobj;
2082 fail:
2083 return NULL;
2084 }
2085
2086
2087 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2088 PyObject *obj;
2089 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2090 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2091 Py_INCREF(obj);
2092 return Py_BuildValue((char *)"");
2093 }
2094 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2095 PyObject *resultobj;
2096 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2097 bool arg2 = (bool) True ;
2098 PyObject * obj0 = 0 ;
2099 PyObject * obj1 = 0 ;
2100 char *kwnames[] = {
2101 (char *) "self",(char *) "maximize", NULL
2102 };
2103
2104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2106 if (obj1) {
2107 arg2 = PyInt_AsLong(obj1) ? true : false;
2108 if (PyErr_Occurred()) SWIG_fail;
2109 }
2110 {
2111 PyThreadState* __tstate = wxPyBeginAllowThreads();
2112 (arg1)->Maximize(arg2);
2113
2114 wxPyEndAllowThreads(__tstate);
2115 if (PyErr_Occurred()) SWIG_fail;
2116 }
2117 Py_INCREF(Py_None); resultobj = Py_None;
2118 return resultobj;
2119 fail:
2120 return NULL;
2121 }
2122
2123
2124 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2125 PyObject *resultobj;
2126 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2127 PyObject * obj0 = 0 ;
2128 char *kwnames[] = {
2129 (char *) "self", NULL
2130 };
2131
2132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2134 {
2135 PyThreadState* __tstate = wxPyBeginAllowThreads();
2136 (arg1)->Restore();
2137
2138 wxPyEndAllowThreads(__tstate);
2139 if (PyErr_Occurred()) SWIG_fail;
2140 }
2141 Py_INCREF(Py_None); resultobj = Py_None;
2142 return resultobj;
2143 fail:
2144 return NULL;
2145 }
2146
2147
2148 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2149 PyObject *resultobj;
2150 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2151 bool arg2 = (bool) True ;
2152 PyObject * obj0 = 0 ;
2153 PyObject * obj1 = 0 ;
2154 char *kwnames[] = {
2155 (char *) "self",(char *) "iconize", NULL
2156 };
2157
2158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2160 if (obj1) {
2161 arg2 = PyInt_AsLong(obj1) ? true : false;
2162 if (PyErr_Occurred()) SWIG_fail;
2163 }
2164 {
2165 PyThreadState* __tstate = wxPyBeginAllowThreads();
2166 (arg1)->Iconize(arg2);
2167
2168 wxPyEndAllowThreads(__tstate);
2169 if (PyErr_Occurred()) SWIG_fail;
2170 }
2171 Py_INCREF(Py_None); resultobj = Py_None;
2172 return resultobj;
2173 fail:
2174 return NULL;
2175 }
2176
2177
2178 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2179 PyObject *resultobj;
2180 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2181 bool result;
2182 PyObject * obj0 = 0 ;
2183 char *kwnames[] = {
2184 (char *) "self", NULL
2185 };
2186
2187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2189 {
2190 PyThreadState* __tstate = wxPyBeginAllowThreads();
2191 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2192
2193 wxPyEndAllowThreads(__tstate);
2194 if (PyErr_Occurred()) SWIG_fail;
2195 }
2196 resultobj = PyInt_FromLong((long)result);
2197 return resultobj;
2198 fail:
2199 return NULL;
2200 }
2201
2202
2203 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2204 PyObject *resultobj;
2205 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2206 bool result;
2207 PyObject * obj0 = 0 ;
2208 char *kwnames[] = {
2209 (char *) "self", NULL
2210 };
2211
2212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2214 {
2215 PyThreadState* __tstate = wxPyBeginAllowThreads();
2216 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2217
2218 wxPyEndAllowThreads(__tstate);
2219 if (PyErr_Occurred()) SWIG_fail;
2220 }
2221 resultobj = PyInt_FromLong((long)result);
2222 return resultobj;
2223 fail:
2224 return NULL;
2225 }
2226
2227
2228 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2229 PyObject *resultobj;
2230 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2231 wxIcon result;
2232 PyObject * obj0 = 0 ;
2233 char *kwnames[] = {
2234 (char *) "self", NULL
2235 };
2236
2237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2239 {
2240 PyThreadState* __tstate = wxPyBeginAllowThreads();
2241 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2242
2243 wxPyEndAllowThreads(__tstate);
2244 if (PyErr_Occurred()) SWIG_fail;
2245 }
2246 {
2247 wxIcon * resultptr;
2248 resultptr = new wxIcon((wxIcon &) result);
2249 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
2250 }
2251 return resultobj;
2252 fail:
2253 return NULL;
2254 }
2255
2256
2257 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2258 PyObject *resultobj;
2259 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2260 wxIcon *arg2 = 0 ;
2261 PyObject * obj0 = 0 ;
2262 PyObject * obj1 = 0 ;
2263 char *kwnames[] = {
2264 (char *) "self",(char *) "icon", NULL
2265 };
2266
2267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2269 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2270 if (arg2 == NULL) {
2271 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2272 }
2273 {
2274 PyThreadState* __tstate = wxPyBeginAllowThreads();
2275 (arg1)->SetIcon((wxIcon const &)*arg2);
2276
2277 wxPyEndAllowThreads(__tstate);
2278 if (PyErr_Occurred()) SWIG_fail;
2279 }
2280 Py_INCREF(Py_None); resultobj = Py_None;
2281 return resultobj;
2282 fail:
2283 return NULL;
2284 }
2285
2286
2287 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2288 PyObject *resultobj;
2289 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2290 wxIconBundle *arg2 = 0 ;
2291 PyObject * obj0 = 0 ;
2292 PyObject * obj1 = 0 ;
2293 char *kwnames[] = {
2294 (char *) "self",(char *) "icons", NULL
2295 };
2296
2297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2299 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIconBundle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2300 if (arg2 == NULL) {
2301 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2302 }
2303 {
2304 PyThreadState* __tstate = wxPyBeginAllowThreads();
2305 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2306
2307 wxPyEndAllowThreads(__tstate);
2308 if (PyErr_Occurred()) SWIG_fail;
2309 }
2310 Py_INCREF(Py_None); resultobj = Py_None;
2311 return resultobj;
2312 fail:
2313 return NULL;
2314 }
2315
2316
2317 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2318 PyObject *resultobj;
2319 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2320 bool arg2 ;
2321 long arg3 = (long) wxFULLSCREEN_ALL ;
2322 bool result;
2323 PyObject * obj0 = 0 ;
2324 PyObject * obj1 = 0 ;
2325 char *kwnames[] = {
2326 (char *) "self",(char *) "show",(char *) "style", NULL
2327 };
2328
2329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&arg3)) goto fail;
2330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2331 arg2 = PyInt_AsLong(obj1) ? true : false;
2332 if (PyErr_Occurred()) SWIG_fail;
2333 {
2334 PyThreadState* __tstate = wxPyBeginAllowThreads();
2335 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2336
2337 wxPyEndAllowThreads(__tstate);
2338 if (PyErr_Occurred()) SWIG_fail;
2339 }
2340 resultobj = PyInt_FromLong((long)result);
2341 return resultobj;
2342 fail:
2343 return NULL;
2344 }
2345
2346
2347 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2348 PyObject *resultobj;
2349 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2350 bool result;
2351 PyObject * obj0 = 0 ;
2352 char *kwnames[] = {
2353 (char *) "self", NULL
2354 };
2355
2356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2358 {
2359 PyThreadState* __tstate = wxPyBeginAllowThreads();
2360 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2361
2362 wxPyEndAllowThreads(__tstate);
2363 if (PyErr_Occurred()) SWIG_fail;
2364 }
2365 resultobj = PyInt_FromLong((long)result);
2366 return resultobj;
2367 fail:
2368 return NULL;
2369 }
2370
2371
2372 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2373 PyObject *resultobj;
2374 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2375 wxString *arg2 = 0 ;
2376 bool temp2 = False ;
2377 PyObject * obj0 = 0 ;
2378 PyObject * obj1 = 0 ;
2379 char *kwnames[] = {
2380 (char *) "self",(char *) "title", NULL
2381 };
2382
2383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2385 {
2386 arg2 = wxString_in_helper(obj1);
2387 if (arg2 == NULL) SWIG_fail;
2388 temp2 = True;
2389 }
2390 {
2391 PyThreadState* __tstate = wxPyBeginAllowThreads();
2392 (arg1)->SetTitle((wxString const &)*arg2);
2393
2394 wxPyEndAllowThreads(__tstate);
2395 if (PyErr_Occurred()) SWIG_fail;
2396 }
2397 Py_INCREF(Py_None); resultobj = Py_None;
2398 {
2399 if (temp2)
2400 delete arg2;
2401 }
2402 return resultobj;
2403 fail:
2404 {
2405 if (temp2)
2406 delete arg2;
2407 }
2408 return NULL;
2409 }
2410
2411
2412 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2413 PyObject *resultobj;
2414 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2415 wxString result;
2416 PyObject * obj0 = 0 ;
2417 char *kwnames[] = {
2418 (char *) "self", NULL
2419 };
2420
2421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2423 {
2424 PyThreadState* __tstate = wxPyBeginAllowThreads();
2425 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2426
2427 wxPyEndAllowThreads(__tstate);
2428 if (PyErr_Occurred()) SWIG_fail;
2429 }
2430 {
2431 #if wxUSE_UNICODE
2432 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2433 #else
2434 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2435 #endif
2436 }
2437 return resultobj;
2438 fail:
2439 return NULL;
2440 }
2441
2442
2443 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2444 PyObject *resultobj;
2445 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2446 wxRegion *arg2 = 0 ;
2447 bool result;
2448 PyObject * obj0 = 0 ;
2449 PyObject * obj1 = 0 ;
2450 char *kwnames[] = {
2451 (char *) "self",(char *) "region", NULL
2452 };
2453
2454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2456 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2457 if (arg2 == NULL) {
2458 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2459 }
2460 {
2461 PyThreadState* __tstate = wxPyBeginAllowThreads();
2462 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2463
2464 wxPyEndAllowThreads(__tstate);
2465 if (PyErr_Occurred()) SWIG_fail;
2466 }
2467 resultobj = PyInt_FromLong((long)result);
2468 return resultobj;
2469 fail:
2470 return NULL;
2471 }
2472
2473
2474 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
2475 PyObject *obj;
2476 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2477 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
2478 Py_INCREF(obj);
2479 return Py_BuildValue((char *)"");
2480 }
2481 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
2482 PyObject *resultobj;
2483 wxWindow *arg1 = (wxWindow *) 0 ;
2484 int arg2 ;
2485 wxString *arg3 = 0 ;
2486 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2487 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2488 wxSize const &arg5_defvalue = wxDefaultSize ;
2489 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2490 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
2491 wxString const &arg7_defvalue = wxPyFrameNameStr ;
2492 wxString *arg7 = (wxString *) &arg7_defvalue ;
2493 wxFrame *result;
2494 bool temp3 = False ;
2495 wxPoint temp4 ;
2496 wxSize temp5 ;
2497 bool temp7 = False ;
2498 PyObject * obj0 = 0 ;
2499 PyObject * obj2 = 0 ;
2500 PyObject * obj3 = 0 ;
2501 PyObject * obj4 = 0 ;
2502 PyObject * obj6 = 0 ;
2503 char *kwnames[] = {
2504 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2505 };
2506
2507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Frame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
2508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2509 {
2510 arg3 = wxString_in_helper(obj2);
2511 if (arg3 == NULL) SWIG_fail;
2512 temp3 = True;
2513 }
2514 if (obj3) {
2515 {
2516 arg4 = &temp4;
2517 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2518 }
2519 }
2520 if (obj4) {
2521 {
2522 arg5 = &temp5;
2523 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2524 }
2525 }
2526 if (obj6) {
2527 {
2528 arg7 = wxString_in_helper(obj6);
2529 if (arg7 == NULL) SWIG_fail;
2530 temp7 = True;
2531 }
2532 }
2533 {
2534 PyThreadState* __tstate = wxPyBeginAllowThreads();
2535 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2536
2537 wxPyEndAllowThreads(__tstate);
2538 if (PyErr_Occurred()) SWIG_fail;
2539 }
2540 {
2541 resultobj = wxPyMake_wxObject(result);
2542 }
2543 {
2544 if (temp3)
2545 delete arg3;
2546 }
2547 {
2548 if (temp7)
2549 delete arg7;
2550 }
2551 return resultobj;
2552 fail:
2553 {
2554 if (temp3)
2555 delete arg3;
2556 }
2557 {
2558 if (temp7)
2559 delete arg7;
2560 }
2561 return NULL;
2562 }
2563
2564
2565 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
2566 PyObject *resultobj;
2567 wxFrame *result;
2568 char *kwnames[] = {
2569 NULL
2570 };
2571
2572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
2573 {
2574 PyThreadState* __tstate = wxPyBeginAllowThreads();
2575 result = (wxFrame *)new wxFrame();
2576
2577 wxPyEndAllowThreads(__tstate);
2578 if (PyErr_Occurred()) SWIG_fail;
2579 }
2580 {
2581 resultobj = wxPyMake_wxObject(result);
2582 }
2583 return resultobj;
2584 fail:
2585 return NULL;
2586 }
2587
2588
2589 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2590 PyObject *resultobj;
2591 wxFrame *arg1 = (wxFrame *) 0 ;
2592 wxWindow *arg2 = (wxWindow *) 0 ;
2593 int arg3 ;
2594 wxString *arg4 = 0 ;
2595 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2596 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2597 wxSize const &arg6_defvalue = wxDefaultSize ;
2598 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2599 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
2600 wxString const &arg8_defvalue = wxPyFrameNameStr ;
2601 wxString *arg8 = (wxString *) &arg8_defvalue ;
2602 bool result;
2603 bool temp4 = False ;
2604 wxPoint temp5 ;
2605 wxSize temp6 ;
2606 bool temp8 = False ;
2607 PyObject * obj0 = 0 ;
2608 PyObject * obj1 = 0 ;
2609 PyObject * obj3 = 0 ;
2610 PyObject * obj4 = 0 ;
2611 PyObject * obj5 = 0 ;
2612 PyObject * obj7 = 0 ;
2613 char *kwnames[] = {
2614 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2615 };
2616
2617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Frame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
2618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2619 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2620 {
2621 arg4 = wxString_in_helper(obj3);
2622 if (arg4 == NULL) SWIG_fail;
2623 temp4 = True;
2624 }
2625 if (obj4) {
2626 {
2627 arg5 = &temp5;
2628 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2629 }
2630 }
2631 if (obj5) {
2632 {
2633 arg6 = &temp6;
2634 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2635 }
2636 }
2637 if (obj7) {
2638 {
2639 arg8 = wxString_in_helper(obj7);
2640 if (arg8 == NULL) SWIG_fail;
2641 temp8 = True;
2642 }
2643 }
2644 {
2645 PyThreadState* __tstate = wxPyBeginAllowThreads();
2646 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
2647
2648 wxPyEndAllowThreads(__tstate);
2649 if (PyErr_Occurred()) SWIG_fail;
2650 }
2651 resultobj = PyInt_FromLong((long)result);
2652 {
2653 if (temp4)
2654 delete arg4;
2655 }
2656 {
2657 if (temp8)
2658 delete arg8;
2659 }
2660 return resultobj;
2661 fail:
2662 {
2663 if (temp4)
2664 delete arg4;
2665 }
2666 {
2667 if (temp8)
2668 delete arg8;
2669 }
2670 return NULL;
2671 }
2672
2673
2674 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
2675 PyObject *resultobj;
2676 wxFrame *arg1 = (wxFrame *) 0 ;
2677 wxPoint result;
2678 PyObject * obj0 = 0 ;
2679 char *kwnames[] = {
2680 (char *) "self", NULL
2681 };
2682
2683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
2684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2685 {
2686 PyThreadState* __tstate = wxPyBeginAllowThreads();
2687 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
2688
2689 wxPyEndAllowThreads(__tstate);
2690 if (PyErr_Occurred()) SWIG_fail;
2691 }
2692 {
2693 wxPoint * resultptr;
2694 resultptr = new wxPoint((wxPoint &) result);
2695 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2696 }
2697 return resultobj;
2698 fail:
2699 return NULL;
2700 }
2701
2702
2703 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
2704 PyObject *resultobj;
2705 wxFrame *arg1 = (wxFrame *) 0 ;
2706 PyObject * obj0 = 0 ;
2707 char *kwnames[] = {
2708 (char *) "self", NULL
2709 };
2710
2711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
2712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2713 {
2714 PyThreadState* __tstate = wxPyBeginAllowThreads();
2715 (arg1)->SendSizeEvent();
2716
2717 wxPyEndAllowThreads(__tstate);
2718 if (PyErr_Occurred()) SWIG_fail;
2719 }
2720 Py_INCREF(Py_None); resultobj = Py_None;
2721 return resultobj;
2722 fail:
2723 return NULL;
2724 }
2725
2726
2727 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2728 PyObject *resultobj;
2729 wxFrame *arg1 = (wxFrame *) 0 ;
2730 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
2731 PyObject * obj0 = 0 ;
2732 PyObject * obj1 = 0 ;
2733 char *kwnames[] = {
2734 (char *) "self",(char *) "menubar", NULL
2735 };
2736
2737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
2738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2739 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2740 {
2741 PyThreadState* __tstate = wxPyBeginAllowThreads();
2742 (arg1)->SetMenuBar(arg2);
2743
2744 wxPyEndAllowThreads(__tstate);
2745 if (PyErr_Occurred()) SWIG_fail;
2746 }
2747 Py_INCREF(Py_None); resultobj = Py_None;
2748 return resultobj;
2749 fail:
2750 return NULL;
2751 }
2752
2753
2754 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2755 PyObject *resultobj;
2756 wxFrame *arg1 = (wxFrame *) 0 ;
2757 wxMenuBar *result;
2758 PyObject * obj0 = 0 ;
2759 char *kwnames[] = {
2760 (char *) "self", NULL
2761 };
2762
2763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
2764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2765 {
2766 PyThreadState* __tstate = wxPyBeginAllowThreads();
2767 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
2768
2769 wxPyEndAllowThreads(__tstate);
2770 if (PyErr_Occurred()) SWIG_fail;
2771 }
2772 {
2773 resultobj = wxPyMake_wxObject(result);
2774 }
2775 return resultobj;
2776 fail:
2777 return NULL;
2778 }
2779
2780
2781 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
2782 PyObject *resultobj;
2783 wxFrame *arg1 = (wxFrame *) 0 ;
2784 int arg2 ;
2785 bool result;
2786 PyObject * obj0 = 0 ;
2787 char *kwnames[] = {
2788 (char *) "self",(char *) "winid", NULL
2789 };
2790
2791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_ProcessCommand",kwnames,&obj0,&arg2)) goto fail;
2792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2793 {
2794 PyThreadState* __tstate = wxPyBeginAllowThreads();
2795 result = (bool)(arg1)->ProcessCommand(arg2);
2796
2797 wxPyEndAllowThreads(__tstate);
2798 if (PyErr_Occurred()) SWIG_fail;
2799 }
2800 resultobj = PyInt_FromLong((long)result);
2801 return resultobj;
2802 fail:
2803 return NULL;
2804 }
2805
2806
2807 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2808 PyObject *resultobj;
2809 wxFrame *arg1 = (wxFrame *) 0 ;
2810 int arg2 = (int) 1 ;
2811 long arg3 = (long) wxST_SIZEGRIP ;
2812 int arg4 = (int) 0 ;
2813 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
2814 wxString *arg5 = (wxString *) &arg5_defvalue ;
2815 wxStatusBar *result;
2816 bool temp5 = False ;
2817 PyObject * obj0 = 0 ;
2818 PyObject * obj4 = 0 ;
2819 char *kwnames[] = {
2820 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
2821 };
2822
2823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iliO:Frame_CreateStatusBar",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
2824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2825 if (obj4) {
2826 {
2827 arg5 = wxString_in_helper(obj4);
2828 if (arg5 == NULL) SWIG_fail;
2829 temp5 = True;
2830 }
2831 }
2832 {
2833 PyThreadState* __tstate = wxPyBeginAllowThreads();
2834 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
2835
2836 wxPyEndAllowThreads(__tstate);
2837 if (PyErr_Occurred()) SWIG_fail;
2838 }
2839 {
2840 resultobj = wxPyMake_wxObject(result);
2841 }
2842 {
2843 if (temp5)
2844 delete arg5;
2845 }
2846 return resultobj;
2847 fail:
2848 {
2849 if (temp5)
2850 delete arg5;
2851 }
2852 return NULL;
2853 }
2854
2855
2856 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2857 PyObject *resultobj;
2858 wxFrame *arg1 = (wxFrame *) 0 ;
2859 wxStatusBar *result;
2860 PyObject * obj0 = 0 ;
2861 char *kwnames[] = {
2862 (char *) "self", NULL
2863 };
2864
2865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
2866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2867 {
2868 PyThreadState* __tstate = wxPyBeginAllowThreads();
2869 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
2870
2871 wxPyEndAllowThreads(__tstate);
2872 if (PyErr_Occurred()) SWIG_fail;
2873 }
2874 {
2875 resultobj = wxPyMake_wxObject(result);
2876 }
2877 return resultobj;
2878 fail:
2879 return NULL;
2880 }
2881
2882
2883 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2884 PyObject *resultobj;
2885 wxFrame *arg1 = (wxFrame *) 0 ;
2886 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
2887 PyObject * obj0 = 0 ;
2888 PyObject * obj1 = 0 ;
2889 char *kwnames[] = {
2890 (char *) "self",(char *) "statBar", NULL
2891 };
2892
2893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
2894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2895 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2896 {
2897 PyThreadState* __tstate = wxPyBeginAllowThreads();
2898 (arg1)->SetStatusBar(arg2);
2899
2900 wxPyEndAllowThreads(__tstate);
2901 if (PyErr_Occurred()) SWIG_fail;
2902 }
2903 Py_INCREF(Py_None); resultobj = Py_None;
2904 return resultobj;
2905 fail:
2906 return NULL;
2907 }
2908
2909
2910 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
2911 PyObject *resultobj;
2912 wxFrame *arg1 = (wxFrame *) 0 ;
2913 wxString *arg2 = 0 ;
2914 int arg3 = (int) 0 ;
2915 bool temp2 = False ;
2916 PyObject * obj0 = 0 ;
2917 PyObject * obj1 = 0 ;
2918 char *kwnames[] = {
2919 (char *) "self",(char *) "text",(char *) "number", NULL
2920 };
2921
2922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
2923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2924 {
2925 arg2 = wxString_in_helper(obj1);
2926 if (arg2 == NULL) SWIG_fail;
2927 temp2 = True;
2928 }
2929 {
2930 PyThreadState* __tstate = wxPyBeginAllowThreads();
2931 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
2932
2933 wxPyEndAllowThreads(__tstate);
2934 if (PyErr_Occurred()) SWIG_fail;
2935 }
2936 Py_INCREF(Py_None); resultobj = Py_None;
2937 {
2938 if (temp2)
2939 delete arg2;
2940 }
2941 return resultobj;
2942 fail:
2943 {
2944 if (temp2)
2945 delete arg2;
2946 }
2947 return NULL;
2948 }
2949
2950
2951 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
2952 PyObject *resultobj;
2953 wxFrame *arg1 = (wxFrame *) 0 ;
2954 int arg2 ;
2955 int *arg3 = (int *) 0 ;
2956 PyObject * obj0 = 0 ;
2957 PyObject * obj1 = 0 ;
2958 char *kwnames[] = {
2959 (char *) "self",(char *) "widths", NULL
2960 };
2961
2962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
2963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2964 {
2965 arg2 = PyList_Size(obj1);
2966 arg3 = int_LIST_helper(obj1);
2967 if (arg3 == NULL) SWIG_fail;
2968 }
2969 {
2970 PyThreadState* __tstate = wxPyBeginAllowThreads();
2971 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
2972
2973 wxPyEndAllowThreads(__tstate);
2974 if (PyErr_Occurred()) SWIG_fail;
2975 }
2976 Py_INCREF(Py_None); resultobj = Py_None;
2977 {
2978 if (arg3) delete [] arg3;
2979 }
2980 return resultobj;
2981 fail:
2982 {
2983 if (arg3) delete [] arg3;
2984 }
2985 return NULL;
2986 }
2987
2988
2989 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
2990 PyObject *resultobj;
2991 wxFrame *arg1 = (wxFrame *) 0 ;
2992 wxString *arg2 = 0 ;
2993 int arg3 = (int) 0 ;
2994 bool temp2 = False ;
2995 PyObject * obj0 = 0 ;
2996 PyObject * obj1 = 0 ;
2997 char *kwnames[] = {
2998 (char *) "self",(char *) "text",(char *) "number", NULL
2999 };
3000
3001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
3002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3003 {
3004 arg2 = wxString_in_helper(obj1);
3005 if (arg2 == NULL) SWIG_fail;
3006 temp2 = True;
3007 }
3008 {
3009 PyThreadState* __tstate = wxPyBeginAllowThreads();
3010 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3011
3012 wxPyEndAllowThreads(__tstate);
3013 if (PyErr_Occurred()) SWIG_fail;
3014 }
3015 Py_INCREF(Py_None); resultobj = Py_None;
3016 {
3017 if (temp2)
3018 delete arg2;
3019 }
3020 return resultobj;
3021 fail:
3022 {
3023 if (temp2)
3024 delete arg2;
3025 }
3026 return NULL;
3027 }
3028
3029
3030 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3031 PyObject *resultobj;
3032 wxFrame *arg1 = (wxFrame *) 0 ;
3033 int arg2 = (int) 0 ;
3034 PyObject * obj0 = 0 ;
3035 char *kwnames[] = {
3036 (char *) "self",(char *) "number", NULL
3037 };
3038
3039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Frame_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
3040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3041 {
3042 PyThreadState* __tstate = wxPyBeginAllowThreads();
3043 (arg1)->PopStatusText(arg2);
3044
3045 wxPyEndAllowThreads(__tstate);
3046 if (PyErr_Occurred()) SWIG_fail;
3047 }
3048 Py_INCREF(Py_None); resultobj = Py_None;
3049 return resultobj;
3050 fail:
3051 return NULL;
3052 }
3053
3054
3055 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3056 PyObject *resultobj;
3057 wxFrame *arg1 = (wxFrame *) 0 ;
3058 int arg2 ;
3059 PyObject * obj0 = 0 ;
3060 char *kwnames[] = {
3061 (char *) "self",(char *) "n", NULL
3062 };
3063
3064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_SetStatusBarPane",kwnames,&obj0,&arg2)) goto fail;
3065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3066 {
3067 PyThreadState* __tstate = wxPyBeginAllowThreads();
3068 (arg1)->SetStatusBarPane(arg2);
3069
3070 wxPyEndAllowThreads(__tstate);
3071 if (PyErr_Occurred()) SWIG_fail;
3072 }
3073 Py_INCREF(Py_None); resultobj = Py_None;
3074 return resultobj;
3075 fail:
3076 return NULL;
3077 }
3078
3079
3080 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3081 PyObject *resultobj;
3082 wxFrame *arg1 = (wxFrame *) 0 ;
3083 int result;
3084 PyObject * obj0 = 0 ;
3085 char *kwnames[] = {
3086 (char *) "self", NULL
3087 };
3088
3089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3091 {
3092 PyThreadState* __tstate = wxPyBeginAllowThreads();
3093 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3094
3095 wxPyEndAllowThreads(__tstate);
3096 if (PyErr_Occurred()) SWIG_fail;
3097 }
3098 resultobj = PyInt_FromLong((long)result);
3099 return resultobj;
3100 fail:
3101 return NULL;
3102 }
3103
3104
3105 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3106 PyObject *resultobj;
3107 wxFrame *arg1 = (wxFrame *) 0 ;
3108 long arg2 = (long) -1 ;
3109 int arg3 = (int) -1 ;
3110 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3111 wxString *arg4 = (wxString *) &arg4_defvalue ;
3112 wxToolBar *result;
3113 bool temp4 = False ;
3114 PyObject * obj0 = 0 ;
3115 PyObject * obj3 = 0 ;
3116 char *kwnames[] = {
3117 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3118 };
3119
3120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|liO:Frame_CreateToolBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
3121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3122 if (obj3) {
3123 {
3124 arg4 = wxString_in_helper(obj3);
3125 if (arg4 == NULL) SWIG_fail;
3126 temp4 = True;
3127 }
3128 }
3129 {
3130 PyThreadState* __tstate = wxPyBeginAllowThreads();
3131 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3132
3133 wxPyEndAllowThreads(__tstate);
3134 if (PyErr_Occurred()) SWIG_fail;
3135 }
3136 {
3137 resultobj = wxPyMake_wxObject(result);
3138 }
3139 {
3140 if (temp4)
3141 delete arg4;
3142 }
3143 return resultobj;
3144 fail:
3145 {
3146 if (temp4)
3147 delete arg4;
3148 }
3149 return NULL;
3150 }
3151
3152
3153 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3154 PyObject *resultobj;
3155 wxFrame *arg1 = (wxFrame *) 0 ;
3156 wxToolBar *result;
3157 PyObject * obj0 = 0 ;
3158 char *kwnames[] = {
3159 (char *) "self", NULL
3160 };
3161
3162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3164 {
3165 PyThreadState* __tstate = wxPyBeginAllowThreads();
3166 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3167
3168 wxPyEndAllowThreads(__tstate);
3169 if (PyErr_Occurred()) SWIG_fail;
3170 }
3171 {
3172 resultobj = wxPyMake_wxObject(result);
3173 }
3174 return resultobj;
3175 fail:
3176 return NULL;
3177 }
3178
3179
3180 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3181 PyObject *resultobj;
3182 wxFrame *arg1 = (wxFrame *) 0 ;
3183 wxToolBar *arg2 = (wxToolBar *) 0 ;
3184 PyObject * obj0 = 0 ;
3185 PyObject * obj1 = 0 ;
3186 char *kwnames[] = {
3187 (char *) "self",(char *) "toolbar", NULL
3188 };
3189
3190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3192 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3193 {
3194 PyThreadState* __tstate = wxPyBeginAllowThreads();
3195 (arg1)->SetToolBar(arg2);
3196
3197 wxPyEndAllowThreads(__tstate);
3198 if (PyErr_Occurred()) SWIG_fail;
3199 }
3200 Py_INCREF(Py_None); resultobj = Py_None;
3201 return resultobj;
3202 fail:
3203 return NULL;
3204 }
3205
3206
3207 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3208 PyObject *resultobj;
3209 wxFrame *arg1 = (wxFrame *) 0 ;
3210 wxString *arg2 = 0 ;
3211 bool arg3 ;
3212 bool temp2 = False ;
3213 PyObject * obj0 = 0 ;
3214 PyObject * obj1 = 0 ;
3215 PyObject * obj2 = 0 ;
3216 char *kwnames[] = {
3217 (char *) "self",(char *) "text",(char *) "show", NULL
3218 };
3219
3220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3222 {
3223 arg2 = wxString_in_helper(obj1);
3224 if (arg2 == NULL) SWIG_fail;
3225 temp2 = True;
3226 }
3227 arg3 = PyInt_AsLong(obj2) ? true : false;
3228 if (PyErr_Occurred()) SWIG_fail;
3229 {
3230 PyThreadState* __tstate = wxPyBeginAllowThreads();
3231 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3232
3233 wxPyEndAllowThreads(__tstate);
3234 if (PyErr_Occurred()) SWIG_fail;
3235 }
3236 Py_INCREF(Py_None); resultobj = Py_None;
3237 {
3238 if (temp2)
3239 delete arg2;
3240 }
3241 return resultobj;
3242 fail:
3243 {
3244 if (temp2)
3245 delete arg2;
3246 }
3247 return NULL;
3248 }
3249
3250
3251 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3252 PyObject *resultobj;
3253 wxFrame *arg1 = (wxFrame *) 0 ;
3254 wxMenu *arg2 = (wxMenu *) NULL ;
3255 PyObject * obj0 = 0 ;
3256 PyObject * obj1 = 0 ;
3257 char *kwnames[] = {
3258 (char *) "self",(char *) "menu", NULL
3259 };
3260
3261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3263 if (obj1) {
3264 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3265 }
3266 {
3267 PyThreadState* __tstate = wxPyBeginAllowThreads();
3268 (arg1)->DoMenuUpdates(arg2);
3269
3270 wxPyEndAllowThreads(__tstate);
3271 if (PyErr_Occurred()) SWIG_fail;
3272 }
3273 Py_INCREF(Py_None); resultobj = Py_None;
3274 return resultobj;
3275 fail:
3276 return NULL;
3277 }
3278
3279
3280 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3281 PyObject *obj;
3282 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3283 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3284 Py_INCREF(obj);
3285 return Py_BuildValue((char *)"");
3286 }
3287 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3288 PyObject *resultobj;
3289 wxWindow *arg1 = (wxWindow *) 0 ;
3290 int arg2 ;
3291 wxString *arg3 = 0 ;
3292 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3293 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3294 wxSize const &arg5_defvalue = wxDefaultSize ;
3295 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3296 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3297 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3298 wxString *arg7 = (wxString *) &arg7_defvalue ;
3299 wxDialog *result;
3300 bool temp3 = False ;
3301 wxPoint temp4 ;
3302 wxSize temp5 ;
3303 bool temp7 = False ;
3304 PyObject * obj0 = 0 ;
3305 PyObject * obj2 = 0 ;
3306 PyObject * obj3 = 0 ;
3307 PyObject * obj4 = 0 ;
3308 PyObject * obj6 = 0 ;
3309 char *kwnames[] = {
3310 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3311 };
3312
3313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Dialog",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3315 {
3316 arg3 = wxString_in_helper(obj2);
3317 if (arg3 == NULL) SWIG_fail;
3318 temp3 = True;
3319 }
3320 if (obj3) {
3321 {
3322 arg4 = &temp4;
3323 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3324 }
3325 }
3326 if (obj4) {
3327 {
3328 arg5 = &temp5;
3329 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3330 }
3331 }
3332 if (obj6) {
3333 {
3334 arg7 = wxString_in_helper(obj6);
3335 if (arg7 == NULL) SWIG_fail;
3336 temp7 = True;
3337 }
3338 }
3339 {
3340 PyThreadState* __tstate = wxPyBeginAllowThreads();
3341 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3342
3343 wxPyEndAllowThreads(__tstate);
3344 if (PyErr_Occurred()) SWIG_fail;
3345 }
3346 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3347 {
3348 if (temp3)
3349 delete arg3;
3350 }
3351 {
3352 if (temp7)
3353 delete arg7;
3354 }
3355 return resultobj;
3356 fail:
3357 {
3358 if (temp3)
3359 delete arg3;
3360 }
3361 {
3362 if (temp7)
3363 delete arg7;
3364 }
3365 return NULL;
3366 }
3367
3368
3369 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3370 PyObject *resultobj;
3371 wxDialog *result;
3372 char *kwnames[] = {
3373 NULL
3374 };
3375
3376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
3377 {
3378 PyThreadState* __tstate = wxPyBeginAllowThreads();
3379 result = (wxDialog *)new wxDialog();
3380
3381 wxPyEndAllowThreads(__tstate);
3382 if (PyErr_Occurred()) SWIG_fail;
3383 }
3384 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3385 return resultobj;
3386 fail:
3387 return NULL;
3388 }
3389
3390
3391 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3392 PyObject *resultobj;
3393 wxDialog *arg1 = (wxDialog *) 0 ;
3394 wxWindow *arg2 = (wxWindow *) 0 ;
3395 int arg3 ;
3396 wxString *arg4 = 0 ;
3397 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3398 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3399 wxSize const &arg6_defvalue = wxDefaultSize ;
3400 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3401 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
3402 wxString const &arg8_defvalue = wxPyDialogNameStr ;
3403 wxString *arg8 = (wxString *) &arg8_defvalue ;
3404 bool result;
3405 bool temp4 = False ;
3406 wxPoint temp5 ;
3407 wxSize temp6 ;
3408 bool temp8 = False ;
3409 PyObject * obj0 = 0 ;
3410 PyObject * obj1 = 0 ;
3411 PyObject * obj3 = 0 ;
3412 PyObject * obj4 = 0 ;
3413 PyObject * obj5 = 0 ;
3414 PyObject * obj7 = 0 ;
3415 char *kwnames[] = {
3416 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3417 };
3418
3419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Dialog_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3421 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3422 {
3423 arg4 = wxString_in_helper(obj3);
3424 if (arg4 == NULL) SWIG_fail;
3425 temp4 = True;
3426 }
3427 if (obj4) {
3428 {
3429 arg5 = &temp5;
3430 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3431 }
3432 }
3433 if (obj5) {
3434 {
3435 arg6 = &temp6;
3436 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3437 }
3438 }
3439 if (obj7) {
3440 {
3441 arg8 = wxString_in_helper(obj7);
3442 if (arg8 == NULL) SWIG_fail;
3443 temp8 = True;
3444 }
3445 }
3446 {
3447 PyThreadState* __tstate = wxPyBeginAllowThreads();
3448 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3449
3450 wxPyEndAllowThreads(__tstate);
3451 if (PyErr_Occurred()) SWIG_fail;
3452 }
3453 resultobj = PyInt_FromLong((long)result);
3454 {
3455 if (temp4)
3456 delete arg4;
3457 }
3458 {
3459 if (temp8)
3460 delete arg8;
3461 }
3462 return resultobj;
3463 fail:
3464 {
3465 if (temp4)
3466 delete arg4;
3467 }
3468 {
3469 if (temp8)
3470 delete arg8;
3471 }
3472 return NULL;
3473 }
3474
3475
3476 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3477 PyObject *resultobj;
3478 wxDialog *arg1 = (wxDialog *) 0 ;
3479 int arg2 ;
3480 PyObject * obj0 = 0 ;
3481 char *kwnames[] = {
3482 (char *) "self",(char *) "returnCode", NULL
3483 };
3484
3485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_SetReturnCode",kwnames,&obj0,&arg2)) goto fail;
3486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3487 {
3488 PyThreadState* __tstate = wxPyBeginAllowThreads();
3489 (arg1)->SetReturnCode(arg2);
3490
3491 wxPyEndAllowThreads(__tstate);
3492 if (PyErr_Occurred()) SWIG_fail;
3493 }
3494 Py_INCREF(Py_None); resultobj = Py_None;
3495 return resultobj;
3496 fail:
3497 return NULL;
3498 }
3499
3500
3501 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3502 PyObject *resultobj;
3503 wxDialog *arg1 = (wxDialog *) 0 ;
3504 int result;
3505 PyObject * obj0 = 0 ;
3506 char *kwnames[] = {
3507 (char *) "self", NULL
3508 };
3509
3510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
3511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3512 {
3513 PyThreadState* __tstate = wxPyBeginAllowThreads();
3514 result = (int)((wxDialog const *)arg1)->GetReturnCode();
3515
3516 wxPyEndAllowThreads(__tstate);
3517 if (PyErr_Occurred()) SWIG_fail;
3518 }
3519 resultobj = PyInt_FromLong((long)result);
3520 return resultobj;
3521 fail:
3522 return NULL;
3523 }
3524
3525
3526 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3527 PyObject *resultobj;
3528 wxDialog *arg1 = (wxDialog *) 0 ;
3529 wxString *arg2 = 0 ;
3530 wxSizer *result;
3531 bool temp2 = False ;
3532 PyObject * obj0 = 0 ;
3533 PyObject * obj1 = 0 ;
3534 char *kwnames[] = {
3535 (char *) "self",(char *) "message", NULL
3536 };
3537
3538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
3539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3540 {
3541 arg2 = wxString_in_helper(obj1);
3542 if (arg2 == NULL) SWIG_fail;
3543 temp2 = True;
3544 }
3545 {
3546 PyThreadState* __tstate = wxPyBeginAllowThreads();
3547 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
3548
3549 wxPyEndAllowThreads(__tstate);
3550 if (PyErr_Occurred()) SWIG_fail;
3551 }
3552 {
3553 resultobj = wxPyMake_wxSizer(result);
3554 }
3555 {
3556 if (temp2)
3557 delete arg2;
3558 }
3559 return resultobj;
3560 fail:
3561 {
3562 if (temp2)
3563 delete arg2;
3564 }
3565 return NULL;
3566 }
3567
3568
3569 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3570 PyObject *resultobj;
3571 wxDialog *arg1 = (wxDialog *) 0 ;
3572 long arg2 ;
3573 wxSizer *result;
3574 PyObject * obj0 = 0 ;
3575 char *kwnames[] = {
3576 (char *) "self",(char *) "flags", NULL
3577 };
3578
3579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Dialog_CreateButtonSizer",kwnames,&obj0,&arg2)) goto fail;
3580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3581 {
3582 PyThreadState* __tstate = wxPyBeginAllowThreads();
3583 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
3584
3585 wxPyEndAllowThreads(__tstate);
3586 if (PyErr_Occurred()) SWIG_fail;
3587 }
3588 {
3589 resultobj = wxPyMake_wxSizer(result);
3590 }
3591 return resultobj;
3592 fail:
3593 return NULL;
3594 }
3595
3596
3597 static PyObject *_wrap_Dialog_SetModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3598 PyObject *resultobj;
3599 wxDialog *arg1 = (wxDialog *) 0 ;
3600 bool arg2 ;
3601 PyObject * obj0 = 0 ;
3602 PyObject * obj1 = 0 ;
3603 char *kwnames[] = {
3604 (char *) "self",(char *) "flag", NULL
3605 };
3606
3607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetModal",kwnames,&obj0,&obj1)) goto fail;
3608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3609 arg2 = PyInt_AsLong(obj1) ? true : false;
3610 if (PyErr_Occurred()) SWIG_fail;
3611 {
3612 PyThreadState* __tstate = wxPyBeginAllowThreads();
3613 (arg1)->SetModal(arg2);
3614
3615 wxPyEndAllowThreads(__tstate);
3616 if (PyErr_Occurred()) SWIG_fail;
3617 }
3618 Py_INCREF(Py_None); resultobj = Py_None;
3619 return resultobj;
3620 fail:
3621 return NULL;
3622 }
3623
3624
3625 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3626 PyObject *resultobj;
3627 wxDialog *arg1 = (wxDialog *) 0 ;
3628 bool result;
3629 PyObject * obj0 = 0 ;
3630 char *kwnames[] = {
3631 (char *) "self", NULL
3632 };
3633
3634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
3635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3636 {
3637 PyThreadState* __tstate = wxPyBeginAllowThreads();
3638 result = (bool)((wxDialog const *)arg1)->IsModal();
3639
3640 wxPyEndAllowThreads(__tstate);
3641 if (PyErr_Occurred()) SWIG_fail;
3642 }
3643 resultobj = PyInt_FromLong((long)result);
3644 return resultobj;
3645 fail:
3646 return NULL;
3647 }
3648
3649
3650 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3651 PyObject *resultobj;
3652 wxDialog *arg1 = (wxDialog *) 0 ;
3653 int result;
3654 PyObject * obj0 = 0 ;
3655 char *kwnames[] = {
3656 (char *) "self", NULL
3657 };
3658
3659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
3660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3661 {
3662 PyThreadState* __tstate = wxPyBeginAllowThreads();
3663 result = (int)(arg1)->ShowModal();
3664
3665 wxPyEndAllowThreads(__tstate);
3666 if (PyErr_Occurred()) SWIG_fail;
3667 }
3668 resultobj = PyInt_FromLong((long)result);
3669 return resultobj;
3670 fail:
3671 return NULL;
3672 }
3673
3674
3675 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3676 PyObject *resultobj;
3677 wxDialog *arg1 = (wxDialog *) 0 ;
3678 int arg2 ;
3679 PyObject * obj0 = 0 ;
3680 char *kwnames[] = {
3681 (char *) "self",(char *) "retCode", NULL
3682 };
3683
3684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_EndModal",kwnames,&obj0,&arg2)) goto fail;
3685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3686 {
3687 PyThreadState* __tstate = wxPyBeginAllowThreads();
3688 (arg1)->EndModal(arg2);
3689
3690 wxPyEndAllowThreads(__tstate);
3691 if (PyErr_Occurred()) SWIG_fail;
3692 }
3693 Py_INCREF(Py_None); resultobj = Py_None;
3694 return resultobj;
3695 fail:
3696 return NULL;
3697 }
3698
3699
3700 static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) {
3701 PyObject *resultobj;
3702 wxDialog *arg1 = (wxDialog *) 0 ;
3703 bool result;
3704 PyObject * obj0 = 0 ;
3705 char *kwnames[] = {
3706 (char *) "self", NULL
3707 };
3708
3709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
3710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3711 {
3712 PyThreadState* __tstate = wxPyBeginAllowThreads();
3713 result = (bool)wxDialog_IsModalShowing(arg1);
3714
3715 wxPyEndAllowThreads(__tstate);
3716 if (PyErr_Occurred()) SWIG_fail;
3717 }
3718 resultobj = PyInt_FromLong((long)result);
3719 return resultobj;
3720 fail:
3721 return NULL;
3722 }
3723
3724
3725 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
3726 PyObject *obj;
3727 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3728 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
3729 Py_INCREF(obj);
3730 return Py_BuildValue((char *)"");
3731 }
3732 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3733 PyObject *resultobj;
3734 wxWindow *arg1 = (wxWindow *) 0 ;
3735 int arg2 ;
3736 wxString *arg3 = 0 ;
3737 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3738 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3739 wxSize const &arg5_defvalue = wxDefaultSize ;
3740 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3741 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3742 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3743 wxString *arg7 = (wxString *) &arg7_defvalue ;
3744 wxMiniFrame *result;
3745 bool temp3 = False ;
3746 wxPoint temp4 ;
3747 wxSize temp5 ;
3748 bool temp7 = False ;
3749 PyObject * obj0 = 0 ;
3750 PyObject * obj2 = 0 ;
3751 PyObject * obj3 = 0 ;
3752 PyObject * obj4 = 0 ;
3753 PyObject * obj6 = 0 ;
3754 char *kwnames[] = {
3755 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3756 };
3757
3758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MiniFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3760 {
3761 arg3 = wxString_in_helper(obj2);
3762 if (arg3 == NULL) SWIG_fail;
3763 temp3 = True;
3764 }
3765 if (obj3) {
3766 {
3767 arg4 = &temp4;
3768 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3769 }
3770 }
3771 if (obj4) {
3772 {
3773 arg5 = &temp5;
3774 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3775 }
3776 }
3777 if (obj6) {
3778 {
3779 arg7 = wxString_in_helper(obj6);
3780 if (arg7 == NULL) SWIG_fail;
3781 temp7 = True;
3782 }
3783 }
3784 {
3785 PyThreadState* __tstate = wxPyBeginAllowThreads();
3786 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3787
3788 wxPyEndAllowThreads(__tstate);
3789 if (PyErr_Occurred()) SWIG_fail;
3790 }
3791 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
3792 {
3793 if (temp3)
3794 delete arg3;
3795 }
3796 {
3797 if (temp7)
3798 delete arg7;
3799 }
3800 return resultobj;
3801 fail:
3802 {
3803 if (temp3)
3804 delete arg3;
3805 }
3806 {
3807 if (temp7)
3808 delete arg7;
3809 }
3810 return NULL;
3811 }
3812
3813
3814 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3815 PyObject *resultobj;
3816 wxMiniFrame *result;
3817 char *kwnames[] = {
3818 NULL
3819 };
3820
3821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
3822 {
3823 PyThreadState* __tstate = wxPyBeginAllowThreads();
3824 result = (wxMiniFrame *)new wxMiniFrame();
3825
3826 wxPyEndAllowThreads(__tstate);
3827 if (PyErr_Occurred()) SWIG_fail;
3828 }
3829 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
3830 return resultobj;
3831 fail:
3832 return NULL;
3833 }
3834
3835
3836 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3837 PyObject *resultobj;
3838 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
3839 wxWindow *arg2 = (wxWindow *) 0 ;
3840 int arg3 ;
3841 wxString *arg4 = 0 ;
3842 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3843 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3844 wxSize const &arg6_defvalue = wxDefaultSize ;
3845 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3846 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3847 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3848 wxString *arg8 = (wxString *) &arg8_defvalue ;
3849 bool result;
3850 bool temp4 = False ;
3851 wxPoint temp5 ;
3852 wxSize temp6 ;
3853 bool temp8 = False ;
3854 PyObject * obj0 = 0 ;
3855 PyObject * obj1 = 0 ;
3856 PyObject * obj3 = 0 ;
3857 PyObject * obj4 = 0 ;
3858 PyObject * obj5 = 0 ;
3859 PyObject * obj7 = 0 ;
3860 char *kwnames[] = {
3861 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3862 };
3863
3864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MiniFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMiniFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3866 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3867 {
3868 arg4 = wxString_in_helper(obj3);
3869 if (arg4 == NULL) SWIG_fail;
3870 temp4 = True;
3871 }
3872 if (obj4) {
3873 {
3874 arg5 = &temp5;
3875 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3876 }
3877 }
3878 if (obj5) {
3879 {
3880 arg6 = &temp6;
3881 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3882 }
3883 }
3884 if (obj7) {
3885 {
3886 arg8 = wxString_in_helper(obj7);
3887 if (arg8 == NULL) SWIG_fail;
3888 temp8 = True;
3889 }
3890 }
3891 {
3892 PyThreadState* __tstate = wxPyBeginAllowThreads();
3893 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3894
3895 wxPyEndAllowThreads(__tstate);
3896 if (PyErr_Occurred()) SWIG_fail;
3897 }
3898 resultobj = PyInt_FromLong((long)result);
3899 {
3900 if (temp4)
3901 delete arg4;
3902 }
3903 {
3904 if (temp8)
3905 delete arg8;
3906 }
3907 return resultobj;
3908 fail:
3909 {
3910 if (temp4)
3911 delete arg4;
3912 }
3913 {
3914 if (temp8)
3915 delete arg8;
3916 }
3917 return NULL;
3918 }
3919
3920
3921 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
3922 PyObject *obj;
3923 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3924 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
3925 Py_INCREF(obj);
3926 return Py_BuildValue((char *)"");
3927 }
3928 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3929 PyObject *resultobj;
3930 wxBitmap *arg1 = 0 ;
3931 wxWindow *arg2 = (wxWindow *) 0 ;
3932 int arg3 ;
3933 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3934 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3935 wxSize const &arg5_defvalue = wxDefaultSize ;
3936 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3937 long arg6 = (long) wxNO_BORDER ;
3938 wxSplashScreenWindow *result;
3939 wxPoint temp4 ;
3940 wxSize temp5 ;
3941 PyObject * obj0 = 0 ;
3942 PyObject * obj1 = 0 ;
3943 PyObject * obj3 = 0 ;
3944 PyObject * obj4 = 0 ;
3945 char *kwnames[] = {
3946 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3947 };
3948
3949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOl:new_SplashScreenWindow",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
3950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3951 if (arg1 == NULL) {
3952 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3953 }
3954 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3955 if (obj3) {
3956 {
3957 arg4 = &temp4;
3958 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3959 }
3960 }
3961 if (obj4) {
3962 {
3963 arg5 = &temp5;
3964 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3965 }
3966 }
3967 {
3968 PyThreadState* __tstate = wxPyBeginAllowThreads();
3969 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
3970
3971 wxPyEndAllowThreads(__tstate);
3972 if (PyErr_Occurred()) SWIG_fail;
3973 }
3974 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 1);
3975 return resultobj;
3976 fail:
3977 return NULL;
3978 }
3979
3980
3981 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
3982 PyObject *resultobj;
3983 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
3984 wxBitmap *arg2 = 0 ;
3985 PyObject * obj0 = 0 ;
3986 PyObject * obj1 = 0 ;
3987 char *kwnames[] = {
3988 (char *) "self",(char *) "bitmap", NULL
3989 };
3990
3991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
3992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3993 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3994 if (arg2 == NULL) {
3995 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3996 }
3997 {
3998 PyThreadState* __tstate = wxPyBeginAllowThreads();
3999 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4000
4001 wxPyEndAllowThreads(__tstate);
4002 if (PyErr_Occurred()) SWIG_fail;
4003 }
4004 Py_INCREF(Py_None); resultobj = Py_None;
4005 return resultobj;
4006 fail:
4007 return NULL;
4008 }
4009
4010
4011 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4012 PyObject *resultobj;
4013 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4014 wxBitmap *result;
4015 PyObject * obj0 = 0 ;
4016 char *kwnames[] = {
4017 (char *) "self", NULL
4018 };
4019
4020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4022 {
4023 PyThreadState* __tstate = wxPyBeginAllowThreads();
4024 {
4025 wxBitmap &_result_ref = (arg1)->GetBitmap();
4026 result = (wxBitmap *) &_result_ref;
4027 }
4028
4029 wxPyEndAllowThreads(__tstate);
4030 if (PyErr_Occurred()) SWIG_fail;
4031 }
4032 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
4033 return resultobj;
4034 fail:
4035 return NULL;
4036 }
4037
4038
4039 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4040 PyObject *obj;
4041 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4042 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4043 Py_INCREF(obj);
4044 return Py_BuildValue((char *)"");
4045 }
4046 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4047 PyObject *resultobj;
4048 wxBitmap *arg1 = 0 ;
4049 long arg2 ;
4050 int arg3 ;
4051 wxWindow *arg4 = (wxWindow *) 0 ;
4052 int arg5 ;
4053 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4054 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4055 wxSize const &arg7_defvalue = wxDefaultSize ;
4056 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4057 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4058 wxSplashScreen *result;
4059 wxPoint temp6 ;
4060 wxSize temp7 ;
4061 PyObject * obj0 = 0 ;
4062 PyObject * obj3 = 0 ;
4063 PyObject * obj5 = 0 ;
4064 PyObject * obj6 = 0 ;
4065 char *kwnames[] = {
4066 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4067 };
4068
4069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliOi|OOl:new_SplashScreen",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5,&obj5,&obj6,&arg8)) goto fail;
4070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4071 if (arg1 == NULL) {
4072 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4073 }
4074 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4075 if (obj5) {
4076 {
4077 arg6 = &temp6;
4078 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4079 }
4080 }
4081 if (obj6) {
4082 {
4083 arg7 = &temp7;
4084 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4085 }
4086 }
4087 {
4088 PyThreadState* __tstate = wxPyBeginAllowThreads();
4089 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4090
4091 wxPyEndAllowThreads(__tstate);
4092 if (PyErr_Occurred()) SWIG_fail;
4093 }
4094 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreen, 1);
4095 return resultobj;
4096 fail:
4097 return NULL;
4098 }
4099
4100
4101 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4102 PyObject *resultobj;
4103 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4104 long result;
4105 PyObject * obj0 = 0 ;
4106 char *kwnames[] = {
4107 (char *) "self", NULL
4108 };
4109
4110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4112 {
4113 PyThreadState* __tstate = wxPyBeginAllowThreads();
4114 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4115
4116 wxPyEndAllowThreads(__tstate);
4117 if (PyErr_Occurred()) SWIG_fail;
4118 }
4119 resultobj = PyInt_FromLong((long)result);
4120 return resultobj;
4121 fail:
4122 return NULL;
4123 }
4124
4125
4126 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4127 PyObject *resultobj;
4128 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4129 wxSplashScreenWindow *result;
4130 PyObject * obj0 = 0 ;
4131 char *kwnames[] = {
4132 (char *) "self", NULL
4133 };
4134
4135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4137 {
4138 PyThreadState* __tstate = wxPyBeginAllowThreads();
4139 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4140
4141 wxPyEndAllowThreads(__tstate);
4142 if (PyErr_Occurred()) SWIG_fail;
4143 }
4144 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 0);
4145 return resultobj;
4146 fail:
4147 return NULL;
4148 }
4149
4150
4151 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4152 PyObject *resultobj;
4153 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4154 int result;
4155 PyObject * obj0 = 0 ;
4156 char *kwnames[] = {
4157 (char *) "self", NULL
4158 };
4159
4160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4162 {
4163 PyThreadState* __tstate = wxPyBeginAllowThreads();
4164 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4165
4166 wxPyEndAllowThreads(__tstate);
4167 if (PyErr_Occurred()) SWIG_fail;
4168 }
4169 resultobj = PyInt_FromLong((long)result);
4170 return resultobj;
4171 fail:
4172 return NULL;
4173 }
4174
4175
4176 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4177 PyObject *obj;
4178 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4179 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4180 Py_INCREF(obj);
4181 return Py_BuildValue((char *)"");
4182 }
4183 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4184 PyObject *resultobj;
4185 wxWindow *arg1 = (wxWindow *) 0 ;
4186 int arg2 = (int) -1 ;
4187 long arg3 = (long) wxST_SIZEGRIP ;
4188 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4189 wxString *arg4 = (wxString *) &arg4_defvalue ;
4190 wxStatusBar *result;
4191 bool temp4 = False ;
4192 PyObject * obj0 = 0 ;
4193 PyObject * obj3 = 0 ;
4194 char *kwnames[] = {
4195 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4196 };
4197
4198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ilO:new_StatusBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
4199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4200 if (obj3) {
4201 {
4202 arg4 = wxString_in_helper(obj3);
4203 if (arg4 == NULL) SWIG_fail;
4204 temp4 = True;
4205 }
4206 }
4207 {
4208 PyThreadState* __tstate = wxPyBeginAllowThreads();
4209 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4210
4211 wxPyEndAllowThreads(__tstate);
4212 if (PyErr_Occurred()) SWIG_fail;
4213 }
4214 {
4215 resultobj = wxPyMake_wxObject(result);
4216 }
4217 {
4218 if (temp4)
4219 delete arg4;
4220 }
4221 return resultobj;
4222 fail:
4223 {
4224 if (temp4)
4225 delete arg4;
4226 }
4227 return NULL;
4228 }
4229
4230
4231 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4232 PyObject *resultobj;
4233 wxStatusBar *result;
4234 char *kwnames[] = {
4235 NULL
4236 };
4237
4238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4239 {
4240 PyThreadState* __tstate = wxPyBeginAllowThreads();
4241 result = (wxStatusBar *)new wxStatusBar();
4242
4243 wxPyEndAllowThreads(__tstate);
4244 if (PyErr_Occurred()) SWIG_fail;
4245 }
4246 {
4247 resultobj = wxPyMake_wxObject(result);
4248 }
4249 return resultobj;
4250 fail:
4251 return NULL;
4252 }
4253
4254
4255 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4256 PyObject *resultobj;
4257 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4258 wxWindow *arg2 = (wxWindow *) 0 ;
4259 int arg3 ;
4260 long arg4 = (long) wxST_SIZEGRIP ;
4261 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4262 wxString *arg5 = (wxString *) &arg5_defvalue ;
4263 bool result;
4264 bool temp5 = False ;
4265 PyObject * obj0 = 0 ;
4266 PyObject * obj1 = 0 ;
4267 PyObject * obj4 = 0 ;
4268 char *kwnames[] = {
4269 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4270 };
4271
4272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|lO:StatusBar_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
4273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4274 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4275 if (obj4) {
4276 {
4277 arg5 = wxString_in_helper(obj4);
4278 if (arg5 == NULL) SWIG_fail;
4279 temp5 = True;
4280 }
4281 }
4282 {
4283 PyThreadState* __tstate = wxPyBeginAllowThreads();
4284 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4285
4286 wxPyEndAllowThreads(__tstate);
4287 if (PyErr_Occurred()) SWIG_fail;
4288 }
4289 resultobj = PyInt_FromLong((long)result);
4290 {
4291 if (temp5)
4292 delete arg5;
4293 }
4294 return resultobj;
4295 fail:
4296 {
4297 if (temp5)
4298 delete arg5;
4299 }
4300 return NULL;
4301 }
4302
4303
4304 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4305 PyObject *resultobj;
4306 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4307 int arg2 = (int) 1 ;
4308 PyObject * obj0 = 0 ;
4309 char *kwnames[] = {
4310 (char *) "self",(char *) "number", NULL
4311 };
4312
4313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_SetFieldsCount",kwnames,&obj0,&arg2)) goto fail;
4314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4315 {
4316 PyThreadState* __tstate = wxPyBeginAllowThreads();
4317 (arg1)->SetFieldsCount(arg2);
4318
4319 wxPyEndAllowThreads(__tstate);
4320 if (PyErr_Occurred()) SWIG_fail;
4321 }
4322 Py_INCREF(Py_None); resultobj = Py_None;
4323 return resultobj;
4324 fail:
4325 return NULL;
4326 }
4327
4328
4329 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4330 PyObject *resultobj;
4331 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4332 int result;
4333 PyObject * obj0 = 0 ;
4334 char *kwnames[] = {
4335 (char *) "self", NULL
4336 };
4337
4338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
4339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4340 {
4341 PyThreadState* __tstate = wxPyBeginAllowThreads();
4342 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
4343
4344 wxPyEndAllowThreads(__tstate);
4345 if (PyErr_Occurred()) SWIG_fail;
4346 }
4347 resultobj = PyInt_FromLong((long)result);
4348 return resultobj;
4349 fail:
4350 return NULL;
4351 }
4352
4353
4354 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4355 PyObject *resultobj;
4356 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4357 wxString *arg2 = 0 ;
4358 int arg3 = (int) 0 ;
4359 bool temp2 = False ;
4360 PyObject * obj0 = 0 ;
4361 PyObject * obj1 = 0 ;
4362 char *kwnames[] = {
4363 (char *) "self",(char *) "text",(char *) "number", NULL
4364 };
4365
4366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4368 {
4369 arg2 = wxString_in_helper(obj1);
4370 if (arg2 == NULL) SWIG_fail;
4371 temp2 = True;
4372 }
4373 {
4374 PyThreadState* __tstate = wxPyBeginAllowThreads();
4375 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
4376
4377 wxPyEndAllowThreads(__tstate);
4378 if (PyErr_Occurred()) SWIG_fail;
4379 }
4380 Py_INCREF(Py_None); resultobj = Py_None;
4381 {
4382 if (temp2)
4383 delete arg2;
4384 }
4385 return resultobj;
4386 fail:
4387 {
4388 if (temp2)
4389 delete arg2;
4390 }
4391 return NULL;
4392 }
4393
4394
4395 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4396 PyObject *resultobj;
4397 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4398 int arg2 = (int) 0 ;
4399 wxString result;
4400 PyObject * obj0 = 0 ;
4401 char *kwnames[] = {
4402 (char *) "self",(char *) "number", NULL
4403 };
4404
4405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_GetStatusText",kwnames,&obj0,&arg2)) goto fail;
4406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4407 {
4408 PyThreadState* __tstate = wxPyBeginAllowThreads();
4409 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
4410
4411 wxPyEndAllowThreads(__tstate);
4412 if (PyErr_Occurred()) SWIG_fail;
4413 }
4414 {
4415 #if wxUSE_UNICODE
4416 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4417 #else
4418 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4419 #endif
4420 }
4421 return resultobj;
4422 fail:
4423 return NULL;
4424 }
4425
4426
4427 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4428 PyObject *resultobj;
4429 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4430 wxString *arg2 = 0 ;
4431 int arg3 = (int) 0 ;
4432 bool temp2 = False ;
4433 PyObject * obj0 = 0 ;
4434 PyObject * obj1 = 0 ;
4435 char *kwnames[] = {
4436 (char *) "self",(char *) "text",(char *) "number", NULL
4437 };
4438
4439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4441 {
4442 arg2 = wxString_in_helper(obj1);
4443 if (arg2 == NULL) SWIG_fail;
4444 temp2 = True;
4445 }
4446 {
4447 PyThreadState* __tstate = wxPyBeginAllowThreads();
4448 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
4449
4450 wxPyEndAllowThreads(__tstate);
4451 if (PyErr_Occurred()) SWIG_fail;
4452 }
4453 Py_INCREF(Py_None); resultobj = Py_None;
4454 {
4455 if (temp2)
4456 delete arg2;
4457 }
4458 return resultobj;
4459 fail:
4460 {
4461 if (temp2)
4462 delete arg2;
4463 }
4464 return NULL;
4465 }
4466
4467
4468 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4469 PyObject *resultobj;
4470 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4471 int arg2 = (int) 0 ;
4472 PyObject * obj0 = 0 ;
4473 char *kwnames[] = {
4474 (char *) "self",(char *) "number", NULL
4475 };
4476
4477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
4478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4479 {
4480 PyThreadState* __tstate = wxPyBeginAllowThreads();
4481 (arg1)->PopStatusText(arg2);
4482
4483 wxPyEndAllowThreads(__tstate);
4484 if (PyErr_Occurred()) SWIG_fail;
4485 }
4486 Py_INCREF(Py_None); resultobj = Py_None;
4487 return resultobj;
4488 fail:
4489 return NULL;
4490 }
4491
4492
4493 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
4494 PyObject *resultobj;
4495 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4496 int arg2 ;
4497 int *arg3 = (int *) 0 ;
4498 PyObject * obj0 = 0 ;
4499 PyObject * obj1 = 0 ;
4500 char *kwnames[] = {
4501 (char *) "self",(char *) "widths", NULL
4502 };
4503
4504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
4505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4506 {
4507 arg2 = PyList_Size(obj1);
4508 arg3 = int_LIST_helper(obj1);
4509 if (arg3 == NULL) SWIG_fail;
4510 }
4511 {
4512 PyThreadState* __tstate = wxPyBeginAllowThreads();
4513 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
4514
4515 wxPyEndAllowThreads(__tstate);
4516 if (PyErr_Occurred()) SWIG_fail;
4517 }
4518 Py_INCREF(Py_None); resultobj = Py_None;
4519 {
4520 if (arg3) delete [] arg3;
4521 }
4522 return resultobj;
4523 fail:
4524 {
4525 if (arg3) delete [] arg3;
4526 }
4527 return NULL;
4528 }
4529
4530
4531 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4532 PyObject *resultobj;
4533 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4534 int arg2 ;
4535 wxRect result;
4536 PyObject * obj0 = 0 ;
4537 char *kwnames[] = {
4538 (char *) "self",(char *) "i", NULL
4539 };
4540
4541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_GetFieldRect",kwnames,&obj0,&arg2)) goto fail;
4542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4543 {
4544 PyThreadState* __tstate = wxPyBeginAllowThreads();
4545 result = wxStatusBar_GetFieldRect(arg1,arg2);
4546
4547 wxPyEndAllowThreads(__tstate);
4548 if (PyErr_Occurred()) SWIG_fail;
4549 }
4550 {
4551 wxRect * resultptr;
4552 resultptr = new wxRect((wxRect &) result);
4553 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
4554 }
4555 return resultobj;
4556 fail:
4557 return NULL;
4558 }
4559
4560
4561 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
4562 PyObject *resultobj;
4563 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4564 int arg2 ;
4565 PyObject * obj0 = 0 ;
4566 char *kwnames[] = {
4567 (char *) "self",(char *) "height", NULL
4568 };
4569
4570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_SetMinHeight",kwnames,&obj0,&arg2)) goto fail;
4571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4572 {
4573 PyThreadState* __tstate = wxPyBeginAllowThreads();
4574 (arg1)->SetMinHeight(arg2);
4575
4576 wxPyEndAllowThreads(__tstate);
4577 if (PyErr_Occurred()) SWIG_fail;
4578 }
4579 Py_INCREF(Py_None); resultobj = Py_None;
4580 return resultobj;
4581 fail:
4582 return NULL;
4583 }
4584
4585
4586 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
4587 PyObject *resultobj;
4588 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4589 int result;
4590 PyObject * obj0 = 0 ;
4591 char *kwnames[] = {
4592 (char *) "self", NULL
4593 };
4594
4595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
4596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4597 {
4598 PyThreadState* __tstate = wxPyBeginAllowThreads();
4599 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
4600
4601 wxPyEndAllowThreads(__tstate);
4602 if (PyErr_Occurred()) SWIG_fail;
4603 }
4604 resultobj = PyInt_FromLong((long)result);
4605 return resultobj;
4606 fail:
4607 return NULL;
4608 }
4609
4610
4611 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
4612 PyObject *resultobj;
4613 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4614 int result;
4615 PyObject * obj0 = 0 ;
4616 char *kwnames[] = {
4617 (char *) "self", NULL
4618 };
4619
4620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
4621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4622 {
4623 PyThreadState* __tstate = wxPyBeginAllowThreads();
4624 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
4625
4626 wxPyEndAllowThreads(__tstate);
4627 if (PyErr_Occurred()) SWIG_fail;
4628 }
4629 resultobj = PyInt_FromLong((long)result);
4630 return resultobj;
4631 fail:
4632 return NULL;
4633 }
4634
4635
4636 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
4637 PyObject *obj;
4638 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4639 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
4640 Py_INCREF(obj);
4641 return Py_BuildValue((char *)"");
4642 }
4643 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4644 PyObject *resultobj;
4645 wxWindow *arg1 = (wxWindow *) 0 ;
4646 int arg2 ;
4647 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4648 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4649 wxSize const &arg4_defvalue = wxDefaultSize ;
4650 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4651 long arg5 = (long) wxSP_3D ;
4652 wxString const &arg6_defvalue = wxPySplitterNameStr ;
4653 wxString *arg6 = (wxString *) &arg6_defvalue ;
4654 wxSplitterWindow *result;
4655 wxPoint temp3 ;
4656 wxSize temp4 ;
4657 bool temp6 = False ;
4658 PyObject * obj0 = 0 ;
4659 PyObject * obj2 = 0 ;
4660 PyObject * obj3 = 0 ;
4661 PyObject * obj5 = 0 ;
4662 char *kwnames[] = {
4663 (char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4664 };
4665
4666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SplitterWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
4667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4668 if (obj2) {
4669 {
4670 arg3 = &temp3;
4671 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4672 }
4673 }
4674 if (obj3) {
4675 {
4676 arg4 = &temp4;
4677 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4678 }
4679 }
4680 if (obj5) {
4681 {
4682 arg6 = wxString_in_helper(obj5);
4683 if (arg6 == NULL) SWIG_fail;
4684 temp6 = True;
4685 }
4686 }
4687 {
4688 PyThreadState* __tstate = wxPyBeginAllowThreads();
4689 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4690
4691 wxPyEndAllowThreads(__tstate);
4692 if (PyErr_Occurred()) SWIG_fail;
4693 }
4694 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
4695 {
4696 if (temp6)
4697 delete arg6;
4698 }
4699 return resultobj;
4700 fail:
4701 {
4702 if (temp6)
4703 delete arg6;
4704 }
4705 return NULL;
4706 }
4707
4708
4709 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4710 PyObject *resultobj;
4711 wxSplitterWindow *result;
4712 char *kwnames[] = {
4713 NULL
4714 };
4715
4716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
4717 {
4718 PyThreadState* __tstate = wxPyBeginAllowThreads();
4719 result = (wxSplitterWindow *)new wxSplitterWindow();
4720
4721 wxPyEndAllowThreads(__tstate);
4722 if (PyErr_Occurred()) SWIG_fail;
4723 }
4724 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
4725 return resultobj;
4726 fail:
4727 return NULL;
4728 }
4729
4730
4731 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4732 PyObject *resultobj;
4733 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4734 wxWindow *arg2 = (wxWindow *) 0 ;
4735 int arg3 ;
4736 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4737 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4738 wxSize const &arg5_defvalue = wxDefaultSize ;
4739 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4740 long arg6 = (long) wxSP_3D ;
4741 wxString const &arg7_defvalue = wxPySplitterNameStr ;
4742 wxString *arg7 = (wxString *) &arg7_defvalue ;
4743 bool result;
4744 wxPoint temp4 ;
4745 wxSize temp5 ;
4746 bool temp7 = False ;
4747 PyObject * obj0 = 0 ;
4748 PyObject * obj1 = 0 ;
4749 PyObject * obj3 = 0 ;
4750 PyObject * obj4 = 0 ;
4751 PyObject * obj6 = 0 ;
4752 char *kwnames[] = {
4753 (char *) "self",(char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4754 };
4755
4756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SplitterWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
4757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4758 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4759 if (obj3) {
4760 {
4761 arg4 = &temp4;
4762 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4763 }
4764 }
4765 if (obj4) {
4766 {
4767 arg5 = &temp5;
4768 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4769 }
4770 }
4771 if (obj6) {
4772 {
4773 arg7 = wxString_in_helper(obj6);
4774 if (arg7 == NULL) SWIG_fail;
4775 temp7 = True;
4776 }
4777 }
4778 {
4779 PyThreadState* __tstate = wxPyBeginAllowThreads();
4780 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4781
4782 wxPyEndAllowThreads(__tstate);
4783 if (PyErr_Occurred()) SWIG_fail;
4784 }
4785 resultobj = PyInt_FromLong((long)result);
4786 {
4787 if (temp7)
4788 delete arg7;
4789 }
4790 return resultobj;
4791 fail:
4792 {
4793 if (temp7)
4794 delete arg7;
4795 }
4796 return NULL;
4797 }
4798
4799
4800 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
4801 PyObject *resultobj;
4802 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4803 wxWindow *result;
4804 PyObject * obj0 = 0 ;
4805 char *kwnames[] = {
4806 (char *) "self", NULL
4807 };
4808
4809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
4810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4811 {
4812 PyThreadState* __tstate = wxPyBeginAllowThreads();
4813 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
4814
4815 wxPyEndAllowThreads(__tstate);
4816 if (PyErr_Occurred()) SWIG_fail;
4817 }
4818 {
4819 resultobj = wxPyMake_wxObject(result);
4820 }
4821 return resultobj;
4822 fail:
4823 return NULL;
4824 }
4825
4826
4827 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
4828 PyObject *resultobj;
4829 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4830 wxWindow *result;
4831 PyObject * obj0 = 0 ;
4832 char *kwnames[] = {
4833 (char *) "self", NULL
4834 };
4835
4836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
4837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4838 {
4839 PyThreadState* __tstate = wxPyBeginAllowThreads();
4840 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
4841
4842 wxPyEndAllowThreads(__tstate);
4843 if (PyErr_Occurred()) SWIG_fail;
4844 }
4845 {
4846 resultobj = wxPyMake_wxObject(result);
4847 }
4848 return resultobj;
4849 fail:
4850 return NULL;
4851 }
4852
4853
4854 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4855 PyObject *resultobj;
4856 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4857 int arg2 ;
4858 PyObject * obj0 = 0 ;
4859 char *kwnames[] = {
4860 (char *) "self",(char *) "mode", NULL
4861 };
4862
4863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSplitMode",kwnames,&obj0,&arg2)) goto fail;
4864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4865 {
4866 PyThreadState* __tstate = wxPyBeginAllowThreads();
4867 (arg1)->SetSplitMode(arg2);
4868
4869 wxPyEndAllowThreads(__tstate);
4870 if (PyErr_Occurred()) SWIG_fail;
4871 }
4872 Py_INCREF(Py_None); resultobj = Py_None;
4873 return resultobj;
4874 fail:
4875 return NULL;
4876 }
4877
4878
4879 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4880 PyObject *resultobj;
4881 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4882 int result;
4883 PyObject * obj0 = 0 ;
4884 char *kwnames[] = {
4885 (char *) "self", NULL
4886 };
4887
4888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
4889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4890 {
4891 PyThreadState* __tstate = wxPyBeginAllowThreads();
4892 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
4893
4894 wxPyEndAllowThreads(__tstate);
4895 if (PyErr_Occurred()) SWIG_fail;
4896 }
4897 resultobj = PyInt_FromLong((long)result);
4898 return resultobj;
4899 fail:
4900 return NULL;
4901 }
4902
4903
4904 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
4905 PyObject *resultobj;
4906 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4907 wxWindow *arg2 = (wxWindow *) 0 ;
4908 PyObject * obj0 = 0 ;
4909 PyObject * obj1 = 0 ;
4910 char *kwnames[] = {
4911 (char *) "self",(char *) "window", NULL
4912 };
4913
4914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
4915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4916 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4917 {
4918 PyThreadState* __tstate = wxPyBeginAllowThreads();
4919 (arg1)->Initialize(arg2);
4920
4921 wxPyEndAllowThreads(__tstate);
4922 if (PyErr_Occurred()) SWIG_fail;
4923 }
4924 Py_INCREF(Py_None); resultobj = Py_None;
4925 return resultobj;
4926 fail:
4927 return NULL;
4928 }
4929
4930
4931 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
4932 PyObject *resultobj;
4933 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4934 wxWindow *arg2 = (wxWindow *) 0 ;
4935 wxWindow *arg3 = (wxWindow *) 0 ;
4936 int arg4 = (int) 0 ;
4937 bool result;
4938 PyObject * obj0 = 0 ;
4939 PyObject * obj1 = 0 ;
4940 PyObject * obj2 = 0 ;
4941 char *kwnames[] = {
4942 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
4943 };
4944
4945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
4946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4947 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4948 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4949 {
4950 PyThreadState* __tstate = wxPyBeginAllowThreads();
4951 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
4952
4953 wxPyEndAllowThreads(__tstate);
4954 if (PyErr_Occurred()) SWIG_fail;
4955 }
4956 resultobj = PyInt_FromLong((long)result);
4957 return resultobj;
4958 fail:
4959 return NULL;
4960 }
4961
4962
4963 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
4964 PyObject *resultobj;
4965 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4966 wxWindow *arg2 = (wxWindow *) 0 ;
4967 wxWindow *arg3 = (wxWindow *) 0 ;
4968 int arg4 = (int) 0 ;
4969 bool result;
4970 PyObject * obj0 = 0 ;
4971 PyObject * obj1 = 0 ;
4972 PyObject * obj2 = 0 ;
4973 char *kwnames[] = {
4974 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
4975 };
4976
4977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
4978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4979 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4980 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4981 {
4982 PyThreadState* __tstate = wxPyBeginAllowThreads();
4983 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
4984
4985 wxPyEndAllowThreads(__tstate);
4986 if (PyErr_Occurred()) SWIG_fail;
4987 }
4988 resultobj = PyInt_FromLong((long)result);
4989 return resultobj;
4990 fail:
4991 return NULL;
4992 }
4993
4994
4995 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
4996 PyObject *resultobj;
4997 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4998 wxWindow *arg2 = (wxWindow *) NULL ;
4999 bool result;
5000 PyObject * obj0 = 0 ;
5001 PyObject * obj1 = 0 ;
5002 char *kwnames[] = {
5003 (char *) "self",(char *) "toRemove", NULL
5004 };
5005
5006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5008 if (obj1) {
5009 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5010 }
5011 {
5012 PyThreadState* __tstate = wxPyBeginAllowThreads();
5013 result = (bool)(arg1)->Unsplit(arg2);
5014
5015 wxPyEndAllowThreads(__tstate);
5016 if (PyErr_Occurred()) SWIG_fail;
5017 }
5018 resultobj = PyInt_FromLong((long)result);
5019 return resultobj;
5020 fail:
5021 return NULL;
5022 }
5023
5024
5025 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5026 PyObject *resultobj;
5027 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5028 wxWindow *arg2 = (wxWindow *) 0 ;
5029 wxWindow *arg3 = (wxWindow *) 0 ;
5030 bool result;
5031 PyObject * obj0 = 0 ;
5032 PyObject * obj1 = 0 ;
5033 PyObject * obj2 = 0 ;
5034 char *kwnames[] = {
5035 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5036 };
5037
5038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5040 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5041 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5042 {
5043 PyThreadState* __tstate = wxPyBeginAllowThreads();
5044 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5045
5046 wxPyEndAllowThreads(__tstate);
5047 if (PyErr_Occurred()) SWIG_fail;
5048 }
5049 resultobj = PyInt_FromLong((long)result);
5050 return resultobj;
5051 fail:
5052 return NULL;
5053 }
5054
5055
5056 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5057 PyObject *resultobj;
5058 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5059 bool result;
5060 PyObject * obj0 = 0 ;
5061 char *kwnames[] = {
5062 (char *) "self", NULL
5063 };
5064
5065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5067 {
5068 PyThreadState* __tstate = wxPyBeginAllowThreads();
5069 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5070
5071 wxPyEndAllowThreads(__tstate);
5072 if (PyErr_Occurred()) SWIG_fail;
5073 }
5074 resultobj = PyInt_FromLong((long)result);
5075 return resultobj;
5076 fail:
5077 return NULL;
5078 }
5079
5080
5081 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5082 PyObject *resultobj;
5083 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5084 int arg2 ;
5085 PyObject * obj0 = 0 ;
5086 char *kwnames[] = {
5087 (char *) "self",(char *) "width", NULL
5088 };
5089
5090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSashSize",kwnames,&obj0,&arg2)) goto fail;
5091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5092 {
5093 PyThreadState* __tstate = wxPyBeginAllowThreads();
5094 (arg1)->SetSashSize(arg2);
5095
5096 wxPyEndAllowThreads(__tstate);
5097 if (PyErr_Occurred()) SWIG_fail;
5098 }
5099 Py_INCREF(Py_None); resultobj = Py_None;
5100 return resultobj;
5101 fail:
5102 return NULL;
5103 }
5104
5105
5106 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5107 PyObject *resultobj;
5108 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5109 int arg2 ;
5110 PyObject * obj0 = 0 ;
5111 char *kwnames[] = {
5112 (char *) "self",(char *) "width", NULL
5113 };
5114
5115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetBorderSize",kwnames,&obj0,&arg2)) goto fail;
5116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5117 {
5118 PyThreadState* __tstate = wxPyBeginAllowThreads();
5119 (arg1)->SetBorderSize(arg2);
5120
5121 wxPyEndAllowThreads(__tstate);
5122 if (PyErr_Occurred()) SWIG_fail;
5123 }
5124 Py_INCREF(Py_None); resultobj = Py_None;
5125 return resultobj;
5126 fail:
5127 return NULL;
5128 }
5129
5130
5131 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5132 PyObject *resultobj;
5133 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5134 int result;
5135 PyObject * obj0 = 0 ;
5136 char *kwnames[] = {
5137 (char *) "self", NULL
5138 };
5139
5140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
5141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5142 {
5143 PyThreadState* __tstate = wxPyBeginAllowThreads();
5144 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
5145
5146 wxPyEndAllowThreads(__tstate);
5147 if (PyErr_Occurred()) SWIG_fail;
5148 }
5149 resultobj = PyInt_FromLong((long)result);
5150 return resultobj;
5151 fail:
5152 return NULL;
5153 }
5154
5155
5156 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5157 PyObject *resultobj;
5158 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5159 int result;
5160 PyObject * obj0 = 0 ;
5161 char *kwnames[] = {
5162 (char *) "self", NULL
5163 };
5164
5165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
5166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5167 {
5168 PyThreadState* __tstate = wxPyBeginAllowThreads();
5169 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
5170
5171 wxPyEndAllowThreads(__tstate);
5172 if (PyErr_Occurred()) SWIG_fail;
5173 }
5174 resultobj = PyInt_FromLong((long)result);
5175 return resultobj;
5176 fail:
5177 return NULL;
5178 }
5179
5180
5181 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5182 PyObject *resultobj;
5183 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5184 int arg2 ;
5185 bool arg3 = (bool) True ;
5186 PyObject * obj0 = 0 ;
5187 PyObject * obj2 = 0 ;
5188 char *kwnames[] = {
5189 (char *) "self",(char *) "position",(char *) "redraw", NULL
5190 };
5191
5192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
5193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5194 if (obj2) {
5195 arg3 = PyInt_AsLong(obj2) ? true : false;
5196 if (PyErr_Occurred()) SWIG_fail;
5197 }
5198 {
5199 PyThreadState* __tstate = wxPyBeginAllowThreads();
5200 (arg1)->SetSashPosition(arg2,arg3);
5201
5202 wxPyEndAllowThreads(__tstate);
5203 if (PyErr_Occurred()) SWIG_fail;
5204 }
5205 Py_INCREF(Py_None); resultobj = Py_None;
5206 return resultobj;
5207 fail:
5208 return NULL;
5209 }
5210
5211
5212 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5213 PyObject *resultobj;
5214 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5215 int result;
5216 PyObject * obj0 = 0 ;
5217 char *kwnames[] = {
5218 (char *) "self", NULL
5219 };
5220
5221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
5222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5223 {
5224 PyThreadState* __tstate = wxPyBeginAllowThreads();
5225 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
5226
5227 wxPyEndAllowThreads(__tstate);
5228 if (PyErr_Occurred()) SWIG_fail;
5229 }
5230 resultobj = PyInt_FromLong((long)result);
5231 return resultobj;
5232 fail:
5233 return NULL;
5234 }
5235
5236
5237 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5238 PyObject *resultobj;
5239 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5240 int arg2 ;
5241 PyObject * obj0 = 0 ;
5242 char *kwnames[] = {
5243 (char *) "self",(char *) "min", NULL
5244 };
5245
5246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&arg2)) goto fail;
5247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5248 {
5249 PyThreadState* __tstate = wxPyBeginAllowThreads();
5250 (arg1)->SetMinimumPaneSize(arg2);
5251
5252 wxPyEndAllowThreads(__tstate);
5253 if (PyErr_Occurred()) SWIG_fail;
5254 }
5255 Py_INCREF(Py_None); resultobj = Py_None;
5256 return resultobj;
5257 fail:
5258 return NULL;
5259 }
5260
5261
5262 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5263 PyObject *resultobj;
5264 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5265 int result;
5266 PyObject * obj0 = 0 ;
5267 char *kwnames[] = {
5268 (char *) "self", NULL
5269 };
5270
5271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
5272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5273 {
5274 PyThreadState* __tstate = wxPyBeginAllowThreads();
5275 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
5276
5277 wxPyEndAllowThreads(__tstate);
5278 if (PyErr_Occurred()) SWIG_fail;
5279 }
5280 resultobj = PyInt_FromLong((long)result);
5281 return resultobj;
5282 fail:
5283 return NULL;
5284 }
5285
5286
5287 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5288 PyObject *resultobj;
5289 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5290 int arg2 ;
5291 int arg3 ;
5292 int arg4 = (int) 5 ;
5293 bool result;
5294 PyObject * obj0 = 0 ;
5295 char *kwnames[] = {
5296 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5297 };
5298
5299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SplitterWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) 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 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
5304
5305 wxPyEndAllowThreads(__tstate);
5306 if (PyErr_Occurred()) SWIG_fail;
5307 }
5308 resultobj = PyInt_FromLong((long)result);
5309 return resultobj;
5310 fail:
5311 return NULL;
5312 }
5313
5314
5315 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
5316 PyObject *resultobj;
5317 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5318 PyObject * obj0 = 0 ;
5319 char *kwnames[] = {
5320 (char *) "self", NULL
5321 };
5322
5323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
5324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5325 {
5326 PyThreadState* __tstate = wxPyBeginAllowThreads();
5327 (arg1)->SizeWindows();
5328
5329 wxPyEndAllowThreads(__tstate);
5330 if (PyErr_Occurred()) SWIG_fail;
5331 }
5332 Py_INCREF(Py_None); resultobj = Py_None;
5333 return resultobj;
5334 fail:
5335 return NULL;
5336 }
5337
5338
5339 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5340 PyObject *resultobj;
5341 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5342 bool arg2 ;
5343 PyObject * obj0 = 0 ;
5344 PyObject * obj1 = 0 ;
5345 char *kwnames[] = {
5346 (char *) "self",(char *) "needUpdating", NULL
5347 };
5348
5349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
5350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5351 arg2 = PyInt_AsLong(obj1) ? true : false;
5352 if (PyErr_Occurred()) SWIG_fail;
5353 {
5354 PyThreadState* __tstate = wxPyBeginAllowThreads();
5355 (arg1)->SetNeedUpdating(arg2);
5356
5357 wxPyEndAllowThreads(__tstate);
5358 if (PyErr_Occurred()) SWIG_fail;
5359 }
5360 Py_INCREF(Py_None); resultobj = Py_None;
5361 return resultobj;
5362 fail:
5363 return NULL;
5364 }
5365
5366
5367 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5368 PyObject *resultobj;
5369 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5370 bool result;
5371 PyObject * obj0 = 0 ;
5372 char *kwnames[] = {
5373 (char *) "self", NULL
5374 };
5375
5376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",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 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
5381
5382 wxPyEndAllowThreads(__tstate);
5383 if (PyErr_Occurred()) SWIG_fail;
5384 }
5385 resultobj = PyInt_FromLong((long)result);
5386 return resultobj;
5387 fail:
5388 return NULL;
5389 }
5390
5391
5392 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
5393 PyObject *obj;
5394 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5395 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
5396 Py_INCREF(obj);
5397 return Py_BuildValue((char *)"");
5398 }
5399 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5400 PyObject *resultobj;
5401 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
5402 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
5403 wxSplitterEvent *result;
5404 PyObject * obj1 = 0 ;
5405 char *kwnames[] = {
5406 (char *) "type",(char *) "splitter", NULL
5407 };
5408
5409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_SplitterEvent",kwnames,&arg1,&obj1)) goto fail;
5410 if (obj1) {
5411 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5412 }
5413 {
5414 PyThreadState* __tstate = wxPyBeginAllowThreads();
5415 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
5416
5417 wxPyEndAllowThreads(__tstate);
5418 if (PyErr_Occurred()) SWIG_fail;
5419 }
5420 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterEvent, 1);
5421 return resultobj;
5422 fail:
5423 return NULL;
5424 }
5425
5426
5427 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5428 PyObject *resultobj;
5429 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5430 int arg2 ;
5431 PyObject * obj0 = 0 ;
5432 char *kwnames[] = {
5433 (char *) "self",(char *) "pos", NULL
5434 };
5435
5436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterEvent_SetSashPosition",kwnames,&obj0,&arg2)) goto fail;
5437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5438 {
5439 PyThreadState* __tstate = wxPyBeginAllowThreads();
5440 (arg1)->SetSashPosition(arg2);
5441
5442 wxPyEndAllowThreads(__tstate);
5443 if (PyErr_Occurred()) SWIG_fail;
5444 }
5445 Py_INCREF(Py_None); resultobj = Py_None;
5446 return resultobj;
5447 fail:
5448 return NULL;
5449 }
5450
5451
5452 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5453 PyObject *resultobj;
5454 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5455 int result;
5456 PyObject * obj0 = 0 ;
5457 char *kwnames[] = {
5458 (char *) "self", NULL
5459 };
5460
5461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
5462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5463 {
5464 PyThreadState* __tstate = wxPyBeginAllowThreads();
5465 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
5466
5467 wxPyEndAllowThreads(__tstate);
5468 if (PyErr_Occurred()) SWIG_fail;
5469 }
5470 resultobj = PyInt_FromLong((long)result);
5471 return resultobj;
5472 fail:
5473 return NULL;
5474 }
5475
5476
5477 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
5478 PyObject *resultobj;
5479 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5480 wxWindow *result;
5481 PyObject * obj0 = 0 ;
5482 char *kwnames[] = {
5483 (char *) "self", NULL
5484 };
5485
5486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
5487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5488 {
5489 PyThreadState* __tstate = wxPyBeginAllowThreads();
5490 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
5491
5492 wxPyEndAllowThreads(__tstate);
5493 if (PyErr_Occurred()) SWIG_fail;
5494 }
5495 {
5496 resultobj = wxPyMake_wxObject(result);
5497 }
5498 return resultobj;
5499 fail:
5500 return NULL;
5501 }
5502
5503
5504 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
5505 PyObject *resultobj;
5506 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5507 int result;
5508 PyObject * obj0 = 0 ;
5509 char *kwnames[] = {
5510 (char *) "self", NULL
5511 };
5512
5513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
5514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5515 {
5516 PyThreadState* __tstate = wxPyBeginAllowThreads();
5517 result = (int)((wxSplitterEvent const *)arg1)->GetX();
5518
5519 wxPyEndAllowThreads(__tstate);
5520 if (PyErr_Occurred()) SWIG_fail;
5521 }
5522 resultobj = PyInt_FromLong((long)result);
5523 return resultobj;
5524 fail:
5525 return NULL;
5526 }
5527
5528
5529 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
5530 PyObject *resultobj;
5531 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5532 int result;
5533 PyObject * obj0 = 0 ;
5534 char *kwnames[] = {
5535 (char *) "self", NULL
5536 };
5537
5538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
5539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5540 {
5541 PyThreadState* __tstate = wxPyBeginAllowThreads();
5542 result = (int)((wxSplitterEvent const *)arg1)->GetY();
5543
5544 wxPyEndAllowThreads(__tstate);
5545 if (PyErr_Occurred()) SWIG_fail;
5546 }
5547 resultobj = PyInt_FromLong((long)result);
5548 return resultobj;
5549 fail:
5550 return NULL;
5551 }
5552
5553
5554 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
5555 PyObject *obj;
5556 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5557 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
5558 Py_INCREF(obj);
5559 return Py_BuildValue((char *)"");
5560 }
5561 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5562 PyObject *resultobj;
5563 wxWindow *arg1 = (wxWindow *) 0 ;
5564 int arg2 ;
5565 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5566 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5567 wxSize const &arg4_defvalue = wxDefaultSize ;
5568 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5569 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
5570 wxString const &arg6_defvalue = wxPySashNameStr ;
5571 wxString *arg6 = (wxString *) &arg6_defvalue ;
5572 wxSashWindow *result;
5573 wxPoint temp3 ;
5574 wxSize temp4 ;
5575 bool temp6 = False ;
5576 PyObject * obj0 = 0 ;
5577 PyObject * obj2 = 0 ;
5578 PyObject * obj3 = 0 ;
5579 PyObject * obj5 = 0 ;
5580 char *kwnames[] = {
5581 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5582 };
5583
5584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
5585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5586 if (obj2) {
5587 {
5588 arg3 = &temp3;
5589 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5590 }
5591 }
5592 if (obj3) {
5593 {
5594 arg4 = &temp4;
5595 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5596 }
5597 }
5598 if (obj5) {
5599 {
5600 arg6 = wxString_in_helper(obj5);
5601 if (arg6 == NULL) SWIG_fail;
5602 temp6 = True;
5603 }
5604 }
5605 {
5606 PyThreadState* __tstate = wxPyBeginAllowThreads();
5607 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5608
5609 wxPyEndAllowThreads(__tstate);
5610 if (PyErr_Occurred()) SWIG_fail;
5611 }
5612 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
5613 {
5614 if (temp6)
5615 delete arg6;
5616 }
5617 return resultobj;
5618 fail:
5619 {
5620 if (temp6)
5621 delete arg6;
5622 }
5623 return NULL;
5624 }
5625
5626
5627 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5628 PyObject *resultobj;
5629 wxSashWindow *result;
5630 char *kwnames[] = {
5631 NULL
5632 };
5633
5634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
5635 {
5636 PyThreadState* __tstate = wxPyBeginAllowThreads();
5637 result = (wxSashWindow *)new wxSashWindow();
5638
5639 wxPyEndAllowThreads(__tstate);
5640 if (PyErr_Occurred()) SWIG_fail;
5641 }
5642 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
5643 return resultobj;
5644 fail:
5645 return NULL;
5646 }
5647
5648
5649 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5650 PyObject *resultobj;
5651 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5652 wxWindow *arg2 = (wxWindow *) 0 ;
5653 int arg3 ;
5654 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5655 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5656 wxSize const &arg5_defvalue = wxDefaultSize ;
5657 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5658 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
5659 wxString const &arg7_defvalue = wxPySashNameStr ;
5660 wxString *arg7 = (wxString *) &arg7_defvalue ;
5661 bool result;
5662 wxPoint temp4 ;
5663 wxSize temp5 ;
5664 bool temp7 = False ;
5665 PyObject * obj0 = 0 ;
5666 PyObject * obj1 = 0 ;
5667 PyObject * obj3 = 0 ;
5668 PyObject * obj4 = 0 ;
5669 PyObject * obj6 = 0 ;
5670 char *kwnames[] = {
5671 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5672 };
5673
5674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
5675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5676 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5677 if (obj3) {
5678 {
5679 arg4 = &temp4;
5680 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5681 }
5682 }
5683 if (obj4) {
5684 {
5685 arg5 = &temp5;
5686 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5687 }
5688 }
5689 if (obj6) {
5690 {
5691 arg7 = wxString_in_helper(obj6);
5692 if (arg7 == NULL) SWIG_fail;
5693 temp7 = True;
5694 }
5695 }
5696 {
5697 PyThreadState* __tstate = wxPyBeginAllowThreads();
5698 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5699
5700 wxPyEndAllowThreads(__tstate);
5701 if (PyErr_Occurred()) SWIG_fail;
5702 }
5703 resultobj = PyInt_FromLong((long)result);
5704 {
5705 if (temp7)
5706 delete arg7;
5707 }
5708 return resultobj;
5709 fail:
5710 {
5711 if (temp7)
5712 delete arg7;
5713 }
5714 return NULL;
5715 }
5716
5717
5718 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5719 PyObject *resultobj;
5720 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5721 int arg2 ;
5722 bool arg3 ;
5723 PyObject * obj0 = 0 ;
5724 PyObject * obj2 = 0 ;
5725 char *kwnames[] = {
5726 (char *) "self",(char *) "edge",(char *) "sash", NULL
5727 };
5728
5729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashVisible",kwnames,&obj0,&arg2,&obj2)) goto fail;
5730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5731 arg3 = PyInt_AsLong(obj2) ? true : false;
5732 if (PyErr_Occurred()) SWIG_fail;
5733 {
5734 PyThreadState* __tstate = wxPyBeginAllowThreads();
5735 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
5736
5737 wxPyEndAllowThreads(__tstate);
5738 if (PyErr_Occurred()) SWIG_fail;
5739 }
5740 Py_INCREF(Py_None); resultobj = Py_None;
5741 return resultobj;
5742 fail:
5743 return NULL;
5744 }
5745
5746
5747 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5748 PyObject *resultobj;
5749 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5750 int arg2 ;
5751 bool result;
5752 PyObject * obj0 = 0 ;
5753 char *kwnames[] = {
5754 (char *) "self",(char *) "edge", NULL
5755 };
5756
5757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetSashVisible",kwnames,&obj0,&arg2)) goto fail;
5758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5759 {
5760 PyThreadState* __tstate = wxPyBeginAllowThreads();
5761 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
5762
5763 wxPyEndAllowThreads(__tstate);
5764 if (PyErr_Occurred()) SWIG_fail;
5765 }
5766 resultobj = PyInt_FromLong((long)result);
5767 return resultobj;
5768 fail:
5769 return NULL;
5770 }
5771
5772
5773 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
5774 PyObject *resultobj;
5775 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5776 int arg2 ;
5777 bool arg3 ;
5778 PyObject * obj0 = 0 ;
5779 PyObject * obj2 = 0 ;
5780 char *kwnames[] = {
5781 (char *) "self",(char *) "edge",(char *) "border", NULL
5782 };
5783
5784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashBorder",kwnames,&obj0,&arg2,&obj2)) goto fail;
5785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5786 arg3 = PyInt_AsLong(obj2) ? true : false;
5787 if (PyErr_Occurred()) SWIG_fail;
5788 {
5789 PyThreadState* __tstate = wxPyBeginAllowThreads();
5790 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
5791
5792 wxPyEndAllowThreads(__tstate);
5793 if (PyErr_Occurred()) SWIG_fail;
5794 }
5795 Py_INCREF(Py_None); resultobj = Py_None;
5796 return resultobj;
5797 fail:
5798 return NULL;
5799 }
5800
5801
5802 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
5803 PyObject *resultobj;
5804 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5805 int arg2 ;
5806 bool result;
5807 PyObject * obj0 = 0 ;
5808 char *kwnames[] = {
5809 (char *) "self",(char *) "edge", NULL
5810 };
5811
5812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_HasBorder",kwnames,&obj0,&arg2)) goto fail;
5813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5814 {
5815 PyThreadState* __tstate = wxPyBeginAllowThreads();
5816 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
5817
5818 wxPyEndAllowThreads(__tstate);
5819 if (PyErr_Occurred()) SWIG_fail;
5820 }
5821 resultobj = PyInt_FromLong((long)result);
5822 return resultobj;
5823 fail:
5824 return NULL;
5825 }
5826
5827
5828 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
5829 PyObject *resultobj;
5830 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5831 int arg2 ;
5832 int result;
5833 PyObject * obj0 = 0 ;
5834 char *kwnames[] = {
5835 (char *) "self",(char *) "edge", NULL
5836 };
5837
5838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetEdgeMargin",kwnames,&obj0,&arg2)) goto fail;
5839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5840 {
5841 PyThreadState* __tstate = wxPyBeginAllowThreads();
5842 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
5843
5844 wxPyEndAllowThreads(__tstate);
5845 if (PyErr_Occurred()) SWIG_fail;
5846 }
5847 resultobj = PyInt_FromLong((long)result);
5848 return resultobj;
5849 fail:
5850 return NULL;
5851 }
5852
5853
5854 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5855 PyObject *resultobj;
5856 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5857 int arg2 ;
5858 PyObject * obj0 = 0 ;
5859 char *kwnames[] = {
5860 (char *) "self",(char *) "width", NULL
5861 };
5862
5863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&arg2)) goto fail;
5864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5865 {
5866 PyThreadState* __tstate = wxPyBeginAllowThreads();
5867 (arg1)->SetDefaultBorderSize(arg2);
5868
5869 wxPyEndAllowThreads(__tstate);
5870 if (PyErr_Occurred()) SWIG_fail;
5871 }
5872 Py_INCREF(Py_None); resultobj = Py_None;
5873 return resultobj;
5874 fail:
5875 return NULL;
5876 }
5877
5878
5879 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5880 PyObject *resultobj;
5881 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5882 int result;
5883 PyObject * obj0 = 0 ;
5884 char *kwnames[] = {
5885 (char *) "self", NULL
5886 };
5887
5888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
5889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5890 {
5891 PyThreadState* __tstate = wxPyBeginAllowThreads();
5892 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
5893
5894 wxPyEndAllowThreads(__tstate);
5895 if (PyErr_Occurred()) SWIG_fail;
5896 }
5897 resultobj = PyInt_FromLong((long)result);
5898 return resultobj;
5899 fail:
5900 return NULL;
5901 }
5902
5903
5904 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5905 PyObject *resultobj;
5906 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5907 int arg2 ;
5908 PyObject * obj0 = 0 ;
5909 char *kwnames[] = {
5910 (char *) "self",(char *) "width", NULL
5911 };
5912
5913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetExtraBorderSize",kwnames,&obj0,&arg2)) goto fail;
5914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5915 {
5916 PyThreadState* __tstate = wxPyBeginAllowThreads();
5917 (arg1)->SetExtraBorderSize(arg2);
5918
5919 wxPyEndAllowThreads(__tstate);
5920 if (PyErr_Occurred()) SWIG_fail;
5921 }
5922 Py_INCREF(Py_None); resultobj = Py_None;
5923 return resultobj;
5924 fail:
5925 return NULL;
5926 }
5927
5928
5929 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5930 PyObject *resultobj;
5931 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5932 int result;
5933 PyObject * obj0 = 0 ;
5934 char *kwnames[] = {
5935 (char *) "self", NULL
5936 };
5937
5938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
5939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5940 {
5941 PyThreadState* __tstate = wxPyBeginAllowThreads();
5942 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
5943
5944 wxPyEndAllowThreads(__tstate);
5945 if (PyErr_Occurred()) SWIG_fail;
5946 }
5947 resultobj = PyInt_FromLong((long)result);
5948 return resultobj;
5949 fail:
5950 return NULL;
5951 }
5952
5953
5954 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
5955 PyObject *resultobj;
5956 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5957 int arg2 ;
5958 PyObject * obj0 = 0 ;
5959 char *kwnames[] = {
5960 (char *) "self",(char *) "min", NULL
5961 };
5962
5963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeX",kwnames,&obj0,&arg2)) goto fail;
5964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5965 {
5966 PyThreadState* __tstate = wxPyBeginAllowThreads();
5967 (arg1)->SetMinimumSizeX(arg2);
5968
5969 wxPyEndAllowThreads(__tstate);
5970 if (PyErr_Occurred()) SWIG_fail;
5971 }
5972 Py_INCREF(Py_None); resultobj = Py_None;
5973 return resultobj;
5974 fail:
5975 return NULL;
5976 }
5977
5978
5979 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
5980 PyObject *resultobj;
5981 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5982 int arg2 ;
5983 PyObject * obj0 = 0 ;
5984 char *kwnames[] = {
5985 (char *) "self",(char *) "min", NULL
5986 };
5987
5988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeY",kwnames,&obj0,&arg2)) goto fail;
5989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5990 {
5991 PyThreadState* __tstate = wxPyBeginAllowThreads();
5992 (arg1)->SetMinimumSizeY(arg2);
5993
5994 wxPyEndAllowThreads(__tstate);
5995 if (PyErr_Occurred()) SWIG_fail;
5996 }
5997 Py_INCREF(Py_None); resultobj = Py_None;
5998 return resultobj;
5999 fail:
6000 return NULL;
6001 }
6002
6003
6004 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6005 PyObject *resultobj;
6006 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6007 int result;
6008 PyObject * obj0 = 0 ;
6009 char *kwnames[] = {
6010 (char *) "self", NULL
6011 };
6012
6013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
6014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6015 {
6016 PyThreadState* __tstate = wxPyBeginAllowThreads();
6017 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
6018
6019 wxPyEndAllowThreads(__tstate);
6020 if (PyErr_Occurred()) SWIG_fail;
6021 }
6022 resultobj = PyInt_FromLong((long)result);
6023 return resultobj;
6024 fail:
6025 return NULL;
6026 }
6027
6028
6029 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6030 PyObject *resultobj;
6031 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6032 int result;
6033 PyObject * obj0 = 0 ;
6034 char *kwnames[] = {
6035 (char *) "self", NULL
6036 };
6037
6038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
6039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6040 {
6041 PyThreadState* __tstate = wxPyBeginAllowThreads();
6042 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
6043
6044 wxPyEndAllowThreads(__tstate);
6045 if (PyErr_Occurred()) SWIG_fail;
6046 }
6047 resultobj = PyInt_FromLong((long)result);
6048 return resultobj;
6049 fail:
6050 return NULL;
6051 }
6052
6053
6054 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6055 PyObject *resultobj;
6056 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6057 int arg2 ;
6058 PyObject * obj0 = 0 ;
6059 char *kwnames[] = {
6060 (char *) "self",(char *) "max", NULL
6061 };
6062
6063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeX",kwnames,&obj0,&arg2)) goto fail;
6064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6065 {
6066 PyThreadState* __tstate = wxPyBeginAllowThreads();
6067 (arg1)->SetMaximumSizeX(arg2);
6068
6069 wxPyEndAllowThreads(__tstate);
6070 if (PyErr_Occurred()) SWIG_fail;
6071 }
6072 Py_INCREF(Py_None); resultobj = Py_None;
6073 return resultobj;
6074 fail:
6075 return NULL;
6076 }
6077
6078
6079 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6080 PyObject *resultobj;
6081 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6082 int arg2 ;
6083 PyObject * obj0 = 0 ;
6084 char *kwnames[] = {
6085 (char *) "self",(char *) "max", NULL
6086 };
6087
6088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeY",kwnames,&obj0,&arg2)) goto fail;
6089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6090 {
6091 PyThreadState* __tstate = wxPyBeginAllowThreads();
6092 (arg1)->SetMaximumSizeY(arg2);
6093
6094 wxPyEndAllowThreads(__tstate);
6095 if (PyErr_Occurred()) SWIG_fail;
6096 }
6097 Py_INCREF(Py_None); resultobj = Py_None;
6098 return resultobj;
6099 fail:
6100 return NULL;
6101 }
6102
6103
6104 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6105 PyObject *resultobj;
6106 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6107 int result;
6108 PyObject * obj0 = 0 ;
6109 char *kwnames[] = {
6110 (char *) "self", NULL
6111 };
6112
6113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
6114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6115 {
6116 PyThreadState* __tstate = wxPyBeginAllowThreads();
6117 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
6118
6119 wxPyEndAllowThreads(__tstate);
6120 if (PyErr_Occurred()) SWIG_fail;
6121 }
6122 resultobj = PyInt_FromLong((long)result);
6123 return resultobj;
6124 fail:
6125 return NULL;
6126 }
6127
6128
6129 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6130 PyObject *resultobj;
6131 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6132 int result;
6133 PyObject * obj0 = 0 ;
6134 char *kwnames[] = {
6135 (char *) "self", NULL
6136 };
6137
6138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
6139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6140 {
6141 PyThreadState* __tstate = wxPyBeginAllowThreads();
6142 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
6143
6144 wxPyEndAllowThreads(__tstate);
6145 if (PyErr_Occurred()) SWIG_fail;
6146 }
6147 resultobj = PyInt_FromLong((long)result);
6148 return resultobj;
6149 fail:
6150 return NULL;
6151 }
6152
6153
6154 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6155 PyObject *resultobj;
6156 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6157 int arg2 ;
6158 int arg3 ;
6159 int arg4 = (int) 2 ;
6160 int result;
6161 PyObject * obj0 = 0 ;
6162 char *kwnames[] = {
6163 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6164 };
6165
6166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SashWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
6167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6168 {
6169 PyThreadState* __tstate = wxPyBeginAllowThreads();
6170 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
6171
6172 wxPyEndAllowThreads(__tstate);
6173 if (PyErr_Occurred()) SWIG_fail;
6174 }
6175 resultobj = PyInt_FromLong((long)result);
6176 return resultobj;
6177 fail:
6178 return NULL;
6179 }
6180
6181
6182 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6183 PyObject *resultobj;
6184 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6185 PyObject * obj0 = 0 ;
6186 char *kwnames[] = {
6187 (char *) "self", NULL
6188 };
6189
6190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
6191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6192 {
6193 PyThreadState* __tstate = wxPyBeginAllowThreads();
6194 (arg1)->SizeWindows();
6195
6196 wxPyEndAllowThreads(__tstate);
6197 if (PyErr_Occurred()) SWIG_fail;
6198 }
6199 Py_INCREF(Py_None); resultobj = Py_None;
6200 return resultobj;
6201 fail:
6202 return NULL;
6203 }
6204
6205
6206 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
6207 PyObject *obj;
6208 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6209 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
6210 Py_INCREF(obj);
6211 return Py_BuildValue((char *)"");
6212 }
6213 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6214 PyObject *resultobj;
6215 int arg1 = (int) 0 ;
6216 int arg2 = (int) wxSASH_NONE ;
6217 wxSashEvent *result;
6218 char *kwnames[] = {
6219 (char *) "id",(char *) "edge", NULL
6220 };
6221
6222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_SashEvent",kwnames,&arg1,&arg2)) goto fail;
6223 {
6224 PyThreadState* __tstate = wxPyBeginAllowThreads();
6225 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
6226
6227 wxPyEndAllowThreads(__tstate);
6228 if (PyErr_Occurred()) SWIG_fail;
6229 }
6230 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashEvent, 1);
6231 return resultobj;
6232 fail:
6233 return NULL;
6234 }
6235
6236
6237 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6238 PyObject *resultobj;
6239 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6240 int arg2 ;
6241 PyObject * obj0 = 0 ;
6242 char *kwnames[] = {
6243 (char *) "self",(char *) "edge", NULL
6244 };
6245
6246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetEdge",kwnames,&obj0,&arg2)) goto fail;
6247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6248 {
6249 PyThreadState* __tstate = wxPyBeginAllowThreads();
6250 (arg1)->SetEdge((wxSashEdgePosition )arg2);
6251
6252 wxPyEndAllowThreads(__tstate);
6253 if (PyErr_Occurred()) SWIG_fail;
6254 }
6255 Py_INCREF(Py_None); resultobj = Py_None;
6256 return resultobj;
6257 fail:
6258 return NULL;
6259 }
6260
6261
6262 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6263 PyObject *resultobj;
6264 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6265 int result;
6266 PyObject * obj0 = 0 ;
6267 char *kwnames[] = {
6268 (char *) "self", NULL
6269 };
6270
6271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
6272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6273 {
6274 PyThreadState* __tstate = wxPyBeginAllowThreads();
6275 result = (int)((wxSashEvent const *)arg1)->GetEdge();
6276
6277 wxPyEndAllowThreads(__tstate);
6278 if (PyErr_Occurred()) SWIG_fail;
6279 }
6280 resultobj = PyInt_FromLong((long)result);
6281 return resultobj;
6282 fail:
6283 return NULL;
6284 }
6285
6286
6287 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6288 PyObject *resultobj;
6289 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6290 wxRect *arg2 = 0 ;
6291 wxRect temp2 ;
6292 PyObject * obj0 = 0 ;
6293 PyObject * obj1 = 0 ;
6294 char *kwnames[] = {
6295 (char *) "self",(char *) "rect", NULL
6296 };
6297
6298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
6299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6300 {
6301 arg2 = &temp2;
6302 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6303 }
6304 {
6305 PyThreadState* __tstate = wxPyBeginAllowThreads();
6306 (arg1)->SetDragRect((wxRect const &)*arg2);
6307
6308 wxPyEndAllowThreads(__tstate);
6309 if (PyErr_Occurred()) SWIG_fail;
6310 }
6311 Py_INCREF(Py_None); resultobj = Py_None;
6312 return resultobj;
6313 fail:
6314 return NULL;
6315 }
6316
6317
6318 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6319 PyObject *resultobj;
6320 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6321 wxRect result;
6322 PyObject * obj0 = 0 ;
6323 char *kwnames[] = {
6324 (char *) "self", NULL
6325 };
6326
6327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
6328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6329 {
6330 PyThreadState* __tstate = wxPyBeginAllowThreads();
6331 result = ((wxSashEvent const *)arg1)->GetDragRect();
6332
6333 wxPyEndAllowThreads(__tstate);
6334 if (PyErr_Occurred()) SWIG_fail;
6335 }
6336 {
6337 wxRect * resultptr;
6338 resultptr = new wxRect((wxRect &) result);
6339 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
6340 }
6341 return resultobj;
6342 fail:
6343 return NULL;
6344 }
6345
6346
6347 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6348 PyObject *resultobj;
6349 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6350 int arg2 ;
6351 PyObject * obj0 = 0 ;
6352 char *kwnames[] = {
6353 (char *) "self",(char *) "status", NULL
6354 };
6355
6356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetDragStatus",kwnames,&obj0,&arg2)) goto fail;
6357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6358 {
6359 PyThreadState* __tstate = wxPyBeginAllowThreads();
6360 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
6361
6362 wxPyEndAllowThreads(__tstate);
6363 if (PyErr_Occurred()) SWIG_fail;
6364 }
6365 Py_INCREF(Py_None); resultobj = Py_None;
6366 return resultobj;
6367 fail:
6368 return NULL;
6369 }
6370
6371
6372 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6373 PyObject *resultobj;
6374 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6375 int result;
6376 PyObject * obj0 = 0 ;
6377 char *kwnames[] = {
6378 (char *) "self", NULL
6379 };
6380
6381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
6382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6383 {
6384 PyThreadState* __tstate = wxPyBeginAllowThreads();
6385 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
6386
6387 wxPyEndAllowThreads(__tstate);
6388 if (PyErr_Occurred()) SWIG_fail;
6389 }
6390 resultobj = PyInt_FromLong((long)result);
6391 return resultobj;
6392 fail:
6393 return NULL;
6394 }
6395
6396
6397 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
6398 PyObject *obj;
6399 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6400 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
6401 Py_INCREF(obj);
6402 return Py_BuildValue((char *)"");
6403 }
6404 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6405 PyObject *resultobj;
6406 int arg1 = (int) 0 ;
6407 wxQueryLayoutInfoEvent *result;
6408 char *kwnames[] = {
6409 (char *) "id", NULL
6410 };
6411
6412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_QueryLayoutInfoEvent",kwnames,&arg1)) goto fail;
6413 {
6414 PyThreadState* __tstate = wxPyBeginAllowThreads();
6415 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
6416
6417 wxPyEndAllowThreads(__tstate);
6418 if (PyErr_Occurred()) SWIG_fail;
6419 }
6420 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
6421 return resultobj;
6422 fail:
6423 return NULL;
6424 }
6425
6426
6427 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6428 PyObject *resultobj;
6429 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6430 int arg2 ;
6431 PyObject * obj0 = 0 ;
6432 char *kwnames[] = {
6433 (char *) "self",(char *) "length", NULL
6434 };
6435
6436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&arg2)) goto fail;
6437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6438 {
6439 PyThreadState* __tstate = wxPyBeginAllowThreads();
6440 (arg1)->SetRequestedLength(arg2);
6441
6442 wxPyEndAllowThreads(__tstate);
6443 if (PyErr_Occurred()) SWIG_fail;
6444 }
6445 Py_INCREF(Py_None); resultobj = Py_None;
6446 return resultobj;
6447 fail:
6448 return NULL;
6449 }
6450
6451
6452 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6453 PyObject *resultobj;
6454 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6455 int result;
6456 PyObject * obj0 = 0 ;
6457 char *kwnames[] = {
6458 (char *) "self", NULL
6459 };
6460
6461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
6462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6463 {
6464 PyThreadState* __tstate = wxPyBeginAllowThreads();
6465 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
6466
6467 wxPyEndAllowThreads(__tstate);
6468 if (PyErr_Occurred()) SWIG_fail;
6469 }
6470 resultobj = PyInt_FromLong((long)result);
6471 return resultobj;
6472 fail:
6473 return NULL;
6474 }
6475
6476
6477 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6478 PyObject *resultobj;
6479 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6480 int arg2 ;
6481 PyObject * obj0 = 0 ;
6482 char *kwnames[] = {
6483 (char *) "self",(char *) "flags", NULL
6484 };
6485
6486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6488 {
6489 PyThreadState* __tstate = wxPyBeginAllowThreads();
6490 (arg1)->SetFlags(arg2);
6491
6492 wxPyEndAllowThreads(__tstate);
6493 if (PyErr_Occurred()) SWIG_fail;
6494 }
6495 Py_INCREF(Py_None); resultobj = Py_None;
6496 return resultobj;
6497 fail:
6498 return NULL;
6499 }
6500
6501
6502 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6503 PyObject *resultobj;
6504 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6505 int result;
6506 PyObject * obj0 = 0 ;
6507 char *kwnames[] = {
6508 (char *) "self", NULL
6509 };
6510
6511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
6512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6513 {
6514 PyThreadState* __tstate = wxPyBeginAllowThreads();
6515 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
6516
6517 wxPyEndAllowThreads(__tstate);
6518 if (PyErr_Occurred()) SWIG_fail;
6519 }
6520 resultobj = PyInt_FromLong((long)result);
6521 return resultobj;
6522 fail:
6523 return NULL;
6524 }
6525
6526
6527 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6528 PyObject *resultobj;
6529 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6530 wxSize *arg2 = 0 ;
6531 wxSize temp2 ;
6532 PyObject * obj0 = 0 ;
6533 PyObject * obj1 = 0 ;
6534 char *kwnames[] = {
6535 (char *) "self",(char *) "size", NULL
6536 };
6537
6538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
6539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6540 {
6541 arg2 = &temp2;
6542 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
6543 }
6544 {
6545 PyThreadState* __tstate = wxPyBeginAllowThreads();
6546 (arg1)->SetSize((wxSize const &)*arg2);
6547
6548 wxPyEndAllowThreads(__tstate);
6549 if (PyErr_Occurred()) SWIG_fail;
6550 }
6551 Py_INCREF(Py_None); resultobj = Py_None;
6552 return resultobj;
6553 fail:
6554 return NULL;
6555 }
6556
6557
6558 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6559 PyObject *resultobj;
6560 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6561 wxSize result;
6562 PyObject * obj0 = 0 ;
6563 char *kwnames[] = {
6564 (char *) "self", NULL
6565 };
6566
6567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
6568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6569 {
6570 PyThreadState* __tstate = wxPyBeginAllowThreads();
6571 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
6572
6573 wxPyEndAllowThreads(__tstate);
6574 if (PyErr_Occurred()) SWIG_fail;
6575 }
6576 {
6577 wxSize * resultptr;
6578 resultptr = new wxSize((wxSize &) result);
6579 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
6580 }
6581 return resultobj;
6582 fail:
6583 return NULL;
6584 }
6585
6586
6587 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6588 PyObject *resultobj;
6589 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6590 int arg2 ;
6591 PyObject * obj0 = 0 ;
6592 char *kwnames[] = {
6593 (char *) "self",(char *) "orient", NULL
6594 };
6595
6596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
6597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6598 {
6599 PyThreadState* __tstate = wxPyBeginAllowThreads();
6600 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
6601
6602 wxPyEndAllowThreads(__tstate);
6603 if (PyErr_Occurred()) SWIG_fail;
6604 }
6605 Py_INCREF(Py_None); resultobj = Py_None;
6606 return resultobj;
6607 fail:
6608 return NULL;
6609 }
6610
6611
6612 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6613 PyObject *resultobj;
6614 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6615 int result;
6616 PyObject * obj0 = 0 ;
6617 char *kwnames[] = {
6618 (char *) "self", NULL
6619 };
6620
6621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
6622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6623 {
6624 PyThreadState* __tstate = wxPyBeginAllowThreads();
6625 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
6626
6627 wxPyEndAllowThreads(__tstate);
6628 if (PyErr_Occurred()) SWIG_fail;
6629 }
6630 resultobj = PyInt_FromLong((long)result);
6631 return resultobj;
6632 fail:
6633 return NULL;
6634 }
6635
6636
6637 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6638 PyObject *resultobj;
6639 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6640 int arg2 ;
6641 PyObject * obj0 = 0 ;
6642 char *kwnames[] = {
6643 (char *) "self",(char *) "align", NULL
6644 };
6645
6646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
6647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6648 {
6649 PyThreadState* __tstate = wxPyBeginAllowThreads();
6650 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
6651
6652 wxPyEndAllowThreads(__tstate);
6653 if (PyErr_Occurred()) SWIG_fail;
6654 }
6655 Py_INCREF(Py_None); resultobj = Py_None;
6656 return resultobj;
6657 fail:
6658 return NULL;
6659 }
6660
6661
6662 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6663 PyObject *resultobj;
6664 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6665 int result;
6666 PyObject * obj0 = 0 ;
6667 char *kwnames[] = {
6668 (char *) "self", NULL
6669 };
6670
6671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
6672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6673 {
6674 PyThreadState* __tstate = wxPyBeginAllowThreads();
6675 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
6676
6677 wxPyEndAllowThreads(__tstate);
6678 if (PyErr_Occurred()) SWIG_fail;
6679 }
6680 resultobj = PyInt_FromLong((long)result);
6681 return resultobj;
6682 fail:
6683 return NULL;
6684 }
6685
6686
6687 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
6688 PyObject *obj;
6689 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6690 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
6691 Py_INCREF(obj);
6692 return Py_BuildValue((char *)"");
6693 }
6694 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6695 PyObject *resultobj;
6696 int arg1 = (int) 0 ;
6697 wxCalculateLayoutEvent *result;
6698 char *kwnames[] = {
6699 (char *) "id", NULL
6700 };
6701
6702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_CalculateLayoutEvent",kwnames,&arg1)) goto fail;
6703 {
6704 PyThreadState* __tstate = wxPyBeginAllowThreads();
6705 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
6706
6707 wxPyEndAllowThreads(__tstate);
6708 if (PyErr_Occurred()) SWIG_fail;
6709 }
6710 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCalculateLayoutEvent, 1);
6711 return resultobj;
6712 fail:
6713 return NULL;
6714 }
6715
6716
6717 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6718 PyObject *resultobj;
6719 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6720 int arg2 ;
6721 PyObject * obj0 = 0 ;
6722 char *kwnames[] = {
6723 (char *) "self",(char *) "flags", NULL
6724 };
6725
6726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6728 {
6729 PyThreadState* __tstate = wxPyBeginAllowThreads();
6730 (arg1)->SetFlags(arg2);
6731
6732 wxPyEndAllowThreads(__tstate);
6733 if (PyErr_Occurred()) SWIG_fail;
6734 }
6735 Py_INCREF(Py_None); resultobj = Py_None;
6736 return resultobj;
6737 fail:
6738 return NULL;
6739 }
6740
6741
6742 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6743 PyObject *resultobj;
6744 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6745 int result;
6746 PyObject * obj0 = 0 ;
6747 char *kwnames[] = {
6748 (char *) "self", NULL
6749 };
6750
6751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
6752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6753 {
6754 PyThreadState* __tstate = wxPyBeginAllowThreads();
6755 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
6756
6757 wxPyEndAllowThreads(__tstate);
6758 if (PyErr_Occurred()) SWIG_fail;
6759 }
6760 resultobj = PyInt_FromLong((long)result);
6761 return resultobj;
6762 fail:
6763 return NULL;
6764 }
6765
6766
6767 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6768 PyObject *resultobj;
6769 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6770 wxRect *arg2 = 0 ;
6771 wxRect temp2 ;
6772 PyObject * obj0 = 0 ;
6773 PyObject * obj1 = 0 ;
6774 char *kwnames[] = {
6775 (char *) "self",(char *) "rect", NULL
6776 };
6777
6778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
6779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6780 {
6781 arg2 = &temp2;
6782 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6783 }
6784 {
6785 PyThreadState* __tstate = wxPyBeginAllowThreads();
6786 (arg1)->SetRect((wxRect const &)*arg2);
6787
6788 wxPyEndAllowThreads(__tstate);
6789 if (PyErr_Occurred()) SWIG_fail;
6790 }
6791 Py_INCREF(Py_None); resultobj = Py_None;
6792 return resultobj;
6793 fail:
6794 return NULL;
6795 }
6796
6797
6798 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6799 PyObject *resultobj;
6800 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6801 wxRect result;
6802 PyObject * obj0 = 0 ;
6803 char *kwnames[] = {
6804 (char *) "self", NULL
6805 };
6806
6807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
6808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6809 {
6810 PyThreadState* __tstate = wxPyBeginAllowThreads();
6811 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
6812
6813 wxPyEndAllowThreads(__tstate);
6814 if (PyErr_Occurred()) SWIG_fail;
6815 }
6816 {
6817 wxRect * resultptr;
6818 resultptr = new wxRect((wxRect &) result);
6819 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
6820 }
6821 return resultobj;
6822 fail:
6823 return NULL;
6824 }
6825
6826
6827 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
6828 PyObject *obj;
6829 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6830 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
6831 Py_INCREF(obj);
6832 return Py_BuildValue((char *)"");
6833 }
6834 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6835 PyObject *resultobj;
6836 wxWindow *arg1 = (wxWindow *) 0 ;
6837 int arg2 ;
6838 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6839 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6840 wxSize const &arg4_defvalue = wxDefaultSize ;
6841 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6842 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6843 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
6844 wxString *arg6 = (wxString *) &arg6_defvalue ;
6845 wxSashLayoutWindow *result;
6846 wxPoint temp3 ;
6847 wxSize temp4 ;
6848 bool temp6 = False ;
6849 PyObject * obj0 = 0 ;
6850 PyObject * obj2 = 0 ;
6851 PyObject * obj3 = 0 ;
6852 PyObject * obj5 = 0 ;
6853 char *kwnames[] = {
6854 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6855 };
6856
6857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashLayoutWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
6858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6859 if (obj2) {
6860 {
6861 arg3 = &temp3;
6862 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6863 }
6864 }
6865 if (obj3) {
6866 {
6867 arg4 = &temp4;
6868 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6869 }
6870 }
6871 if (obj5) {
6872 {
6873 arg6 = wxString_in_helper(obj5);
6874 if (arg6 == NULL) SWIG_fail;
6875 temp6 = True;
6876 }
6877 }
6878 {
6879 PyThreadState* __tstate = wxPyBeginAllowThreads();
6880 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6881
6882 wxPyEndAllowThreads(__tstate);
6883 if (PyErr_Occurred()) SWIG_fail;
6884 }
6885 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
6886 {
6887 if (temp6)
6888 delete arg6;
6889 }
6890 return resultobj;
6891 fail:
6892 {
6893 if (temp6)
6894 delete arg6;
6895 }
6896 return NULL;
6897 }
6898
6899
6900 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6901 PyObject *resultobj;
6902 wxSashLayoutWindow *result;
6903 char *kwnames[] = {
6904 NULL
6905 };
6906
6907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
6908 {
6909 PyThreadState* __tstate = wxPyBeginAllowThreads();
6910 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
6911
6912 wxPyEndAllowThreads(__tstate);
6913 if (PyErr_Occurred()) SWIG_fail;
6914 }
6915 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
6916 return resultobj;
6917 fail:
6918 return NULL;
6919 }
6920
6921
6922 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6923 PyObject *resultobj;
6924 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
6925 wxWindow *arg2 = (wxWindow *) 0 ;
6926 int arg3 ;
6927 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6928 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6929 wxSize const &arg5_defvalue = wxDefaultSize ;
6930 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6931 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6932 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
6933 wxString *arg7 = (wxString *) &arg7_defvalue ;
6934 bool result;
6935 wxPoint temp4 ;
6936 wxSize temp5 ;
6937 bool temp7 = False ;
6938 PyObject * obj0 = 0 ;
6939 PyObject * obj1 = 0 ;
6940 PyObject * obj3 = 0 ;
6941 PyObject * obj4 = 0 ;
6942 PyObject * obj6 = 0 ;
6943 char *kwnames[] = {
6944 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6945 };
6946
6947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
6948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6949 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6950 if (obj3) {
6951 {
6952 arg4 = &temp4;
6953 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6954 }
6955 }
6956 if (obj4) {
6957 {
6958 arg5 = &temp5;
6959 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6960 }
6961 }
6962 if (obj6) {
6963 {
6964 arg7 = wxString_in_helper(obj6);
6965 if (arg7 == NULL) SWIG_fail;
6966 temp7 = True;
6967 }
6968 }
6969 {
6970 PyThreadState* __tstate = wxPyBeginAllowThreads();
6971 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6972
6973 wxPyEndAllowThreads(__tstate);
6974 if (PyErr_Occurred()) SWIG_fail;
6975 }
6976 resultobj = PyInt_FromLong((long)result);
6977 {
6978 if (temp7)
6979 delete arg7;
6980 }
6981 return resultobj;
6982 fail:
6983 {
6984 if (temp7)
6985 delete arg7;
6986 }
6987 return NULL;
6988 }
6989
6990
6991 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6992 PyObject *resultobj;
6993 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
6994 int result;
6995 PyObject * obj0 = 0 ;
6996 char *kwnames[] = {
6997 (char *) "self", NULL
6998 };
6999
7000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
7001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7002 {
7003 PyThreadState* __tstate = wxPyBeginAllowThreads();
7004 result = (int)(arg1)->GetAlignment();
7005
7006 wxPyEndAllowThreads(__tstate);
7007 if (PyErr_Occurred()) SWIG_fail;
7008 }
7009 resultobj = PyInt_FromLong((long)result);
7010 return resultobj;
7011 fail:
7012 return NULL;
7013 }
7014
7015
7016 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7017 PyObject *resultobj;
7018 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7019 int result;
7020 PyObject * obj0 = 0 ;
7021 char *kwnames[] = {
7022 (char *) "self", NULL
7023 };
7024
7025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
7026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7027 {
7028 PyThreadState* __tstate = wxPyBeginAllowThreads();
7029 result = (int)(arg1)->GetOrientation();
7030
7031 wxPyEndAllowThreads(__tstate);
7032 if (PyErr_Occurred()) SWIG_fail;
7033 }
7034 resultobj = PyInt_FromLong((long)result);
7035 return resultobj;
7036 fail:
7037 return NULL;
7038 }
7039
7040
7041 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7042 PyObject *resultobj;
7043 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7044 int arg2 ;
7045 PyObject * obj0 = 0 ;
7046 char *kwnames[] = {
7047 (char *) "self",(char *) "alignment", NULL
7048 };
7049
7050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
7051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7052 {
7053 PyThreadState* __tstate = wxPyBeginAllowThreads();
7054 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7055
7056 wxPyEndAllowThreads(__tstate);
7057 if (PyErr_Occurred()) SWIG_fail;
7058 }
7059 Py_INCREF(Py_None); resultobj = Py_None;
7060 return resultobj;
7061 fail:
7062 return NULL;
7063 }
7064
7065
7066 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7067 PyObject *resultobj;
7068 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7069 wxSize *arg2 = 0 ;
7070 wxSize temp2 ;
7071 PyObject * obj0 = 0 ;
7072 PyObject * obj1 = 0 ;
7073 char *kwnames[] = {
7074 (char *) "self",(char *) "size", NULL
7075 };
7076
7077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
7078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7079 {
7080 arg2 = &temp2;
7081 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7082 }
7083 {
7084 PyThreadState* __tstate = wxPyBeginAllowThreads();
7085 (arg1)->SetDefaultSize((wxSize const &)*arg2);
7086
7087 wxPyEndAllowThreads(__tstate);
7088 if (PyErr_Occurred()) SWIG_fail;
7089 }
7090 Py_INCREF(Py_None); resultobj = Py_None;
7091 return resultobj;
7092 fail:
7093 return NULL;
7094 }
7095
7096
7097 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7098 PyObject *resultobj;
7099 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7100 int arg2 ;
7101 PyObject * obj0 = 0 ;
7102 char *kwnames[] = {
7103 (char *) "self",(char *) "orientation", NULL
7104 };
7105
7106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
7107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7108 {
7109 PyThreadState* __tstate = wxPyBeginAllowThreads();
7110 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7111
7112 wxPyEndAllowThreads(__tstate);
7113 if (PyErr_Occurred()) SWIG_fail;
7114 }
7115 Py_INCREF(Py_None); resultobj = Py_None;
7116 return resultobj;
7117 fail:
7118 return NULL;
7119 }
7120
7121
7122 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
7123 PyObject *obj;
7124 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7125 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
7126 Py_INCREF(obj);
7127 return Py_BuildValue((char *)"");
7128 }
7129 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7130 PyObject *resultobj;
7131 wxLayoutAlgorithm *result;
7132 char *kwnames[] = {
7133 NULL
7134 };
7135
7136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
7137 {
7138 PyThreadState* __tstate = wxPyBeginAllowThreads();
7139 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
7140
7141 wxPyEndAllowThreads(__tstate);
7142 if (PyErr_Occurred()) SWIG_fail;
7143 }
7144 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutAlgorithm, 1);
7145 return resultobj;
7146 fail:
7147 return NULL;
7148 }
7149
7150
7151 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7152 PyObject *resultobj;
7153 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7154 PyObject * obj0 = 0 ;
7155 char *kwnames[] = {
7156 (char *) "self", NULL
7157 };
7158
7159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
7160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7161 {
7162 PyThreadState* __tstate = wxPyBeginAllowThreads();
7163 delete arg1;
7164
7165 wxPyEndAllowThreads(__tstate);
7166 if (PyErr_Occurred()) SWIG_fail;
7167 }
7168 Py_INCREF(Py_None); resultobj = Py_None;
7169 return resultobj;
7170 fail:
7171 return NULL;
7172 }
7173
7174
7175 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7176 PyObject *resultobj;
7177 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7178 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
7179 wxRect *arg3 = (wxRect *) NULL ;
7180 bool result;
7181 PyObject * obj0 = 0 ;
7182 PyObject * obj1 = 0 ;
7183 PyObject * obj2 = 0 ;
7184 char *kwnames[] = {
7185 (char *) "self",(char *) "frame",(char *) "rect", NULL
7186 };
7187
7188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7190 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7191 if (obj2) {
7192 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7193 }
7194 {
7195 PyThreadState* __tstate = wxPyBeginAllowThreads();
7196 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
7197
7198 wxPyEndAllowThreads(__tstate);
7199 if (PyErr_Occurred()) SWIG_fail;
7200 }
7201 resultobj = PyInt_FromLong((long)result);
7202 return resultobj;
7203 fail:
7204 return NULL;
7205 }
7206
7207
7208 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7209 PyObject *resultobj;
7210 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7211 wxFrame *arg2 = (wxFrame *) 0 ;
7212 wxWindow *arg3 = (wxWindow *) NULL ;
7213 bool result;
7214 PyObject * obj0 = 0 ;
7215 PyObject * obj1 = 0 ;
7216 PyObject * obj2 = 0 ;
7217 char *kwnames[] = {
7218 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
7219 };
7220
7221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7223 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7224 if (obj2) {
7225 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7226 }
7227 {
7228 PyThreadState* __tstate = wxPyBeginAllowThreads();
7229 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
7230
7231 wxPyEndAllowThreads(__tstate);
7232 if (PyErr_Occurred()) SWIG_fail;
7233 }
7234 resultobj = PyInt_FromLong((long)result);
7235 return resultobj;
7236 fail:
7237 return NULL;
7238 }
7239
7240
7241 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7242 PyObject *resultobj;
7243 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7244 wxWindow *arg2 = (wxWindow *) 0 ;
7245 wxWindow *arg3 = (wxWindow *) NULL ;
7246 bool result;
7247 PyObject * obj0 = 0 ;
7248 PyObject * obj1 = 0 ;
7249 PyObject * obj2 = 0 ;
7250 char *kwnames[] = {
7251 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
7252 };
7253
7254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
7255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7256 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7257 if (obj2) {
7258 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7259 }
7260 {
7261 PyThreadState* __tstate = wxPyBeginAllowThreads();
7262 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
7263
7264 wxPyEndAllowThreads(__tstate);
7265 if (PyErr_Occurred()) SWIG_fail;
7266 }
7267 resultobj = PyInt_FromLong((long)result);
7268 return resultobj;
7269 fail:
7270 return NULL;
7271 }
7272
7273
7274 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
7275 PyObject *obj;
7276 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7277 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
7278 Py_INCREF(obj);
7279 return Py_BuildValue((char *)"");
7280 }
7281 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7282 PyObject *resultobj;
7283 wxWindow *arg1 = (wxWindow *) 0 ;
7284 int arg2 = (int) wxBORDER_NONE ;
7285 wxPopupWindow *result;
7286 PyObject * obj0 = 0 ;
7287 char *kwnames[] = {
7288 (char *) "parent",(char *) "flags", NULL
7289 };
7290
7291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupWindow",kwnames,&obj0,&arg2)) goto fail;
7292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7293 {
7294 PyThreadState* __tstate = wxPyBeginAllowThreads();
7295 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
7296
7297 wxPyEndAllowThreads(__tstate);
7298 if (PyErr_Occurred()) SWIG_fail;
7299 }
7300 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7301 return resultobj;
7302 fail:
7303 return NULL;
7304 }
7305
7306
7307 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7308 PyObject *resultobj;
7309 wxPopupWindow *result;
7310 char *kwnames[] = {
7311 NULL
7312 };
7313
7314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
7315 {
7316 PyThreadState* __tstate = wxPyBeginAllowThreads();
7317 result = (wxPopupWindow *)new wxPopupWindow();
7318
7319 wxPyEndAllowThreads(__tstate);
7320 if (PyErr_Occurred()) SWIG_fail;
7321 }
7322 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7323 return resultobj;
7324 fail:
7325 return NULL;
7326 }
7327
7328
7329 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
7330 PyObject *obj;
7331 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7332 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
7333 Py_INCREF(obj);
7334 return Py_BuildValue((char *)"");
7335 }
7336 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7337 PyObject *resultobj;
7338 wxWindow *arg1 = (wxWindow *) 0 ;
7339 int arg2 = (int) wxBORDER_NONE ;
7340 wxPyPopupTransientWindow *result;
7341 PyObject * obj0 = 0 ;
7342 char *kwnames[] = {
7343 (char *) "parent",(char *) "style", NULL
7344 };
7345
7346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupTransientWindow",kwnames,&obj0,&arg2)) goto fail;
7347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7348 {
7349 PyThreadState* __tstate = wxPyBeginAllowThreads();
7350 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
7351
7352 wxPyEndAllowThreads(__tstate);
7353 if (PyErr_Occurred()) SWIG_fail;
7354 }
7355 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7356 return resultobj;
7357 fail:
7358 return NULL;
7359 }
7360
7361
7362 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7363 PyObject *resultobj;
7364 wxPyPopupTransientWindow *result;
7365 char *kwnames[] = {
7366 NULL
7367 };
7368
7369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
7370 {
7371 PyThreadState* __tstate = wxPyBeginAllowThreads();
7372 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
7373
7374 wxPyEndAllowThreads(__tstate);
7375 if (PyErr_Occurred()) SWIG_fail;
7376 }
7377 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7378 return resultobj;
7379 fail:
7380 return NULL;
7381 }
7382
7383
7384 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
7385 PyObject *obj;
7386 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7387 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
7388 Py_INCREF(obj);
7389 return Py_BuildValue((char *)"");
7390 }
7391 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7392 PyObject *resultobj;
7393 wxWindow *arg1 = (wxWindow *) 0 ;
7394 wxString *arg2 = 0 ;
7395 int arg3 = (int) 100 ;
7396 wxRect *arg4 = (wxRect *) NULL ;
7397 wxTipWindow *result;
7398 bool temp2 = False ;
7399 PyObject * obj0 = 0 ;
7400 PyObject * obj1 = 0 ;
7401 PyObject * obj3 = 0 ;
7402 char *kwnames[] = {
7403 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
7404 };
7405
7406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iO:new_TipWindow",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
7407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7408 {
7409 arg2 = wxString_in_helper(obj1);
7410 if (arg2 == NULL) SWIG_fail;
7411 temp2 = True;
7412 }
7413 if (obj3) {
7414 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7415 }
7416 {
7417 PyThreadState* __tstate = wxPyBeginAllowThreads();
7418 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
7419
7420 wxPyEndAllowThreads(__tstate);
7421 if (PyErr_Occurred()) SWIG_fail;
7422 }
7423 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipWindow, 1);
7424 {
7425 if (temp2)
7426 delete arg2;
7427 }
7428 return resultobj;
7429 fail:
7430 {
7431 if (temp2)
7432 delete arg2;
7433 }
7434 return NULL;
7435 }
7436
7437
7438 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7439 PyObject *resultobj;
7440 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7441 wxRect *arg2 = 0 ;
7442 wxRect temp2 ;
7443 PyObject * obj0 = 0 ;
7444 PyObject * obj1 = 0 ;
7445 char *kwnames[] = {
7446 (char *) "self",(char *) "rectBound", NULL
7447 };
7448
7449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
7450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7451 {
7452 arg2 = &temp2;
7453 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7454 }
7455 {
7456 PyThreadState* __tstate = wxPyBeginAllowThreads();
7457 (arg1)->SetBoundingRect((wxRect const &)*arg2);
7458
7459 wxPyEndAllowThreads(__tstate);
7460 if (PyErr_Occurred()) SWIG_fail;
7461 }
7462 Py_INCREF(Py_None); resultobj = Py_None;
7463 return resultobj;
7464 fail:
7465 return NULL;
7466 }
7467
7468
7469 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
7470 PyObject *resultobj;
7471 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7472 PyObject * obj0 = 0 ;
7473 char *kwnames[] = {
7474 (char *) "self", NULL
7475 };
7476
7477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
7478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7479 {
7480 PyThreadState* __tstate = wxPyBeginAllowThreads();
7481 (arg1)->Close();
7482
7483 wxPyEndAllowThreads(__tstate);
7484 if (PyErr_Occurred()) SWIG_fail;
7485 }
7486 Py_INCREF(Py_None); resultobj = Py_None;
7487 return resultobj;
7488 fail:
7489 return NULL;
7490 }
7491
7492
7493 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
7494 PyObject *obj;
7495 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7496 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
7497 Py_INCREF(obj);
7498 return Py_BuildValue((char *)"");
7499 }
7500 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7501 PyObject *resultobj;
7502 wxWindow *arg1 = (wxWindow *) 0 ;
7503 int arg2 = (int) wxID_ANY ;
7504 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7505 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7506 wxSize const &arg4_defvalue = wxDefaultSize ;
7507 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7508 long arg5 = (long) 0 ;
7509 wxString const &arg6_defvalue = wxPyPanelNameStr ;
7510 wxString *arg6 = (wxString *) &arg6_defvalue ;
7511 wxPyVScrolledWindow *result;
7512 wxPoint temp3 ;
7513 wxSize temp4 ;
7514 bool temp6 = False ;
7515 PyObject * obj0 = 0 ;
7516 PyObject * obj2 = 0 ;
7517 PyObject * obj3 = 0 ;
7518 PyObject * obj5 = 0 ;
7519 char *kwnames[] = {
7520 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7521 };
7522
7523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
7524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7525 if (obj2) {
7526 {
7527 arg3 = &temp3;
7528 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7529 }
7530 }
7531 if (obj3) {
7532 {
7533 arg4 = &temp4;
7534 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7535 }
7536 }
7537 if (obj5) {
7538 {
7539 arg6 = wxString_in_helper(obj5);
7540 if (arg6 == NULL) SWIG_fail;
7541 temp6 = True;
7542 }
7543 }
7544 {
7545 PyThreadState* __tstate = wxPyBeginAllowThreads();
7546 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7547
7548 wxPyEndAllowThreads(__tstate);
7549 if (PyErr_Occurred()) SWIG_fail;
7550 }
7551 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
7552 {
7553 if (temp6)
7554 delete arg6;
7555 }
7556 return resultobj;
7557 fail:
7558 {
7559 if (temp6)
7560 delete arg6;
7561 }
7562 return NULL;
7563 }
7564
7565
7566 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7567 PyObject *resultobj;
7568 wxPyVScrolledWindow *result;
7569 char *kwnames[] = {
7570 NULL
7571 };
7572
7573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
7574 {
7575 PyThreadState* __tstate = wxPyBeginAllowThreads();
7576 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
7577
7578 wxPyEndAllowThreads(__tstate);
7579 if (PyErr_Occurred()) SWIG_fail;
7580 }
7581 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
7582 return resultobj;
7583 fail:
7584 return NULL;
7585 }
7586
7587
7588 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7589 PyObject *resultobj;
7590 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7591 PyObject *arg2 = (PyObject *) 0 ;
7592 PyObject *arg3 = (PyObject *) 0 ;
7593 PyObject * obj0 = 0 ;
7594 PyObject * obj1 = 0 ;
7595 PyObject * obj2 = 0 ;
7596 char *kwnames[] = {
7597 (char *) "self",(char *) "self",(char *) "_class", NULL
7598 };
7599
7600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7602 arg2 = obj1;
7603 arg3 = obj2;
7604 {
7605 PyThreadState* __tstate = wxPyBeginAllowThreads();
7606 (arg1)->_setCallbackInfo(arg2,arg3);
7607
7608 wxPyEndAllowThreads(__tstate);
7609 if (PyErr_Occurred()) SWIG_fail;
7610 }
7611 Py_INCREF(Py_None); resultobj = Py_None;
7612 return resultobj;
7613 fail:
7614 return NULL;
7615 }
7616
7617
7618 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7619 PyObject *resultobj;
7620 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7621 wxWindow *arg2 = (wxWindow *) 0 ;
7622 int arg3 = (int) wxID_ANY ;
7623 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7624 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7625 wxSize const &arg5_defvalue = wxDefaultSize ;
7626 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7627 long arg6 = (long) 0 ;
7628 wxString const &arg7_defvalue = wxPyPanelNameStr ;
7629 wxString *arg7 = (wxString *) &arg7_defvalue ;
7630 bool result;
7631 wxPoint temp4 ;
7632 wxSize temp5 ;
7633 bool temp7 = False ;
7634 PyObject * obj0 = 0 ;
7635 PyObject * obj1 = 0 ;
7636 PyObject * obj3 = 0 ;
7637 PyObject * obj4 = 0 ;
7638 PyObject * obj6 = 0 ;
7639 char *kwnames[] = {
7640 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7641 };
7642
7643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
7644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7645 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7646 if (obj3) {
7647 {
7648 arg4 = &temp4;
7649 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7650 }
7651 }
7652 if (obj4) {
7653 {
7654 arg5 = &temp5;
7655 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7656 }
7657 }
7658 if (obj6) {
7659 {
7660 arg7 = wxString_in_helper(obj6);
7661 if (arg7 == NULL) SWIG_fail;
7662 temp7 = True;
7663 }
7664 }
7665 {
7666 PyThreadState* __tstate = wxPyBeginAllowThreads();
7667 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7668
7669 wxPyEndAllowThreads(__tstate);
7670 if (PyErr_Occurred()) SWIG_fail;
7671 }
7672 resultobj = PyInt_FromLong((long)result);
7673 {
7674 if (temp7)
7675 delete arg7;
7676 }
7677 return resultobj;
7678 fail:
7679 {
7680 if (temp7)
7681 delete arg7;
7682 }
7683 return NULL;
7684 }
7685
7686
7687 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7688 PyObject *resultobj;
7689 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7690 size_t arg2 ;
7691 PyObject * obj0 = 0 ;
7692 PyObject * obj1 = 0 ;
7693 char *kwnames[] = {
7694 (char *) "self",(char *) "count", NULL
7695 };
7696
7697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
7698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7699 arg2 = (size_t) PyInt_AsLong(obj1);
7700 if (PyErr_Occurred()) SWIG_fail;
7701 {
7702 PyThreadState* __tstate = wxPyBeginAllowThreads();
7703 (arg1)->SetLineCount(arg2);
7704
7705 wxPyEndAllowThreads(__tstate);
7706 if (PyErr_Occurred()) SWIG_fail;
7707 }
7708 Py_INCREF(Py_None); resultobj = Py_None;
7709 return resultobj;
7710 fail:
7711 return NULL;
7712 }
7713
7714
7715 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7716 PyObject *resultobj;
7717 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7718 size_t arg2 ;
7719 bool result;
7720 PyObject * obj0 = 0 ;
7721 PyObject * obj1 = 0 ;
7722 char *kwnames[] = {
7723 (char *) "self",(char *) "line", NULL
7724 };
7725
7726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
7727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7728 arg2 = (size_t) PyInt_AsLong(obj1);
7729 if (PyErr_Occurred()) SWIG_fail;
7730 {
7731 PyThreadState* __tstate = wxPyBeginAllowThreads();
7732 result = (bool)(arg1)->ScrollToLine(arg2);
7733
7734 wxPyEndAllowThreads(__tstate);
7735 if (PyErr_Occurred()) SWIG_fail;
7736 }
7737 resultobj = PyInt_FromLong((long)result);
7738 return resultobj;
7739 fail:
7740 return NULL;
7741 }
7742
7743
7744 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7745 PyObject *resultobj;
7746 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7747 int arg2 ;
7748 bool result;
7749 PyObject * obj0 = 0 ;
7750 char *kwnames[] = {
7751 (char *) "self",(char *) "lines", NULL
7752 };
7753
7754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollLines",kwnames,&obj0,&arg2)) goto fail;
7755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7756 {
7757 PyThreadState* __tstate = wxPyBeginAllowThreads();
7758 result = (bool)(arg1)->ScrollLines(arg2);
7759
7760 wxPyEndAllowThreads(__tstate);
7761 if (PyErr_Occurred()) SWIG_fail;
7762 }
7763 resultobj = PyInt_FromLong((long)result);
7764 return resultobj;
7765 fail:
7766 return NULL;
7767 }
7768
7769
7770 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
7771 PyObject *resultobj;
7772 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7773 int arg2 ;
7774 bool result;
7775 PyObject * obj0 = 0 ;
7776 char *kwnames[] = {
7777 (char *) "self",(char *) "pages", NULL
7778 };
7779
7780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollPages",kwnames,&obj0,&arg2)) goto fail;
7781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7782 {
7783 PyThreadState* __tstate = wxPyBeginAllowThreads();
7784 result = (bool)(arg1)->ScrollPages(arg2);
7785
7786 wxPyEndAllowThreads(__tstate);
7787 if (PyErr_Occurred()) SWIG_fail;
7788 }
7789 resultobj = PyInt_FromLong((long)result);
7790 return resultobj;
7791 fail:
7792 return NULL;
7793 }
7794
7795
7796 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7797 PyObject *resultobj;
7798 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7799 size_t arg2 ;
7800 PyObject * obj0 = 0 ;
7801 PyObject * obj1 = 0 ;
7802 char *kwnames[] = {
7803 (char *) "self",(char *) "line", NULL
7804 };
7805
7806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
7807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7808 arg2 = (size_t) PyInt_AsLong(obj1);
7809 if (PyErr_Occurred()) SWIG_fail;
7810 {
7811 PyThreadState* __tstate = wxPyBeginAllowThreads();
7812 (arg1)->RefreshLine(arg2);
7813
7814 wxPyEndAllowThreads(__tstate);
7815 if (PyErr_Occurred()) SWIG_fail;
7816 }
7817 Py_INCREF(Py_None); resultobj = Py_None;
7818 return resultobj;
7819 fail:
7820 return NULL;
7821 }
7822
7823
7824 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7825 PyObject *resultobj;
7826 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7827 size_t arg2 ;
7828 size_t arg3 ;
7829 PyObject * obj0 = 0 ;
7830 PyObject * obj1 = 0 ;
7831 PyObject * obj2 = 0 ;
7832 char *kwnames[] = {
7833 (char *) "self",(char *) "from",(char *) "to", NULL
7834 };
7835
7836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
7837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7838 arg2 = (size_t) PyInt_AsLong(obj1);
7839 if (PyErr_Occurred()) SWIG_fail;
7840 arg3 = (size_t) PyInt_AsLong(obj2);
7841 if (PyErr_Occurred()) SWIG_fail;
7842 {
7843 PyThreadState* __tstate = wxPyBeginAllowThreads();
7844 (arg1)->RefreshLines(arg2,arg3);
7845
7846 wxPyEndAllowThreads(__tstate);
7847 if (PyErr_Occurred()) SWIG_fail;
7848 }
7849 Py_INCREF(Py_None); resultobj = Py_None;
7850 return resultobj;
7851 fail:
7852 return NULL;
7853 }
7854
7855
7856 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
7857 PyObject *resultobj;
7858 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7859 int arg2 ;
7860 int arg3 ;
7861 int result;
7862 PyObject * obj0 = 0 ;
7863 char *kwnames[] = {
7864 (char *) "self",(char *) "x",(char *) "y", NULL
7865 };
7866
7867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VScrolledWindow_HitTestXT",kwnames,&obj0,&arg2,&arg3)) goto fail;
7868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7869 {
7870 PyThreadState* __tstate = wxPyBeginAllowThreads();
7871 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
7872
7873 wxPyEndAllowThreads(__tstate);
7874 if (PyErr_Occurred()) SWIG_fail;
7875 }
7876 resultobj = PyInt_FromLong((long)result);
7877 return resultobj;
7878 fail:
7879 return NULL;
7880 }
7881
7882
7883 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
7884 PyObject *resultobj;
7885 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7886 wxPoint *arg2 = 0 ;
7887 int result;
7888 wxPoint temp2 ;
7889 PyObject * obj0 = 0 ;
7890 PyObject * obj1 = 0 ;
7891 char *kwnames[] = {
7892 (char *) "self",(char *) "pt", NULL
7893 };
7894
7895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
7896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7897 {
7898 arg2 = &temp2;
7899 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7900 }
7901 {
7902 PyThreadState* __tstate = wxPyBeginAllowThreads();
7903 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
7904
7905 wxPyEndAllowThreads(__tstate);
7906 if (PyErr_Occurred()) SWIG_fail;
7907 }
7908 resultobj = PyInt_FromLong((long)result);
7909 return resultobj;
7910 fail:
7911 return NULL;
7912 }
7913
7914
7915 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
7916 PyObject *resultobj;
7917 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7918 PyObject * obj0 = 0 ;
7919 char *kwnames[] = {
7920 (char *) "self", NULL
7921 };
7922
7923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
7924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7925 {
7926 PyThreadState* __tstate = wxPyBeginAllowThreads();
7927 (arg1)->RefreshAll();
7928
7929 wxPyEndAllowThreads(__tstate);
7930 if (PyErr_Occurred()) SWIG_fail;
7931 }
7932 Py_INCREF(Py_None); resultobj = Py_None;
7933 return resultobj;
7934 fail:
7935 return NULL;
7936 }
7937
7938
7939 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7940 PyObject *resultobj;
7941 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7942 size_t result;
7943 PyObject * obj0 = 0 ;
7944 char *kwnames[] = {
7945 (char *) "self", NULL
7946 };
7947
7948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
7949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7950 {
7951 PyThreadState* __tstate = wxPyBeginAllowThreads();
7952 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
7953
7954 wxPyEndAllowThreads(__tstate);
7955 if (PyErr_Occurred()) SWIG_fail;
7956 }
7957 resultobj = PyInt_FromLong((long)result);
7958 return resultobj;
7959 fail:
7960 return NULL;
7961 }
7962
7963
7964 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7965 PyObject *resultobj;
7966 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7967 size_t result;
7968 PyObject * obj0 = 0 ;
7969 char *kwnames[] = {
7970 (char *) "self", NULL
7971 };
7972
7973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
7974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7975 {
7976 PyThreadState* __tstate = wxPyBeginAllowThreads();
7977 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
7978
7979 wxPyEndAllowThreads(__tstate);
7980 if (PyErr_Occurred()) SWIG_fail;
7981 }
7982 resultobj = PyInt_FromLong((long)result);
7983 return resultobj;
7984 fail:
7985 return NULL;
7986 }
7987
7988
7989 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7990 PyObject *resultobj;
7991 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7992 size_t result;
7993 PyObject * obj0 = 0 ;
7994 char *kwnames[] = {
7995 (char *) "self", NULL
7996 };
7997
7998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
7999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8000 {
8001 PyThreadState* __tstate = wxPyBeginAllowThreads();
8002 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
8003
8004 wxPyEndAllowThreads(__tstate);
8005 if (PyErr_Occurred()) SWIG_fail;
8006 }
8007 resultobj = PyInt_FromLong((long)result);
8008 return resultobj;
8009 fail:
8010 return NULL;
8011 }
8012
8013
8014 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8015 PyObject *resultobj;
8016 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8017 size_t arg2 ;
8018 bool result;
8019 PyObject * obj0 = 0 ;
8020 PyObject * obj1 = 0 ;
8021 char *kwnames[] = {
8022 (char *) "self",(char *) "line", NULL
8023 };
8024
8025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
8026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8027 arg2 = (size_t) PyInt_AsLong(obj1);
8028 if (PyErr_Occurred()) SWIG_fail;
8029 {
8030 PyThreadState* __tstate = wxPyBeginAllowThreads();
8031 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
8032
8033 wxPyEndAllowThreads(__tstate);
8034 if (PyErr_Occurred()) SWIG_fail;
8035 }
8036 resultobj = PyInt_FromLong((long)result);
8037 return resultobj;
8038 fail:
8039 return NULL;
8040 }
8041
8042
8043 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
8044 PyObject *obj;
8045 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8046 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
8047 Py_INCREF(obj);
8048 return Py_BuildValue((char *)"");
8049 }
8050 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8051 PyObject *resultobj;
8052 wxWindow *arg1 = (wxWindow *) 0 ;
8053 int arg2 = (int) wxID_ANY ;
8054 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8055 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8056 wxSize const &arg4_defvalue = wxDefaultSize ;
8057 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8058 long arg5 = (long) 0 ;
8059 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
8060 wxString *arg6 = (wxString *) &arg6_defvalue ;
8061 wxPyVListBox *result;
8062 wxPoint temp3 ;
8063 wxSize temp4 ;
8064 bool temp6 = False ;
8065 PyObject * obj0 = 0 ;
8066 PyObject * obj2 = 0 ;
8067 PyObject * obj3 = 0 ;
8068 PyObject * obj5 = 0 ;
8069 char *kwnames[] = {
8070 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8071 };
8072
8073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8075 if (obj2) {
8076 {
8077 arg3 = &temp3;
8078 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8079 }
8080 }
8081 if (obj3) {
8082 {
8083 arg4 = &temp4;
8084 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8085 }
8086 }
8087 if (obj5) {
8088 {
8089 arg6 = wxString_in_helper(obj5);
8090 if (arg6 == NULL) SWIG_fail;
8091 temp6 = True;
8092 }
8093 }
8094 {
8095 PyThreadState* __tstate = wxPyBeginAllowThreads();
8096 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8097
8098 wxPyEndAllowThreads(__tstate);
8099 if (PyErr_Occurred()) SWIG_fail;
8100 }
8101 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8102 {
8103 if (temp6)
8104 delete arg6;
8105 }
8106 return resultobj;
8107 fail:
8108 {
8109 if (temp6)
8110 delete arg6;
8111 }
8112 return NULL;
8113 }
8114
8115
8116 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8117 PyObject *resultobj;
8118 wxPyVListBox *result;
8119 char *kwnames[] = {
8120 NULL
8121 };
8122
8123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
8124 {
8125 PyThreadState* __tstate = wxPyBeginAllowThreads();
8126 result = (wxPyVListBox *)new wxPyVListBox();
8127
8128 wxPyEndAllowThreads(__tstate);
8129 if (PyErr_Occurred()) SWIG_fail;
8130 }
8131 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8132 return resultobj;
8133 fail:
8134 return NULL;
8135 }
8136
8137
8138 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8139 PyObject *resultobj;
8140 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8141 PyObject *arg2 = (PyObject *) 0 ;
8142 PyObject *arg3 = (PyObject *) 0 ;
8143 PyObject * obj0 = 0 ;
8144 PyObject * obj1 = 0 ;
8145 PyObject * obj2 = 0 ;
8146 char *kwnames[] = {
8147 (char *) "self",(char *) "self",(char *) "_class", NULL
8148 };
8149
8150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8152 arg2 = obj1;
8153 arg3 = obj2;
8154 {
8155 PyThreadState* __tstate = wxPyBeginAllowThreads();
8156 (arg1)->_setCallbackInfo(arg2,arg3);
8157
8158 wxPyEndAllowThreads(__tstate);
8159 if (PyErr_Occurred()) SWIG_fail;
8160 }
8161 Py_INCREF(Py_None); resultobj = Py_None;
8162 return resultobj;
8163 fail:
8164 return NULL;
8165 }
8166
8167
8168 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8169 PyObject *resultobj;
8170 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8171 wxWindow *arg2 = (wxWindow *) 0 ;
8172 int arg3 = (int) wxID_ANY ;
8173 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8174 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8175 wxSize const &arg5_defvalue = wxDefaultSize ;
8176 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8177 long arg6 = (long) 0 ;
8178 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
8179 wxString *arg7 = (wxString *) &arg7_defvalue ;
8180 bool result;
8181 wxPoint temp4 ;
8182 wxSize temp5 ;
8183 bool temp7 = False ;
8184 PyObject * obj0 = 0 ;
8185 PyObject * obj1 = 0 ;
8186 PyObject * obj3 = 0 ;
8187 PyObject * obj4 = 0 ;
8188 PyObject * obj6 = 0 ;
8189 char *kwnames[] = {
8190 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8191 };
8192
8193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8195 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8196 if (obj3) {
8197 {
8198 arg4 = &temp4;
8199 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8200 }
8201 }
8202 if (obj4) {
8203 {
8204 arg5 = &temp5;
8205 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8206 }
8207 }
8208 if (obj6) {
8209 {
8210 arg7 = wxString_in_helper(obj6);
8211 if (arg7 == NULL) SWIG_fail;
8212 temp7 = True;
8213 }
8214 }
8215 {
8216 PyThreadState* __tstate = wxPyBeginAllowThreads();
8217 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8218
8219 wxPyEndAllowThreads(__tstate);
8220 if (PyErr_Occurred()) SWIG_fail;
8221 }
8222 resultobj = PyInt_FromLong((long)result);
8223 {
8224 if (temp7)
8225 delete arg7;
8226 }
8227 return resultobj;
8228 fail:
8229 {
8230 if (temp7)
8231 delete arg7;
8232 }
8233 return NULL;
8234 }
8235
8236
8237 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8238 PyObject *resultobj;
8239 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8240 size_t result;
8241 PyObject * obj0 = 0 ;
8242 char *kwnames[] = {
8243 (char *) "self", NULL
8244 };
8245
8246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
8247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8248 {
8249 PyThreadState* __tstate = wxPyBeginAllowThreads();
8250 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
8251
8252 wxPyEndAllowThreads(__tstate);
8253 if (PyErr_Occurred()) SWIG_fail;
8254 }
8255 resultobj = PyInt_FromLong((long)result);
8256 return resultobj;
8257 fail:
8258 return NULL;
8259 }
8260
8261
8262 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8263 PyObject *resultobj;
8264 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8265 bool result;
8266 PyObject * obj0 = 0 ;
8267 char *kwnames[] = {
8268 (char *) "self", NULL
8269 };
8270
8271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
8272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8273 {
8274 PyThreadState* __tstate = wxPyBeginAllowThreads();
8275 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
8276
8277 wxPyEndAllowThreads(__tstate);
8278 if (PyErr_Occurred()) SWIG_fail;
8279 }
8280 resultobj = PyInt_FromLong((long)result);
8281 return resultobj;
8282 fail:
8283 return NULL;
8284 }
8285
8286
8287 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8288 PyObject *resultobj;
8289 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8290 int result;
8291 PyObject * obj0 = 0 ;
8292 char *kwnames[] = {
8293 (char *) "self", NULL
8294 };
8295
8296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
8297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8298 {
8299 PyThreadState* __tstate = wxPyBeginAllowThreads();
8300 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
8301
8302 wxPyEndAllowThreads(__tstate);
8303 if (PyErr_Occurred()) SWIG_fail;
8304 }
8305 resultobj = PyInt_FromLong((long)result);
8306 return resultobj;
8307 fail:
8308 return NULL;
8309 }
8310
8311
8312 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
8313 PyObject *resultobj;
8314 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8315 size_t arg2 ;
8316 bool result;
8317 PyObject * obj0 = 0 ;
8318 PyObject * obj1 = 0 ;
8319 char *kwnames[] = {
8320 (char *) "self",(char *) "item", NULL
8321 };
8322
8323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
8324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8325 arg2 = (size_t) PyInt_AsLong(obj1);
8326 if (PyErr_Occurred()) SWIG_fail;
8327 {
8328 PyThreadState* __tstate = wxPyBeginAllowThreads();
8329 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
8330
8331 wxPyEndAllowThreads(__tstate);
8332 if (PyErr_Occurred()) SWIG_fail;
8333 }
8334 resultobj = PyInt_FromLong((long)result);
8335 return resultobj;
8336 fail:
8337 return NULL;
8338 }
8339
8340
8341 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8342 PyObject *resultobj;
8343 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8344 size_t arg2 ;
8345 bool result;
8346 PyObject * obj0 = 0 ;
8347 PyObject * obj1 = 0 ;
8348 char *kwnames[] = {
8349 (char *) "self",(char *) "item", NULL
8350 };
8351
8352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
8353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8354 arg2 = (size_t) PyInt_AsLong(obj1);
8355 if (PyErr_Occurred()) SWIG_fail;
8356 {
8357 PyThreadState* __tstate = wxPyBeginAllowThreads();
8358 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
8359
8360 wxPyEndAllowThreads(__tstate);
8361 if (PyErr_Occurred()) SWIG_fail;
8362 }
8363 resultobj = PyInt_FromLong((long)result);
8364 return resultobj;
8365 fail:
8366 return NULL;
8367 }
8368
8369
8370 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8371 PyObject *resultobj;
8372 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8373 size_t result;
8374 PyObject * obj0 = 0 ;
8375 char *kwnames[] = {
8376 (char *) "self", NULL
8377 };
8378
8379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
8380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8381 {
8382 PyThreadState* __tstate = wxPyBeginAllowThreads();
8383 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
8384
8385 wxPyEndAllowThreads(__tstate);
8386 if (PyErr_Occurred()) SWIG_fail;
8387 }
8388 resultobj = PyInt_FromLong((long)result);
8389 return resultobj;
8390 fail:
8391 return NULL;
8392 }
8393
8394
8395 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8396 PyObject *resultobj;
8397 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8398 unsigned long *arg2 = 0 ;
8399 int result;
8400 PyObject * obj0 = 0 ;
8401 PyObject * obj1 = 0 ;
8402 char *kwnames[] = {
8403 (char *) "self",(char *) "cookie", NULL
8404 };
8405
8406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
8407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8408 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8409 if (arg2 == NULL) {
8410 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8411 }
8412 {
8413 PyThreadState* __tstate = wxPyBeginAllowThreads();
8414 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
8415
8416 wxPyEndAllowThreads(__tstate);
8417 if (PyErr_Occurred()) SWIG_fail;
8418 }
8419 resultobj = PyInt_FromLong((long)result);
8420 return resultobj;
8421 fail:
8422 return NULL;
8423 }
8424
8425
8426 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8427 PyObject *resultobj;
8428 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8429 unsigned long *arg2 = 0 ;
8430 int result;
8431 PyObject * obj0 = 0 ;
8432 PyObject * obj1 = 0 ;
8433 char *kwnames[] = {
8434 (char *) "self",(char *) "cookie", NULL
8435 };
8436
8437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
8438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8439 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8440 if (arg2 == NULL) {
8441 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8442 }
8443 {
8444 PyThreadState* __tstate = wxPyBeginAllowThreads();
8445 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
8446
8447 wxPyEndAllowThreads(__tstate);
8448 if (PyErr_Occurred()) SWIG_fail;
8449 }
8450 resultobj = PyInt_FromLong((long)result);
8451 return resultobj;
8452 fail:
8453 return NULL;
8454 }
8455
8456
8457 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
8458 PyObject *resultobj;
8459 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8460 wxPoint result;
8461 PyObject * obj0 = 0 ;
8462 char *kwnames[] = {
8463 (char *) "self", NULL
8464 };
8465
8466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
8467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8468 {
8469 PyThreadState* __tstate = wxPyBeginAllowThreads();
8470 result = ((wxPyVListBox const *)arg1)->GetMargins();
8471
8472 wxPyEndAllowThreads(__tstate);
8473 if (PyErr_Occurred()) SWIG_fail;
8474 }
8475 {
8476 wxPoint * resultptr;
8477 resultptr = new wxPoint((wxPoint &) result);
8478 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
8479 }
8480 return resultobj;
8481 fail:
8482 return NULL;
8483 }
8484
8485
8486 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8487 PyObject *resultobj;
8488 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8489 wxColour *result;
8490 PyObject * obj0 = 0 ;
8491 char *kwnames[] = {
8492 (char *) "self", NULL
8493 };
8494
8495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
8496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8497 {
8498 PyThreadState* __tstate = wxPyBeginAllowThreads();
8499 {
8500 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
8501 result = (wxColour *) &_result_ref;
8502 }
8503
8504 wxPyEndAllowThreads(__tstate);
8505 if (PyErr_Occurred()) SWIG_fail;
8506 }
8507 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
8508 return resultobj;
8509 fail:
8510 return NULL;
8511 }
8512
8513
8514 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8515 PyObject *resultobj;
8516 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8517 size_t arg2 ;
8518 PyObject * obj0 = 0 ;
8519 PyObject * obj1 = 0 ;
8520 char *kwnames[] = {
8521 (char *) "self",(char *) "count", NULL
8522 };
8523
8524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
8525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8526 arg2 = (size_t) PyInt_AsLong(obj1);
8527 if (PyErr_Occurred()) SWIG_fail;
8528 {
8529 PyThreadState* __tstate = wxPyBeginAllowThreads();
8530 (arg1)->SetItemCount(arg2);
8531
8532 wxPyEndAllowThreads(__tstate);
8533 if (PyErr_Occurred()) SWIG_fail;
8534 }
8535 Py_INCREF(Py_None); resultobj = Py_None;
8536 return resultobj;
8537 fail:
8538 return NULL;
8539 }
8540
8541
8542 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8543 PyObject *resultobj;
8544 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8545 PyObject * obj0 = 0 ;
8546 char *kwnames[] = {
8547 (char *) "self", NULL
8548 };
8549
8550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
8551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8552 {
8553 PyThreadState* __tstate = wxPyBeginAllowThreads();
8554 (arg1)->Clear();
8555
8556 wxPyEndAllowThreads(__tstate);
8557 if (PyErr_Occurred()) SWIG_fail;
8558 }
8559 Py_INCREF(Py_None); resultobj = Py_None;
8560 return resultobj;
8561 fail:
8562 return NULL;
8563 }
8564
8565
8566 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8567 PyObject *resultobj;
8568 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8569 int arg2 ;
8570 PyObject * obj0 = 0 ;
8571 char *kwnames[] = {
8572 (char *) "self",(char *) "selection", NULL
8573 };
8574
8575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VListBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
8576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8577 {
8578 PyThreadState* __tstate = wxPyBeginAllowThreads();
8579 (arg1)->SetSelection(arg2);
8580
8581 wxPyEndAllowThreads(__tstate);
8582 if (PyErr_Occurred()) SWIG_fail;
8583 }
8584 Py_INCREF(Py_None); resultobj = Py_None;
8585 return resultobj;
8586 fail:
8587 return NULL;
8588 }
8589
8590
8591 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
8592 PyObject *resultobj;
8593 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8594 size_t arg2 ;
8595 bool arg3 = (bool) True ;
8596 bool result;
8597 PyObject * obj0 = 0 ;
8598 PyObject * obj1 = 0 ;
8599 PyObject * obj2 = 0 ;
8600 char *kwnames[] = {
8601 (char *) "self",(char *) "item",(char *) "select", NULL
8602 };
8603
8604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
8605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8606 arg2 = (size_t) PyInt_AsLong(obj1);
8607 if (PyErr_Occurred()) SWIG_fail;
8608 if (obj2) {
8609 arg3 = PyInt_AsLong(obj2) ? true : false;
8610 if (PyErr_Occurred()) SWIG_fail;
8611 }
8612 {
8613 PyThreadState* __tstate = wxPyBeginAllowThreads();
8614 result = (bool)(arg1)->Select(arg2,arg3);
8615
8616 wxPyEndAllowThreads(__tstate);
8617 if (PyErr_Occurred()) SWIG_fail;
8618 }
8619 resultobj = PyInt_FromLong((long)result);
8620 return resultobj;
8621 fail:
8622 return NULL;
8623 }
8624
8625
8626 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8627 PyObject *resultobj;
8628 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8629 size_t arg2 ;
8630 size_t arg3 ;
8631 bool result;
8632 PyObject * obj0 = 0 ;
8633 PyObject * obj1 = 0 ;
8634 PyObject * obj2 = 0 ;
8635 char *kwnames[] = {
8636 (char *) "self",(char *) "from",(char *) "to", NULL
8637 };
8638
8639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
8640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8641 arg2 = (size_t) PyInt_AsLong(obj1);
8642 if (PyErr_Occurred()) SWIG_fail;
8643 arg3 = (size_t) PyInt_AsLong(obj2);
8644 if (PyErr_Occurred()) SWIG_fail;
8645 {
8646 PyThreadState* __tstate = wxPyBeginAllowThreads();
8647 result = (bool)(arg1)->SelectRange(arg2,arg3);
8648
8649 wxPyEndAllowThreads(__tstate);
8650 if (PyErr_Occurred()) SWIG_fail;
8651 }
8652 resultobj = PyInt_FromLong((long)result);
8653 return resultobj;
8654 fail:
8655 return NULL;
8656 }
8657
8658
8659 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
8660 PyObject *resultobj;
8661 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8662 size_t arg2 ;
8663 PyObject * obj0 = 0 ;
8664 PyObject * obj1 = 0 ;
8665 char *kwnames[] = {
8666 (char *) "self",(char *) "item", NULL
8667 };
8668
8669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
8670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8671 arg2 = (size_t) PyInt_AsLong(obj1);
8672 if (PyErr_Occurred()) SWIG_fail;
8673 {
8674 PyThreadState* __tstate = wxPyBeginAllowThreads();
8675 (arg1)->Toggle(arg2);
8676
8677 wxPyEndAllowThreads(__tstate);
8678 if (PyErr_Occurred()) SWIG_fail;
8679 }
8680 Py_INCREF(Py_None); resultobj = Py_None;
8681 return resultobj;
8682 fail:
8683 return NULL;
8684 }
8685
8686
8687 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8688 PyObject *resultobj;
8689 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8690 bool result;
8691 PyObject * obj0 = 0 ;
8692 char *kwnames[] = {
8693 (char *) "self", NULL
8694 };
8695
8696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
8697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8698 {
8699 PyThreadState* __tstate = wxPyBeginAllowThreads();
8700 result = (bool)(arg1)->SelectAll();
8701
8702 wxPyEndAllowThreads(__tstate);
8703 if (PyErr_Occurred()) SWIG_fail;
8704 }
8705 resultobj = PyInt_FromLong((long)result);
8706 return resultobj;
8707 fail:
8708 return NULL;
8709 }
8710
8711
8712 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8713 PyObject *resultobj;
8714 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8715 bool result;
8716 PyObject * obj0 = 0 ;
8717 char *kwnames[] = {
8718 (char *) "self", NULL
8719 };
8720
8721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
8722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8723 {
8724 PyThreadState* __tstate = wxPyBeginAllowThreads();
8725 result = (bool)(arg1)->DeselectAll();
8726
8727 wxPyEndAllowThreads(__tstate);
8728 if (PyErr_Occurred()) SWIG_fail;
8729 }
8730 resultobj = PyInt_FromLong((long)result);
8731 return resultobj;
8732 fail:
8733 return NULL;
8734 }
8735
8736
8737 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
8738 PyObject *resultobj;
8739 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8740 wxPoint *arg2 = 0 ;
8741 wxPoint temp2 ;
8742 PyObject * obj0 = 0 ;
8743 PyObject * obj1 = 0 ;
8744 char *kwnames[] = {
8745 (char *) "self",(char *) "pt", NULL
8746 };
8747
8748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
8749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8750 {
8751 arg2 = &temp2;
8752 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8753 }
8754 {
8755 PyThreadState* __tstate = wxPyBeginAllowThreads();
8756 (arg1)->SetMargins((wxPoint const &)*arg2);
8757
8758 wxPyEndAllowThreads(__tstate);
8759 if (PyErr_Occurred()) SWIG_fail;
8760 }
8761 Py_INCREF(Py_None); resultobj = Py_None;
8762 return resultobj;
8763 fail:
8764 return NULL;
8765 }
8766
8767
8768 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8769 PyObject *resultobj;
8770 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8771 int arg2 ;
8772 int arg3 ;
8773 PyObject * obj0 = 0 ;
8774 char *kwnames[] = {
8775 (char *) "self",(char *) "x",(char *) "y", NULL
8776 };
8777
8778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VListBox_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
8779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8780 {
8781 PyThreadState* __tstate = wxPyBeginAllowThreads();
8782 (arg1)->SetMargins(arg2,arg3);
8783
8784 wxPyEndAllowThreads(__tstate);
8785 if (PyErr_Occurred()) SWIG_fail;
8786 }
8787 Py_INCREF(Py_None); resultobj = Py_None;
8788 return resultobj;
8789 fail:
8790 return NULL;
8791 }
8792
8793
8794 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8795 PyObject *resultobj;
8796 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8797 wxColour *arg2 = 0 ;
8798 wxColour temp2 ;
8799 PyObject * obj0 = 0 ;
8800 PyObject * obj1 = 0 ;
8801 char *kwnames[] = {
8802 (char *) "self",(char *) "col", NULL
8803 };
8804
8805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
8806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8807 {
8808 arg2 = &temp2;
8809 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8810 }
8811 {
8812 PyThreadState* __tstate = wxPyBeginAllowThreads();
8813 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
8814
8815 wxPyEndAllowThreads(__tstate);
8816 if (PyErr_Occurred()) SWIG_fail;
8817 }
8818 Py_INCREF(Py_None); resultobj = Py_None;
8819 return resultobj;
8820 fail:
8821 return NULL;
8822 }
8823
8824
8825 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
8826 PyObject *obj;
8827 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8828 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
8829 Py_INCREF(obj);
8830 return Py_BuildValue((char *)"");
8831 }
8832 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8833 PyObject *resultobj;
8834 wxWindow *arg1 = (wxWindow *) 0 ;
8835 int arg2 = (int) wxID_ANY ;
8836 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8837 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8838 wxSize const &arg4_defvalue = wxDefaultSize ;
8839 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8840 long arg5 = (long) 0 ;
8841 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
8842 wxString *arg6 = (wxString *) &arg6_defvalue ;
8843 wxPyHtmlListBox *result;
8844 wxPoint temp3 ;
8845 wxSize temp4 ;
8846 bool temp6 = False ;
8847 PyObject * obj0 = 0 ;
8848 PyObject * obj2 = 0 ;
8849 PyObject * obj3 = 0 ;
8850 PyObject * obj5 = 0 ;
8851 char *kwnames[] = {
8852 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8853 };
8854
8855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_HtmlListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8857 if (obj2) {
8858 {
8859 arg3 = &temp3;
8860 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8861 }
8862 }
8863 if (obj3) {
8864 {
8865 arg4 = &temp4;
8866 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8867 }
8868 }
8869 if (obj5) {
8870 {
8871 arg6 = wxString_in_helper(obj5);
8872 if (arg6 == NULL) SWIG_fail;
8873 temp6 = True;
8874 }
8875 }
8876 {
8877 PyThreadState* __tstate = wxPyBeginAllowThreads();
8878 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8879
8880 wxPyEndAllowThreads(__tstate);
8881 if (PyErr_Occurred()) SWIG_fail;
8882 }
8883 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
8884 {
8885 if (temp6)
8886 delete arg6;
8887 }
8888 return resultobj;
8889 fail:
8890 {
8891 if (temp6)
8892 delete arg6;
8893 }
8894 return NULL;
8895 }
8896
8897
8898 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8899 PyObject *resultobj;
8900 wxPyHtmlListBox *result;
8901 char *kwnames[] = {
8902 NULL
8903 };
8904
8905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
8906 {
8907 PyThreadState* __tstate = wxPyBeginAllowThreads();
8908 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
8909
8910 wxPyEndAllowThreads(__tstate);
8911 if (PyErr_Occurred()) SWIG_fail;
8912 }
8913 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
8914 return resultobj;
8915 fail:
8916 return NULL;
8917 }
8918
8919
8920 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8921 PyObject *resultobj;
8922 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
8923 PyObject *arg2 = (PyObject *) 0 ;
8924 PyObject *arg3 = (PyObject *) 0 ;
8925 PyObject * obj0 = 0 ;
8926 PyObject * obj1 = 0 ;
8927 PyObject * obj2 = 0 ;
8928 char *kwnames[] = {
8929 (char *) "self",(char *) "self",(char *) "_class", NULL
8930 };
8931
8932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8934 arg2 = obj1;
8935 arg3 = obj2;
8936 {
8937 PyThreadState* __tstate = wxPyBeginAllowThreads();
8938 (arg1)->_setCallbackInfo(arg2,arg3);
8939
8940 wxPyEndAllowThreads(__tstate);
8941 if (PyErr_Occurred()) SWIG_fail;
8942 }
8943 Py_INCREF(Py_None); resultobj = Py_None;
8944 return resultobj;
8945 fail:
8946 return NULL;
8947 }
8948
8949
8950 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8951 PyObject *resultobj;
8952 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
8953 wxWindow *arg2 = (wxWindow *) 0 ;
8954 int arg3 = (int) wxID_ANY ;
8955 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8956 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8957 wxSize const &arg5_defvalue = wxDefaultSize ;
8958 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8959 long arg6 = (long) 0 ;
8960 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
8961 wxString *arg7 = (wxString *) &arg7_defvalue ;
8962 bool result;
8963 wxPoint temp4 ;
8964 wxSize temp5 ;
8965 bool temp7 = False ;
8966 PyObject * obj0 = 0 ;
8967 PyObject * obj1 = 0 ;
8968 PyObject * obj3 = 0 ;
8969 PyObject * obj4 = 0 ;
8970 PyObject * obj6 = 0 ;
8971 char *kwnames[] = {
8972 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8973 };
8974
8975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:HtmlListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8977 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8978 if (obj3) {
8979 {
8980 arg4 = &temp4;
8981 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8982 }
8983 }
8984 if (obj4) {
8985 {
8986 arg5 = &temp5;
8987 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8988 }
8989 }
8990 if (obj6) {
8991 {
8992 arg7 = wxString_in_helper(obj6);
8993 if (arg7 == NULL) SWIG_fail;
8994 temp7 = True;
8995 }
8996 }
8997 {
8998 PyThreadState* __tstate = wxPyBeginAllowThreads();
8999 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9000
9001 wxPyEndAllowThreads(__tstate);
9002 if (PyErr_Occurred()) SWIG_fail;
9003 }
9004 resultobj = PyInt_FromLong((long)result);
9005 {
9006 if (temp7)
9007 delete arg7;
9008 }
9009 return resultobj;
9010 fail:
9011 {
9012 if (temp7)
9013 delete arg7;
9014 }
9015 return NULL;
9016 }
9017
9018
9019 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9020 PyObject *resultobj;
9021 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9022 PyObject * obj0 = 0 ;
9023 char *kwnames[] = {
9024 (char *) "self", NULL
9025 };
9026
9027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
9028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9029 {
9030 PyThreadState* __tstate = wxPyBeginAllowThreads();
9031 (arg1)->RefreshAll();
9032
9033 wxPyEndAllowThreads(__tstate);
9034 if (PyErr_Occurred()) SWIG_fail;
9035 }
9036 Py_INCREF(Py_None); resultobj = Py_None;
9037 return resultobj;
9038 fail:
9039 return NULL;
9040 }
9041
9042
9043 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9044 PyObject *resultobj;
9045 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9046 size_t arg2 ;
9047 PyObject * obj0 = 0 ;
9048 PyObject * obj1 = 0 ;
9049 char *kwnames[] = {
9050 (char *) "self",(char *) "count", NULL
9051 };
9052
9053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9055 arg2 = (size_t) PyInt_AsLong(obj1);
9056 if (PyErr_Occurred()) SWIG_fail;
9057 {
9058 PyThreadState* __tstate = wxPyBeginAllowThreads();
9059 (arg1)->SetItemCount(arg2);
9060
9061 wxPyEndAllowThreads(__tstate);
9062 if (PyErr_Occurred()) SWIG_fail;
9063 }
9064 Py_INCREF(Py_None); resultobj = Py_None;
9065 return resultobj;
9066 fail:
9067 return NULL;
9068 }
9069
9070
9071 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
9072 PyObject *obj;
9073 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9074 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
9075 Py_INCREF(obj);
9076 return Py_BuildValue((char *)"");
9077 }
9078 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9079 PyObject *resultobj;
9080 wxTaskBarIcon *result;
9081 char *kwnames[] = {
9082 NULL
9083 };
9084
9085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
9086 {
9087 PyThreadState* __tstate = wxPyBeginAllowThreads();
9088 result = (wxTaskBarIcon *)new wxTaskBarIcon();
9089
9090 wxPyEndAllowThreads(__tstate);
9091 if (PyErr_Occurred()) SWIG_fail;
9092 }
9093 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIcon, 1);
9094 return resultobj;
9095 fail:
9096 return NULL;
9097 }
9098
9099
9100 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9101 PyObject *resultobj;
9102 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9103 PyObject * obj0 = 0 ;
9104 char *kwnames[] = {
9105 (char *) "self", NULL
9106 };
9107
9108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
9109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9110 {
9111 PyThreadState* __tstate = wxPyBeginAllowThreads();
9112 delete arg1;
9113
9114 wxPyEndAllowThreads(__tstate);
9115 if (PyErr_Occurred()) SWIG_fail;
9116 }
9117 Py_INCREF(Py_None); resultobj = Py_None;
9118 return resultobj;
9119 fail:
9120 return NULL;
9121 }
9122
9123
9124 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
9125 PyObject *obj;
9126 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9127 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
9128 Py_INCREF(obj);
9129 return Py_BuildValue((char *)"");
9130 }
9131 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9132 PyObject *resultobj;
9133 wxEventType arg1 ;
9134 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
9135 wxTaskBarIconEvent *result;
9136 PyObject * obj1 = 0 ;
9137 char *kwnames[] = {
9138 (char *) "evtType",(char *) "tbIcon", NULL
9139 };
9140
9141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iO:new_TaskBarIconEvent",kwnames,&arg1,&obj1)) goto fail;
9142 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9143 {
9144 PyThreadState* __tstate = wxPyBeginAllowThreads();
9145 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
9146
9147 wxPyEndAllowThreads(__tstate);
9148 if (PyErr_Occurred()) SWIG_fail;
9149 }
9150 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIconEvent, 1);
9151 return resultobj;
9152 fail:
9153 return NULL;
9154 }
9155
9156
9157 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
9158 PyObject *obj;
9159 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9160 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
9161 Py_INCREF(obj);
9162 return Py_BuildValue((char *)"");
9163 }
9164 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9165 PyObject *resultobj;
9166 wxColourData *result;
9167 char *kwnames[] = {
9168 NULL
9169 };
9170
9171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
9172 {
9173 PyThreadState* __tstate = wxPyBeginAllowThreads();
9174 result = (wxColourData *)new wxColourData();
9175
9176 wxPyEndAllowThreads(__tstate);
9177 if (PyErr_Occurred()) SWIG_fail;
9178 }
9179 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 1);
9180 return resultobj;
9181 fail:
9182 return NULL;
9183 }
9184
9185
9186 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9187 PyObject *resultobj;
9188 wxColourData *arg1 = (wxColourData *) 0 ;
9189 PyObject * obj0 = 0 ;
9190 char *kwnames[] = {
9191 (char *) "self", NULL
9192 };
9193
9194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
9195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9196 {
9197 PyThreadState* __tstate = wxPyBeginAllowThreads();
9198 delete arg1;
9199
9200 wxPyEndAllowThreads(__tstate);
9201 if (PyErr_Occurred()) SWIG_fail;
9202 }
9203 Py_INCREF(Py_None); resultobj = Py_None;
9204 return resultobj;
9205 fail:
9206 return NULL;
9207 }
9208
9209
9210 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9211 PyObject *resultobj;
9212 wxColourData *arg1 = (wxColourData *) 0 ;
9213 bool result;
9214 PyObject * obj0 = 0 ;
9215 char *kwnames[] = {
9216 (char *) "self", NULL
9217 };
9218
9219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
9220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9221 {
9222 PyThreadState* __tstate = wxPyBeginAllowThreads();
9223 result = (bool)(arg1)->GetChooseFull();
9224
9225 wxPyEndAllowThreads(__tstate);
9226 if (PyErr_Occurred()) SWIG_fail;
9227 }
9228 resultobj = PyInt_FromLong((long)result);
9229 return resultobj;
9230 fail:
9231 return NULL;
9232 }
9233
9234
9235 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9236 PyObject *resultobj;
9237 wxColourData *arg1 = (wxColourData *) 0 ;
9238 wxColour result;
9239 PyObject * obj0 = 0 ;
9240 char *kwnames[] = {
9241 (char *) "self", NULL
9242 };
9243
9244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
9245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9246 {
9247 PyThreadState* __tstate = wxPyBeginAllowThreads();
9248 result = (arg1)->GetColour();
9249
9250 wxPyEndAllowThreads(__tstate);
9251 if (PyErr_Occurred()) SWIG_fail;
9252 }
9253 {
9254 wxColour * resultptr;
9255 resultptr = new wxColour((wxColour &) result);
9256 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9257 }
9258 return resultobj;
9259 fail:
9260 return NULL;
9261 }
9262
9263
9264 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9265 PyObject *resultobj;
9266 wxColourData *arg1 = (wxColourData *) 0 ;
9267 int arg2 ;
9268 wxColour result;
9269 PyObject * obj0 = 0 ;
9270 char *kwnames[] = {
9271 (char *) "self",(char *) "i", NULL
9272 };
9273
9274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_GetCustomColour",kwnames,&obj0,&arg2)) goto fail;
9275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9276 {
9277 PyThreadState* __tstate = wxPyBeginAllowThreads();
9278 result = (arg1)->GetCustomColour(arg2);
9279
9280 wxPyEndAllowThreads(__tstate);
9281 if (PyErr_Occurred()) SWIG_fail;
9282 }
9283 {
9284 wxColour * resultptr;
9285 resultptr = new wxColour((wxColour &) result);
9286 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9287 }
9288 return resultobj;
9289 fail:
9290 return NULL;
9291 }
9292
9293
9294 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9295 PyObject *resultobj;
9296 wxColourData *arg1 = (wxColourData *) 0 ;
9297 int arg2 ;
9298 PyObject * obj0 = 0 ;
9299 char *kwnames[] = {
9300 (char *) "self",(char *) "flag", NULL
9301 };
9302
9303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_SetChooseFull",kwnames,&obj0,&arg2)) goto fail;
9304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9305 {
9306 PyThreadState* __tstate = wxPyBeginAllowThreads();
9307 (arg1)->SetChooseFull(arg2);
9308
9309 wxPyEndAllowThreads(__tstate);
9310 if (PyErr_Occurred()) SWIG_fail;
9311 }
9312 Py_INCREF(Py_None); resultobj = Py_None;
9313 return resultobj;
9314 fail:
9315 return NULL;
9316 }
9317
9318
9319 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9320 PyObject *resultobj;
9321 wxColourData *arg1 = (wxColourData *) 0 ;
9322 wxColour *arg2 = 0 ;
9323 wxColour temp2 ;
9324 PyObject * obj0 = 0 ;
9325 PyObject * obj1 = 0 ;
9326 char *kwnames[] = {
9327 (char *) "self",(char *) "colour", NULL
9328 };
9329
9330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
9331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9332 {
9333 arg2 = &temp2;
9334 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9335 }
9336 {
9337 PyThreadState* __tstate = wxPyBeginAllowThreads();
9338 (arg1)->SetColour((wxColour const &)*arg2);
9339
9340 wxPyEndAllowThreads(__tstate);
9341 if (PyErr_Occurred()) SWIG_fail;
9342 }
9343 Py_INCREF(Py_None); resultobj = Py_None;
9344 return resultobj;
9345 fail:
9346 return NULL;
9347 }
9348
9349
9350 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9351 PyObject *resultobj;
9352 wxColourData *arg1 = (wxColourData *) 0 ;
9353 int arg2 ;
9354 wxColour *arg3 = 0 ;
9355 wxColour temp3 ;
9356 PyObject * obj0 = 0 ;
9357 PyObject * obj2 = 0 ;
9358 char *kwnames[] = {
9359 (char *) "self",(char *) "i",(char *) "colour", NULL
9360 };
9361
9362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ColourData_SetCustomColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
9363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9364 {
9365 arg3 = &temp3;
9366 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9367 }
9368 {
9369 PyThreadState* __tstate = wxPyBeginAllowThreads();
9370 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
9371
9372 wxPyEndAllowThreads(__tstate);
9373 if (PyErr_Occurred()) SWIG_fail;
9374 }
9375 Py_INCREF(Py_None); resultobj = Py_None;
9376 return resultobj;
9377 fail:
9378 return NULL;
9379 }
9380
9381
9382 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
9383 PyObject *obj;
9384 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9385 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
9386 Py_INCREF(obj);
9387 return Py_BuildValue((char *)"");
9388 }
9389 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
9390 PyObject *resultobj;
9391 wxWindow *arg1 = (wxWindow *) 0 ;
9392 wxColourData *arg2 = (wxColourData *) NULL ;
9393 wxColourDialog *result;
9394 PyObject * obj0 = 0 ;
9395 PyObject * obj1 = 0 ;
9396 char *kwnames[] = {
9397 (char *) "parent",(char *) "data", NULL
9398 };
9399
9400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
9401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9402 if (obj1) {
9403 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9404 }
9405 {
9406 PyThreadState* __tstate = wxPyBeginAllowThreads();
9407 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
9408
9409 wxPyEndAllowThreads(__tstate);
9410 if (PyErr_Occurred()) SWIG_fail;
9411 }
9412 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourDialog, 1);
9413 return resultobj;
9414 fail:
9415 return NULL;
9416 }
9417
9418
9419 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9420 PyObject *resultobj;
9421 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
9422 wxColourData *result;
9423 PyObject * obj0 = 0 ;
9424 char *kwnames[] = {
9425 (char *) "self", NULL
9426 };
9427
9428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
9429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9430 {
9431 PyThreadState* __tstate = wxPyBeginAllowThreads();
9432 {
9433 wxColourData &_result_ref = (arg1)->GetColourData();
9434 result = (wxColourData *) &_result_ref;
9435 }
9436
9437 wxPyEndAllowThreads(__tstate);
9438 if (PyErr_Occurred()) SWIG_fail;
9439 }
9440 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 0);
9441 return resultobj;
9442 fail:
9443 return NULL;
9444 }
9445
9446
9447 static PyObject *_wrap_ColourDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
9448 PyObject *resultobj;
9449 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
9450 int result;
9451 PyObject * obj0 = 0 ;
9452 char *kwnames[] = {
9453 (char *) "self", NULL
9454 };
9455
9456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_ShowModal",kwnames,&obj0)) goto fail;
9457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9458 {
9459 PyThreadState* __tstate = wxPyBeginAllowThreads();
9460 result = (int)(arg1)->ShowModal();
9461
9462 wxPyEndAllowThreads(__tstate);
9463 if (PyErr_Occurred()) SWIG_fail;
9464 }
9465 resultobj = PyInt_FromLong((long)result);
9466 return resultobj;
9467 fail:
9468 return NULL;
9469 }
9470
9471
9472 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
9473 PyObject *obj;
9474 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9475 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
9476 Py_INCREF(obj);
9477 return Py_BuildValue((char *)"");
9478 }
9479 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
9480 PyObject *resultobj;
9481 wxWindow *arg1 = (wxWindow *) 0 ;
9482 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
9483 wxString *arg2 = (wxString *) &arg2_defvalue ;
9484 wxString const &arg3_defvalue = wxPyEmptyString ;
9485 wxString *arg3 = (wxString *) &arg3_defvalue ;
9486 long arg4 = (long) 0 ;
9487 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9488 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9489 wxSize const &arg6_defvalue = wxDefaultSize ;
9490 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9491 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
9492 wxString *arg7 = (wxString *) &arg7_defvalue ;
9493 wxDirDialog *result;
9494 bool temp2 = False ;
9495 bool temp3 = False ;
9496 wxPoint temp5 ;
9497 wxSize temp6 ;
9498 bool temp7 = False ;
9499 PyObject * obj0 = 0 ;
9500 PyObject * obj1 = 0 ;
9501 PyObject * obj2 = 0 ;
9502 PyObject * obj4 = 0 ;
9503 PyObject * obj5 = 0 ;
9504 PyObject * obj6 = 0 ;
9505 char *kwnames[] = {
9506 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
9507 };
9508
9509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOlOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&obj5,&obj6)) goto fail;
9510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9511 if (obj1) {
9512 {
9513 arg2 = wxString_in_helper(obj1);
9514 if (arg2 == NULL) SWIG_fail;
9515 temp2 = True;
9516 }
9517 }
9518 if (obj2) {
9519 {
9520 arg3 = wxString_in_helper(obj2);
9521 if (arg3 == NULL) SWIG_fail;
9522 temp3 = True;
9523 }
9524 }
9525 if (obj4) {
9526 {
9527 arg5 = &temp5;
9528 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9529 }
9530 }
9531 if (obj5) {
9532 {
9533 arg6 = &temp6;
9534 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9535 }
9536 }
9537 if (obj6) {
9538 {
9539 arg7 = wxString_in_helper(obj6);
9540 if (arg7 == NULL) SWIG_fail;
9541 temp7 = True;
9542 }
9543 }
9544 {
9545 PyThreadState* __tstate = wxPyBeginAllowThreads();
9546 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
9547
9548 wxPyEndAllowThreads(__tstate);
9549 if (PyErr_Occurred()) SWIG_fail;
9550 }
9551 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirDialog, 1);
9552 {
9553 if (temp2)
9554 delete arg2;
9555 }
9556 {
9557 if (temp3)
9558 delete arg3;
9559 }
9560 {
9561 if (temp7)
9562 delete arg7;
9563 }
9564 return resultobj;
9565 fail:
9566 {
9567 if (temp2)
9568 delete arg2;
9569 }
9570 {
9571 if (temp3)
9572 delete arg3;
9573 }
9574 {
9575 if (temp7)
9576 delete arg7;
9577 }
9578 return NULL;
9579 }
9580
9581
9582 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
9583 PyObject *resultobj;
9584 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9585 wxString result;
9586 PyObject * obj0 = 0 ;
9587 char *kwnames[] = {
9588 (char *) "self", NULL
9589 };
9590
9591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
9592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9593 {
9594 PyThreadState* __tstate = wxPyBeginAllowThreads();
9595 result = (arg1)->GetPath();
9596
9597 wxPyEndAllowThreads(__tstate);
9598 if (PyErr_Occurred()) SWIG_fail;
9599 }
9600 {
9601 #if wxUSE_UNICODE
9602 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9603 #else
9604 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9605 #endif
9606 }
9607 return resultobj;
9608 fail:
9609 return NULL;
9610 }
9611
9612
9613 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
9614 PyObject *resultobj;
9615 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9616 wxString result;
9617 PyObject * obj0 = 0 ;
9618 char *kwnames[] = {
9619 (char *) "self", NULL
9620 };
9621
9622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
9623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9624 {
9625 PyThreadState* __tstate = wxPyBeginAllowThreads();
9626 result = (arg1)->GetMessage();
9627
9628 wxPyEndAllowThreads(__tstate);
9629 if (PyErr_Occurred()) SWIG_fail;
9630 }
9631 {
9632 #if wxUSE_UNICODE
9633 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9634 #else
9635 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9636 #endif
9637 }
9638 return resultobj;
9639 fail:
9640 return NULL;
9641 }
9642
9643
9644 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9645 PyObject *resultobj;
9646 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9647 long result;
9648 PyObject * obj0 = 0 ;
9649 char *kwnames[] = {
9650 (char *) "self", NULL
9651 };
9652
9653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
9654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9655 {
9656 PyThreadState* __tstate = wxPyBeginAllowThreads();
9657 result = (long)(arg1)->GetStyle();
9658
9659 wxPyEndAllowThreads(__tstate);
9660 if (PyErr_Occurred()) SWIG_fail;
9661 }
9662 resultobj = PyInt_FromLong((long)result);
9663 return resultobj;
9664 fail:
9665 return NULL;
9666 }
9667
9668
9669 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
9670 PyObject *resultobj;
9671 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9672 wxString *arg2 = 0 ;
9673 bool temp2 = False ;
9674 PyObject * obj0 = 0 ;
9675 PyObject * obj1 = 0 ;
9676 char *kwnames[] = {
9677 (char *) "self",(char *) "message", NULL
9678 };
9679
9680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
9681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9682 {
9683 arg2 = wxString_in_helper(obj1);
9684 if (arg2 == NULL) SWIG_fail;
9685 temp2 = True;
9686 }
9687 {
9688 PyThreadState* __tstate = wxPyBeginAllowThreads();
9689 (arg1)->SetMessage((wxString const &)*arg2);
9690
9691 wxPyEndAllowThreads(__tstate);
9692 if (PyErr_Occurred()) SWIG_fail;
9693 }
9694 Py_INCREF(Py_None); resultobj = Py_None;
9695 {
9696 if (temp2)
9697 delete arg2;
9698 }
9699 return resultobj;
9700 fail:
9701 {
9702 if (temp2)
9703 delete arg2;
9704 }
9705 return NULL;
9706 }
9707
9708
9709 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
9710 PyObject *resultobj;
9711 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9712 wxString *arg2 = 0 ;
9713 bool temp2 = False ;
9714 PyObject * obj0 = 0 ;
9715 PyObject * obj1 = 0 ;
9716 char *kwnames[] = {
9717 (char *) "self",(char *) "path", NULL
9718 };
9719
9720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
9721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9722 {
9723 arg2 = wxString_in_helper(obj1);
9724 if (arg2 == NULL) SWIG_fail;
9725 temp2 = True;
9726 }
9727 {
9728 PyThreadState* __tstate = wxPyBeginAllowThreads();
9729 (arg1)->SetPath((wxString const &)*arg2);
9730
9731 wxPyEndAllowThreads(__tstate);
9732 if (PyErr_Occurred()) SWIG_fail;
9733 }
9734 Py_INCREF(Py_None); resultobj = Py_None;
9735 {
9736 if (temp2)
9737 delete arg2;
9738 }
9739 return resultobj;
9740 fail:
9741 {
9742 if (temp2)
9743 delete arg2;
9744 }
9745 return NULL;
9746 }
9747
9748
9749 static PyObject *_wrap_DirDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
9750 PyObject *resultobj;
9751 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9752 int result;
9753 PyObject * obj0 = 0 ;
9754 char *kwnames[] = {
9755 (char *) "self", NULL
9756 };
9757
9758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_ShowModal",kwnames,&obj0)) goto fail;
9759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9760 {
9761 PyThreadState* __tstate = wxPyBeginAllowThreads();
9762 result = (int)(arg1)->ShowModal();
9763
9764 wxPyEndAllowThreads(__tstate);
9765 if (PyErr_Occurred()) SWIG_fail;
9766 }
9767 resultobj = PyInt_FromLong((long)result);
9768 return resultobj;
9769 fail:
9770 return NULL;
9771 }
9772
9773
9774 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
9775 PyObject *obj;
9776 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9777 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
9778 Py_INCREF(obj);
9779 return Py_BuildValue((char *)"");
9780 }
9781 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
9782 PyObject *resultobj;
9783 wxWindow *arg1 = (wxWindow *) 0 ;
9784 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
9785 wxString *arg2 = (wxString *) &arg2_defvalue ;
9786 wxString const &arg3_defvalue = wxPyEmptyString ;
9787 wxString *arg3 = (wxString *) &arg3_defvalue ;
9788 wxString const &arg4_defvalue = wxPyEmptyString ;
9789 wxString *arg4 = (wxString *) &arg4_defvalue ;
9790 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
9791 wxString *arg5 = (wxString *) &arg5_defvalue ;
9792 long arg6 = (long) 0 ;
9793 wxPoint const &arg7_defvalue = wxDefaultPosition ;
9794 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
9795 wxFileDialog *result;
9796 bool temp2 = False ;
9797 bool temp3 = False ;
9798 bool temp4 = False ;
9799 bool temp5 = False ;
9800 wxPoint temp7 ;
9801 PyObject * obj0 = 0 ;
9802 PyObject * obj1 = 0 ;
9803 PyObject * obj2 = 0 ;
9804 PyObject * obj3 = 0 ;
9805 PyObject * obj4 = 0 ;
9806 PyObject * obj6 = 0 ;
9807 char *kwnames[] = {
9808 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
9809 };
9810
9811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOlO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
9812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9813 if (obj1) {
9814 {
9815 arg2 = wxString_in_helper(obj1);
9816 if (arg2 == NULL) SWIG_fail;
9817 temp2 = True;
9818 }
9819 }
9820 if (obj2) {
9821 {
9822 arg3 = wxString_in_helper(obj2);
9823 if (arg3 == NULL) SWIG_fail;
9824 temp3 = True;
9825 }
9826 }
9827 if (obj3) {
9828 {
9829 arg4 = wxString_in_helper(obj3);
9830 if (arg4 == NULL) SWIG_fail;
9831 temp4 = True;
9832 }
9833 }
9834 if (obj4) {
9835 {
9836 arg5 = wxString_in_helper(obj4);
9837 if (arg5 == NULL) SWIG_fail;
9838 temp5 = True;
9839 }
9840 }
9841 if (obj6) {
9842 {
9843 arg7 = &temp7;
9844 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
9845 }
9846 }
9847 {
9848 PyThreadState* __tstate = wxPyBeginAllowThreads();
9849 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
9850
9851 wxPyEndAllowThreads(__tstate);
9852 if (PyErr_Occurred()) SWIG_fail;
9853 }
9854 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDialog, 1);
9855 {
9856 if (temp2)
9857 delete arg2;
9858 }
9859 {
9860 if (temp3)
9861 delete arg3;
9862 }
9863 {
9864 if (temp4)
9865 delete arg4;
9866 }
9867 {
9868 if (temp5)
9869 delete arg5;
9870 }
9871 return resultobj;
9872 fail:
9873 {
9874 if (temp2)
9875 delete arg2;
9876 }
9877 {
9878 if (temp3)
9879 delete arg3;
9880 }
9881 {
9882 if (temp4)
9883 delete arg4;
9884 }
9885 {
9886 if (temp5)
9887 delete arg5;
9888 }
9889 return NULL;
9890 }
9891
9892
9893 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
9894 PyObject *resultobj;
9895 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
9896 wxString *arg2 = 0 ;
9897 bool temp2 = False ;
9898 PyObject * obj0 = 0 ;
9899 PyObject * obj1 = 0 ;
9900 char *kwnames[] = {
9901 (char *) "self",(char *) "message", NULL
9902 };
9903
9904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
9905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9906 {
9907 arg2 = wxString_in_helper(obj1);
9908 if (arg2 == NULL) SWIG_fail;
9909 temp2 = True;
9910 }
9911 {
9912 PyThreadState* __tstate = wxPyBeginAllowThreads();
9913 (arg1)->SetMessage((wxString const &)*arg2);
9914
9915 wxPyEndAllowThreads(__tstate);
9916 if (PyErr_Occurred()) SWIG_fail;
9917 }
9918 Py_INCREF(Py_None); resultobj = Py_None;
9919 {
9920 if (temp2)
9921 delete arg2;
9922 }
9923 return resultobj;
9924 fail:
9925 {
9926 if (temp2)
9927 delete arg2;
9928 }
9929 return NULL;
9930 }
9931
9932
9933 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
9934 PyObject *resultobj;
9935 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
9936 wxString *arg2 = 0 ;
9937 bool temp2 = False ;
9938 PyObject * obj0 = 0 ;
9939 PyObject * obj1 = 0 ;
9940 char *kwnames[] = {
9941 (char *) "self",(char *) "path", NULL
9942 };
9943
9944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
9945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9946 {
9947 arg2 = wxString_in_helper(obj1);
9948 if (arg2 == NULL) SWIG_fail;
9949 temp2 = True;
9950 }
9951 {
9952 PyThreadState* __tstate = wxPyBeginAllowThreads();
9953 (arg1)->SetPath((wxString const &)*arg2);
9954
9955 wxPyEndAllowThreads(__tstate);
9956 if (PyErr_Occurred()) SWIG_fail;
9957 }
9958 Py_INCREF(Py_None); resultobj = Py_None;
9959 {
9960 if (temp2)
9961 delete arg2;
9962 }
9963 return resultobj;
9964 fail:
9965 {
9966 if (temp2)
9967 delete arg2;
9968 }
9969 return NULL;
9970 }
9971
9972
9973 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
9974 PyObject *resultobj;
9975 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
9976 wxString *arg2 = 0 ;
9977 bool temp2 = False ;
9978 PyObject * obj0 = 0 ;
9979 PyObject * obj1 = 0 ;
9980 char *kwnames[] = {
9981 (char *) "self",(char *) "dir", NULL
9982 };
9983
9984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
9985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9986 {
9987 arg2 = wxString_in_helper(obj1);
9988 if (arg2 == NULL) SWIG_fail;
9989 temp2 = True;
9990 }
9991 {
9992 PyThreadState* __tstate = wxPyBeginAllowThreads();
9993 (arg1)->SetDirectory((wxString const &)*arg2);
9994
9995 wxPyEndAllowThreads(__tstate);
9996 if (PyErr_Occurred()) SWIG_fail;
9997 }
9998 Py_INCREF(Py_None); resultobj = Py_None;
9999 {
10000 if (temp2)
10001 delete arg2;
10002 }
10003 return resultobj;
10004 fail:
10005 {
10006 if (temp2)
10007 delete arg2;
10008 }
10009 return NULL;
10010 }
10011
10012
10013 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10014 PyObject *resultobj;
10015 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10016 wxString *arg2 = 0 ;
10017 bool temp2 = False ;
10018 PyObject * obj0 = 0 ;
10019 PyObject * obj1 = 0 ;
10020 char *kwnames[] = {
10021 (char *) "self",(char *) "name", NULL
10022 };
10023
10024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
10025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10026 {
10027 arg2 = wxString_in_helper(obj1);
10028 if (arg2 == NULL) SWIG_fail;
10029 temp2 = True;
10030 }
10031 {
10032 PyThreadState* __tstate = wxPyBeginAllowThreads();
10033 (arg1)->SetFilename((wxString const &)*arg2);
10034
10035 wxPyEndAllowThreads(__tstate);
10036 if (PyErr_Occurred()) SWIG_fail;
10037 }
10038 Py_INCREF(Py_None); resultobj = Py_None;
10039 {
10040 if (temp2)
10041 delete arg2;
10042 }
10043 return resultobj;
10044 fail:
10045 {
10046 if (temp2)
10047 delete arg2;
10048 }
10049 return NULL;
10050 }
10051
10052
10053 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10054 PyObject *resultobj;
10055 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10056 wxString *arg2 = 0 ;
10057 bool temp2 = False ;
10058 PyObject * obj0 = 0 ;
10059 PyObject * obj1 = 0 ;
10060 char *kwnames[] = {
10061 (char *) "self",(char *) "wildCard", NULL
10062 };
10063
10064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
10065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10066 {
10067 arg2 = wxString_in_helper(obj1);
10068 if (arg2 == NULL) SWIG_fail;
10069 temp2 = True;
10070 }
10071 {
10072 PyThreadState* __tstate = wxPyBeginAllowThreads();
10073 (arg1)->SetWildcard((wxString const &)*arg2);
10074
10075 wxPyEndAllowThreads(__tstate);
10076 if (PyErr_Occurred()) SWIG_fail;
10077 }
10078 Py_INCREF(Py_None); resultobj = Py_None;
10079 {
10080 if (temp2)
10081 delete arg2;
10082 }
10083 return resultobj;
10084 fail:
10085 {
10086 if (temp2)
10087 delete arg2;
10088 }
10089 return NULL;
10090 }
10091
10092
10093 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10094 PyObject *resultobj;
10095 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10096 long arg2 ;
10097 PyObject * obj0 = 0 ;
10098 char *kwnames[] = {
10099 (char *) "self",(char *) "style", NULL
10100 };
10101
10102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:FileDialog_SetStyle",kwnames,&obj0,&arg2)) goto fail;
10103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10104 {
10105 PyThreadState* __tstate = wxPyBeginAllowThreads();
10106 (arg1)->SetStyle(arg2);
10107
10108 wxPyEndAllowThreads(__tstate);
10109 if (PyErr_Occurred()) SWIG_fail;
10110 }
10111 Py_INCREF(Py_None); resultobj = Py_None;
10112 return resultobj;
10113 fail:
10114 return NULL;
10115 }
10116
10117
10118 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10119 PyObject *resultobj;
10120 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10121 int arg2 ;
10122 PyObject * obj0 = 0 ;
10123 char *kwnames[] = {
10124 (char *) "self",(char *) "filterIndex", NULL
10125 };
10126
10127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileDialog_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
10128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10129 {
10130 PyThreadState* __tstate = wxPyBeginAllowThreads();
10131 (arg1)->SetFilterIndex(arg2);
10132
10133 wxPyEndAllowThreads(__tstate);
10134 if (PyErr_Occurred()) SWIG_fail;
10135 }
10136 Py_INCREF(Py_None); resultobj = Py_None;
10137 return resultobj;
10138 fail:
10139 return NULL;
10140 }
10141
10142
10143 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10144 PyObject *resultobj;
10145 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10146 wxString result;
10147 PyObject * obj0 = 0 ;
10148 char *kwnames[] = {
10149 (char *) "self", NULL
10150 };
10151
10152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
10153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10154 {
10155 PyThreadState* __tstate = wxPyBeginAllowThreads();
10156 result = ((wxFileDialog const *)arg1)->GetMessage();
10157
10158 wxPyEndAllowThreads(__tstate);
10159 if (PyErr_Occurred()) SWIG_fail;
10160 }
10161 {
10162 #if wxUSE_UNICODE
10163 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10164 #else
10165 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10166 #endif
10167 }
10168 return resultobj;
10169 fail:
10170 return NULL;
10171 }
10172
10173
10174 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10175 PyObject *resultobj;
10176 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10177 wxString result;
10178 PyObject * obj0 = 0 ;
10179 char *kwnames[] = {
10180 (char *) "self", NULL
10181 };
10182
10183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
10184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10185 {
10186 PyThreadState* __tstate = wxPyBeginAllowThreads();
10187 result = ((wxFileDialog const *)arg1)->GetPath();
10188
10189 wxPyEndAllowThreads(__tstate);
10190 if (PyErr_Occurred()) SWIG_fail;
10191 }
10192 {
10193 #if wxUSE_UNICODE
10194 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10195 #else
10196 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10197 #endif
10198 }
10199 return resultobj;
10200 fail:
10201 return NULL;
10202 }
10203
10204
10205 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10206 PyObject *resultobj;
10207 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10208 wxString result;
10209 PyObject * obj0 = 0 ;
10210 char *kwnames[] = {
10211 (char *) "self", NULL
10212 };
10213
10214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
10215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10216 {
10217 PyThreadState* __tstate = wxPyBeginAllowThreads();
10218 result = ((wxFileDialog const *)arg1)->GetDirectory();
10219
10220 wxPyEndAllowThreads(__tstate);
10221 if (PyErr_Occurred()) SWIG_fail;
10222 }
10223 {
10224 #if wxUSE_UNICODE
10225 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10226 #else
10227 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10228 #endif
10229 }
10230 return resultobj;
10231 fail:
10232 return NULL;
10233 }
10234
10235
10236 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10237 PyObject *resultobj;
10238 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10239 wxString result;
10240 PyObject * obj0 = 0 ;
10241 char *kwnames[] = {
10242 (char *) "self", NULL
10243 };
10244
10245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
10246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10247 {
10248 PyThreadState* __tstate = wxPyBeginAllowThreads();
10249 result = ((wxFileDialog const *)arg1)->GetFilename();
10250
10251 wxPyEndAllowThreads(__tstate);
10252 if (PyErr_Occurred()) SWIG_fail;
10253 }
10254 {
10255 #if wxUSE_UNICODE
10256 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10257 #else
10258 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10259 #endif
10260 }
10261 return resultobj;
10262 fail:
10263 return NULL;
10264 }
10265
10266
10267 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10268 PyObject *resultobj;
10269 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10270 wxString result;
10271 PyObject * obj0 = 0 ;
10272 char *kwnames[] = {
10273 (char *) "self", NULL
10274 };
10275
10276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
10277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10278 {
10279 PyThreadState* __tstate = wxPyBeginAllowThreads();
10280 result = ((wxFileDialog const *)arg1)->GetWildcard();
10281
10282 wxPyEndAllowThreads(__tstate);
10283 if (PyErr_Occurred()) SWIG_fail;
10284 }
10285 {
10286 #if wxUSE_UNICODE
10287 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10288 #else
10289 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10290 #endif
10291 }
10292 return resultobj;
10293 fail:
10294 return NULL;
10295 }
10296
10297
10298 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10299 PyObject *resultobj;
10300 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10301 long result;
10302 PyObject * obj0 = 0 ;
10303 char *kwnames[] = {
10304 (char *) "self", NULL
10305 };
10306
10307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
10308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10309 {
10310 PyThreadState* __tstate = wxPyBeginAllowThreads();
10311 result = (long)((wxFileDialog const *)arg1)->GetStyle();
10312
10313 wxPyEndAllowThreads(__tstate);
10314 if (PyErr_Occurred()) SWIG_fail;
10315 }
10316 resultobj = PyInt_FromLong((long)result);
10317 return resultobj;
10318 fail:
10319 return NULL;
10320 }
10321
10322
10323 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10324 PyObject *resultobj;
10325 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10326 int result;
10327 PyObject * obj0 = 0 ;
10328 char *kwnames[] = {
10329 (char *) "self", NULL
10330 };
10331
10332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
10333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10334 {
10335 PyThreadState* __tstate = wxPyBeginAllowThreads();
10336 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
10337
10338 wxPyEndAllowThreads(__tstate);
10339 if (PyErr_Occurred()) SWIG_fail;
10340 }
10341 resultobj = PyInt_FromLong((long)result);
10342 return resultobj;
10343 fail:
10344 return NULL;
10345 }
10346
10347
10348 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
10349 PyObject *resultobj;
10350 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10351 PyObject *result;
10352 PyObject * obj0 = 0 ;
10353 char *kwnames[] = {
10354 (char *) "self", NULL
10355 };
10356
10357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
10358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10359 {
10360 PyThreadState* __tstate = wxPyBeginAllowThreads();
10361 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
10362
10363 wxPyEndAllowThreads(__tstate);
10364 if (PyErr_Occurred()) SWIG_fail;
10365 }
10366 resultobj = result;
10367 return resultobj;
10368 fail:
10369 return NULL;
10370 }
10371
10372
10373 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
10374 PyObject *resultobj;
10375 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10376 PyObject *result;
10377 PyObject * obj0 = 0 ;
10378 char *kwnames[] = {
10379 (char *) "self", NULL
10380 };
10381
10382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
10383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10384 {
10385 PyThreadState* __tstate = wxPyBeginAllowThreads();
10386 result = (PyObject *)wxFileDialog_GetPaths(arg1);
10387
10388 wxPyEndAllowThreads(__tstate);
10389 if (PyErr_Occurred()) SWIG_fail;
10390 }
10391 resultobj = result;
10392 return resultobj;
10393 fail:
10394 return NULL;
10395 }
10396
10397
10398 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
10399 PyObject *obj;
10400 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10401 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
10402 Py_INCREF(obj);
10403 return Py_BuildValue((char *)"");
10404 }
10405 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10406 PyObject *resultobj;
10407 wxWindow *arg1 = (wxWindow *) 0 ;
10408 wxString *arg2 = 0 ;
10409 wxString *arg3 = 0 ;
10410 int arg4 ;
10411 wxString *arg5 = (wxString *) 0 ;
10412 long arg6 = (long) wxCHOICEDLG_STYLE ;
10413 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10414 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10415 wxMultiChoiceDialog *result;
10416 bool temp2 = False ;
10417 bool temp3 = False ;
10418 wxPoint temp7 ;
10419 PyObject * obj0 = 0 ;
10420 PyObject * obj1 = 0 ;
10421 PyObject * obj2 = 0 ;
10422 PyObject * obj4 = 0 ;
10423 PyObject * obj6 = 0 ;
10424 char *kwnames[] = {
10425 (char *) "parent",(char *) "message",(char *) "caption",(char *) "LCOUNT",(char *) "choices",(char *) "style",(char *) "pos", NULL
10426 };
10427
10428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiO|lO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&arg6,&obj6)) goto fail;
10429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10430 {
10431 arg2 = wxString_in_helper(obj1);
10432 if (arg2 == NULL) SWIG_fail;
10433 temp2 = True;
10434 }
10435 {
10436 arg3 = wxString_in_helper(obj2);
10437 if (arg3 == NULL) SWIG_fail;
10438 temp3 = True;
10439 }
10440 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10441 if (obj6) {
10442 {
10443 arg7 = &temp7;
10444 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10445 }
10446 }
10447 {
10448 PyThreadState* __tstate = wxPyBeginAllowThreads();
10449 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
10450
10451 wxPyEndAllowThreads(__tstate);
10452 if (PyErr_Occurred()) SWIG_fail;
10453 }
10454 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMultiChoiceDialog, 1);
10455 {
10456 if (temp2)
10457 delete arg2;
10458 }
10459 {
10460 if (temp3)
10461 delete arg3;
10462 }
10463 return resultobj;
10464 fail:
10465 {
10466 if (temp2)
10467 delete arg2;
10468 }
10469 {
10470 if (temp3)
10471 delete arg3;
10472 }
10473 return NULL;
10474 }
10475
10476
10477 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
10478 PyObject *resultobj;
10479 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
10480 wxArrayInt *arg2 = 0 ;
10481 PyObject * obj0 = 0 ;
10482 PyObject * obj1 = 0 ;
10483 char *kwnames[] = {
10484 (char *) "self",(char *) "selections", NULL
10485 };
10486
10487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
10488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10489 {
10490 if (! PySequence_Check(obj1)) {
10491 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10492 SWIG_fail;
10493 }
10494 arg2 = new wxArrayInt;
10495 int i, len=PySequence_Length(obj1);
10496 for (i=0; i<len; i++) {
10497 PyObject* item = PySequence_GetItem(obj1, i);
10498 PyObject* number = PyNumber_Int(item);
10499 arg2->Add(PyInt_AS_LONG(number));
10500 Py_DECREF(item);
10501 Py_DECREF(number);
10502 }
10503 }
10504 {
10505 PyThreadState* __tstate = wxPyBeginAllowThreads();
10506 (arg1)->SetSelections((wxArrayInt const &)*arg2);
10507
10508 wxPyEndAllowThreads(__tstate);
10509 if (PyErr_Occurred()) SWIG_fail;
10510 }
10511 Py_INCREF(Py_None); resultobj = Py_None;
10512 {
10513 if (arg2) delete arg2;
10514 }
10515 return resultobj;
10516 fail:
10517 {
10518 if (arg2) delete arg2;
10519 }
10520 return NULL;
10521 }
10522
10523
10524 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
10525 PyObject *resultobj;
10526 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
10527 PyObject *result;
10528 PyObject * obj0 = 0 ;
10529 char *kwnames[] = {
10530 (char *) "self", NULL
10531 };
10532
10533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
10534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10535 {
10536 PyThreadState* __tstate = wxPyBeginAllowThreads();
10537 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
10538
10539 wxPyEndAllowThreads(__tstate);
10540 if (PyErr_Occurred()) SWIG_fail;
10541 }
10542 resultobj = result;
10543 return resultobj;
10544 fail:
10545 return NULL;
10546 }
10547
10548
10549 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
10550 PyObject *obj;
10551 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10552 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
10553 Py_INCREF(obj);
10554 return Py_BuildValue((char *)"");
10555 }
10556 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10557 PyObject *resultobj;
10558 wxWindow *arg1 = (wxWindow *) 0 ;
10559 wxString *arg2 = 0 ;
10560 wxString *arg3 = 0 ;
10561 int arg4 ;
10562 wxString *arg5 = (wxString *) 0 ;
10563 long arg6 = (long) wxCHOICEDLG_STYLE ;
10564 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10565 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10566 wxSingleChoiceDialog *result;
10567 bool temp2 = False ;
10568 bool temp3 = False ;
10569 wxPoint temp6 ;
10570 PyObject * obj0 = 0 ;
10571 PyObject * obj1 = 0 ;
10572 PyObject * obj2 = 0 ;
10573 PyObject * obj3 = 0 ;
10574 PyObject * obj5 = 0 ;
10575 char *kwnames[] = {
10576 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
10577 };
10578
10579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|lO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&obj5)) goto fail;
10580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10581 {
10582 arg2 = wxString_in_helper(obj1);
10583 if (arg2 == NULL) SWIG_fail;
10584 temp2 = True;
10585 }
10586 {
10587 arg3 = wxString_in_helper(obj2);
10588 if (arg3 == NULL) SWIG_fail;
10589 temp3 = True;
10590 }
10591 {
10592 arg4 = PyList_Size(obj3);
10593 arg5 = wxString_LIST_helper(obj3);
10594 if (arg5 == NULL) SWIG_fail;
10595 }
10596 if (obj5) {
10597 {
10598 arg7 = &temp6;
10599 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
10600 }
10601 }
10602 {
10603 PyThreadState* __tstate = wxPyBeginAllowThreads();
10604 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
10605
10606 wxPyEndAllowThreads(__tstate);
10607 if (PyErr_Occurred()) SWIG_fail;
10608 }
10609 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleChoiceDialog, 1);
10610 {
10611 if (temp2)
10612 delete arg2;
10613 }
10614 {
10615 if (temp3)
10616 delete arg3;
10617 }
10618 {
10619 if (arg5) delete [] arg5;
10620 }
10621 return resultobj;
10622 fail:
10623 {
10624 if (temp2)
10625 delete arg2;
10626 }
10627 {
10628 if (temp3)
10629 delete arg3;
10630 }
10631 {
10632 if (arg5) delete [] arg5;
10633 }
10634 return NULL;
10635 }
10636
10637
10638 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10639 PyObject *resultobj;
10640 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
10641 int result;
10642 PyObject * obj0 = 0 ;
10643 char *kwnames[] = {
10644 (char *) "self", NULL
10645 };
10646
10647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
10648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10649 {
10650 PyThreadState* __tstate = wxPyBeginAllowThreads();
10651 result = (int)(arg1)->GetSelection();
10652
10653 wxPyEndAllowThreads(__tstate);
10654 if (PyErr_Occurred()) SWIG_fail;
10655 }
10656 resultobj = PyInt_FromLong((long)result);
10657 return resultobj;
10658 fail:
10659 return NULL;
10660 }
10661
10662
10663 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10664 PyObject *resultobj;
10665 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
10666 wxString result;
10667 PyObject * obj0 = 0 ;
10668 char *kwnames[] = {
10669 (char *) "self", NULL
10670 };
10671
10672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
10673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10674 {
10675 PyThreadState* __tstate = wxPyBeginAllowThreads();
10676 result = (arg1)->GetStringSelection();
10677
10678 wxPyEndAllowThreads(__tstate);
10679 if (PyErr_Occurred()) SWIG_fail;
10680 }
10681 {
10682 #if wxUSE_UNICODE
10683 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10684 #else
10685 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10686 #endif
10687 }
10688 return resultobj;
10689 fail:
10690 return NULL;
10691 }
10692
10693
10694 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10695 PyObject *resultobj;
10696 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
10697 int arg2 ;
10698 PyObject * obj0 = 0 ;
10699 char *kwnames[] = {
10700 (char *) "self",(char *) "sel", NULL
10701 };
10702
10703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SingleChoiceDialog_SetSelection",kwnames,&obj0,&arg2)) goto fail;
10704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10705 {
10706 PyThreadState* __tstate = wxPyBeginAllowThreads();
10707 (arg1)->SetSelection(arg2);
10708
10709 wxPyEndAllowThreads(__tstate);
10710 if (PyErr_Occurred()) SWIG_fail;
10711 }
10712 Py_INCREF(Py_None); resultobj = Py_None;
10713 return resultobj;
10714 fail:
10715 return NULL;
10716 }
10717
10718
10719 static PyObject *_wrap_SingleChoiceDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
10720 PyObject *resultobj;
10721 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
10722 int result;
10723 PyObject * obj0 = 0 ;
10724 char *kwnames[] = {
10725 (char *) "self", NULL
10726 };
10727
10728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_ShowModal",kwnames,&obj0)) goto fail;
10729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10730 {
10731 PyThreadState* __tstate = wxPyBeginAllowThreads();
10732 result = (int)(arg1)->ShowModal();
10733
10734 wxPyEndAllowThreads(__tstate);
10735 if (PyErr_Occurred()) SWIG_fail;
10736 }
10737 resultobj = PyInt_FromLong((long)result);
10738 return resultobj;
10739 fail:
10740 return NULL;
10741 }
10742
10743
10744 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
10745 PyObject *obj;
10746 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10747 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
10748 Py_INCREF(obj);
10749 return Py_BuildValue((char *)"");
10750 }
10751 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10752 PyObject *resultobj;
10753 wxWindow *arg1 = (wxWindow *) 0 ;
10754 wxString *arg2 = 0 ;
10755 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
10756 wxString *arg3 = (wxString *) &arg3_defvalue ;
10757 wxString const &arg4_defvalue = wxPyEmptyString ;
10758 wxString *arg4 = (wxString *) &arg4_defvalue ;
10759 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
10760 wxPoint const &arg6_defvalue = wxDefaultPosition ;
10761 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
10762 wxTextEntryDialog *result;
10763 bool temp2 = False ;
10764 bool temp3 = False ;
10765 bool temp4 = False ;
10766 wxPoint temp6 ;
10767 PyObject * obj0 = 0 ;
10768 PyObject * obj1 = 0 ;
10769 PyObject * obj2 = 0 ;
10770 PyObject * obj3 = 0 ;
10771 PyObject * obj5 = 0 ;
10772 char *kwnames[] = {
10773 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
10774 };
10775
10776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
10777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10778 {
10779 arg2 = wxString_in_helper(obj1);
10780 if (arg2 == NULL) SWIG_fail;
10781 temp2 = True;
10782 }
10783 if (obj2) {
10784 {
10785 arg3 = wxString_in_helper(obj2);
10786 if (arg3 == NULL) SWIG_fail;
10787 temp3 = True;
10788 }
10789 }
10790 if (obj3) {
10791 {
10792 arg4 = wxString_in_helper(obj3);
10793 if (arg4 == NULL) SWIG_fail;
10794 temp4 = True;
10795 }
10796 }
10797 if (obj5) {
10798 {
10799 arg6 = &temp6;
10800 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
10801 }
10802 }
10803 {
10804 PyThreadState* __tstate = wxPyBeginAllowThreads();
10805 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
10806
10807 wxPyEndAllowThreads(__tstate);
10808 if (PyErr_Occurred()) SWIG_fail;
10809 }
10810 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextEntryDialog, 1);
10811 {
10812 if (temp2)
10813 delete arg2;
10814 }
10815 {
10816 if (temp3)
10817 delete arg3;
10818 }
10819 {
10820 if (temp4)
10821 delete arg4;
10822 }
10823 return resultobj;
10824 fail:
10825 {
10826 if (temp2)
10827 delete arg2;
10828 }
10829 {
10830 if (temp3)
10831 delete arg3;
10832 }
10833 {
10834 if (temp4)
10835 delete arg4;
10836 }
10837 return NULL;
10838 }
10839
10840
10841 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10842 PyObject *resultobj;
10843 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
10844 wxString result;
10845 PyObject * obj0 = 0 ;
10846 char *kwnames[] = {
10847 (char *) "self", NULL
10848 };
10849
10850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
10851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10852 {
10853 PyThreadState* __tstate = wxPyBeginAllowThreads();
10854 result = (arg1)->GetValue();
10855
10856 wxPyEndAllowThreads(__tstate);
10857 if (PyErr_Occurred()) SWIG_fail;
10858 }
10859 {
10860 #if wxUSE_UNICODE
10861 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10862 #else
10863 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10864 #endif
10865 }
10866 return resultobj;
10867 fail:
10868 return NULL;
10869 }
10870
10871
10872 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10873 PyObject *resultobj;
10874 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
10875 wxString *arg2 = 0 ;
10876 bool temp2 = False ;
10877 PyObject * obj0 = 0 ;
10878 PyObject * obj1 = 0 ;
10879 char *kwnames[] = {
10880 (char *) "self",(char *) "value", NULL
10881 };
10882
10883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
10884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10885 {
10886 arg2 = wxString_in_helper(obj1);
10887 if (arg2 == NULL) SWIG_fail;
10888 temp2 = True;
10889 }
10890 {
10891 PyThreadState* __tstate = wxPyBeginAllowThreads();
10892 (arg1)->SetValue((wxString const &)*arg2);
10893
10894 wxPyEndAllowThreads(__tstate);
10895 if (PyErr_Occurred()) SWIG_fail;
10896 }
10897 Py_INCREF(Py_None); resultobj = Py_None;
10898 {
10899 if (temp2)
10900 delete arg2;
10901 }
10902 return resultobj;
10903 fail:
10904 {
10905 if (temp2)
10906 delete arg2;
10907 }
10908 return NULL;
10909 }
10910
10911
10912 static PyObject *_wrap_TextEntryDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
10913 PyObject *resultobj;
10914 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
10915 int result;
10916 PyObject * obj0 = 0 ;
10917 char *kwnames[] = {
10918 (char *) "self", NULL
10919 };
10920
10921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_ShowModal",kwnames,&obj0)) goto fail;
10922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10923 {
10924 PyThreadState* __tstate = wxPyBeginAllowThreads();
10925 result = (int)(arg1)->ShowModal();
10926
10927 wxPyEndAllowThreads(__tstate);
10928 if (PyErr_Occurred()) SWIG_fail;
10929 }
10930 resultobj = PyInt_FromLong((long)result);
10931 return resultobj;
10932 fail:
10933 return NULL;
10934 }
10935
10936
10937 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
10938 PyObject *obj;
10939 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10940 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
10941 Py_INCREF(obj);
10942 return Py_BuildValue((char *)"");
10943 }
10944 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
10945 PyObject *resultobj;
10946 wxFontData *result;
10947 char *kwnames[] = {
10948 NULL
10949 };
10950
10951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
10952 {
10953 PyThreadState* __tstate = wxPyBeginAllowThreads();
10954 result = (wxFontData *)new wxFontData();
10955
10956 wxPyEndAllowThreads(__tstate);
10957 if (PyErr_Occurred()) SWIG_fail;
10958 }
10959 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 1);
10960 return resultobj;
10961 fail:
10962 return NULL;
10963 }
10964
10965
10966 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
10967 PyObject *resultobj;
10968 wxFontData *arg1 = (wxFontData *) 0 ;
10969 PyObject * obj0 = 0 ;
10970 char *kwnames[] = {
10971 (char *) "self", NULL
10972 };
10973
10974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
10975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10976 {
10977 PyThreadState* __tstate = wxPyBeginAllowThreads();
10978 delete arg1;
10979
10980 wxPyEndAllowThreads(__tstate);
10981 if (PyErr_Occurred()) SWIG_fail;
10982 }
10983 Py_INCREF(Py_None); resultobj = Py_None;
10984 return resultobj;
10985 fail:
10986 return NULL;
10987 }
10988
10989
10990 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
10991 PyObject *resultobj;
10992 wxFontData *arg1 = (wxFontData *) 0 ;
10993 bool arg2 ;
10994 PyObject * obj0 = 0 ;
10995 PyObject * obj1 = 0 ;
10996 char *kwnames[] = {
10997 (char *) "self",(char *) "enable", NULL
10998 };
10999
11000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
11001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11002 arg2 = PyInt_AsLong(obj1) ? true : false;
11003 if (PyErr_Occurred()) SWIG_fail;
11004 {
11005 PyThreadState* __tstate = wxPyBeginAllowThreads();
11006 (arg1)->EnableEffects(arg2);
11007
11008 wxPyEndAllowThreads(__tstate);
11009 if (PyErr_Occurred()) SWIG_fail;
11010 }
11011 Py_INCREF(Py_None); resultobj = Py_None;
11012 return resultobj;
11013 fail:
11014 return NULL;
11015 }
11016
11017
11018 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11019 PyObject *resultobj;
11020 wxFontData *arg1 = (wxFontData *) 0 ;
11021 bool result;
11022 PyObject * obj0 = 0 ;
11023 char *kwnames[] = {
11024 (char *) "self", NULL
11025 };
11026
11027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
11028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11029 {
11030 PyThreadState* __tstate = wxPyBeginAllowThreads();
11031 result = (bool)(arg1)->GetAllowSymbols();
11032
11033 wxPyEndAllowThreads(__tstate);
11034 if (PyErr_Occurred()) SWIG_fail;
11035 }
11036 resultobj = PyInt_FromLong((long)result);
11037 return resultobj;
11038 fail:
11039 return NULL;
11040 }
11041
11042
11043 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11044 PyObject *resultobj;
11045 wxFontData *arg1 = (wxFontData *) 0 ;
11046 wxColour result;
11047 PyObject * obj0 = 0 ;
11048 char *kwnames[] = {
11049 (char *) "self", NULL
11050 };
11051
11052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
11053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11054 {
11055 PyThreadState* __tstate = wxPyBeginAllowThreads();
11056 result = (arg1)->GetColour();
11057
11058 wxPyEndAllowThreads(__tstate);
11059 if (PyErr_Occurred()) SWIG_fail;
11060 }
11061 {
11062 wxColour * resultptr;
11063 resultptr = new wxColour((wxColour &) result);
11064 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
11065 }
11066 return resultobj;
11067 fail:
11068 return NULL;
11069 }
11070
11071
11072 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11073 PyObject *resultobj;
11074 wxFontData *arg1 = (wxFontData *) 0 ;
11075 wxFont result;
11076 PyObject * obj0 = 0 ;
11077 char *kwnames[] = {
11078 (char *) "self", NULL
11079 };
11080
11081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
11082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11083 {
11084 PyThreadState* __tstate = wxPyBeginAllowThreads();
11085 result = (arg1)->GetChosenFont();
11086
11087 wxPyEndAllowThreads(__tstate);
11088 if (PyErr_Occurred()) SWIG_fail;
11089 }
11090 {
11091 wxFont * resultptr;
11092 resultptr = new wxFont((wxFont &) result);
11093 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11094 }
11095 return resultobj;
11096 fail:
11097 return NULL;
11098 }
11099
11100
11101 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11102 PyObject *resultobj;
11103 wxFontData *arg1 = (wxFontData *) 0 ;
11104 bool result;
11105 PyObject * obj0 = 0 ;
11106 char *kwnames[] = {
11107 (char *) "self", NULL
11108 };
11109
11110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
11111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11112 {
11113 PyThreadState* __tstate = wxPyBeginAllowThreads();
11114 result = (bool)(arg1)->GetEnableEffects();
11115
11116 wxPyEndAllowThreads(__tstate);
11117 if (PyErr_Occurred()) SWIG_fail;
11118 }
11119 resultobj = PyInt_FromLong((long)result);
11120 return resultobj;
11121 fail:
11122 return NULL;
11123 }
11124
11125
11126 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11127 PyObject *resultobj;
11128 wxFontData *arg1 = (wxFontData *) 0 ;
11129 wxFont result;
11130 PyObject * obj0 = 0 ;
11131 char *kwnames[] = {
11132 (char *) "self", NULL
11133 };
11134
11135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
11136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11137 {
11138 PyThreadState* __tstate = wxPyBeginAllowThreads();
11139 result = (arg1)->GetInitialFont();
11140
11141 wxPyEndAllowThreads(__tstate);
11142 if (PyErr_Occurred()) SWIG_fail;
11143 }
11144 {
11145 wxFont * resultptr;
11146 resultptr = new wxFont((wxFont &) result);
11147 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11148 }
11149 return resultobj;
11150 fail:
11151 return NULL;
11152 }
11153
11154
11155 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11156 PyObject *resultobj;
11157 wxFontData *arg1 = (wxFontData *) 0 ;
11158 bool result;
11159 PyObject * obj0 = 0 ;
11160 char *kwnames[] = {
11161 (char *) "self", NULL
11162 };
11163
11164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
11165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11166 {
11167 PyThreadState* __tstate = wxPyBeginAllowThreads();
11168 result = (bool)(arg1)->GetShowHelp();
11169
11170 wxPyEndAllowThreads(__tstate);
11171 if (PyErr_Occurred()) SWIG_fail;
11172 }
11173 resultobj = PyInt_FromLong((long)result);
11174 return resultobj;
11175 fail:
11176 return NULL;
11177 }
11178
11179
11180 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11181 PyObject *resultobj;
11182 wxFontData *arg1 = (wxFontData *) 0 ;
11183 bool arg2 ;
11184 PyObject * obj0 = 0 ;
11185 PyObject * obj1 = 0 ;
11186 char *kwnames[] = {
11187 (char *) "self",(char *) "allowSymbols", NULL
11188 };
11189
11190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
11191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11192 arg2 = PyInt_AsLong(obj1) ? true : false;
11193 if (PyErr_Occurred()) SWIG_fail;
11194 {
11195 PyThreadState* __tstate = wxPyBeginAllowThreads();
11196 (arg1)->SetAllowSymbols(arg2);
11197
11198 wxPyEndAllowThreads(__tstate);
11199 if (PyErr_Occurred()) SWIG_fail;
11200 }
11201 Py_INCREF(Py_None); resultobj = Py_None;
11202 return resultobj;
11203 fail:
11204 return NULL;
11205 }
11206
11207
11208 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11209 PyObject *resultobj;
11210 wxFontData *arg1 = (wxFontData *) 0 ;
11211 wxFont *arg2 = 0 ;
11212 PyObject * obj0 = 0 ;
11213 PyObject * obj1 = 0 ;
11214 char *kwnames[] = {
11215 (char *) "self",(char *) "font", NULL
11216 };
11217
11218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
11219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11220 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11221 if (arg2 == NULL) {
11222 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11223 }
11224 {
11225 PyThreadState* __tstate = wxPyBeginAllowThreads();
11226 (arg1)->SetChosenFont((wxFont const &)*arg2);
11227
11228 wxPyEndAllowThreads(__tstate);
11229 if (PyErr_Occurred()) SWIG_fail;
11230 }
11231 Py_INCREF(Py_None); resultobj = Py_None;
11232 return resultobj;
11233 fail:
11234 return NULL;
11235 }
11236
11237
11238 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11239 PyObject *resultobj;
11240 wxFontData *arg1 = (wxFontData *) 0 ;
11241 wxColour *arg2 = 0 ;
11242 wxColour temp2 ;
11243 PyObject * obj0 = 0 ;
11244 PyObject * obj1 = 0 ;
11245 char *kwnames[] = {
11246 (char *) "self",(char *) "colour", NULL
11247 };
11248
11249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11251 {
11252 arg2 = &temp2;
11253 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11254 }
11255 {
11256 PyThreadState* __tstate = wxPyBeginAllowThreads();
11257 (arg1)->SetColour((wxColour const &)*arg2);
11258
11259 wxPyEndAllowThreads(__tstate);
11260 if (PyErr_Occurred()) SWIG_fail;
11261 }
11262 Py_INCREF(Py_None); resultobj = Py_None;
11263 return resultobj;
11264 fail:
11265 return NULL;
11266 }
11267
11268
11269 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11270 PyObject *resultobj;
11271 wxFontData *arg1 = (wxFontData *) 0 ;
11272 wxFont *arg2 = 0 ;
11273 PyObject * obj0 = 0 ;
11274 PyObject * obj1 = 0 ;
11275 char *kwnames[] = {
11276 (char *) "self",(char *) "font", NULL
11277 };
11278
11279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
11280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11281 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11282 if (arg2 == NULL) {
11283 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11284 }
11285 {
11286 PyThreadState* __tstate = wxPyBeginAllowThreads();
11287 (arg1)->SetInitialFont((wxFont const &)*arg2);
11288
11289 wxPyEndAllowThreads(__tstate);
11290 if (PyErr_Occurred()) SWIG_fail;
11291 }
11292 Py_INCREF(Py_None); resultobj = Py_None;
11293 return resultobj;
11294 fail:
11295 return NULL;
11296 }
11297
11298
11299 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11300 PyObject *resultobj;
11301 wxFontData *arg1 = (wxFontData *) 0 ;
11302 int arg2 ;
11303 int arg3 ;
11304 PyObject * obj0 = 0 ;
11305 char *kwnames[] = {
11306 (char *) "self",(char *) "min",(char *) "max", NULL
11307 };
11308
11309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:FontData_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
11310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11311 {
11312 PyThreadState* __tstate = wxPyBeginAllowThreads();
11313 (arg1)->SetRange(arg2,arg3);
11314
11315 wxPyEndAllowThreads(__tstate);
11316 if (PyErr_Occurred()) SWIG_fail;
11317 }
11318 Py_INCREF(Py_None); resultobj = Py_None;
11319 return resultobj;
11320 fail:
11321 return NULL;
11322 }
11323
11324
11325 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11326 PyObject *resultobj;
11327 wxFontData *arg1 = (wxFontData *) 0 ;
11328 bool arg2 ;
11329 PyObject * obj0 = 0 ;
11330 PyObject * obj1 = 0 ;
11331 char *kwnames[] = {
11332 (char *) "self",(char *) "showHelp", NULL
11333 };
11334
11335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
11336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11337 arg2 = PyInt_AsLong(obj1) ? true : false;
11338 if (PyErr_Occurred()) SWIG_fail;
11339 {
11340 PyThreadState* __tstate = wxPyBeginAllowThreads();
11341 (arg1)->SetShowHelp(arg2);
11342
11343 wxPyEndAllowThreads(__tstate);
11344 if (PyErr_Occurred()) SWIG_fail;
11345 }
11346 Py_INCREF(Py_None); resultobj = Py_None;
11347 return resultobj;
11348 fail:
11349 return NULL;
11350 }
11351
11352
11353 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
11354 PyObject *obj;
11355 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11356 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
11357 Py_INCREF(obj);
11358 return Py_BuildValue((char *)"");
11359 }
11360 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11361 PyObject *resultobj;
11362 wxWindow *arg1 = (wxWindow *) 0 ;
11363 wxFontData *arg2 = 0 ;
11364 wxFontDialog *result;
11365 PyObject * obj0 = 0 ;
11366 PyObject * obj1 = 0 ;
11367 char *kwnames[] = {
11368 (char *) "parent",(char *) "data", NULL
11369 };
11370
11371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
11372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11373 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11374 if (arg2 == NULL) {
11375 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11376 }
11377 {
11378 PyThreadState* __tstate = wxPyBeginAllowThreads();
11379 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
11380
11381 wxPyEndAllowThreads(__tstate);
11382 if (PyErr_Occurred()) SWIG_fail;
11383 }
11384 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontDialog, 1);
11385 return resultobj;
11386 fail:
11387 return NULL;
11388 }
11389
11390
11391 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11392 PyObject *resultobj;
11393 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
11394 wxFontData *result;
11395 PyObject * obj0 = 0 ;
11396 char *kwnames[] = {
11397 (char *) "self", NULL
11398 };
11399
11400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
11401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11402 {
11403 PyThreadState* __tstate = wxPyBeginAllowThreads();
11404 {
11405 wxFontData &_result_ref = (arg1)->GetFontData();
11406 result = (wxFontData *) &_result_ref;
11407 }
11408
11409 wxPyEndAllowThreads(__tstate);
11410 if (PyErr_Occurred()) SWIG_fail;
11411 }
11412 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 0);
11413 return resultobj;
11414 fail:
11415 return NULL;
11416 }
11417
11418
11419 static PyObject *_wrap_FontDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11420 PyObject *resultobj;
11421 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
11422 int result;
11423 PyObject * obj0 = 0 ;
11424 char *kwnames[] = {
11425 (char *) "self", NULL
11426 };
11427
11428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_ShowModal",kwnames,&obj0)) goto fail;
11429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11430 {
11431 PyThreadState* __tstate = wxPyBeginAllowThreads();
11432 result = (int)(arg1)->ShowModal();
11433
11434 wxPyEndAllowThreads(__tstate);
11435 if (PyErr_Occurred()) SWIG_fail;
11436 }
11437 resultobj = PyInt_FromLong((long)result);
11438 return resultobj;
11439 fail:
11440 return NULL;
11441 }
11442
11443
11444 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
11445 PyObject *obj;
11446 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11447 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
11448 Py_INCREF(obj);
11449 return Py_BuildValue((char *)"");
11450 }
11451 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11452 PyObject *resultobj;
11453 wxWindow *arg1 = (wxWindow *) 0 ;
11454 wxString *arg2 = 0 ;
11455 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
11456 wxString *arg3 = (wxString *) &arg3_defvalue ;
11457 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
11458 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11459 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11460 wxMessageDialog *result;
11461 bool temp2 = False ;
11462 bool temp3 = False ;
11463 wxPoint temp5 ;
11464 PyObject * obj0 = 0 ;
11465 PyObject * obj1 = 0 ;
11466 PyObject * obj2 = 0 ;
11467 PyObject * obj4 = 0 ;
11468 char *kwnames[] = {
11469 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
11470 };
11471
11472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OlO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4)) goto fail;
11473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11474 {
11475 arg2 = wxString_in_helper(obj1);
11476 if (arg2 == NULL) SWIG_fail;
11477 temp2 = True;
11478 }
11479 if (obj2) {
11480 {
11481 arg3 = wxString_in_helper(obj2);
11482 if (arg3 == NULL) SWIG_fail;
11483 temp3 = True;
11484 }
11485 }
11486 if (obj4) {
11487 {
11488 arg5 = &temp5;
11489 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11490 }
11491 }
11492 {
11493 PyThreadState* __tstate = wxPyBeginAllowThreads();
11494 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
11495
11496 wxPyEndAllowThreads(__tstate);
11497 if (PyErr_Occurred()) SWIG_fail;
11498 }
11499 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMessageDialog, 1);
11500 {
11501 if (temp2)
11502 delete arg2;
11503 }
11504 {
11505 if (temp3)
11506 delete arg3;
11507 }
11508 return resultobj;
11509 fail:
11510 {
11511 if (temp2)
11512 delete arg2;
11513 }
11514 {
11515 if (temp3)
11516 delete arg3;
11517 }
11518 return NULL;
11519 }
11520
11521
11522 static PyObject *_wrap_MessageDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11523 PyObject *resultobj;
11524 wxMessageDialog *arg1 = (wxMessageDialog *) 0 ;
11525 int result;
11526 PyObject * obj0 = 0 ;
11527 char *kwnames[] = {
11528 (char *) "self", NULL
11529 };
11530
11531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MessageDialog_ShowModal",kwnames,&obj0)) goto fail;
11532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMessageDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11533 {
11534 PyThreadState* __tstate = wxPyBeginAllowThreads();
11535 result = (int)(arg1)->ShowModal();
11536
11537 wxPyEndAllowThreads(__tstate);
11538 if (PyErr_Occurred()) SWIG_fail;
11539 }
11540 resultobj = PyInt_FromLong((long)result);
11541 return resultobj;
11542 fail:
11543 return NULL;
11544 }
11545
11546
11547 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
11548 PyObject *obj;
11549 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11550 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
11551 Py_INCREF(obj);
11552 return Py_BuildValue((char *)"");
11553 }
11554 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11555 PyObject *resultobj;
11556 wxString *arg1 = 0 ;
11557 wxString *arg2 = 0 ;
11558 int arg3 = (int) 100 ;
11559 wxWindow *arg4 = (wxWindow *) NULL ;
11560 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
11561 wxProgressDialog *result;
11562 bool temp1 = False ;
11563 bool temp2 = False ;
11564 PyObject * obj0 = 0 ;
11565 PyObject * obj1 = 0 ;
11566 PyObject * obj3 = 0 ;
11567 char *kwnames[] = {
11568 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
11569 };
11570
11571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOi:new_ProgressDialog",kwnames,&obj0,&obj1,&arg3,&obj3,&arg5)) goto fail;
11572 {
11573 arg1 = wxString_in_helper(obj0);
11574 if (arg1 == NULL) SWIG_fail;
11575 temp1 = True;
11576 }
11577 {
11578 arg2 = wxString_in_helper(obj1);
11579 if (arg2 == NULL) SWIG_fail;
11580 temp2 = True;
11581 }
11582 if (obj3) {
11583 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11584 }
11585 {
11586 PyThreadState* __tstate = wxPyBeginAllowThreads();
11587 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
11588
11589 wxPyEndAllowThreads(__tstate);
11590 if (PyErr_Occurred()) SWIG_fail;
11591 }
11592 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProgressDialog, 1);
11593 {
11594 if (temp1)
11595 delete arg1;
11596 }
11597 {
11598 if (temp2)
11599 delete arg2;
11600 }
11601 return resultobj;
11602 fail:
11603 {
11604 if (temp1)
11605 delete arg1;
11606 }
11607 {
11608 if (temp2)
11609 delete arg2;
11610 }
11611 return NULL;
11612 }
11613
11614
11615 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
11616 PyObject *resultobj;
11617 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
11618 int arg2 ;
11619 wxString const &arg3_defvalue = wxPyEmptyString ;
11620 wxString *arg3 = (wxString *) &arg3_defvalue ;
11621 bool result;
11622 bool temp3 = False ;
11623 PyObject * obj0 = 0 ;
11624 PyObject * obj2 = 0 ;
11625 char *kwnames[] = {
11626 (char *) "self",(char *) "value",(char *) "newmsg", NULL
11627 };
11628
11629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ProgressDialog_Update",kwnames,&obj0,&arg2,&obj2)) goto fail;
11630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11631 if (obj2) {
11632 {
11633 arg3 = wxString_in_helper(obj2);
11634 if (arg3 == NULL) SWIG_fail;
11635 temp3 = True;
11636 }
11637 }
11638 {
11639 PyThreadState* __tstate = wxPyBeginAllowThreads();
11640 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
11641
11642 wxPyEndAllowThreads(__tstate);
11643 if (PyErr_Occurred()) SWIG_fail;
11644 }
11645 resultobj = PyInt_FromLong((long)result);
11646 {
11647 if (temp3)
11648 delete arg3;
11649 }
11650 return resultobj;
11651 fail:
11652 {
11653 if (temp3)
11654 delete arg3;
11655 }
11656 return NULL;
11657 }
11658
11659
11660 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
11661 PyObject *resultobj;
11662 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
11663 PyObject * obj0 = 0 ;
11664 char *kwnames[] = {
11665 (char *) "self", NULL
11666 };
11667
11668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
11669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11670 {
11671 PyThreadState* __tstate = wxPyBeginAllowThreads();
11672 (arg1)->Resume();
11673
11674 wxPyEndAllowThreads(__tstate);
11675 if (PyErr_Occurred()) SWIG_fail;
11676 }
11677 Py_INCREF(Py_None); resultobj = Py_None;
11678 return resultobj;
11679 fail:
11680 return NULL;
11681 }
11682
11683
11684 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
11685 PyObject *obj;
11686 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11687 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
11688 Py_INCREF(obj);
11689 return Py_BuildValue((char *)"");
11690 }
11691 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11692 PyObject *resultobj;
11693 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11694 int arg2 = (int) 0 ;
11695 wxFindDialogEvent *result;
11696 char *kwnames[] = {
11697 (char *) "commandType",(char *) "id", NULL
11698 };
11699
11700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_FindDialogEvent",kwnames,&arg1,&arg2)) goto fail;
11701 {
11702 PyThreadState* __tstate = wxPyBeginAllowThreads();
11703 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
11704
11705 wxPyEndAllowThreads(__tstate);
11706 if (PyErr_Occurred()) SWIG_fail;
11707 }
11708 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindDialogEvent, 1);
11709 return resultobj;
11710 fail:
11711 return NULL;
11712 }
11713
11714
11715 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
11716 PyObject *resultobj;
11717 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
11718 int result;
11719 PyObject * obj0 = 0 ;
11720 char *kwnames[] = {
11721 (char *) "self", NULL
11722 };
11723
11724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
11725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11726 {
11727 PyThreadState* __tstate = wxPyBeginAllowThreads();
11728 result = (int)(arg1)->GetFlags();
11729
11730 wxPyEndAllowThreads(__tstate);
11731 if (PyErr_Occurred()) SWIG_fail;
11732 }
11733 resultobj = PyInt_FromLong((long)result);
11734 return resultobj;
11735 fail:
11736 return NULL;
11737 }
11738
11739
11740 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
11741 PyObject *resultobj;
11742 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
11743 wxString *result;
11744 PyObject * obj0 = 0 ;
11745 char *kwnames[] = {
11746 (char *) "self", NULL
11747 };
11748
11749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
11750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11751 {
11752 PyThreadState* __tstate = wxPyBeginAllowThreads();
11753 {
11754 wxString const &_result_ref = (arg1)->GetFindString();
11755 result = (wxString *) &_result_ref;
11756 }
11757
11758 wxPyEndAllowThreads(__tstate);
11759 if (PyErr_Occurred()) SWIG_fail;
11760 }
11761 {
11762 #if wxUSE_UNICODE
11763 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11764 #else
11765 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11766 #endif
11767 }
11768 return resultobj;
11769 fail:
11770 return NULL;
11771 }
11772
11773
11774 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
11775 PyObject *resultobj;
11776 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
11777 wxString *result;
11778 PyObject * obj0 = 0 ;
11779 char *kwnames[] = {
11780 (char *) "self", NULL
11781 };
11782
11783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
11784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11785 {
11786 PyThreadState* __tstate = wxPyBeginAllowThreads();
11787 {
11788 wxString const &_result_ref = (arg1)->GetReplaceString();
11789 result = (wxString *) &_result_ref;
11790 }
11791
11792 wxPyEndAllowThreads(__tstate);
11793 if (PyErr_Occurred()) SWIG_fail;
11794 }
11795 {
11796 #if wxUSE_UNICODE
11797 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11798 #else
11799 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11800 #endif
11801 }
11802 return resultobj;
11803 fail:
11804 return NULL;
11805 }
11806
11807
11808 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11809 PyObject *resultobj;
11810 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
11811 wxFindReplaceDialog *result;
11812 PyObject * obj0 = 0 ;
11813 char *kwnames[] = {
11814 (char *) "self", NULL
11815 };
11816
11817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
11818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11819 {
11820 PyThreadState* __tstate = wxPyBeginAllowThreads();
11821 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
11822
11823 wxPyEndAllowThreads(__tstate);
11824 if (PyErr_Occurred()) SWIG_fail;
11825 }
11826 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 0);
11827 return resultobj;
11828 fail:
11829 return NULL;
11830 }
11831
11832
11833 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
11834 PyObject *resultobj;
11835 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
11836 int arg2 ;
11837 PyObject * obj0 = 0 ;
11838 char *kwnames[] = {
11839 (char *) "self",(char *) "flags", NULL
11840 };
11841
11842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindDialogEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
11843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11844 {
11845 PyThreadState* __tstate = wxPyBeginAllowThreads();
11846 (arg1)->SetFlags(arg2);
11847
11848 wxPyEndAllowThreads(__tstate);
11849 if (PyErr_Occurred()) SWIG_fail;
11850 }
11851 Py_INCREF(Py_None); resultobj = Py_None;
11852 return resultobj;
11853 fail:
11854 return NULL;
11855 }
11856
11857
11858 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
11859 PyObject *resultobj;
11860 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
11861 wxString *arg2 = 0 ;
11862 bool temp2 = False ;
11863 PyObject * obj0 = 0 ;
11864 PyObject * obj1 = 0 ;
11865 char *kwnames[] = {
11866 (char *) "self",(char *) "str", NULL
11867 };
11868
11869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
11870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11871 {
11872 arg2 = wxString_in_helper(obj1);
11873 if (arg2 == NULL) SWIG_fail;
11874 temp2 = True;
11875 }
11876 {
11877 PyThreadState* __tstate = wxPyBeginAllowThreads();
11878 (arg1)->SetFindString((wxString const &)*arg2);
11879
11880 wxPyEndAllowThreads(__tstate);
11881 if (PyErr_Occurred()) SWIG_fail;
11882 }
11883 Py_INCREF(Py_None); resultobj = Py_None;
11884 {
11885 if (temp2)
11886 delete arg2;
11887 }
11888 return resultobj;
11889 fail:
11890 {
11891 if (temp2)
11892 delete arg2;
11893 }
11894 return NULL;
11895 }
11896
11897
11898 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
11899 PyObject *resultobj;
11900 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
11901 wxString *arg2 = 0 ;
11902 bool temp2 = False ;
11903 PyObject * obj0 = 0 ;
11904 PyObject * obj1 = 0 ;
11905 char *kwnames[] = {
11906 (char *) "self",(char *) "str", NULL
11907 };
11908
11909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
11910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11911 {
11912 arg2 = wxString_in_helper(obj1);
11913 if (arg2 == NULL) SWIG_fail;
11914 temp2 = True;
11915 }
11916 {
11917 PyThreadState* __tstate = wxPyBeginAllowThreads();
11918 (arg1)->SetReplaceString((wxString const &)*arg2);
11919
11920 wxPyEndAllowThreads(__tstate);
11921 if (PyErr_Occurred()) SWIG_fail;
11922 }
11923 Py_INCREF(Py_None); resultobj = Py_None;
11924 {
11925 if (temp2)
11926 delete arg2;
11927 }
11928 return resultobj;
11929 fail:
11930 {
11931 if (temp2)
11932 delete arg2;
11933 }
11934 return NULL;
11935 }
11936
11937
11938 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
11939 PyObject *obj;
11940 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11941 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
11942 Py_INCREF(obj);
11943 return Py_BuildValue((char *)"");
11944 }
11945 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
11946 PyObject *resultobj;
11947 int arg1 = (int) 0 ;
11948 wxFindReplaceData *result;
11949 char *kwnames[] = {
11950 (char *) "flags", NULL
11951 };
11952
11953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_FindReplaceData",kwnames,&arg1)) goto fail;
11954 {
11955 PyThreadState* __tstate = wxPyBeginAllowThreads();
11956 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
11957
11958 wxPyEndAllowThreads(__tstate);
11959 if (PyErr_Occurred()) SWIG_fail;
11960 }
11961 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 1);
11962 return resultobj;
11963 fail:
11964 return NULL;
11965 }
11966
11967
11968 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
11969 PyObject *resultobj;
11970 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
11971 PyObject * obj0 = 0 ;
11972 char *kwnames[] = {
11973 (char *) "self", NULL
11974 };
11975
11976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
11977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11978 {
11979 PyThreadState* __tstate = wxPyBeginAllowThreads();
11980 delete arg1;
11981
11982 wxPyEndAllowThreads(__tstate);
11983 if (PyErr_Occurred()) SWIG_fail;
11984 }
11985 Py_INCREF(Py_None); resultobj = Py_None;
11986 return resultobj;
11987 fail:
11988 return NULL;
11989 }
11990
11991
11992 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
11993 PyObject *resultobj;
11994 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
11995 wxString *result;
11996 PyObject * obj0 = 0 ;
11997 char *kwnames[] = {
11998 (char *) "self", NULL
11999 };
12000
12001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
12002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12003 {
12004 PyThreadState* __tstate = wxPyBeginAllowThreads();
12005 {
12006 wxString const &_result_ref = (arg1)->GetFindString();
12007 result = (wxString *) &_result_ref;
12008 }
12009
12010 wxPyEndAllowThreads(__tstate);
12011 if (PyErr_Occurred()) SWIG_fail;
12012 }
12013 {
12014 #if wxUSE_UNICODE
12015 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12016 #else
12017 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12018 #endif
12019 }
12020 return resultobj;
12021 fail:
12022 return NULL;
12023 }
12024
12025
12026 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12027 PyObject *resultobj;
12028 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12029 wxString *result;
12030 PyObject * obj0 = 0 ;
12031 char *kwnames[] = {
12032 (char *) "self", NULL
12033 };
12034
12035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
12036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12037 {
12038 PyThreadState* __tstate = wxPyBeginAllowThreads();
12039 {
12040 wxString const &_result_ref = (arg1)->GetReplaceString();
12041 result = (wxString *) &_result_ref;
12042 }
12043
12044 wxPyEndAllowThreads(__tstate);
12045 if (PyErr_Occurred()) SWIG_fail;
12046 }
12047 {
12048 #if wxUSE_UNICODE
12049 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12050 #else
12051 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12052 #endif
12053 }
12054 return resultobj;
12055 fail:
12056 return NULL;
12057 }
12058
12059
12060 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12061 PyObject *resultobj;
12062 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12063 int result;
12064 PyObject * obj0 = 0 ;
12065 char *kwnames[] = {
12066 (char *) "self", NULL
12067 };
12068
12069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
12070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12071 {
12072 PyThreadState* __tstate = wxPyBeginAllowThreads();
12073 result = (int)(arg1)->GetFlags();
12074
12075 wxPyEndAllowThreads(__tstate);
12076 if (PyErr_Occurred()) SWIG_fail;
12077 }
12078 resultobj = PyInt_FromLong((long)result);
12079 return resultobj;
12080 fail:
12081 return NULL;
12082 }
12083
12084
12085 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12086 PyObject *resultobj;
12087 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12088 int arg2 ;
12089 PyObject * obj0 = 0 ;
12090 char *kwnames[] = {
12091 (char *) "self",(char *) "flags", NULL
12092 };
12093
12094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindReplaceData_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12096 {
12097 PyThreadState* __tstate = wxPyBeginAllowThreads();
12098 (arg1)->SetFlags(arg2);
12099
12100 wxPyEndAllowThreads(__tstate);
12101 if (PyErr_Occurred()) SWIG_fail;
12102 }
12103 Py_INCREF(Py_None); resultobj = Py_None;
12104 return resultobj;
12105 fail:
12106 return NULL;
12107 }
12108
12109
12110 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12111 PyObject *resultobj;
12112 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12113 wxString *arg2 = 0 ;
12114 bool temp2 = False ;
12115 PyObject * obj0 = 0 ;
12116 PyObject * obj1 = 0 ;
12117 char *kwnames[] = {
12118 (char *) "self",(char *) "str", NULL
12119 };
12120
12121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12123 {
12124 arg2 = wxString_in_helper(obj1);
12125 if (arg2 == NULL) SWIG_fail;
12126 temp2 = True;
12127 }
12128 {
12129 PyThreadState* __tstate = wxPyBeginAllowThreads();
12130 (arg1)->SetFindString((wxString const &)*arg2);
12131
12132 wxPyEndAllowThreads(__tstate);
12133 if (PyErr_Occurred()) SWIG_fail;
12134 }
12135 Py_INCREF(Py_None); resultobj = Py_None;
12136 {
12137 if (temp2)
12138 delete arg2;
12139 }
12140 return resultobj;
12141 fail:
12142 {
12143 if (temp2)
12144 delete arg2;
12145 }
12146 return NULL;
12147 }
12148
12149
12150 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12151 PyObject *resultobj;
12152 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12153 wxString *arg2 = 0 ;
12154 bool temp2 = False ;
12155 PyObject * obj0 = 0 ;
12156 PyObject * obj1 = 0 ;
12157 char *kwnames[] = {
12158 (char *) "self",(char *) "str", NULL
12159 };
12160
12161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12163 {
12164 arg2 = wxString_in_helper(obj1);
12165 if (arg2 == NULL) SWIG_fail;
12166 temp2 = True;
12167 }
12168 {
12169 PyThreadState* __tstate = wxPyBeginAllowThreads();
12170 (arg1)->SetReplaceString((wxString const &)*arg2);
12171
12172 wxPyEndAllowThreads(__tstate);
12173 if (PyErr_Occurred()) SWIG_fail;
12174 }
12175 Py_INCREF(Py_None); resultobj = Py_None;
12176 {
12177 if (temp2)
12178 delete arg2;
12179 }
12180 return resultobj;
12181 fail:
12182 {
12183 if (temp2)
12184 delete arg2;
12185 }
12186 return NULL;
12187 }
12188
12189
12190 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
12191 PyObject *obj;
12192 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12193 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
12194 Py_INCREF(obj);
12195 return Py_BuildValue((char *)"");
12196 }
12197 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12198 PyObject *resultobj;
12199 wxWindow *arg1 = (wxWindow *) 0 ;
12200 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12201 wxString *arg3 = 0 ;
12202 int arg4 = (int) 0 ;
12203 wxFindReplaceDialog *result;
12204 bool temp3 = False ;
12205 PyObject * obj0 = 0 ;
12206 PyObject * obj1 = 0 ;
12207 PyObject * obj2 = 0 ;
12208 char *kwnames[] = {
12209 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12210 };
12211
12212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
12213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12214 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12215 {
12216 arg3 = wxString_in_helper(obj2);
12217 if (arg3 == NULL) SWIG_fail;
12218 temp3 = True;
12219 }
12220 {
12221 PyThreadState* __tstate = wxPyBeginAllowThreads();
12222 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
12223
12224 wxPyEndAllowThreads(__tstate);
12225 if (PyErr_Occurred()) SWIG_fail;
12226 }
12227 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12228 {
12229 if (temp3)
12230 delete arg3;
12231 }
12232 return resultobj;
12233 fail:
12234 {
12235 if (temp3)
12236 delete arg3;
12237 }
12238 return NULL;
12239 }
12240
12241
12242 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12243 PyObject *resultobj;
12244 wxFindReplaceDialog *result;
12245 char *kwnames[] = {
12246 NULL
12247 };
12248
12249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
12250 {
12251 PyThreadState* __tstate = wxPyBeginAllowThreads();
12252 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
12253
12254 wxPyEndAllowThreads(__tstate);
12255 if (PyErr_Occurred()) SWIG_fail;
12256 }
12257 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12258 return resultobj;
12259 fail:
12260 return NULL;
12261 }
12262
12263
12264 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12265 PyObject *resultobj;
12266 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12267 wxWindow *arg2 = (wxWindow *) 0 ;
12268 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
12269 wxString *arg4 = 0 ;
12270 int arg5 = (int) 0 ;
12271 bool result;
12272 bool temp4 = False ;
12273 PyObject * obj0 = 0 ;
12274 PyObject * obj1 = 0 ;
12275 PyObject * obj2 = 0 ;
12276 PyObject * obj3 = 0 ;
12277 char *kwnames[] = {
12278 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12279 };
12280
12281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|i:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
12282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12283 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12284 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12285 {
12286 arg4 = wxString_in_helper(obj3);
12287 if (arg4 == NULL) SWIG_fail;
12288 temp4 = True;
12289 }
12290 {
12291 PyThreadState* __tstate = wxPyBeginAllowThreads();
12292 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
12293
12294 wxPyEndAllowThreads(__tstate);
12295 if (PyErr_Occurred()) SWIG_fail;
12296 }
12297 resultobj = PyInt_FromLong((long)result);
12298 {
12299 if (temp4)
12300 delete arg4;
12301 }
12302 return resultobj;
12303 fail:
12304 {
12305 if (temp4)
12306 delete arg4;
12307 }
12308 return NULL;
12309 }
12310
12311
12312 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12313 PyObject *resultobj;
12314 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12315 wxFindReplaceData *result;
12316 PyObject * obj0 = 0 ;
12317 char *kwnames[] = {
12318 (char *) "self", NULL
12319 };
12320
12321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
12322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12323 {
12324 PyThreadState* __tstate = wxPyBeginAllowThreads();
12325 result = (wxFindReplaceData *)(arg1)->GetData();
12326
12327 wxPyEndAllowThreads(__tstate);
12328 if (PyErr_Occurred()) SWIG_fail;
12329 }
12330 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 0);
12331 return resultobj;
12332 fail:
12333 return NULL;
12334 }
12335
12336
12337 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12338 PyObject *resultobj;
12339 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12340 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12341 PyObject * obj0 = 0 ;
12342 PyObject * obj1 = 0 ;
12343 char *kwnames[] = {
12344 (char *) "self",(char *) "data", NULL
12345 };
12346
12347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
12348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12349 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12350 {
12351 PyThreadState* __tstate = wxPyBeginAllowThreads();
12352 (arg1)->SetData(arg2);
12353
12354 wxPyEndAllowThreads(__tstate);
12355 if (PyErr_Occurred()) SWIG_fail;
12356 }
12357 Py_INCREF(Py_None); resultobj = Py_None;
12358 return resultobj;
12359 fail:
12360 return NULL;
12361 }
12362
12363
12364 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
12365 PyObject *obj;
12366 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12367 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
12368 Py_INCREF(obj);
12369 return Py_BuildValue((char *)"");
12370 }
12371 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
12372 PyObject *resultobj;
12373 wxWindow *arg1 = (wxWindow *) 0 ;
12374 int arg2 ;
12375 wxString *arg3 = 0 ;
12376 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12377 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12378 wxSize const &arg5_defvalue = wxDefaultSize ;
12379 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12380 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
12381 wxString const &arg7_defvalue = wxPyFrameNameStr ;
12382 wxString *arg7 = (wxString *) &arg7_defvalue ;
12383 wxMDIParentFrame *result;
12384 bool temp3 = False ;
12385 wxPoint temp4 ;
12386 wxSize temp5 ;
12387 bool temp7 = False ;
12388 PyObject * obj0 = 0 ;
12389 PyObject * obj2 = 0 ;
12390 PyObject * obj3 = 0 ;
12391 PyObject * obj4 = 0 ;
12392 PyObject * obj6 = 0 ;
12393 char *kwnames[] = {
12394 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12395 };
12396
12397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIParentFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
12398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12399 {
12400 arg3 = wxString_in_helper(obj2);
12401 if (arg3 == NULL) SWIG_fail;
12402 temp3 = True;
12403 }
12404 if (obj3) {
12405 {
12406 arg4 = &temp4;
12407 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12408 }
12409 }
12410 if (obj4) {
12411 {
12412 arg5 = &temp5;
12413 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12414 }
12415 }
12416 if (obj6) {
12417 {
12418 arg7 = wxString_in_helper(obj6);
12419 if (arg7 == NULL) SWIG_fail;
12420 temp7 = True;
12421 }
12422 }
12423 {
12424 PyThreadState* __tstate = wxPyBeginAllowThreads();
12425 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12426
12427 wxPyEndAllowThreads(__tstate);
12428 if (PyErr_Occurred()) SWIG_fail;
12429 }
12430 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
12431 {
12432 if (temp3)
12433 delete arg3;
12434 }
12435 {
12436 if (temp7)
12437 delete arg7;
12438 }
12439 return resultobj;
12440 fail:
12441 {
12442 if (temp3)
12443 delete arg3;
12444 }
12445 {
12446 if (temp7)
12447 delete arg7;
12448 }
12449 return NULL;
12450 }
12451
12452
12453 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
12454 PyObject *resultobj;
12455 wxMDIParentFrame *result;
12456 char *kwnames[] = {
12457 NULL
12458 };
12459
12460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
12461 {
12462 PyThreadState* __tstate = wxPyBeginAllowThreads();
12463 result = (wxMDIParentFrame *)new wxMDIParentFrame();
12464
12465 wxPyEndAllowThreads(__tstate);
12466 if (PyErr_Occurred()) SWIG_fail;
12467 }
12468 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
12469 return resultobj;
12470 fail:
12471 return NULL;
12472 }
12473
12474
12475 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12476 PyObject *resultobj;
12477 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12478 wxWindow *arg2 = (wxWindow *) 0 ;
12479 int arg3 ;
12480 wxString *arg4 = 0 ;
12481 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12482 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12483 wxSize const &arg6_defvalue = wxDefaultSize ;
12484 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12485 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
12486 wxString const &arg8_defvalue = wxPyFrameNameStr ;
12487 wxString *arg8 = (wxString *) &arg8_defvalue ;
12488 bool result;
12489 bool temp4 = False ;
12490 wxPoint temp5 ;
12491 wxSize temp6 ;
12492 bool temp8 = False ;
12493 PyObject * obj0 = 0 ;
12494 PyObject * obj1 = 0 ;
12495 PyObject * obj3 = 0 ;
12496 PyObject * obj4 = 0 ;
12497 PyObject * obj5 = 0 ;
12498 PyObject * obj7 = 0 ;
12499 char *kwnames[] = {
12500 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12501 };
12502
12503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
12504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12505 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12506 {
12507 arg4 = wxString_in_helper(obj3);
12508 if (arg4 == NULL) SWIG_fail;
12509 temp4 = True;
12510 }
12511 if (obj4) {
12512 {
12513 arg5 = &temp5;
12514 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12515 }
12516 }
12517 if (obj5) {
12518 {
12519 arg6 = &temp6;
12520 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12521 }
12522 }
12523 if (obj7) {
12524 {
12525 arg8 = wxString_in_helper(obj7);
12526 if (arg8 == NULL) SWIG_fail;
12527 temp8 = True;
12528 }
12529 }
12530 {
12531 PyThreadState* __tstate = wxPyBeginAllowThreads();
12532 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
12533
12534 wxPyEndAllowThreads(__tstate);
12535 if (PyErr_Occurred()) SWIG_fail;
12536 }
12537 resultobj = PyInt_FromLong((long)result);
12538 {
12539 if (temp4)
12540 delete arg4;
12541 }
12542 {
12543 if (temp8)
12544 delete arg8;
12545 }
12546 return resultobj;
12547 fail:
12548 {
12549 if (temp4)
12550 delete arg4;
12551 }
12552 {
12553 if (temp8)
12554 delete arg8;
12555 }
12556 return NULL;
12557 }
12558
12559
12560 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
12561 PyObject *resultobj;
12562 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12563 PyObject * obj0 = 0 ;
12564 char *kwnames[] = {
12565 (char *) "self", NULL
12566 };
12567
12568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
12569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12570 {
12571 PyThreadState* __tstate = wxPyBeginAllowThreads();
12572 (arg1)->ActivateNext();
12573
12574 wxPyEndAllowThreads(__tstate);
12575 if (PyErr_Occurred()) SWIG_fail;
12576 }
12577 Py_INCREF(Py_None); resultobj = Py_None;
12578 return resultobj;
12579 fail:
12580 return NULL;
12581 }
12582
12583
12584 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
12585 PyObject *resultobj;
12586 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12587 PyObject * obj0 = 0 ;
12588 char *kwnames[] = {
12589 (char *) "self", NULL
12590 };
12591
12592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
12593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12594 {
12595 PyThreadState* __tstate = wxPyBeginAllowThreads();
12596 (arg1)->ActivatePrevious();
12597
12598 wxPyEndAllowThreads(__tstate);
12599 if (PyErr_Occurred()) SWIG_fail;
12600 }
12601 Py_INCREF(Py_None); resultobj = Py_None;
12602 return resultobj;
12603 fail:
12604 return NULL;
12605 }
12606
12607
12608 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
12609 PyObject *resultobj;
12610 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12611 PyObject * obj0 = 0 ;
12612 char *kwnames[] = {
12613 (char *) "self", NULL
12614 };
12615
12616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
12617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12618 {
12619 PyThreadState* __tstate = wxPyBeginAllowThreads();
12620 (arg1)->ArrangeIcons();
12621
12622 wxPyEndAllowThreads(__tstate);
12623 if (PyErr_Occurred()) SWIG_fail;
12624 }
12625 Py_INCREF(Py_None); resultobj = Py_None;
12626 return resultobj;
12627 fail:
12628 return NULL;
12629 }
12630
12631
12632 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
12633 PyObject *resultobj;
12634 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12635 PyObject * obj0 = 0 ;
12636 char *kwnames[] = {
12637 (char *) "self", NULL
12638 };
12639
12640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
12641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12642 {
12643 PyThreadState* __tstate = wxPyBeginAllowThreads();
12644 (arg1)->Cascade();
12645
12646 wxPyEndAllowThreads(__tstate);
12647 if (PyErr_Occurred()) SWIG_fail;
12648 }
12649 Py_INCREF(Py_None); resultobj = Py_None;
12650 return resultobj;
12651 fail:
12652 return NULL;
12653 }
12654
12655
12656 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
12657 PyObject *resultobj;
12658 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12659 wxMDIChildFrame *result;
12660 PyObject * obj0 = 0 ;
12661 char *kwnames[] = {
12662 (char *) "self", NULL
12663 };
12664
12665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
12666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12667 {
12668 PyThreadState* __tstate = wxPyBeginAllowThreads();
12669 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
12670
12671 wxPyEndAllowThreads(__tstate);
12672 if (PyErr_Occurred()) SWIG_fail;
12673 }
12674 {
12675 resultobj = wxPyMake_wxObject(result);
12676 }
12677 return resultobj;
12678 fail:
12679 return NULL;
12680 }
12681
12682
12683 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12684 PyObject *resultobj;
12685 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12686 wxMDIClientWindow *result;
12687 PyObject * obj0 = 0 ;
12688 char *kwnames[] = {
12689 (char *) "self", NULL
12690 };
12691
12692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
12693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12694 {
12695 PyThreadState* __tstate = wxPyBeginAllowThreads();
12696 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
12697
12698 wxPyEndAllowThreads(__tstate);
12699 if (PyErr_Occurred()) SWIG_fail;
12700 }
12701 {
12702 resultobj = wxPyMake_wxObject(result);
12703 }
12704 return resultobj;
12705 fail:
12706 return NULL;
12707 }
12708
12709
12710 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
12711 PyObject *resultobj;
12712 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12713 wxWindow *result;
12714 PyObject * obj0 = 0 ;
12715 char *kwnames[] = {
12716 (char *) "self", NULL
12717 };
12718
12719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
12720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12721 {
12722 PyThreadState* __tstate = wxPyBeginAllowThreads();
12723 result = (wxWindow *)(arg1)->GetToolBar();
12724
12725 wxPyEndAllowThreads(__tstate);
12726 if (PyErr_Occurred()) SWIG_fail;
12727 }
12728 {
12729 resultobj = wxPyMake_wxObject(result);
12730 }
12731 return resultobj;
12732 fail:
12733 return NULL;
12734 }
12735
12736
12737 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
12738 PyObject *resultobj;
12739 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12740 PyObject * obj0 = 0 ;
12741 char *kwnames[] = {
12742 (char *) "self", NULL
12743 };
12744
12745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
12746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12747 {
12748 PyThreadState* __tstate = wxPyBeginAllowThreads();
12749 (arg1)->Tile();
12750
12751 wxPyEndAllowThreads(__tstate);
12752 if (PyErr_Occurred()) SWIG_fail;
12753 }
12754 Py_INCREF(Py_None); resultobj = Py_None;
12755 return resultobj;
12756 fail:
12757 return NULL;
12758 }
12759
12760
12761 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
12762 PyObject *obj;
12763 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12764 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
12765 Py_INCREF(obj);
12766 return Py_BuildValue((char *)"");
12767 }
12768 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
12769 PyObject *resultobj;
12770 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12771 int arg2 ;
12772 wxString *arg3 = 0 ;
12773 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12774 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12775 wxSize const &arg5_defvalue = wxDefaultSize ;
12776 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12777 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
12778 wxString const &arg7_defvalue = wxPyFrameNameStr ;
12779 wxString *arg7 = (wxString *) &arg7_defvalue ;
12780 wxMDIChildFrame *result;
12781 bool temp3 = False ;
12782 wxPoint temp4 ;
12783 wxSize temp5 ;
12784 bool temp7 = False ;
12785 PyObject * obj0 = 0 ;
12786 PyObject * obj2 = 0 ;
12787 PyObject * obj3 = 0 ;
12788 PyObject * obj4 = 0 ;
12789 PyObject * obj6 = 0 ;
12790 char *kwnames[] = {
12791 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12792 };
12793
12794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIChildFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
12795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12796 {
12797 arg3 = wxString_in_helper(obj2);
12798 if (arg3 == NULL) SWIG_fail;
12799 temp3 = True;
12800 }
12801 if (obj3) {
12802 {
12803 arg4 = &temp4;
12804 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12805 }
12806 }
12807 if (obj4) {
12808 {
12809 arg5 = &temp5;
12810 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12811 }
12812 }
12813 if (obj6) {
12814 {
12815 arg7 = wxString_in_helper(obj6);
12816 if (arg7 == NULL) SWIG_fail;
12817 temp7 = True;
12818 }
12819 }
12820 {
12821 PyThreadState* __tstate = wxPyBeginAllowThreads();
12822 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12823
12824 wxPyEndAllowThreads(__tstate);
12825 if (PyErr_Occurred()) SWIG_fail;
12826 }
12827 {
12828 resultobj = wxPyMake_wxObject(result);
12829 }
12830 {
12831 if (temp3)
12832 delete arg3;
12833 }
12834 {
12835 if (temp7)
12836 delete arg7;
12837 }
12838 return resultobj;
12839 fail:
12840 {
12841 if (temp3)
12842 delete arg3;
12843 }
12844 {
12845 if (temp7)
12846 delete arg7;
12847 }
12848 return NULL;
12849 }
12850
12851
12852 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
12853 PyObject *resultobj;
12854 wxMDIChildFrame *result;
12855 char *kwnames[] = {
12856 NULL
12857 };
12858
12859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
12860 {
12861 PyThreadState* __tstate = wxPyBeginAllowThreads();
12862 result = (wxMDIChildFrame *)new wxMDIChildFrame();
12863
12864 wxPyEndAllowThreads(__tstate);
12865 if (PyErr_Occurred()) SWIG_fail;
12866 }
12867 {
12868 resultobj = wxPyMake_wxObject(result);
12869 }
12870 return resultobj;
12871 fail:
12872 return NULL;
12873 }
12874
12875
12876 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12877 PyObject *resultobj;
12878 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
12879 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
12880 int arg3 ;
12881 wxString *arg4 = 0 ;
12882 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12883 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12884 wxSize const &arg6_defvalue = wxDefaultSize ;
12885 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12886 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
12887 wxString const &arg8_defvalue = wxPyFrameNameStr ;
12888 wxString *arg8 = (wxString *) &arg8_defvalue ;
12889 bool result;
12890 bool temp4 = False ;
12891 wxPoint temp5 ;
12892 wxSize temp6 ;
12893 bool temp8 = False ;
12894 PyObject * obj0 = 0 ;
12895 PyObject * obj1 = 0 ;
12896 PyObject * obj3 = 0 ;
12897 PyObject * obj4 = 0 ;
12898 PyObject * obj5 = 0 ;
12899 PyObject * obj7 = 0 ;
12900 char *kwnames[] = {
12901 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12902 };
12903
12904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
12905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12906 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12907 {
12908 arg4 = wxString_in_helper(obj3);
12909 if (arg4 == NULL) SWIG_fail;
12910 temp4 = True;
12911 }
12912 if (obj4) {
12913 {
12914 arg5 = &temp5;
12915 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12916 }
12917 }
12918 if (obj5) {
12919 {
12920 arg6 = &temp6;
12921 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12922 }
12923 }
12924 if (obj7) {
12925 {
12926 arg8 = wxString_in_helper(obj7);
12927 if (arg8 == NULL) SWIG_fail;
12928 temp8 = True;
12929 }
12930 }
12931 {
12932 PyThreadState* __tstate = wxPyBeginAllowThreads();
12933 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
12934
12935 wxPyEndAllowThreads(__tstate);
12936 if (PyErr_Occurred()) SWIG_fail;
12937 }
12938 resultobj = PyInt_FromLong((long)result);
12939 {
12940 if (temp4)
12941 delete arg4;
12942 }
12943 {
12944 if (temp8)
12945 delete arg8;
12946 }
12947 return resultobj;
12948 fail:
12949 {
12950 if (temp4)
12951 delete arg4;
12952 }
12953 {
12954 if (temp8)
12955 delete arg8;
12956 }
12957 return NULL;
12958 }
12959
12960
12961 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
12962 PyObject *resultobj;
12963 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
12964 PyObject * obj0 = 0 ;
12965 char *kwnames[] = {
12966 (char *) "self", NULL
12967 };
12968
12969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
12970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12971 {
12972 PyThreadState* __tstate = wxPyBeginAllowThreads();
12973 (arg1)->Activate();
12974
12975 wxPyEndAllowThreads(__tstate);
12976 if (PyErr_Occurred()) SWIG_fail;
12977 }
12978 Py_INCREF(Py_None); resultobj = Py_None;
12979 return resultobj;
12980 fail:
12981 return NULL;
12982 }
12983
12984
12985 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
12986 PyObject *resultobj;
12987 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
12988 bool arg2 ;
12989 PyObject * obj0 = 0 ;
12990 PyObject * obj1 = 0 ;
12991 char *kwnames[] = {
12992 (char *) "self",(char *) "maximize", NULL
12993 };
12994
12995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
12996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12997 arg2 = PyInt_AsLong(obj1) ? true : false;
12998 if (PyErr_Occurred()) SWIG_fail;
12999 {
13000 PyThreadState* __tstate = wxPyBeginAllowThreads();
13001 (arg1)->Maximize(arg2);
13002
13003 wxPyEndAllowThreads(__tstate);
13004 if (PyErr_Occurred()) SWIG_fail;
13005 }
13006 Py_INCREF(Py_None); resultobj = Py_None;
13007 return resultobj;
13008 fail:
13009 return NULL;
13010 }
13011
13012
13013 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
13014 PyObject *resultobj;
13015 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13016 PyObject * obj0 = 0 ;
13017 char *kwnames[] = {
13018 (char *) "self", NULL
13019 };
13020
13021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
13022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13023 {
13024 PyThreadState* __tstate = wxPyBeginAllowThreads();
13025 (arg1)->Restore();
13026
13027 wxPyEndAllowThreads(__tstate);
13028 if (PyErr_Occurred()) SWIG_fail;
13029 }
13030 Py_INCREF(Py_None); resultobj = Py_None;
13031 return resultobj;
13032 fail:
13033 return NULL;
13034 }
13035
13036
13037 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
13038 PyObject *obj;
13039 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13040 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
13041 Py_INCREF(obj);
13042 return Py_BuildValue((char *)"");
13043 }
13044 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13045 PyObject *resultobj;
13046 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13047 long arg2 = (long) 0 ;
13048 wxMDIClientWindow *result;
13049 PyObject * obj0 = 0 ;
13050 char *kwnames[] = {
13051 (char *) "parent",(char *) "style", NULL
13052 };
13053
13054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:new_MDIClientWindow",kwnames,&obj0,&arg2)) goto fail;
13055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13056 {
13057 PyThreadState* __tstate = wxPyBeginAllowThreads();
13058 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
13059
13060 wxPyEndAllowThreads(__tstate);
13061 if (PyErr_Occurred()) SWIG_fail;
13062 }
13063 {
13064 resultobj = wxPyMake_wxObject(result);
13065 }
13066 return resultobj;
13067 fail:
13068 return NULL;
13069 }
13070
13071
13072 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13073 PyObject *resultobj;
13074 wxMDIClientWindow *result;
13075 char *kwnames[] = {
13076 NULL
13077 };
13078
13079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
13080 {
13081 PyThreadState* __tstate = wxPyBeginAllowThreads();
13082 result = (wxMDIClientWindow *)new wxMDIClientWindow();
13083
13084 wxPyEndAllowThreads(__tstate);
13085 if (PyErr_Occurred()) SWIG_fail;
13086 }
13087 {
13088 resultobj = wxPyMake_wxObject(result);
13089 }
13090 return resultobj;
13091 fail:
13092 return NULL;
13093 }
13094
13095
13096 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13097 PyObject *resultobj;
13098 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
13099 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13100 long arg3 = (long) 0 ;
13101 bool result;
13102 PyObject * obj0 = 0 ;
13103 PyObject * obj1 = 0 ;
13104 char *kwnames[] = {
13105 (char *) "self",(char *) "parent",(char *) "style", NULL
13106 };
13107
13108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:MDIClientWindow_Create",kwnames,&obj0,&obj1,&arg3)) goto fail;
13109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIClientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13110 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13111 {
13112 PyThreadState* __tstate = wxPyBeginAllowThreads();
13113 result = (bool)(arg1)->Create(arg2,arg3);
13114
13115 wxPyEndAllowThreads(__tstate);
13116 if (PyErr_Occurred()) SWIG_fail;
13117 }
13118 resultobj = PyInt_FromLong((long)result);
13119 return resultobj;
13120 fail:
13121 return NULL;
13122 }
13123
13124
13125 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
13126 PyObject *obj;
13127 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13128 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
13129 Py_INCREF(obj);
13130 return Py_BuildValue((char *)"");
13131 }
13132 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13133 PyObject *resultobj;
13134 wxWindow *arg1 = (wxWindow *) 0 ;
13135 int arg2 ;
13136 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13137 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13138 wxSize const &arg4_defvalue = wxDefaultSize ;
13139 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13140 long arg5 = (long) 0 ;
13141 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13142 wxString *arg6 = (wxString *) &arg6_defvalue ;
13143 wxPyWindow *result;
13144 wxPoint temp3 ;
13145 wxSize temp4 ;
13146 bool temp6 = False ;
13147 PyObject * obj0 = 0 ;
13148 PyObject * obj2 = 0 ;
13149 PyObject * obj3 = 0 ;
13150 PyObject * obj5 = 0 ;
13151 char *kwnames[] = {
13152 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13153 };
13154
13155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
13156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13157 if (obj2) {
13158 {
13159 arg3 = &temp3;
13160 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13161 }
13162 }
13163 if (obj3) {
13164 {
13165 arg4 = &temp4;
13166 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13167 }
13168 }
13169 if (obj5) {
13170 {
13171 arg6 = wxString_in_helper(obj5);
13172 if (arg6 == NULL) SWIG_fail;
13173 temp6 = True;
13174 }
13175 }
13176 {
13177 PyThreadState* __tstate = wxPyBeginAllowThreads();
13178 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13179
13180 wxPyEndAllowThreads(__tstate);
13181 if (PyErr_Occurred()) SWIG_fail;
13182 }
13183 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyWindow, 1);
13184 {
13185 if (temp6)
13186 delete arg6;
13187 }
13188 return resultobj;
13189 fail:
13190 {
13191 if (temp6)
13192 delete arg6;
13193 }
13194 return NULL;
13195 }
13196
13197
13198 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
13199 PyObject *resultobj;
13200 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13201 PyObject *arg2 = (PyObject *) 0 ;
13202 PyObject *arg3 = (PyObject *) 0 ;
13203 PyObject * obj0 = 0 ;
13204 PyObject * obj1 = 0 ;
13205 PyObject * obj2 = 0 ;
13206 char *kwnames[] = {
13207 (char *) "self",(char *) "self",(char *) "_class", NULL
13208 };
13209
13210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
13211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13212 arg2 = obj1;
13213 arg3 = obj2;
13214 {
13215 PyThreadState* __tstate = wxPyBeginAllowThreads();
13216 (arg1)->_setCallbackInfo(arg2,arg3);
13217
13218 wxPyEndAllowThreads(__tstate);
13219 if (PyErr_Occurred()) SWIG_fail;
13220 }
13221 Py_INCREF(Py_None); resultobj = Py_None;
13222 return resultobj;
13223 fail:
13224 return NULL;
13225 }
13226
13227
13228 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13229 PyObject *resultobj;
13230 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13231 int arg2 ;
13232 int arg3 ;
13233 int arg4 ;
13234 int arg5 ;
13235 PyObject * obj0 = 0 ;
13236 char *kwnames[] = {
13237 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13238 };
13239
13240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyWindow_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13242 {
13243 PyThreadState* __tstate = wxPyBeginAllowThreads();
13244 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
13245
13246 wxPyEndAllowThreads(__tstate);
13247 if (PyErr_Occurred()) SWIG_fail;
13248 }
13249 Py_INCREF(Py_None); resultobj = Py_None;
13250 return resultobj;
13251 fail:
13252 return NULL;
13253 }
13254
13255
13256 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13257 PyObject *resultobj;
13258 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13259 int arg2 ;
13260 int arg3 ;
13261 int arg4 ;
13262 int arg5 ;
13263 int arg6 = (int) wxSIZE_AUTO ;
13264 PyObject * obj0 = 0 ;
13265 char *kwnames[] = {
13266 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
13267 };
13268
13269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyWindow_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
13270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13271 {
13272 PyThreadState* __tstate = wxPyBeginAllowThreads();
13273 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
13274
13275 wxPyEndAllowThreads(__tstate);
13276 if (PyErr_Occurred()) SWIG_fail;
13277 }
13278 Py_INCREF(Py_None); resultobj = Py_None;
13279 return resultobj;
13280 fail:
13281 return NULL;
13282 }
13283
13284
13285 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13286 PyObject *resultobj;
13287 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13288 int arg2 ;
13289 int arg3 ;
13290 PyObject * obj0 = 0 ;
13291 char *kwnames[] = {
13292 (char *) "self",(char *) "width",(char *) "height", NULL
13293 };
13294
13295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13297 {
13298 PyThreadState* __tstate = wxPyBeginAllowThreads();
13299 (arg1)->base_DoSetClientSize(arg2,arg3);
13300
13301 wxPyEndAllowThreads(__tstate);
13302 if (PyErr_Occurred()) SWIG_fail;
13303 }
13304 Py_INCREF(Py_None); resultobj = Py_None;
13305 return resultobj;
13306 fail:
13307 return NULL;
13308 }
13309
13310
13311 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13312 PyObject *resultobj;
13313 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13314 int arg2 ;
13315 int arg3 ;
13316 PyObject * obj0 = 0 ;
13317 char *kwnames[] = {
13318 (char *) "self",(char *) "x",(char *) "y", NULL
13319 };
13320
13321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13323 {
13324 PyThreadState* __tstate = wxPyBeginAllowThreads();
13325 (arg1)->base_DoSetVirtualSize(arg2,arg3);
13326
13327 wxPyEndAllowThreads(__tstate);
13328 if (PyErr_Occurred()) SWIG_fail;
13329 }
13330 Py_INCREF(Py_None); resultobj = Py_None;
13331 return resultobj;
13332 fail:
13333 return NULL;
13334 }
13335
13336
13337 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13338 PyObject *resultobj;
13339 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13340 int *arg2 = (int *) 0 ;
13341 int *arg3 = (int *) 0 ;
13342 int temp2 ;
13343 int temp3 ;
13344 PyObject * obj0 = 0 ;
13345 char *kwnames[] = {
13346 (char *) "self", NULL
13347 };
13348
13349 arg2 = &temp2;
13350 arg3 = &temp3;
13351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
13352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13353 {
13354 PyThreadState* __tstate = wxPyBeginAllowThreads();
13355 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
13356
13357 wxPyEndAllowThreads(__tstate);
13358 if (PyErr_Occurred()) SWIG_fail;
13359 }
13360 Py_INCREF(Py_None); resultobj = Py_None;
13361 {
13362 PyObject *o = PyInt_FromLong((long) (*arg2));
13363 resultobj = t_output_helper(resultobj,o);
13364 }
13365 {
13366 PyObject *o = PyInt_FromLong((long) (*arg3));
13367 resultobj = t_output_helper(resultobj,o);
13368 }
13369 return resultobj;
13370 fail:
13371 return NULL;
13372 }
13373
13374
13375 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13376 PyObject *resultobj;
13377 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13378 int *arg2 = (int *) 0 ;
13379 int *arg3 = (int *) 0 ;
13380 int temp2 ;
13381 int temp3 ;
13382 PyObject * obj0 = 0 ;
13383 char *kwnames[] = {
13384 (char *) "self", NULL
13385 };
13386
13387 arg2 = &temp2;
13388 arg3 = &temp3;
13389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
13390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13391 {
13392 PyThreadState* __tstate = wxPyBeginAllowThreads();
13393 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
13394
13395 wxPyEndAllowThreads(__tstate);
13396 if (PyErr_Occurred()) SWIG_fail;
13397 }
13398 Py_INCREF(Py_None); resultobj = Py_None;
13399 {
13400 PyObject *o = PyInt_FromLong((long) (*arg2));
13401 resultobj = t_output_helper(resultobj,o);
13402 }
13403 {
13404 PyObject *o = PyInt_FromLong((long) (*arg3));
13405 resultobj = t_output_helper(resultobj,o);
13406 }
13407 return resultobj;
13408 fail:
13409 return NULL;
13410 }
13411
13412
13413 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13414 PyObject *resultobj;
13415 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13416 int *arg2 = (int *) 0 ;
13417 int *arg3 = (int *) 0 ;
13418 int temp2 ;
13419 int temp3 ;
13420 PyObject * obj0 = 0 ;
13421 char *kwnames[] = {
13422 (char *) "self", NULL
13423 };
13424
13425 arg2 = &temp2;
13426 arg3 = &temp3;
13427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
13428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13429 {
13430 PyThreadState* __tstate = wxPyBeginAllowThreads();
13431 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
13432
13433 wxPyEndAllowThreads(__tstate);
13434 if (PyErr_Occurred()) SWIG_fail;
13435 }
13436 Py_INCREF(Py_None); resultobj = Py_None;
13437 {
13438 PyObject *o = PyInt_FromLong((long) (*arg2));
13439 resultobj = t_output_helper(resultobj,o);
13440 }
13441 {
13442 PyObject *o = PyInt_FromLong((long) (*arg3));
13443 resultobj = t_output_helper(resultobj,o);
13444 }
13445 return resultobj;
13446 fail:
13447 return NULL;
13448 }
13449
13450
13451 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13452 PyObject *resultobj;
13453 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13454 wxSize result;
13455 PyObject * obj0 = 0 ;
13456 char *kwnames[] = {
13457 (char *) "self", NULL
13458 };
13459
13460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
13461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13462 {
13463 PyThreadState* __tstate = wxPyBeginAllowThreads();
13464 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
13465
13466 wxPyEndAllowThreads(__tstate);
13467 if (PyErr_Occurred()) SWIG_fail;
13468 }
13469 {
13470 wxSize * resultptr;
13471 resultptr = new wxSize((wxSize &) result);
13472 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13473 }
13474 return resultobj;
13475 fail:
13476 return NULL;
13477 }
13478
13479
13480 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13481 PyObject *resultobj;
13482 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13483 wxSize result;
13484 PyObject * obj0 = 0 ;
13485 char *kwnames[] = {
13486 (char *) "self", NULL
13487 };
13488
13489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
13490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13491 {
13492 PyThreadState* __tstate = wxPyBeginAllowThreads();
13493 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
13494
13495 wxPyEndAllowThreads(__tstate);
13496 if (PyErr_Occurred()) SWIG_fail;
13497 }
13498 {
13499 wxSize * resultptr;
13500 resultptr = new wxSize((wxSize &) result);
13501 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13502 }
13503 return resultobj;
13504 fail:
13505 return NULL;
13506 }
13507
13508
13509 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13510 PyObject *resultobj;
13511 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13512 PyObject * obj0 = 0 ;
13513 char *kwnames[] = {
13514 (char *) "self", NULL
13515 };
13516
13517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
13518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13519 {
13520 PyThreadState* __tstate = wxPyBeginAllowThreads();
13521 (arg1)->base_InitDialog();
13522
13523 wxPyEndAllowThreads(__tstate);
13524 if (PyErr_Occurred()) SWIG_fail;
13525 }
13526 Py_INCREF(Py_None); resultobj = Py_None;
13527 return resultobj;
13528 fail:
13529 return NULL;
13530 }
13531
13532
13533 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13534 PyObject *resultobj;
13535 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13536 bool result;
13537 PyObject * obj0 = 0 ;
13538 char *kwnames[] = {
13539 (char *) "self", NULL
13540 };
13541
13542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
13543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13544 {
13545 PyThreadState* __tstate = wxPyBeginAllowThreads();
13546 result = (bool)(arg1)->base_TransferDataToWindow();
13547
13548 wxPyEndAllowThreads(__tstate);
13549 if (PyErr_Occurred()) SWIG_fail;
13550 }
13551 resultobj = PyInt_FromLong((long)result);
13552 return resultobj;
13553 fail:
13554 return NULL;
13555 }
13556
13557
13558 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13559 PyObject *resultobj;
13560 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13561 bool result;
13562 PyObject * obj0 = 0 ;
13563 char *kwnames[] = {
13564 (char *) "self", NULL
13565 };
13566
13567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) 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 result = (bool)(arg1)->base_TransferDataFromWindow();
13572
13573 wxPyEndAllowThreads(__tstate);
13574 if (PyErr_Occurred()) SWIG_fail;
13575 }
13576 resultobj = PyInt_FromLong((long)result);
13577 return resultobj;
13578 fail:
13579 return NULL;
13580 }
13581
13582
13583 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
13584 PyObject *resultobj;
13585 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13586 bool result;
13587 PyObject * obj0 = 0 ;
13588 char *kwnames[] = {
13589 (char *) "self", NULL
13590 };
13591
13592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
13593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13594 {
13595 PyThreadState* __tstate = wxPyBeginAllowThreads();
13596 result = (bool)(arg1)->base_Validate();
13597
13598 wxPyEndAllowThreads(__tstate);
13599 if (PyErr_Occurred()) SWIG_fail;
13600 }
13601 resultobj = PyInt_FromLong((long)result);
13602 return resultobj;
13603 fail:
13604 return NULL;
13605 }
13606
13607
13608 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
13609 PyObject *resultobj;
13610 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13611 bool result;
13612 PyObject * obj0 = 0 ;
13613 char *kwnames[] = {
13614 (char *) "self", NULL
13615 };
13616
13617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
13618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13619 {
13620 PyThreadState* __tstate = wxPyBeginAllowThreads();
13621 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
13622
13623 wxPyEndAllowThreads(__tstate);
13624 if (PyErr_Occurred()) SWIG_fail;
13625 }
13626 resultobj = PyInt_FromLong((long)result);
13627 return resultobj;
13628 fail:
13629 return NULL;
13630 }
13631
13632
13633 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
13634 PyObject *resultobj;
13635 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13636 bool result;
13637 PyObject * obj0 = 0 ;
13638 char *kwnames[] = {
13639 (char *) "self", NULL
13640 };
13641
13642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
13643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13644 {
13645 PyThreadState* __tstate = wxPyBeginAllowThreads();
13646 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
13647
13648 wxPyEndAllowThreads(__tstate);
13649 if (PyErr_Occurred()) SWIG_fail;
13650 }
13651 resultobj = PyInt_FromLong((long)result);
13652 return resultobj;
13653 fail:
13654 return NULL;
13655 }
13656
13657
13658 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13659 PyObject *resultobj;
13660 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13661 wxSize result;
13662 PyObject * obj0 = 0 ;
13663 char *kwnames[] = {
13664 (char *) "self", NULL
13665 };
13666
13667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
13668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13669 {
13670 PyThreadState* __tstate = wxPyBeginAllowThreads();
13671 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
13672
13673 wxPyEndAllowThreads(__tstate);
13674 if (PyErr_Occurred()) SWIG_fail;
13675 }
13676 {
13677 wxSize * resultptr;
13678 resultptr = new wxSize((wxSize &) result);
13679 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13680 }
13681 return resultobj;
13682 fail:
13683 return NULL;
13684 }
13685
13686
13687 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
13688 PyObject *resultobj;
13689 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13690 wxWindow *arg2 = (wxWindow *) 0 ;
13691 PyObject * obj0 = 0 ;
13692 PyObject * obj1 = 0 ;
13693 char *kwnames[] = {
13694 (char *) "self",(char *) "child", NULL
13695 };
13696
13697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
13698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13699 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13700 {
13701 PyThreadState* __tstate = wxPyBeginAllowThreads();
13702 (arg1)->base_AddChild(arg2);
13703
13704 wxPyEndAllowThreads(__tstate);
13705 if (PyErr_Occurred()) SWIG_fail;
13706 }
13707 Py_INCREF(Py_None); resultobj = Py_None;
13708 return resultobj;
13709 fail:
13710 return NULL;
13711 }
13712
13713
13714 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
13715 PyObject *resultobj;
13716 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13717 wxWindow *arg2 = (wxWindow *) 0 ;
13718 PyObject * obj0 = 0 ;
13719 PyObject * obj1 = 0 ;
13720 char *kwnames[] = {
13721 (char *) "self",(char *) "child", NULL
13722 };
13723
13724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
13725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13726 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13727 {
13728 PyThreadState* __tstate = wxPyBeginAllowThreads();
13729 (arg1)->base_RemoveChild(arg2);
13730
13731 wxPyEndAllowThreads(__tstate);
13732 if (PyErr_Occurred()) SWIG_fail;
13733 }
13734 Py_INCREF(Py_None); resultobj = Py_None;
13735 return resultobj;
13736 fail:
13737 return NULL;
13738 }
13739
13740
13741 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
13742 PyObject *obj;
13743 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13744 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
13745 Py_INCREF(obj);
13746 return Py_BuildValue((char *)"");
13747 }
13748 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
13749 PyObject *resultobj;
13750 wxWindow *arg1 = (wxWindow *) 0 ;
13751 int arg2 ;
13752 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13753 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13754 wxSize const &arg4_defvalue = wxDefaultSize ;
13755 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13756 long arg5 = (long) 0 ;
13757 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13758 wxString *arg6 = (wxString *) &arg6_defvalue ;
13759 wxPyPanel *result;
13760 wxPoint temp3 ;
13761 wxSize temp4 ;
13762 bool temp6 = False ;
13763 PyObject * obj0 = 0 ;
13764 PyObject * obj2 = 0 ;
13765 PyObject * obj3 = 0 ;
13766 PyObject * obj5 = 0 ;
13767 char *kwnames[] = {
13768 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13769 };
13770
13771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyPanel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
13772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13773 if (obj2) {
13774 {
13775 arg3 = &temp3;
13776 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13777 }
13778 }
13779 if (obj3) {
13780 {
13781 arg4 = &temp4;
13782 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13783 }
13784 }
13785 if (obj5) {
13786 {
13787 arg6 = wxString_in_helper(obj5);
13788 if (arg6 == NULL) SWIG_fail;
13789 temp6 = True;
13790 }
13791 }
13792 {
13793 PyThreadState* __tstate = wxPyBeginAllowThreads();
13794 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13795
13796 wxPyEndAllowThreads(__tstate);
13797 if (PyErr_Occurred()) SWIG_fail;
13798 }
13799 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPanel, 1);
13800 {
13801 if (temp6)
13802 delete arg6;
13803 }
13804 return resultobj;
13805 fail:
13806 {
13807 if (temp6)
13808 delete arg6;
13809 }
13810 return NULL;
13811 }
13812
13813
13814 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
13815 PyObject *resultobj;
13816 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
13817 PyObject *arg2 = (PyObject *) 0 ;
13818 PyObject *arg3 = (PyObject *) 0 ;
13819 PyObject * obj0 = 0 ;
13820 PyObject * obj1 = 0 ;
13821 PyObject * obj2 = 0 ;
13822 char *kwnames[] = {
13823 (char *) "self",(char *) "self",(char *) "_class", NULL
13824 };
13825
13826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
13827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13828 arg2 = obj1;
13829 arg3 = obj2;
13830 {
13831 PyThreadState* __tstate = wxPyBeginAllowThreads();
13832 (arg1)->_setCallbackInfo(arg2,arg3);
13833
13834 wxPyEndAllowThreads(__tstate);
13835 if (PyErr_Occurred()) SWIG_fail;
13836 }
13837 Py_INCREF(Py_None); resultobj = Py_None;
13838 return resultobj;
13839 fail:
13840 return NULL;
13841 }
13842
13843
13844 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13845 PyObject *resultobj;
13846 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
13847 int arg2 ;
13848 int arg3 ;
13849 int arg4 ;
13850 int arg5 ;
13851 PyObject * obj0 = 0 ;
13852 char *kwnames[] = {
13853 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13854 };
13855
13856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyPanel_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13858 {
13859 PyThreadState* __tstate = wxPyBeginAllowThreads();
13860 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
13861
13862 wxPyEndAllowThreads(__tstate);
13863 if (PyErr_Occurred()) SWIG_fail;
13864 }
13865 Py_INCREF(Py_None); resultobj = Py_None;
13866 return resultobj;
13867 fail:
13868 return NULL;
13869 }
13870
13871
13872 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13873 PyObject *resultobj;
13874 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
13875 int arg2 ;
13876 int arg3 ;
13877 int arg4 ;
13878 int arg5 ;
13879 int arg6 = (int) wxSIZE_AUTO ;
13880 PyObject * obj0 = 0 ;
13881 char *kwnames[] = {
13882 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
13883 };
13884
13885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyPanel_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
13886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13887 {
13888 PyThreadState* __tstate = wxPyBeginAllowThreads();
13889 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
13890
13891 wxPyEndAllowThreads(__tstate);
13892 if (PyErr_Occurred()) SWIG_fail;
13893 }
13894 Py_INCREF(Py_None); resultobj = Py_None;
13895 return resultobj;
13896 fail:
13897 return NULL;
13898 }
13899
13900
13901 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13902 PyObject *resultobj;
13903 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
13904 int arg2 ;
13905 int arg3 ;
13906 PyObject * obj0 = 0 ;
13907 char *kwnames[] = {
13908 (char *) "self",(char *) "width",(char *) "height", NULL
13909 };
13910
13911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13913 {
13914 PyThreadState* __tstate = wxPyBeginAllowThreads();
13915 (arg1)->base_DoSetClientSize(arg2,arg3);
13916
13917 wxPyEndAllowThreads(__tstate);
13918 if (PyErr_Occurred()) SWIG_fail;
13919 }
13920 Py_INCREF(Py_None); resultobj = Py_None;
13921 return resultobj;
13922 fail:
13923 return NULL;
13924 }
13925
13926
13927 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13928 PyObject *resultobj;
13929 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
13930 int arg2 ;
13931 int arg3 ;
13932 PyObject * obj0 = 0 ;
13933 char *kwnames[] = {
13934 (char *) "self",(char *) "x",(char *) "y", NULL
13935 };
13936
13937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13939 {
13940 PyThreadState* __tstate = wxPyBeginAllowThreads();
13941 (arg1)->base_DoSetVirtualSize(arg2,arg3);
13942
13943 wxPyEndAllowThreads(__tstate);
13944 if (PyErr_Occurred()) SWIG_fail;
13945 }
13946 Py_INCREF(Py_None); resultobj = Py_None;
13947 return resultobj;
13948 fail:
13949 return NULL;
13950 }
13951
13952
13953 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13954 PyObject *resultobj;
13955 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
13956 int *arg2 = (int *) 0 ;
13957 int *arg3 = (int *) 0 ;
13958 int temp2 ;
13959 int temp3 ;
13960 PyObject * obj0 = 0 ;
13961 char *kwnames[] = {
13962 (char *) "self", NULL
13963 };
13964
13965 arg2 = &temp2;
13966 arg3 = &temp3;
13967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
13968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13969 {
13970 PyThreadState* __tstate = wxPyBeginAllowThreads();
13971 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
13972
13973 wxPyEndAllowThreads(__tstate);
13974 if (PyErr_Occurred()) SWIG_fail;
13975 }
13976 Py_INCREF(Py_None); resultobj = Py_None;
13977 {
13978 PyObject *o = PyInt_FromLong((long) (*arg2));
13979 resultobj = t_output_helper(resultobj,o);
13980 }
13981 {
13982 PyObject *o = PyInt_FromLong((long) (*arg3));
13983 resultobj = t_output_helper(resultobj,o);
13984 }
13985 return resultobj;
13986 fail:
13987 return NULL;
13988 }
13989
13990
13991 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13992 PyObject *resultobj;
13993 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
13994 int *arg2 = (int *) 0 ;
13995 int *arg3 = (int *) 0 ;
13996 int temp2 ;
13997 int temp3 ;
13998 PyObject * obj0 = 0 ;
13999 char *kwnames[] = {
14000 (char *) "self", NULL
14001 };
14002
14003 arg2 = &temp2;
14004 arg3 = &temp3;
14005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
14006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14007 {
14008 PyThreadState* __tstate = wxPyBeginAllowThreads();
14009 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
14010
14011 wxPyEndAllowThreads(__tstate);
14012 if (PyErr_Occurred()) SWIG_fail;
14013 }
14014 Py_INCREF(Py_None); resultobj = Py_None;
14015 {
14016 PyObject *o = PyInt_FromLong((long) (*arg2));
14017 resultobj = t_output_helper(resultobj,o);
14018 }
14019 {
14020 PyObject *o = PyInt_FromLong((long) (*arg3));
14021 resultobj = t_output_helper(resultobj,o);
14022 }
14023 return resultobj;
14024 fail:
14025 return NULL;
14026 }
14027
14028
14029 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14030 PyObject *resultobj;
14031 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14032 int *arg2 = (int *) 0 ;
14033 int *arg3 = (int *) 0 ;
14034 int temp2 ;
14035 int temp3 ;
14036 PyObject * obj0 = 0 ;
14037 char *kwnames[] = {
14038 (char *) "self", NULL
14039 };
14040
14041 arg2 = &temp2;
14042 arg3 = &temp3;
14043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
14044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14045 {
14046 PyThreadState* __tstate = wxPyBeginAllowThreads();
14047 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
14048
14049 wxPyEndAllowThreads(__tstate);
14050 if (PyErr_Occurred()) SWIG_fail;
14051 }
14052 Py_INCREF(Py_None); resultobj = Py_None;
14053 {
14054 PyObject *o = PyInt_FromLong((long) (*arg2));
14055 resultobj = t_output_helper(resultobj,o);
14056 }
14057 {
14058 PyObject *o = PyInt_FromLong((long) (*arg3));
14059 resultobj = t_output_helper(resultobj,o);
14060 }
14061 return resultobj;
14062 fail:
14063 return NULL;
14064 }
14065
14066
14067 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14068 PyObject *resultobj;
14069 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14070 wxSize result;
14071 PyObject * obj0 = 0 ;
14072 char *kwnames[] = {
14073 (char *) "self", NULL
14074 };
14075
14076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
14077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14078 {
14079 PyThreadState* __tstate = wxPyBeginAllowThreads();
14080 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
14081
14082 wxPyEndAllowThreads(__tstate);
14083 if (PyErr_Occurred()) SWIG_fail;
14084 }
14085 {
14086 wxSize * resultptr;
14087 resultptr = new wxSize((wxSize &) result);
14088 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14089 }
14090 return resultobj;
14091 fail:
14092 return NULL;
14093 }
14094
14095
14096 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14097 PyObject *resultobj;
14098 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14099 wxSize result;
14100 PyObject * obj0 = 0 ;
14101 char *kwnames[] = {
14102 (char *) "self", NULL
14103 };
14104
14105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
14106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14107 {
14108 PyThreadState* __tstate = wxPyBeginAllowThreads();
14109 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
14110
14111 wxPyEndAllowThreads(__tstate);
14112 if (PyErr_Occurred()) SWIG_fail;
14113 }
14114 {
14115 wxSize * resultptr;
14116 resultptr = new wxSize((wxSize &) result);
14117 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14118 }
14119 return resultobj;
14120 fail:
14121 return NULL;
14122 }
14123
14124
14125 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14126 PyObject *resultobj;
14127 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14128 PyObject * obj0 = 0 ;
14129 char *kwnames[] = {
14130 (char *) "self", NULL
14131 };
14132
14133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
14134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14135 {
14136 PyThreadState* __tstate = wxPyBeginAllowThreads();
14137 (arg1)->base_InitDialog();
14138
14139 wxPyEndAllowThreads(__tstate);
14140 if (PyErr_Occurred()) SWIG_fail;
14141 }
14142 Py_INCREF(Py_None); resultobj = Py_None;
14143 return resultobj;
14144 fail:
14145 return NULL;
14146 }
14147
14148
14149 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14150 PyObject *resultobj;
14151 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14152 bool result;
14153 PyObject * obj0 = 0 ;
14154 char *kwnames[] = {
14155 (char *) "self", NULL
14156 };
14157
14158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
14159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14160 {
14161 PyThreadState* __tstate = wxPyBeginAllowThreads();
14162 result = (bool)(arg1)->base_TransferDataToWindow();
14163
14164 wxPyEndAllowThreads(__tstate);
14165 if (PyErr_Occurred()) SWIG_fail;
14166 }
14167 resultobj = PyInt_FromLong((long)result);
14168 return resultobj;
14169 fail:
14170 return NULL;
14171 }
14172
14173
14174 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14175 PyObject *resultobj;
14176 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14177 bool result;
14178 PyObject * obj0 = 0 ;
14179 char *kwnames[] = {
14180 (char *) "self", NULL
14181 };
14182
14183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) 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 result = (bool)(arg1)->base_TransferDataFromWindow();
14188
14189 wxPyEndAllowThreads(__tstate);
14190 if (PyErr_Occurred()) SWIG_fail;
14191 }
14192 resultobj = PyInt_FromLong((long)result);
14193 return resultobj;
14194 fail:
14195 return NULL;
14196 }
14197
14198
14199 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
14200 PyObject *resultobj;
14201 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14202 bool result;
14203 PyObject * obj0 = 0 ;
14204 char *kwnames[] = {
14205 (char *) "self", NULL
14206 };
14207
14208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
14209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14210 {
14211 PyThreadState* __tstate = wxPyBeginAllowThreads();
14212 result = (bool)(arg1)->base_Validate();
14213
14214 wxPyEndAllowThreads(__tstate);
14215 if (PyErr_Occurred()) SWIG_fail;
14216 }
14217 resultobj = PyInt_FromLong((long)result);
14218 return resultobj;
14219 fail:
14220 return NULL;
14221 }
14222
14223
14224 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
14225 PyObject *resultobj;
14226 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14227 bool result;
14228 PyObject * obj0 = 0 ;
14229 char *kwnames[] = {
14230 (char *) "self", NULL
14231 };
14232
14233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
14234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14235 {
14236 PyThreadState* __tstate = wxPyBeginAllowThreads();
14237 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
14238
14239 wxPyEndAllowThreads(__tstate);
14240 if (PyErr_Occurred()) SWIG_fail;
14241 }
14242 resultobj = PyInt_FromLong((long)result);
14243 return resultobj;
14244 fail:
14245 return NULL;
14246 }
14247
14248
14249 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
14250 PyObject *resultobj;
14251 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14252 bool result;
14253 PyObject * obj0 = 0 ;
14254 char *kwnames[] = {
14255 (char *) "self", NULL
14256 };
14257
14258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
14259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14260 {
14261 PyThreadState* __tstate = wxPyBeginAllowThreads();
14262 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
14263
14264 wxPyEndAllowThreads(__tstate);
14265 if (PyErr_Occurred()) SWIG_fail;
14266 }
14267 resultobj = PyInt_FromLong((long)result);
14268 return resultobj;
14269 fail:
14270 return NULL;
14271 }
14272
14273
14274 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14275 PyObject *resultobj;
14276 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14277 wxSize result;
14278 PyObject * obj0 = 0 ;
14279 char *kwnames[] = {
14280 (char *) "self", NULL
14281 };
14282
14283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
14284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14285 {
14286 PyThreadState* __tstate = wxPyBeginAllowThreads();
14287 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
14288
14289 wxPyEndAllowThreads(__tstate);
14290 if (PyErr_Occurred()) SWIG_fail;
14291 }
14292 {
14293 wxSize * resultptr;
14294 resultptr = new wxSize((wxSize &) result);
14295 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14296 }
14297 return resultobj;
14298 fail:
14299 return NULL;
14300 }
14301
14302
14303 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14304 PyObject *resultobj;
14305 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14306 wxWindow *arg2 = (wxWindow *) 0 ;
14307 PyObject * obj0 = 0 ;
14308 PyObject * obj1 = 0 ;
14309 char *kwnames[] = {
14310 (char *) "self",(char *) "child", NULL
14311 };
14312
14313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
14314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14315 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14316 {
14317 PyThreadState* __tstate = wxPyBeginAllowThreads();
14318 (arg1)->base_AddChild(arg2);
14319
14320 wxPyEndAllowThreads(__tstate);
14321 if (PyErr_Occurred()) SWIG_fail;
14322 }
14323 Py_INCREF(Py_None); resultobj = Py_None;
14324 return resultobj;
14325 fail:
14326 return NULL;
14327 }
14328
14329
14330 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14331 PyObject *resultobj;
14332 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14333 wxWindow *arg2 = (wxWindow *) 0 ;
14334 PyObject * obj0 = 0 ;
14335 PyObject * obj1 = 0 ;
14336 char *kwnames[] = {
14337 (char *) "self",(char *) "child", NULL
14338 };
14339
14340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
14341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14342 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14343 {
14344 PyThreadState* __tstate = wxPyBeginAllowThreads();
14345 (arg1)->base_RemoveChild(arg2);
14346
14347 wxPyEndAllowThreads(__tstate);
14348 if (PyErr_Occurred()) SWIG_fail;
14349 }
14350 Py_INCREF(Py_None); resultobj = Py_None;
14351 return resultobj;
14352 fail:
14353 return NULL;
14354 }
14355
14356
14357 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
14358 PyObject *obj;
14359 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14360 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
14361 Py_INCREF(obj);
14362 return Py_BuildValue((char *)"");
14363 }
14364 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
14365 PyObject *resultobj;
14366 wxPrintData *result;
14367 char *kwnames[] = {
14368 NULL
14369 };
14370
14371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
14372 {
14373 PyThreadState* __tstate = wxPyBeginAllowThreads();
14374 result = (wxPrintData *)new wxPrintData();
14375
14376 wxPyEndAllowThreads(__tstate);
14377 if (PyErr_Occurred()) SWIG_fail;
14378 }
14379 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 1);
14380 return resultobj;
14381 fail:
14382 return NULL;
14383 }
14384
14385
14386 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
14387 PyObject *resultobj;
14388 wxPrintData *arg1 = (wxPrintData *) 0 ;
14389 PyObject * obj0 = 0 ;
14390 char *kwnames[] = {
14391 (char *) "self", NULL
14392 };
14393
14394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
14395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14396 {
14397 PyThreadState* __tstate = wxPyBeginAllowThreads();
14398 delete arg1;
14399
14400 wxPyEndAllowThreads(__tstate);
14401 if (PyErr_Occurred()) SWIG_fail;
14402 }
14403 Py_INCREF(Py_None); resultobj = Py_None;
14404 return resultobj;
14405 fail:
14406 return NULL;
14407 }
14408
14409
14410 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
14411 PyObject *resultobj;
14412 wxPrintData *arg1 = (wxPrintData *) 0 ;
14413 int result;
14414 PyObject * obj0 = 0 ;
14415 char *kwnames[] = {
14416 (char *) "self", NULL
14417 };
14418
14419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
14420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14421 {
14422 PyThreadState* __tstate = wxPyBeginAllowThreads();
14423 result = (int)(arg1)->GetNoCopies();
14424
14425 wxPyEndAllowThreads(__tstate);
14426 if (PyErr_Occurred()) SWIG_fail;
14427 }
14428 resultobj = PyInt_FromLong((long)result);
14429 return resultobj;
14430 fail:
14431 return NULL;
14432 }
14433
14434
14435 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
14436 PyObject *resultobj;
14437 wxPrintData *arg1 = (wxPrintData *) 0 ;
14438 bool result;
14439 PyObject * obj0 = 0 ;
14440 char *kwnames[] = {
14441 (char *) "self", NULL
14442 };
14443
14444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
14445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14446 {
14447 PyThreadState* __tstate = wxPyBeginAllowThreads();
14448 result = (bool)(arg1)->GetCollate();
14449
14450 wxPyEndAllowThreads(__tstate);
14451 if (PyErr_Occurred()) SWIG_fail;
14452 }
14453 resultobj = PyInt_FromLong((long)result);
14454 return resultobj;
14455 fail:
14456 return NULL;
14457 }
14458
14459
14460 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
14461 PyObject *resultobj;
14462 wxPrintData *arg1 = (wxPrintData *) 0 ;
14463 int result;
14464 PyObject * obj0 = 0 ;
14465 char *kwnames[] = {
14466 (char *) "self", NULL
14467 };
14468
14469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
14470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14471 {
14472 PyThreadState* __tstate = wxPyBeginAllowThreads();
14473 result = (int)(arg1)->GetOrientation();
14474
14475 wxPyEndAllowThreads(__tstate);
14476 if (PyErr_Occurred()) SWIG_fail;
14477 }
14478 resultobj = PyInt_FromLong((long)result);
14479 return resultobj;
14480 fail:
14481 return NULL;
14482 }
14483
14484
14485 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
14486 PyObject *resultobj;
14487 wxPrintData *arg1 = (wxPrintData *) 0 ;
14488 bool result;
14489 PyObject * obj0 = 0 ;
14490 char *kwnames[] = {
14491 (char *) "self", NULL
14492 };
14493
14494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
14495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14496 {
14497 PyThreadState* __tstate = wxPyBeginAllowThreads();
14498 result = (bool)(arg1)->Ok();
14499
14500 wxPyEndAllowThreads(__tstate);
14501 if (PyErr_Occurred()) SWIG_fail;
14502 }
14503 resultobj = PyInt_FromLong((long)result);
14504 return resultobj;
14505 fail:
14506 return NULL;
14507 }
14508
14509
14510 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
14511 PyObject *resultobj;
14512 wxPrintData *arg1 = (wxPrintData *) 0 ;
14513 wxString *result;
14514 PyObject * obj0 = 0 ;
14515 char *kwnames[] = {
14516 (char *) "self", NULL
14517 };
14518
14519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
14520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14521 {
14522 PyThreadState* __tstate = wxPyBeginAllowThreads();
14523 {
14524 wxString const &_result_ref = (arg1)->GetPrinterName();
14525 result = (wxString *) &_result_ref;
14526 }
14527
14528 wxPyEndAllowThreads(__tstate);
14529 if (PyErr_Occurred()) SWIG_fail;
14530 }
14531 {
14532 #if wxUSE_UNICODE
14533 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14534 #else
14535 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14536 #endif
14537 }
14538 return resultobj;
14539 fail:
14540 return NULL;
14541 }
14542
14543
14544 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
14545 PyObject *resultobj;
14546 wxPrintData *arg1 = (wxPrintData *) 0 ;
14547 bool result;
14548 PyObject * obj0 = 0 ;
14549 char *kwnames[] = {
14550 (char *) "self", NULL
14551 };
14552
14553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
14554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14555 {
14556 PyThreadState* __tstate = wxPyBeginAllowThreads();
14557 result = (bool)(arg1)->GetColour();
14558
14559 wxPyEndAllowThreads(__tstate);
14560 if (PyErr_Occurred()) SWIG_fail;
14561 }
14562 resultobj = PyInt_FromLong((long)result);
14563 return resultobj;
14564 fail:
14565 return NULL;
14566 }
14567
14568
14569 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
14570 PyObject *resultobj;
14571 wxPrintData *arg1 = (wxPrintData *) 0 ;
14572 int result;
14573 PyObject * obj0 = 0 ;
14574 char *kwnames[] = {
14575 (char *) "self", NULL
14576 };
14577
14578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
14579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14580 {
14581 PyThreadState* __tstate = wxPyBeginAllowThreads();
14582 result = (int)(arg1)->GetDuplex();
14583
14584 wxPyEndAllowThreads(__tstate);
14585 if (PyErr_Occurred()) SWIG_fail;
14586 }
14587 resultobj = PyInt_FromLong((long)result);
14588 return resultobj;
14589 fail:
14590 return NULL;
14591 }
14592
14593
14594 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
14595 PyObject *resultobj;
14596 wxPrintData *arg1 = (wxPrintData *) 0 ;
14597 int result;
14598 PyObject * obj0 = 0 ;
14599 char *kwnames[] = {
14600 (char *) "self", NULL
14601 };
14602
14603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
14604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14605 {
14606 PyThreadState* __tstate = wxPyBeginAllowThreads();
14607 result = (int)(arg1)->GetPaperId();
14608
14609 wxPyEndAllowThreads(__tstate);
14610 if (PyErr_Occurred()) SWIG_fail;
14611 }
14612 resultobj = PyInt_FromLong((long)result);
14613 return resultobj;
14614 fail:
14615 return NULL;
14616 }
14617
14618
14619 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14620 PyObject *resultobj;
14621 wxPrintData *arg1 = (wxPrintData *) 0 ;
14622 wxSize *result;
14623 PyObject * obj0 = 0 ;
14624 char *kwnames[] = {
14625 (char *) "self", NULL
14626 };
14627
14628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
14629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14630 {
14631 PyThreadState* __tstate = wxPyBeginAllowThreads();
14632 {
14633 wxSize const &_result_ref = (arg1)->GetPaperSize();
14634 result = (wxSize *) &_result_ref;
14635 }
14636
14637 wxPyEndAllowThreads(__tstate);
14638 if (PyErr_Occurred()) SWIG_fail;
14639 }
14640 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
14641 return resultobj;
14642 fail:
14643 return NULL;
14644 }
14645
14646
14647 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
14648 PyObject *resultobj;
14649 wxPrintData *arg1 = (wxPrintData *) 0 ;
14650 wxPrintQuality result;
14651 PyObject * obj0 = 0 ;
14652 char *kwnames[] = {
14653 (char *) "self", NULL
14654 };
14655
14656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
14657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14658 {
14659 PyThreadState* __tstate = wxPyBeginAllowThreads();
14660 result = (arg1)->GetQuality();
14661
14662 wxPyEndAllowThreads(__tstate);
14663 if (PyErr_Occurred()) SWIG_fail;
14664 }
14665 {
14666 wxPrintQuality * resultptr;
14667 resultptr = new wxPrintQuality((wxPrintQuality &) result);
14668 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPrintQuality, 1);
14669 }
14670 return resultobj;
14671 fail:
14672 return NULL;
14673 }
14674
14675
14676 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
14677 PyObject *resultobj;
14678 wxPrintData *arg1 = (wxPrintData *) 0 ;
14679 int arg2 ;
14680 PyObject * obj0 = 0 ;
14681 char *kwnames[] = {
14682 (char *) "self",(char *) "v", NULL
14683 };
14684
14685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
14686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14687 {
14688 PyThreadState* __tstate = wxPyBeginAllowThreads();
14689 (arg1)->SetNoCopies(arg2);
14690
14691 wxPyEndAllowThreads(__tstate);
14692 if (PyErr_Occurred()) SWIG_fail;
14693 }
14694 Py_INCREF(Py_None); resultobj = Py_None;
14695 return resultobj;
14696 fail:
14697 return NULL;
14698 }
14699
14700
14701 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
14702 PyObject *resultobj;
14703 wxPrintData *arg1 = (wxPrintData *) 0 ;
14704 bool arg2 ;
14705 PyObject * obj0 = 0 ;
14706 PyObject * obj1 = 0 ;
14707 char *kwnames[] = {
14708 (char *) "self",(char *) "flag", NULL
14709 };
14710
14711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
14712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14713 arg2 = PyInt_AsLong(obj1) ? true : false;
14714 if (PyErr_Occurred()) SWIG_fail;
14715 {
14716 PyThreadState* __tstate = wxPyBeginAllowThreads();
14717 (arg1)->SetCollate(arg2);
14718
14719 wxPyEndAllowThreads(__tstate);
14720 if (PyErr_Occurred()) SWIG_fail;
14721 }
14722 Py_INCREF(Py_None); resultobj = Py_None;
14723 return resultobj;
14724 fail:
14725 return NULL;
14726 }
14727
14728
14729 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
14730 PyObject *resultobj;
14731 wxPrintData *arg1 = (wxPrintData *) 0 ;
14732 int arg2 ;
14733 PyObject * obj0 = 0 ;
14734 char *kwnames[] = {
14735 (char *) "self",(char *) "orient", NULL
14736 };
14737
14738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
14739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14740 {
14741 PyThreadState* __tstate = wxPyBeginAllowThreads();
14742 (arg1)->SetOrientation(arg2);
14743
14744 wxPyEndAllowThreads(__tstate);
14745 if (PyErr_Occurred()) SWIG_fail;
14746 }
14747 Py_INCREF(Py_None); resultobj = Py_None;
14748 return resultobj;
14749 fail:
14750 return NULL;
14751 }
14752
14753
14754 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
14755 PyObject *resultobj;
14756 wxPrintData *arg1 = (wxPrintData *) 0 ;
14757 wxString *arg2 = 0 ;
14758 bool temp2 = False ;
14759 PyObject * obj0 = 0 ;
14760 PyObject * obj1 = 0 ;
14761 char *kwnames[] = {
14762 (char *) "self",(char *) "name", NULL
14763 };
14764
14765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
14766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14767 {
14768 arg2 = wxString_in_helper(obj1);
14769 if (arg2 == NULL) SWIG_fail;
14770 temp2 = True;
14771 }
14772 {
14773 PyThreadState* __tstate = wxPyBeginAllowThreads();
14774 (arg1)->SetPrinterName((wxString const &)*arg2);
14775
14776 wxPyEndAllowThreads(__tstate);
14777 if (PyErr_Occurred()) SWIG_fail;
14778 }
14779 Py_INCREF(Py_None); resultobj = Py_None;
14780 {
14781 if (temp2)
14782 delete arg2;
14783 }
14784 return resultobj;
14785 fail:
14786 {
14787 if (temp2)
14788 delete arg2;
14789 }
14790 return NULL;
14791 }
14792
14793
14794 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
14795 PyObject *resultobj;
14796 wxPrintData *arg1 = (wxPrintData *) 0 ;
14797 bool arg2 ;
14798 PyObject * obj0 = 0 ;
14799 PyObject * obj1 = 0 ;
14800 char *kwnames[] = {
14801 (char *) "self",(char *) "colour", NULL
14802 };
14803
14804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
14805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14806 arg2 = PyInt_AsLong(obj1) ? true : false;
14807 if (PyErr_Occurred()) SWIG_fail;
14808 {
14809 PyThreadState* __tstate = wxPyBeginAllowThreads();
14810 (arg1)->SetColour(arg2);
14811
14812 wxPyEndAllowThreads(__tstate);
14813 if (PyErr_Occurred()) SWIG_fail;
14814 }
14815 Py_INCREF(Py_None); resultobj = Py_None;
14816 return resultobj;
14817 fail:
14818 return NULL;
14819 }
14820
14821
14822 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
14823 PyObject *resultobj;
14824 wxPrintData *arg1 = (wxPrintData *) 0 ;
14825 int arg2 ;
14826 PyObject * obj0 = 0 ;
14827 char *kwnames[] = {
14828 (char *) "self",(char *) "duplex", NULL
14829 };
14830
14831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetDuplex",kwnames,&obj0,&arg2)) goto fail;
14832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14833 {
14834 PyThreadState* __tstate = wxPyBeginAllowThreads();
14835 (arg1)->SetDuplex((wxDuplexMode )arg2);
14836
14837 wxPyEndAllowThreads(__tstate);
14838 if (PyErr_Occurred()) SWIG_fail;
14839 }
14840 Py_INCREF(Py_None); resultobj = Py_None;
14841 return resultobj;
14842 fail:
14843 return NULL;
14844 }
14845
14846
14847 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
14848 PyObject *resultobj;
14849 wxPrintData *arg1 = (wxPrintData *) 0 ;
14850 int arg2 ;
14851 PyObject * obj0 = 0 ;
14852 char *kwnames[] = {
14853 (char *) "self",(char *) "sizeId", NULL
14854 };
14855
14856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
14857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14858 {
14859 PyThreadState* __tstate = wxPyBeginAllowThreads();
14860 (arg1)->SetPaperId((wxPaperSize )arg2);
14861
14862 wxPyEndAllowThreads(__tstate);
14863 if (PyErr_Occurred()) SWIG_fail;
14864 }
14865 Py_INCREF(Py_None); resultobj = Py_None;
14866 return resultobj;
14867 fail:
14868 return NULL;
14869 }
14870
14871
14872 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14873 PyObject *resultobj;
14874 wxPrintData *arg1 = (wxPrintData *) 0 ;
14875 wxSize *arg2 = 0 ;
14876 wxSize temp2 ;
14877 PyObject * obj0 = 0 ;
14878 PyObject * obj1 = 0 ;
14879 char *kwnames[] = {
14880 (char *) "self",(char *) "sz", NULL
14881 };
14882
14883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
14884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14885 {
14886 arg2 = &temp2;
14887 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14888 }
14889 {
14890 PyThreadState* __tstate = wxPyBeginAllowThreads();
14891 (arg1)->SetPaperSize((wxSize const &)*arg2);
14892
14893 wxPyEndAllowThreads(__tstate);
14894 if (PyErr_Occurred()) SWIG_fail;
14895 }
14896 Py_INCREF(Py_None); resultobj = Py_None;
14897 return resultobj;
14898 fail:
14899 return NULL;
14900 }
14901
14902
14903 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
14904 PyObject *resultobj;
14905 wxPrintData *arg1 = (wxPrintData *) 0 ;
14906 wxPrintQuality arg2 ;
14907 wxPrintQuality *argp2 ;
14908 PyObject * obj0 = 0 ;
14909 PyObject * obj1 = 0 ;
14910 char *kwnames[] = {
14911 (char *) "self",(char *) "quality", NULL
14912 };
14913
14914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
14915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14916 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxPrintQuality,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
14917 arg2 = *argp2;
14918 {
14919 PyThreadState* __tstate = wxPyBeginAllowThreads();
14920 (arg1)->SetQuality(arg2);
14921
14922 wxPyEndAllowThreads(__tstate);
14923 if (PyErr_Occurred()) SWIG_fail;
14924 }
14925 Py_INCREF(Py_None); resultobj = Py_None;
14926 return resultobj;
14927 fail:
14928 return NULL;
14929 }
14930
14931
14932 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
14933 PyObject *resultobj;
14934 wxPrintData *arg1 = (wxPrintData *) 0 ;
14935 wxString *result;
14936 PyObject * obj0 = 0 ;
14937 char *kwnames[] = {
14938 (char *) "self", NULL
14939 };
14940
14941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
14942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14943 {
14944 PyThreadState* __tstate = wxPyBeginAllowThreads();
14945 {
14946 wxString const &_result_ref = (arg1)->GetPrinterCommand();
14947 result = (wxString *) &_result_ref;
14948 }
14949
14950 wxPyEndAllowThreads(__tstate);
14951 if (PyErr_Occurred()) SWIG_fail;
14952 }
14953 {
14954 #if wxUSE_UNICODE
14955 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14956 #else
14957 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14958 #endif
14959 }
14960 return resultobj;
14961 fail:
14962 return NULL;
14963 }
14964
14965
14966 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
14967 PyObject *resultobj;
14968 wxPrintData *arg1 = (wxPrintData *) 0 ;
14969 wxString *result;
14970 PyObject * obj0 = 0 ;
14971 char *kwnames[] = {
14972 (char *) "self", NULL
14973 };
14974
14975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
14976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14977 {
14978 PyThreadState* __tstate = wxPyBeginAllowThreads();
14979 {
14980 wxString const &_result_ref = (arg1)->GetPrinterOptions();
14981 result = (wxString *) &_result_ref;
14982 }
14983
14984 wxPyEndAllowThreads(__tstate);
14985 if (PyErr_Occurred()) SWIG_fail;
14986 }
14987 {
14988 #if wxUSE_UNICODE
14989 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14990 #else
14991 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14992 #endif
14993 }
14994 return resultobj;
14995 fail:
14996 return NULL;
14997 }
14998
14999
15000 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15001 PyObject *resultobj;
15002 wxPrintData *arg1 = (wxPrintData *) 0 ;
15003 wxString *result;
15004 PyObject * obj0 = 0 ;
15005 char *kwnames[] = {
15006 (char *) "self", NULL
15007 };
15008
15009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
15010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15011 {
15012 PyThreadState* __tstate = wxPyBeginAllowThreads();
15013 {
15014 wxString const &_result_ref = (arg1)->GetPreviewCommand();
15015 result = (wxString *) &_result_ref;
15016 }
15017
15018 wxPyEndAllowThreads(__tstate);
15019 if (PyErr_Occurred()) SWIG_fail;
15020 }
15021 {
15022 #if wxUSE_UNICODE
15023 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15024 #else
15025 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15026 #endif
15027 }
15028 return resultobj;
15029 fail:
15030 return NULL;
15031 }
15032
15033
15034 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
15035 PyObject *resultobj;
15036 wxPrintData *arg1 = (wxPrintData *) 0 ;
15037 wxString *result;
15038 PyObject * obj0 = 0 ;
15039 char *kwnames[] = {
15040 (char *) "self", NULL
15041 };
15042
15043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
15044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15045 {
15046 PyThreadState* __tstate = wxPyBeginAllowThreads();
15047 {
15048 wxString const &_result_ref = (arg1)->GetFilename();
15049 result = (wxString *) &_result_ref;
15050 }
15051
15052 wxPyEndAllowThreads(__tstate);
15053 if (PyErr_Occurred()) SWIG_fail;
15054 }
15055 {
15056 #if wxUSE_UNICODE
15057 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15058 #else
15059 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15060 #endif
15061 }
15062 return resultobj;
15063 fail:
15064 return NULL;
15065 }
15066
15067
15068 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
15069 PyObject *resultobj;
15070 wxPrintData *arg1 = (wxPrintData *) 0 ;
15071 wxString *result;
15072 PyObject * obj0 = 0 ;
15073 char *kwnames[] = {
15074 (char *) "self", NULL
15075 };
15076
15077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
15078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15079 {
15080 PyThreadState* __tstate = wxPyBeginAllowThreads();
15081 {
15082 wxString const &_result_ref = (arg1)->GetFontMetricPath();
15083 result = (wxString *) &_result_ref;
15084 }
15085
15086 wxPyEndAllowThreads(__tstate);
15087 if (PyErr_Occurred()) SWIG_fail;
15088 }
15089 {
15090 #if wxUSE_UNICODE
15091 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15092 #else
15093 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15094 #endif
15095 }
15096 return resultobj;
15097 fail:
15098 return NULL;
15099 }
15100
15101
15102 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
15103 PyObject *resultobj;
15104 wxPrintData *arg1 = (wxPrintData *) 0 ;
15105 double result;
15106 PyObject * obj0 = 0 ;
15107 char *kwnames[] = {
15108 (char *) "self", NULL
15109 };
15110
15111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
15112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15113 {
15114 PyThreadState* __tstate = wxPyBeginAllowThreads();
15115 result = (double)(arg1)->GetPrinterScaleX();
15116
15117 wxPyEndAllowThreads(__tstate);
15118 if (PyErr_Occurred()) SWIG_fail;
15119 }
15120 resultobj = PyFloat_FromDouble(result);
15121 return resultobj;
15122 fail:
15123 return NULL;
15124 }
15125
15126
15127 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
15128 PyObject *resultobj;
15129 wxPrintData *arg1 = (wxPrintData *) 0 ;
15130 double result;
15131 PyObject * obj0 = 0 ;
15132 char *kwnames[] = {
15133 (char *) "self", NULL
15134 };
15135
15136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
15137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15138 {
15139 PyThreadState* __tstate = wxPyBeginAllowThreads();
15140 result = (double)(arg1)->GetPrinterScaleY();
15141
15142 wxPyEndAllowThreads(__tstate);
15143 if (PyErr_Occurred()) SWIG_fail;
15144 }
15145 resultobj = PyFloat_FromDouble(result);
15146 return resultobj;
15147 fail:
15148 return NULL;
15149 }
15150
15151
15152 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
15153 PyObject *resultobj;
15154 wxPrintData *arg1 = (wxPrintData *) 0 ;
15155 long result;
15156 PyObject * obj0 = 0 ;
15157 char *kwnames[] = {
15158 (char *) "self", NULL
15159 };
15160
15161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
15162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15163 {
15164 PyThreadState* __tstate = wxPyBeginAllowThreads();
15165 result = (long)(arg1)->GetPrinterTranslateX();
15166
15167 wxPyEndAllowThreads(__tstate);
15168 if (PyErr_Occurred()) SWIG_fail;
15169 }
15170 resultobj = PyInt_FromLong((long)result);
15171 return resultobj;
15172 fail:
15173 return NULL;
15174 }
15175
15176
15177 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
15178 PyObject *resultobj;
15179 wxPrintData *arg1 = (wxPrintData *) 0 ;
15180 long result;
15181 PyObject * obj0 = 0 ;
15182 char *kwnames[] = {
15183 (char *) "self", NULL
15184 };
15185
15186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
15187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15188 {
15189 PyThreadState* __tstate = wxPyBeginAllowThreads();
15190 result = (long)(arg1)->GetPrinterTranslateY();
15191
15192 wxPyEndAllowThreads(__tstate);
15193 if (PyErr_Occurred()) SWIG_fail;
15194 }
15195 resultobj = PyInt_FromLong((long)result);
15196 return resultobj;
15197 fail:
15198 return NULL;
15199 }
15200
15201
15202 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
15203 PyObject *resultobj;
15204 wxPrintData *arg1 = (wxPrintData *) 0 ;
15205 int result;
15206 PyObject * obj0 = 0 ;
15207 char *kwnames[] = {
15208 (char *) "self", NULL
15209 };
15210
15211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
15212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15213 {
15214 PyThreadState* __tstate = wxPyBeginAllowThreads();
15215 result = (int)(arg1)->GetPrintMode();
15216
15217 wxPyEndAllowThreads(__tstate);
15218 if (PyErr_Occurred()) SWIG_fail;
15219 }
15220 resultobj = PyInt_FromLong((long)result);
15221 return resultobj;
15222 fail:
15223 return NULL;
15224 }
15225
15226
15227 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15228 PyObject *resultobj;
15229 wxPrintData *arg1 = (wxPrintData *) 0 ;
15230 wxString *arg2 = 0 ;
15231 bool temp2 = False ;
15232 PyObject * obj0 = 0 ;
15233 PyObject * obj1 = 0 ;
15234 char *kwnames[] = {
15235 (char *) "self",(char *) "command", NULL
15236 };
15237
15238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
15239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15240 {
15241 arg2 = wxString_in_helper(obj1);
15242 if (arg2 == NULL) SWIG_fail;
15243 temp2 = True;
15244 }
15245 {
15246 PyThreadState* __tstate = wxPyBeginAllowThreads();
15247 (arg1)->SetPrinterCommand((wxString const &)*arg2);
15248
15249 wxPyEndAllowThreads(__tstate);
15250 if (PyErr_Occurred()) SWIG_fail;
15251 }
15252 Py_INCREF(Py_None); resultobj = Py_None;
15253 {
15254 if (temp2)
15255 delete arg2;
15256 }
15257 return resultobj;
15258 fail:
15259 {
15260 if (temp2)
15261 delete arg2;
15262 }
15263 return NULL;
15264 }
15265
15266
15267 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15268 PyObject *resultobj;
15269 wxPrintData *arg1 = (wxPrintData *) 0 ;
15270 wxString *arg2 = 0 ;
15271 bool temp2 = False ;
15272 PyObject * obj0 = 0 ;
15273 PyObject * obj1 = 0 ;
15274 char *kwnames[] = {
15275 (char *) "self",(char *) "options", NULL
15276 };
15277
15278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
15279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15280 {
15281 arg2 = wxString_in_helper(obj1);
15282 if (arg2 == NULL) SWIG_fail;
15283 temp2 = True;
15284 }
15285 {
15286 PyThreadState* __tstate = wxPyBeginAllowThreads();
15287 (arg1)->SetPrinterOptions((wxString const &)*arg2);
15288
15289 wxPyEndAllowThreads(__tstate);
15290 if (PyErr_Occurred()) SWIG_fail;
15291 }
15292 Py_INCREF(Py_None); resultobj = Py_None;
15293 {
15294 if (temp2)
15295 delete arg2;
15296 }
15297 return resultobj;
15298 fail:
15299 {
15300 if (temp2)
15301 delete arg2;
15302 }
15303 return NULL;
15304 }
15305
15306
15307 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15308 PyObject *resultobj;
15309 wxPrintData *arg1 = (wxPrintData *) 0 ;
15310 wxString *arg2 = 0 ;
15311 bool temp2 = False ;
15312 PyObject * obj0 = 0 ;
15313 PyObject * obj1 = 0 ;
15314 char *kwnames[] = {
15315 (char *) "self",(char *) "command", NULL
15316 };
15317
15318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
15319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15320 {
15321 arg2 = wxString_in_helper(obj1);
15322 if (arg2 == NULL) SWIG_fail;
15323 temp2 = True;
15324 }
15325 {
15326 PyThreadState* __tstate = wxPyBeginAllowThreads();
15327 (arg1)->SetPreviewCommand((wxString const &)*arg2);
15328
15329 wxPyEndAllowThreads(__tstate);
15330 if (PyErr_Occurred()) SWIG_fail;
15331 }
15332 Py_INCREF(Py_None); resultobj = Py_None;
15333 {
15334 if (temp2)
15335 delete arg2;
15336 }
15337 return resultobj;
15338 fail:
15339 {
15340 if (temp2)
15341 delete arg2;
15342 }
15343 return NULL;
15344 }
15345
15346
15347 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
15348 PyObject *resultobj;
15349 wxPrintData *arg1 = (wxPrintData *) 0 ;
15350 wxString *arg2 = 0 ;
15351 bool temp2 = False ;
15352 PyObject * obj0 = 0 ;
15353 PyObject * obj1 = 0 ;
15354 char *kwnames[] = {
15355 (char *) "self",(char *) "filename", NULL
15356 };
15357
15358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
15359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15360 {
15361 arg2 = wxString_in_helper(obj1);
15362 if (arg2 == NULL) SWIG_fail;
15363 temp2 = True;
15364 }
15365 {
15366 PyThreadState* __tstate = wxPyBeginAllowThreads();
15367 (arg1)->SetFilename((wxString const &)*arg2);
15368
15369 wxPyEndAllowThreads(__tstate);
15370 if (PyErr_Occurred()) SWIG_fail;
15371 }
15372 Py_INCREF(Py_None); resultobj = Py_None;
15373 {
15374 if (temp2)
15375 delete arg2;
15376 }
15377 return resultobj;
15378 fail:
15379 {
15380 if (temp2)
15381 delete arg2;
15382 }
15383 return NULL;
15384 }
15385
15386
15387 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
15388 PyObject *resultobj;
15389 wxPrintData *arg1 = (wxPrintData *) 0 ;
15390 wxString *arg2 = 0 ;
15391 bool temp2 = False ;
15392 PyObject * obj0 = 0 ;
15393 PyObject * obj1 = 0 ;
15394 char *kwnames[] = {
15395 (char *) "self",(char *) "path", NULL
15396 };
15397
15398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
15399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15400 {
15401 arg2 = wxString_in_helper(obj1);
15402 if (arg2 == NULL) SWIG_fail;
15403 temp2 = True;
15404 }
15405 {
15406 PyThreadState* __tstate = wxPyBeginAllowThreads();
15407 (arg1)->SetFontMetricPath((wxString const &)*arg2);
15408
15409 wxPyEndAllowThreads(__tstate);
15410 if (PyErr_Occurred()) SWIG_fail;
15411 }
15412 Py_INCREF(Py_None); resultobj = Py_None;
15413 {
15414 if (temp2)
15415 delete arg2;
15416 }
15417 return resultobj;
15418 fail:
15419 {
15420 if (temp2)
15421 delete arg2;
15422 }
15423 return NULL;
15424 }
15425
15426
15427 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
15428 PyObject *resultobj;
15429 wxPrintData *arg1 = (wxPrintData *) 0 ;
15430 double arg2 ;
15431 PyObject * obj0 = 0 ;
15432 char *kwnames[] = {
15433 (char *) "self",(char *) "x", NULL
15434 };
15435
15436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleX",kwnames,&obj0,&arg2)) goto fail;
15437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15438 {
15439 PyThreadState* __tstate = wxPyBeginAllowThreads();
15440 (arg1)->SetPrinterScaleX(arg2);
15441
15442 wxPyEndAllowThreads(__tstate);
15443 if (PyErr_Occurred()) SWIG_fail;
15444 }
15445 Py_INCREF(Py_None); resultobj = Py_None;
15446 return resultobj;
15447 fail:
15448 return NULL;
15449 }
15450
15451
15452 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
15453 PyObject *resultobj;
15454 wxPrintData *arg1 = (wxPrintData *) 0 ;
15455 double arg2 ;
15456 PyObject * obj0 = 0 ;
15457 char *kwnames[] = {
15458 (char *) "self",(char *) "y", NULL
15459 };
15460
15461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleY",kwnames,&obj0,&arg2)) goto fail;
15462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15463 {
15464 PyThreadState* __tstate = wxPyBeginAllowThreads();
15465 (arg1)->SetPrinterScaleY(arg2);
15466
15467 wxPyEndAllowThreads(__tstate);
15468 if (PyErr_Occurred()) SWIG_fail;
15469 }
15470 Py_INCREF(Py_None); resultobj = Py_None;
15471 return resultobj;
15472 fail:
15473 return NULL;
15474 }
15475
15476
15477 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
15478 PyObject *resultobj;
15479 wxPrintData *arg1 = (wxPrintData *) 0 ;
15480 double arg2 ;
15481 double arg3 ;
15482 PyObject * obj0 = 0 ;
15483 char *kwnames[] = {
15484 (char *) "self",(char *) "x",(char *) "y", NULL
15485 };
15486
15487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PrintData_SetPrinterScaling",kwnames,&obj0,&arg2,&arg3)) goto fail;
15488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15489 {
15490 PyThreadState* __tstate = wxPyBeginAllowThreads();
15491 (arg1)->SetPrinterScaling(arg2,arg3);
15492
15493 wxPyEndAllowThreads(__tstate);
15494 if (PyErr_Occurred()) SWIG_fail;
15495 }
15496 Py_INCREF(Py_None); resultobj = Py_None;
15497 return resultobj;
15498 fail:
15499 return NULL;
15500 }
15501
15502
15503 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
15504 PyObject *resultobj;
15505 wxPrintData *arg1 = (wxPrintData *) 0 ;
15506 long arg2 ;
15507 PyObject * obj0 = 0 ;
15508 char *kwnames[] = {
15509 (char *) "self",(char *) "x", NULL
15510 };
15511
15512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateX",kwnames,&obj0,&arg2)) goto fail;
15513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15514 {
15515 PyThreadState* __tstate = wxPyBeginAllowThreads();
15516 (arg1)->SetPrinterTranslateX(arg2);
15517
15518 wxPyEndAllowThreads(__tstate);
15519 if (PyErr_Occurred()) SWIG_fail;
15520 }
15521 Py_INCREF(Py_None); resultobj = Py_None;
15522 return resultobj;
15523 fail:
15524 return NULL;
15525 }
15526
15527
15528 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
15529 PyObject *resultobj;
15530 wxPrintData *arg1 = (wxPrintData *) 0 ;
15531 long arg2 ;
15532 PyObject * obj0 = 0 ;
15533 char *kwnames[] = {
15534 (char *) "self",(char *) "y", NULL
15535 };
15536
15537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateY",kwnames,&obj0,&arg2)) goto fail;
15538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15539 {
15540 PyThreadState* __tstate = wxPyBeginAllowThreads();
15541 (arg1)->SetPrinterTranslateY(arg2);
15542
15543 wxPyEndAllowThreads(__tstate);
15544 if (PyErr_Occurred()) SWIG_fail;
15545 }
15546 Py_INCREF(Py_None); resultobj = Py_None;
15547 return resultobj;
15548 fail:
15549 return NULL;
15550 }
15551
15552
15553 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
15554 PyObject *resultobj;
15555 wxPrintData *arg1 = (wxPrintData *) 0 ;
15556 long arg2 ;
15557 long arg3 ;
15558 PyObject * obj0 = 0 ;
15559 char *kwnames[] = {
15560 (char *) "self",(char *) "x",(char *) "y", NULL
15561 };
15562
15563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:PrintData_SetPrinterTranslation",kwnames,&obj0,&arg2,&arg3)) goto fail;
15564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15565 {
15566 PyThreadState* __tstate = wxPyBeginAllowThreads();
15567 (arg1)->SetPrinterTranslation(arg2,arg3);
15568
15569 wxPyEndAllowThreads(__tstate);
15570 if (PyErr_Occurred()) SWIG_fail;
15571 }
15572 Py_INCREF(Py_None); resultobj = Py_None;
15573 return resultobj;
15574 fail:
15575 return NULL;
15576 }
15577
15578
15579 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
15580 PyObject *resultobj;
15581 wxPrintData *arg1 = (wxPrintData *) 0 ;
15582 int arg2 ;
15583 PyObject * obj0 = 0 ;
15584 char *kwnames[] = {
15585 (char *) "self",(char *) "printMode", NULL
15586 };
15587
15588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPrintMode",kwnames,&obj0,&arg2)) goto fail;
15589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15590 {
15591 PyThreadState* __tstate = wxPyBeginAllowThreads();
15592 (arg1)->SetPrintMode((wxPrintMode )arg2);
15593
15594 wxPyEndAllowThreads(__tstate);
15595 if (PyErr_Occurred()) SWIG_fail;
15596 }
15597 Py_INCREF(Py_None); resultobj = Py_None;
15598 return resultobj;
15599 fail:
15600 return NULL;
15601 }
15602
15603
15604 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
15605 PyObject *obj;
15606 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15607 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
15608 Py_INCREF(obj);
15609 return Py_BuildValue((char *)"");
15610 }
15611 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
15612 PyObject *resultobj;
15613 wxPageSetupDialogData *result;
15614 char *kwnames[] = {
15615 NULL
15616 };
15617
15618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
15619 {
15620 PyThreadState* __tstate = wxPyBeginAllowThreads();
15621 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
15622
15623 wxPyEndAllowThreads(__tstate);
15624 if (PyErr_Occurred()) SWIG_fail;
15625 }
15626 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 1);
15627 return resultobj;
15628 fail:
15629 return NULL;
15630 }
15631
15632
15633 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
15634 PyObject *resultobj;
15635 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15636 PyObject * obj0 = 0 ;
15637 char *kwnames[] = {
15638 (char *) "self", NULL
15639 };
15640
15641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
15642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15643 {
15644 PyThreadState* __tstate = wxPyBeginAllowThreads();
15645 delete arg1;
15646
15647 wxPyEndAllowThreads(__tstate);
15648 if (PyErr_Occurred()) SWIG_fail;
15649 }
15650 Py_INCREF(Py_None); resultobj = Py_None;
15651 return resultobj;
15652 fail:
15653 return NULL;
15654 }
15655
15656
15657 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15658 PyObject *resultobj;
15659 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15660 bool arg2 ;
15661 PyObject * obj0 = 0 ;
15662 PyObject * obj1 = 0 ;
15663 char *kwnames[] = {
15664 (char *) "self",(char *) "flag", NULL
15665 };
15666
15667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
15668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15669 arg2 = PyInt_AsLong(obj1) ? true : false;
15670 if (PyErr_Occurred()) SWIG_fail;
15671 {
15672 PyThreadState* __tstate = wxPyBeginAllowThreads();
15673 (arg1)->EnableHelp(arg2);
15674
15675 wxPyEndAllowThreads(__tstate);
15676 if (PyErr_Occurred()) SWIG_fail;
15677 }
15678 Py_INCREF(Py_None); resultobj = Py_None;
15679 return resultobj;
15680 fail:
15681 return NULL;
15682 }
15683
15684
15685 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
15686 PyObject *resultobj;
15687 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15688 bool arg2 ;
15689 PyObject * obj0 = 0 ;
15690 PyObject * obj1 = 0 ;
15691 char *kwnames[] = {
15692 (char *) "self",(char *) "flag", NULL
15693 };
15694
15695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
15696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15697 arg2 = PyInt_AsLong(obj1) ? true : false;
15698 if (PyErr_Occurred()) SWIG_fail;
15699 {
15700 PyThreadState* __tstate = wxPyBeginAllowThreads();
15701 (arg1)->EnableMargins(arg2);
15702
15703 wxPyEndAllowThreads(__tstate);
15704 if (PyErr_Occurred()) SWIG_fail;
15705 }
15706 Py_INCREF(Py_None); resultobj = Py_None;
15707 return resultobj;
15708 fail:
15709 return NULL;
15710 }
15711
15712
15713 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
15714 PyObject *resultobj;
15715 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15716 bool arg2 ;
15717 PyObject * obj0 = 0 ;
15718 PyObject * obj1 = 0 ;
15719 char *kwnames[] = {
15720 (char *) "self",(char *) "flag", NULL
15721 };
15722
15723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
15724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15725 arg2 = PyInt_AsLong(obj1) ? true : false;
15726 if (PyErr_Occurred()) SWIG_fail;
15727 {
15728 PyThreadState* __tstate = wxPyBeginAllowThreads();
15729 (arg1)->EnableOrientation(arg2);
15730
15731 wxPyEndAllowThreads(__tstate);
15732 if (PyErr_Occurred()) SWIG_fail;
15733 }
15734 Py_INCREF(Py_None); resultobj = Py_None;
15735 return resultobj;
15736 fail:
15737 return NULL;
15738 }
15739
15740
15741 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
15742 PyObject *resultobj;
15743 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15744 bool arg2 ;
15745 PyObject * obj0 = 0 ;
15746 PyObject * obj1 = 0 ;
15747 char *kwnames[] = {
15748 (char *) "self",(char *) "flag", NULL
15749 };
15750
15751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
15752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15753 arg2 = PyInt_AsLong(obj1) ? true : false;
15754 if (PyErr_Occurred()) SWIG_fail;
15755 {
15756 PyThreadState* __tstate = wxPyBeginAllowThreads();
15757 (arg1)->EnablePaper(arg2);
15758
15759 wxPyEndAllowThreads(__tstate);
15760 if (PyErr_Occurred()) SWIG_fail;
15761 }
15762 Py_INCREF(Py_None); resultobj = Py_None;
15763 return resultobj;
15764 fail:
15765 return NULL;
15766 }
15767
15768
15769 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
15770 PyObject *resultobj;
15771 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15772 bool arg2 ;
15773 PyObject * obj0 = 0 ;
15774 PyObject * obj1 = 0 ;
15775 char *kwnames[] = {
15776 (char *) "self",(char *) "flag", NULL
15777 };
15778
15779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
15780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15781 arg2 = PyInt_AsLong(obj1) ? true : false;
15782 if (PyErr_Occurred()) SWIG_fail;
15783 {
15784 PyThreadState* __tstate = wxPyBeginAllowThreads();
15785 (arg1)->EnablePrinter(arg2);
15786
15787 wxPyEndAllowThreads(__tstate);
15788 if (PyErr_Occurred()) SWIG_fail;
15789 }
15790 Py_INCREF(Py_None); resultobj = Py_None;
15791 return resultobj;
15792 fail:
15793 return NULL;
15794 }
15795
15796
15797 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
15798 PyObject *resultobj;
15799 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15800 bool result;
15801 PyObject * obj0 = 0 ;
15802 char *kwnames[] = {
15803 (char *) "self", NULL
15804 };
15805
15806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
15807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15808 {
15809 PyThreadState* __tstate = wxPyBeginAllowThreads();
15810 result = (bool)(arg1)->GetDefaultMinMargins();
15811
15812 wxPyEndAllowThreads(__tstate);
15813 if (PyErr_Occurred()) SWIG_fail;
15814 }
15815 resultobj = PyInt_FromLong((long)result);
15816 return resultobj;
15817 fail:
15818 return NULL;
15819 }
15820
15821
15822 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
15823 PyObject *resultobj;
15824 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15825 bool result;
15826 PyObject * obj0 = 0 ;
15827 char *kwnames[] = {
15828 (char *) "self", NULL
15829 };
15830
15831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
15832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15833 {
15834 PyThreadState* __tstate = wxPyBeginAllowThreads();
15835 result = (bool)(arg1)->GetEnableMargins();
15836
15837 wxPyEndAllowThreads(__tstate);
15838 if (PyErr_Occurred()) SWIG_fail;
15839 }
15840 resultobj = PyInt_FromLong((long)result);
15841 return resultobj;
15842 fail:
15843 return NULL;
15844 }
15845
15846
15847 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
15848 PyObject *resultobj;
15849 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15850 bool result;
15851 PyObject * obj0 = 0 ;
15852 char *kwnames[] = {
15853 (char *) "self", NULL
15854 };
15855
15856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
15857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15858 {
15859 PyThreadState* __tstate = wxPyBeginAllowThreads();
15860 result = (bool)(arg1)->GetEnableOrientation();
15861
15862 wxPyEndAllowThreads(__tstate);
15863 if (PyErr_Occurred()) SWIG_fail;
15864 }
15865 resultobj = PyInt_FromLong((long)result);
15866 return resultobj;
15867 fail:
15868 return NULL;
15869 }
15870
15871
15872 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
15873 PyObject *resultobj;
15874 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15875 bool result;
15876 PyObject * obj0 = 0 ;
15877 char *kwnames[] = {
15878 (char *) "self", NULL
15879 };
15880
15881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
15882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15883 {
15884 PyThreadState* __tstate = wxPyBeginAllowThreads();
15885 result = (bool)(arg1)->GetEnablePaper();
15886
15887 wxPyEndAllowThreads(__tstate);
15888 if (PyErr_Occurred()) SWIG_fail;
15889 }
15890 resultobj = PyInt_FromLong((long)result);
15891 return resultobj;
15892 fail:
15893 return NULL;
15894 }
15895
15896
15897 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
15898 PyObject *resultobj;
15899 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15900 bool result;
15901 PyObject * obj0 = 0 ;
15902 char *kwnames[] = {
15903 (char *) "self", NULL
15904 };
15905
15906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
15907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15908 {
15909 PyThreadState* __tstate = wxPyBeginAllowThreads();
15910 result = (bool)(arg1)->GetEnablePrinter();
15911
15912 wxPyEndAllowThreads(__tstate);
15913 if (PyErr_Occurred()) SWIG_fail;
15914 }
15915 resultobj = PyInt_FromLong((long)result);
15916 return resultobj;
15917 fail:
15918 return NULL;
15919 }
15920
15921
15922 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15923 PyObject *resultobj;
15924 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15925 bool result;
15926 PyObject * obj0 = 0 ;
15927 char *kwnames[] = {
15928 (char *) "self", NULL
15929 };
15930
15931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
15932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15933 {
15934 PyThreadState* __tstate = wxPyBeginAllowThreads();
15935 result = (bool)(arg1)->GetEnableHelp();
15936
15937 wxPyEndAllowThreads(__tstate);
15938 if (PyErr_Occurred()) SWIG_fail;
15939 }
15940 resultobj = PyInt_FromLong((long)result);
15941 return resultobj;
15942 fail:
15943 return NULL;
15944 }
15945
15946
15947 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15948 PyObject *resultobj;
15949 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15950 bool result;
15951 PyObject * obj0 = 0 ;
15952 char *kwnames[] = {
15953 (char *) "self", NULL
15954 };
15955
15956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
15957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15958 {
15959 PyThreadState* __tstate = wxPyBeginAllowThreads();
15960 result = (bool)(arg1)->GetDefaultInfo();
15961
15962 wxPyEndAllowThreads(__tstate);
15963 if (PyErr_Occurred()) SWIG_fail;
15964 }
15965 resultobj = PyInt_FromLong((long)result);
15966 return resultobj;
15967 fail:
15968 return NULL;
15969 }
15970
15971
15972 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
15973 PyObject *resultobj;
15974 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15975 wxPoint result;
15976 PyObject * obj0 = 0 ;
15977 char *kwnames[] = {
15978 (char *) "self", NULL
15979 };
15980
15981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
15982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15983 {
15984 PyThreadState* __tstate = wxPyBeginAllowThreads();
15985 result = (arg1)->GetMarginTopLeft();
15986
15987 wxPyEndAllowThreads(__tstate);
15988 if (PyErr_Occurred()) SWIG_fail;
15989 }
15990 {
15991 wxPoint * resultptr;
15992 resultptr = new wxPoint((wxPoint &) result);
15993 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
15994 }
15995 return resultobj;
15996 fail:
15997 return NULL;
15998 }
15999
16000
16001 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16002 PyObject *resultobj;
16003 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16004 wxPoint result;
16005 PyObject * obj0 = 0 ;
16006 char *kwnames[] = {
16007 (char *) "self", NULL
16008 };
16009
16010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
16011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16012 {
16013 PyThreadState* __tstate = wxPyBeginAllowThreads();
16014 result = (arg1)->GetMarginBottomRight();
16015
16016 wxPyEndAllowThreads(__tstate);
16017 if (PyErr_Occurred()) SWIG_fail;
16018 }
16019 {
16020 wxPoint * resultptr;
16021 resultptr = new wxPoint((wxPoint &) result);
16022 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16023 }
16024 return resultobj;
16025 fail:
16026 return NULL;
16027 }
16028
16029
16030 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16031 PyObject *resultobj;
16032 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16033 wxPoint result;
16034 PyObject * obj0 = 0 ;
16035 char *kwnames[] = {
16036 (char *) "self", NULL
16037 };
16038
16039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
16040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16041 {
16042 PyThreadState* __tstate = wxPyBeginAllowThreads();
16043 result = (arg1)->GetMinMarginTopLeft();
16044
16045 wxPyEndAllowThreads(__tstate);
16046 if (PyErr_Occurred()) SWIG_fail;
16047 }
16048 {
16049 wxPoint * resultptr;
16050 resultptr = new wxPoint((wxPoint &) result);
16051 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16052 }
16053 return resultobj;
16054 fail:
16055 return NULL;
16056 }
16057
16058
16059 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16060 PyObject *resultobj;
16061 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16062 wxPoint result;
16063 PyObject * obj0 = 0 ;
16064 char *kwnames[] = {
16065 (char *) "self", NULL
16066 };
16067
16068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
16069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16070 {
16071 PyThreadState* __tstate = wxPyBeginAllowThreads();
16072 result = (arg1)->GetMinMarginBottomRight();
16073
16074 wxPyEndAllowThreads(__tstate);
16075 if (PyErr_Occurred()) SWIG_fail;
16076 }
16077 {
16078 wxPoint * resultptr;
16079 resultptr = new wxPoint((wxPoint &) result);
16080 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16081 }
16082 return resultobj;
16083 fail:
16084 return NULL;
16085 }
16086
16087
16088 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16089 PyObject *resultobj;
16090 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16091 int result;
16092 PyObject * obj0 = 0 ;
16093 char *kwnames[] = {
16094 (char *) "self", NULL
16095 };
16096
16097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
16098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16099 {
16100 PyThreadState* __tstate = wxPyBeginAllowThreads();
16101 result = (int)(arg1)->GetPaperId();
16102
16103 wxPyEndAllowThreads(__tstate);
16104 if (PyErr_Occurred()) SWIG_fail;
16105 }
16106 resultobj = PyInt_FromLong((long)result);
16107 return resultobj;
16108 fail:
16109 return NULL;
16110 }
16111
16112
16113 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16114 PyObject *resultobj;
16115 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16116 wxSize result;
16117 PyObject * obj0 = 0 ;
16118 char *kwnames[] = {
16119 (char *) "self", NULL
16120 };
16121
16122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
16123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16124 {
16125 PyThreadState* __tstate = wxPyBeginAllowThreads();
16126 result = (arg1)->GetPaperSize();
16127
16128 wxPyEndAllowThreads(__tstate);
16129 if (PyErr_Occurred()) SWIG_fail;
16130 }
16131 {
16132 wxSize * resultptr;
16133 resultptr = new wxSize((wxSize &) result);
16134 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16135 }
16136 return resultobj;
16137 fail:
16138 return NULL;
16139 }
16140
16141
16142 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16143 PyObject *resultobj;
16144 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16145 wxPrintData *result;
16146 PyObject * obj0 = 0 ;
16147 char *kwnames[] = {
16148 (char *) "self", NULL
16149 };
16150
16151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
16152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16153 {
16154 PyThreadState* __tstate = wxPyBeginAllowThreads();
16155 {
16156 wxPrintData &_result_ref = (arg1)->GetPrintData();
16157 result = (wxPrintData *) &_result_ref;
16158 }
16159
16160 wxPyEndAllowThreads(__tstate);
16161 if (PyErr_Occurred()) SWIG_fail;
16162 }
16163 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
16164 return resultobj;
16165 fail:
16166 return NULL;
16167 }
16168
16169
16170 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
16171 PyObject *resultobj;
16172 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16173 bool result;
16174 PyObject * obj0 = 0 ;
16175 char *kwnames[] = {
16176 (char *) "self", NULL
16177 };
16178
16179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
16180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16181 {
16182 PyThreadState* __tstate = wxPyBeginAllowThreads();
16183 result = (bool)(arg1)->Ok();
16184
16185 wxPyEndAllowThreads(__tstate);
16186 if (PyErr_Occurred()) SWIG_fail;
16187 }
16188 resultobj = PyInt_FromLong((long)result);
16189 return resultobj;
16190 fail:
16191 return NULL;
16192 }
16193
16194
16195 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16196 PyObject *resultobj;
16197 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16198 bool arg2 ;
16199 PyObject * obj0 = 0 ;
16200 PyObject * obj1 = 0 ;
16201 char *kwnames[] = {
16202 (char *) "self",(char *) "flag", NULL
16203 };
16204
16205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
16206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16207 arg2 = PyInt_AsLong(obj1) ? true : false;
16208 if (PyErr_Occurred()) SWIG_fail;
16209 {
16210 PyThreadState* __tstate = wxPyBeginAllowThreads();
16211 (arg1)->SetDefaultInfo(arg2);
16212
16213 wxPyEndAllowThreads(__tstate);
16214 if (PyErr_Occurred()) SWIG_fail;
16215 }
16216 Py_INCREF(Py_None); resultobj = Py_None;
16217 return resultobj;
16218 fail:
16219 return NULL;
16220 }
16221
16222
16223 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16224 PyObject *resultobj;
16225 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16226 bool arg2 ;
16227 PyObject * obj0 = 0 ;
16228 PyObject * obj1 = 0 ;
16229 char *kwnames[] = {
16230 (char *) "self",(char *) "flag", NULL
16231 };
16232
16233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
16234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16235 arg2 = PyInt_AsLong(obj1) ? true : false;
16236 if (PyErr_Occurred()) SWIG_fail;
16237 {
16238 PyThreadState* __tstate = wxPyBeginAllowThreads();
16239 (arg1)->SetDefaultMinMargins(arg2);
16240
16241 wxPyEndAllowThreads(__tstate);
16242 if (PyErr_Occurred()) SWIG_fail;
16243 }
16244 Py_INCREF(Py_None); resultobj = Py_None;
16245 return resultobj;
16246 fail:
16247 return NULL;
16248 }
16249
16250
16251 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16252 PyObject *resultobj;
16253 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16254 wxPoint *arg2 = 0 ;
16255 wxPoint temp2 ;
16256 PyObject * obj0 = 0 ;
16257 PyObject * obj1 = 0 ;
16258 char *kwnames[] = {
16259 (char *) "self",(char *) "pt", NULL
16260 };
16261
16262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
16263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16264 {
16265 arg2 = &temp2;
16266 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16267 }
16268 {
16269 PyThreadState* __tstate = wxPyBeginAllowThreads();
16270 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
16271
16272 wxPyEndAllowThreads(__tstate);
16273 if (PyErr_Occurred()) SWIG_fail;
16274 }
16275 Py_INCREF(Py_None); resultobj = Py_None;
16276 return resultobj;
16277 fail:
16278 return NULL;
16279 }
16280
16281
16282 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16283 PyObject *resultobj;
16284 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16285 wxPoint *arg2 = 0 ;
16286 wxPoint temp2 ;
16287 PyObject * obj0 = 0 ;
16288 PyObject * obj1 = 0 ;
16289 char *kwnames[] = {
16290 (char *) "self",(char *) "pt", NULL
16291 };
16292
16293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
16294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16295 {
16296 arg2 = &temp2;
16297 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16298 }
16299 {
16300 PyThreadState* __tstate = wxPyBeginAllowThreads();
16301 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
16302
16303 wxPyEndAllowThreads(__tstate);
16304 if (PyErr_Occurred()) SWIG_fail;
16305 }
16306 Py_INCREF(Py_None); resultobj = Py_None;
16307 return resultobj;
16308 fail:
16309 return NULL;
16310 }
16311
16312
16313 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16314 PyObject *resultobj;
16315 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16316 wxPoint *arg2 = 0 ;
16317 wxPoint temp2 ;
16318 PyObject * obj0 = 0 ;
16319 PyObject * obj1 = 0 ;
16320 char *kwnames[] = {
16321 (char *) "self",(char *) "pt", NULL
16322 };
16323
16324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
16325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16326 {
16327 arg2 = &temp2;
16328 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16329 }
16330 {
16331 PyThreadState* __tstate = wxPyBeginAllowThreads();
16332 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
16333
16334 wxPyEndAllowThreads(__tstate);
16335 if (PyErr_Occurred()) SWIG_fail;
16336 }
16337 Py_INCREF(Py_None); resultobj = Py_None;
16338 return resultobj;
16339 fail:
16340 return NULL;
16341 }
16342
16343
16344 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16345 PyObject *resultobj;
16346 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16347 wxPoint *arg2 = 0 ;
16348 wxPoint temp2 ;
16349 PyObject * obj0 = 0 ;
16350 PyObject * obj1 = 0 ;
16351 char *kwnames[] = {
16352 (char *) "self",(char *) "pt", NULL
16353 };
16354
16355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
16356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16357 {
16358 arg2 = &temp2;
16359 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16360 }
16361 {
16362 PyThreadState* __tstate = wxPyBeginAllowThreads();
16363 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
16364
16365 wxPyEndAllowThreads(__tstate);
16366 if (PyErr_Occurred()) SWIG_fail;
16367 }
16368 Py_INCREF(Py_None); resultobj = Py_None;
16369 return resultobj;
16370 fail:
16371 return NULL;
16372 }
16373
16374
16375 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16376 PyObject *resultobj;
16377 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16378 int arg2 ;
16379 PyObject * obj0 = 0 ;
16380 char *kwnames[] = {
16381 (char *) "self",(char *) "id", NULL
16382 };
16383
16384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PageSetupDialogData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
16385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16386 {
16387 PyThreadState* __tstate = wxPyBeginAllowThreads();
16388 (arg1)->SetPaperId((wxPaperSize )arg2);
16389
16390 wxPyEndAllowThreads(__tstate);
16391 if (PyErr_Occurred()) SWIG_fail;
16392 }
16393 Py_INCREF(Py_None); resultobj = Py_None;
16394 return resultobj;
16395 fail:
16396 return NULL;
16397 }
16398
16399
16400 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16401 PyObject *resultobj;
16402 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16403 wxSize *arg2 = 0 ;
16404 wxSize temp2 ;
16405 PyObject * obj0 = 0 ;
16406 PyObject * obj1 = 0 ;
16407 char *kwnames[] = {
16408 (char *) "self",(char *) "size", NULL
16409 };
16410
16411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
16412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16413 {
16414 arg2 = &temp2;
16415 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16416 }
16417 {
16418 PyThreadState* __tstate = wxPyBeginAllowThreads();
16419 (arg1)->SetPaperSize((wxSize const &)*arg2);
16420
16421 wxPyEndAllowThreads(__tstate);
16422 if (PyErr_Occurred()) SWIG_fail;
16423 }
16424 Py_INCREF(Py_None); resultobj = Py_None;
16425 return resultobj;
16426 fail:
16427 return NULL;
16428 }
16429
16430
16431 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16432 PyObject *resultobj;
16433 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16434 wxPrintData *arg2 = 0 ;
16435 PyObject * obj0 = 0 ;
16436 PyObject * obj1 = 0 ;
16437 char *kwnames[] = {
16438 (char *) "self",(char *) "printData", NULL
16439 };
16440
16441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
16442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16443 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16444 if (arg2 == NULL) {
16445 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16446 }
16447 {
16448 PyThreadState* __tstate = wxPyBeginAllowThreads();
16449 (arg1)->SetPrintData((wxPrintData const &)*arg2);
16450
16451 wxPyEndAllowThreads(__tstate);
16452 if (PyErr_Occurred()) SWIG_fail;
16453 }
16454 Py_INCREF(Py_None); resultobj = Py_None;
16455 return resultobj;
16456 fail:
16457 return NULL;
16458 }
16459
16460
16461 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
16462 PyObject *obj;
16463 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16464 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
16465 Py_INCREF(obj);
16466 return Py_BuildValue((char *)"");
16467 }
16468 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16469 PyObject *resultobj;
16470 wxWindow *arg1 = (wxWindow *) 0 ;
16471 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
16472 wxPageSetupDialog *result;
16473 PyObject * obj0 = 0 ;
16474 PyObject * obj1 = 0 ;
16475 char *kwnames[] = {
16476 (char *) "parent",(char *) "data", NULL
16477 };
16478
16479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
16480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16481 if (obj1) {
16482 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16483 }
16484 {
16485 PyThreadState* __tstate = wxPyBeginAllowThreads();
16486 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
16487
16488 wxPyEndAllowThreads(__tstate);
16489 if (PyErr_Occurred()) SWIG_fail;
16490 }
16491 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialog, 1);
16492 return resultobj;
16493 fail:
16494 return NULL;
16495 }
16496
16497
16498 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
16499 PyObject *resultobj;
16500 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
16501 wxPageSetupDialogData *result;
16502 PyObject * obj0 = 0 ;
16503 char *kwnames[] = {
16504 (char *) "self", NULL
16505 };
16506
16507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
16508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16509 {
16510 PyThreadState* __tstate = wxPyBeginAllowThreads();
16511 {
16512 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
16513 result = (wxPageSetupDialogData *) &_result_ref;
16514 }
16515
16516 wxPyEndAllowThreads(__tstate);
16517 if (PyErr_Occurred()) SWIG_fail;
16518 }
16519 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 0);
16520 return resultobj;
16521 fail:
16522 return NULL;
16523 }
16524
16525
16526 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
16527 PyObject *resultobj;
16528 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
16529 int result;
16530 PyObject * obj0 = 0 ;
16531 char *kwnames[] = {
16532 (char *) "self", NULL
16533 };
16534
16535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
16536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16537 {
16538 PyThreadState* __tstate = wxPyBeginAllowThreads();
16539 result = (int)(arg1)->ShowModal();
16540
16541 wxPyEndAllowThreads(__tstate);
16542 if (PyErr_Occurred()) SWIG_fail;
16543 }
16544 resultobj = PyInt_FromLong((long)result);
16545 return resultobj;
16546 fail:
16547 return NULL;
16548 }
16549
16550
16551 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
16552 PyObject *obj;
16553 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16554 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
16555 Py_INCREF(obj);
16556 return Py_BuildValue((char *)"");
16557 }
16558 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16559 PyObject *resultobj;
16560 wxPrintDialogData *result;
16561 char *kwnames[] = {
16562 NULL
16563 };
16564
16565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintDialogData",kwnames)) goto fail;
16566 {
16567 PyThreadState* __tstate = wxPyBeginAllowThreads();
16568 result = (wxPrintDialogData *)new wxPrintDialogData();
16569
16570 wxPyEndAllowThreads(__tstate);
16571 if (PyErr_Occurred()) SWIG_fail;
16572 }
16573 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 1);
16574 return resultobj;
16575 fail:
16576 return NULL;
16577 }
16578
16579
16580 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16581 PyObject *resultobj;
16582 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16583 PyObject * obj0 = 0 ;
16584 char *kwnames[] = {
16585 (char *) "self", NULL
16586 };
16587
16588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
16589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16590 {
16591 PyThreadState* __tstate = wxPyBeginAllowThreads();
16592 delete arg1;
16593
16594 wxPyEndAllowThreads(__tstate);
16595 if (PyErr_Occurred()) SWIG_fail;
16596 }
16597 Py_INCREF(Py_None); resultobj = Py_None;
16598 return resultobj;
16599 fail:
16600 return NULL;
16601 }
16602
16603
16604 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16605 PyObject *resultobj;
16606 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16607 int result;
16608 PyObject * obj0 = 0 ;
16609 char *kwnames[] = {
16610 (char *) "self", NULL
16611 };
16612
16613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
16614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16615 {
16616 PyThreadState* __tstate = wxPyBeginAllowThreads();
16617 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
16618
16619 wxPyEndAllowThreads(__tstate);
16620 if (PyErr_Occurred()) SWIG_fail;
16621 }
16622 resultobj = PyInt_FromLong((long)result);
16623 return resultobj;
16624 fail:
16625 return NULL;
16626 }
16627
16628
16629 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16630 PyObject *resultobj;
16631 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16632 int result;
16633 PyObject * obj0 = 0 ;
16634 char *kwnames[] = {
16635 (char *) "self", NULL
16636 };
16637
16638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
16639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16640 {
16641 PyThreadState* __tstate = wxPyBeginAllowThreads();
16642 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
16643
16644 wxPyEndAllowThreads(__tstate);
16645 if (PyErr_Occurred()) SWIG_fail;
16646 }
16647 resultobj = PyInt_FromLong((long)result);
16648 return resultobj;
16649 fail:
16650 return NULL;
16651 }
16652
16653
16654 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16655 PyObject *resultobj;
16656 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16657 int result;
16658 PyObject * obj0 = 0 ;
16659 char *kwnames[] = {
16660 (char *) "self", NULL
16661 };
16662
16663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
16664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16665 {
16666 PyThreadState* __tstate = wxPyBeginAllowThreads();
16667 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
16668
16669 wxPyEndAllowThreads(__tstate);
16670 if (PyErr_Occurred()) SWIG_fail;
16671 }
16672 resultobj = PyInt_FromLong((long)result);
16673 return resultobj;
16674 fail:
16675 return NULL;
16676 }
16677
16678
16679 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16680 PyObject *resultobj;
16681 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16682 int result;
16683 PyObject * obj0 = 0 ;
16684 char *kwnames[] = {
16685 (char *) "self", NULL
16686 };
16687
16688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
16689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16690 {
16691 PyThreadState* __tstate = wxPyBeginAllowThreads();
16692 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
16693
16694 wxPyEndAllowThreads(__tstate);
16695 if (PyErr_Occurred()) SWIG_fail;
16696 }
16697 resultobj = PyInt_FromLong((long)result);
16698 return resultobj;
16699 fail:
16700 return NULL;
16701 }
16702
16703
16704 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
16705 PyObject *resultobj;
16706 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16707 int result;
16708 PyObject * obj0 = 0 ;
16709 char *kwnames[] = {
16710 (char *) "self", NULL
16711 };
16712
16713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
16714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16715 {
16716 PyThreadState* __tstate = wxPyBeginAllowThreads();
16717 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
16718
16719 wxPyEndAllowThreads(__tstate);
16720 if (PyErr_Occurred()) SWIG_fail;
16721 }
16722 resultobj = PyInt_FromLong((long)result);
16723 return resultobj;
16724 fail:
16725 return NULL;
16726 }
16727
16728
16729 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
16730 PyObject *resultobj;
16731 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16732 bool result;
16733 PyObject * obj0 = 0 ;
16734 char *kwnames[] = {
16735 (char *) "self", NULL
16736 };
16737
16738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
16739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16740 {
16741 PyThreadState* __tstate = wxPyBeginAllowThreads();
16742 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
16743
16744 wxPyEndAllowThreads(__tstate);
16745 if (PyErr_Occurred()) SWIG_fail;
16746 }
16747 resultobj = PyInt_FromLong((long)result);
16748 return resultobj;
16749 fail:
16750 return NULL;
16751 }
16752
16753
16754 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
16755 PyObject *resultobj;
16756 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16757 bool result;
16758 PyObject * obj0 = 0 ;
16759 char *kwnames[] = {
16760 (char *) "self", NULL
16761 };
16762
16763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
16764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16765 {
16766 PyThreadState* __tstate = wxPyBeginAllowThreads();
16767 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
16768
16769 wxPyEndAllowThreads(__tstate);
16770 if (PyErr_Occurred()) SWIG_fail;
16771 }
16772 resultobj = PyInt_FromLong((long)result);
16773 return resultobj;
16774 fail:
16775 return NULL;
16776 }
16777
16778
16779 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
16780 PyObject *resultobj;
16781 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16782 bool result;
16783 PyObject * obj0 = 0 ;
16784 char *kwnames[] = {
16785 (char *) "self", NULL
16786 };
16787
16788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
16789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16790 {
16791 PyThreadState* __tstate = wxPyBeginAllowThreads();
16792 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
16793
16794 wxPyEndAllowThreads(__tstate);
16795 if (PyErr_Occurred()) SWIG_fail;
16796 }
16797 resultobj = PyInt_FromLong((long)result);
16798 return resultobj;
16799 fail:
16800 return NULL;
16801 }
16802
16803
16804 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
16805 PyObject *resultobj;
16806 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16807 bool result;
16808 PyObject * obj0 = 0 ;
16809 char *kwnames[] = {
16810 (char *) "self", NULL
16811 };
16812
16813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
16814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16815 {
16816 PyThreadState* __tstate = wxPyBeginAllowThreads();
16817 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
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 *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16830 PyObject *resultobj;
16831 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16832 bool result;
16833 PyObject * obj0 = 0 ;
16834 char *kwnames[] = {
16835 (char *) "self", NULL
16836 };
16837
16838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
16839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16840 {
16841 PyThreadState* __tstate = wxPyBeginAllowThreads();
16842 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
16843
16844 wxPyEndAllowThreads(__tstate);
16845 if (PyErr_Occurred()) SWIG_fail;
16846 }
16847 resultobj = PyInt_FromLong((long)result);
16848 return resultobj;
16849 fail:
16850 return NULL;
16851 }
16852
16853
16854 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16855 PyObject *resultobj;
16856 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16857 int arg2 ;
16858 PyObject * obj0 = 0 ;
16859 char *kwnames[] = {
16860 (char *) "self",(char *) "v", NULL
16861 };
16862
16863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetFromPage",kwnames,&obj0,&arg2)) goto fail;
16864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16865 {
16866 PyThreadState* __tstate = wxPyBeginAllowThreads();
16867 (arg1)->SetFromPage(arg2);
16868
16869 wxPyEndAllowThreads(__tstate);
16870 if (PyErr_Occurred()) SWIG_fail;
16871 }
16872 Py_INCREF(Py_None); resultobj = Py_None;
16873 return resultobj;
16874 fail:
16875 return NULL;
16876 }
16877
16878
16879 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16880 PyObject *resultobj;
16881 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16882 int arg2 ;
16883 PyObject * obj0 = 0 ;
16884 char *kwnames[] = {
16885 (char *) "self",(char *) "v", NULL
16886 };
16887
16888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetToPage",kwnames,&obj0,&arg2)) goto fail;
16889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16890 {
16891 PyThreadState* __tstate = wxPyBeginAllowThreads();
16892 (arg1)->SetToPage(arg2);
16893
16894 wxPyEndAllowThreads(__tstate);
16895 if (PyErr_Occurred()) SWIG_fail;
16896 }
16897 Py_INCREF(Py_None); resultobj = Py_None;
16898 return resultobj;
16899 fail:
16900 return NULL;
16901 }
16902
16903
16904 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16905 PyObject *resultobj;
16906 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16907 int arg2 ;
16908 PyObject * obj0 = 0 ;
16909 char *kwnames[] = {
16910 (char *) "self",(char *) "v", NULL
16911 };
16912
16913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMinPage",kwnames,&obj0,&arg2)) goto fail;
16914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16915 {
16916 PyThreadState* __tstate = wxPyBeginAllowThreads();
16917 (arg1)->SetMinPage(arg2);
16918
16919 wxPyEndAllowThreads(__tstate);
16920 if (PyErr_Occurred()) SWIG_fail;
16921 }
16922 Py_INCREF(Py_None); resultobj = Py_None;
16923 return resultobj;
16924 fail:
16925 return NULL;
16926 }
16927
16928
16929 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16930 PyObject *resultobj;
16931 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16932 int arg2 ;
16933 PyObject * obj0 = 0 ;
16934 char *kwnames[] = {
16935 (char *) "self",(char *) "v", NULL
16936 };
16937
16938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMaxPage",kwnames,&obj0,&arg2)) goto fail;
16939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16940 {
16941 PyThreadState* __tstate = wxPyBeginAllowThreads();
16942 (arg1)->SetMaxPage(arg2);
16943
16944 wxPyEndAllowThreads(__tstate);
16945 if (PyErr_Occurred()) SWIG_fail;
16946 }
16947 Py_INCREF(Py_None); resultobj = Py_None;
16948 return resultobj;
16949 fail:
16950 return NULL;
16951 }
16952
16953
16954 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
16955 PyObject *resultobj;
16956 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16957 int arg2 ;
16958 PyObject * obj0 = 0 ;
16959 char *kwnames[] = {
16960 (char *) "self",(char *) "v", NULL
16961 };
16962
16963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
16964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16965 {
16966 PyThreadState* __tstate = wxPyBeginAllowThreads();
16967 (arg1)->SetNoCopies(arg2);
16968
16969 wxPyEndAllowThreads(__tstate);
16970 if (PyErr_Occurred()) SWIG_fail;
16971 }
16972 Py_INCREF(Py_None); resultobj = Py_None;
16973 return resultobj;
16974 fail:
16975 return NULL;
16976 }
16977
16978
16979 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
16980 PyObject *resultobj;
16981 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16982 bool arg2 ;
16983 PyObject * obj0 = 0 ;
16984 PyObject * obj1 = 0 ;
16985 char *kwnames[] = {
16986 (char *) "self",(char *) "flag", NULL
16987 };
16988
16989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
16990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16991 arg2 = PyInt_AsLong(obj1) ? true : false;
16992 if (PyErr_Occurred()) SWIG_fail;
16993 {
16994 PyThreadState* __tstate = wxPyBeginAllowThreads();
16995 (arg1)->SetAllPages(arg2);
16996
16997 wxPyEndAllowThreads(__tstate);
16998 if (PyErr_Occurred()) SWIG_fail;
16999 }
17000 Py_INCREF(Py_None); resultobj = Py_None;
17001 return resultobj;
17002 fail:
17003 return NULL;
17004 }
17005
17006
17007 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17008 PyObject *resultobj;
17009 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17010 bool arg2 ;
17011 PyObject * obj0 = 0 ;
17012 PyObject * obj1 = 0 ;
17013 char *kwnames[] = {
17014 (char *) "self",(char *) "flag", NULL
17015 };
17016
17017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
17018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17019 arg2 = PyInt_AsLong(obj1) ? true : false;
17020 if (PyErr_Occurred()) SWIG_fail;
17021 {
17022 PyThreadState* __tstate = wxPyBeginAllowThreads();
17023 (arg1)->SetSelection(arg2);
17024
17025 wxPyEndAllowThreads(__tstate);
17026 if (PyErr_Occurred()) SWIG_fail;
17027 }
17028 Py_INCREF(Py_None); resultobj = Py_None;
17029 return resultobj;
17030 fail:
17031 return NULL;
17032 }
17033
17034
17035 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17036 PyObject *resultobj;
17037 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17038 bool arg2 ;
17039 PyObject * obj0 = 0 ;
17040 PyObject * obj1 = 0 ;
17041 char *kwnames[] = {
17042 (char *) "self",(char *) "flag", NULL
17043 };
17044
17045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
17046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17047 arg2 = PyInt_AsLong(obj1) ? true : false;
17048 if (PyErr_Occurred()) SWIG_fail;
17049 {
17050 PyThreadState* __tstate = wxPyBeginAllowThreads();
17051 (arg1)->SetCollate(arg2);
17052
17053 wxPyEndAllowThreads(__tstate);
17054 if (PyErr_Occurred()) SWIG_fail;
17055 }
17056 Py_INCREF(Py_None); resultobj = Py_None;
17057 return resultobj;
17058 fail:
17059 return NULL;
17060 }
17061
17062
17063 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17064 PyObject *resultobj;
17065 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17066 bool arg2 ;
17067 PyObject * obj0 = 0 ;
17068 PyObject * obj1 = 0 ;
17069 char *kwnames[] = {
17070 (char *) "self",(char *) "flag", NULL
17071 };
17072
17073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
17074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17075 arg2 = PyInt_AsLong(obj1) ? true : false;
17076 if (PyErr_Occurred()) SWIG_fail;
17077 {
17078 PyThreadState* __tstate = wxPyBeginAllowThreads();
17079 (arg1)->SetPrintToFile(arg2);
17080
17081 wxPyEndAllowThreads(__tstate);
17082 if (PyErr_Occurred()) SWIG_fail;
17083 }
17084 Py_INCREF(Py_None); resultobj = Py_None;
17085 return resultobj;
17086 fail:
17087 return NULL;
17088 }
17089
17090
17091 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17092 PyObject *resultobj;
17093 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17094 bool arg2 ;
17095 PyObject * obj0 = 0 ;
17096 PyObject * obj1 = 0 ;
17097 char *kwnames[] = {
17098 (char *) "self",(char *) "flag", NULL
17099 };
17100
17101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
17102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17103 arg2 = PyInt_AsLong(obj1) ? true : false;
17104 if (PyErr_Occurred()) SWIG_fail;
17105 {
17106 PyThreadState* __tstate = wxPyBeginAllowThreads();
17107 (arg1)->SetSetupDialog(arg2);
17108
17109 wxPyEndAllowThreads(__tstate);
17110 if (PyErr_Occurred()) SWIG_fail;
17111 }
17112 Py_INCREF(Py_None); resultobj = Py_None;
17113 return resultobj;
17114 fail:
17115 return NULL;
17116 }
17117
17118
17119 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17120 PyObject *resultobj;
17121 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17122 bool arg2 ;
17123 PyObject * obj0 = 0 ;
17124 PyObject * obj1 = 0 ;
17125 char *kwnames[] = {
17126 (char *) "self",(char *) "flag", NULL
17127 };
17128
17129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
17130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17131 arg2 = PyInt_AsLong(obj1) ? true : false;
17132 if (PyErr_Occurred()) SWIG_fail;
17133 {
17134 PyThreadState* __tstate = wxPyBeginAllowThreads();
17135 (arg1)->EnablePrintToFile(arg2);
17136
17137 wxPyEndAllowThreads(__tstate);
17138 if (PyErr_Occurred()) SWIG_fail;
17139 }
17140 Py_INCREF(Py_None); resultobj = Py_None;
17141 return resultobj;
17142 fail:
17143 return NULL;
17144 }
17145
17146
17147 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17148 PyObject *resultobj;
17149 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17150 bool arg2 ;
17151 PyObject * obj0 = 0 ;
17152 PyObject * obj1 = 0 ;
17153 char *kwnames[] = {
17154 (char *) "self",(char *) "flag", NULL
17155 };
17156
17157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
17158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17159 arg2 = PyInt_AsLong(obj1) ? true : false;
17160 if (PyErr_Occurred()) SWIG_fail;
17161 {
17162 PyThreadState* __tstate = wxPyBeginAllowThreads();
17163 (arg1)->EnableSelection(arg2);
17164
17165 wxPyEndAllowThreads(__tstate);
17166 if (PyErr_Occurred()) SWIG_fail;
17167 }
17168 Py_INCREF(Py_None); resultobj = Py_None;
17169 return resultobj;
17170 fail:
17171 return NULL;
17172 }
17173
17174
17175 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17176 PyObject *resultobj;
17177 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17178 bool arg2 ;
17179 PyObject * obj0 = 0 ;
17180 PyObject * obj1 = 0 ;
17181 char *kwnames[] = {
17182 (char *) "self",(char *) "flag", NULL
17183 };
17184
17185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
17186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17187 arg2 = PyInt_AsLong(obj1) ? true : false;
17188 if (PyErr_Occurred()) SWIG_fail;
17189 {
17190 PyThreadState* __tstate = wxPyBeginAllowThreads();
17191 (arg1)->EnablePageNumbers(arg2);
17192
17193 wxPyEndAllowThreads(__tstate);
17194 if (PyErr_Occurred()) SWIG_fail;
17195 }
17196 Py_INCREF(Py_None); resultobj = Py_None;
17197 return resultobj;
17198 fail:
17199 return NULL;
17200 }
17201
17202
17203 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17204 PyObject *resultobj;
17205 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17206 bool arg2 ;
17207 PyObject * obj0 = 0 ;
17208 PyObject * obj1 = 0 ;
17209 char *kwnames[] = {
17210 (char *) "self",(char *) "flag", NULL
17211 };
17212
17213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
17214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17215 arg2 = PyInt_AsLong(obj1) ? true : false;
17216 if (PyErr_Occurred()) SWIG_fail;
17217 {
17218 PyThreadState* __tstate = wxPyBeginAllowThreads();
17219 (arg1)->EnableHelp(arg2);
17220
17221 wxPyEndAllowThreads(__tstate);
17222 if (PyErr_Occurred()) SWIG_fail;
17223 }
17224 Py_INCREF(Py_None); resultobj = Py_None;
17225 return resultobj;
17226 fail:
17227 return NULL;
17228 }
17229
17230
17231 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17232 PyObject *resultobj;
17233 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17234 bool result;
17235 PyObject * obj0 = 0 ;
17236 char *kwnames[] = {
17237 (char *) "self", NULL
17238 };
17239
17240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
17241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17242 {
17243 PyThreadState* __tstate = wxPyBeginAllowThreads();
17244 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
17245
17246 wxPyEndAllowThreads(__tstate);
17247 if (PyErr_Occurred()) SWIG_fail;
17248 }
17249 resultobj = PyInt_FromLong((long)result);
17250 return resultobj;
17251 fail:
17252 return NULL;
17253 }
17254
17255
17256 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17257 PyObject *resultobj;
17258 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17259 bool result;
17260 PyObject * obj0 = 0 ;
17261 char *kwnames[] = {
17262 (char *) "self", NULL
17263 };
17264
17265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
17266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17267 {
17268 PyThreadState* __tstate = wxPyBeginAllowThreads();
17269 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
17270
17271 wxPyEndAllowThreads(__tstate);
17272 if (PyErr_Occurred()) SWIG_fail;
17273 }
17274 resultobj = PyInt_FromLong((long)result);
17275 return resultobj;
17276 fail:
17277 return NULL;
17278 }
17279
17280
17281 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17282 PyObject *resultobj;
17283 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17284 bool result;
17285 PyObject * obj0 = 0 ;
17286 char *kwnames[] = {
17287 (char *) "self", NULL
17288 };
17289
17290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
17291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17292 {
17293 PyThreadState* __tstate = wxPyBeginAllowThreads();
17294 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
17295
17296 wxPyEndAllowThreads(__tstate);
17297 if (PyErr_Occurred()) SWIG_fail;
17298 }
17299 resultobj = PyInt_FromLong((long)result);
17300 return resultobj;
17301 fail:
17302 return NULL;
17303 }
17304
17305
17306 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17307 PyObject *resultobj;
17308 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17309 bool result;
17310 PyObject * obj0 = 0 ;
17311 char *kwnames[] = {
17312 (char *) "self", NULL
17313 };
17314
17315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
17316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17317 {
17318 PyThreadState* __tstate = wxPyBeginAllowThreads();
17319 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
17320
17321 wxPyEndAllowThreads(__tstate);
17322 if (PyErr_Occurred()) SWIG_fail;
17323 }
17324 resultobj = PyInt_FromLong((long)result);
17325 return resultobj;
17326 fail:
17327 return NULL;
17328 }
17329
17330
17331 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
17332 PyObject *resultobj;
17333 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17334 bool result;
17335 PyObject * obj0 = 0 ;
17336 char *kwnames[] = {
17337 (char *) "self", NULL
17338 };
17339
17340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
17341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17342 {
17343 PyThreadState* __tstate = wxPyBeginAllowThreads();
17344 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
17345
17346 wxPyEndAllowThreads(__tstate);
17347 if (PyErr_Occurred()) SWIG_fail;
17348 }
17349 resultobj = PyInt_FromLong((long)result);
17350 return resultobj;
17351 fail:
17352 return NULL;
17353 }
17354
17355
17356 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17357 PyObject *resultobj;
17358 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17359 wxPrintData *result;
17360 PyObject * obj0 = 0 ;
17361 char *kwnames[] = {
17362 (char *) "self", NULL
17363 };
17364
17365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
17366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17367 {
17368 PyThreadState* __tstate = wxPyBeginAllowThreads();
17369 {
17370 wxPrintData &_result_ref = (arg1)->GetPrintData();
17371 result = (wxPrintData *) &_result_ref;
17372 }
17373
17374 wxPyEndAllowThreads(__tstate);
17375 if (PyErr_Occurred()) SWIG_fail;
17376 }
17377 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
17378 return resultobj;
17379 fail:
17380 return NULL;
17381 }
17382
17383
17384 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17385 PyObject *resultobj;
17386 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17387 wxPrintData *arg2 = 0 ;
17388 PyObject * obj0 = 0 ;
17389 PyObject * obj1 = 0 ;
17390 char *kwnames[] = {
17391 (char *) "self",(char *) "printData", NULL
17392 };
17393
17394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
17395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17396 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17397 if (arg2 == NULL) {
17398 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17399 }
17400 {
17401 PyThreadState* __tstate = wxPyBeginAllowThreads();
17402 (arg1)->SetPrintData((wxPrintData const &)*arg2);
17403
17404 wxPyEndAllowThreads(__tstate);
17405 if (PyErr_Occurred()) SWIG_fail;
17406 }
17407 Py_INCREF(Py_None); resultobj = Py_None;
17408 return resultobj;
17409 fail:
17410 return NULL;
17411 }
17412
17413
17414 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
17415 PyObject *obj;
17416 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17417 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
17418 Py_INCREF(obj);
17419 return Py_BuildValue((char *)"");
17420 }
17421 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17422 PyObject *resultobj;
17423 wxWindow *arg1 = (wxWindow *) 0 ;
17424 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
17425 wxPrintDialog *result;
17426 PyObject * obj0 = 0 ;
17427 PyObject * obj1 = 0 ;
17428 char *kwnames[] = {
17429 (char *) "parent",(char *) "data", NULL
17430 };
17431
17432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
17433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17434 if (obj1) {
17435 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17436 }
17437 {
17438 PyThreadState* __tstate = wxPyBeginAllowThreads();
17439 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
17440
17441 wxPyEndAllowThreads(__tstate);
17442 if (PyErr_Occurred()) SWIG_fail;
17443 }
17444 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialog, 1);
17445 return resultobj;
17446 fail:
17447 return NULL;
17448 }
17449
17450
17451 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17452 PyObject *resultobj;
17453 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
17454 wxPrintDialogData *result;
17455 PyObject * obj0 = 0 ;
17456 char *kwnames[] = {
17457 (char *) "self", NULL
17458 };
17459
17460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
17461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17462 {
17463 PyThreadState* __tstate = wxPyBeginAllowThreads();
17464 {
17465 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
17466 result = (wxPrintDialogData *) &_result_ref;
17467 }
17468
17469 wxPyEndAllowThreads(__tstate);
17470 if (PyErr_Occurred()) SWIG_fail;
17471 }
17472 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
17473 return resultobj;
17474 fail:
17475 return NULL;
17476 }
17477
17478
17479 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
17480 PyObject *resultobj;
17481 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
17482 wxDC *result;
17483 PyObject * obj0 = 0 ;
17484 char *kwnames[] = {
17485 (char *) "self", NULL
17486 };
17487
17488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
17489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17490 {
17491 PyThreadState* __tstate = wxPyBeginAllowThreads();
17492 result = (wxDC *)(arg1)->GetPrintDC();
17493
17494 wxPyEndAllowThreads(__tstate);
17495 if (PyErr_Occurred()) SWIG_fail;
17496 }
17497 {
17498 resultobj = wxPyMake_wxObject(result);
17499 }
17500 return resultobj;
17501 fail:
17502 return NULL;
17503 }
17504
17505
17506 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
17507 PyObject *resultobj;
17508 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
17509 int result;
17510 PyObject * obj0 = 0 ;
17511 char *kwnames[] = {
17512 (char *) "self", NULL
17513 };
17514
17515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
17516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17517 {
17518 PyThreadState* __tstate = wxPyBeginAllowThreads();
17519 result = (int)(arg1)->ShowModal();
17520
17521 wxPyEndAllowThreads(__tstate);
17522 if (PyErr_Occurred()) SWIG_fail;
17523 }
17524 resultobj = PyInt_FromLong((long)result);
17525 return resultobj;
17526 fail:
17527 return NULL;
17528 }
17529
17530
17531 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
17532 PyObject *obj;
17533 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17534 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
17535 Py_INCREF(obj);
17536 return Py_BuildValue((char *)"");
17537 }
17538 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
17539 PyObject *resultobj;
17540 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
17541 wxPrinter *result;
17542 PyObject * obj0 = 0 ;
17543 char *kwnames[] = {
17544 (char *) "data", NULL
17545 };
17546
17547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
17548 if (obj0) {
17549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17550 }
17551 {
17552 PyThreadState* __tstate = wxPyBeginAllowThreads();
17553 result = (wxPrinter *)new wxPrinter(arg1);
17554
17555 wxPyEndAllowThreads(__tstate);
17556 if (PyErr_Occurred()) SWIG_fail;
17557 }
17558 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrinter, 1);
17559 return resultobj;
17560 fail:
17561 return NULL;
17562 }
17563
17564
17565 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
17566 PyObject *resultobj;
17567 wxPrinter *arg1 = (wxPrinter *) 0 ;
17568 PyObject * obj0 = 0 ;
17569 char *kwnames[] = {
17570 (char *) "self", NULL
17571 };
17572
17573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
17574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17575 {
17576 PyThreadState* __tstate = wxPyBeginAllowThreads();
17577 delete arg1;
17578
17579 wxPyEndAllowThreads(__tstate);
17580 if (PyErr_Occurred()) SWIG_fail;
17581 }
17582 Py_INCREF(Py_None); resultobj = Py_None;
17583 return resultobj;
17584 fail:
17585 return NULL;
17586 }
17587
17588
17589 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17590 PyObject *resultobj;
17591 wxPrinter *arg1 = (wxPrinter *) 0 ;
17592 wxWindow *arg2 = (wxWindow *) 0 ;
17593 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
17594 PyObject * obj0 = 0 ;
17595 PyObject * obj1 = 0 ;
17596 PyObject * obj2 = 0 ;
17597 char *kwnames[] = {
17598 (char *) "self",(char *) "parent",(char *) "printout", NULL
17599 };
17600
17601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
17602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17603 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17604 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17605 {
17606 PyThreadState* __tstate = wxPyBeginAllowThreads();
17607 (arg1)->CreateAbortWindow(arg2,arg3);
17608
17609 wxPyEndAllowThreads(__tstate);
17610 if (PyErr_Occurred()) SWIG_fail;
17611 }
17612 Py_INCREF(Py_None); resultobj = Py_None;
17613 return resultobj;
17614 fail:
17615 return NULL;
17616 }
17617
17618
17619 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17620 PyObject *resultobj;
17621 wxPrinter *arg1 = (wxPrinter *) 0 ;
17622 wxPrintDialogData *result;
17623 PyObject * obj0 = 0 ;
17624 char *kwnames[] = {
17625 (char *) "self", NULL
17626 };
17627
17628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
17629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17630 {
17631 PyThreadState* __tstate = wxPyBeginAllowThreads();
17632 {
17633 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
17634 result = (wxPrintDialogData *) &_result_ref;
17635 }
17636
17637 wxPyEndAllowThreads(__tstate);
17638 if (PyErr_Occurred()) SWIG_fail;
17639 }
17640 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
17641 return resultobj;
17642 fail:
17643 return NULL;
17644 }
17645
17646
17647 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
17648 PyObject *resultobj;
17649 wxPrinter *arg1 = (wxPrinter *) 0 ;
17650 wxWindow *arg2 = (wxWindow *) 0 ;
17651 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
17652 int arg4 = (int) True ;
17653 bool result;
17654 PyObject * obj0 = 0 ;
17655 PyObject * obj1 = 0 ;
17656 PyObject * obj2 = 0 ;
17657 char *kwnames[] = {
17658 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
17659 };
17660
17661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:Printer_Print",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
17662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17663 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17664 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17665 {
17666 PyThreadState* __tstate = wxPyBeginAllowThreads();
17667 result = (bool)(arg1)->Print(arg2,arg3,arg4);
17668
17669 wxPyEndAllowThreads(__tstate);
17670 if (PyErr_Occurred()) SWIG_fail;
17671 }
17672 resultobj = PyInt_FromLong((long)result);
17673 return resultobj;
17674 fail:
17675 return NULL;
17676 }
17677
17678
17679 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17680 PyObject *resultobj;
17681 wxPrinter *arg1 = (wxPrinter *) 0 ;
17682 wxWindow *arg2 = (wxWindow *) 0 ;
17683 wxDC *result;
17684 PyObject * obj0 = 0 ;
17685 PyObject * obj1 = 0 ;
17686 char *kwnames[] = {
17687 (char *) "self",(char *) "parent", NULL
17688 };
17689
17690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
17691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17692 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17693 {
17694 PyThreadState* __tstate = wxPyBeginAllowThreads();
17695 result = (wxDC *)(arg1)->PrintDialog(arg2);
17696
17697 wxPyEndAllowThreads(__tstate);
17698 if (PyErr_Occurred()) SWIG_fail;
17699 }
17700 {
17701 resultobj = wxPyMake_wxObject(result);
17702 }
17703 return resultobj;
17704 fail:
17705 return NULL;
17706 }
17707
17708
17709 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
17710 PyObject *resultobj;
17711 wxPrinter *arg1 = (wxPrinter *) 0 ;
17712 wxWindow *arg2 = (wxWindow *) 0 ;
17713 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
17714 wxString *arg4 = 0 ;
17715 bool temp4 = False ;
17716 PyObject * obj0 = 0 ;
17717 PyObject * obj1 = 0 ;
17718 PyObject * obj2 = 0 ;
17719 PyObject * obj3 = 0 ;
17720 char *kwnames[] = {
17721 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
17722 };
17723
17724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17726 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17727 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17728 {
17729 arg4 = wxString_in_helper(obj3);
17730 if (arg4 == NULL) SWIG_fail;
17731 temp4 = True;
17732 }
17733 {
17734 PyThreadState* __tstate = wxPyBeginAllowThreads();
17735 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
17736
17737 wxPyEndAllowThreads(__tstate);
17738 if (PyErr_Occurred()) SWIG_fail;
17739 }
17740 Py_INCREF(Py_None); resultobj = Py_None;
17741 {
17742 if (temp4)
17743 delete arg4;
17744 }
17745 return resultobj;
17746 fail:
17747 {
17748 if (temp4)
17749 delete arg4;
17750 }
17751 return NULL;
17752 }
17753
17754
17755 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
17756 PyObject *resultobj;
17757 wxPrinter *arg1 = (wxPrinter *) 0 ;
17758 wxWindow *arg2 = (wxWindow *) 0 ;
17759 bool result;
17760 PyObject * obj0 = 0 ;
17761 PyObject * obj1 = 0 ;
17762 char *kwnames[] = {
17763 (char *) "self",(char *) "parent", NULL
17764 };
17765
17766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
17767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17768 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17769 {
17770 PyThreadState* __tstate = wxPyBeginAllowThreads();
17771 result = (bool)(arg1)->Setup(arg2);
17772
17773 wxPyEndAllowThreads(__tstate);
17774 if (PyErr_Occurred()) SWIG_fail;
17775 }
17776 resultobj = PyInt_FromLong((long)result);
17777 return resultobj;
17778 fail:
17779 return NULL;
17780 }
17781
17782
17783 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
17784 PyObject *resultobj;
17785 wxPrinter *arg1 = (wxPrinter *) 0 ;
17786 bool result;
17787 PyObject * obj0 = 0 ;
17788 char *kwnames[] = {
17789 (char *) "self", NULL
17790 };
17791
17792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
17793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17794 {
17795 PyThreadState* __tstate = wxPyBeginAllowThreads();
17796 result = (bool)(arg1)->GetAbort();
17797
17798 wxPyEndAllowThreads(__tstate);
17799 if (PyErr_Occurred()) SWIG_fail;
17800 }
17801 resultobj = PyInt_FromLong((long)result);
17802 return resultobj;
17803 fail:
17804 return NULL;
17805 }
17806
17807
17808 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
17809 PyObject *resultobj;
17810 int result;
17811 char *kwnames[] = {
17812 NULL
17813 };
17814
17815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
17816 {
17817 PyThreadState* __tstate = wxPyBeginAllowThreads();
17818 result = (int)wxPrinter::GetLastError();
17819
17820 wxPyEndAllowThreads(__tstate);
17821 if (PyErr_Occurred()) SWIG_fail;
17822 }
17823 resultobj = PyInt_FromLong((long)result);
17824 return resultobj;
17825 fail:
17826 return NULL;
17827 }
17828
17829
17830 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
17831 PyObject *obj;
17832 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17833 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
17834 Py_INCREF(obj);
17835 return Py_BuildValue((char *)"");
17836 }
17837 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
17838 PyObject *resultobj;
17839 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
17840 wxString *arg1 = (wxString *) &arg1_defvalue ;
17841 wxPyPrintout *result;
17842 bool temp1 = False ;
17843 PyObject * obj0 = 0 ;
17844 char *kwnames[] = {
17845 (char *) "title", NULL
17846 };
17847
17848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
17849 if (obj0) {
17850 {
17851 arg1 = wxString_in_helper(obj0);
17852 if (arg1 == NULL) SWIG_fail;
17853 temp1 = True;
17854 }
17855 }
17856 {
17857 PyThreadState* __tstate = wxPyBeginAllowThreads();
17858 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
17859
17860 wxPyEndAllowThreads(__tstate);
17861 if (PyErr_Occurred()) SWIG_fail;
17862 }
17863 {
17864 resultobj = wxPyMake_wxObject(result);
17865 }
17866 {
17867 if (temp1)
17868 delete arg1;
17869 }
17870 return resultobj;
17871 fail:
17872 {
17873 if (temp1)
17874 delete arg1;
17875 }
17876 return NULL;
17877 }
17878
17879
17880 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17881 PyObject *resultobj;
17882 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
17883 PyObject *arg2 = (PyObject *) 0 ;
17884 PyObject *arg3 = (PyObject *) 0 ;
17885 PyObject * obj0 = 0 ;
17886 PyObject * obj1 = 0 ;
17887 PyObject * obj2 = 0 ;
17888 char *kwnames[] = {
17889 (char *) "self",(char *) "self",(char *) "_class", NULL
17890 };
17891
17892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17894 arg2 = obj1;
17895 arg3 = obj2;
17896 {
17897 PyThreadState* __tstate = wxPyBeginAllowThreads();
17898 (arg1)->_setCallbackInfo(arg2,arg3);
17899
17900 wxPyEndAllowThreads(__tstate);
17901 if (PyErr_Occurred()) SWIG_fail;
17902 }
17903 Py_INCREF(Py_None); resultobj = Py_None;
17904 return resultobj;
17905 fail:
17906 return NULL;
17907 }
17908
17909
17910 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
17911 PyObject *resultobj;
17912 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
17913 wxString result;
17914 PyObject * obj0 = 0 ;
17915 char *kwnames[] = {
17916 (char *) "self", NULL
17917 };
17918
17919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
17920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17921 {
17922 PyThreadState* __tstate = wxPyBeginAllowThreads();
17923 result = ((wxPyPrintout const *)arg1)->GetTitle();
17924
17925 wxPyEndAllowThreads(__tstate);
17926 if (PyErr_Occurred()) SWIG_fail;
17927 }
17928 {
17929 #if wxUSE_UNICODE
17930 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17931 #else
17932 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17933 #endif
17934 }
17935 return resultobj;
17936 fail:
17937 return NULL;
17938 }
17939
17940
17941 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
17942 PyObject *resultobj;
17943 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
17944 wxDC *result;
17945 PyObject * obj0 = 0 ;
17946 char *kwnames[] = {
17947 (char *) "self", NULL
17948 };
17949
17950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
17951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17952 {
17953 PyThreadState* __tstate = wxPyBeginAllowThreads();
17954 result = (wxDC *)(arg1)->GetDC();
17955
17956 wxPyEndAllowThreads(__tstate);
17957 if (PyErr_Occurred()) SWIG_fail;
17958 }
17959 {
17960 resultobj = wxPyMake_wxObject(result);
17961 }
17962 return resultobj;
17963 fail:
17964 return NULL;
17965 }
17966
17967
17968 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
17969 PyObject *resultobj;
17970 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
17971 wxDC *arg2 = (wxDC *) 0 ;
17972 PyObject * obj0 = 0 ;
17973 PyObject * obj1 = 0 ;
17974 char *kwnames[] = {
17975 (char *) "self",(char *) "dc", NULL
17976 };
17977
17978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
17979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17980 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17981 {
17982 PyThreadState* __tstate = wxPyBeginAllowThreads();
17983 (arg1)->SetDC(arg2);
17984
17985 wxPyEndAllowThreads(__tstate);
17986 if (PyErr_Occurred()) SWIG_fail;
17987 }
17988 Py_INCREF(Py_None); resultobj = Py_None;
17989 return resultobj;
17990 fail:
17991 return NULL;
17992 }
17993
17994
17995 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
17996 PyObject *resultobj;
17997 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
17998 int arg2 ;
17999 int arg3 ;
18000 PyObject * obj0 = 0 ;
18001 char *kwnames[] = {
18002 (char *) "self",(char *) "w",(char *) "h", NULL
18003 };
18004
18005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizePixels",kwnames,&obj0,&arg2,&arg3)) goto fail;
18006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18007 {
18008 PyThreadState* __tstate = wxPyBeginAllowThreads();
18009 (arg1)->SetPageSizePixels(arg2,arg3);
18010
18011 wxPyEndAllowThreads(__tstate);
18012 if (PyErr_Occurred()) SWIG_fail;
18013 }
18014 Py_INCREF(Py_None); resultobj = Py_None;
18015 return resultobj;
18016 fail:
18017 return NULL;
18018 }
18019
18020
18021 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
18022 PyObject *resultobj;
18023 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18024 int *arg2 = (int *) 0 ;
18025 int *arg3 = (int *) 0 ;
18026 int temp2 ;
18027 int temp3 ;
18028 PyObject * obj0 = 0 ;
18029 char *kwnames[] = {
18030 (char *) "self", NULL
18031 };
18032
18033 arg2 = &temp2;
18034 arg3 = &temp3;
18035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
18036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18037 {
18038 PyThreadState* __tstate = wxPyBeginAllowThreads();
18039 (arg1)->GetPageSizePixels(arg2,arg3);
18040
18041 wxPyEndAllowThreads(__tstate);
18042 if (PyErr_Occurred()) SWIG_fail;
18043 }
18044 Py_INCREF(Py_None); resultobj = Py_None;
18045 {
18046 PyObject *o = PyInt_FromLong((long) (*arg2));
18047 resultobj = t_output_helper(resultobj,o);
18048 }
18049 {
18050 PyObject *o = PyInt_FromLong((long) (*arg3));
18051 resultobj = t_output_helper(resultobj,o);
18052 }
18053 return resultobj;
18054 fail:
18055 return NULL;
18056 }
18057
18058
18059 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18060 PyObject *resultobj;
18061 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18062 int arg2 ;
18063 int arg3 ;
18064 PyObject * obj0 = 0 ;
18065 char *kwnames[] = {
18066 (char *) "self",(char *) "w",(char *) "h", NULL
18067 };
18068
18069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizeMM",kwnames,&obj0,&arg2,&arg3)) goto fail;
18070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18071 {
18072 PyThreadState* __tstate = wxPyBeginAllowThreads();
18073 (arg1)->SetPageSizeMM(arg2,arg3);
18074
18075 wxPyEndAllowThreads(__tstate);
18076 if (PyErr_Occurred()) SWIG_fail;
18077 }
18078 Py_INCREF(Py_None); resultobj = Py_None;
18079 return resultobj;
18080 fail:
18081 return NULL;
18082 }
18083
18084
18085 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18086 PyObject *resultobj;
18087 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18088 int *arg2 = (int *) 0 ;
18089 int *arg3 = (int *) 0 ;
18090 int temp2 ;
18091 int temp3 ;
18092 PyObject * obj0 = 0 ;
18093 char *kwnames[] = {
18094 (char *) "self", NULL
18095 };
18096
18097 arg2 = &temp2;
18098 arg3 = &temp3;
18099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
18100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18101 {
18102 PyThreadState* __tstate = wxPyBeginAllowThreads();
18103 (arg1)->GetPageSizeMM(arg2,arg3);
18104
18105 wxPyEndAllowThreads(__tstate);
18106 if (PyErr_Occurred()) SWIG_fail;
18107 }
18108 Py_INCREF(Py_None); resultobj = Py_None;
18109 {
18110 PyObject *o = PyInt_FromLong((long) (*arg2));
18111 resultobj = t_output_helper(resultobj,o);
18112 }
18113 {
18114 PyObject *o = PyInt_FromLong((long) (*arg3));
18115 resultobj = t_output_helper(resultobj,o);
18116 }
18117 return resultobj;
18118 fail:
18119 return NULL;
18120 }
18121
18122
18123 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18124 PyObject *resultobj;
18125 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18126 int arg2 ;
18127 int arg3 ;
18128 PyObject * obj0 = 0 ;
18129 char *kwnames[] = {
18130 (char *) "self",(char *) "x",(char *) "y", NULL
18131 };
18132
18133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIScreen",kwnames,&obj0,&arg2,&arg3)) goto fail;
18134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18135 {
18136 PyThreadState* __tstate = wxPyBeginAllowThreads();
18137 (arg1)->SetPPIScreen(arg2,arg3);
18138
18139 wxPyEndAllowThreads(__tstate);
18140 if (PyErr_Occurred()) SWIG_fail;
18141 }
18142 Py_INCREF(Py_None); resultobj = Py_None;
18143 return resultobj;
18144 fail:
18145 return NULL;
18146 }
18147
18148
18149 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18150 PyObject *resultobj;
18151 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18152 int *arg2 = (int *) 0 ;
18153 int *arg3 = (int *) 0 ;
18154 int temp2 ;
18155 int temp3 ;
18156 PyObject * obj0 = 0 ;
18157 char *kwnames[] = {
18158 (char *) "self", NULL
18159 };
18160
18161 arg2 = &temp2;
18162 arg3 = &temp3;
18163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
18164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18165 {
18166 PyThreadState* __tstate = wxPyBeginAllowThreads();
18167 (arg1)->GetPPIScreen(arg2,arg3);
18168
18169 wxPyEndAllowThreads(__tstate);
18170 if (PyErr_Occurred()) SWIG_fail;
18171 }
18172 Py_INCREF(Py_None); resultobj = Py_None;
18173 {
18174 PyObject *o = PyInt_FromLong((long) (*arg2));
18175 resultobj = t_output_helper(resultobj,o);
18176 }
18177 {
18178 PyObject *o = PyInt_FromLong((long) (*arg3));
18179 resultobj = t_output_helper(resultobj,o);
18180 }
18181 return resultobj;
18182 fail:
18183 return NULL;
18184 }
18185
18186
18187 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18188 PyObject *resultobj;
18189 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18190 int arg2 ;
18191 int arg3 ;
18192 PyObject * obj0 = 0 ;
18193 char *kwnames[] = {
18194 (char *) "self",(char *) "x",(char *) "y", NULL
18195 };
18196
18197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIPrinter",kwnames,&obj0,&arg2,&arg3)) 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 (arg1)->SetPPIPrinter(arg2,arg3);
18202
18203 wxPyEndAllowThreads(__tstate);
18204 if (PyErr_Occurred()) SWIG_fail;
18205 }
18206 Py_INCREF(Py_None); resultobj = Py_None;
18207 return resultobj;
18208 fail:
18209 return NULL;
18210 }
18211
18212
18213 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18214 PyObject *resultobj;
18215 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18216 int *arg2 = (int *) 0 ;
18217 int *arg3 = (int *) 0 ;
18218 int temp2 ;
18219 int temp3 ;
18220 PyObject * obj0 = 0 ;
18221 char *kwnames[] = {
18222 (char *) "self", NULL
18223 };
18224
18225 arg2 = &temp2;
18226 arg3 = &temp3;
18227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
18228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18229 {
18230 PyThreadState* __tstate = wxPyBeginAllowThreads();
18231 (arg1)->GetPPIPrinter(arg2,arg3);
18232
18233 wxPyEndAllowThreads(__tstate);
18234 if (PyErr_Occurred()) SWIG_fail;
18235 }
18236 Py_INCREF(Py_None); resultobj = Py_None;
18237 {
18238 PyObject *o = PyInt_FromLong((long) (*arg2));
18239 resultobj = t_output_helper(resultobj,o);
18240 }
18241 {
18242 PyObject *o = PyInt_FromLong((long) (*arg3));
18243 resultobj = t_output_helper(resultobj,o);
18244 }
18245 return resultobj;
18246 fail:
18247 return NULL;
18248 }
18249
18250
18251 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18252 PyObject *resultobj;
18253 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18254 bool result;
18255 PyObject * obj0 = 0 ;
18256 char *kwnames[] = {
18257 (char *) "self", NULL
18258 };
18259
18260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
18261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18262 {
18263 PyThreadState* __tstate = wxPyBeginAllowThreads();
18264 result = (bool)(arg1)->IsPreview();
18265
18266 wxPyEndAllowThreads(__tstate);
18267 if (PyErr_Occurred()) SWIG_fail;
18268 }
18269 resultobj = PyInt_FromLong((long)result);
18270 return resultobj;
18271 fail:
18272 return NULL;
18273 }
18274
18275
18276 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18277 PyObject *resultobj;
18278 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18279 bool arg2 ;
18280 PyObject * obj0 = 0 ;
18281 PyObject * obj1 = 0 ;
18282 char *kwnames[] = {
18283 (char *) "self",(char *) "p", NULL
18284 };
18285
18286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
18287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18288 arg2 = PyInt_AsLong(obj1) ? true : false;
18289 if (PyErr_Occurred()) SWIG_fail;
18290 {
18291 PyThreadState* __tstate = wxPyBeginAllowThreads();
18292 (arg1)->SetIsPreview(arg2);
18293
18294 wxPyEndAllowThreads(__tstate);
18295 if (PyErr_Occurred()) SWIG_fail;
18296 }
18297 Py_INCREF(Py_None); resultobj = Py_None;
18298 return resultobj;
18299 fail:
18300 return NULL;
18301 }
18302
18303
18304 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
18305 PyObject *resultobj;
18306 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18307 int arg2 ;
18308 int arg3 ;
18309 bool result;
18310 PyObject * obj0 = 0 ;
18311 char *kwnames[] = {
18312 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
18313 };
18314
18315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_base_OnBeginDocument",kwnames,&obj0,&arg2,&arg3)) goto fail;
18316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18317 {
18318 PyThreadState* __tstate = wxPyBeginAllowThreads();
18319 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
18320
18321 wxPyEndAllowThreads(__tstate);
18322 if (PyErr_Occurred()) SWIG_fail;
18323 }
18324 resultobj = PyInt_FromLong((long)result);
18325 return resultobj;
18326 fail:
18327 return NULL;
18328 }
18329
18330
18331 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
18332 PyObject *resultobj;
18333 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18334 PyObject * obj0 = 0 ;
18335 char *kwnames[] = {
18336 (char *) "self", NULL
18337 };
18338
18339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
18340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18341 {
18342 PyThreadState* __tstate = wxPyBeginAllowThreads();
18343 (arg1)->base_OnEndDocument();
18344
18345 wxPyEndAllowThreads(__tstate);
18346 if (PyErr_Occurred()) SWIG_fail;
18347 }
18348 Py_INCREF(Py_None); resultobj = Py_None;
18349 return resultobj;
18350 fail:
18351 return NULL;
18352 }
18353
18354
18355 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18356 PyObject *resultobj;
18357 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18358 PyObject * obj0 = 0 ;
18359 char *kwnames[] = {
18360 (char *) "self", NULL
18361 };
18362
18363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
18364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18365 {
18366 PyThreadState* __tstate = wxPyBeginAllowThreads();
18367 (arg1)->base_OnBeginPrinting();
18368
18369 wxPyEndAllowThreads(__tstate);
18370 if (PyErr_Occurred()) SWIG_fail;
18371 }
18372 Py_INCREF(Py_None); resultobj = Py_None;
18373 return resultobj;
18374 fail:
18375 return NULL;
18376 }
18377
18378
18379 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18380 PyObject *resultobj;
18381 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18382 PyObject * obj0 = 0 ;
18383 char *kwnames[] = {
18384 (char *) "self", NULL
18385 };
18386
18387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
18388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18389 {
18390 PyThreadState* __tstate = wxPyBeginAllowThreads();
18391 (arg1)->base_OnEndPrinting();
18392
18393 wxPyEndAllowThreads(__tstate);
18394 if (PyErr_Occurred()) SWIG_fail;
18395 }
18396 Py_INCREF(Py_None); resultobj = Py_None;
18397 return resultobj;
18398 fail:
18399 return NULL;
18400 }
18401
18402
18403 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18404 PyObject *resultobj;
18405 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18406 PyObject * obj0 = 0 ;
18407 char *kwnames[] = {
18408 (char *) "self", NULL
18409 };
18410
18411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) 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)->base_OnPreparePrinting();
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_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18428 PyObject *resultobj;
18429 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18430 int arg2 ;
18431 bool result;
18432 PyObject * obj0 = 0 ;
18433 char *kwnames[] = {
18434 (char *) "self",(char *) "page", NULL
18435 };
18436
18437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Printout_base_HasPage",kwnames,&obj0,&arg2)) goto fail;
18438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18439 {
18440 PyThreadState* __tstate = wxPyBeginAllowThreads();
18441 result = (bool)(arg1)->base_HasPage(arg2);
18442
18443 wxPyEndAllowThreads(__tstate);
18444 if (PyErr_Occurred()) SWIG_fail;
18445 }
18446 resultobj = PyInt_FromLong((long)result);
18447 return resultobj;
18448 fail:
18449 return NULL;
18450 }
18451
18452
18453 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18454 PyObject *resultobj;
18455 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18456 int *arg2 = (int *) 0 ;
18457 int *arg3 = (int *) 0 ;
18458 int *arg4 = (int *) 0 ;
18459 int *arg5 = (int *) 0 ;
18460 int temp2 ;
18461 int temp3 ;
18462 int temp4 ;
18463 int temp5 ;
18464 PyObject * obj0 = 0 ;
18465 char *kwnames[] = {
18466 (char *) "self", NULL
18467 };
18468
18469 arg2 = &temp2;
18470 arg3 = &temp3;
18471 arg4 = &temp4;
18472 arg5 = &temp5;
18473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
18474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18475 {
18476 PyThreadState* __tstate = wxPyBeginAllowThreads();
18477 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
18478
18479 wxPyEndAllowThreads(__tstate);
18480 if (PyErr_Occurred()) SWIG_fail;
18481 }
18482 Py_INCREF(Py_None); resultobj = Py_None;
18483 {
18484 PyObject *o = PyInt_FromLong((long) (*arg2));
18485 resultobj = t_output_helper(resultobj,o);
18486 }
18487 {
18488 PyObject *o = PyInt_FromLong((long) (*arg3));
18489 resultobj = t_output_helper(resultobj,o);
18490 }
18491 {
18492 PyObject *o = PyInt_FromLong((long) (*arg4));
18493 resultobj = t_output_helper(resultobj,o);
18494 }
18495 {
18496 PyObject *o = PyInt_FromLong((long) (*arg5));
18497 resultobj = t_output_helper(resultobj,o);
18498 }
18499 return resultobj;
18500 fail:
18501 return NULL;
18502 }
18503
18504
18505 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
18506 PyObject *obj;
18507 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18508 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
18509 Py_INCREF(obj);
18510 return Py_BuildValue((char *)"");
18511 }
18512 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
18513 PyObject *resultobj;
18514 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
18515 wxWindow *arg2 = (wxWindow *) 0 ;
18516 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18517 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18518 wxSize const &arg4_defvalue = wxDefaultSize ;
18519 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18520 long arg5 = (long) 0 ;
18521 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
18522 wxString *arg6 = (wxString *) &arg6_defvalue ;
18523 wxPreviewCanvas *result;
18524 wxPoint temp3 ;
18525 wxSize temp4 ;
18526 bool temp6 = False ;
18527 PyObject * obj0 = 0 ;
18528 PyObject * obj1 = 0 ;
18529 PyObject * obj2 = 0 ;
18530 PyObject * obj3 = 0 ;
18531 PyObject * obj5 = 0 ;
18532 char *kwnames[] = {
18533 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18534 };
18535
18536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
18537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18538 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18539 if (obj2) {
18540 {
18541 arg3 = &temp3;
18542 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18543 }
18544 }
18545 if (obj3) {
18546 {
18547 arg4 = &temp4;
18548 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18549 }
18550 }
18551 if (obj5) {
18552 {
18553 arg6 = wxString_in_helper(obj5);
18554 if (arg6 == NULL) SWIG_fail;
18555 temp6 = True;
18556 }
18557 }
18558 {
18559 PyThreadState* __tstate = wxPyBeginAllowThreads();
18560 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18561
18562 wxPyEndAllowThreads(__tstate);
18563 if (PyErr_Occurred()) SWIG_fail;
18564 }
18565 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 1);
18566 {
18567 if (temp6)
18568 delete arg6;
18569 }
18570 return resultobj;
18571 fail:
18572 {
18573 if (temp6)
18574 delete arg6;
18575 }
18576 return NULL;
18577 }
18578
18579
18580 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
18581 PyObject *obj;
18582 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18583 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
18584 Py_INCREF(obj);
18585 return Py_BuildValue((char *)"");
18586 }
18587 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
18588 PyObject *resultobj;
18589 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
18590 wxFrame *arg2 = (wxFrame *) 0 ;
18591 wxString *arg3 = 0 ;
18592 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18593 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18594 wxSize const &arg5_defvalue = wxDefaultSize ;
18595 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18596 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
18597 wxString const &arg7_defvalue = wxPyFrameNameStr ;
18598 wxString *arg7 = (wxString *) &arg7_defvalue ;
18599 wxPreviewFrame *result;
18600 bool temp3 = False ;
18601 wxPoint temp4 ;
18602 wxSize temp5 ;
18603 bool temp7 = False ;
18604 PyObject * obj0 = 0 ;
18605 PyObject * obj1 = 0 ;
18606 PyObject * obj2 = 0 ;
18607 PyObject * obj3 = 0 ;
18608 PyObject * obj4 = 0 ;
18609 PyObject * obj6 = 0 ;
18610 char *kwnames[] = {
18611 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18612 };
18613
18614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
18615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18616 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18617 {
18618 arg3 = wxString_in_helper(obj2);
18619 if (arg3 == NULL) SWIG_fail;
18620 temp3 = True;
18621 }
18622 if (obj3) {
18623 {
18624 arg4 = &temp4;
18625 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18626 }
18627 }
18628 if (obj4) {
18629 {
18630 arg5 = &temp5;
18631 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18632 }
18633 }
18634 if (obj6) {
18635 {
18636 arg7 = wxString_in_helper(obj6);
18637 if (arg7 == NULL) SWIG_fail;
18638 temp7 = True;
18639 }
18640 }
18641 {
18642 PyThreadState* __tstate = wxPyBeginAllowThreads();
18643 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18644
18645 wxPyEndAllowThreads(__tstate);
18646 if (PyErr_Occurred()) SWIG_fail;
18647 }
18648 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewFrame, 1);
18649 {
18650 if (temp3)
18651 delete arg3;
18652 }
18653 {
18654 if (temp7)
18655 delete arg7;
18656 }
18657 return resultobj;
18658 fail:
18659 {
18660 if (temp3)
18661 delete arg3;
18662 }
18663 {
18664 if (temp7)
18665 delete arg7;
18666 }
18667 return NULL;
18668 }
18669
18670
18671 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
18672 PyObject *resultobj;
18673 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
18674 PyObject * obj0 = 0 ;
18675 char *kwnames[] = {
18676 (char *) "self", NULL
18677 };
18678
18679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
18680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18681 {
18682 PyThreadState* __tstate = wxPyBeginAllowThreads();
18683 (arg1)->Initialize();
18684
18685 wxPyEndAllowThreads(__tstate);
18686 if (PyErr_Occurred()) SWIG_fail;
18687 }
18688 Py_INCREF(Py_None); resultobj = Py_None;
18689 return resultobj;
18690 fail:
18691 return NULL;
18692 }
18693
18694
18695 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
18696 PyObject *resultobj;
18697 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
18698 PyObject * obj0 = 0 ;
18699 char *kwnames[] = {
18700 (char *) "self", NULL
18701 };
18702
18703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
18704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18705 {
18706 PyThreadState* __tstate = wxPyBeginAllowThreads();
18707 (arg1)->CreateControlBar();
18708
18709 wxPyEndAllowThreads(__tstate);
18710 if (PyErr_Occurred()) SWIG_fail;
18711 }
18712 Py_INCREF(Py_None); resultobj = Py_None;
18713 return resultobj;
18714 fail:
18715 return NULL;
18716 }
18717
18718
18719 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
18720 PyObject *resultobj;
18721 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
18722 PyObject * obj0 = 0 ;
18723 char *kwnames[] = {
18724 (char *) "self", NULL
18725 };
18726
18727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
18728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18729 {
18730 PyThreadState* __tstate = wxPyBeginAllowThreads();
18731 (arg1)->CreateCanvas();
18732
18733 wxPyEndAllowThreads(__tstate);
18734 if (PyErr_Occurred()) SWIG_fail;
18735 }
18736 Py_INCREF(Py_None); resultobj = Py_None;
18737 return resultobj;
18738 fail:
18739 return NULL;
18740 }
18741
18742
18743 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
18744 PyObject *resultobj;
18745 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
18746 wxPreviewControlBar *result;
18747 PyObject * obj0 = 0 ;
18748 char *kwnames[] = {
18749 (char *) "self", NULL
18750 };
18751
18752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
18753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18754 {
18755 PyThreadState* __tstate = wxPyBeginAllowThreads();
18756 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
18757
18758 wxPyEndAllowThreads(__tstate);
18759 if (PyErr_Occurred()) SWIG_fail;
18760 }
18761 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 0);
18762 return resultobj;
18763 fail:
18764 return NULL;
18765 }
18766
18767
18768 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
18769 PyObject *obj;
18770 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18771 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
18772 Py_INCREF(obj);
18773 return Py_BuildValue((char *)"");
18774 }
18775 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
18776 PyObject *resultobj;
18777 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
18778 long arg2 ;
18779 wxWindow *arg3 = (wxWindow *) 0 ;
18780 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18781 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18782 wxSize const &arg5_defvalue = wxDefaultSize ;
18783 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18784 long arg6 = (long) wxTAB_TRAVERSAL ;
18785 wxString const &arg7_defvalue = wxPyPanelNameStr ;
18786 wxString *arg7 = (wxString *) &arg7_defvalue ;
18787 wxPreviewControlBar *result;
18788 wxPoint temp4 ;
18789 wxSize temp5 ;
18790 bool temp7 = False ;
18791 PyObject * obj0 = 0 ;
18792 PyObject * obj2 = 0 ;
18793 PyObject * obj3 = 0 ;
18794 PyObject * obj4 = 0 ;
18795 PyObject * obj6 = 0 ;
18796 char *kwnames[] = {
18797 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18798 };
18799
18800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
18801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18802 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18803 if (obj3) {
18804 {
18805 arg4 = &temp4;
18806 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18807 }
18808 }
18809 if (obj4) {
18810 {
18811 arg5 = &temp5;
18812 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18813 }
18814 }
18815 if (obj6) {
18816 {
18817 arg7 = wxString_in_helper(obj6);
18818 if (arg7 == NULL) SWIG_fail;
18819 temp7 = True;
18820 }
18821 }
18822 {
18823 PyThreadState* __tstate = wxPyBeginAllowThreads();
18824 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18825
18826 wxPyEndAllowThreads(__tstate);
18827 if (PyErr_Occurred()) SWIG_fail;
18828 }
18829 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 1);
18830 {
18831 if (temp7)
18832 delete arg7;
18833 }
18834 return resultobj;
18835 fail:
18836 {
18837 if (temp7)
18838 delete arg7;
18839 }
18840 return NULL;
18841 }
18842
18843
18844 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
18845 PyObject *resultobj;
18846 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
18847 int result;
18848 PyObject * obj0 = 0 ;
18849 char *kwnames[] = {
18850 (char *) "self", NULL
18851 };
18852
18853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
18854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18855 {
18856 PyThreadState* __tstate = wxPyBeginAllowThreads();
18857 result = (int)(arg1)->GetZoomControl();
18858
18859 wxPyEndAllowThreads(__tstate);
18860 if (PyErr_Occurred()) SWIG_fail;
18861 }
18862 resultobj = PyInt_FromLong((long)result);
18863 return resultobj;
18864 fail:
18865 return NULL;
18866 }
18867
18868
18869 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
18870 PyObject *resultobj;
18871 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
18872 int arg2 ;
18873 PyObject * obj0 = 0 ;
18874 char *kwnames[] = {
18875 (char *) "self",(char *) "zoom", NULL
18876 };
18877
18878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PreviewControlBar_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
18879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18880 {
18881 PyThreadState* __tstate = wxPyBeginAllowThreads();
18882 (arg1)->SetZoomControl(arg2);
18883
18884 wxPyEndAllowThreads(__tstate);
18885 if (PyErr_Occurred()) SWIG_fail;
18886 }
18887 Py_INCREF(Py_None); resultobj = Py_None;
18888 return resultobj;
18889 fail:
18890 return NULL;
18891 }
18892
18893
18894 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18895 PyObject *resultobj;
18896 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
18897 wxPrintPreview *result;
18898 PyObject * obj0 = 0 ;
18899 char *kwnames[] = {
18900 (char *) "self", NULL
18901 };
18902
18903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
18904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18905 {
18906 PyThreadState* __tstate = wxPyBeginAllowThreads();
18907 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
18908
18909 wxPyEndAllowThreads(__tstate);
18910 if (PyErr_Occurred()) SWIG_fail;
18911 }
18912 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 0);
18913 return resultobj;
18914 fail:
18915 return NULL;
18916 }
18917
18918
18919 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
18920 PyObject *resultobj;
18921 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
18922 PyObject * obj0 = 0 ;
18923 char *kwnames[] = {
18924 (char *) "self", NULL
18925 };
18926
18927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
18928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18929 {
18930 PyThreadState* __tstate = wxPyBeginAllowThreads();
18931 (arg1)->OnNext();
18932
18933 wxPyEndAllowThreads(__tstate);
18934 if (PyErr_Occurred()) SWIG_fail;
18935 }
18936 Py_INCREF(Py_None); resultobj = Py_None;
18937 return resultobj;
18938 fail:
18939 return NULL;
18940 }
18941
18942
18943 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
18944 PyObject *resultobj;
18945 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
18946 PyObject * obj0 = 0 ;
18947 char *kwnames[] = {
18948 (char *) "self", NULL
18949 };
18950
18951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
18952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18953 {
18954 PyThreadState* __tstate = wxPyBeginAllowThreads();
18955 (arg1)->OnPrevious();
18956
18957 wxPyEndAllowThreads(__tstate);
18958 if (PyErr_Occurred()) SWIG_fail;
18959 }
18960 Py_INCREF(Py_None); resultobj = Py_None;
18961 return resultobj;
18962 fail:
18963 return NULL;
18964 }
18965
18966
18967 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
18968 PyObject *resultobj;
18969 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
18970 PyObject * obj0 = 0 ;
18971 char *kwnames[] = {
18972 (char *) "self", NULL
18973 };
18974
18975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
18976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18977 {
18978 PyThreadState* __tstate = wxPyBeginAllowThreads();
18979 (arg1)->OnFirst();
18980
18981 wxPyEndAllowThreads(__tstate);
18982 if (PyErr_Occurred()) SWIG_fail;
18983 }
18984 Py_INCREF(Py_None); resultobj = Py_None;
18985 return resultobj;
18986 fail:
18987 return NULL;
18988 }
18989
18990
18991 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
18992 PyObject *resultobj;
18993 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
18994 PyObject * obj0 = 0 ;
18995 char *kwnames[] = {
18996 (char *) "self", NULL
18997 };
18998
18999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
19000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19001 {
19002 PyThreadState* __tstate = wxPyBeginAllowThreads();
19003 (arg1)->OnLast();
19004
19005 wxPyEndAllowThreads(__tstate);
19006 if (PyErr_Occurred()) SWIG_fail;
19007 }
19008 Py_INCREF(Py_None); resultobj = Py_None;
19009 return resultobj;
19010 fail:
19011 return NULL;
19012 }
19013
19014
19015 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
19016 PyObject *resultobj;
19017 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19018 PyObject * obj0 = 0 ;
19019 char *kwnames[] = {
19020 (char *) "self", NULL
19021 };
19022
19023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
19024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19025 {
19026 PyThreadState* __tstate = wxPyBeginAllowThreads();
19027 (arg1)->OnGoto();
19028
19029 wxPyEndAllowThreads(__tstate);
19030 if (PyErr_Occurred()) SWIG_fail;
19031 }
19032 Py_INCREF(Py_None); resultobj = Py_None;
19033 return resultobj;
19034 fail:
19035 return NULL;
19036 }
19037
19038
19039 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
19040 PyObject *obj;
19041 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19042 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
19043 Py_INCREF(obj);
19044 return Py_BuildValue((char *)"");
19045 }
19046 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19047 PyObject *resultobj;
19048 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19049 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19050 wxPrintData *arg3 = (wxPrintData *) NULL ;
19051 wxPrintPreview *result;
19052 PyObject * obj0 = 0 ;
19053 PyObject * obj1 = 0 ;
19054 PyObject * obj2 = 0 ;
19055 char *kwnames[] = {
19056 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19057 };
19058
19059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
19060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19061 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19062 if (obj2) {
19063 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19064 }
19065 {
19066 PyThreadState* __tstate = wxPyBeginAllowThreads();
19067 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
19068
19069 wxPyEndAllowThreads(__tstate);
19070 if (PyErr_Occurred()) SWIG_fail;
19071 }
19072 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 1);
19073 return resultobj;
19074 fail:
19075 return NULL;
19076 }
19077
19078
19079 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19080 PyObject *resultobj;
19081 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19082 int arg2 ;
19083 bool result;
19084 PyObject * obj0 = 0 ;
19085 char *kwnames[] = {
19086 (char *) "self",(char *) "pageNum", NULL
19087 };
19088
19089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
19090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19091 {
19092 PyThreadState* __tstate = wxPyBeginAllowThreads();
19093 result = (bool)(arg1)->SetCurrentPage(arg2);
19094
19095 wxPyEndAllowThreads(__tstate);
19096 if (PyErr_Occurred()) SWIG_fail;
19097 }
19098 resultobj = PyInt_FromLong((long)result);
19099 return resultobj;
19100 fail:
19101 return NULL;
19102 }
19103
19104
19105 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19106 PyObject *resultobj;
19107 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19108 int result;
19109 PyObject * obj0 = 0 ;
19110 char *kwnames[] = {
19111 (char *) "self", NULL
19112 };
19113
19114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
19115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19116 {
19117 PyThreadState* __tstate = wxPyBeginAllowThreads();
19118 result = (int)(arg1)->GetCurrentPage();
19119
19120 wxPyEndAllowThreads(__tstate);
19121 if (PyErr_Occurred()) SWIG_fail;
19122 }
19123 resultobj = PyInt_FromLong((long)result);
19124 return resultobj;
19125 fail:
19126 return NULL;
19127 }
19128
19129
19130 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19131 PyObject *resultobj;
19132 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19133 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19134 PyObject * obj0 = 0 ;
19135 PyObject * obj1 = 0 ;
19136 char *kwnames[] = {
19137 (char *) "self",(char *) "printout", NULL
19138 };
19139
19140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
19141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19142 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19143 {
19144 PyThreadState* __tstate = wxPyBeginAllowThreads();
19145 (arg1)->SetPrintout(arg2);
19146
19147 wxPyEndAllowThreads(__tstate);
19148 if (PyErr_Occurred()) SWIG_fail;
19149 }
19150 Py_INCREF(Py_None); resultobj = Py_None;
19151 return resultobj;
19152 fail:
19153 return NULL;
19154 }
19155
19156
19157 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19158 PyObject *resultobj;
19159 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19160 wxPyPrintout *result;
19161 PyObject * obj0 = 0 ;
19162 char *kwnames[] = {
19163 (char *) "self", NULL
19164 };
19165
19166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
19167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19168 {
19169 PyThreadState* __tstate = wxPyBeginAllowThreads();
19170 result = (wxPyPrintout *)(arg1)->GetPrintout();
19171
19172 wxPyEndAllowThreads(__tstate);
19173 if (PyErr_Occurred()) SWIG_fail;
19174 }
19175 {
19176 resultobj = wxPyMake_wxObject(result);
19177 }
19178 return resultobj;
19179 fail:
19180 return NULL;
19181 }
19182
19183
19184 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
19185 PyObject *resultobj;
19186 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19187 wxPyPrintout *result;
19188 PyObject * obj0 = 0 ;
19189 char *kwnames[] = {
19190 (char *) "self", NULL
19191 };
19192
19193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
19194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19195 {
19196 PyThreadState* __tstate = wxPyBeginAllowThreads();
19197 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
19198
19199 wxPyEndAllowThreads(__tstate);
19200 if (PyErr_Occurred()) SWIG_fail;
19201 }
19202 {
19203 resultobj = wxPyMake_wxObject(result);
19204 }
19205 return resultobj;
19206 fail:
19207 return NULL;
19208 }
19209
19210
19211 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19212 PyObject *resultobj;
19213 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19214 wxFrame *arg2 = (wxFrame *) 0 ;
19215 PyObject * obj0 = 0 ;
19216 PyObject * obj1 = 0 ;
19217 char *kwnames[] = {
19218 (char *) "self",(char *) "frame", NULL
19219 };
19220
19221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
19222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19223 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19224 {
19225 PyThreadState* __tstate = wxPyBeginAllowThreads();
19226 (arg1)->SetFrame(arg2);
19227
19228 wxPyEndAllowThreads(__tstate);
19229 if (PyErr_Occurred()) SWIG_fail;
19230 }
19231 Py_INCREF(Py_None); resultobj = Py_None;
19232 return resultobj;
19233 fail:
19234 return NULL;
19235 }
19236
19237
19238 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19239 PyObject *resultobj;
19240 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19241 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19242 PyObject * obj0 = 0 ;
19243 PyObject * obj1 = 0 ;
19244 char *kwnames[] = {
19245 (char *) "self",(char *) "canvas", NULL
19246 };
19247
19248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
19249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19250 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19251 {
19252 PyThreadState* __tstate = wxPyBeginAllowThreads();
19253 (arg1)->SetCanvas(arg2);
19254
19255 wxPyEndAllowThreads(__tstate);
19256 if (PyErr_Occurred()) SWIG_fail;
19257 }
19258 Py_INCREF(Py_None); resultobj = Py_None;
19259 return resultobj;
19260 fail:
19261 return NULL;
19262 }
19263
19264
19265 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19266 PyObject *resultobj;
19267 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19268 wxFrame *result;
19269 PyObject * obj0 = 0 ;
19270 char *kwnames[] = {
19271 (char *) "self", NULL
19272 };
19273
19274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
19275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19276 {
19277 PyThreadState* __tstate = wxPyBeginAllowThreads();
19278 result = (wxFrame *)(arg1)->GetFrame();
19279
19280 wxPyEndAllowThreads(__tstate);
19281 if (PyErr_Occurred()) SWIG_fail;
19282 }
19283 {
19284 resultobj = wxPyMake_wxObject(result);
19285 }
19286 return resultobj;
19287 fail:
19288 return NULL;
19289 }
19290
19291
19292 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19293 PyObject *resultobj;
19294 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19295 wxPreviewCanvas *result;
19296 PyObject * obj0 = 0 ;
19297 char *kwnames[] = {
19298 (char *) "self", NULL
19299 };
19300
19301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
19302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19303 {
19304 PyThreadState* __tstate = wxPyBeginAllowThreads();
19305 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
19306
19307 wxPyEndAllowThreads(__tstate);
19308 if (PyErr_Occurred()) SWIG_fail;
19309 }
19310 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 0);
19311 return resultobj;
19312 fail:
19313 return NULL;
19314 }
19315
19316
19317 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19318 PyObject *resultobj;
19319 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19320 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19321 wxDC *arg3 = 0 ;
19322 bool result;
19323 PyObject * obj0 = 0 ;
19324 PyObject * obj1 = 0 ;
19325 PyObject * obj2 = 0 ;
19326 char *kwnames[] = {
19327 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19328 };
19329
19330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
19331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19332 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19333 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19334 if (arg3 == NULL) {
19335 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19336 }
19337 {
19338 PyThreadState* __tstate = wxPyBeginAllowThreads();
19339 result = (bool)(arg1)->PaintPage(arg2,*arg3);
19340
19341 wxPyEndAllowThreads(__tstate);
19342 if (PyErr_Occurred()) SWIG_fail;
19343 }
19344 resultobj = PyInt_FromLong((long)result);
19345 return resultobj;
19346 fail:
19347 return NULL;
19348 }
19349
19350
19351 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19352 PyObject *resultobj;
19353 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19354 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19355 wxDC *arg3 = 0 ;
19356 bool result;
19357 PyObject * obj0 = 0 ;
19358 PyObject * obj1 = 0 ;
19359 PyObject * obj2 = 0 ;
19360 char *kwnames[] = {
19361 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19362 };
19363
19364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
19365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19366 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19367 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19368 if (arg3 == NULL) {
19369 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19370 }
19371 {
19372 PyThreadState* __tstate = wxPyBeginAllowThreads();
19373 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
19374
19375 wxPyEndAllowThreads(__tstate);
19376 if (PyErr_Occurred()) SWIG_fail;
19377 }
19378 resultobj = PyInt_FromLong((long)result);
19379 return resultobj;
19380 fail:
19381 return NULL;
19382 }
19383
19384
19385 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19386 PyObject *resultobj;
19387 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19388 int arg2 ;
19389 bool result;
19390 PyObject * obj0 = 0 ;
19391 char *kwnames[] = {
19392 (char *) "self",(char *) "pageNum", NULL
19393 };
19394
19395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_RenderPage",kwnames,&obj0,&arg2)) goto fail;
19396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19397 {
19398 PyThreadState* __tstate = wxPyBeginAllowThreads();
19399 result = (bool)(arg1)->RenderPage(arg2);
19400
19401 wxPyEndAllowThreads(__tstate);
19402 if (PyErr_Occurred()) SWIG_fail;
19403 }
19404 resultobj = PyInt_FromLong((long)result);
19405 return resultobj;
19406 fail:
19407 return NULL;
19408 }
19409
19410
19411 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
19412 PyObject *resultobj;
19413 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19414 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19415 PyObject * obj0 = 0 ;
19416 PyObject * obj1 = 0 ;
19417 char *kwnames[] = {
19418 (char *) "self",(char *) "canvas", NULL
19419 };
19420
19421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
19422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19423 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19424 {
19425 PyThreadState* __tstate = wxPyBeginAllowThreads();
19426 (arg1)->AdjustScrollbars(arg2);
19427
19428 wxPyEndAllowThreads(__tstate);
19429 if (PyErr_Occurred()) SWIG_fail;
19430 }
19431 Py_INCREF(Py_None); resultobj = Py_None;
19432 return resultobj;
19433 fail:
19434 return NULL;
19435 }
19436
19437
19438 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19439 PyObject *resultobj;
19440 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19441 wxPrintDialogData *result;
19442 PyObject * obj0 = 0 ;
19443 char *kwnames[] = {
19444 (char *) "self", NULL
19445 };
19446
19447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
19448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19449 {
19450 PyThreadState* __tstate = wxPyBeginAllowThreads();
19451 {
19452 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
19453 result = (wxPrintDialogData *) &_result_ref;
19454 }
19455
19456 wxPyEndAllowThreads(__tstate);
19457 if (PyErr_Occurred()) SWIG_fail;
19458 }
19459 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
19460 return resultobj;
19461 fail:
19462 return NULL;
19463 }
19464
19465
19466 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
19467 PyObject *resultobj;
19468 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19469 int arg2 ;
19470 PyObject * obj0 = 0 ;
19471 char *kwnames[] = {
19472 (char *) "self",(char *) "percent", NULL
19473 };
19474
19475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetZoom",kwnames,&obj0,&arg2)) goto fail;
19476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19477 {
19478 PyThreadState* __tstate = wxPyBeginAllowThreads();
19479 (arg1)->SetZoom(arg2);
19480
19481 wxPyEndAllowThreads(__tstate);
19482 if (PyErr_Occurred()) SWIG_fail;
19483 }
19484 Py_INCREF(Py_None); resultobj = Py_None;
19485 return resultobj;
19486 fail:
19487 return NULL;
19488 }
19489
19490
19491 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
19492 PyObject *resultobj;
19493 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19494 int result;
19495 PyObject * obj0 = 0 ;
19496 char *kwnames[] = {
19497 (char *) "self", NULL
19498 };
19499
19500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
19501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19502 {
19503 PyThreadState* __tstate = wxPyBeginAllowThreads();
19504 result = (int)(arg1)->GetZoom();
19505
19506 wxPyEndAllowThreads(__tstate);
19507 if (PyErr_Occurred()) SWIG_fail;
19508 }
19509 resultobj = PyInt_FromLong((long)result);
19510 return resultobj;
19511 fail:
19512 return NULL;
19513 }
19514
19515
19516 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19517 PyObject *resultobj;
19518 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19519 int result;
19520 PyObject * obj0 = 0 ;
19521 char *kwnames[] = {
19522 (char *) "self", NULL
19523 };
19524
19525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
19526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19527 {
19528 PyThreadState* __tstate = wxPyBeginAllowThreads();
19529 result = (int)(arg1)->GetMaxPage();
19530
19531 wxPyEndAllowThreads(__tstate);
19532 if (PyErr_Occurred()) SWIG_fail;
19533 }
19534 resultobj = PyInt_FromLong((long)result);
19535 return resultobj;
19536 fail:
19537 return NULL;
19538 }
19539
19540
19541 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19542 PyObject *resultobj;
19543 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19544 int result;
19545 PyObject * obj0 = 0 ;
19546 char *kwnames[] = {
19547 (char *) "self", NULL
19548 };
19549
19550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
19551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19552 {
19553 PyThreadState* __tstate = wxPyBeginAllowThreads();
19554 result = (int)(arg1)->GetMinPage();
19555
19556 wxPyEndAllowThreads(__tstate);
19557 if (PyErr_Occurred()) SWIG_fail;
19558 }
19559 resultobj = PyInt_FromLong((long)result);
19560 return resultobj;
19561 fail:
19562 return NULL;
19563 }
19564
19565
19566 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19567 PyObject *resultobj;
19568 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19569 bool result;
19570 PyObject * obj0 = 0 ;
19571 char *kwnames[] = {
19572 (char *) "self", NULL
19573 };
19574
19575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
19576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19577 {
19578 PyThreadState* __tstate = wxPyBeginAllowThreads();
19579 result = (bool)(arg1)->Ok();
19580
19581 wxPyEndAllowThreads(__tstate);
19582 if (PyErr_Occurred()) SWIG_fail;
19583 }
19584 resultobj = PyInt_FromLong((long)result);
19585 return resultobj;
19586 fail:
19587 return NULL;
19588 }
19589
19590
19591 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
19592 PyObject *resultobj;
19593 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19594 bool arg2 ;
19595 PyObject * obj0 = 0 ;
19596 PyObject * obj1 = 0 ;
19597 char *kwnames[] = {
19598 (char *) "self",(char *) "ok", NULL
19599 };
19600
19601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
19602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19603 arg2 = PyInt_AsLong(obj1) ? true : false;
19604 if (PyErr_Occurred()) SWIG_fail;
19605 {
19606 PyThreadState* __tstate = wxPyBeginAllowThreads();
19607 (arg1)->SetOk(arg2);
19608
19609 wxPyEndAllowThreads(__tstate);
19610 if (PyErr_Occurred()) SWIG_fail;
19611 }
19612 Py_INCREF(Py_None); resultobj = Py_None;
19613 return resultobj;
19614 fail:
19615 return NULL;
19616 }
19617
19618
19619 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
19620 PyObject *resultobj;
19621 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19622 bool arg2 ;
19623 bool result;
19624 PyObject * obj0 = 0 ;
19625 PyObject * obj1 = 0 ;
19626 char *kwnames[] = {
19627 (char *) "self",(char *) "interactive", NULL
19628 };
19629
19630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
19631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19632 arg2 = PyInt_AsLong(obj1) ? true : false;
19633 if (PyErr_Occurred()) SWIG_fail;
19634 {
19635 PyThreadState* __tstate = wxPyBeginAllowThreads();
19636 result = (bool)(arg1)->Print(arg2);
19637
19638 wxPyEndAllowThreads(__tstate);
19639 if (PyErr_Occurred()) SWIG_fail;
19640 }
19641 resultobj = PyInt_FromLong((long)result);
19642 return resultobj;
19643 fail:
19644 return NULL;
19645 }
19646
19647
19648 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
19649 PyObject *resultobj;
19650 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19651 PyObject * obj0 = 0 ;
19652 char *kwnames[] = {
19653 (char *) "self", NULL
19654 };
19655
19656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
19657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19658 {
19659 PyThreadState* __tstate = wxPyBeginAllowThreads();
19660 (arg1)->DetermineScaling();
19661
19662 wxPyEndAllowThreads(__tstate);
19663 if (PyErr_Occurred()) SWIG_fail;
19664 }
19665 Py_INCREF(Py_None); resultobj = Py_None;
19666 return resultobj;
19667 fail:
19668 return NULL;
19669 }
19670
19671
19672 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
19673 PyObject *obj;
19674 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19675 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
19676 Py_INCREF(obj);
19677 return Py_BuildValue((char *)"");
19678 }
19679 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19680 PyObject *resultobj;
19681 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19682 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19683 wxPrintData *arg3 = (wxPrintData *) NULL ;
19684 wxPyPrintPreview *result;
19685 PyObject * obj0 = 0 ;
19686 PyObject * obj1 = 0 ;
19687 PyObject * obj2 = 0 ;
19688 char *kwnames[] = {
19689 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19690 };
19691
19692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PyPrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
19693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19694 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19695 if (obj2) {
19696 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19697 }
19698 {
19699 PyThreadState* __tstate = wxPyBeginAllowThreads();
19700 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
19701
19702 wxPyEndAllowThreads(__tstate);
19703 if (PyErr_Occurred()) SWIG_fail;
19704 }
19705 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPrintPreview, 1);
19706 return resultobj;
19707 fail:
19708 return NULL;
19709 }
19710
19711
19712 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19713 PyObject *resultobj;
19714 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
19715 PyObject *arg2 = (PyObject *) 0 ;
19716 PyObject *arg3 = (PyObject *) 0 ;
19717 PyObject * obj0 = 0 ;
19718 PyObject * obj1 = 0 ;
19719 PyObject * obj2 = 0 ;
19720 char *kwnames[] = {
19721 (char *) "self",(char *) "self",(char *) "_class", NULL
19722 };
19723
19724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19726 arg2 = obj1;
19727 arg3 = obj2;
19728 {
19729 PyThreadState* __tstate = wxPyBeginAllowThreads();
19730 (arg1)->_setCallbackInfo(arg2,arg3);
19731
19732 wxPyEndAllowThreads(__tstate);
19733 if (PyErr_Occurred()) SWIG_fail;
19734 }
19735 Py_INCREF(Py_None); resultobj = Py_None;
19736 return resultobj;
19737 fail:
19738 return NULL;
19739 }
19740
19741
19742 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19743 PyObject *resultobj;
19744 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
19745 int arg2 ;
19746 bool result;
19747 PyObject * obj0 = 0 ;
19748 char *kwnames[] = {
19749 (char *) "self",(char *) "pageNum", NULL
19750 };
19751
19752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
19753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19754 {
19755 PyThreadState* __tstate = wxPyBeginAllowThreads();
19756 result = (bool)(arg1)->base_SetCurrentPage(arg2);
19757
19758 wxPyEndAllowThreads(__tstate);
19759 if (PyErr_Occurred()) SWIG_fail;
19760 }
19761 resultobj = PyInt_FromLong((long)result);
19762 return resultobj;
19763 fail:
19764 return NULL;
19765 }
19766
19767
19768 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19769 PyObject *resultobj;
19770 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
19771 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19772 wxDC *arg3 = 0 ;
19773 bool result;
19774 PyObject * obj0 = 0 ;
19775 PyObject * obj1 = 0 ;
19776 PyObject * obj2 = 0 ;
19777 char *kwnames[] = {
19778 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19779 };
19780
19781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
19782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19783 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19784 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19785 if (arg3 == NULL) {
19786 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19787 }
19788 {
19789 PyThreadState* __tstate = wxPyBeginAllowThreads();
19790 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
19791
19792 wxPyEndAllowThreads(__tstate);
19793 if (PyErr_Occurred()) SWIG_fail;
19794 }
19795 resultobj = PyInt_FromLong((long)result);
19796 return resultobj;
19797 fail:
19798 return NULL;
19799 }
19800
19801
19802 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19803 PyObject *resultobj;
19804 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
19805 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19806 wxDC *arg3 = 0 ;
19807 bool result;
19808 PyObject * obj0 = 0 ;
19809 PyObject * obj1 = 0 ;
19810 PyObject * obj2 = 0 ;
19811 char *kwnames[] = {
19812 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19813 };
19814
19815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
19816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19817 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19818 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19819 if (arg3 == NULL) {
19820 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19821 }
19822 {
19823 PyThreadState* __tstate = wxPyBeginAllowThreads();
19824 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
19825
19826 wxPyEndAllowThreads(__tstate);
19827 if (PyErr_Occurred()) SWIG_fail;
19828 }
19829 resultobj = PyInt_FromLong((long)result);
19830 return resultobj;
19831 fail:
19832 return NULL;
19833 }
19834
19835
19836 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19837 PyObject *resultobj;
19838 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
19839 int arg2 ;
19840 bool result;
19841 PyObject * obj0 = 0 ;
19842 char *kwnames[] = {
19843 (char *) "self",(char *) "pageNum", NULL
19844 };
19845
19846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_RenderPage",kwnames,&obj0,&arg2)) goto fail;
19847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19848 {
19849 PyThreadState* __tstate = wxPyBeginAllowThreads();
19850 result = (bool)(arg1)->base_RenderPage(arg2);
19851
19852 wxPyEndAllowThreads(__tstate);
19853 if (PyErr_Occurred()) SWIG_fail;
19854 }
19855 resultobj = PyInt_FromLong((long)result);
19856 return resultobj;
19857 fail:
19858 return NULL;
19859 }
19860
19861
19862 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
19863 PyObject *resultobj;
19864 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
19865 int arg2 ;
19866 PyObject * obj0 = 0 ;
19867 char *kwnames[] = {
19868 (char *) "self",(char *) "percent", NULL
19869 };
19870
19871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetZoom",kwnames,&obj0,&arg2)) goto fail;
19872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19873 {
19874 PyThreadState* __tstate = wxPyBeginAllowThreads();
19875 (arg1)->base_SetZoom(arg2);
19876
19877 wxPyEndAllowThreads(__tstate);
19878 if (PyErr_Occurred()) SWIG_fail;
19879 }
19880 Py_INCREF(Py_None); resultobj = Py_None;
19881 return resultobj;
19882 fail:
19883 return NULL;
19884 }
19885
19886
19887 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
19888 PyObject *resultobj;
19889 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
19890 bool arg2 ;
19891 bool result;
19892 PyObject * obj0 = 0 ;
19893 PyObject * obj1 = 0 ;
19894 char *kwnames[] = {
19895 (char *) "self",(char *) "interactive", NULL
19896 };
19897
19898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
19899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19900 arg2 = PyInt_AsLong(obj1) ? true : false;
19901 if (PyErr_Occurred()) SWIG_fail;
19902 {
19903 PyThreadState* __tstate = wxPyBeginAllowThreads();
19904 result = (bool)(arg1)->base_Print(arg2);
19905
19906 wxPyEndAllowThreads(__tstate);
19907 if (PyErr_Occurred()) SWIG_fail;
19908 }
19909 resultobj = PyInt_FromLong((long)result);
19910 return resultobj;
19911 fail:
19912 return NULL;
19913 }
19914
19915
19916 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
19917 PyObject *resultobj;
19918 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
19919 PyObject * obj0 = 0 ;
19920 char *kwnames[] = {
19921 (char *) "self", NULL
19922 };
19923
19924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
19925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19926 {
19927 PyThreadState* __tstate = wxPyBeginAllowThreads();
19928 (arg1)->base_DetermineScaling();
19929
19930 wxPyEndAllowThreads(__tstate);
19931 if (PyErr_Occurred()) SWIG_fail;
19932 }
19933 Py_INCREF(Py_None); resultobj = Py_None;
19934 return resultobj;
19935 fail:
19936 return NULL;
19937 }
19938
19939
19940 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
19941 PyObject *obj;
19942 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19943 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
19944 Py_INCREF(obj);
19945 return Py_BuildValue((char *)"");
19946 }
19947 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19948 PyObject *resultobj;
19949 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19950 wxFrame *arg2 = (wxFrame *) 0 ;
19951 wxString *arg3 = 0 ;
19952 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19953 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19954 wxSize const &arg5_defvalue = wxDefaultSize ;
19955 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19956 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
19957 wxString const &arg7_defvalue = wxPyFrameNameStr ;
19958 wxString *arg7 = (wxString *) &arg7_defvalue ;
19959 wxPyPreviewFrame *result;
19960 bool temp3 = False ;
19961 wxPoint temp4 ;
19962 wxSize temp5 ;
19963 bool temp7 = False ;
19964 PyObject * obj0 = 0 ;
19965 PyObject * obj1 = 0 ;
19966 PyObject * obj2 = 0 ;
19967 PyObject * obj3 = 0 ;
19968 PyObject * obj4 = 0 ;
19969 PyObject * obj6 = 0 ;
19970 char *kwnames[] = {
19971 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19972 };
19973
19974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
19975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19976 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19977 {
19978 arg3 = wxString_in_helper(obj2);
19979 if (arg3 == NULL) SWIG_fail;
19980 temp3 = True;
19981 }
19982 if (obj3) {
19983 {
19984 arg4 = &temp4;
19985 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19986 }
19987 }
19988 if (obj4) {
19989 {
19990 arg5 = &temp5;
19991 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19992 }
19993 }
19994 if (obj6) {
19995 {
19996 arg7 = wxString_in_helper(obj6);
19997 if (arg7 == NULL) SWIG_fail;
19998 temp7 = True;
19999 }
20000 }
20001 {
20002 PyThreadState* __tstate = wxPyBeginAllowThreads();
20003 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20004
20005 wxPyEndAllowThreads(__tstate);
20006 if (PyErr_Occurred()) SWIG_fail;
20007 }
20008 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewFrame, 1);
20009 {
20010 if (temp3)
20011 delete arg3;
20012 }
20013 {
20014 if (temp7)
20015 delete arg7;
20016 }
20017 return resultobj;
20018 fail:
20019 {
20020 if (temp3)
20021 delete arg3;
20022 }
20023 {
20024 if (temp7)
20025 delete arg7;
20026 }
20027 return NULL;
20028 }
20029
20030
20031 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20032 PyObject *resultobj;
20033 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20034 PyObject *arg2 = (PyObject *) 0 ;
20035 PyObject *arg3 = (PyObject *) 0 ;
20036 PyObject * obj0 = 0 ;
20037 PyObject * obj1 = 0 ;
20038 PyObject * obj2 = 0 ;
20039 char *kwnames[] = {
20040 (char *) "self",(char *) "self",(char *) "_class", NULL
20041 };
20042
20043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20045 arg2 = obj1;
20046 arg3 = obj2;
20047 {
20048 PyThreadState* __tstate = wxPyBeginAllowThreads();
20049 (arg1)->_setCallbackInfo(arg2,arg3);
20050
20051 wxPyEndAllowThreads(__tstate);
20052 if (PyErr_Occurred()) SWIG_fail;
20053 }
20054 Py_INCREF(Py_None); resultobj = Py_None;
20055 return resultobj;
20056 fail:
20057 return NULL;
20058 }
20059
20060
20061 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20062 PyObject *resultobj;
20063 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20064 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20065 PyObject * obj0 = 0 ;
20066 PyObject * obj1 = 0 ;
20067 char *kwnames[] = {
20068 (char *) "self",(char *) "canvas", NULL
20069 };
20070
20071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
20072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20073 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20074 {
20075 PyThreadState* __tstate = wxPyBeginAllowThreads();
20076 (arg1)->SetPreviewCanvas(arg2);
20077
20078 wxPyEndAllowThreads(__tstate);
20079 if (PyErr_Occurred()) SWIG_fail;
20080 }
20081 Py_INCREF(Py_None); resultobj = Py_None;
20082 return resultobj;
20083 fail:
20084 return NULL;
20085 }
20086
20087
20088 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20089 PyObject *resultobj;
20090 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20091 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
20092 PyObject * obj0 = 0 ;
20093 PyObject * obj1 = 0 ;
20094 char *kwnames[] = {
20095 (char *) "self",(char *) "bar", NULL
20096 };
20097
20098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
20099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20100 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20101 {
20102 PyThreadState* __tstate = wxPyBeginAllowThreads();
20103 (arg1)->SetControlBar(arg2);
20104
20105 wxPyEndAllowThreads(__tstate);
20106 if (PyErr_Occurred()) SWIG_fail;
20107 }
20108 Py_INCREF(Py_None); resultobj = Py_None;
20109 return resultobj;
20110 fail:
20111 return NULL;
20112 }
20113
20114
20115 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
20116 PyObject *resultobj;
20117 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20118 PyObject * obj0 = 0 ;
20119 char *kwnames[] = {
20120 (char *) "self", NULL
20121 };
20122
20123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
20124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20125 {
20126 PyThreadState* __tstate = wxPyBeginAllowThreads();
20127 (arg1)->base_Initialize();
20128
20129 wxPyEndAllowThreads(__tstate);
20130 if (PyErr_Occurred()) SWIG_fail;
20131 }
20132 Py_INCREF(Py_None); resultobj = Py_None;
20133 return resultobj;
20134 fail:
20135 return NULL;
20136 }
20137
20138
20139 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20140 PyObject *resultobj;
20141 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20142 PyObject * obj0 = 0 ;
20143 char *kwnames[] = {
20144 (char *) "self", NULL
20145 };
20146
20147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
20148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20149 {
20150 PyThreadState* __tstate = wxPyBeginAllowThreads();
20151 (arg1)->base_CreateCanvas();
20152
20153 wxPyEndAllowThreads(__tstate);
20154 if (PyErr_Occurred()) SWIG_fail;
20155 }
20156 Py_INCREF(Py_None); resultobj = Py_None;
20157 return resultobj;
20158 fail:
20159 return NULL;
20160 }
20161
20162
20163 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20164 PyObject *resultobj;
20165 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20166 PyObject * obj0 = 0 ;
20167 char *kwnames[] = {
20168 (char *) "self", NULL
20169 };
20170
20171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
20172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20173 {
20174 PyThreadState* __tstate = wxPyBeginAllowThreads();
20175 (arg1)->base_CreateControlBar();
20176
20177 wxPyEndAllowThreads(__tstate);
20178 if (PyErr_Occurred()) SWIG_fail;
20179 }
20180 Py_INCREF(Py_None); resultobj = Py_None;
20181 return resultobj;
20182 fail:
20183 return NULL;
20184 }
20185
20186
20187 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
20188 PyObject *obj;
20189 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20190 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
20191 Py_INCREF(obj);
20192 return Py_BuildValue((char *)"");
20193 }
20194 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20195 PyObject *resultobj;
20196 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20197 long arg2 ;
20198 wxWindow *arg3 = (wxWindow *) 0 ;
20199 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20200 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20201 wxSize const &arg5_defvalue = wxDefaultSize ;
20202 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20203 long arg6 = (long) 0 ;
20204 wxString const &arg7_defvalue = wxPyPanelNameStr ;
20205 wxString *arg7 = (wxString *) &arg7_defvalue ;
20206 wxPyPreviewControlBar *result;
20207 wxPoint temp4 ;
20208 wxSize temp5 ;
20209 bool temp7 = False ;
20210 PyObject * obj0 = 0 ;
20211 PyObject * obj2 = 0 ;
20212 PyObject * obj3 = 0 ;
20213 PyObject * obj4 = 0 ;
20214 PyObject * obj6 = 0 ;
20215 char *kwnames[] = {
20216 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20217 };
20218
20219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PyPreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20221 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20222 if (obj3) {
20223 {
20224 arg4 = &temp4;
20225 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20226 }
20227 }
20228 if (obj4) {
20229 {
20230 arg5 = &temp5;
20231 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20232 }
20233 }
20234 if (obj6) {
20235 {
20236 arg7 = wxString_in_helper(obj6);
20237 if (arg7 == NULL) SWIG_fail;
20238 temp7 = True;
20239 }
20240 }
20241 {
20242 PyThreadState* __tstate = wxPyBeginAllowThreads();
20243 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20244
20245 wxPyEndAllowThreads(__tstate);
20246 if (PyErr_Occurred()) SWIG_fail;
20247 }
20248 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewControlBar, 1);
20249 {
20250 if (temp7)
20251 delete arg7;
20252 }
20253 return resultobj;
20254 fail:
20255 {
20256 if (temp7)
20257 delete arg7;
20258 }
20259 return NULL;
20260 }
20261
20262
20263 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20264 PyObject *resultobj;
20265 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20266 PyObject *arg2 = (PyObject *) 0 ;
20267 PyObject *arg3 = (PyObject *) 0 ;
20268 PyObject * obj0 = 0 ;
20269 PyObject * obj1 = 0 ;
20270 PyObject * obj2 = 0 ;
20271 char *kwnames[] = {
20272 (char *) "self",(char *) "self",(char *) "_class", NULL
20273 };
20274
20275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20277 arg2 = obj1;
20278 arg3 = obj2;
20279 {
20280 PyThreadState* __tstate = wxPyBeginAllowThreads();
20281 (arg1)->_setCallbackInfo(arg2,arg3);
20282
20283 wxPyEndAllowThreads(__tstate);
20284 if (PyErr_Occurred()) SWIG_fail;
20285 }
20286 Py_INCREF(Py_None); resultobj = Py_None;
20287 return resultobj;
20288 fail:
20289 return NULL;
20290 }
20291
20292
20293 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20294 PyObject *resultobj;
20295 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20296 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
20297 PyObject * obj0 = 0 ;
20298 PyObject * obj1 = 0 ;
20299 char *kwnames[] = {
20300 (char *) "self",(char *) "preview", NULL
20301 };
20302
20303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
20304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20305 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20306 {
20307 PyThreadState* __tstate = wxPyBeginAllowThreads();
20308 (arg1)->SetPrintPreview(arg2);
20309
20310 wxPyEndAllowThreads(__tstate);
20311 if (PyErr_Occurred()) SWIG_fail;
20312 }
20313 Py_INCREF(Py_None); resultobj = Py_None;
20314 return resultobj;
20315 fail:
20316 return NULL;
20317 }
20318
20319
20320 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
20321 PyObject *resultobj;
20322 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20323 PyObject * obj0 = 0 ;
20324 char *kwnames[] = {
20325 (char *) "self", NULL
20326 };
20327
20328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
20329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20330 {
20331 PyThreadState* __tstate = wxPyBeginAllowThreads();
20332 (arg1)->base_CreateButtons();
20333
20334 wxPyEndAllowThreads(__tstate);
20335 if (PyErr_Occurred()) SWIG_fail;
20336 }
20337 Py_INCREF(Py_None); resultobj = Py_None;
20338 return resultobj;
20339 fail:
20340 return NULL;
20341 }
20342
20343
20344 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
20345 PyObject *resultobj;
20346 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20347 int arg2 ;
20348 PyObject * obj0 = 0 ;
20349 char *kwnames[] = {
20350 (char *) "self",(char *) "zoom", NULL
20351 };
20352
20353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
20354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20355 {
20356 PyThreadState* __tstate = wxPyBeginAllowThreads();
20357 (arg1)->base_SetZoomControl(arg2);
20358
20359 wxPyEndAllowThreads(__tstate);
20360 if (PyErr_Occurred()) SWIG_fail;
20361 }
20362 Py_INCREF(Py_None); resultobj = Py_None;
20363 return resultobj;
20364 fail:
20365 return NULL;
20366 }
20367
20368
20369 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
20370 PyObject *obj;
20371 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20372 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
20373 Py_INCREF(obj);
20374 return Py_BuildValue((char *)"");
20375 }
20376 static PyMethodDef SwigMethods[] = {
20377 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
20378 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
20379 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
20380 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
20381 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
20382 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20383 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20384 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
20385 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
20386 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
20387 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
20388 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
20389 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
20390 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
20391 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
20392 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
20393 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
20394 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
20395 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
20396 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
20397 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
20398 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
20399 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
20400 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
20401 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
20402 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS },
20403 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS },
20404 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
20405 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
20406 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
20407 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
20408 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
20409 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
20410 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
20411 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
20412 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
20413 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
20414 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
20415 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
20416 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
20417 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
20418 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
20419 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
20420 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
20421 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
20422 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
20423 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
20424 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
20425 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
20426 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
20427 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
20428 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
20429 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
20430 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
20431 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
20432 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
20433 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
20434 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
20435 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
20436 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
20437 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
20438 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
20439 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
20440 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
20441 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
20442 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
20443 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
20444 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
20445 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
20446 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
20447 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
20448 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
20449 { (char *)"Dialog_SetModal", (PyCFunction) _wrap_Dialog_SetModal, METH_VARARGS | METH_KEYWORDS },
20450 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
20451 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20452 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
20453 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS },
20454 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
20455 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
20456 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
20457 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
20458 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
20459 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
20460 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
20461 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
20462 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
20463 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
20464 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
20465 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
20466 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
20467 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
20468 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
20469 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
20470 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
20471 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
20472 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
20473 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
20474 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
20475 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
20476 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
20477 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
20478 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
20479 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
20480 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
20481 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
20482 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
20483 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
20484 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
20485 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
20486 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
20487 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
20488 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
20489 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
20490 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
20491 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
20492 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
20493 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
20494 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
20495 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
20496 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
20497 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
20498 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
20499 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
20500 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
20501 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
20502 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
20503 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
20504 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
20505 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
20506 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
20507 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
20508 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
20509 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
20510 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
20511 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
20512 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
20513 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
20514 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
20515 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
20516 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
20517 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
20518 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
20519 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
20520 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
20521 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
20522 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
20523 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
20524 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
20525 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
20526 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
20527 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
20528 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
20529 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
20530 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
20531 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
20532 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
20533 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
20534 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
20535 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
20536 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
20537 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
20538 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
20539 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
20540 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
20541 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
20542 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
20543 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
20544 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
20545 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
20546 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
20547 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
20548 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
20549 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
20550 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
20551 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
20552 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
20553 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
20554 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
20555 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
20556 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
20557 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
20558 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
20559 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
20560 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
20561 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
20562 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
20563 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
20564 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
20565 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
20566 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
20567 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
20568 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
20569 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
20570 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
20571 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
20572 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
20573 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
20574 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
20575 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
20576 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
20577 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
20578 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
20579 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
20580 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
20581 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
20582 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
20583 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
20584 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
20585 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
20586 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
20587 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
20588 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
20589 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
20590 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20591 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20592 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
20593 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
20594 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
20595 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
20596 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
20597 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
20598 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
20599 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
20600 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
20601 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
20602 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
20603 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
20604 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
20605 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
20606 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
20607 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
20608 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
20609 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
20610 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
20611 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
20612 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
20613 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
20614 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
20615 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
20616 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
20617 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
20618 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
20619 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
20620 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
20621 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
20622 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
20623 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
20624 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
20625 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
20626 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
20627 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
20628 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
20629 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
20630 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
20631 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
20632 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
20633 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
20634 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
20635 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
20636 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
20637 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
20638 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
20639 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
20640 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
20641 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
20642 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
20643 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
20644 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
20645 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
20646 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
20647 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
20648 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
20649 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
20650 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
20651 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
20652 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
20653 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
20654 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
20655 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
20656 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
20657 { (char *)"ColourDialog_ShowModal", (PyCFunction) _wrap_ColourDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20658 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
20659 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
20660 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
20661 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
20662 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
20663 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
20664 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
20665 { (char *)"DirDialog_ShowModal", (PyCFunction) _wrap_DirDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20666 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
20667 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
20668 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
20669 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
20670 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
20671 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
20672 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
20673 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
20674 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
20675 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
20676 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
20677 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
20678 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
20679 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
20680 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
20681 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
20682 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
20683 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
20684 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
20685 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
20686 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
20687 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
20688 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
20689 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
20690 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
20691 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
20692 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
20693 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction) _wrap_SingleChoiceDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20694 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
20695 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
20696 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
20697 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
20698 { (char *)"TextEntryDialog_ShowModal", (PyCFunction) _wrap_TextEntryDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20699 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
20700 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
20701 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
20702 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
20703 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
20704 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
20705 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
20706 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
20707 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
20708 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
20709 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
20710 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
20711 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
20712 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
20713 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
20714 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
20715 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
20716 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
20717 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
20718 { (char *)"FontDialog_ShowModal", (PyCFunction) _wrap_FontDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20719 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
20720 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
20721 { (char *)"MessageDialog_ShowModal", (PyCFunction) _wrap_MessageDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20722 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
20723 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
20724 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
20725 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
20726 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
20727 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
20728 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
20729 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
20730 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
20731 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
20732 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
20733 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
20734 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
20735 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
20736 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
20737 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
20738 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
20739 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
20740 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
20741 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
20742 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
20743 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
20744 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
20745 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
20746 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
20747 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
20748 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
20749 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
20750 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
20751 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
20752 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
20753 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
20754 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
20755 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
20756 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
20757 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
20758 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
20759 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
20760 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
20761 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
20762 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
20763 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
20764 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
20765 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
20766 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
20767 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
20768 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
20769 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
20770 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
20771 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
20772 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
20773 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
20774 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
20775 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
20776 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
20777 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
20778 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
20779 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
20780 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
20781 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
20782 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
20783 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
20784 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
20785 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
20786 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
20787 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
20788 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
20789 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
20790 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
20791 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
20792 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
20793 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
20794 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
20795 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
20796 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
20797 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
20798 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
20799 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
20800 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
20801 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
20802 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
20803 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
20804 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
20805 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
20806 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
20807 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
20808 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
20809 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
20810 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
20811 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
20812 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
20813 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
20814 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
20815 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
20816 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
20817 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
20818 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
20819 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
20820 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
20821 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
20822 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
20823 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
20824 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
20825 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
20826 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
20827 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
20828 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
20829 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
20830 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
20831 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
20832 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
20833 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
20834 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
20835 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
20836 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
20837 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
20838 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
20839 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
20840 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
20841 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
20842 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
20843 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
20844 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
20845 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
20846 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
20847 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
20848 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
20849 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
20850 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
20851 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
20852 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
20853 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
20854 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
20855 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
20856 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
20857 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
20858 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
20859 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
20860 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
20861 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
20862 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
20863 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
20864 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
20865 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
20866 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
20867 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
20868 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
20869 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
20870 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
20871 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
20872 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
20873 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
20874 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
20875 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
20876 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
20877 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
20878 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
20879 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
20880 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
20881 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
20882 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
20883 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
20884 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
20885 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
20886 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
20887 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
20888 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
20889 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
20890 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
20891 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
20892 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
20893 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
20894 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20895 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
20896 { (char *)"new_PrintDialogData", (PyCFunction) _wrap_new_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
20897 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
20898 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
20899 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
20900 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
20901 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
20902 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
20903 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
20904 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
20905 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
20906 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
20907 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
20908 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
20909 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
20910 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
20911 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
20912 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
20913 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
20914 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
20915 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
20916 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
20917 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
20918 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
20919 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
20920 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
20921 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
20922 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
20923 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
20924 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
20925 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
20926 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
20927 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
20928 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
20929 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
20930 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
20931 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
20932 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
20933 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20934 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
20935 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
20936 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
20937 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
20938 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
20939 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
20940 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
20941 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
20942 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
20943 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
20944 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
20945 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
20946 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
20947 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
20948 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
20949 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
20950 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
20951 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
20952 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
20953 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
20954 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
20955 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
20956 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
20957 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
20958 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
20959 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
20960 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
20961 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
20962 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
20963 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
20964 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
20965 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
20966 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
20967 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
20968 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
20969 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
20970 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
20971 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
20972 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
20973 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
20974 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
20975 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
20976 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
20977 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
20978 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
20979 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
20980 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
20981 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
20982 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
20983 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
20984 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
20985 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
20986 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
20987 { (char *)"new_PrintPreview", (PyCFunction) _wrap_new_PrintPreview, METH_VARARGS | METH_KEYWORDS },
20988 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
20989 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
20990 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
20991 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
20992 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
20993 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
20994 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
20995 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
20996 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
20997 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
20998 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
20999 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
21000 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
21001 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21002 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
21003 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
21004 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21005 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21006 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
21007 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
21008 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
21009 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21010 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
21011 { (char *)"new_PyPrintPreview", (PyCFunction) _wrap_new_PyPrintPreview, METH_VARARGS | METH_KEYWORDS },
21012 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21013 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21014 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
21015 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21016 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
21017 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
21018 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
21019 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21020 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
21021 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
21022 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21023 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21024 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
21025 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
21026 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21027 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21028 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
21029 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21030 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21031 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21032 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
21033 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21034 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
21035 { NULL, NULL }
21036 };
21037
21038
21039 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21040
21041 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
21042 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21043 }
21044 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
21045 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
21046 }
21047 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
21048 return (void *)((wxEvent *) ((wxMenuEvent *) x));
21049 }
21050 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
21051 return (void *)((wxEvent *) ((wxCloseEvent *) x));
21052 }
21053 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
21054 return (void *)((wxEvent *) ((wxMouseEvent *) x));
21055 }
21056 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
21057 return (void *)((wxEvent *) ((wxEraseEvent *) x));
21058 }
21059 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
21060 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
21061 }
21062 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
21063 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
21064 }
21065 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
21066 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
21067 }
21068 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
21069 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
21070 }
21071 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
21072 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
21073 }
21074 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
21075 return (void *)((wxEvent *) ((wxPyEvent *) x));
21076 }
21077 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
21078 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
21079 }
21080 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
21081 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
21082 }
21083 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
21084 return (void *)((wxEvent *) ((wxIdleEvent *) x));
21085 }
21086 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
21087 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
21088 }
21089 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
21090 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
21091 }
21092 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
21093 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
21094 }
21095 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
21096 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
21097 }
21098 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
21099 return (void *)((wxEvent *) ((wxActivateEvent *) x));
21100 }
21101 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
21102 return (void *)((wxEvent *) ((wxSizeEvent *) x));
21103 }
21104 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
21105 return (void *)((wxEvent *) ((wxMoveEvent *) x));
21106 }
21107 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
21108 return (void *)((wxEvent *) ((wxPaintEvent *) x));
21109 }
21110 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
21111 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
21112 }
21113 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
21114 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
21115 }
21116 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
21117 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
21118 }
21119 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
21120 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
21121 }
21122 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
21123 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21124 }
21125 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
21126 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
21127 }
21128 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
21129 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
21130 }
21131 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
21132 return (void *)((wxEvent *) ((wxFocusEvent *) x));
21133 }
21134 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
21135 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
21136 }
21137 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
21138 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
21139 }
21140 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
21141 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
21142 }
21143 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
21144 return (void *)((wxEvent *) ((wxShowEvent *) x));
21145 }
21146 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
21147 return (void *)((wxEvent *) ((wxCommandEvent *) x));
21148 }
21149 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
21150 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
21151 }
21152 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
21153 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21154 }
21155 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
21156 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
21157 }
21158 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
21159 return (void *)((wxEvent *) ((wxKeyEvent *) x));
21160 }
21161 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
21162 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
21163 }
21164 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
21165 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
21166 }
21167 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
21168 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
21169 }
21170 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
21171 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
21172 }
21173 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
21174 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
21175 }
21176 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
21177 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
21178 }
21179 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
21180 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
21181 }
21182 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
21183 return (void *)((wxEvtHandler *) ((wxValidator *) x));
21184 }
21185 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
21186 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
21187 }
21188 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
21189 return (void *)((wxEvtHandler *) ((wxMenu *) x));
21190 }
21191 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
21192 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
21193 }
21194 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
21195 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
21196 }
21197 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
21198 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
21199 }
21200 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
21201 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
21202 }
21203 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
21204 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
21205 }
21206 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
21207 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
21208 }
21209 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
21210 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
21211 }
21212 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
21213 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
21214 }
21215 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
21216 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
21217 }
21218 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
21219 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
21220 }
21221 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
21222 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
21223 }
21224 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
21225 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
21226 }
21227 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
21228 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
21229 }
21230 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
21231 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
21232 }
21233 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
21234 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
21235 }
21236 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
21237 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
21238 }
21239 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
21240 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
21241 }
21242 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
21243 return (void *)((wxEvtHandler *) ((wxWindow *) x));
21244 }
21245 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
21246 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
21247 }
21248 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
21249 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
21250 }
21251 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
21252 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
21253 }
21254 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
21255 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
21256 }
21257 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
21258 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
21259 }
21260 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
21261 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21262 }
21263 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
21264 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
21265 }
21266 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
21267 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
21268 }
21269 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
21270 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
21271 }
21272 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
21273 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
21274 }
21275 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
21276 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
21277 }
21278 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
21279 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
21280 }
21281 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
21282 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
21283 }
21284 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
21285 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
21286 }
21287 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
21288 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
21289 }
21290 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
21291 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
21292 }
21293 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
21294 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
21295 }
21296 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
21297 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
21298 }
21299 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
21300 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
21301 }
21302 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
21303 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
21304 }
21305 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
21306 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
21307 }
21308 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
21309 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
21310 }
21311 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
21312 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
21313 }
21314 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
21315 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
21316 }
21317 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
21318 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
21319 }
21320 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
21321 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
21322 }
21323 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
21324 return (void *)((wxFrame *) ((wxProgressDialog *) x));
21325 }
21326 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
21327 return (void *)((wxFrame *) ((wxTipWindow *) x));
21328 }
21329 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
21330 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
21331 }
21332 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
21333 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21334 }
21335 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
21336 return (void *)((wxFrame *) ((wxMiniFrame *) x));
21337 }
21338 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
21339 return (void *)((wxFrame *) ((wxSplashScreen *) x));
21340 }
21341 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
21342 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
21343 }
21344 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
21345 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
21346 }
21347 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
21348 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
21349 }
21350 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
21351 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
21352 }
21353 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
21354 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21355 }
21356 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
21357 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
21358 }
21359 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
21360 return (void *)((wxObject *) ((wxSizerItem *) x));
21361 }
21362 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
21363 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
21364 }
21365 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
21366 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
21367 }
21368 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
21369 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
21370 }
21371 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
21372 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
21373 }
21374 static void *_p_wxSizerTo_p_wxObject(void *x) {
21375 return (void *)((wxObject *) ((wxSizer *) x));
21376 }
21377 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
21378 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
21379 }
21380 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
21381 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
21382 }
21383 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
21384 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
21385 }
21386 static void *_p_wxEventTo_p_wxObject(void *x) {
21387 return (void *)((wxObject *) ((wxEvent *) x));
21388 }
21389 static void *_p_wxFontDataTo_p_wxObject(void *x) {
21390 return (void *)((wxObject *) ((wxFontData *) x));
21391 }
21392 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
21393 return (void *)((wxObject *) ((wxPrintData *) x));
21394 }
21395 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
21396 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
21397 }
21398 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
21399 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
21400 }
21401 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
21402 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
21403 }
21404 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
21405 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
21406 }
21407 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
21408 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
21409 }
21410 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
21411 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
21412 }
21413 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
21414 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
21415 }
21416 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
21417 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
21418 }
21419 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
21420 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
21421 }
21422 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
21423 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
21424 }
21425 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
21426 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21427 }
21428 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
21429 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
21430 }
21431 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
21432 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
21433 }
21434 static void *_p_wxControlTo_p_wxObject(void *x) {
21435 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
21436 }
21437 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
21438 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
21439 }
21440 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
21441 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
21442 }
21443 static void *_p_wxFSFileTo_p_wxObject(void *x) {
21444 return (void *)((wxObject *) ((wxFSFile *) x));
21445 }
21446 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
21447 return (void *)((wxObject *) ((wxFindReplaceData *) x));
21448 }
21449 static void *_p_wxPySizerTo_p_wxObject(void *x) {
21450 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
21451 }
21452 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
21453 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
21454 }
21455 static void *_p_wxColourDataTo_p_wxObject(void *x) {
21456 return (void *)((wxObject *) ((wxColourData *) x));
21457 }
21458 static void *_p_wxPyEventTo_p_wxObject(void *x) {
21459 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
21460 }
21461 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
21462 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
21463 }
21464 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
21465 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
21466 }
21467 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
21468 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
21469 }
21470 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
21471 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
21472 }
21473 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
21474 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
21475 }
21476 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
21477 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
21478 }
21479 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
21480 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
21481 }
21482 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
21483 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
21484 }
21485 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
21486 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
21487 }
21488 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
21489 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
21490 }
21491 static void *_p_wxShowEventTo_p_wxObject(void *x) {
21492 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
21493 }
21494 static void *_p_wxPrinterTo_p_wxObject(void *x) {
21495 return (void *)((wxObject *) ((wxPrinter *) x));
21496 }
21497 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
21498 return (void *)((wxObject *) ((wxMenuItem *) x));
21499 }
21500 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
21501 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
21502 }
21503 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
21504 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
21505 }
21506 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
21507 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
21508 }
21509 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
21510 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
21511 }
21512 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
21513 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
21514 }
21515 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
21516 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
21517 }
21518 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
21519 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
21520 }
21521 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
21522 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
21523 }
21524 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
21525 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
21526 }
21527 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
21528 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
21529 }
21530 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
21531 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
21532 }
21533 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
21534 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
21535 }
21536 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
21537 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
21538 }
21539 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
21540 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
21541 }
21542 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
21543 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
21544 }
21545 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
21546 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
21547 }
21548 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
21549 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
21550 }
21551 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
21552 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
21553 }
21554 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
21555 return (void *)((wxObject *) ((wxImageHandler *) x));
21556 }
21557 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
21558 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
21559 }
21560 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
21561 return (void *)((wxObject *) ((wxEvtHandler *) x));
21562 }
21563 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
21564 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
21565 }
21566 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
21567 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
21568 }
21569 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
21570 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
21571 }
21572 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
21573 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
21574 }
21575 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
21576 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
21577 }
21578 static void *_p_wxImageTo_p_wxObject(void *x) {
21579 return (void *)((wxObject *) ((wxImage *) x));
21580 }
21581 static void *_p_wxFrameTo_p_wxObject(void *x) {
21582 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
21583 }
21584 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
21585 return (void *)((wxObject *) ((wxPyPrintout *) x));
21586 }
21587 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
21588 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
21589 }
21590 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
21591 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
21592 }
21593 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
21594 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
21595 }
21596 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
21597 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
21598 }
21599 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
21600 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21601 }
21602 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
21603 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
21604 }
21605 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
21606 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
21607 }
21608 static void *_p_wxWindowTo_p_wxObject(void *x) {
21609 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
21610 }
21611 static void *_p_wxMenuTo_p_wxObject(void *x) {
21612 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
21613 }
21614 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
21615 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
21616 }
21617 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
21618 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
21619 }
21620 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
21621 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
21622 }
21623 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
21624 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
21625 }
21626 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
21627 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
21628 }
21629 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
21630 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
21631 }
21632 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
21633 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
21634 }
21635 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
21636 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
21637 }
21638 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
21639 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
21640 }
21641 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
21642 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
21643 }
21644 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
21645 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
21646 }
21647 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
21648 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
21649 }
21650 static void *_p_wxSashEventTo_p_wxObject(void *x) {
21651 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
21652 }
21653 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
21654 return (void *)((wxObject *) ((wxPrintPreview *) x));
21655 }
21656 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
21657 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
21658 }
21659 static void *_p_wxPanelTo_p_wxObject(void *x) {
21660 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
21661 }
21662 static void *_p_wxDialogTo_p_wxObject(void *x) {
21663 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
21664 }
21665 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
21666 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
21667 }
21668 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
21669 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
21670 }
21671 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
21672 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
21673 }
21674 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
21675 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
21676 }
21677 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
21678 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
21679 }
21680 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
21681 return (void *)((wxObject *) ((wxFileSystem *) x));
21682 }
21683 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
21684 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
21685 }
21686 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
21687 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
21688 }
21689 static void *_p_wxPyAppTo_p_wxObject(void *x) {
21690 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
21691 }
21692 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
21693 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
21694 }
21695 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
21696 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
21697 }
21698 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
21699 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
21700 }
21701 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
21702 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
21703 }
21704 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
21705 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
21706 }
21707 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
21708 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
21709 }
21710 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
21711 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
21712 }
21713 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
21714 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
21715 }
21716 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
21717 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
21718 }
21719 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
21720 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
21721 }
21722 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
21723 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
21724 }
21725 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
21726 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
21727 }
21728 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
21729 return (void *)((wxObject *) ((wxPrintDialogData *) x));
21730 }
21731 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
21732 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
21733 }
21734 static void *_p_wxValidatorTo_p_wxObject(void *x) {
21735 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
21736 }
21737 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
21738 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
21739 }
21740 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
21741 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
21742 }
21743 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
21744 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
21745 }
21746 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
21747 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
21748 }
21749 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
21750 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
21751 }
21752 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
21753 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
21754 }
21755 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
21756 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
21757 }
21758 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
21759 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
21760 }
21761 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
21762 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
21763 }
21764 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
21765 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
21766 }
21767 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
21768 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
21769 }
21770 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
21771 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
21772 }
21773 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
21774 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
21775 }
21776 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
21777 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
21778 }
21779 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
21780 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
21781 }
21782 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
21783 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
21784 }
21785 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
21786 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
21787 }
21788 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
21789 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
21790 }
21791 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
21792 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
21793 }
21794 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
21795 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
21796 }
21797 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
21798 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
21799 }
21800 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
21801 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
21802 }
21803 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
21804 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
21805 }
21806 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
21807 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
21808 }
21809 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
21810 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21811 }
21812 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
21813 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
21814 }
21815 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
21816 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
21817 }
21818 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
21819 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
21820 }
21821 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
21822 return (void *)((wxWindow *) ((wxMenuBar *) x));
21823 }
21824 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
21825 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
21826 }
21827 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
21828 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
21829 }
21830 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
21831 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
21832 }
21833 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
21834 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
21835 }
21836 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
21837 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
21838 }
21839 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
21840 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
21841 }
21842 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
21843 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
21844 }
21845 static void *_p_wxPanelTo_p_wxWindow(void *x) {
21846 return (void *)((wxWindow *) ((wxPanel *) x));
21847 }
21848 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
21849 return (void *)((wxWindow *) ((wxStatusBar *) x));
21850 }
21851 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
21852 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
21853 }
21854 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
21855 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
21856 }
21857 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
21858 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
21859 }
21860 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
21861 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
21862 }
21863 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
21864 return (void *)((wxWindow *) ((wxPopupWindow *) x));
21865 }
21866 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
21867 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
21868 }
21869 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
21870 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
21871 }
21872 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
21873 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
21874 }
21875 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
21876 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
21877 }
21878 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
21879 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
21880 }
21881 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
21882 return (void *)((wxWindow *) ((wxSashWindow *) x));
21883 }
21884 static void *_p_wxControlTo_p_wxWindow(void *x) {
21885 return (void *)((wxWindow *) ((wxControl *) x));
21886 }
21887 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
21888 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
21889 }
21890 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
21891 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21892 }
21893 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
21894 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
21895 }
21896 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
21897 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
21898 }
21899 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
21900 return (void *)((wxWindow *) ((wxPyWindow *) x));
21901 }
21902 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
21903 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
21904 }
21905 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
21906 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
21907 }
21908 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
21909 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
21910 }
21911 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
21912 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
21913 }
21914 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
21915 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
21916 }
21917 static void *_p_wxFrameTo_p_wxWindow(void *x) {
21918 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
21919 }
21920 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
21921 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
21922 }
21923 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
21924 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
21925 }
21926 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
21927 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
21928 }
21929 static void *_p_wxDialogTo_p_wxWindow(void *x) {
21930 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
21931 }
21932 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
21933 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
21934 }
21935 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
21936 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
21937 }
21938 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
21939 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
21940 }
21941 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
21942 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
21943 }
21944 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
21945 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
21946 }
21947 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
21948 return (void *)((wxDialog *) ((wxColourDialog *) x));
21949 }
21950 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
21951 return (void *)((wxDialog *) ((wxDirDialog *) x));
21952 }
21953 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
21954 return (void *)((wxDialog *) ((wxFontDialog *) x));
21955 }
21956 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
21957 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
21958 }
21959 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
21960 return (void *)((wxDialog *) ((wxPrintDialog *) x));
21961 }
21962 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
21963 return (void *)((wxDialog *) ((wxFileDialog *) x));
21964 }
21965 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
21966 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
21967 }
21968 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
21969 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
21970 }
21971 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
21972 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
21973 }
21974 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
21975 return (void *)((wxDialog *) ((wxMessageDialog *) x));
21976 }
21977 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
21978 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
21979 }
21980 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
21981 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
21982 }
21983 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
21984 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
21985 }
21986 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
21987 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
21988 }
21989 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
21990 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
21991 }
21992 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
21993 return (void *)((wxPanel *) ((wxPyPanel *) x));
21994 }
21995 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
21996 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
21997 }
21998 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
21999 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
22000 }
22001 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
22002 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22003 }
22004 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
22005 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
22006 }
22007 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
22008 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
22009 }
22010 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
22011 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
22012 }
22013 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
22014 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
22015 }
22016 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
22017 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
22018 }
22019 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
22020 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22021 }
22022 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
22023 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
22024 }
22025 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
22026 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
22027 }
22028 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
22029 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
22030 }
22031 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
22032 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
22033 }
22034 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
22035 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
22036 }
22037 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
22038 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22039 }
22040 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
22041 static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame},{0}};
22042 static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
22043 static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
22044 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
22045 static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
22046 static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
22047 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}};
22048 static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
22049 static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
22050 static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
22051 static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
22052 static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
22053 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
22054 static swig_type_info _swigt__p_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
22055 static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
22056 static swig_type_info _swigt__p_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
22057 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
22058 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
22059 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
22060 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
22061 static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
22062 static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
22063 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent},{"_p_wxNotifyEvent"},{0}};
22064 static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
22065 static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
22066 static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
22067 static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
22068 static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
22069 static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
22070 static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
22071 static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
22072 static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
22073 static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
22074 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
22075 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}};
22076 static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
22077 static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
22078 static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox},{0}};
22079 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
22080 static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
22081 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}};
22082 static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
22083 static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
22084 static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
22085 static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
22086 static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
22087 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
22088 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}};
22089 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
22090 static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
22091 static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
22092 static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{0}};
22093 static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
22094 static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
22095 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}};
22096 static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0},{"_p_wxPopupWindow"},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow},{0}};
22097 static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow},{0}};
22098 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}};
22099 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}};
22100 static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}};
22101 static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
22102 static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
22103 static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview},{0}};
22104 static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
22105 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
22106 static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
22107 static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
22108 static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
22109 static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
22110 static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
22111 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}};
22112 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}};
22113 static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
22114 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
22115 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}};
22116 static swig_type_info _swigt__p_wxPrintQuality[] = {{"_p_wxPrintQuality", 0, "wxPrintQuality *", 0},{"_p_wxPrintQuality"},{0}};
22117 static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar},{0}};
22118 static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
22119 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
22120 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
22121 static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
22122 static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
22123
22124 static swig_type_info *swig_types_initial[] = {
22125 _swigt__p_wxQueryLayoutInfoEvent,
22126 _swigt__p_wxPreviewFrame,
22127 _swigt__p_wxPyPreviewFrame,
22128 _swigt__p_wxPyPanel,
22129 _swigt__p_wxMenu,
22130 _swigt__p_wxPrintData,
22131 _swigt__p_wxFontData,
22132 _swigt__p_wxEvent,
22133 _swigt__p_wxTaskBarIcon,
22134 _swigt__p_wxIconBundle,
22135 _swigt__p_wxLayoutAlgorithm,
22136 _swigt__p_wxFindDialogEvent,
22137 _swigt__p_wxPreviewCanvas,
22138 _swigt__p_wxFont,
22139 _swigt__p_wxSplitterEvent,
22140 _swigt__p_wxRegion,
22141 _swigt__p_wxFindReplaceData,
22142 _swigt__p_int,
22143 _swigt__p_wxSize,
22144 _swigt__p_wxDC,
22145 _swigt__p_wxIcon,
22146 _swigt__p_wxMDIChildFrame,
22147 _swigt__p_wxColourData,
22148 _swigt__p_wxNotifyEvent,
22149 _swigt__p_wxPyWindow,
22150 _swigt__p_wxSplashScreen,
22151 _swigt__p_wxFindReplaceDialog,
22152 _swigt__p_wxProgressDialog,
22153 _swigt__p_wxMessageDialog,
22154 _swigt__p_wxTextEntryDialog,
22155 _swigt__p_wxSingleChoiceDialog,
22156 _swigt__p_wxMultiChoiceDialog,
22157 _swigt__p_wxFileDialog,
22158 _swigt__p_wxPrinter,
22159 _swigt__p_wxArrayInt,
22160 _swigt__p_wxEvtHandler,
22161 _swigt__p_wxCalculateLayoutEvent,
22162 _swigt__p_wxPyHtmlListBox,
22163 _swigt__p_wxPyVListBox,
22164 _swigt__p_wxRect,
22165 _swigt__p_wxMiniFrame,
22166 _swigt__p_wxFrame,
22167 _swigt__p_wxPyPrintout,
22168 _swigt__p_wxTaskBarIconEvent,
22169 _swigt__p_wxScrollWinEvent,
22170 _swigt__p_wxStatusBar,
22171 _swigt__p_wxMDIParentFrame,
22172 _swigt__p_wxPoint,
22173 _swigt__p_wxObject,
22174 _swigt__p_unsigned_long,
22175 _swigt__p_wxMDIClientWindow,
22176 _swigt__p_wxTipWindow,
22177 _swigt__p_wxPyPopupTransientWindow,
22178 _swigt__p_wxSashLayoutWindow,
22179 _swigt__p_wxSplitterWindow,
22180 _swigt__p_wxPyVScrolledWindow,
22181 _swigt__p_wxPopupWindow,
22182 _swigt__p_wxSashWindow,
22183 _swigt__p_wxTopLevelWindow,
22184 _swigt__p_wxWindow,
22185 _swigt__p_wxScrolledWindow,
22186 _swigt__p_wxSplashScreenWindow,
22187 _swigt__p_wxMenuBar,
22188 _swigt__p_wxPrintPreview,
22189 _swigt__p_wxSashEvent,
22190 _swigt__p_wxString,
22191 _swigt__p_wxPyPrintPreview,
22192 _swigt__p_wxPageSetupDialog,
22193 _swigt__p_wxFontDialog,
22194 _swigt__p_wxDirDialog,
22195 _swigt__p_wxColourDialog,
22196 _swigt__p_wxDialog,
22197 _swigt__p_wxPanel,
22198 _swigt__p_wxPrintDialog,
22199 _swigt__p_wxBitmap,
22200 _swigt__p_wxCommandEvent,
22201 _swigt__p_wxPrintQuality,
22202 _swigt__p_wxPreviewControlBar,
22203 _swigt__p_wxPyPreviewControlBar,
22204 _swigt__p_wxColour,
22205 _swigt__p_wxToolBar,
22206 _swigt__p_wxPageSetupDialogData,
22207 _swigt__p_wxPrintDialogData,
22208 0
22209 };
22210
22211
22212 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22213
22214 static swig_const_info swig_const_table[] = {
22215 { SWIG_PY_INT, (char *)"FULLSCREEN_NOMENUBAR", (long) wxFULLSCREEN_NOMENUBAR, 0, 0, 0},
22216 { SWIG_PY_INT, (char *)"FULLSCREEN_NOTOOLBAR", (long) wxFULLSCREEN_NOTOOLBAR, 0, 0, 0},
22217 { SWIG_PY_INT, (char *)"FULLSCREEN_NOSTATUSBAR", (long) wxFULLSCREEN_NOSTATUSBAR, 0, 0, 0},
22218 { SWIG_PY_INT, (char *)"FULLSCREEN_NOBORDER", (long) wxFULLSCREEN_NOBORDER, 0, 0, 0},
22219 { SWIG_PY_INT, (char *)"FULLSCREEN_NOCAPTION", (long) wxFULLSCREEN_NOCAPTION, 0, 0, 0},
22220 { SWIG_PY_INT, (char *)"FULLSCREEN_ALL", (long) wxFULLSCREEN_ALL, 0, 0, 0},
22221 { SWIG_PY_INT, (char *)"TOPLEVEL_EX_DIALOG", (long) wxTOPLEVEL_EX_DIALOG, 0, 0, 0},
22222 { SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_PARENT", (long) wxSPLASH_CENTRE_ON_PARENT, 0, 0, 0},
22223 { SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_SCREEN", (long) wxSPLASH_CENTRE_ON_SCREEN, 0, 0, 0},
22224 { SWIG_PY_INT, (char *)"SPLASH_NO_CENTRE", (long) wxSPLASH_NO_CENTRE, 0, 0, 0},
22225 { SWIG_PY_INT, (char *)"SPLASH_TIMEOUT", (long) wxSPLASH_TIMEOUT, 0, 0, 0},
22226 { SWIG_PY_INT, (char *)"SPLASH_NO_TIMEOUT", (long) wxSPLASH_NO_TIMEOUT, 0, 0, 0},
22227 { SWIG_PY_INT, (char *)"SP_NOBORDER", (long) wxSP_NOBORDER, 0, 0, 0},
22228 { SWIG_PY_INT, (char *)"SP_NOSASH", (long) wxSP_NOSASH, 0, 0, 0},
22229 { SWIG_PY_INT, (char *)"SP_PERMIT_UNSPLIT", (long) wxSP_PERMIT_UNSPLIT, 0, 0, 0},
22230 { SWIG_PY_INT, (char *)"SP_LIVE_UPDATE", (long) wxSP_LIVE_UPDATE, 0, 0, 0},
22231 { SWIG_PY_INT, (char *)"SP_3DSASH", (long) wxSP_3DSASH, 0, 0, 0},
22232 { SWIG_PY_INT, (char *)"SP_3DBORDER", (long) wxSP_3DBORDER, 0, 0, 0},
22233 { SWIG_PY_INT, (char *)"SP_BORDER", (long) wxSP_BORDER, 0, 0, 0},
22234 { SWIG_PY_INT, (char *)"SP_3D", (long) wxSP_3D, 0, 0, 0},
22235 { SWIG_PY_INT, (char *)"SPLIT_HORIZONTAL", (long) wxSPLIT_HORIZONTAL, 0, 0, 0},
22236 { SWIG_PY_INT, (char *)"SPLIT_VERTICAL", (long) wxSPLIT_VERTICAL, 0, 0, 0},
22237 { SWIG_PY_INT, (char *)"SPLIT_DRAG_NONE", (long) wxSPLIT_DRAG_NONE, 0, 0, 0},
22238 { SWIG_PY_INT, (char *)"SPLIT_DRAG_DRAGGING", (long) wxSPLIT_DRAG_DRAGGING, 0, 0, 0},
22239 { SWIG_PY_INT, (char *)"SPLIT_DRAG_LEFT_DOWN", (long) wxSPLIT_DRAG_LEFT_DOWN, 0, 0, 0},
22240 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, 0, 0, 0},
22241 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 0, 0, 0},
22242 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", (long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 0, 0, 0},
22243 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_UNSPLIT", (long) wxEVT_COMMAND_SPLITTER_UNSPLIT, 0, 0, 0},
22244 { SWIG_PY_INT, (char *)"SASH_DRAG_NONE", (long) wxSASH_DRAG_NONE, 0, 0, 0},
22245 { SWIG_PY_INT, (char *)"SASH_DRAG_DRAGGING", (long) wxSASH_DRAG_DRAGGING, 0, 0, 0},
22246 { SWIG_PY_INT, (char *)"SASH_DRAG_LEFT_DOWN", (long) wxSASH_DRAG_LEFT_DOWN, 0, 0, 0},
22247 { SWIG_PY_INT, (char *)"SW_NOBORDER", (long) wxSW_NOBORDER, 0, 0, 0},
22248 { SWIG_PY_INT, (char *)"SW_BORDER", (long) wxSW_BORDER, 0, 0, 0},
22249 { SWIG_PY_INT, (char *)"SW_3DSASH", (long) wxSW_3DSASH, 0, 0, 0},
22250 { SWIG_PY_INT, (char *)"SW_3DBORDER", (long) wxSW_3DBORDER, 0, 0, 0},
22251 { SWIG_PY_INT, (char *)"SW_3D", (long) wxSW_3D, 0, 0, 0},
22252 { SWIG_PY_INT, (char *)"SASH_TOP", (long) wxSASH_TOP, 0, 0, 0},
22253 { SWIG_PY_INT, (char *)"SASH_RIGHT", (long) wxSASH_RIGHT, 0, 0, 0},
22254 { SWIG_PY_INT, (char *)"SASH_BOTTOM", (long) wxSASH_BOTTOM, 0, 0, 0},
22255 { SWIG_PY_INT, (char *)"SASH_LEFT", (long) wxSASH_LEFT, 0, 0, 0},
22256 { SWIG_PY_INT, (char *)"SASH_NONE", (long) wxSASH_NONE, 0, 0, 0},
22257 { SWIG_PY_INT, (char *)"SASH_STATUS_OK", (long) wxSASH_STATUS_OK, 0, 0, 0},
22258 { SWIG_PY_INT, (char *)"SASH_STATUS_OUT_OF_RANGE", (long) wxSASH_STATUS_OUT_OF_RANGE, 0, 0, 0},
22259 { SWIG_PY_INT, (char *)"wxEVT_SASH_DRAGGED", (long) wxEVT_SASH_DRAGGED, 0, 0, 0},
22260 { SWIG_PY_INT, (char *)"LAYOUT_HORIZONTAL", (long) wxLAYOUT_HORIZONTAL, 0, 0, 0},
22261 { SWIG_PY_INT, (char *)"LAYOUT_VERTICAL", (long) wxLAYOUT_VERTICAL, 0, 0, 0},
22262 { SWIG_PY_INT, (char *)"LAYOUT_NONE", (long) wxLAYOUT_NONE, 0, 0, 0},
22263 { SWIG_PY_INT, (char *)"LAYOUT_TOP", (long) wxLAYOUT_TOP, 0, 0, 0},
22264 { SWIG_PY_INT, (char *)"LAYOUT_LEFT", (long) wxLAYOUT_LEFT, 0, 0, 0},
22265 { SWIG_PY_INT, (char *)"LAYOUT_RIGHT", (long) wxLAYOUT_RIGHT, 0, 0, 0},
22266 { SWIG_PY_INT, (char *)"LAYOUT_BOTTOM", (long) wxLAYOUT_BOTTOM, 0, 0, 0},
22267 { SWIG_PY_INT, (char *)"LAYOUT_LENGTH_Y", (long) wxLAYOUT_LENGTH_Y, 0, 0, 0},
22268 { SWIG_PY_INT, (char *)"LAYOUT_LENGTH_X", (long) wxLAYOUT_LENGTH_X, 0, 0, 0},
22269 { SWIG_PY_INT, (char *)"LAYOUT_MRU_LENGTH", (long) wxLAYOUT_MRU_LENGTH, 0, 0, 0},
22270 { SWIG_PY_INT, (char *)"LAYOUT_QUERY", (long) wxLAYOUT_QUERY, 0, 0, 0},
22271 { SWIG_PY_INT, (char *)"wxEVT_QUERY_LAYOUT_INFO", (long) wxEVT_QUERY_LAYOUT_INFO, 0, 0, 0},
22272 { SWIG_PY_INT, (char *)"wxEVT_CALCULATE_LAYOUT", (long) wxEVT_CALCULATE_LAYOUT, 0, 0, 0},
22273 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_MOVE", (long) wxEVT_TASKBAR_MOVE, 0, 0, 0},
22274 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DOWN", (long) wxEVT_TASKBAR_LEFT_DOWN, 0, 0, 0},
22275 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_UP", (long) wxEVT_TASKBAR_LEFT_UP, 0, 0, 0},
22276 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DOWN", (long) wxEVT_TASKBAR_RIGHT_DOWN, 0, 0, 0},
22277 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_UP", (long) wxEVT_TASKBAR_RIGHT_UP, 0, 0, 0},
22278 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DCLICK", (long) wxEVT_TASKBAR_LEFT_DCLICK, 0, 0, 0},
22279 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DCLICK", (long) wxEVT_TASKBAR_RIGHT_DCLICK, 0, 0, 0},
22280 { SWIG_PY_INT, (char *)"CHOICEDLG_STYLE", (long) wxCHOICEDLG_STYLE, 0, 0, 0},
22281 { SWIG_PY_INT, (char *)"FR_DOWN", (long) wxFR_DOWN, 0, 0, 0},
22282 { SWIG_PY_INT, (char *)"FR_WHOLEWORD", (long) wxFR_WHOLEWORD, 0, 0, 0},
22283 { SWIG_PY_INT, (char *)"FR_MATCHCASE", (long) wxFR_MATCHCASE, 0, 0, 0},
22284 { SWIG_PY_INT, (char *)"FR_REPLACEDIALOG", (long) wxFR_REPLACEDIALOG, 0, 0, 0},
22285 { SWIG_PY_INT, (char *)"FR_NOUPDOWN", (long) wxFR_NOUPDOWN, 0, 0, 0},
22286 { SWIG_PY_INT, (char *)"FR_NOMATCHCASE", (long) wxFR_NOMATCHCASE, 0, 0, 0},
22287 { SWIG_PY_INT, (char *)"FR_NOWHOLEWORD", (long) wxFR_NOWHOLEWORD, 0, 0, 0},
22288 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND", (long) wxEVT_COMMAND_FIND, 0, 0, 0},
22289 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_NEXT", (long) wxEVT_COMMAND_FIND_NEXT, 0, 0, 0},
22290 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE", (long) wxEVT_COMMAND_FIND_REPLACE, 0, 0, 0},
22291 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE_ALL", (long) wxEVT_COMMAND_FIND_REPLACE_ALL, 0, 0, 0},
22292 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_CLOSE", (long) wxEVT_COMMAND_FIND_CLOSE, 0, 0, 0},
22293 { SWIG_PY_INT, (char *)"IDM_WINDOWTILE", (long) 4001, 0, 0, 0},
22294 { SWIG_PY_INT, (char *)"IDM_WINDOWTILEHOR", (long) 4001, 0, 0, 0},
22295 { SWIG_PY_INT, (char *)"IDM_WINDOWCASCADE", (long) 4002, 0, 0, 0},
22296 { SWIG_PY_INT, (char *)"IDM_WINDOWICONS", (long) 4003, 0, 0, 0},
22297 { SWIG_PY_INT, (char *)"IDM_WINDOWNEXT", (long) 4004, 0, 0, 0},
22298 { SWIG_PY_INT, (char *)"IDM_WINDOWTILEVERT", (long) 4005, 0, 0, 0},
22299 { SWIG_PY_INT, (char *)"FIRST_MDI_CHILD", (long) 4100, 0, 0, 0},
22300 { SWIG_PY_INT, (char *)"LAST_MDI_CHILD", (long) 4600, 0, 0, 0},
22301 { SWIG_PY_INT, (char *)"PRINT_MODE_NONE", (long) wxPRINT_MODE_NONE, 0, 0, 0},
22302 { SWIG_PY_INT, (char *)"PRINT_MODE_PREVIEW", (long) wxPRINT_MODE_PREVIEW, 0, 0, 0},
22303 { SWIG_PY_INT, (char *)"PRINT_MODE_FILE", (long) wxPRINT_MODE_FILE, 0, 0, 0},
22304 { SWIG_PY_INT, (char *)"PRINT_MODE_PRINTER", (long) wxPRINT_MODE_PRINTER, 0, 0, 0},
22305 { SWIG_PY_INT, (char *)"PRINTER_NO_ERROR", (long) wxPRINTER_NO_ERROR, 0, 0, 0},
22306 { SWIG_PY_INT, (char *)"PRINTER_CANCELLED", (long) wxPRINTER_CANCELLED, 0, 0, 0},
22307 { SWIG_PY_INT, (char *)"PRINTER_ERROR", (long) wxPRINTER_ERROR, 0, 0, 0},
22308 { SWIG_PY_INT, (char *)"PREVIEW_PRINT", (long) wxPREVIEW_PRINT, 0, 0, 0},
22309 { SWIG_PY_INT, (char *)"PREVIEW_PREVIOUS", (long) wxPREVIEW_PREVIOUS, 0, 0, 0},
22310 { SWIG_PY_INT, (char *)"PREVIEW_NEXT", (long) wxPREVIEW_NEXT, 0, 0, 0},
22311 { SWIG_PY_INT, (char *)"PREVIEW_ZOOM", (long) wxPREVIEW_ZOOM, 0, 0, 0},
22312 { SWIG_PY_INT, (char *)"PREVIEW_FIRST", (long) wxPREVIEW_FIRST, 0, 0, 0},
22313 { SWIG_PY_INT, (char *)"PREVIEW_LAST", (long) wxPREVIEW_LAST, 0, 0, 0},
22314 { SWIG_PY_INT, (char *)"PREVIEW_GOTO", (long) wxPREVIEW_GOTO, 0, 0, 0},
22315 { SWIG_PY_INT, (char *)"PREVIEW_DEFAULT", (long) wxPREVIEW_DEFAULT, 0, 0, 0},
22316 { SWIG_PY_INT, (char *)"ID_PREVIEW_CLOSE", (long) wxID_PREVIEW_CLOSE, 0, 0, 0},
22317 { SWIG_PY_INT, (char *)"ID_PREVIEW_NEXT", (long) wxID_PREVIEW_NEXT, 0, 0, 0},
22318 { SWIG_PY_INT, (char *)"ID_PREVIEW_PREVIOUS", (long) wxID_PREVIEW_PREVIOUS, 0, 0, 0},
22319 { SWIG_PY_INT, (char *)"ID_PREVIEW_PRINT", (long) wxID_PREVIEW_PRINT, 0, 0, 0},
22320 { SWIG_PY_INT, (char *)"ID_PREVIEW_ZOOM", (long) wxID_PREVIEW_ZOOM, 0, 0, 0},
22321 { SWIG_PY_INT, (char *)"ID_PREVIEW_FIRST", (long) wxID_PREVIEW_FIRST, 0, 0, 0},
22322 { SWIG_PY_INT, (char *)"ID_PREVIEW_LAST", (long) wxID_PREVIEW_LAST, 0, 0, 0},
22323 { SWIG_PY_INT, (char *)"ID_PREVIEW_GOTO", (long) wxID_PREVIEW_GOTO, 0, 0, 0},
22324 {0}};
22325
22326 #ifdef __cplusplus
22327 }
22328 #endif
22329
22330 #ifdef __cplusplus
22331 extern "C"
22332 #endif
22333 SWIGEXPORT(void) SWIG_init(void) {
22334 static PyObject *SWIG_globals = 0;
22335 static int typeinit = 0;
22336 PyObject *m, *d;
22337 int i;
22338 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
22339 m = Py_InitModule((char *) SWIG_name, SwigMethods);
22340 d = PyModule_GetDict(m);
22341
22342 if (!typeinit) {
22343 for (i = 0; swig_types_initial[i]; i++) {
22344 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
22345 }
22346 typeinit = 1;
22347 }
22348 SWIG_InstallConstants(d,swig_const_table);
22349
22350 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
22351 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
22352 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
22353 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
22354 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
22355 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
22356 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
22357
22358 // Map renamed classes back to their common name for OOR
22359 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
22360 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
22361 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
22362
22363 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
22364 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
22365 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
22366 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
22367 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
22368 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
22369 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
22370 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
22371 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
22372 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
22373 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
22374 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
22375
22376 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
22377
22378 }
22379