]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/windows_wrap.cpp
Track and translate typenames where possible
[wxWidgets.git] / wxPython / src / msw / windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.20
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124
125 #endif
126
127
128 /***********************************************************************
129 * pyrun.swg for wxPython
130 *
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 * anyway.
135 *
136 ************************************************************************/
137
138 #include "Python.h"
139
140 #ifdef __cplusplus
141 extern "C" {
142 #endif
143
144 #define SWIG_PY_INT 1
145 #define SWIG_PY_FLOAT 2
146 #define SWIG_PY_STRING 3
147 #define SWIG_PY_POINTER 4
148 #define SWIG_PY_BINARY 5
149
150 /* Flags for pointer conversion */
151
152 #define SWIG_POINTER_EXCEPTION 0x1
153 #define SWIG_POINTER_DISOWN 0x2
154
155 /* Exception handling in wrappers */
156 #define SWIG_fail goto fail
157
158 /* Constant information structure */
159 typedef struct swig_const_info {
160 int type;
161 char *name;
162 long lvalue;
163 double dvalue;
164 void *pvalue;
165 swig_type_info **ptype;
166 } swig_const_info;
167
168 /* Common SWIG API */
169 #define SWIG_ConvertPtr(obj, pp, type, flags) \
170 SWIG_Python_ConvertPtr(obj, pp, type, flags)
171 #define SWIG_NewPointerObj(p, type, flags) \
172 SWIG_Python_NewPointerObj(p, type, flags)
173 #define SWIG_MustGetPtr(p, type, argnum, flags) \
174 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175
176 /* Python-specific SWIG API */
177 #define SWIG_newvarlink() \
178 SWIG_Python_newvarlink()
179 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
180 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
181 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
182 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
183 #define SWIG_NewPackedObj(ptr, sz, type) \
184 SWIG_Python_NewPackedObj(ptr, sz, type)
185 #define SWIG_InstallConstants(d, constants) \
186 SWIG_Python_InstallConstants(d, constants)
187
188
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198
199
200 /* Contract support */
201
202 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
203
204 #ifdef __cplusplus
205 }
206 #endif
207
208
209
210 /* -------- TYPES TABLE (BEGIN) -------- */
211
212 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
213 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
214 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
215 #define SWIGTYPE_p_wxPyPanel swig_types[3]
216 #define SWIGTYPE_p_wxMenu swig_types[4]
217 #define SWIGTYPE_p_wxPrintData swig_types[5]
218 #define SWIGTYPE_p_wxFontData swig_types[6]
219 #define SWIGTYPE_p_wxEvent swig_types[7]
220 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
221 #define SWIGTYPE_p_wxIconBundle swig_types[9]
222 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
223 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
224 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
225 #define SWIGTYPE_p_wxFont swig_types[13]
226 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
227 #define SWIGTYPE_p_wxRegion swig_types[15]
228 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
229 #define SWIGTYPE_p_int swig_types[17]
230 #define SWIGTYPE_p_wxSize swig_types[18]
231 #define SWIGTYPE_p_wxDC swig_types[19]
232 #define SWIGTYPE_p_wxIcon swig_types[20]
233 #define SWIGTYPE_p_wxMDIChildFrame swig_types[21]
234 #define SWIGTYPE_p_wxColourData swig_types[22]
235 #define SWIGTYPE_p_wxNotifyEvent swig_types[23]
236 #define SWIGTYPE_p_wxPyWindow swig_types[24]
237 #define SWIGTYPE_p_wxSplashScreen swig_types[25]
238 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
239 #define SWIGTYPE_p_wxProgressDialog swig_types[27]
240 #define SWIGTYPE_p_wxMessageDialog swig_types[28]
241 #define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
242 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
243 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
244 #define SWIGTYPE_p_wxFileDialog swig_types[32]
245 #define SWIGTYPE_p_wxPrinter swig_types[33]
246 #define SWIGTYPE_p_wxArrayInt swig_types[34]
247 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
248 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
249 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
250 #define SWIGTYPE_p_wxPyVListBox swig_types[38]
251 #define SWIGTYPE_p_wxRect swig_types[39]
252 #define SWIGTYPE_p_wxMiniFrame swig_types[40]
253 #define SWIGTYPE_p_wxFrame swig_types[41]
254 #define SWIGTYPE_p_wxPyPrintout swig_types[42]
255 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[43]
256 #define SWIGTYPE_p_wxScrollWinEvent swig_types[44]
257 #define SWIGTYPE_p_wxStatusBar swig_types[45]
258 #define SWIGTYPE_p_wxMDIParentFrame swig_types[46]
259 #define SWIGTYPE_p_wxPoint swig_types[47]
260 #define SWIGTYPE_p_wxObject swig_types[48]
261 #define SWIGTYPE_p_unsigned_long swig_types[49]
262 #define SWIGTYPE_p_wxMDIClientWindow swig_types[50]
263 #define SWIGTYPE_p_wxTipWindow swig_types[51]
264 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[52]
265 #define SWIGTYPE_p_wxSplitterWindow swig_types[53]
266 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[54]
267 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[55]
268 #define SWIGTYPE_p_wxPopupWindow swig_types[56]
269 #define SWIGTYPE_p_wxSashWindow swig_types[57]
270 #define SWIGTYPE_p_wxTopLevelWindow swig_types[58]
271 #define SWIGTYPE_p_wxWindow swig_types[59]
272 #define SWIGTYPE_p_wxScrolledWindow swig_types[60]
273 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[61]
274 #define SWIGTYPE_p_wxMenuBar swig_types[62]
275 #define SWIGTYPE_p_wxPrintPreview swig_types[63]
276 #define SWIGTYPE_p_wxSashEvent swig_types[64]
277 #define SWIGTYPE_p_wxString swig_types[65]
278 #define SWIGTYPE_p_wxPyPrintPreview swig_types[66]
279 #define SWIGTYPE_p_wxPageSetupDialog swig_types[67]
280 #define SWIGTYPE_p_wxFontDialog swig_types[68]
281 #define SWIGTYPE_p_wxDirDialog swig_types[69]
282 #define SWIGTYPE_p_wxColourDialog swig_types[70]
283 #define SWIGTYPE_p_wxDialog swig_types[71]
284 #define SWIGTYPE_p_wxPanel swig_types[72]
285 #define SWIGTYPE_p_wxPrintDialog swig_types[73]
286 #define SWIGTYPE_p_wxBitmap swig_types[74]
287 #define SWIGTYPE_p_wxCommandEvent swig_types[75]
288 #define SWIGTYPE_p_wxPreviewControlBar swig_types[76]
289 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[77]
290 #define SWIGTYPE_p_wxColour swig_types[78]
291 #define SWIGTYPE_p_wxToolBar swig_types[79]
292 #define SWIGTYPE_p_wxPrintDialogData swig_types[80]
293 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[81]
294 static swig_type_info *swig_types[83];
295
296 /* -------- TYPES TABLE (END) -------- */
297
298
299 /*-----------------------------------------------
300 @(target):= _windows.so
301 ------------------------------------------------*/
302 #define SWIG_init init_windows
303
304 #define SWIG_name "_windows"
305
306 #include "wx/wxPython/wxPython.h"
307 #include "wx/wxPython/pyclasses.h"
308
309
310 static const wxString wxPyEmptyString(wxEmptyString);
311 static const wxString wxPyPanelNameStr(wxPanelNameStr);
312
313
314
315 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
316 PyObject* o2;
317 PyObject* o3;
318
319 if (!target) {
320 target = o;
321 } else if (target == Py_None) {
322 Py_DECREF(Py_None);
323 target = o;
324 } else {
325 if (!PyTuple_Check(target)) {
326 o2 = target;
327 target = PyTuple_New(1);
328 PyTuple_SetItem(target, 0, o2);
329 }
330 o3 = PyTuple_New(1);
331 PyTuple_SetItem(o3, 0, o);
332
333 o2 = target;
334 target = PySequence_Concat(o2, o3);
335 Py_DECREF(o2);
336 Py_DECREF(o3);
337 }
338 return target;
339 }
340
341 static const wxString wxPyFrameNameStr(wxFrameNameStr);
342 static const wxString wxPyDialogNameStr(wxDialogNameStr);
343 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
344 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
345 bool wxDialog_IsModalShowing(wxDialog *self){
346
347
348
349 return self->IsModalShowing();
350
351 }
352
353
354 wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
355 wxRect r;
356 self->GetFieldRect(i, r);
357 return r;
358 }
359 static const wxString wxPySplitterNameStr(wxT(wxT("splitter")));
360 static const wxString wxPySashNameStr(wxT(wxT("sashWindow")));
361 static const wxString wxPySashLayoutNameStr(wxT(wxT("layoutWindow")));
362
363 #include <wx/popupwin.h>
364
365
366 class wxPyPopupTransientWindow : public wxPopupTransientWindow
367 {
368 public:
369 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
370 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
371 : wxPopupTransientWindow(parent, style) {}
372
373 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
374 DEC_PYCALLBACK__(OnDismiss);
375 DEC_PYCALLBACK_BOOL_(CanDismiss);
376 PYPRIVATE;
377 };
378
379
380 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
381 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
382 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
383
384
385 #include <wx/tipwin.h>
386
387 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
388 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
389 }
390
391 #include <wx/tipwin.h>
392
393
394 #include <wx/vscroll.h>
395
396
397 class wxPyVScrolledWindow : public wxVScrolledWindow
398 {
399 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
400 public:
401 wxPyVScrolledWindow() : wxVScrolledWindow() {}
402
403 wxPyVScrolledWindow(wxWindow *parent,
404 wxWindowID id = wxID_ANY,
405 const wxPoint& pos = wxDefaultPosition,
406 const wxSize& size = wxDefaultSize,
407 long style = 0,
408 const wxString& name = wxPyPanelNameStr)
409 : wxVScrolledWindow(parent, id, pos, size, style, name)
410 {}
411
412 // Overridable virtuals
413
414 // this function must be overridden in the derived class and it should
415 // return the height of the given line in pixels
416 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
417
418
419 // this function doesn't have to be overridden but it may be useful to do
420 // it if calculating the lines heights is a relatively expensive operation
421 // as it gives the user code a possibility to calculate several of them at
422 // once
423 //
424 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
425 // shouldn't rely on the latter being called for all lines in the interval
426 // specified here. It is also possible that OnGetLineHeight() will be
427 // called for the lines outside of this interval, so this is really just a
428 // hint, not a promise.
429 //
430 // finally note that lineMin is inclusive, while lineMax is exclusive, as
431 // usual
432 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
433
434
435 // when the number of lines changes, we try to estimate the total height
436 // of all lines which is a rather expensive operation in terms of lines
437 // access, so if the user code may estimate the average height
438 // better/faster than we do, it should override this function to implement
439 // its own logic
440 //
441 // this function should return the best guess for the total height it may
442 // make
443 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
444
445
446 // Also expose some other interesting protected methods
447
448
449 // find the index of the line we need to show at the top of the window such
450 // that the last (fully or partially) visible line is the given one
451 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
452 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
453
454 // get the total height of the lines between lineMin (inclusive) and
455 // lineMax (exclusive)
456 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
457 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
458
459
460 PYPRIVATE;
461 };
462
463 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
464
465 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
466 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
467 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
468
469
470 #include <wx/vlbox.h>
471
472 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
473
474 class wxPyVListBox : public wxVListBox
475 {
476 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
477 public:
478 wxPyVListBox() : wxVListBox() {}
479
480 wxPyVListBox(wxWindow *parent,
481 wxWindowID id = wxID_ANY,
482 const wxPoint& pos = wxDefaultPosition,
483 const wxSize& size = wxDefaultSize,
484 long style = 0,
485 const wxString& name = wxPyVListBoxNameStr)
486 : wxVListBox(parent, id, pos, size, style, name)
487 {}
488
489 // Overridable virtuals
490
491 // the derived class must implement this function to actually draw the item
492 // with the given index on the provided DC
493 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
494 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
495
496
497 // the derived class must implement this method to return the height of the
498 // specified item
499 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
500 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
501
502
503 // this method may be used to draw separators between the lines; note that
504 // the rectangle may be modified, typically to deflate it a bit before
505 // passing to OnDrawItem()
506 //
507 // the base class version doesn't do anything
508 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
509 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
510
511
512 // this method is used to draw the items background and, maybe, a border
513 // around it
514 //
515 // the base class version implements a reasonable default behaviour which
516 // consists in drawing the selected item with the standard background
517 // colour and drawing a border around the item if it is either selected or
518 // current
519 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
520 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
521
522
523 PYPRIVATE;
524 };
525
526 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
527
528 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
529 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
530 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
531 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
532
533
534
535 #include <wx/htmllbox.h>
536
537
538 class wxPyHtmlListBox : public wxHtmlListBox
539 {
540 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
541 public:
542 wxPyHtmlListBox() : wxHtmlListBox() {}
543
544 wxPyHtmlListBox(wxWindow *parent,
545 wxWindowID id = wxID_ANY,
546 const wxPoint& pos = wxDefaultPosition,
547 const wxSize& size = wxDefaultSize,
548 long style = 0,
549 const wxString& name = wxPyVListBoxNameStr)
550 : wxHtmlListBox(parent, id, pos, size, style, name)
551 {}
552
553 // Overridable virtuals
554
555 // this method must be implemented in the derived class and should return
556 // the body (i.e. without <html>) of the HTML for the given item
557 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
558
559 // this function may be overridden to decorate HTML returned by OnGetItem()
560 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
561
562 // TODO:
563 // // this method allows to customize the selection appearance: it may be used
564 // // to specify the colour of the text which normally has the given colour
565 // // colFg when it is inside the selection
566 // //
567 // // by default, the original colour is not used at all and all text has the
568 // // same (default for this system) colour inside selection
569 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
570
571 // // this is the same as GetSelectedTextColour() but allows to customize the
572 // // background colour -- this is even more rarely used as you can change it
573 // // globally using SetSelectionBackground()
574 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
575
576
577 PYPRIVATE;
578 };
579
580
581 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
582
583 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
584 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
585
586
587
588
589
590 #ifdef __WXMAC__
591 // implement dummy classes and such for wxMac
592
593 class wxTaskBarIcon : public wxEvtHandler
594 {
595 public:
596 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
597 };
598
599
600 class wxTaskBarIconEvent : public wxEvent
601 {
602 public:
603 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
604 { wxPyRaiseNotImplemented(); }
605 virtual wxEvent* Clone() const { return NULL; }
606 };
607
608 enum {
609 wxEVT_TASKBAR_MOVE = 0,
610 wxEVT_TASKBAR_LEFT_DOWN = 0,
611 wxEVT_TASKBAR_LEFT_UP = 0,
612 wxEVT_TASKBAR_RIGHT_DOWN = 0,
613 wxEVT_TASKBAR_RIGHT_UP = 0,
614 wxEVT_TASKBAR_LEFT_DCLICK = 0,
615 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
616 };
617 #endif
618
619 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
620 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
621 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
622 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
623 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
624 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
625 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
626 wxArrayString arr;
627 self->GetFilenames(arr);
628 return wxArrayString2PyList_helper(arr);
629 }
630 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
631 wxArrayString arr;
632 self->GetPaths(arr);
633 return wxArrayString2PyList_helper(arr);
634 }
635 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
636 return wxArrayInt2PyList_helper(self->GetSelections());
637 }
638 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
639 return new wxSingleChoiceDialog(parent, message, caption,
640 choices, choices_array, NULL, style, pos);
641 }
642
643 #include <wx/mdi.h>
644
645 // C++ version of Python aware wxWindow
646 class wxPyWindow : public wxWindow
647 {
648 DECLARE_DYNAMIC_CLASS(wxPyWindow)
649 public:
650 wxPyWindow() : wxWindow() {}
651 wxPyWindow(wxWindow* parent, const wxWindowID id,
652 const wxPoint& pos = wxDefaultPosition,
653 const wxSize& size = wxDefaultSize,
654 long style = 0,
655 const wxString& name = wxPyPanelNameStr)
656 : wxWindow(parent, id, pos, size, style, name) {}
657
658
659 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
660 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
661 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
662 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
663
664 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
665 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
666 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
667
668 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
669 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
670
671 DEC_PYCALLBACK__(InitDialog);
672 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
673 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
674 DEC_PYCALLBACK_BOOL_(Validate);
675
676 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
677 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
678 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
679
680 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
681 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
682
683 PYPRIVATE;
684 };
685
686 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
687
688 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
689 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
690 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
691 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
692
693 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
694 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
695 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
696
697 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
698 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
699
700 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
701 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
702 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
703 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
704
705 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
706 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
707 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
708
709 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
710 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
711
712
713 // C++ version of Python aware wxPanel
714 class wxPyPanel : public wxPanel
715 {
716 DECLARE_DYNAMIC_CLASS(wxPyPanel)
717 public:
718 wxPyPanel() : wxPanel() {}
719 wxPyPanel(wxWindow* parent, const wxWindowID id,
720 const wxPoint& pos = wxDefaultPosition,
721 const wxSize& size = wxDefaultSize,
722 long style = 0,
723 const wxString& name = wxPyPanelNameStr)
724 : wxPanel(parent, id, pos, size, style, name) {}
725
726
727 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
728 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
729 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
730 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
731
732 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
733 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
734 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
735
736 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
737 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
738
739 DEC_PYCALLBACK__(InitDialog);
740 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
741 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
742 DEC_PYCALLBACK_BOOL_(Validate);
743
744 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
745 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
746 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
747
748 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
749 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
750
751 PYPRIVATE;
752 };
753
754 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
755
756 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
757 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
758 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
759 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
760
761 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
762 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
763 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
764
765 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
766 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
767
768 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
769 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
770 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
771 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
772
773 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
774 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
775 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
776
777 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
778 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
779
780
781
782 #include "wx/wxPython/printfw.h"
783
784
785 static const wxString wxPyPrintoutTitleStr(wxT(wxT("Printout")));
786 static const wxString wxPyPreviewCanvasNameStr(wxT(wxT("previewcanvas")));
787
788
789
790 // Since this one would be tough and ugly to do with the Macros...
791 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
792 bool hadErr = False;
793 bool found;
794
795 wxPyBeginBlockThreads();
796 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
797 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
798 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
799 PyObject* val;
800
801 val = PyTuple_GetItem(result, 0);
802 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
803 else hadErr = True;
804
805 val = PyTuple_GetItem(result, 1);
806 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
807 else hadErr = True;
808
809 val = PyTuple_GetItem(result, 2);
810 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
811 else hadErr = True;
812
813 val = PyTuple_GetItem(result, 3);
814 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
815 else hadErr = True;
816 }
817 else
818 hadErr = True;
819
820 if (hadErr) {
821 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
822 PyErr_Print();
823 }
824 Py_DECREF(result);
825 }
826 wxPyEndBlockThreads();
827 if (! found)
828 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
829 }
830
831 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
832 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
833 }
834
835
836 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
837 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
838 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
839 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
840 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
841 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
842 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
843
844
845
846
847
848 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
849 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
850 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
851
852
853 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
854 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
855 bool rval=False; \
856 bool found; \
857 wxPyBeginBlockThreads(); \
858 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
859 PyObject* win = wxPyMake_wxObject(a); \
860 PyObject* dc = wxPyMake_wxObject(&b); \
861 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
862 Py_DECREF(win); \
863 Py_DECREF(dc); \
864 } \
865 wxPyEndBlockThreads(); \
866 if (! found) \
867 rval = PCLASS::CBNAME(a, b); \
868 return rval; \
869 } \
870 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
871 return PCLASS::CBNAME(a, b); \
872 }
873
874
875
876
877 class wxPyPrintPreview : public wxPrintPreview
878 {
879 DECLARE_CLASS(wxPyPrintPreview)
880 public:
881 wxPyPrintPreview(wxPyPrintout* printout,
882 wxPyPrintout* printoutForPrinting,
883 wxPrintData* data=NULL)
884 : wxPrintPreview(printout, printoutForPrinting, data)
885 {}
886
887 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
888 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
889 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
890 DEC_PYCALLBACK_BOOL_INT(RenderPage);
891 DEC_PYCALLBACK_VOID_INT(SetZoom);
892 DEC_PYCALLBACK_BOOL_BOOL(Print);
893 DEC_PYCALLBACK_VOID_(DetermineScaling);
894
895 PYPRIVATE;
896 };
897
898 // Stupid renamed classes... Fix this in 2.5...
899 #if defined(__WXMSW__)
900 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
901 #elif defined(__WXMAC__)
902 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
903 #else
904 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
905 #endif
906
907 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
908 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
909 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
910 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
911 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
912 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
913 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
914
915
916 class wxPyPreviewFrame : public wxPreviewFrame
917 {
918 DECLARE_CLASS(wxPyPreviewFrame);
919 public:
920 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
921 const wxString& title,
922 const wxPoint& pos = wxDefaultPosition,
923 const wxSize& size = wxDefaultSize,
924 long style = wxDEFAULT_FRAME_STYLE,
925 const wxString& name = wxPyFrameNameStr)
926 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
927 {}
928
929 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
930 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
931
932 DEC_PYCALLBACK_VOID_(Initialize);
933 DEC_PYCALLBACK_VOID_(CreateCanvas);
934 DEC_PYCALLBACK_VOID_(CreateControlBar);
935
936 PYPRIVATE;
937 };
938
939 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
940
941 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
942 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
943 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
944
945
946 class wxPyPreviewControlBar : public wxPreviewControlBar
947 {
948 DECLARE_CLASS(wxPyPreviewControlBar);
949 public:
950 wxPyPreviewControlBar(wxPrintPreview *preview,
951 long buttons,
952 wxWindow *parent,
953 const wxPoint& pos = wxDefaultPosition,
954 const wxSize& size = wxDefaultSize,
955 long style = 0,
956 const wxString& name = wxPyPanelNameStr)
957 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
958 {}
959
960 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
961
962 DEC_PYCALLBACK_VOID_(CreateButtons);
963 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
964
965 PYPRIVATE;
966 };
967
968 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
969 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
970 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
971
972 #ifdef __cplusplus
973 extern "C" {
974 #endif
975 static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
976 PyObject *resultobj;
977 wxWindow *arg1 = (wxWindow *) 0 ;
978 int arg2 = (int) (int)-1 ;
979 wxPoint const &arg3_defvalue = wxDefaultPosition ;
980 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
981 wxSize const &arg4_defvalue = wxDefaultSize ;
982 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
983 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
984 wxString const &arg6_defvalue = wxPyPanelNameStr ;
985 wxString *arg6 = (wxString *) &arg6_defvalue ;
986 wxPanel *result;
987 wxPoint temp3 ;
988 wxSize temp4 ;
989 bool temp6 = False ;
990 PyObject * obj0 = 0 ;
991 PyObject * obj2 = 0 ;
992 PyObject * obj3 = 0 ;
993 PyObject * obj5 = 0 ;
994 char *kwnames[] = {
995 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
996 };
997
998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_Panel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1000 if (obj2) {
1001 {
1002 arg3 = &temp3;
1003 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1004 }
1005 }
1006 if (obj3) {
1007 {
1008 arg4 = &temp4;
1009 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1010 }
1011 }
1012 if (obj5) {
1013 {
1014 arg6 = wxString_in_helper(obj5);
1015 if (arg6 == NULL) SWIG_fail;
1016 temp6 = True;
1017 }
1018 }
1019 {
1020 PyThreadState* __tstate = wxPyBeginAllowThreads();
1021 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1022
1023 wxPyEndAllowThreads(__tstate);
1024 if (PyErr_Occurred()) SWIG_fail;
1025 }
1026 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1027 {
1028 if (temp6)
1029 delete arg6;
1030 }
1031 return resultobj;
1032 fail:
1033 {
1034 if (temp6)
1035 delete arg6;
1036 }
1037 return NULL;
1038 }
1039
1040
1041 static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1042 PyObject *resultobj;
1043 wxPanel *result;
1044 char *kwnames[] = {
1045 NULL
1046 };
1047
1048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1049 {
1050 PyThreadState* __tstate = wxPyBeginAllowThreads();
1051 result = (wxPanel *)new wxPanel();
1052
1053 wxPyEndAllowThreads(__tstate);
1054 if (PyErr_Occurred()) SWIG_fail;
1055 }
1056 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1057 return resultobj;
1058 fail:
1059 return NULL;
1060 }
1061
1062
1063 static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1064 PyObject *resultobj;
1065 wxPanel *arg1 = (wxPanel *) 0 ;
1066 wxWindow *arg2 = (wxWindow *) 0 ;
1067 int arg3 ;
1068 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1069 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1070 wxSize const &arg5_defvalue = wxDefaultSize ;
1071 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1072 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1073 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1074 wxString *arg7 = (wxString *) &arg7_defvalue ;
1075 bool result;
1076 wxPoint temp4 ;
1077 wxSize temp5 ;
1078 bool temp7 = False ;
1079 PyObject * obj0 = 0 ;
1080 PyObject * obj1 = 0 ;
1081 PyObject * obj3 = 0 ;
1082 PyObject * obj4 = 0 ;
1083 PyObject * obj6 = 0 ;
1084 char *kwnames[] = {
1085 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1086 };
1087
1088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Panel_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1090 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1091 if (obj3) {
1092 {
1093 arg4 = &temp4;
1094 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1095 }
1096 }
1097 if (obj4) {
1098 {
1099 arg5 = &temp5;
1100 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1101 }
1102 }
1103 if (obj6) {
1104 {
1105 arg7 = wxString_in_helper(obj6);
1106 if (arg7 == NULL) SWIG_fail;
1107 temp7 = True;
1108 }
1109 }
1110 {
1111 PyThreadState* __tstate = wxPyBeginAllowThreads();
1112 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1113
1114 wxPyEndAllowThreads(__tstate);
1115 if (PyErr_Occurred()) SWIG_fail;
1116 }
1117 resultobj = PyInt_FromLong((long)result);
1118 {
1119 if (temp7)
1120 delete arg7;
1121 }
1122 return resultobj;
1123 fail:
1124 {
1125 if (temp7)
1126 delete arg7;
1127 }
1128 return NULL;
1129 }
1130
1131
1132 static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1133 PyObject *resultobj;
1134 wxPanel *arg1 = (wxPanel *) 0 ;
1135 PyObject * obj0 = 0 ;
1136 char *kwnames[] = {
1137 (char *) "self", NULL
1138 };
1139
1140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1142 {
1143 PyThreadState* __tstate = wxPyBeginAllowThreads();
1144 (arg1)->InitDialog();
1145
1146 wxPyEndAllowThreads(__tstate);
1147 if (PyErr_Occurred()) SWIG_fail;
1148 }
1149 Py_INCREF(Py_None); resultobj = Py_None;
1150 return resultobj;
1151 fail:
1152 return NULL;
1153 }
1154
1155
1156 static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1157 PyObject *obj;
1158 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1159 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1160 Py_INCREF(obj);
1161 return Py_BuildValue((char *)"");
1162 }
1163 static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1164 PyObject *resultobj;
1165 wxWindow *arg1 = (wxWindow *) 0 ;
1166 int arg2 = (int) (int)-1 ;
1167 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1168 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1169 wxSize const &arg4_defvalue = wxDefaultSize ;
1170 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1171 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1172 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1173 wxString *arg6 = (wxString *) &arg6_defvalue ;
1174 wxScrolledWindow *result;
1175 wxPoint temp3 ;
1176 wxSize temp4 ;
1177 bool temp6 = False ;
1178 PyObject * obj0 = 0 ;
1179 PyObject * obj2 = 0 ;
1180 PyObject * obj3 = 0 ;
1181 PyObject * obj5 = 0 ;
1182 char *kwnames[] = {
1183 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1184 };
1185
1186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_ScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
1187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1188 if (obj2) {
1189 {
1190 arg3 = &temp3;
1191 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1192 }
1193 }
1194 if (obj3) {
1195 {
1196 arg4 = &temp4;
1197 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1198 }
1199 }
1200 if (obj5) {
1201 {
1202 arg6 = wxString_in_helper(obj5);
1203 if (arg6 == NULL) SWIG_fail;
1204 temp6 = True;
1205 }
1206 }
1207 {
1208 PyThreadState* __tstate = wxPyBeginAllowThreads();
1209 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1210
1211 wxPyEndAllowThreads(__tstate);
1212 if (PyErr_Occurred()) SWIG_fail;
1213 }
1214 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1215 {
1216 if (temp6)
1217 delete arg6;
1218 }
1219 return resultobj;
1220 fail:
1221 {
1222 if (temp6)
1223 delete arg6;
1224 }
1225 return NULL;
1226 }
1227
1228
1229 static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1230 PyObject *resultobj;
1231 wxScrolledWindow *result;
1232 char *kwnames[] = {
1233 NULL
1234 };
1235
1236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1237 {
1238 PyThreadState* __tstate = wxPyBeginAllowThreads();
1239 result = (wxScrolledWindow *)new wxScrolledWindow();
1240
1241 wxPyEndAllowThreads(__tstate);
1242 if (PyErr_Occurred()) SWIG_fail;
1243 }
1244 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1245 return resultobj;
1246 fail:
1247 return NULL;
1248 }
1249
1250
1251 static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1252 PyObject *resultobj;
1253 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1254 wxWindow *arg2 = (wxWindow *) 0 ;
1255 int arg3 = (int) (int)-1 ;
1256 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1257 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1258 wxSize const &arg5_defvalue = wxDefaultSize ;
1259 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1260 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1261 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1262 wxString *arg7 = (wxString *) &arg7_defvalue ;
1263 bool result;
1264 wxPoint temp4 ;
1265 wxSize temp5 ;
1266 bool temp7 = False ;
1267 PyObject * obj0 = 0 ;
1268 PyObject * obj1 = 0 ;
1269 PyObject * obj3 = 0 ;
1270 PyObject * obj4 = 0 ;
1271 PyObject * obj6 = 0 ;
1272 char *kwnames[] = {
1273 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1274 };
1275
1276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1278 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1279 if (obj3) {
1280 {
1281 arg4 = &temp4;
1282 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1283 }
1284 }
1285 if (obj4) {
1286 {
1287 arg5 = &temp5;
1288 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1289 }
1290 }
1291 if (obj6) {
1292 {
1293 arg7 = wxString_in_helper(obj6);
1294 if (arg7 == NULL) SWIG_fail;
1295 temp7 = True;
1296 }
1297 }
1298 {
1299 PyThreadState* __tstate = wxPyBeginAllowThreads();
1300 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1301
1302 wxPyEndAllowThreads(__tstate);
1303 if (PyErr_Occurred()) SWIG_fail;
1304 }
1305 resultobj = PyInt_FromLong((long)result);
1306 {
1307 if (temp7)
1308 delete arg7;
1309 }
1310 return resultobj;
1311 fail:
1312 {
1313 if (temp7)
1314 delete arg7;
1315 }
1316 return NULL;
1317 }
1318
1319
1320 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1321 PyObject *resultobj;
1322 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1323 int arg2 ;
1324 int arg3 ;
1325 int arg4 ;
1326 int arg5 ;
1327 int arg6 = (int) 0 ;
1328 int arg7 = (int) 0 ;
1329 bool arg8 = (bool) False ;
1330 PyObject * obj0 = 0 ;
1331 PyObject * obj7 = 0 ;
1332 char *kwnames[] = {
1333 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1334 };
1335
1336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|iiO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7,&obj7)) goto fail;
1337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1338 if (obj7) {
1339 arg8 = PyInt_AsLong(obj7) ? true : false;
1340 if (PyErr_Occurred()) SWIG_fail;
1341 }
1342 {
1343 PyThreadState* __tstate = wxPyBeginAllowThreads();
1344 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1345
1346 wxPyEndAllowThreads(__tstate);
1347 if (PyErr_Occurred()) SWIG_fail;
1348 }
1349 Py_INCREF(Py_None); resultobj = Py_None;
1350 return resultobj;
1351 fail:
1352 return NULL;
1353 }
1354
1355
1356 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1357 PyObject *resultobj;
1358 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1359 int arg2 ;
1360 int arg3 ;
1361 PyObject * obj0 = 0 ;
1362 char *kwnames[] = {
1363 (char *) "self",(char *) "x",(char *) "y", NULL
1364 };
1365
1366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_Scroll",kwnames,&obj0,&arg2,&arg3)) goto fail;
1367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1368 {
1369 PyThreadState* __tstate = wxPyBeginAllowThreads();
1370 (arg1)->Scroll(arg2,arg3);
1371
1372 wxPyEndAllowThreads(__tstate);
1373 if (PyErr_Occurred()) SWIG_fail;
1374 }
1375 Py_INCREF(Py_None); resultobj = Py_None;
1376 return resultobj;
1377 fail:
1378 return NULL;
1379 }
1380
1381
1382 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1383 PyObject *resultobj;
1384 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1385 int arg2 ;
1386 int result;
1387 PyObject * obj0 = 0 ;
1388 char *kwnames[] = {
1389 (char *) "self",(char *) "orient", NULL
1390 };
1391
1392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&arg2)) goto fail;
1393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1394 {
1395 PyThreadState* __tstate = wxPyBeginAllowThreads();
1396 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1397
1398 wxPyEndAllowThreads(__tstate);
1399 if (PyErr_Occurred()) SWIG_fail;
1400 }
1401 resultobj = PyInt_FromLong((long)result);
1402 return resultobj;
1403 fail:
1404 return NULL;
1405 }
1406
1407
1408 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1409 PyObject *resultobj;
1410 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1411 int arg2 ;
1412 int arg3 ;
1413 PyObject * obj0 = 0 ;
1414 char *kwnames[] = {
1415 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1416 };
1417
1418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
1419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1420 {
1421 PyThreadState* __tstate = wxPyBeginAllowThreads();
1422 (arg1)->SetScrollPageSize(arg2,arg3);
1423
1424 wxPyEndAllowThreads(__tstate);
1425 if (PyErr_Occurred()) SWIG_fail;
1426 }
1427 Py_INCREF(Py_None); resultobj = Py_None;
1428 return resultobj;
1429 fail:
1430 return NULL;
1431 }
1432
1433
1434 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1435 PyObject *resultobj;
1436 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1437 int arg2 ;
1438 int arg3 ;
1439 PyObject * obj0 = 0 ;
1440 char *kwnames[] = {
1441 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1442 };
1443
1444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollRate",kwnames,&obj0,&arg2,&arg3)) goto fail;
1445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1446 {
1447 PyThreadState* __tstate = wxPyBeginAllowThreads();
1448 (arg1)->SetScrollRate(arg2,arg3);
1449
1450 wxPyEndAllowThreads(__tstate);
1451 if (PyErr_Occurred()) SWIG_fail;
1452 }
1453 Py_INCREF(Py_None); resultobj = Py_None;
1454 return resultobj;
1455 fail:
1456 return NULL;
1457 }
1458
1459
1460 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1461 PyObject *resultobj;
1462 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1463 int *arg2 = (int *) 0 ;
1464 int *arg3 = (int *) 0 ;
1465 int temp2 ;
1466 int temp3 ;
1467 PyObject * obj0 = 0 ;
1468 char *kwnames[] = {
1469 (char *) "self", NULL
1470 };
1471
1472 arg2 = &temp2;
1473 arg3 = &temp3;
1474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1476 {
1477 PyThreadState* __tstate = wxPyBeginAllowThreads();
1478 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1479
1480 wxPyEndAllowThreads(__tstate);
1481 if (PyErr_Occurred()) SWIG_fail;
1482 }
1483 Py_INCREF(Py_None); resultobj = Py_None;
1484 {
1485 PyObject *o = PyInt_FromLong((long) (*arg2));
1486 resultobj = t_output_helper(resultobj,o);
1487 }
1488 {
1489 PyObject *o = PyInt_FromLong((long) (*arg3));
1490 resultobj = t_output_helper(resultobj,o);
1491 }
1492 return resultobj;
1493 fail:
1494 return NULL;
1495 }
1496
1497
1498 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1499 PyObject *resultobj;
1500 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1501 bool arg2 ;
1502 bool arg3 ;
1503 PyObject * obj0 = 0 ;
1504 PyObject * obj1 = 0 ;
1505 PyObject * obj2 = 0 ;
1506 char *kwnames[] = {
1507 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1508 };
1509
1510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1512 arg2 = PyInt_AsLong(obj1) ? true : false;
1513 if (PyErr_Occurred()) SWIG_fail;
1514 arg3 = PyInt_AsLong(obj2) ? true : false;
1515 if (PyErr_Occurred()) SWIG_fail;
1516 {
1517 PyThreadState* __tstate = wxPyBeginAllowThreads();
1518 (arg1)->EnableScrolling(arg2,arg3);
1519
1520 wxPyEndAllowThreads(__tstate);
1521 if (PyErr_Occurred()) SWIG_fail;
1522 }
1523 Py_INCREF(Py_None); resultobj = Py_None;
1524 return resultobj;
1525 fail:
1526 return NULL;
1527 }
1528
1529
1530 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1531 PyObject *resultobj;
1532 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1533 int *arg2 = (int *) 0 ;
1534 int *arg3 = (int *) 0 ;
1535 int temp2 ;
1536 int temp3 ;
1537 PyObject * obj0 = 0 ;
1538 char *kwnames[] = {
1539 (char *) "self", NULL
1540 };
1541
1542 arg2 = &temp2;
1543 arg3 = &temp3;
1544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1546 {
1547 PyThreadState* __tstate = wxPyBeginAllowThreads();
1548 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1549
1550 wxPyEndAllowThreads(__tstate);
1551 if (PyErr_Occurred()) SWIG_fail;
1552 }
1553 Py_INCREF(Py_None); resultobj = Py_None;
1554 {
1555 PyObject *o = PyInt_FromLong((long) (*arg2));
1556 resultobj = t_output_helper(resultobj,o);
1557 }
1558 {
1559 PyObject *o = PyInt_FromLong((long) (*arg3));
1560 resultobj = t_output_helper(resultobj,o);
1561 }
1562 return resultobj;
1563 fail:
1564 return NULL;
1565 }
1566
1567
1568 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
1569 PyObject *resultobj;
1570 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1571 double arg2 ;
1572 double arg3 ;
1573 PyObject * obj0 = 0 ;
1574 char *kwnames[] = {
1575 (char *) "self",(char *) "xs",(char *) "ys", NULL
1576 };
1577
1578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ScrolledWindow_SetScale",kwnames,&obj0,&arg2,&arg3)) goto fail;
1579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1580 {
1581 PyThreadState* __tstate = wxPyBeginAllowThreads();
1582 (arg1)->SetScale(arg2,arg3);
1583
1584 wxPyEndAllowThreads(__tstate);
1585 if (PyErr_Occurred()) SWIG_fail;
1586 }
1587 Py_INCREF(Py_None); resultobj = Py_None;
1588 return resultobj;
1589 fail:
1590 return NULL;
1591 }
1592
1593
1594 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
1595 PyObject *resultobj;
1596 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1597 double result;
1598 PyObject * obj0 = 0 ;
1599 char *kwnames[] = {
1600 (char *) "self", NULL
1601 };
1602
1603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
1604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1605 {
1606 PyThreadState* __tstate = wxPyBeginAllowThreads();
1607 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
1608
1609 wxPyEndAllowThreads(__tstate);
1610 if (PyErr_Occurred()) SWIG_fail;
1611 }
1612 resultobj = PyFloat_FromDouble(result);
1613 return resultobj;
1614 fail:
1615 return NULL;
1616 }
1617
1618
1619 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
1620 PyObject *resultobj;
1621 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1622 double result;
1623 PyObject * obj0 = 0 ;
1624 char *kwnames[] = {
1625 (char *) "self", NULL
1626 };
1627
1628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
1629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1630 {
1631 PyThreadState* __tstate = wxPyBeginAllowThreads();
1632 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
1633
1634 wxPyEndAllowThreads(__tstate);
1635 if (PyErr_Occurred()) SWIG_fail;
1636 }
1637 resultobj = PyFloat_FromDouble(result);
1638 return resultobj;
1639 fail:
1640 return NULL;
1641 }
1642
1643
1644 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1645 PyObject *resultobj;
1646 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1647 wxPoint *arg2 = 0 ;
1648 wxPoint result;
1649 wxPoint temp2 ;
1650 PyObject * obj0 = 0 ;
1651 PyObject * obj1 = 0 ;
1652
1653 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
1654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1655 {
1656 arg2 = &temp2;
1657 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1658 }
1659 {
1660 PyThreadState* __tstate = wxPyBeginAllowThreads();
1661 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
1662
1663 wxPyEndAllowThreads(__tstate);
1664 if (PyErr_Occurred()) SWIG_fail;
1665 }
1666 {
1667 wxPoint * resultptr;
1668 resultptr = new wxPoint((wxPoint &) result);
1669 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
1670 }
1671 return resultobj;
1672 fail:
1673 return NULL;
1674 }
1675
1676
1677 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1678 PyObject *resultobj;
1679 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1680 int arg2 ;
1681 int arg3 ;
1682 int *arg4 = (int *) 0 ;
1683 int *arg5 = (int *) 0 ;
1684 int temp4 ;
1685 int temp5 ;
1686 PyObject * obj0 = 0 ;
1687
1688 arg4 = &temp4;
1689 arg5 = &temp5;
1690 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcScrolledPosition",&obj0,&arg2,&arg3)) goto fail;
1691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1692 {
1693 PyThreadState* __tstate = wxPyBeginAllowThreads();
1694 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
1695
1696 wxPyEndAllowThreads(__tstate);
1697 if (PyErr_Occurred()) SWIG_fail;
1698 }
1699 Py_INCREF(Py_None); resultobj = Py_None;
1700 {
1701 PyObject *o = PyInt_FromLong((long) (*arg4));
1702 resultobj = t_output_helper(resultobj,o);
1703 }
1704 {
1705 PyObject *o = PyInt_FromLong((long) (*arg5));
1706 resultobj = t_output_helper(resultobj,o);
1707 }
1708 return resultobj;
1709 fail:
1710 return NULL;
1711 }
1712
1713
1714 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
1715 int argc;
1716 PyObject *argv[4];
1717 int ii;
1718
1719 argc = PyObject_Length(args);
1720 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1721 argv[ii] = PyTuple_GetItem(args,ii);
1722 }
1723 if (argc == 2) {
1724 int _v;
1725 {
1726 void *ptr;
1727 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1728 _v = 0;
1729 PyErr_Clear();
1730 } else {
1731 _v = 1;
1732 }
1733 }
1734 if (_v) {
1735 {
1736 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1737 }
1738 if (_v) {
1739 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
1740 }
1741 }
1742 }
1743 if (argc == 3) {
1744 int _v;
1745 {
1746 void *ptr;
1747 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1748 _v = 0;
1749 PyErr_Clear();
1750 } else {
1751 _v = 1;
1752 }
1753 }
1754 if (_v) {
1755 {
1756 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1757 }
1758 if (_v) {
1759 {
1760 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1761 }
1762 if (_v) {
1763 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
1764 }
1765 }
1766 }
1767 }
1768
1769 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
1770 return NULL;
1771 }
1772
1773
1774 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1775 PyObject *resultobj;
1776 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1777 wxPoint *arg2 = 0 ;
1778 wxPoint result;
1779 wxPoint temp2 ;
1780 PyObject * obj0 = 0 ;
1781 PyObject * obj1 = 0 ;
1782
1783 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
1784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1785 {
1786 arg2 = &temp2;
1787 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1788 }
1789 {
1790 PyThreadState* __tstate = wxPyBeginAllowThreads();
1791 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
1792
1793 wxPyEndAllowThreads(__tstate);
1794 if (PyErr_Occurred()) SWIG_fail;
1795 }
1796 {
1797 wxPoint * resultptr;
1798 resultptr = new wxPoint((wxPoint &) result);
1799 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
1800 }
1801 return resultobj;
1802 fail:
1803 return NULL;
1804 }
1805
1806
1807 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1808 PyObject *resultobj;
1809 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1810 int arg2 ;
1811 int arg3 ;
1812 int *arg4 = (int *) 0 ;
1813 int *arg5 = (int *) 0 ;
1814 int temp4 ;
1815 int temp5 ;
1816 PyObject * obj0 = 0 ;
1817
1818 arg4 = &temp4;
1819 arg5 = &temp5;
1820 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcUnscrolledPosition",&obj0,&arg2,&arg3)) goto fail;
1821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1822 {
1823 PyThreadState* __tstate = wxPyBeginAllowThreads();
1824 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
1825
1826 wxPyEndAllowThreads(__tstate);
1827 if (PyErr_Occurred()) SWIG_fail;
1828 }
1829 Py_INCREF(Py_None); resultobj = Py_None;
1830 {
1831 PyObject *o = PyInt_FromLong((long) (*arg4));
1832 resultobj = t_output_helper(resultobj,o);
1833 }
1834 {
1835 PyObject *o = PyInt_FromLong((long) (*arg5));
1836 resultobj = t_output_helper(resultobj,o);
1837 }
1838 return resultobj;
1839 fail:
1840 return NULL;
1841 }
1842
1843
1844 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
1845 int argc;
1846 PyObject *argv[4];
1847 int ii;
1848
1849 argc = PyObject_Length(args);
1850 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1851 argv[ii] = PyTuple_GetItem(args,ii);
1852 }
1853 if (argc == 2) {
1854 int _v;
1855 {
1856 void *ptr;
1857 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1858 _v = 0;
1859 PyErr_Clear();
1860 } else {
1861 _v = 1;
1862 }
1863 }
1864 if (_v) {
1865 {
1866 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1867 }
1868 if (_v) {
1869 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
1870 }
1871 }
1872 }
1873 if (argc == 3) {
1874 int _v;
1875 {
1876 void *ptr;
1877 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1878 _v = 0;
1879 PyErr_Clear();
1880 } else {
1881 _v = 1;
1882 }
1883 }
1884 if (_v) {
1885 {
1886 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1887 }
1888 if (_v) {
1889 {
1890 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1891 }
1892 if (_v) {
1893 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
1894 }
1895 }
1896 }
1897 }
1898
1899 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
1900 return NULL;
1901 }
1902
1903
1904 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1905 PyObject *resultobj;
1906 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1907 PyObject * obj0 = 0 ;
1908 char *kwnames[] = {
1909 (char *) "self", NULL
1910 };
1911
1912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
1913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1914 {
1915 PyThreadState* __tstate = wxPyBeginAllowThreads();
1916 (arg1)->AdjustScrollbars();
1917
1918 wxPyEndAllowThreads(__tstate);
1919 if (PyErr_Occurred()) SWIG_fail;
1920 }
1921 Py_INCREF(Py_None); resultobj = Py_None;
1922 return resultobj;
1923 fail:
1924 return NULL;
1925 }
1926
1927
1928 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
1929 PyObject *resultobj;
1930 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1931 wxScrollWinEvent *arg2 = 0 ;
1932 int result;
1933 PyObject * obj0 = 0 ;
1934 PyObject * obj1 = 0 ;
1935 char *kwnames[] = {
1936 (char *) "self",(char *) "event", NULL
1937 };
1938
1939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
1940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1941 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1942 if (arg2 == NULL) {
1943 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1944 }
1945 {
1946 PyThreadState* __tstate = wxPyBeginAllowThreads();
1947 result = (int)(arg1)->CalcScrollInc(*arg2);
1948
1949 wxPyEndAllowThreads(__tstate);
1950 if (PyErr_Occurred()) SWIG_fail;
1951 }
1952 resultobj = PyInt_FromLong((long)result);
1953 return resultobj;
1954 fail:
1955 return NULL;
1956 }
1957
1958
1959 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1960 PyObject *resultobj;
1961 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1962 wxWindow *arg2 = (wxWindow *) 0 ;
1963 PyObject * obj0 = 0 ;
1964 PyObject * obj1 = 0 ;
1965 char *kwnames[] = {
1966 (char *) "self",(char *) "target", NULL
1967 };
1968
1969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
1970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1971 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1972 {
1973 PyThreadState* __tstate = wxPyBeginAllowThreads();
1974 (arg1)->SetTargetWindow(arg2);
1975
1976 wxPyEndAllowThreads(__tstate);
1977 if (PyErr_Occurred()) SWIG_fail;
1978 }
1979 Py_INCREF(Py_None); resultobj = Py_None;
1980 return resultobj;
1981 fail:
1982 return NULL;
1983 }
1984
1985
1986 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1987 PyObject *resultobj;
1988 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1989 wxWindow *result;
1990 PyObject * obj0 = 0 ;
1991 char *kwnames[] = {
1992 (char *) "self", NULL
1993 };
1994
1995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
1996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1997 {
1998 PyThreadState* __tstate = wxPyBeginAllowThreads();
1999 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2000
2001 wxPyEndAllowThreads(__tstate);
2002 if (PyErr_Occurred()) SWIG_fail;
2003 }
2004 {
2005 resultobj = wxPyMake_wxObject(result);
2006 }
2007 return resultobj;
2008 fail:
2009 return NULL;
2010 }
2011
2012
2013 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2014 PyObject *resultobj;
2015 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2016 wxRect *arg2 = 0 ;
2017 wxRect temp2 ;
2018 PyObject * obj0 = 0 ;
2019 PyObject * obj1 = 0 ;
2020 char *kwnames[] = {
2021 (char *) "self",(char *) "rect", NULL
2022 };
2023
2024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2026 {
2027 arg2 = &temp2;
2028 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2029 }
2030 {
2031 PyThreadState* __tstate = wxPyBeginAllowThreads();
2032 (arg1)->SetTargetRect((wxRect const &)*arg2);
2033
2034 wxPyEndAllowThreads(__tstate);
2035 if (PyErr_Occurred()) SWIG_fail;
2036 }
2037 Py_INCREF(Py_None); resultobj = Py_None;
2038 return resultobj;
2039 fail:
2040 return NULL;
2041 }
2042
2043
2044 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2045 PyObject *resultobj;
2046 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2047 wxRect result;
2048 PyObject * obj0 = 0 ;
2049 char *kwnames[] = {
2050 (char *) "self", NULL
2051 };
2052
2053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2055 {
2056 PyThreadState* __tstate = wxPyBeginAllowThreads();
2057 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2058
2059 wxPyEndAllowThreads(__tstate);
2060 if (PyErr_Occurred()) SWIG_fail;
2061 }
2062 {
2063 wxRect * resultptr;
2064 resultptr = new wxRect((wxRect &) result);
2065 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
2066 }
2067 return resultobj;
2068 fail:
2069 return NULL;
2070 }
2071
2072
2073 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2074 PyObject *obj;
2075 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2076 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2077 Py_INCREF(obj);
2078 return Py_BuildValue((char *)"");
2079 }
2080 static int _wrap_FrameNameStr_set(PyObject *_val) {
2081 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2082 return 1;
2083 }
2084
2085
2086 static PyObject *_wrap_FrameNameStr_get() {
2087 PyObject *pyobj;
2088
2089 {
2090 #if wxUSE_UNICODE
2091 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2092 #else
2093 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2094 #endif
2095 }
2096 return pyobj;
2097 }
2098
2099
2100 static int _wrap_DialogNameStr_set(PyObject *_val) {
2101 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2102 return 1;
2103 }
2104
2105
2106 static PyObject *_wrap_DialogNameStr_get() {
2107 PyObject *pyobj;
2108
2109 {
2110 #if wxUSE_UNICODE
2111 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2112 #else
2113 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2114 #endif
2115 }
2116 return pyobj;
2117 }
2118
2119
2120 static int _wrap_StatusLineNameStr_set(PyObject *_val) {
2121 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2122 return 1;
2123 }
2124
2125
2126 static PyObject *_wrap_StatusLineNameStr_get() {
2127 PyObject *pyobj;
2128
2129 {
2130 #if wxUSE_UNICODE
2131 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2132 #else
2133 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2134 #endif
2135 }
2136 return pyobj;
2137 }
2138
2139
2140 static int _wrap_ToolBarNameStr_set(PyObject *_val) {
2141 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2142 return 1;
2143 }
2144
2145
2146 static PyObject *_wrap_ToolBarNameStr_get() {
2147 PyObject *pyobj;
2148
2149 {
2150 #if wxUSE_UNICODE
2151 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2152 #else
2153 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2154 #endif
2155 }
2156 return pyobj;
2157 }
2158
2159
2160 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2161 PyObject *resultobj;
2162 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2163 bool arg2 = (bool) True ;
2164 PyObject * obj0 = 0 ;
2165 PyObject * obj1 = 0 ;
2166 char *kwnames[] = {
2167 (char *) "self",(char *) "maximize", NULL
2168 };
2169
2170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2172 if (obj1) {
2173 arg2 = PyInt_AsLong(obj1) ? true : false;
2174 if (PyErr_Occurred()) SWIG_fail;
2175 }
2176 {
2177 PyThreadState* __tstate = wxPyBeginAllowThreads();
2178 (arg1)->Maximize(arg2);
2179
2180 wxPyEndAllowThreads(__tstate);
2181 if (PyErr_Occurred()) SWIG_fail;
2182 }
2183 Py_INCREF(Py_None); resultobj = Py_None;
2184 return resultobj;
2185 fail:
2186 return NULL;
2187 }
2188
2189
2190 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2191 PyObject *resultobj;
2192 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2193 PyObject * obj0 = 0 ;
2194 char *kwnames[] = {
2195 (char *) "self", NULL
2196 };
2197
2198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2200 {
2201 PyThreadState* __tstate = wxPyBeginAllowThreads();
2202 (arg1)->Restore();
2203
2204 wxPyEndAllowThreads(__tstate);
2205 if (PyErr_Occurred()) SWIG_fail;
2206 }
2207 Py_INCREF(Py_None); resultobj = Py_None;
2208 return resultobj;
2209 fail:
2210 return NULL;
2211 }
2212
2213
2214 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2215 PyObject *resultobj;
2216 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2217 bool arg2 = (bool) True ;
2218 PyObject * obj0 = 0 ;
2219 PyObject * obj1 = 0 ;
2220 char *kwnames[] = {
2221 (char *) "self",(char *) "iconize", NULL
2222 };
2223
2224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2226 if (obj1) {
2227 arg2 = PyInt_AsLong(obj1) ? true : false;
2228 if (PyErr_Occurred()) SWIG_fail;
2229 }
2230 {
2231 PyThreadState* __tstate = wxPyBeginAllowThreads();
2232 (arg1)->Iconize(arg2);
2233
2234 wxPyEndAllowThreads(__tstate);
2235 if (PyErr_Occurred()) SWIG_fail;
2236 }
2237 Py_INCREF(Py_None); resultobj = Py_None;
2238 return resultobj;
2239 fail:
2240 return NULL;
2241 }
2242
2243
2244 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2245 PyObject *resultobj;
2246 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2247 bool result;
2248 PyObject * obj0 = 0 ;
2249 char *kwnames[] = {
2250 (char *) "self", NULL
2251 };
2252
2253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2255 {
2256 PyThreadState* __tstate = wxPyBeginAllowThreads();
2257 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2258
2259 wxPyEndAllowThreads(__tstate);
2260 if (PyErr_Occurred()) SWIG_fail;
2261 }
2262 resultobj = PyInt_FromLong((long)result);
2263 return resultobj;
2264 fail:
2265 return NULL;
2266 }
2267
2268
2269 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2270 PyObject *resultobj;
2271 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2272 bool result;
2273 PyObject * obj0 = 0 ;
2274 char *kwnames[] = {
2275 (char *) "self", NULL
2276 };
2277
2278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2280 {
2281 PyThreadState* __tstate = wxPyBeginAllowThreads();
2282 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2283
2284 wxPyEndAllowThreads(__tstate);
2285 if (PyErr_Occurred()) SWIG_fail;
2286 }
2287 resultobj = PyInt_FromLong((long)result);
2288 return resultobj;
2289 fail:
2290 return NULL;
2291 }
2292
2293
2294 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2295 PyObject *resultobj;
2296 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2297 wxIcon result;
2298 PyObject * obj0 = 0 ;
2299 char *kwnames[] = {
2300 (char *) "self", NULL
2301 };
2302
2303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2305 {
2306 PyThreadState* __tstate = wxPyBeginAllowThreads();
2307 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2308
2309 wxPyEndAllowThreads(__tstate);
2310 if (PyErr_Occurred()) SWIG_fail;
2311 }
2312 {
2313 wxIcon * resultptr;
2314 resultptr = new wxIcon((wxIcon &) result);
2315 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
2316 }
2317 return resultobj;
2318 fail:
2319 return NULL;
2320 }
2321
2322
2323 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2324 PyObject *resultobj;
2325 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2326 wxIcon *arg2 = 0 ;
2327 PyObject * obj0 = 0 ;
2328 PyObject * obj1 = 0 ;
2329 char *kwnames[] = {
2330 (char *) "self",(char *) "icon", NULL
2331 };
2332
2333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2335 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2336 if (arg2 == NULL) {
2337 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2338 }
2339 {
2340 PyThreadState* __tstate = wxPyBeginAllowThreads();
2341 (arg1)->SetIcon((wxIcon const &)*arg2);
2342
2343 wxPyEndAllowThreads(__tstate);
2344 if (PyErr_Occurred()) SWIG_fail;
2345 }
2346 Py_INCREF(Py_None); resultobj = Py_None;
2347 return resultobj;
2348 fail:
2349 return NULL;
2350 }
2351
2352
2353 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2354 PyObject *resultobj;
2355 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2356 wxIconBundle *arg2 = 0 ;
2357 PyObject * obj0 = 0 ;
2358 PyObject * obj1 = 0 ;
2359 char *kwnames[] = {
2360 (char *) "self",(char *) "icons", NULL
2361 };
2362
2363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2365 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIconBundle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2366 if (arg2 == NULL) {
2367 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2368 }
2369 {
2370 PyThreadState* __tstate = wxPyBeginAllowThreads();
2371 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2372
2373 wxPyEndAllowThreads(__tstate);
2374 if (PyErr_Occurred()) SWIG_fail;
2375 }
2376 Py_INCREF(Py_None); resultobj = Py_None;
2377 return resultobj;
2378 fail:
2379 return NULL;
2380 }
2381
2382
2383 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2384 PyObject *resultobj;
2385 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2386 bool arg2 ;
2387 long arg3 = (long) wxFULLSCREEN_ALL ;
2388 bool result;
2389 PyObject * obj0 = 0 ;
2390 PyObject * obj1 = 0 ;
2391 char *kwnames[] = {
2392 (char *) "self",(char *) "show",(char *) "style", NULL
2393 };
2394
2395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&arg3)) goto fail;
2396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2397 arg2 = PyInt_AsLong(obj1) ? true : false;
2398 if (PyErr_Occurred()) SWIG_fail;
2399 {
2400 PyThreadState* __tstate = wxPyBeginAllowThreads();
2401 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2402
2403 wxPyEndAllowThreads(__tstate);
2404 if (PyErr_Occurred()) SWIG_fail;
2405 }
2406 resultobj = PyInt_FromLong((long)result);
2407 return resultobj;
2408 fail:
2409 return NULL;
2410 }
2411
2412
2413 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2414 PyObject *resultobj;
2415 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2416 bool result;
2417 PyObject * obj0 = 0 ;
2418 char *kwnames[] = {
2419 (char *) "self", NULL
2420 };
2421
2422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2424 {
2425 PyThreadState* __tstate = wxPyBeginAllowThreads();
2426 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2427
2428 wxPyEndAllowThreads(__tstate);
2429 if (PyErr_Occurred()) SWIG_fail;
2430 }
2431 resultobj = PyInt_FromLong((long)result);
2432 return resultobj;
2433 fail:
2434 return NULL;
2435 }
2436
2437
2438 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2439 PyObject *resultobj;
2440 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2441 wxString *arg2 = 0 ;
2442 bool temp2 = False ;
2443 PyObject * obj0 = 0 ;
2444 PyObject * obj1 = 0 ;
2445 char *kwnames[] = {
2446 (char *) "self",(char *) "title", NULL
2447 };
2448
2449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2451 {
2452 arg2 = wxString_in_helper(obj1);
2453 if (arg2 == NULL) SWIG_fail;
2454 temp2 = True;
2455 }
2456 {
2457 PyThreadState* __tstate = wxPyBeginAllowThreads();
2458 (arg1)->SetTitle((wxString const &)*arg2);
2459
2460 wxPyEndAllowThreads(__tstate);
2461 if (PyErr_Occurred()) SWIG_fail;
2462 }
2463 Py_INCREF(Py_None); resultobj = Py_None;
2464 {
2465 if (temp2)
2466 delete arg2;
2467 }
2468 return resultobj;
2469 fail:
2470 {
2471 if (temp2)
2472 delete arg2;
2473 }
2474 return NULL;
2475 }
2476
2477
2478 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2479 PyObject *resultobj;
2480 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2481 wxString result;
2482 PyObject * obj0 = 0 ;
2483 char *kwnames[] = {
2484 (char *) "self", NULL
2485 };
2486
2487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2489 {
2490 PyThreadState* __tstate = wxPyBeginAllowThreads();
2491 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2492
2493 wxPyEndAllowThreads(__tstate);
2494 if (PyErr_Occurred()) SWIG_fail;
2495 }
2496 {
2497 #if wxUSE_UNICODE
2498 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2499 #else
2500 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2501 #endif
2502 }
2503 return resultobj;
2504 fail:
2505 return NULL;
2506 }
2507
2508
2509 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2510 PyObject *resultobj;
2511 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2512 wxRegion *arg2 = 0 ;
2513 bool result;
2514 PyObject * obj0 = 0 ;
2515 PyObject * obj1 = 0 ;
2516 char *kwnames[] = {
2517 (char *) "self",(char *) "region", NULL
2518 };
2519
2520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2522 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2523 if (arg2 == NULL) {
2524 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2525 }
2526 {
2527 PyThreadState* __tstate = wxPyBeginAllowThreads();
2528 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2529
2530 wxPyEndAllowThreads(__tstate);
2531 if (PyErr_Occurred()) SWIG_fail;
2532 }
2533 resultobj = PyInt_FromLong((long)result);
2534 return resultobj;
2535 fail:
2536 return NULL;
2537 }
2538
2539
2540 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
2541 PyObject *obj;
2542 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2543 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
2544 Py_INCREF(obj);
2545 return Py_BuildValue((char *)"");
2546 }
2547 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
2548 PyObject *resultobj;
2549 wxWindow *arg1 = (wxWindow *) 0 ;
2550 int arg2 ;
2551 wxString *arg3 = 0 ;
2552 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2553 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2554 wxSize const &arg5_defvalue = wxDefaultSize ;
2555 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2556 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
2557 wxString const &arg7_defvalue = wxPyFrameNameStr ;
2558 wxString *arg7 = (wxString *) &arg7_defvalue ;
2559 wxFrame *result;
2560 bool temp3 = False ;
2561 wxPoint temp4 ;
2562 wxSize temp5 ;
2563 bool temp7 = False ;
2564 PyObject * obj0 = 0 ;
2565 PyObject * obj2 = 0 ;
2566 PyObject * obj3 = 0 ;
2567 PyObject * obj4 = 0 ;
2568 PyObject * obj6 = 0 ;
2569 char *kwnames[] = {
2570 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2571 };
2572
2573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Frame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
2574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2575 {
2576 arg3 = wxString_in_helper(obj2);
2577 if (arg3 == NULL) SWIG_fail;
2578 temp3 = True;
2579 }
2580 if (obj3) {
2581 {
2582 arg4 = &temp4;
2583 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2584 }
2585 }
2586 if (obj4) {
2587 {
2588 arg5 = &temp5;
2589 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2590 }
2591 }
2592 if (obj6) {
2593 {
2594 arg7 = wxString_in_helper(obj6);
2595 if (arg7 == NULL) SWIG_fail;
2596 temp7 = True;
2597 }
2598 }
2599 {
2600 PyThreadState* __tstate = wxPyBeginAllowThreads();
2601 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2602
2603 wxPyEndAllowThreads(__tstate);
2604 if (PyErr_Occurred()) SWIG_fail;
2605 }
2606 {
2607 resultobj = wxPyMake_wxObject(result);
2608 }
2609 {
2610 if (temp3)
2611 delete arg3;
2612 }
2613 {
2614 if (temp7)
2615 delete arg7;
2616 }
2617 return resultobj;
2618 fail:
2619 {
2620 if (temp3)
2621 delete arg3;
2622 }
2623 {
2624 if (temp7)
2625 delete arg7;
2626 }
2627 return NULL;
2628 }
2629
2630
2631 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
2632 PyObject *resultobj;
2633 wxFrame *result;
2634 char *kwnames[] = {
2635 NULL
2636 };
2637
2638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
2639 {
2640 PyThreadState* __tstate = wxPyBeginAllowThreads();
2641 result = (wxFrame *)new wxFrame();
2642
2643 wxPyEndAllowThreads(__tstate);
2644 if (PyErr_Occurred()) SWIG_fail;
2645 }
2646 {
2647 resultobj = wxPyMake_wxObject(result);
2648 }
2649 return resultobj;
2650 fail:
2651 return NULL;
2652 }
2653
2654
2655 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2656 PyObject *resultobj;
2657 wxFrame *arg1 = (wxFrame *) 0 ;
2658 wxWindow *arg2 = (wxWindow *) 0 ;
2659 int arg3 ;
2660 wxString *arg4 = 0 ;
2661 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2662 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2663 wxSize const &arg6_defvalue = wxDefaultSize ;
2664 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2665 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
2666 wxString const &arg8_defvalue = wxPyFrameNameStr ;
2667 wxString *arg8 = (wxString *) &arg8_defvalue ;
2668 bool result;
2669 bool temp4 = False ;
2670 wxPoint temp5 ;
2671 wxSize temp6 ;
2672 bool temp8 = False ;
2673 PyObject * obj0 = 0 ;
2674 PyObject * obj1 = 0 ;
2675 PyObject * obj3 = 0 ;
2676 PyObject * obj4 = 0 ;
2677 PyObject * obj5 = 0 ;
2678 PyObject * obj7 = 0 ;
2679 char *kwnames[] = {
2680 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2681 };
2682
2683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Frame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
2684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2685 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2686 {
2687 arg4 = wxString_in_helper(obj3);
2688 if (arg4 == NULL) SWIG_fail;
2689 temp4 = True;
2690 }
2691 if (obj4) {
2692 {
2693 arg5 = &temp5;
2694 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2695 }
2696 }
2697 if (obj5) {
2698 {
2699 arg6 = &temp6;
2700 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2701 }
2702 }
2703 if (obj7) {
2704 {
2705 arg8 = wxString_in_helper(obj7);
2706 if (arg8 == NULL) SWIG_fail;
2707 temp8 = True;
2708 }
2709 }
2710 {
2711 PyThreadState* __tstate = wxPyBeginAllowThreads();
2712 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
2713
2714 wxPyEndAllowThreads(__tstate);
2715 if (PyErr_Occurred()) SWIG_fail;
2716 }
2717 resultobj = PyInt_FromLong((long)result);
2718 {
2719 if (temp4)
2720 delete arg4;
2721 }
2722 {
2723 if (temp8)
2724 delete arg8;
2725 }
2726 return resultobj;
2727 fail:
2728 {
2729 if (temp4)
2730 delete arg4;
2731 }
2732 {
2733 if (temp8)
2734 delete arg8;
2735 }
2736 return NULL;
2737 }
2738
2739
2740 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
2741 PyObject *resultobj;
2742 wxFrame *arg1 = (wxFrame *) 0 ;
2743 wxPoint result;
2744 PyObject * obj0 = 0 ;
2745 char *kwnames[] = {
2746 (char *) "self", NULL
2747 };
2748
2749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
2750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2751 {
2752 PyThreadState* __tstate = wxPyBeginAllowThreads();
2753 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
2754
2755 wxPyEndAllowThreads(__tstate);
2756 if (PyErr_Occurred()) SWIG_fail;
2757 }
2758 {
2759 wxPoint * resultptr;
2760 resultptr = new wxPoint((wxPoint &) result);
2761 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2762 }
2763 return resultobj;
2764 fail:
2765 return NULL;
2766 }
2767
2768
2769 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
2770 PyObject *resultobj;
2771 wxFrame *arg1 = (wxFrame *) 0 ;
2772 PyObject * obj0 = 0 ;
2773 char *kwnames[] = {
2774 (char *) "self", NULL
2775 };
2776
2777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
2778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2779 {
2780 PyThreadState* __tstate = wxPyBeginAllowThreads();
2781 (arg1)->SendSizeEvent();
2782
2783 wxPyEndAllowThreads(__tstate);
2784 if (PyErr_Occurred()) SWIG_fail;
2785 }
2786 Py_INCREF(Py_None); resultobj = Py_None;
2787 return resultobj;
2788 fail:
2789 return NULL;
2790 }
2791
2792
2793 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2794 PyObject *resultobj;
2795 wxFrame *arg1 = (wxFrame *) 0 ;
2796 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
2797 PyObject * obj0 = 0 ;
2798 PyObject * obj1 = 0 ;
2799 char *kwnames[] = {
2800 (char *) "self",(char *) "menubar", NULL
2801 };
2802
2803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
2804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2805 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2806 {
2807 PyThreadState* __tstate = wxPyBeginAllowThreads();
2808 (arg1)->SetMenuBar(arg2);
2809
2810 wxPyEndAllowThreads(__tstate);
2811 if (PyErr_Occurred()) SWIG_fail;
2812 }
2813 Py_INCREF(Py_None); resultobj = Py_None;
2814 return resultobj;
2815 fail:
2816 return NULL;
2817 }
2818
2819
2820 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2821 PyObject *resultobj;
2822 wxFrame *arg1 = (wxFrame *) 0 ;
2823 wxMenuBar *result;
2824 PyObject * obj0 = 0 ;
2825 char *kwnames[] = {
2826 (char *) "self", NULL
2827 };
2828
2829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
2830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2831 {
2832 PyThreadState* __tstate = wxPyBeginAllowThreads();
2833 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
2834
2835 wxPyEndAllowThreads(__tstate);
2836 if (PyErr_Occurred()) SWIG_fail;
2837 }
2838 {
2839 resultobj = wxPyMake_wxObject(result);
2840 }
2841 return resultobj;
2842 fail:
2843 return NULL;
2844 }
2845
2846
2847 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
2848 PyObject *resultobj;
2849 wxFrame *arg1 = (wxFrame *) 0 ;
2850 int arg2 ;
2851 bool result;
2852 PyObject * obj0 = 0 ;
2853 char *kwnames[] = {
2854 (char *) "self",(char *) "winid", NULL
2855 };
2856
2857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_ProcessCommand",kwnames,&obj0,&arg2)) goto fail;
2858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2859 {
2860 PyThreadState* __tstate = wxPyBeginAllowThreads();
2861 result = (bool)(arg1)->ProcessCommand(arg2);
2862
2863 wxPyEndAllowThreads(__tstate);
2864 if (PyErr_Occurred()) SWIG_fail;
2865 }
2866 resultobj = PyInt_FromLong((long)result);
2867 return resultobj;
2868 fail:
2869 return NULL;
2870 }
2871
2872
2873 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2874 PyObject *resultobj;
2875 wxFrame *arg1 = (wxFrame *) 0 ;
2876 int arg2 = (int) 1 ;
2877 long arg3 = (long) wxST_SIZEGRIP ;
2878 int arg4 = (int) 0 ;
2879 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
2880 wxString *arg5 = (wxString *) &arg5_defvalue ;
2881 wxStatusBar *result;
2882 bool temp5 = False ;
2883 PyObject * obj0 = 0 ;
2884 PyObject * obj4 = 0 ;
2885 char *kwnames[] = {
2886 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
2887 };
2888
2889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iliO:Frame_CreateStatusBar",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
2890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2891 if (obj4) {
2892 {
2893 arg5 = wxString_in_helper(obj4);
2894 if (arg5 == NULL) SWIG_fail;
2895 temp5 = True;
2896 }
2897 }
2898 {
2899 PyThreadState* __tstate = wxPyBeginAllowThreads();
2900 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
2901
2902 wxPyEndAllowThreads(__tstate);
2903 if (PyErr_Occurred()) SWIG_fail;
2904 }
2905 {
2906 resultobj = wxPyMake_wxObject(result);
2907 }
2908 {
2909 if (temp5)
2910 delete arg5;
2911 }
2912 return resultobj;
2913 fail:
2914 {
2915 if (temp5)
2916 delete arg5;
2917 }
2918 return NULL;
2919 }
2920
2921
2922 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2923 PyObject *resultobj;
2924 wxFrame *arg1 = (wxFrame *) 0 ;
2925 wxStatusBar *result;
2926 PyObject * obj0 = 0 ;
2927 char *kwnames[] = {
2928 (char *) "self", NULL
2929 };
2930
2931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
2932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2933 {
2934 PyThreadState* __tstate = wxPyBeginAllowThreads();
2935 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
2936
2937 wxPyEndAllowThreads(__tstate);
2938 if (PyErr_Occurred()) SWIG_fail;
2939 }
2940 {
2941 resultobj = wxPyMake_wxObject(result);
2942 }
2943 return resultobj;
2944 fail:
2945 return NULL;
2946 }
2947
2948
2949 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2950 PyObject *resultobj;
2951 wxFrame *arg1 = (wxFrame *) 0 ;
2952 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
2953 PyObject * obj0 = 0 ;
2954 PyObject * obj1 = 0 ;
2955 char *kwnames[] = {
2956 (char *) "self",(char *) "statBar", NULL
2957 };
2958
2959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
2960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2961 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2962 {
2963 PyThreadState* __tstate = wxPyBeginAllowThreads();
2964 (arg1)->SetStatusBar(arg2);
2965
2966 wxPyEndAllowThreads(__tstate);
2967 if (PyErr_Occurred()) SWIG_fail;
2968 }
2969 Py_INCREF(Py_None); resultobj = Py_None;
2970 return resultobj;
2971 fail:
2972 return NULL;
2973 }
2974
2975
2976 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
2977 PyObject *resultobj;
2978 wxFrame *arg1 = (wxFrame *) 0 ;
2979 wxString *arg2 = 0 ;
2980 int arg3 = (int) 0 ;
2981 bool temp2 = False ;
2982 PyObject * obj0 = 0 ;
2983 PyObject * obj1 = 0 ;
2984 char *kwnames[] = {
2985 (char *) "self",(char *) "text",(char *) "number", NULL
2986 };
2987
2988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
2989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2990 {
2991 arg2 = wxString_in_helper(obj1);
2992 if (arg2 == NULL) SWIG_fail;
2993 temp2 = True;
2994 }
2995 {
2996 PyThreadState* __tstate = wxPyBeginAllowThreads();
2997 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
2998
2999 wxPyEndAllowThreads(__tstate);
3000 if (PyErr_Occurred()) SWIG_fail;
3001 }
3002 Py_INCREF(Py_None); resultobj = Py_None;
3003 {
3004 if (temp2)
3005 delete arg2;
3006 }
3007 return resultobj;
3008 fail:
3009 {
3010 if (temp2)
3011 delete arg2;
3012 }
3013 return NULL;
3014 }
3015
3016
3017 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3018 PyObject *resultobj;
3019 wxFrame *arg1 = (wxFrame *) 0 ;
3020 int arg2 ;
3021 int *arg3 = (int *) 0 ;
3022 PyObject * obj0 = 0 ;
3023 PyObject * obj1 = 0 ;
3024 char *kwnames[] = {
3025 (char *) "self",(char *) "widths", NULL
3026 };
3027
3028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3030 {
3031 arg2 = PyList_Size(obj1);
3032 arg3 = int_LIST_helper(obj1);
3033 if (arg3 == NULL) SWIG_fail;
3034 }
3035 {
3036 PyThreadState* __tstate = wxPyBeginAllowThreads();
3037 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3038
3039 wxPyEndAllowThreads(__tstate);
3040 if (PyErr_Occurred()) SWIG_fail;
3041 }
3042 Py_INCREF(Py_None); resultobj = Py_None;
3043 {
3044 if (arg3) delete [] arg3;
3045 }
3046 return resultobj;
3047 fail:
3048 {
3049 if (arg3) delete [] arg3;
3050 }
3051 return NULL;
3052 }
3053
3054
3055 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3056 PyObject *resultobj;
3057 wxFrame *arg1 = (wxFrame *) 0 ;
3058 wxString *arg2 = 0 ;
3059 int arg3 = (int) 0 ;
3060 bool temp2 = False ;
3061 PyObject * obj0 = 0 ;
3062 PyObject * obj1 = 0 ;
3063 char *kwnames[] = {
3064 (char *) "self",(char *) "text",(char *) "number", NULL
3065 };
3066
3067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
3068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3069 {
3070 arg2 = wxString_in_helper(obj1);
3071 if (arg2 == NULL) SWIG_fail;
3072 temp2 = True;
3073 }
3074 {
3075 PyThreadState* __tstate = wxPyBeginAllowThreads();
3076 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3077
3078 wxPyEndAllowThreads(__tstate);
3079 if (PyErr_Occurred()) SWIG_fail;
3080 }
3081 Py_INCREF(Py_None); resultobj = Py_None;
3082 {
3083 if (temp2)
3084 delete arg2;
3085 }
3086 return resultobj;
3087 fail:
3088 {
3089 if (temp2)
3090 delete arg2;
3091 }
3092 return NULL;
3093 }
3094
3095
3096 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3097 PyObject *resultobj;
3098 wxFrame *arg1 = (wxFrame *) 0 ;
3099 int arg2 = (int) 0 ;
3100 PyObject * obj0 = 0 ;
3101 char *kwnames[] = {
3102 (char *) "self",(char *) "number", NULL
3103 };
3104
3105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Frame_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
3106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3107 {
3108 PyThreadState* __tstate = wxPyBeginAllowThreads();
3109 (arg1)->PopStatusText(arg2);
3110
3111 wxPyEndAllowThreads(__tstate);
3112 if (PyErr_Occurred()) SWIG_fail;
3113 }
3114 Py_INCREF(Py_None); resultobj = Py_None;
3115 return resultobj;
3116 fail:
3117 return NULL;
3118 }
3119
3120
3121 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3122 PyObject *resultobj;
3123 wxFrame *arg1 = (wxFrame *) 0 ;
3124 int arg2 ;
3125 PyObject * obj0 = 0 ;
3126 char *kwnames[] = {
3127 (char *) "self",(char *) "n", NULL
3128 };
3129
3130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_SetStatusBarPane",kwnames,&obj0,&arg2)) goto fail;
3131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3132 {
3133 PyThreadState* __tstate = wxPyBeginAllowThreads();
3134 (arg1)->SetStatusBarPane(arg2);
3135
3136 wxPyEndAllowThreads(__tstate);
3137 if (PyErr_Occurred()) SWIG_fail;
3138 }
3139 Py_INCREF(Py_None); resultobj = Py_None;
3140 return resultobj;
3141 fail:
3142 return NULL;
3143 }
3144
3145
3146 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3147 PyObject *resultobj;
3148 wxFrame *arg1 = (wxFrame *) 0 ;
3149 int result;
3150 PyObject * obj0 = 0 ;
3151 char *kwnames[] = {
3152 (char *) "self", NULL
3153 };
3154
3155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3157 {
3158 PyThreadState* __tstate = wxPyBeginAllowThreads();
3159 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3160
3161 wxPyEndAllowThreads(__tstate);
3162 if (PyErr_Occurred()) SWIG_fail;
3163 }
3164 resultobj = PyInt_FromLong((long)result);
3165 return resultobj;
3166 fail:
3167 return NULL;
3168 }
3169
3170
3171 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3172 PyObject *resultobj;
3173 wxFrame *arg1 = (wxFrame *) 0 ;
3174 long arg2 = (long) -1 ;
3175 int arg3 = (int) -1 ;
3176 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3177 wxString *arg4 = (wxString *) &arg4_defvalue ;
3178 wxToolBar *result;
3179 bool temp4 = False ;
3180 PyObject * obj0 = 0 ;
3181 PyObject * obj3 = 0 ;
3182 char *kwnames[] = {
3183 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3184 };
3185
3186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|liO:Frame_CreateToolBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
3187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3188 if (obj3) {
3189 {
3190 arg4 = wxString_in_helper(obj3);
3191 if (arg4 == NULL) SWIG_fail;
3192 temp4 = True;
3193 }
3194 }
3195 {
3196 PyThreadState* __tstate = wxPyBeginAllowThreads();
3197 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3198
3199 wxPyEndAllowThreads(__tstate);
3200 if (PyErr_Occurred()) SWIG_fail;
3201 }
3202 {
3203 resultobj = wxPyMake_wxObject(result);
3204 }
3205 {
3206 if (temp4)
3207 delete arg4;
3208 }
3209 return resultobj;
3210 fail:
3211 {
3212 if (temp4)
3213 delete arg4;
3214 }
3215 return NULL;
3216 }
3217
3218
3219 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3220 PyObject *resultobj;
3221 wxFrame *arg1 = (wxFrame *) 0 ;
3222 wxToolBar *result;
3223 PyObject * obj0 = 0 ;
3224 char *kwnames[] = {
3225 (char *) "self", NULL
3226 };
3227
3228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3230 {
3231 PyThreadState* __tstate = wxPyBeginAllowThreads();
3232 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3233
3234 wxPyEndAllowThreads(__tstate);
3235 if (PyErr_Occurred()) SWIG_fail;
3236 }
3237 {
3238 resultobj = wxPyMake_wxObject(result);
3239 }
3240 return resultobj;
3241 fail:
3242 return NULL;
3243 }
3244
3245
3246 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3247 PyObject *resultobj;
3248 wxFrame *arg1 = (wxFrame *) 0 ;
3249 wxToolBar *arg2 = (wxToolBar *) 0 ;
3250 PyObject * obj0 = 0 ;
3251 PyObject * obj1 = 0 ;
3252 char *kwnames[] = {
3253 (char *) "self",(char *) "toolbar", NULL
3254 };
3255
3256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3258 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3259 {
3260 PyThreadState* __tstate = wxPyBeginAllowThreads();
3261 (arg1)->SetToolBar(arg2);
3262
3263 wxPyEndAllowThreads(__tstate);
3264 if (PyErr_Occurred()) SWIG_fail;
3265 }
3266 Py_INCREF(Py_None); resultobj = Py_None;
3267 return resultobj;
3268 fail:
3269 return NULL;
3270 }
3271
3272
3273 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3274 PyObject *resultobj;
3275 wxFrame *arg1 = (wxFrame *) 0 ;
3276 wxString *arg2 = 0 ;
3277 bool arg3 ;
3278 bool temp2 = False ;
3279 PyObject * obj0 = 0 ;
3280 PyObject * obj1 = 0 ;
3281 PyObject * obj2 = 0 ;
3282 char *kwnames[] = {
3283 (char *) "self",(char *) "text",(char *) "show", NULL
3284 };
3285
3286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3288 {
3289 arg2 = wxString_in_helper(obj1);
3290 if (arg2 == NULL) SWIG_fail;
3291 temp2 = True;
3292 }
3293 arg3 = PyInt_AsLong(obj2) ? true : false;
3294 if (PyErr_Occurred()) SWIG_fail;
3295 {
3296 PyThreadState* __tstate = wxPyBeginAllowThreads();
3297 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3298
3299 wxPyEndAllowThreads(__tstate);
3300 if (PyErr_Occurred()) SWIG_fail;
3301 }
3302 Py_INCREF(Py_None); resultobj = Py_None;
3303 {
3304 if (temp2)
3305 delete arg2;
3306 }
3307 return resultobj;
3308 fail:
3309 {
3310 if (temp2)
3311 delete arg2;
3312 }
3313 return NULL;
3314 }
3315
3316
3317 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3318 PyObject *resultobj;
3319 wxFrame *arg1 = (wxFrame *) 0 ;
3320 wxMenu *arg2 = (wxMenu *) NULL ;
3321 PyObject * obj0 = 0 ;
3322 PyObject * obj1 = 0 ;
3323 char *kwnames[] = {
3324 (char *) "self",(char *) "menu", NULL
3325 };
3326
3327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3329 if (obj1) {
3330 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3331 }
3332 {
3333 PyThreadState* __tstate = wxPyBeginAllowThreads();
3334 (arg1)->DoMenuUpdates(arg2);
3335
3336 wxPyEndAllowThreads(__tstate);
3337 if (PyErr_Occurred()) SWIG_fail;
3338 }
3339 Py_INCREF(Py_None); resultobj = Py_None;
3340 return resultobj;
3341 fail:
3342 return NULL;
3343 }
3344
3345
3346 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3347 PyObject *obj;
3348 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3349 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3350 Py_INCREF(obj);
3351 return Py_BuildValue((char *)"");
3352 }
3353 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3354 PyObject *resultobj;
3355 wxWindow *arg1 = (wxWindow *) 0 ;
3356 int arg2 ;
3357 wxString *arg3 = 0 ;
3358 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3359 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3360 wxSize const &arg5_defvalue = wxDefaultSize ;
3361 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3362 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3363 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3364 wxString *arg7 = (wxString *) &arg7_defvalue ;
3365 wxDialog *result;
3366 bool temp3 = False ;
3367 wxPoint temp4 ;
3368 wxSize temp5 ;
3369 bool temp7 = False ;
3370 PyObject * obj0 = 0 ;
3371 PyObject * obj2 = 0 ;
3372 PyObject * obj3 = 0 ;
3373 PyObject * obj4 = 0 ;
3374 PyObject * obj6 = 0 ;
3375 char *kwnames[] = {
3376 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3377 };
3378
3379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Dialog",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3381 {
3382 arg3 = wxString_in_helper(obj2);
3383 if (arg3 == NULL) SWIG_fail;
3384 temp3 = True;
3385 }
3386 if (obj3) {
3387 {
3388 arg4 = &temp4;
3389 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3390 }
3391 }
3392 if (obj4) {
3393 {
3394 arg5 = &temp5;
3395 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3396 }
3397 }
3398 if (obj6) {
3399 {
3400 arg7 = wxString_in_helper(obj6);
3401 if (arg7 == NULL) SWIG_fail;
3402 temp7 = True;
3403 }
3404 }
3405 {
3406 PyThreadState* __tstate = wxPyBeginAllowThreads();
3407 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3408
3409 wxPyEndAllowThreads(__tstate);
3410 if (PyErr_Occurred()) SWIG_fail;
3411 }
3412 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3413 {
3414 if (temp3)
3415 delete arg3;
3416 }
3417 {
3418 if (temp7)
3419 delete arg7;
3420 }
3421 return resultobj;
3422 fail:
3423 {
3424 if (temp3)
3425 delete arg3;
3426 }
3427 {
3428 if (temp7)
3429 delete arg7;
3430 }
3431 return NULL;
3432 }
3433
3434
3435 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3436 PyObject *resultobj;
3437 wxDialog *result;
3438 char *kwnames[] = {
3439 NULL
3440 };
3441
3442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
3443 {
3444 PyThreadState* __tstate = wxPyBeginAllowThreads();
3445 result = (wxDialog *)new wxDialog();
3446
3447 wxPyEndAllowThreads(__tstate);
3448 if (PyErr_Occurred()) SWIG_fail;
3449 }
3450 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3451 return resultobj;
3452 fail:
3453 return NULL;
3454 }
3455
3456
3457 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3458 PyObject *resultobj;
3459 wxDialog *arg1 = (wxDialog *) 0 ;
3460 wxWindow *arg2 = (wxWindow *) 0 ;
3461 int arg3 ;
3462 wxString *arg4 = 0 ;
3463 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3464 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3465 wxSize const &arg6_defvalue = wxDefaultSize ;
3466 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3467 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
3468 wxString const &arg8_defvalue = wxPyDialogNameStr ;
3469 wxString *arg8 = (wxString *) &arg8_defvalue ;
3470 bool result;
3471 bool temp4 = False ;
3472 wxPoint temp5 ;
3473 wxSize temp6 ;
3474 bool temp8 = False ;
3475 PyObject * obj0 = 0 ;
3476 PyObject * obj1 = 0 ;
3477 PyObject * obj3 = 0 ;
3478 PyObject * obj4 = 0 ;
3479 PyObject * obj5 = 0 ;
3480 PyObject * obj7 = 0 ;
3481 char *kwnames[] = {
3482 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3483 };
3484
3485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Dialog_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3487 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3488 {
3489 arg4 = wxString_in_helper(obj3);
3490 if (arg4 == NULL) SWIG_fail;
3491 temp4 = True;
3492 }
3493 if (obj4) {
3494 {
3495 arg5 = &temp5;
3496 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3497 }
3498 }
3499 if (obj5) {
3500 {
3501 arg6 = &temp6;
3502 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3503 }
3504 }
3505 if (obj7) {
3506 {
3507 arg8 = wxString_in_helper(obj7);
3508 if (arg8 == NULL) SWIG_fail;
3509 temp8 = True;
3510 }
3511 }
3512 {
3513 PyThreadState* __tstate = wxPyBeginAllowThreads();
3514 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3515
3516 wxPyEndAllowThreads(__tstate);
3517 if (PyErr_Occurred()) SWIG_fail;
3518 }
3519 resultobj = PyInt_FromLong((long)result);
3520 {
3521 if (temp4)
3522 delete arg4;
3523 }
3524 {
3525 if (temp8)
3526 delete arg8;
3527 }
3528 return resultobj;
3529 fail:
3530 {
3531 if (temp4)
3532 delete arg4;
3533 }
3534 {
3535 if (temp8)
3536 delete arg8;
3537 }
3538 return NULL;
3539 }
3540
3541
3542 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3543 PyObject *resultobj;
3544 wxDialog *arg1 = (wxDialog *) 0 ;
3545 int arg2 ;
3546 PyObject * obj0 = 0 ;
3547 char *kwnames[] = {
3548 (char *) "self",(char *) "returnCode", NULL
3549 };
3550
3551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_SetReturnCode",kwnames,&obj0,&arg2)) goto fail;
3552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3553 {
3554 PyThreadState* __tstate = wxPyBeginAllowThreads();
3555 (arg1)->SetReturnCode(arg2);
3556
3557 wxPyEndAllowThreads(__tstate);
3558 if (PyErr_Occurred()) SWIG_fail;
3559 }
3560 Py_INCREF(Py_None); resultobj = Py_None;
3561 return resultobj;
3562 fail:
3563 return NULL;
3564 }
3565
3566
3567 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3568 PyObject *resultobj;
3569 wxDialog *arg1 = (wxDialog *) 0 ;
3570 int result;
3571 PyObject * obj0 = 0 ;
3572 char *kwnames[] = {
3573 (char *) "self", NULL
3574 };
3575
3576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
3577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3578 {
3579 PyThreadState* __tstate = wxPyBeginAllowThreads();
3580 result = (int)((wxDialog const *)arg1)->GetReturnCode();
3581
3582 wxPyEndAllowThreads(__tstate);
3583 if (PyErr_Occurred()) SWIG_fail;
3584 }
3585 resultobj = PyInt_FromLong((long)result);
3586 return resultobj;
3587 fail:
3588 return NULL;
3589 }
3590
3591
3592 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3593 PyObject *resultobj;
3594 wxDialog *arg1 = (wxDialog *) 0 ;
3595 wxString *arg2 = 0 ;
3596 wxSizer *result;
3597 bool temp2 = False ;
3598 PyObject * obj0 = 0 ;
3599 PyObject * obj1 = 0 ;
3600 char *kwnames[] = {
3601 (char *) "self",(char *) "message", NULL
3602 };
3603
3604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
3605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3606 {
3607 arg2 = wxString_in_helper(obj1);
3608 if (arg2 == NULL) SWIG_fail;
3609 temp2 = True;
3610 }
3611 {
3612 PyThreadState* __tstate = wxPyBeginAllowThreads();
3613 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
3614
3615 wxPyEndAllowThreads(__tstate);
3616 if (PyErr_Occurred()) SWIG_fail;
3617 }
3618 {
3619 resultobj = wxPyMake_wxSizer(result);
3620 }
3621 {
3622 if (temp2)
3623 delete arg2;
3624 }
3625 return resultobj;
3626 fail:
3627 {
3628 if (temp2)
3629 delete arg2;
3630 }
3631 return NULL;
3632 }
3633
3634
3635 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3636 PyObject *resultobj;
3637 wxDialog *arg1 = (wxDialog *) 0 ;
3638 long arg2 ;
3639 wxSizer *result;
3640 PyObject * obj0 = 0 ;
3641 char *kwnames[] = {
3642 (char *) "self",(char *) "flags", NULL
3643 };
3644
3645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Dialog_CreateButtonSizer",kwnames,&obj0,&arg2)) goto fail;
3646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3647 {
3648 PyThreadState* __tstate = wxPyBeginAllowThreads();
3649 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
3650
3651 wxPyEndAllowThreads(__tstate);
3652 if (PyErr_Occurred()) SWIG_fail;
3653 }
3654 {
3655 resultobj = wxPyMake_wxSizer(result);
3656 }
3657 return resultobj;
3658 fail:
3659 return NULL;
3660 }
3661
3662
3663 static PyObject *_wrap_Dialog_SetModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3664 PyObject *resultobj;
3665 wxDialog *arg1 = (wxDialog *) 0 ;
3666 bool arg2 ;
3667 PyObject * obj0 = 0 ;
3668 PyObject * obj1 = 0 ;
3669 char *kwnames[] = {
3670 (char *) "self",(char *) "flag", NULL
3671 };
3672
3673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetModal",kwnames,&obj0,&obj1)) goto fail;
3674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3675 arg2 = PyInt_AsLong(obj1) ? true : false;
3676 if (PyErr_Occurred()) SWIG_fail;
3677 {
3678 PyThreadState* __tstate = wxPyBeginAllowThreads();
3679 (arg1)->SetModal(arg2);
3680
3681 wxPyEndAllowThreads(__tstate);
3682 if (PyErr_Occurred()) SWIG_fail;
3683 }
3684 Py_INCREF(Py_None); resultobj = Py_None;
3685 return resultobj;
3686 fail:
3687 return NULL;
3688 }
3689
3690
3691 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3692 PyObject *resultobj;
3693 wxDialog *arg1 = (wxDialog *) 0 ;
3694 bool result;
3695 PyObject * obj0 = 0 ;
3696 char *kwnames[] = {
3697 (char *) "self", NULL
3698 };
3699
3700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
3701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3702 {
3703 PyThreadState* __tstate = wxPyBeginAllowThreads();
3704 result = (bool)((wxDialog const *)arg1)->IsModal();
3705
3706 wxPyEndAllowThreads(__tstate);
3707 if (PyErr_Occurred()) SWIG_fail;
3708 }
3709 resultobj = PyInt_FromLong((long)result);
3710 return resultobj;
3711 fail:
3712 return NULL;
3713 }
3714
3715
3716 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3717 PyObject *resultobj;
3718 wxDialog *arg1 = (wxDialog *) 0 ;
3719 int result;
3720 PyObject * obj0 = 0 ;
3721 char *kwnames[] = {
3722 (char *) "self", NULL
3723 };
3724
3725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
3726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3727 {
3728 PyThreadState* __tstate = wxPyBeginAllowThreads();
3729 result = (int)(arg1)->ShowModal();
3730
3731 wxPyEndAllowThreads(__tstate);
3732 if (PyErr_Occurred()) SWIG_fail;
3733 }
3734 resultobj = PyInt_FromLong((long)result);
3735 return resultobj;
3736 fail:
3737 return NULL;
3738 }
3739
3740
3741 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3742 PyObject *resultobj;
3743 wxDialog *arg1 = (wxDialog *) 0 ;
3744 int arg2 ;
3745 PyObject * obj0 = 0 ;
3746 char *kwnames[] = {
3747 (char *) "self",(char *) "retCode", NULL
3748 };
3749
3750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_EndModal",kwnames,&obj0,&arg2)) goto fail;
3751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3752 {
3753 PyThreadState* __tstate = wxPyBeginAllowThreads();
3754 (arg1)->EndModal(arg2);
3755
3756 wxPyEndAllowThreads(__tstate);
3757 if (PyErr_Occurred()) SWIG_fail;
3758 }
3759 Py_INCREF(Py_None); resultobj = Py_None;
3760 return resultobj;
3761 fail:
3762 return NULL;
3763 }
3764
3765
3766 static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) {
3767 PyObject *resultobj;
3768 wxDialog *arg1 = (wxDialog *) 0 ;
3769 bool result;
3770 PyObject * obj0 = 0 ;
3771 char *kwnames[] = {
3772 (char *) "self", NULL
3773 };
3774
3775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
3776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3777 {
3778 PyThreadState* __tstate = wxPyBeginAllowThreads();
3779 result = (bool)wxDialog_IsModalShowing(arg1);
3780
3781 wxPyEndAllowThreads(__tstate);
3782 if (PyErr_Occurred()) SWIG_fail;
3783 }
3784 resultobj = PyInt_FromLong((long)result);
3785 return resultobj;
3786 fail:
3787 return NULL;
3788 }
3789
3790
3791 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
3792 PyObject *obj;
3793 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3794 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
3795 Py_INCREF(obj);
3796 return Py_BuildValue((char *)"");
3797 }
3798 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3799 PyObject *resultobj;
3800 wxWindow *arg1 = (wxWindow *) 0 ;
3801 int arg2 ;
3802 wxString *arg3 = 0 ;
3803 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3804 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3805 wxSize const &arg5_defvalue = wxDefaultSize ;
3806 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3807 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3808 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3809 wxString *arg7 = (wxString *) &arg7_defvalue ;
3810 wxMiniFrame *result;
3811 bool temp3 = False ;
3812 wxPoint temp4 ;
3813 wxSize temp5 ;
3814 bool temp7 = False ;
3815 PyObject * obj0 = 0 ;
3816 PyObject * obj2 = 0 ;
3817 PyObject * obj3 = 0 ;
3818 PyObject * obj4 = 0 ;
3819 PyObject * obj6 = 0 ;
3820 char *kwnames[] = {
3821 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3822 };
3823
3824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MiniFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3826 {
3827 arg3 = wxString_in_helper(obj2);
3828 if (arg3 == NULL) SWIG_fail;
3829 temp3 = True;
3830 }
3831 if (obj3) {
3832 {
3833 arg4 = &temp4;
3834 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3835 }
3836 }
3837 if (obj4) {
3838 {
3839 arg5 = &temp5;
3840 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3841 }
3842 }
3843 if (obj6) {
3844 {
3845 arg7 = wxString_in_helper(obj6);
3846 if (arg7 == NULL) SWIG_fail;
3847 temp7 = True;
3848 }
3849 }
3850 {
3851 PyThreadState* __tstate = wxPyBeginAllowThreads();
3852 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3853
3854 wxPyEndAllowThreads(__tstate);
3855 if (PyErr_Occurred()) SWIG_fail;
3856 }
3857 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
3858 {
3859 if (temp3)
3860 delete arg3;
3861 }
3862 {
3863 if (temp7)
3864 delete arg7;
3865 }
3866 return resultobj;
3867 fail:
3868 {
3869 if (temp3)
3870 delete arg3;
3871 }
3872 {
3873 if (temp7)
3874 delete arg7;
3875 }
3876 return NULL;
3877 }
3878
3879
3880 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3881 PyObject *resultobj;
3882 wxMiniFrame *result;
3883 char *kwnames[] = {
3884 NULL
3885 };
3886
3887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
3888 {
3889 PyThreadState* __tstate = wxPyBeginAllowThreads();
3890 result = (wxMiniFrame *)new wxMiniFrame();
3891
3892 wxPyEndAllowThreads(__tstate);
3893 if (PyErr_Occurred()) SWIG_fail;
3894 }
3895 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
3896 return resultobj;
3897 fail:
3898 return NULL;
3899 }
3900
3901
3902 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3903 PyObject *resultobj;
3904 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
3905 wxWindow *arg2 = (wxWindow *) 0 ;
3906 int arg3 ;
3907 wxString *arg4 = 0 ;
3908 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3909 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3910 wxSize const &arg6_defvalue = wxDefaultSize ;
3911 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3912 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3913 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3914 wxString *arg8 = (wxString *) &arg8_defvalue ;
3915 bool result;
3916 bool temp4 = False ;
3917 wxPoint temp5 ;
3918 wxSize temp6 ;
3919 bool temp8 = False ;
3920 PyObject * obj0 = 0 ;
3921 PyObject * obj1 = 0 ;
3922 PyObject * obj3 = 0 ;
3923 PyObject * obj4 = 0 ;
3924 PyObject * obj5 = 0 ;
3925 PyObject * obj7 = 0 ;
3926 char *kwnames[] = {
3927 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3928 };
3929
3930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MiniFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMiniFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3932 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3933 {
3934 arg4 = wxString_in_helper(obj3);
3935 if (arg4 == NULL) SWIG_fail;
3936 temp4 = True;
3937 }
3938 if (obj4) {
3939 {
3940 arg5 = &temp5;
3941 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3942 }
3943 }
3944 if (obj5) {
3945 {
3946 arg6 = &temp6;
3947 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3948 }
3949 }
3950 if (obj7) {
3951 {
3952 arg8 = wxString_in_helper(obj7);
3953 if (arg8 == NULL) SWIG_fail;
3954 temp8 = True;
3955 }
3956 }
3957 {
3958 PyThreadState* __tstate = wxPyBeginAllowThreads();
3959 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3960
3961 wxPyEndAllowThreads(__tstate);
3962 if (PyErr_Occurred()) SWIG_fail;
3963 }
3964 resultobj = PyInt_FromLong((long)result);
3965 {
3966 if (temp4)
3967 delete arg4;
3968 }
3969 {
3970 if (temp8)
3971 delete arg8;
3972 }
3973 return resultobj;
3974 fail:
3975 {
3976 if (temp4)
3977 delete arg4;
3978 }
3979 {
3980 if (temp8)
3981 delete arg8;
3982 }
3983 return NULL;
3984 }
3985
3986
3987 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
3988 PyObject *obj;
3989 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3990 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
3991 Py_INCREF(obj);
3992 return Py_BuildValue((char *)"");
3993 }
3994 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3995 PyObject *resultobj;
3996 wxBitmap *arg1 = 0 ;
3997 wxWindow *arg2 = (wxWindow *) 0 ;
3998 int arg3 ;
3999 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4000 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4001 wxSize const &arg5_defvalue = wxDefaultSize ;
4002 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4003 long arg6 = (long) wxNO_BORDER ;
4004 wxSplashScreenWindow *result;
4005 wxPoint temp4 ;
4006 wxSize temp5 ;
4007 PyObject * obj0 = 0 ;
4008 PyObject * obj1 = 0 ;
4009 PyObject * obj3 = 0 ;
4010 PyObject * obj4 = 0 ;
4011 char *kwnames[] = {
4012 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4013 };
4014
4015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOl:new_SplashScreenWindow",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
4016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4017 if (arg1 == NULL) {
4018 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4019 }
4020 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4021 if (obj3) {
4022 {
4023 arg4 = &temp4;
4024 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4025 }
4026 }
4027 if (obj4) {
4028 {
4029 arg5 = &temp5;
4030 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4031 }
4032 }
4033 {
4034 PyThreadState* __tstate = wxPyBeginAllowThreads();
4035 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4036
4037 wxPyEndAllowThreads(__tstate);
4038 if (PyErr_Occurred()) SWIG_fail;
4039 }
4040 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 1);
4041 return resultobj;
4042 fail:
4043 return NULL;
4044 }
4045
4046
4047 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4048 PyObject *resultobj;
4049 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4050 wxBitmap *arg2 = 0 ;
4051 PyObject * obj0 = 0 ;
4052 PyObject * obj1 = 0 ;
4053 char *kwnames[] = {
4054 (char *) "self",(char *) "bitmap", NULL
4055 };
4056
4057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4059 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4060 if (arg2 == NULL) {
4061 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4062 }
4063 {
4064 PyThreadState* __tstate = wxPyBeginAllowThreads();
4065 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4066
4067 wxPyEndAllowThreads(__tstate);
4068 if (PyErr_Occurred()) SWIG_fail;
4069 }
4070 Py_INCREF(Py_None); resultobj = Py_None;
4071 return resultobj;
4072 fail:
4073 return NULL;
4074 }
4075
4076
4077 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4078 PyObject *resultobj;
4079 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4080 wxBitmap *result;
4081 PyObject * obj0 = 0 ;
4082 char *kwnames[] = {
4083 (char *) "self", NULL
4084 };
4085
4086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4088 {
4089 PyThreadState* __tstate = wxPyBeginAllowThreads();
4090 {
4091 wxBitmap &_result_ref = (arg1)->GetBitmap();
4092 result = (wxBitmap *) &_result_ref;
4093 }
4094
4095 wxPyEndAllowThreads(__tstate);
4096 if (PyErr_Occurred()) SWIG_fail;
4097 }
4098 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
4099 return resultobj;
4100 fail:
4101 return NULL;
4102 }
4103
4104
4105 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4106 PyObject *obj;
4107 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4108 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4109 Py_INCREF(obj);
4110 return Py_BuildValue((char *)"");
4111 }
4112 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4113 PyObject *resultobj;
4114 wxBitmap *arg1 = 0 ;
4115 long arg2 ;
4116 int arg3 ;
4117 wxWindow *arg4 = (wxWindow *) 0 ;
4118 int arg5 ;
4119 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4120 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4121 wxSize const &arg7_defvalue = wxDefaultSize ;
4122 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4123 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4124 wxSplashScreen *result;
4125 wxPoint temp6 ;
4126 wxSize temp7 ;
4127 PyObject * obj0 = 0 ;
4128 PyObject * obj3 = 0 ;
4129 PyObject * obj5 = 0 ;
4130 PyObject * obj6 = 0 ;
4131 char *kwnames[] = {
4132 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4133 };
4134
4135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliOi|OOl:new_SplashScreen",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5,&obj5,&obj6,&arg8)) goto fail;
4136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4137 if (arg1 == NULL) {
4138 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4139 }
4140 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4141 if (obj5) {
4142 {
4143 arg6 = &temp6;
4144 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4145 }
4146 }
4147 if (obj6) {
4148 {
4149 arg7 = &temp7;
4150 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4151 }
4152 }
4153 {
4154 PyThreadState* __tstate = wxPyBeginAllowThreads();
4155 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4156
4157 wxPyEndAllowThreads(__tstate);
4158 if (PyErr_Occurred()) SWIG_fail;
4159 }
4160 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreen, 1);
4161 return resultobj;
4162 fail:
4163 return NULL;
4164 }
4165
4166
4167 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4168 PyObject *resultobj;
4169 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4170 long result;
4171 PyObject * obj0 = 0 ;
4172 char *kwnames[] = {
4173 (char *) "self", NULL
4174 };
4175
4176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4178 {
4179 PyThreadState* __tstate = wxPyBeginAllowThreads();
4180 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4181
4182 wxPyEndAllowThreads(__tstate);
4183 if (PyErr_Occurred()) SWIG_fail;
4184 }
4185 resultobj = PyInt_FromLong((long)result);
4186 return resultobj;
4187 fail:
4188 return NULL;
4189 }
4190
4191
4192 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4193 PyObject *resultobj;
4194 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4195 wxSplashScreenWindow *result;
4196 PyObject * obj0 = 0 ;
4197 char *kwnames[] = {
4198 (char *) "self", NULL
4199 };
4200
4201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4203 {
4204 PyThreadState* __tstate = wxPyBeginAllowThreads();
4205 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4206
4207 wxPyEndAllowThreads(__tstate);
4208 if (PyErr_Occurred()) SWIG_fail;
4209 }
4210 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 0);
4211 return resultobj;
4212 fail:
4213 return NULL;
4214 }
4215
4216
4217 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4218 PyObject *resultobj;
4219 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4220 int result;
4221 PyObject * obj0 = 0 ;
4222 char *kwnames[] = {
4223 (char *) "self", NULL
4224 };
4225
4226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4228 {
4229 PyThreadState* __tstate = wxPyBeginAllowThreads();
4230 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4231
4232 wxPyEndAllowThreads(__tstate);
4233 if (PyErr_Occurred()) SWIG_fail;
4234 }
4235 resultobj = PyInt_FromLong((long)result);
4236 return resultobj;
4237 fail:
4238 return NULL;
4239 }
4240
4241
4242 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4243 PyObject *obj;
4244 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4245 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4246 Py_INCREF(obj);
4247 return Py_BuildValue((char *)"");
4248 }
4249 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4250 PyObject *resultobj;
4251 wxWindow *arg1 = (wxWindow *) 0 ;
4252 int arg2 = (int) -1 ;
4253 long arg3 = (long) wxST_SIZEGRIP ;
4254 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4255 wxString *arg4 = (wxString *) &arg4_defvalue ;
4256 wxStatusBar *result;
4257 bool temp4 = False ;
4258 PyObject * obj0 = 0 ;
4259 PyObject * obj3 = 0 ;
4260 char *kwnames[] = {
4261 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4262 };
4263
4264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ilO:new_StatusBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
4265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4266 if (obj3) {
4267 {
4268 arg4 = wxString_in_helper(obj3);
4269 if (arg4 == NULL) SWIG_fail;
4270 temp4 = True;
4271 }
4272 }
4273 {
4274 PyThreadState* __tstate = wxPyBeginAllowThreads();
4275 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4276
4277 wxPyEndAllowThreads(__tstate);
4278 if (PyErr_Occurred()) SWIG_fail;
4279 }
4280 {
4281 resultobj = wxPyMake_wxObject(result);
4282 }
4283 {
4284 if (temp4)
4285 delete arg4;
4286 }
4287 return resultobj;
4288 fail:
4289 {
4290 if (temp4)
4291 delete arg4;
4292 }
4293 return NULL;
4294 }
4295
4296
4297 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4298 PyObject *resultobj;
4299 wxStatusBar *result;
4300 char *kwnames[] = {
4301 NULL
4302 };
4303
4304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4305 {
4306 PyThreadState* __tstate = wxPyBeginAllowThreads();
4307 result = (wxStatusBar *)new wxStatusBar();
4308
4309 wxPyEndAllowThreads(__tstate);
4310 if (PyErr_Occurred()) SWIG_fail;
4311 }
4312 {
4313 resultobj = wxPyMake_wxObject(result);
4314 }
4315 return resultobj;
4316 fail:
4317 return NULL;
4318 }
4319
4320
4321 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4322 PyObject *resultobj;
4323 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4324 wxWindow *arg2 = (wxWindow *) 0 ;
4325 int arg3 ;
4326 long arg4 = (long) wxST_SIZEGRIP ;
4327 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4328 wxString *arg5 = (wxString *) &arg5_defvalue ;
4329 bool result;
4330 bool temp5 = False ;
4331 PyObject * obj0 = 0 ;
4332 PyObject * obj1 = 0 ;
4333 PyObject * obj4 = 0 ;
4334 char *kwnames[] = {
4335 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4336 };
4337
4338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|lO:StatusBar_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
4339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4340 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4341 if (obj4) {
4342 {
4343 arg5 = wxString_in_helper(obj4);
4344 if (arg5 == NULL) SWIG_fail;
4345 temp5 = True;
4346 }
4347 }
4348 {
4349 PyThreadState* __tstate = wxPyBeginAllowThreads();
4350 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4351
4352 wxPyEndAllowThreads(__tstate);
4353 if (PyErr_Occurred()) SWIG_fail;
4354 }
4355 resultobj = PyInt_FromLong((long)result);
4356 {
4357 if (temp5)
4358 delete arg5;
4359 }
4360 return resultobj;
4361 fail:
4362 {
4363 if (temp5)
4364 delete arg5;
4365 }
4366 return NULL;
4367 }
4368
4369
4370 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4371 PyObject *resultobj;
4372 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4373 int arg2 = (int) 1 ;
4374 PyObject * obj0 = 0 ;
4375 char *kwnames[] = {
4376 (char *) "self",(char *) "number", NULL
4377 };
4378
4379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_SetFieldsCount",kwnames,&obj0,&arg2)) goto fail;
4380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4381 {
4382 PyThreadState* __tstate = wxPyBeginAllowThreads();
4383 (arg1)->SetFieldsCount(arg2);
4384
4385 wxPyEndAllowThreads(__tstate);
4386 if (PyErr_Occurred()) SWIG_fail;
4387 }
4388 Py_INCREF(Py_None); resultobj = Py_None;
4389 return resultobj;
4390 fail:
4391 return NULL;
4392 }
4393
4394
4395 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4396 PyObject *resultobj;
4397 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4398 int result;
4399 PyObject * obj0 = 0 ;
4400 char *kwnames[] = {
4401 (char *) "self", NULL
4402 };
4403
4404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
4405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4406 {
4407 PyThreadState* __tstate = wxPyBeginAllowThreads();
4408 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
4409
4410 wxPyEndAllowThreads(__tstate);
4411 if (PyErr_Occurred()) SWIG_fail;
4412 }
4413 resultobj = PyInt_FromLong((long)result);
4414 return resultobj;
4415 fail:
4416 return NULL;
4417 }
4418
4419
4420 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4421 PyObject *resultobj;
4422 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4423 wxString *arg2 = 0 ;
4424 int arg3 = (int) 0 ;
4425 bool temp2 = False ;
4426 PyObject * obj0 = 0 ;
4427 PyObject * obj1 = 0 ;
4428 char *kwnames[] = {
4429 (char *) "self",(char *) "text",(char *) "number", NULL
4430 };
4431
4432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4434 {
4435 arg2 = wxString_in_helper(obj1);
4436 if (arg2 == NULL) SWIG_fail;
4437 temp2 = True;
4438 }
4439 {
4440 PyThreadState* __tstate = wxPyBeginAllowThreads();
4441 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
4442
4443 wxPyEndAllowThreads(__tstate);
4444 if (PyErr_Occurred()) SWIG_fail;
4445 }
4446 Py_INCREF(Py_None); resultobj = Py_None;
4447 {
4448 if (temp2)
4449 delete arg2;
4450 }
4451 return resultobj;
4452 fail:
4453 {
4454 if (temp2)
4455 delete arg2;
4456 }
4457 return NULL;
4458 }
4459
4460
4461 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4462 PyObject *resultobj;
4463 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4464 int arg2 = (int) 0 ;
4465 wxString result;
4466 PyObject * obj0 = 0 ;
4467 char *kwnames[] = {
4468 (char *) "self",(char *) "number", NULL
4469 };
4470
4471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_GetStatusText",kwnames,&obj0,&arg2)) goto fail;
4472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4473 {
4474 PyThreadState* __tstate = wxPyBeginAllowThreads();
4475 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
4476
4477 wxPyEndAllowThreads(__tstate);
4478 if (PyErr_Occurred()) SWIG_fail;
4479 }
4480 {
4481 #if wxUSE_UNICODE
4482 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4483 #else
4484 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4485 #endif
4486 }
4487 return resultobj;
4488 fail:
4489 return NULL;
4490 }
4491
4492
4493 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4494 PyObject *resultobj;
4495 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4496 wxString *arg2 = 0 ;
4497 int arg3 = (int) 0 ;
4498 bool temp2 = False ;
4499 PyObject * obj0 = 0 ;
4500 PyObject * obj1 = 0 ;
4501 char *kwnames[] = {
4502 (char *) "self",(char *) "text",(char *) "number", NULL
4503 };
4504
4505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4507 {
4508 arg2 = wxString_in_helper(obj1);
4509 if (arg2 == NULL) SWIG_fail;
4510 temp2 = True;
4511 }
4512 {
4513 PyThreadState* __tstate = wxPyBeginAllowThreads();
4514 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
4515
4516 wxPyEndAllowThreads(__tstate);
4517 if (PyErr_Occurred()) SWIG_fail;
4518 }
4519 Py_INCREF(Py_None); resultobj = Py_None;
4520 {
4521 if (temp2)
4522 delete arg2;
4523 }
4524 return resultobj;
4525 fail:
4526 {
4527 if (temp2)
4528 delete arg2;
4529 }
4530 return NULL;
4531 }
4532
4533
4534 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4535 PyObject *resultobj;
4536 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4537 int arg2 = (int) 0 ;
4538 PyObject * obj0 = 0 ;
4539 char *kwnames[] = {
4540 (char *) "self",(char *) "number", NULL
4541 };
4542
4543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
4544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4545 {
4546 PyThreadState* __tstate = wxPyBeginAllowThreads();
4547 (arg1)->PopStatusText(arg2);
4548
4549 wxPyEndAllowThreads(__tstate);
4550 if (PyErr_Occurred()) SWIG_fail;
4551 }
4552 Py_INCREF(Py_None); resultobj = Py_None;
4553 return resultobj;
4554 fail:
4555 return NULL;
4556 }
4557
4558
4559 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
4560 PyObject *resultobj;
4561 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4562 int arg2 ;
4563 int *arg3 = (int *) 0 ;
4564 PyObject * obj0 = 0 ;
4565 PyObject * obj1 = 0 ;
4566 char *kwnames[] = {
4567 (char *) "self",(char *) "widths", NULL
4568 };
4569
4570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
4571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4572 {
4573 arg2 = PyList_Size(obj1);
4574 arg3 = int_LIST_helper(obj1);
4575 if (arg3 == NULL) SWIG_fail;
4576 }
4577 {
4578 PyThreadState* __tstate = wxPyBeginAllowThreads();
4579 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
4580
4581 wxPyEndAllowThreads(__tstate);
4582 if (PyErr_Occurred()) SWIG_fail;
4583 }
4584 Py_INCREF(Py_None); resultobj = Py_None;
4585 {
4586 if (arg3) delete [] arg3;
4587 }
4588 return resultobj;
4589 fail:
4590 {
4591 if (arg3) delete [] arg3;
4592 }
4593 return NULL;
4594 }
4595
4596
4597 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4598 PyObject *resultobj;
4599 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4600 int arg2 ;
4601 wxRect result;
4602 PyObject * obj0 = 0 ;
4603 char *kwnames[] = {
4604 (char *) "self",(char *) "i", NULL
4605 };
4606
4607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_GetFieldRect",kwnames,&obj0,&arg2)) goto fail;
4608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4609 {
4610 PyThreadState* __tstate = wxPyBeginAllowThreads();
4611 result = wxStatusBar_GetFieldRect(arg1,arg2);
4612
4613 wxPyEndAllowThreads(__tstate);
4614 if (PyErr_Occurred()) SWIG_fail;
4615 }
4616 {
4617 wxRect * resultptr;
4618 resultptr = new wxRect((wxRect &) result);
4619 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
4620 }
4621 return resultobj;
4622 fail:
4623 return NULL;
4624 }
4625
4626
4627 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
4628 PyObject *resultobj;
4629 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4630 int arg2 ;
4631 PyObject * obj0 = 0 ;
4632 char *kwnames[] = {
4633 (char *) "self",(char *) "height", NULL
4634 };
4635
4636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_SetMinHeight",kwnames,&obj0,&arg2)) goto fail;
4637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4638 {
4639 PyThreadState* __tstate = wxPyBeginAllowThreads();
4640 (arg1)->SetMinHeight(arg2);
4641
4642 wxPyEndAllowThreads(__tstate);
4643 if (PyErr_Occurred()) SWIG_fail;
4644 }
4645 Py_INCREF(Py_None); resultobj = Py_None;
4646 return resultobj;
4647 fail:
4648 return NULL;
4649 }
4650
4651
4652 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
4653 PyObject *resultobj;
4654 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4655 int result;
4656 PyObject * obj0 = 0 ;
4657 char *kwnames[] = {
4658 (char *) "self", NULL
4659 };
4660
4661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
4662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4663 {
4664 PyThreadState* __tstate = wxPyBeginAllowThreads();
4665 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
4666
4667 wxPyEndAllowThreads(__tstate);
4668 if (PyErr_Occurred()) SWIG_fail;
4669 }
4670 resultobj = PyInt_FromLong((long)result);
4671 return resultobj;
4672 fail:
4673 return NULL;
4674 }
4675
4676
4677 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
4678 PyObject *resultobj;
4679 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4680 int result;
4681 PyObject * obj0 = 0 ;
4682 char *kwnames[] = {
4683 (char *) "self", NULL
4684 };
4685
4686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
4687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4688 {
4689 PyThreadState* __tstate = wxPyBeginAllowThreads();
4690 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
4691
4692 wxPyEndAllowThreads(__tstate);
4693 if (PyErr_Occurred()) SWIG_fail;
4694 }
4695 resultobj = PyInt_FromLong((long)result);
4696 return resultobj;
4697 fail:
4698 return NULL;
4699 }
4700
4701
4702 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
4703 PyObject *obj;
4704 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4705 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
4706 Py_INCREF(obj);
4707 return Py_BuildValue((char *)"");
4708 }
4709 static int _wrap_SplitterNameStr_set(PyObject *_val) {
4710 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
4711 return 1;
4712 }
4713
4714
4715 static PyObject *_wrap_SplitterNameStr_get() {
4716 PyObject *pyobj;
4717
4718 {
4719 #if wxUSE_UNICODE
4720 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
4721 #else
4722 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
4723 #endif
4724 }
4725 return pyobj;
4726 }
4727
4728
4729 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4730 PyObject *resultobj;
4731 wxWindow *arg1 = (wxWindow *) 0 ;
4732 int arg2 ;
4733 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4734 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4735 wxSize const &arg4_defvalue = wxDefaultSize ;
4736 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4737 long arg5 = (long) wxSP_3D ;
4738 wxString const &arg6_defvalue = wxPySplitterNameStr ;
4739 wxString *arg6 = (wxString *) &arg6_defvalue ;
4740 wxSplitterWindow *result;
4741 wxPoint temp3 ;
4742 wxSize temp4 ;
4743 bool temp6 = False ;
4744 PyObject * obj0 = 0 ;
4745 PyObject * obj2 = 0 ;
4746 PyObject * obj3 = 0 ;
4747 PyObject * obj5 = 0 ;
4748 char *kwnames[] = {
4749 (char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4750 };
4751
4752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SplitterWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
4753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4754 if (obj2) {
4755 {
4756 arg3 = &temp3;
4757 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4758 }
4759 }
4760 if (obj3) {
4761 {
4762 arg4 = &temp4;
4763 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4764 }
4765 }
4766 if (obj5) {
4767 {
4768 arg6 = wxString_in_helper(obj5);
4769 if (arg6 == NULL) SWIG_fail;
4770 temp6 = True;
4771 }
4772 }
4773 {
4774 PyThreadState* __tstate = wxPyBeginAllowThreads();
4775 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4776
4777 wxPyEndAllowThreads(__tstate);
4778 if (PyErr_Occurred()) SWIG_fail;
4779 }
4780 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
4781 {
4782 if (temp6)
4783 delete arg6;
4784 }
4785 return resultobj;
4786 fail:
4787 {
4788 if (temp6)
4789 delete arg6;
4790 }
4791 return NULL;
4792 }
4793
4794
4795 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4796 PyObject *resultobj;
4797 wxSplitterWindow *result;
4798 char *kwnames[] = {
4799 NULL
4800 };
4801
4802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
4803 {
4804 PyThreadState* __tstate = wxPyBeginAllowThreads();
4805 result = (wxSplitterWindow *)new wxSplitterWindow();
4806
4807 wxPyEndAllowThreads(__tstate);
4808 if (PyErr_Occurred()) SWIG_fail;
4809 }
4810 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
4811 return resultobj;
4812 fail:
4813 return NULL;
4814 }
4815
4816
4817 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4818 PyObject *resultobj;
4819 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4820 wxWindow *arg2 = (wxWindow *) 0 ;
4821 int arg3 ;
4822 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4823 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4824 wxSize const &arg5_defvalue = wxDefaultSize ;
4825 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4826 long arg6 = (long) wxSP_3D ;
4827 wxString const &arg7_defvalue = wxPySplitterNameStr ;
4828 wxString *arg7 = (wxString *) &arg7_defvalue ;
4829 bool result;
4830 wxPoint temp4 ;
4831 wxSize temp5 ;
4832 bool temp7 = False ;
4833 PyObject * obj0 = 0 ;
4834 PyObject * obj1 = 0 ;
4835 PyObject * obj3 = 0 ;
4836 PyObject * obj4 = 0 ;
4837 PyObject * obj6 = 0 ;
4838 char *kwnames[] = {
4839 (char *) "self",(char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4840 };
4841
4842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SplitterWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
4843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4844 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4845 if (obj3) {
4846 {
4847 arg4 = &temp4;
4848 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4849 }
4850 }
4851 if (obj4) {
4852 {
4853 arg5 = &temp5;
4854 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4855 }
4856 }
4857 if (obj6) {
4858 {
4859 arg7 = wxString_in_helper(obj6);
4860 if (arg7 == NULL) SWIG_fail;
4861 temp7 = True;
4862 }
4863 }
4864 {
4865 PyThreadState* __tstate = wxPyBeginAllowThreads();
4866 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4867
4868 wxPyEndAllowThreads(__tstate);
4869 if (PyErr_Occurred()) SWIG_fail;
4870 }
4871 resultobj = PyInt_FromLong((long)result);
4872 {
4873 if (temp7)
4874 delete arg7;
4875 }
4876 return resultobj;
4877 fail:
4878 {
4879 if (temp7)
4880 delete arg7;
4881 }
4882 return NULL;
4883 }
4884
4885
4886 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
4887 PyObject *resultobj;
4888 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4889 wxWindow *result;
4890 PyObject * obj0 = 0 ;
4891 char *kwnames[] = {
4892 (char *) "self", NULL
4893 };
4894
4895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
4896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4897 {
4898 PyThreadState* __tstate = wxPyBeginAllowThreads();
4899 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
4900
4901 wxPyEndAllowThreads(__tstate);
4902 if (PyErr_Occurred()) SWIG_fail;
4903 }
4904 {
4905 resultobj = wxPyMake_wxObject(result);
4906 }
4907 return resultobj;
4908 fail:
4909 return NULL;
4910 }
4911
4912
4913 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
4914 PyObject *resultobj;
4915 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4916 wxWindow *result;
4917 PyObject * obj0 = 0 ;
4918 char *kwnames[] = {
4919 (char *) "self", NULL
4920 };
4921
4922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
4923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4924 {
4925 PyThreadState* __tstate = wxPyBeginAllowThreads();
4926 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
4927
4928 wxPyEndAllowThreads(__tstate);
4929 if (PyErr_Occurred()) SWIG_fail;
4930 }
4931 {
4932 resultobj = wxPyMake_wxObject(result);
4933 }
4934 return resultobj;
4935 fail:
4936 return NULL;
4937 }
4938
4939
4940 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4941 PyObject *resultobj;
4942 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4943 int arg2 ;
4944 PyObject * obj0 = 0 ;
4945 char *kwnames[] = {
4946 (char *) "self",(char *) "mode", NULL
4947 };
4948
4949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSplitMode",kwnames,&obj0,&arg2)) goto fail;
4950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4951 {
4952 PyThreadState* __tstate = wxPyBeginAllowThreads();
4953 (arg1)->SetSplitMode(arg2);
4954
4955 wxPyEndAllowThreads(__tstate);
4956 if (PyErr_Occurred()) SWIG_fail;
4957 }
4958 Py_INCREF(Py_None); resultobj = Py_None;
4959 return resultobj;
4960 fail:
4961 return NULL;
4962 }
4963
4964
4965 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4966 PyObject *resultobj;
4967 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4968 int result;
4969 PyObject * obj0 = 0 ;
4970 char *kwnames[] = {
4971 (char *) "self", NULL
4972 };
4973
4974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
4975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4976 {
4977 PyThreadState* __tstate = wxPyBeginAllowThreads();
4978 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
4979
4980 wxPyEndAllowThreads(__tstate);
4981 if (PyErr_Occurred()) SWIG_fail;
4982 }
4983 resultobj = PyInt_FromLong((long)result);
4984 return resultobj;
4985 fail:
4986 return NULL;
4987 }
4988
4989
4990 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
4991 PyObject *resultobj;
4992 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4993 wxWindow *arg2 = (wxWindow *) 0 ;
4994 PyObject * obj0 = 0 ;
4995 PyObject * obj1 = 0 ;
4996 char *kwnames[] = {
4997 (char *) "self",(char *) "window", NULL
4998 };
4999
5000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5002 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5003 {
5004 PyThreadState* __tstate = wxPyBeginAllowThreads();
5005 (arg1)->Initialize(arg2);
5006
5007 wxPyEndAllowThreads(__tstate);
5008 if (PyErr_Occurred()) SWIG_fail;
5009 }
5010 Py_INCREF(Py_None); resultobj = Py_None;
5011 return resultobj;
5012 fail:
5013 return NULL;
5014 }
5015
5016
5017 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5018 PyObject *resultobj;
5019 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5020 wxWindow *arg2 = (wxWindow *) 0 ;
5021 wxWindow *arg3 = (wxWindow *) 0 ;
5022 int arg4 = (int) 0 ;
5023 bool result;
5024 PyObject * obj0 = 0 ;
5025 PyObject * obj1 = 0 ;
5026 PyObject * obj2 = 0 ;
5027 char *kwnames[] = {
5028 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5029 };
5030
5031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
5032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5033 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5034 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5035 {
5036 PyThreadState* __tstate = wxPyBeginAllowThreads();
5037 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5038
5039 wxPyEndAllowThreads(__tstate);
5040 if (PyErr_Occurred()) SWIG_fail;
5041 }
5042 resultobj = PyInt_FromLong((long)result);
5043 return resultobj;
5044 fail:
5045 return NULL;
5046 }
5047
5048
5049 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5050 PyObject *resultobj;
5051 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5052 wxWindow *arg2 = (wxWindow *) 0 ;
5053 wxWindow *arg3 = (wxWindow *) 0 ;
5054 int arg4 = (int) 0 ;
5055 bool result;
5056 PyObject * obj0 = 0 ;
5057 PyObject * obj1 = 0 ;
5058 PyObject * obj2 = 0 ;
5059 char *kwnames[] = {
5060 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5061 };
5062
5063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
5064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5065 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5066 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5067 {
5068 PyThreadState* __tstate = wxPyBeginAllowThreads();
5069 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5070
5071 wxPyEndAllowThreads(__tstate);
5072 if (PyErr_Occurred()) SWIG_fail;
5073 }
5074 resultobj = PyInt_FromLong((long)result);
5075 return resultobj;
5076 fail:
5077 return NULL;
5078 }
5079
5080
5081 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5082 PyObject *resultobj;
5083 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5084 wxWindow *arg2 = (wxWindow *) NULL ;
5085 bool result;
5086 PyObject * obj0 = 0 ;
5087 PyObject * obj1 = 0 ;
5088 char *kwnames[] = {
5089 (char *) "self",(char *) "toRemove", NULL
5090 };
5091
5092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5094 if (obj1) {
5095 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5096 }
5097 {
5098 PyThreadState* __tstate = wxPyBeginAllowThreads();
5099 result = (bool)(arg1)->Unsplit(arg2);
5100
5101 wxPyEndAllowThreads(__tstate);
5102 if (PyErr_Occurred()) SWIG_fail;
5103 }
5104 resultobj = PyInt_FromLong((long)result);
5105 return resultobj;
5106 fail:
5107 return NULL;
5108 }
5109
5110
5111 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5112 PyObject *resultobj;
5113 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5114 wxWindow *arg2 = (wxWindow *) 0 ;
5115 wxWindow *arg3 = (wxWindow *) 0 ;
5116 bool result;
5117 PyObject * obj0 = 0 ;
5118 PyObject * obj1 = 0 ;
5119 PyObject * obj2 = 0 ;
5120 char *kwnames[] = {
5121 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5122 };
5123
5124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5126 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5127 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5128 {
5129 PyThreadState* __tstate = wxPyBeginAllowThreads();
5130 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5131
5132 wxPyEndAllowThreads(__tstate);
5133 if (PyErr_Occurred()) SWIG_fail;
5134 }
5135 resultobj = PyInt_FromLong((long)result);
5136 return resultobj;
5137 fail:
5138 return NULL;
5139 }
5140
5141
5142 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5143 PyObject *resultobj;
5144 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5145 bool result;
5146 PyObject * obj0 = 0 ;
5147 char *kwnames[] = {
5148 (char *) "self", NULL
5149 };
5150
5151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5153 {
5154 PyThreadState* __tstate = wxPyBeginAllowThreads();
5155 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5156
5157 wxPyEndAllowThreads(__tstate);
5158 if (PyErr_Occurred()) SWIG_fail;
5159 }
5160 resultobj = PyInt_FromLong((long)result);
5161 return resultobj;
5162 fail:
5163 return NULL;
5164 }
5165
5166
5167 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5168 PyObject *resultobj;
5169 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5170 int arg2 ;
5171 PyObject * obj0 = 0 ;
5172 char *kwnames[] = {
5173 (char *) "self",(char *) "width", NULL
5174 };
5175
5176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSashSize",kwnames,&obj0,&arg2)) goto fail;
5177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5178 {
5179 PyThreadState* __tstate = wxPyBeginAllowThreads();
5180 (arg1)->SetSashSize(arg2);
5181
5182 wxPyEndAllowThreads(__tstate);
5183 if (PyErr_Occurred()) SWIG_fail;
5184 }
5185 Py_INCREF(Py_None); resultobj = Py_None;
5186 return resultobj;
5187 fail:
5188 return NULL;
5189 }
5190
5191
5192 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5193 PyObject *resultobj;
5194 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5195 int arg2 ;
5196 PyObject * obj0 = 0 ;
5197 char *kwnames[] = {
5198 (char *) "self",(char *) "width", NULL
5199 };
5200
5201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetBorderSize",kwnames,&obj0,&arg2)) goto fail;
5202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5203 {
5204 PyThreadState* __tstate = wxPyBeginAllowThreads();
5205 (arg1)->SetBorderSize(arg2);
5206
5207 wxPyEndAllowThreads(__tstate);
5208 if (PyErr_Occurred()) SWIG_fail;
5209 }
5210 Py_INCREF(Py_None); resultobj = Py_None;
5211 return resultobj;
5212 fail:
5213 return NULL;
5214 }
5215
5216
5217 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5218 PyObject *resultobj;
5219 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5220 int result;
5221 PyObject * obj0 = 0 ;
5222 char *kwnames[] = {
5223 (char *) "self", NULL
5224 };
5225
5226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
5227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5228 {
5229 PyThreadState* __tstate = wxPyBeginAllowThreads();
5230 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
5231
5232 wxPyEndAllowThreads(__tstate);
5233 if (PyErr_Occurred()) SWIG_fail;
5234 }
5235 resultobj = PyInt_FromLong((long)result);
5236 return resultobj;
5237 fail:
5238 return NULL;
5239 }
5240
5241
5242 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5243 PyObject *resultobj;
5244 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5245 int result;
5246 PyObject * obj0 = 0 ;
5247 char *kwnames[] = {
5248 (char *) "self", NULL
5249 };
5250
5251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
5252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5253 {
5254 PyThreadState* __tstate = wxPyBeginAllowThreads();
5255 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
5256
5257 wxPyEndAllowThreads(__tstate);
5258 if (PyErr_Occurred()) SWIG_fail;
5259 }
5260 resultobj = PyInt_FromLong((long)result);
5261 return resultobj;
5262 fail:
5263 return NULL;
5264 }
5265
5266
5267 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5268 PyObject *resultobj;
5269 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5270 int arg2 ;
5271 bool arg3 = (bool) True ;
5272 PyObject * obj0 = 0 ;
5273 PyObject * obj2 = 0 ;
5274 char *kwnames[] = {
5275 (char *) "self",(char *) "position",(char *) "redraw", NULL
5276 };
5277
5278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
5279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5280 if (obj2) {
5281 arg3 = PyInt_AsLong(obj2) ? true : false;
5282 if (PyErr_Occurred()) SWIG_fail;
5283 }
5284 {
5285 PyThreadState* __tstate = wxPyBeginAllowThreads();
5286 (arg1)->SetSashPosition(arg2,arg3);
5287
5288 wxPyEndAllowThreads(__tstate);
5289 if (PyErr_Occurred()) SWIG_fail;
5290 }
5291 Py_INCREF(Py_None); resultobj = Py_None;
5292 return resultobj;
5293 fail:
5294 return NULL;
5295 }
5296
5297
5298 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5299 PyObject *resultobj;
5300 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5301 int result;
5302 PyObject * obj0 = 0 ;
5303 char *kwnames[] = {
5304 (char *) "self", NULL
5305 };
5306
5307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
5308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5309 {
5310 PyThreadState* __tstate = wxPyBeginAllowThreads();
5311 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
5312
5313 wxPyEndAllowThreads(__tstate);
5314 if (PyErr_Occurred()) SWIG_fail;
5315 }
5316 resultobj = PyInt_FromLong((long)result);
5317 return resultobj;
5318 fail:
5319 return NULL;
5320 }
5321
5322
5323 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5324 PyObject *resultobj;
5325 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5326 int arg2 ;
5327 PyObject * obj0 = 0 ;
5328 char *kwnames[] = {
5329 (char *) "self",(char *) "min", NULL
5330 };
5331
5332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&arg2)) goto fail;
5333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5334 {
5335 PyThreadState* __tstate = wxPyBeginAllowThreads();
5336 (arg1)->SetMinimumPaneSize(arg2);
5337
5338 wxPyEndAllowThreads(__tstate);
5339 if (PyErr_Occurred()) SWIG_fail;
5340 }
5341 Py_INCREF(Py_None); resultobj = Py_None;
5342 return resultobj;
5343 fail:
5344 return NULL;
5345 }
5346
5347
5348 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5349 PyObject *resultobj;
5350 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5351 int result;
5352 PyObject * obj0 = 0 ;
5353 char *kwnames[] = {
5354 (char *) "self", NULL
5355 };
5356
5357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
5358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5359 {
5360 PyThreadState* __tstate = wxPyBeginAllowThreads();
5361 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
5362
5363 wxPyEndAllowThreads(__tstate);
5364 if (PyErr_Occurred()) SWIG_fail;
5365 }
5366 resultobj = PyInt_FromLong((long)result);
5367 return resultobj;
5368 fail:
5369 return NULL;
5370 }
5371
5372
5373 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5374 PyObject *resultobj;
5375 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5376 int arg2 ;
5377 int arg3 ;
5378 int arg4 = (int) 5 ;
5379 bool result;
5380 PyObject * obj0 = 0 ;
5381 char *kwnames[] = {
5382 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5383 };
5384
5385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SplitterWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
5386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5387 {
5388 PyThreadState* __tstate = wxPyBeginAllowThreads();
5389 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
5390
5391 wxPyEndAllowThreads(__tstate);
5392 if (PyErr_Occurred()) SWIG_fail;
5393 }
5394 resultobj = PyInt_FromLong((long)result);
5395 return resultobj;
5396 fail:
5397 return NULL;
5398 }
5399
5400
5401 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
5402 PyObject *resultobj;
5403 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5404 PyObject * obj0 = 0 ;
5405 char *kwnames[] = {
5406 (char *) "self", NULL
5407 };
5408
5409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
5410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5411 {
5412 PyThreadState* __tstate = wxPyBeginAllowThreads();
5413 (arg1)->SizeWindows();
5414
5415 wxPyEndAllowThreads(__tstate);
5416 if (PyErr_Occurred()) SWIG_fail;
5417 }
5418 Py_INCREF(Py_None); resultobj = Py_None;
5419 return resultobj;
5420 fail:
5421 return NULL;
5422 }
5423
5424
5425 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5426 PyObject *resultobj;
5427 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5428 bool arg2 ;
5429 PyObject * obj0 = 0 ;
5430 PyObject * obj1 = 0 ;
5431 char *kwnames[] = {
5432 (char *) "self",(char *) "needUpdating", NULL
5433 };
5434
5435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
5436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5437 arg2 = PyInt_AsLong(obj1) ? true : false;
5438 if (PyErr_Occurred()) SWIG_fail;
5439 {
5440 PyThreadState* __tstate = wxPyBeginAllowThreads();
5441 (arg1)->SetNeedUpdating(arg2);
5442
5443 wxPyEndAllowThreads(__tstate);
5444 if (PyErr_Occurred()) SWIG_fail;
5445 }
5446 Py_INCREF(Py_None); resultobj = Py_None;
5447 return resultobj;
5448 fail:
5449 return NULL;
5450 }
5451
5452
5453 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5454 PyObject *resultobj;
5455 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5456 bool result;
5457 PyObject * obj0 = 0 ;
5458 char *kwnames[] = {
5459 (char *) "self", NULL
5460 };
5461
5462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
5463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5464 {
5465 PyThreadState* __tstate = wxPyBeginAllowThreads();
5466 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
5467
5468 wxPyEndAllowThreads(__tstate);
5469 if (PyErr_Occurred()) SWIG_fail;
5470 }
5471 resultobj = PyInt_FromLong((long)result);
5472 return resultobj;
5473 fail:
5474 return NULL;
5475 }
5476
5477
5478 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
5479 PyObject *obj;
5480 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5481 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
5482 Py_INCREF(obj);
5483 return Py_BuildValue((char *)"");
5484 }
5485 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5486 PyObject *resultobj;
5487 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
5488 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
5489 wxSplitterEvent *result;
5490 PyObject * obj1 = 0 ;
5491 char *kwnames[] = {
5492 (char *) "type",(char *) "splitter", NULL
5493 };
5494
5495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_SplitterEvent",kwnames,&arg1,&obj1)) goto fail;
5496 if (obj1) {
5497 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5498 }
5499 {
5500 PyThreadState* __tstate = wxPyBeginAllowThreads();
5501 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
5502
5503 wxPyEndAllowThreads(__tstate);
5504 if (PyErr_Occurred()) SWIG_fail;
5505 }
5506 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterEvent, 1);
5507 return resultobj;
5508 fail:
5509 return NULL;
5510 }
5511
5512
5513 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5514 PyObject *resultobj;
5515 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5516 int arg2 ;
5517 PyObject * obj0 = 0 ;
5518 char *kwnames[] = {
5519 (char *) "self",(char *) "pos", NULL
5520 };
5521
5522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterEvent_SetSashPosition",kwnames,&obj0,&arg2)) goto fail;
5523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5524 {
5525 PyThreadState* __tstate = wxPyBeginAllowThreads();
5526 (arg1)->SetSashPosition(arg2);
5527
5528 wxPyEndAllowThreads(__tstate);
5529 if (PyErr_Occurred()) SWIG_fail;
5530 }
5531 Py_INCREF(Py_None); resultobj = Py_None;
5532 return resultobj;
5533 fail:
5534 return NULL;
5535 }
5536
5537
5538 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5539 PyObject *resultobj;
5540 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5541 int result;
5542 PyObject * obj0 = 0 ;
5543 char *kwnames[] = {
5544 (char *) "self", NULL
5545 };
5546
5547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
5548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5549 {
5550 PyThreadState* __tstate = wxPyBeginAllowThreads();
5551 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
5552
5553 wxPyEndAllowThreads(__tstate);
5554 if (PyErr_Occurred()) SWIG_fail;
5555 }
5556 resultobj = PyInt_FromLong((long)result);
5557 return resultobj;
5558 fail:
5559 return NULL;
5560 }
5561
5562
5563 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
5564 PyObject *resultobj;
5565 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5566 wxWindow *result;
5567 PyObject * obj0 = 0 ;
5568 char *kwnames[] = {
5569 (char *) "self", NULL
5570 };
5571
5572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
5573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5574 {
5575 PyThreadState* __tstate = wxPyBeginAllowThreads();
5576 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
5577
5578 wxPyEndAllowThreads(__tstate);
5579 if (PyErr_Occurred()) SWIG_fail;
5580 }
5581 {
5582 resultobj = wxPyMake_wxObject(result);
5583 }
5584 return resultobj;
5585 fail:
5586 return NULL;
5587 }
5588
5589
5590 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
5591 PyObject *resultobj;
5592 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5593 int result;
5594 PyObject * obj0 = 0 ;
5595 char *kwnames[] = {
5596 (char *) "self", NULL
5597 };
5598
5599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
5600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5601 {
5602 PyThreadState* __tstate = wxPyBeginAllowThreads();
5603 result = (int)((wxSplitterEvent const *)arg1)->GetX();
5604
5605 wxPyEndAllowThreads(__tstate);
5606 if (PyErr_Occurred()) SWIG_fail;
5607 }
5608 resultobj = PyInt_FromLong((long)result);
5609 return resultobj;
5610 fail:
5611 return NULL;
5612 }
5613
5614
5615 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
5616 PyObject *resultobj;
5617 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5618 int result;
5619 PyObject * obj0 = 0 ;
5620 char *kwnames[] = {
5621 (char *) "self", NULL
5622 };
5623
5624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
5625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5626 {
5627 PyThreadState* __tstate = wxPyBeginAllowThreads();
5628 result = (int)((wxSplitterEvent const *)arg1)->GetY();
5629
5630 wxPyEndAllowThreads(__tstate);
5631 if (PyErr_Occurred()) SWIG_fail;
5632 }
5633 resultobj = PyInt_FromLong((long)result);
5634 return resultobj;
5635 fail:
5636 return NULL;
5637 }
5638
5639
5640 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
5641 PyObject *obj;
5642 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5643 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
5644 Py_INCREF(obj);
5645 return Py_BuildValue((char *)"");
5646 }
5647 static int _wrap_SashNameStr_set(PyObject *_val) {
5648 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
5649 return 1;
5650 }
5651
5652
5653 static PyObject *_wrap_SashNameStr_get() {
5654 PyObject *pyobj;
5655
5656 {
5657 #if wxUSE_UNICODE
5658 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
5659 #else
5660 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
5661 #endif
5662 }
5663 return pyobj;
5664 }
5665
5666
5667 static int _wrap_SashLayoutNameStr_set(PyObject *_val) {
5668 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
5669 return 1;
5670 }
5671
5672
5673 static PyObject *_wrap_SashLayoutNameStr_get() {
5674 PyObject *pyobj;
5675
5676 {
5677 #if wxUSE_UNICODE
5678 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
5679 #else
5680 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
5681 #endif
5682 }
5683 return pyobj;
5684 }
5685
5686
5687 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5688 PyObject *resultobj;
5689 wxWindow *arg1 = (wxWindow *) 0 ;
5690 int arg2 ;
5691 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5692 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5693 wxSize const &arg4_defvalue = wxDefaultSize ;
5694 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5695 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
5696 wxString const &arg6_defvalue = wxPySashNameStr ;
5697 wxString *arg6 = (wxString *) &arg6_defvalue ;
5698 wxSashWindow *result;
5699 wxPoint temp3 ;
5700 wxSize temp4 ;
5701 bool temp6 = False ;
5702 PyObject * obj0 = 0 ;
5703 PyObject * obj2 = 0 ;
5704 PyObject * obj3 = 0 ;
5705 PyObject * obj5 = 0 ;
5706 char *kwnames[] = {
5707 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5708 };
5709
5710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
5711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5712 if (obj2) {
5713 {
5714 arg3 = &temp3;
5715 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5716 }
5717 }
5718 if (obj3) {
5719 {
5720 arg4 = &temp4;
5721 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5722 }
5723 }
5724 if (obj5) {
5725 {
5726 arg6 = wxString_in_helper(obj5);
5727 if (arg6 == NULL) SWIG_fail;
5728 temp6 = True;
5729 }
5730 }
5731 {
5732 PyThreadState* __tstate = wxPyBeginAllowThreads();
5733 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5734
5735 wxPyEndAllowThreads(__tstate);
5736 if (PyErr_Occurred()) SWIG_fail;
5737 }
5738 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
5739 {
5740 if (temp6)
5741 delete arg6;
5742 }
5743 return resultobj;
5744 fail:
5745 {
5746 if (temp6)
5747 delete arg6;
5748 }
5749 return NULL;
5750 }
5751
5752
5753 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5754 PyObject *resultobj;
5755 wxSashWindow *result;
5756 char *kwnames[] = {
5757 NULL
5758 };
5759
5760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
5761 {
5762 PyThreadState* __tstate = wxPyBeginAllowThreads();
5763 result = (wxSashWindow *)new wxSashWindow();
5764
5765 wxPyEndAllowThreads(__tstate);
5766 if (PyErr_Occurred()) SWIG_fail;
5767 }
5768 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
5769 return resultobj;
5770 fail:
5771 return NULL;
5772 }
5773
5774
5775 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5776 PyObject *resultobj;
5777 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5778 wxWindow *arg2 = (wxWindow *) 0 ;
5779 int arg3 ;
5780 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5781 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5782 wxSize const &arg5_defvalue = wxDefaultSize ;
5783 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5784 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
5785 wxString const &arg7_defvalue = wxPySashNameStr ;
5786 wxString *arg7 = (wxString *) &arg7_defvalue ;
5787 bool result;
5788 wxPoint temp4 ;
5789 wxSize temp5 ;
5790 bool temp7 = False ;
5791 PyObject * obj0 = 0 ;
5792 PyObject * obj1 = 0 ;
5793 PyObject * obj3 = 0 ;
5794 PyObject * obj4 = 0 ;
5795 PyObject * obj6 = 0 ;
5796 char *kwnames[] = {
5797 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5798 };
5799
5800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
5801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5802 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5803 if (obj3) {
5804 {
5805 arg4 = &temp4;
5806 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5807 }
5808 }
5809 if (obj4) {
5810 {
5811 arg5 = &temp5;
5812 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5813 }
5814 }
5815 if (obj6) {
5816 {
5817 arg7 = wxString_in_helper(obj6);
5818 if (arg7 == NULL) SWIG_fail;
5819 temp7 = True;
5820 }
5821 }
5822 {
5823 PyThreadState* __tstate = wxPyBeginAllowThreads();
5824 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5825
5826 wxPyEndAllowThreads(__tstate);
5827 if (PyErr_Occurred()) SWIG_fail;
5828 }
5829 resultobj = PyInt_FromLong((long)result);
5830 {
5831 if (temp7)
5832 delete arg7;
5833 }
5834 return resultobj;
5835 fail:
5836 {
5837 if (temp7)
5838 delete arg7;
5839 }
5840 return NULL;
5841 }
5842
5843
5844 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5845 PyObject *resultobj;
5846 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5847 int arg2 ;
5848 bool arg3 ;
5849 PyObject * obj0 = 0 ;
5850 PyObject * obj2 = 0 ;
5851 char *kwnames[] = {
5852 (char *) "self",(char *) "edge",(char *) "sash", NULL
5853 };
5854
5855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashVisible",kwnames,&obj0,&arg2,&obj2)) goto fail;
5856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5857 arg3 = PyInt_AsLong(obj2) ? true : false;
5858 if (PyErr_Occurred()) SWIG_fail;
5859 {
5860 PyThreadState* __tstate = wxPyBeginAllowThreads();
5861 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
5862
5863 wxPyEndAllowThreads(__tstate);
5864 if (PyErr_Occurred()) SWIG_fail;
5865 }
5866 Py_INCREF(Py_None); resultobj = Py_None;
5867 return resultobj;
5868 fail:
5869 return NULL;
5870 }
5871
5872
5873 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5874 PyObject *resultobj;
5875 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5876 int arg2 ;
5877 bool result;
5878 PyObject * obj0 = 0 ;
5879 char *kwnames[] = {
5880 (char *) "self",(char *) "edge", NULL
5881 };
5882
5883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetSashVisible",kwnames,&obj0,&arg2)) goto fail;
5884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5885 {
5886 PyThreadState* __tstate = wxPyBeginAllowThreads();
5887 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
5888
5889 wxPyEndAllowThreads(__tstate);
5890 if (PyErr_Occurred()) SWIG_fail;
5891 }
5892 resultobj = PyInt_FromLong((long)result);
5893 return resultobj;
5894 fail:
5895 return NULL;
5896 }
5897
5898
5899 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
5900 PyObject *resultobj;
5901 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5902 int arg2 ;
5903 bool arg3 ;
5904 PyObject * obj0 = 0 ;
5905 PyObject * obj2 = 0 ;
5906 char *kwnames[] = {
5907 (char *) "self",(char *) "edge",(char *) "border", NULL
5908 };
5909
5910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashBorder",kwnames,&obj0,&arg2,&obj2)) goto fail;
5911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5912 arg3 = PyInt_AsLong(obj2) ? true : false;
5913 if (PyErr_Occurred()) SWIG_fail;
5914 {
5915 PyThreadState* __tstate = wxPyBeginAllowThreads();
5916 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
5917
5918 wxPyEndAllowThreads(__tstate);
5919 if (PyErr_Occurred()) SWIG_fail;
5920 }
5921 Py_INCREF(Py_None); resultobj = Py_None;
5922 return resultobj;
5923 fail:
5924 return NULL;
5925 }
5926
5927
5928 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
5929 PyObject *resultobj;
5930 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5931 int arg2 ;
5932 bool result;
5933 PyObject * obj0 = 0 ;
5934 char *kwnames[] = {
5935 (char *) "self",(char *) "edge", NULL
5936 };
5937
5938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_HasBorder",kwnames,&obj0,&arg2)) goto fail;
5939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5940 {
5941 PyThreadState* __tstate = wxPyBeginAllowThreads();
5942 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
5943
5944 wxPyEndAllowThreads(__tstate);
5945 if (PyErr_Occurred()) SWIG_fail;
5946 }
5947 resultobj = PyInt_FromLong((long)result);
5948 return resultobj;
5949 fail:
5950 return NULL;
5951 }
5952
5953
5954 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
5955 PyObject *resultobj;
5956 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5957 int arg2 ;
5958 int result;
5959 PyObject * obj0 = 0 ;
5960 char *kwnames[] = {
5961 (char *) "self",(char *) "edge", NULL
5962 };
5963
5964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetEdgeMargin",kwnames,&obj0,&arg2)) goto fail;
5965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5966 {
5967 PyThreadState* __tstate = wxPyBeginAllowThreads();
5968 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
5969
5970 wxPyEndAllowThreads(__tstate);
5971 if (PyErr_Occurred()) SWIG_fail;
5972 }
5973 resultobj = PyInt_FromLong((long)result);
5974 return resultobj;
5975 fail:
5976 return NULL;
5977 }
5978
5979
5980 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5981 PyObject *resultobj;
5982 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5983 int arg2 ;
5984 PyObject * obj0 = 0 ;
5985 char *kwnames[] = {
5986 (char *) "self",(char *) "width", NULL
5987 };
5988
5989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&arg2)) goto fail;
5990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5991 {
5992 PyThreadState* __tstate = wxPyBeginAllowThreads();
5993 (arg1)->SetDefaultBorderSize(arg2);
5994
5995 wxPyEndAllowThreads(__tstate);
5996 if (PyErr_Occurred()) SWIG_fail;
5997 }
5998 Py_INCREF(Py_None); resultobj = Py_None;
5999 return resultobj;
6000 fail:
6001 return NULL;
6002 }
6003
6004
6005 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6006 PyObject *resultobj;
6007 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6008 int result;
6009 PyObject * obj0 = 0 ;
6010 char *kwnames[] = {
6011 (char *) "self", NULL
6012 };
6013
6014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
6015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6016 {
6017 PyThreadState* __tstate = wxPyBeginAllowThreads();
6018 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
6019
6020 wxPyEndAllowThreads(__tstate);
6021 if (PyErr_Occurred()) SWIG_fail;
6022 }
6023 resultobj = PyInt_FromLong((long)result);
6024 return resultobj;
6025 fail:
6026 return NULL;
6027 }
6028
6029
6030 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6031 PyObject *resultobj;
6032 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6033 int arg2 ;
6034 PyObject * obj0 = 0 ;
6035 char *kwnames[] = {
6036 (char *) "self",(char *) "width", NULL
6037 };
6038
6039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetExtraBorderSize",kwnames,&obj0,&arg2)) goto fail;
6040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6041 {
6042 PyThreadState* __tstate = wxPyBeginAllowThreads();
6043 (arg1)->SetExtraBorderSize(arg2);
6044
6045 wxPyEndAllowThreads(__tstate);
6046 if (PyErr_Occurred()) SWIG_fail;
6047 }
6048 Py_INCREF(Py_None); resultobj = Py_None;
6049 return resultobj;
6050 fail:
6051 return NULL;
6052 }
6053
6054
6055 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6056 PyObject *resultobj;
6057 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6058 int result;
6059 PyObject * obj0 = 0 ;
6060 char *kwnames[] = {
6061 (char *) "self", NULL
6062 };
6063
6064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
6065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6066 {
6067 PyThreadState* __tstate = wxPyBeginAllowThreads();
6068 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
6069
6070 wxPyEndAllowThreads(__tstate);
6071 if (PyErr_Occurred()) SWIG_fail;
6072 }
6073 resultobj = PyInt_FromLong((long)result);
6074 return resultobj;
6075 fail:
6076 return NULL;
6077 }
6078
6079
6080 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6081 PyObject *resultobj;
6082 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6083 int arg2 ;
6084 PyObject * obj0 = 0 ;
6085 char *kwnames[] = {
6086 (char *) "self",(char *) "min", NULL
6087 };
6088
6089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeX",kwnames,&obj0,&arg2)) goto fail;
6090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6091 {
6092 PyThreadState* __tstate = wxPyBeginAllowThreads();
6093 (arg1)->SetMinimumSizeX(arg2);
6094
6095 wxPyEndAllowThreads(__tstate);
6096 if (PyErr_Occurred()) SWIG_fail;
6097 }
6098 Py_INCREF(Py_None); resultobj = Py_None;
6099 return resultobj;
6100 fail:
6101 return NULL;
6102 }
6103
6104
6105 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6106 PyObject *resultobj;
6107 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6108 int arg2 ;
6109 PyObject * obj0 = 0 ;
6110 char *kwnames[] = {
6111 (char *) "self",(char *) "min", NULL
6112 };
6113
6114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeY",kwnames,&obj0,&arg2)) goto fail;
6115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6116 {
6117 PyThreadState* __tstate = wxPyBeginAllowThreads();
6118 (arg1)->SetMinimumSizeY(arg2);
6119
6120 wxPyEndAllowThreads(__tstate);
6121 if (PyErr_Occurred()) SWIG_fail;
6122 }
6123 Py_INCREF(Py_None); resultobj = Py_None;
6124 return resultobj;
6125 fail:
6126 return NULL;
6127 }
6128
6129
6130 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6131 PyObject *resultobj;
6132 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6133 int result;
6134 PyObject * obj0 = 0 ;
6135 char *kwnames[] = {
6136 (char *) "self", NULL
6137 };
6138
6139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
6140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6141 {
6142 PyThreadState* __tstate = wxPyBeginAllowThreads();
6143 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
6144
6145 wxPyEndAllowThreads(__tstate);
6146 if (PyErr_Occurred()) SWIG_fail;
6147 }
6148 resultobj = PyInt_FromLong((long)result);
6149 return resultobj;
6150 fail:
6151 return NULL;
6152 }
6153
6154
6155 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6156 PyObject *resultobj;
6157 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6158 int result;
6159 PyObject * obj0 = 0 ;
6160 char *kwnames[] = {
6161 (char *) "self", NULL
6162 };
6163
6164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
6165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6166 {
6167 PyThreadState* __tstate = wxPyBeginAllowThreads();
6168 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
6169
6170 wxPyEndAllowThreads(__tstate);
6171 if (PyErr_Occurred()) SWIG_fail;
6172 }
6173 resultobj = PyInt_FromLong((long)result);
6174 return resultobj;
6175 fail:
6176 return NULL;
6177 }
6178
6179
6180 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6181 PyObject *resultobj;
6182 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6183 int arg2 ;
6184 PyObject * obj0 = 0 ;
6185 char *kwnames[] = {
6186 (char *) "self",(char *) "max", NULL
6187 };
6188
6189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeX",kwnames,&obj0,&arg2)) goto fail;
6190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6191 {
6192 PyThreadState* __tstate = wxPyBeginAllowThreads();
6193 (arg1)->SetMaximumSizeX(arg2);
6194
6195 wxPyEndAllowThreads(__tstate);
6196 if (PyErr_Occurred()) SWIG_fail;
6197 }
6198 Py_INCREF(Py_None); resultobj = Py_None;
6199 return resultobj;
6200 fail:
6201 return NULL;
6202 }
6203
6204
6205 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6206 PyObject *resultobj;
6207 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6208 int arg2 ;
6209 PyObject * obj0 = 0 ;
6210 char *kwnames[] = {
6211 (char *) "self",(char *) "max", NULL
6212 };
6213
6214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeY",kwnames,&obj0,&arg2)) goto fail;
6215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6216 {
6217 PyThreadState* __tstate = wxPyBeginAllowThreads();
6218 (arg1)->SetMaximumSizeY(arg2);
6219
6220 wxPyEndAllowThreads(__tstate);
6221 if (PyErr_Occurred()) SWIG_fail;
6222 }
6223 Py_INCREF(Py_None); resultobj = Py_None;
6224 return resultobj;
6225 fail:
6226 return NULL;
6227 }
6228
6229
6230 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6231 PyObject *resultobj;
6232 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6233 int result;
6234 PyObject * obj0 = 0 ;
6235 char *kwnames[] = {
6236 (char *) "self", NULL
6237 };
6238
6239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
6240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6241 {
6242 PyThreadState* __tstate = wxPyBeginAllowThreads();
6243 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
6244
6245 wxPyEndAllowThreads(__tstate);
6246 if (PyErr_Occurred()) SWIG_fail;
6247 }
6248 resultobj = PyInt_FromLong((long)result);
6249 return resultobj;
6250 fail:
6251 return NULL;
6252 }
6253
6254
6255 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6256 PyObject *resultobj;
6257 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6258 int result;
6259 PyObject * obj0 = 0 ;
6260 char *kwnames[] = {
6261 (char *) "self", NULL
6262 };
6263
6264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
6265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6266 {
6267 PyThreadState* __tstate = wxPyBeginAllowThreads();
6268 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
6269
6270 wxPyEndAllowThreads(__tstate);
6271 if (PyErr_Occurred()) SWIG_fail;
6272 }
6273 resultobj = PyInt_FromLong((long)result);
6274 return resultobj;
6275 fail:
6276 return NULL;
6277 }
6278
6279
6280 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6281 PyObject *resultobj;
6282 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6283 int arg2 ;
6284 int arg3 ;
6285 int arg4 = (int) 2 ;
6286 int result;
6287 PyObject * obj0 = 0 ;
6288 char *kwnames[] = {
6289 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6290 };
6291
6292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SashWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
6293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6294 {
6295 PyThreadState* __tstate = wxPyBeginAllowThreads();
6296 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
6297
6298 wxPyEndAllowThreads(__tstate);
6299 if (PyErr_Occurred()) SWIG_fail;
6300 }
6301 resultobj = PyInt_FromLong((long)result);
6302 return resultobj;
6303 fail:
6304 return NULL;
6305 }
6306
6307
6308 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6309 PyObject *resultobj;
6310 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6311 PyObject * obj0 = 0 ;
6312 char *kwnames[] = {
6313 (char *) "self", NULL
6314 };
6315
6316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
6317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6318 {
6319 PyThreadState* __tstate = wxPyBeginAllowThreads();
6320 (arg1)->SizeWindows();
6321
6322 wxPyEndAllowThreads(__tstate);
6323 if (PyErr_Occurred()) SWIG_fail;
6324 }
6325 Py_INCREF(Py_None); resultobj = Py_None;
6326 return resultobj;
6327 fail:
6328 return NULL;
6329 }
6330
6331
6332 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
6333 PyObject *obj;
6334 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6335 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
6336 Py_INCREF(obj);
6337 return Py_BuildValue((char *)"");
6338 }
6339 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6340 PyObject *resultobj;
6341 int arg1 = (int) 0 ;
6342 int arg2 = (int) wxSASH_NONE ;
6343 wxSashEvent *result;
6344 char *kwnames[] = {
6345 (char *) "id",(char *) "edge", NULL
6346 };
6347
6348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_SashEvent",kwnames,&arg1,&arg2)) goto fail;
6349 {
6350 PyThreadState* __tstate = wxPyBeginAllowThreads();
6351 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
6352
6353 wxPyEndAllowThreads(__tstate);
6354 if (PyErr_Occurred()) SWIG_fail;
6355 }
6356 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashEvent, 1);
6357 return resultobj;
6358 fail:
6359 return NULL;
6360 }
6361
6362
6363 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6364 PyObject *resultobj;
6365 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6366 int arg2 ;
6367 PyObject * obj0 = 0 ;
6368 char *kwnames[] = {
6369 (char *) "self",(char *) "edge", NULL
6370 };
6371
6372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetEdge",kwnames,&obj0,&arg2)) goto fail;
6373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6374 {
6375 PyThreadState* __tstate = wxPyBeginAllowThreads();
6376 (arg1)->SetEdge((wxSashEdgePosition )arg2);
6377
6378 wxPyEndAllowThreads(__tstate);
6379 if (PyErr_Occurred()) SWIG_fail;
6380 }
6381 Py_INCREF(Py_None); resultobj = Py_None;
6382 return resultobj;
6383 fail:
6384 return NULL;
6385 }
6386
6387
6388 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6389 PyObject *resultobj;
6390 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6391 int result;
6392 PyObject * obj0 = 0 ;
6393 char *kwnames[] = {
6394 (char *) "self", NULL
6395 };
6396
6397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
6398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6399 {
6400 PyThreadState* __tstate = wxPyBeginAllowThreads();
6401 result = (int)((wxSashEvent const *)arg1)->GetEdge();
6402
6403 wxPyEndAllowThreads(__tstate);
6404 if (PyErr_Occurred()) SWIG_fail;
6405 }
6406 resultobj = PyInt_FromLong((long)result);
6407 return resultobj;
6408 fail:
6409 return NULL;
6410 }
6411
6412
6413 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6414 PyObject *resultobj;
6415 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6416 wxRect *arg2 = 0 ;
6417 wxRect temp2 ;
6418 PyObject * obj0 = 0 ;
6419 PyObject * obj1 = 0 ;
6420 char *kwnames[] = {
6421 (char *) "self",(char *) "rect", NULL
6422 };
6423
6424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
6425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6426 {
6427 arg2 = &temp2;
6428 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6429 }
6430 {
6431 PyThreadState* __tstate = wxPyBeginAllowThreads();
6432 (arg1)->SetDragRect((wxRect const &)*arg2);
6433
6434 wxPyEndAllowThreads(__tstate);
6435 if (PyErr_Occurred()) SWIG_fail;
6436 }
6437 Py_INCREF(Py_None); resultobj = Py_None;
6438 return resultobj;
6439 fail:
6440 return NULL;
6441 }
6442
6443
6444 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6445 PyObject *resultobj;
6446 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6447 wxRect result;
6448 PyObject * obj0 = 0 ;
6449 char *kwnames[] = {
6450 (char *) "self", NULL
6451 };
6452
6453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
6454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6455 {
6456 PyThreadState* __tstate = wxPyBeginAllowThreads();
6457 result = ((wxSashEvent const *)arg1)->GetDragRect();
6458
6459 wxPyEndAllowThreads(__tstate);
6460 if (PyErr_Occurred()) SWIG_fail;
6461 }
6462 {
6463 wxRect * resultptr;
6464 resultptr = new wxRect((wxRect &) result);
6465 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
6466 }
6467 return resultobj;
6468 fail:
6469 return NULL;
6470 }
6471
6472
6473 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6474 PyObject *resultobj;
6475 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6476 int arg2 ;
6477 PyObject * obj0 = 0 ;
6478 char *kwnames[] = {
6479 (char *) "self",(char *) "status", NULL
6480 };
6481
6482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetDragStatus",kwnames,&obj0,&arg2)) goto fail;
6483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6484 {
6485 PyThreadState* __tstate = wxPyBeginAllowThreads();
6486 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
6487
6488 wxPyEndAllowThreads(__tstate);
6489 if (PyErr_Occurred()) SWIG_fail;
6490 }
6491 Py_INCREF(Py_None); resultobj = Py_None;
6492 return resultobj;
6493 fail:
6494 return NULL;
6495 }
6496
6497
6498 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6499 PyObject *resultobj;
6500 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6501 int result;
6502 PyObject * obj0 = 0 ;
6503 char *kwnames[] = {
6504 (char *) "self", NULL
6505 };
6506
6507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
6508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6509 {
6510 PyThreadState* __tstate = wxPyBeginAllowThreads();
6511 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
6512
6513 wxPyEndAllowThreads(__tstate);
6514 if (PyErr_Occurred()) SWIG_fail;
6515 }
6516 resultobj = PyInt_FromLong((long)result);
6517 return resultobj;
6518 fail:
6519 return NULL;
6520 }
6521
6522
6523 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
6524 PyObject *obj;
6525 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6526 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
6527 Py_INCREF(obj);
6528 return Py_BuildValue((char *)"");
6529 }
6530 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6531 PyObject *resultobj;
6532 int arg1 = (int) 0 ;
6533 wxQueryLayoutInfoEvent *result;
6534 char *kwnames[] = {
6535 (char *) "id", NULL
6536 };
6537
6538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_QueryLayoutInfoEvent",kwnames,&arg1)) goto fail;
6539 {
6540 PyThreadState* __tstate = wxPyBeginAllowThreads();
6541 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
6542
6543 wxPyEndAllowThreads(__tstate);
6544 if (PyErr_Occurred()) SWIG_fail;
6545 }
6546 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
6547 return resultobj;
6548 fail:
6549 return NULL;
6550 }
6551
6552
6553 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6554 PyObject *resultobj;
6555 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6556 int arg2 ;
6557 PyObject * obj0 = 0 ;
6558 char *kwnames[] = {
6559 (char *) "self",(char *) "length", NULL
6560 };
6561
6562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&arg2)) goto fail;
6563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6564 {
6565 PyThreadState* __tstate = wxPyBeginAllowThreads();
6566 (arg1)->SetRequestedLength(arg2);
6567
6568 wxPyEndAllowThreads(__tstate);
6569 if (PyErr_Occurred()) SWIG_fail;
6570 }
6571 Py_INCREF(Py_None); resultobj = Py_None;
6572 return resultobj;
6573 fail:
6574 return NULL;
6575 }
6576
6577
6578 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6579 PyObject *resultobj;
6580 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6581 int result;
6582 PyObject * obj0 = 0 ;
6583 char *kwnames[] = {
6584 (char *) "self", NULL
6585 };
6586
6587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
6588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6589 {
6590 PyThreadState* __tstate = wxPyBeginAllowThreads();
6591 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
6592
6593 wxPyEndAllowThreads(__tstate);
6594 if (PyErr_Occurred()) SWIG_fail;
6595 }
6596 resultobj = PyInt_FromLong((long)result);
6597 return resultobj;
6598 fail:
6599 return NULL;
6600 }
6601
6602
6603 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6604 PyObject *resultobj;
6605 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6606 int arg2 ;
6607 PyObject * obj0 = 0 ;
6608 char *kwnames[] = {
6609 (char *) "self",(char *) "flags", NULL
6610 };
6611
6612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6614 {
6615 PyThreadState* __tstate = wxPyBeginAllowThreads();
6616 (arg1)->SetFlags(arg2);
6617
6618 wxPyEndAllowThreads(__tstate);
6619 if (PyErr_Occurred()) SWIG_fail;
6620 }
6621 Py_INCREF(Py_None); resultobj = Py_None;
6622 return resultobj;
6623 fail:
6624 return NULL;
6625 }
6626
6627
6628 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6629 PyObject *resultobj;
6630 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6631 int result;
6632 PyObject * obj0 = 0 ;
6633 char *kwnames[] = {
6634 (char *) "self", NULL
6635 };
6636
6637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
6638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6639 {
6640 PyThreadState* __tstate = wxPyBeginAllowThreads();
6641 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
6642
6643 wxPyEndAllowThreads(__tstate);
6644 if (PyErr_Occurred()) SWIG_fail;
6645 }
6646 resultobj = PyInt_FromLong((long)result);
6647 return resultobj;
6648 fail:
6649 return NULL;
6650 }
6651
6652
6653 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6654 PyObject *resultobj;
6655 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6656 wxSize *arg2 = 0 ;
6657 wxSize temp2 ;
6658 PyObject * obj0 = 0 ;
6659 PyObject * obj1 = 0 ;
6660 char *kwnames[] = {
6661 (char *) "self",(char *) "size", NULL
6662 };
6663
6664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
6665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6666 {
6667 arg2 = &temp2;
6668 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
6669 }
6670 {
6671 PyThreadState* __tstate = wxPyBeginAllowThreads();
6672 (arg1)->SetSize((wxSize const &)*arg2);
6673
6674 wxPyEndAllowThreads(__tstate);
6675 if (PyErr_Occurred()) SWIG_fail;
6676 }
6677 Py_INCREF(Py_None); resultobj = Py_None;
6678 return resultobj;
6679 fail:
6680 return NULL;
6681 }
6682
6683
6684 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6685 PyObject *resultobj;
6686 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6687 wxSize result;
6688 PyObject * obj0 = 0 ;
6689 char *kwnames[] = {
6690 (char *) "self", NULL
6691 };
6692
6693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
6694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6695 {
6696 PyThreadState* __tstate = wxPyBeginAllowThreads();
6697 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
6698
6699 wxPyEndAllowThreads(__tstate);
6700 if (PyErr_Occurred()) SWIG_fail;
6701 }
6702 {
6703 wxSize * resultptr;
6704 resultptr = new wxSize((wxSize &) result);
6705 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
6706 }
6707 return resultobj;
6708 fail:
6709 return NULL;
6710 }
6711
6712
6713 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6714 PyObject *resultobj;
6715 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6716 int arg2 ;
6717 PyObject * obj0 = 0 ;
6718 char *kwnames[] = {
6719 (char *) "self",(char *) "orient", NULL
6720 };
6721
6722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
6723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6724 {
6725 PyThreadState* __tstate = wxPyBeginAllowThreads();
6726 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
6727
6728 wxPyEndAllowThreads(__tstate);
6729 if (PyErr_Occurred()) SWIG_fail;
6730 }
6731 Py_INCREF(Py_None); resultobj = Py_None;
6732 return resultobj;
6733 fail:
6734 return NULL;
6735 }
6736
6737
6738 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6739 PyObject *resultobj;
6740 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6741 int result;
6742 PyObject * obj0 = 0 ;
6743 char *kwnames[] = {
6744 (char *) "self", NULL
6745 };
6746
6747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
6748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6749 {
6750 PyThreadState* __tstate = wxPyBeginAllowThreads();
6751 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
6752
6753 wxPyEndAllowThreads(__tstate);
6754 if (PyErr_Occurred()) SWIG_fail;
6755 }
6756 resultobj = PyInt_FromLong((long)result);
6757 return resultobj;
6758 fail:
6759 return NULL;
6760 }
6761
6762
6763 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6764 PyObject *resultobj;
6765 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6766 int arg2 ;
6767 PyObject * obj0 = 0 ;
6768 char *kwnames[] = {
6769 (char *) "self",(char *) "align", NULL
6770 };
6771
6772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
6773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6774 {
6775 PyThreadState* __tstate = wxPyBeginAllowThreads();
6776 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
6777
6778 wxPyEndAllowThreads(__tstate);
6779 if (PyErr_Occurred()) SWIG_fail;
6780 }
6781 Py_INCREF(Py_None); resultobj = Py_None;
6782 return resultobj;
6783 fail:
6784 return NULL;
6785 }
6786
6787
6788 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6789 PyObject *resultobj;
6790 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6791 int result;
6792 PyObject * obj0 = 0 ;
6793 char *kwnames[] = {
6794 (char *) "self", NULL
6795 };
6796
6797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
6798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6799 {
6800 PyThreadState* __tstate = wxPyBeginAllowThreads();
6801 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
6802
6803 wxPyEndAllowThreads(__tstate);
6804 if (PyErr_Occurred()) SWIG_fail;
6805 }
6806 resultobj = PyInt_FromLong((long)result);
6807 return resultobj;
6808 fail:
6809 return NULL;
6810 }
6811
6812
6813 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
6814 PyObject *obj;
6815 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6816 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
6817 Py_INCREF(obj);
6818 return Py_BuildValue((char *)"");
6819 }
6820 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6821 PyObject *resultobj;
6822 int arg1 = (int) 0 ;
6823 wxCalculateLayoutEvent *result;
6824 char *kwnames[] = {
6825 (char *) "id", NULL
6826 };
6827
6828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_CalculateLayoutEvent",kwnames,&arg1)) goto fail;
6829 {
6830 PyThreadState* __tstate = wxPyBeginAllowThreads();
6831 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
6832
6833 wxPyEndAllowThreads(__tstate);
6834 if (PyErr_Occurred()) SWIG_fail;
6835 }
6836 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCalculateLayoutEvent, 1);
6837 return resultobj;
6838 fail:
6839 return NULL;
6840 }
6841
6842
6843 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6844 PyObject *resultobj;
6845 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6846 int arg2 ;
6847 PyObject * obj0 = 0 ;
6848 char *kwnames[] = {
6849 (char *) "self",(char *) "flags", NULL
6850 };
6851
6852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6854 {
6855 PyThreadState* __tstate = wxPyBeginAllowThreads();
6856 (arg1)->SetFlags(arg2);
6857
6858 wxPyEndAllowThreads(__tstate);
6859 if (PyErr_Occurred()) SWIG_fail;
6860 }
6861 Py_INCREF(Py_None); resultobj = Py_None;
6862 return resultobj;
6863 fail:
6864 return NULL;
6865 }
6866
6867
6868 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6869 PyObject *resultobj;
6870 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6871 int result;
6872 PyObject * obj0 = 0 ;
6873 char *kwnames[] = {
6874 (char *) "self", NULL
6875 };
6876
6877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
6878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6879 {
6880 PyThreadState* __tstate = wxPyBeginAllowThreads();
6881 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
6882
6883 wxPyEndAllowThreads(__tstate);
6884 if (PyErr_Occurred()) SWIG_fail;
6885 }
6886 resultobj = PyInt_FromLong((long)result);
6887 return resultobj;
6888 fail:
6889 return NULL;
6890 }
6891
6892
6893 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6894 PyObject *resultobj;
6895 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6896 wxRect *arg2 = 0 ;
6897 wxRect temp2 ;
6898 PyObject * obj0 = 0 ;
6899 PyObject * obj1 = 0 ;
6900 char *kwnames[] = {
6901 (char *) "self",(char *) "rect", NULL
6902 };
6903
6904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
6905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6906 {
6907 arg2 = &temp2;
6908 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6909 }
6910 {
6911 PyThreadState* __tstate = wxPyBeginAllowThreads();
6912 (arg1)->SetRect((wxRect const &)*arg2);
6913
6914 wxPyEndAllowThreads(__tstate);
6915 if (PyErr_Occurred()) SWIG_fail;
6916 }
6917 Py_INCREF(Py_None); resultobj = Py_None;
6918 return resultobj;
6919 fail:
6920 return NULL;
6921 }
6922
6923
6924 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6925 PyObject *resultobj;
6926 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6927 wxRect result;
6928 PyObject * obj0 = 0 ;
6929 char *kwnames[] = {
6930 (char *) "self", NULL
6931 };
6932
6933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
6934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6935 {
6936 PyThreadState* __tstate = wxPyBeginAllowThreads();
6937 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
6938
6939 wxPyEndAllowThreads(__tstate);
6940 if (PyErr_Occurred()) SWIG_fail;
6941 }
6942 {
6943 wxRect * resultptr;
6944 resultptr = new wxRect((wxRect &) result);
6945 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
6946 }
6947 return resultobj;
6948 fail:
6949 return NULL;
6950 }
6951
6952
6953 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
6954 PyObject *obj;
6955 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6956 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
6957 Py_INCREF(obj);
6958 return Py_BuildValue((char *)"");
6959 }
6960 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6961 PyObject *resultobj;
6962 wxWindow *arg1 = (wxWindow *) 0 ;
6963 int arg2 ;
6964 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6965 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6966 wxSize const &arg4_defvalue = wxDefaultSize ;
6967 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6968 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6969 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
6970 wxString *arg6 = (wxString *) &arg6_defvalue ;
6971 wxSashLayoutWindow *result;
6972 wxPoint temp3 ;
6973 wxSize temp4 ;
6974 bool temp6 = False ;
6975 PyObject * obj0 = 0 ;
6976 PyObject * obj2 = 0 ;
6977 PyObject * obj3 = 0 ;
6978 PyObject * obj5 = 0 ;
6979 char *kwnames[] = {
6980 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6981 };
6982
6983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashLayoutWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
6984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6985 if (obj2) {
6986 {
6987 arg3 = &temp3;
6988 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6989 }
6990 }
6991 if (obj3) {
6992 {
6993 arg4 = &temp4;
6994 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6995 }
6996 }
6997 if (obj5) {
6998 {
6999 arg6 = wxString_in_helper(obj5);
7000 if (arg6 == NULL) SWIG_fail;
7001 temp6 = True;
7002 }
7003 }
7004 {
7005 PyThreadState* __tstate = wxPyBeginAllowThreads();
7006 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7007
7008 wxPyEndAllowThreads(__tstate);
7009 if (PyErr_Occurred()) SWIG_fail;
7010 }
7011 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
7012 {
7013 if (temp6)
7014 delete arg6;
7015 }
7016 return resultobj;
7017 fail:
7018 {
7019 if (temp6)
7020 delete arg6;
7021 }
7022 return NULL;
7023 }
7024
7025
7026 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7027 PyObject *resultobj;
7028 wxSashLayoutWindow *result;
7029 char *kwnames[] = {
7030 NULL
7031 };
7032
7033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
7034 {
7035 PyThreadState* __tstate = wxPyBeginAllowThreads();
7036 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
7037
7038 wxPyEndAllowThreads(__tstate);
7039 if (PyErr_Occurred()) SWIG_fail;
7040 }
7041 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
7042 return resultobj;
7043 fail:
7044 return NULL;
7045 }
7046
7047
7048 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7049 PyObject *resultobj;
7050 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7051 wxWindow *arg2 = (wxWindow *) 0 ;
7052 int arg3 ;
7053 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7054 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7055 wxSize const &arg5_defvalue = wxDefaultSize ;
7056 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7057 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7058 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
7059 wxString *arg7 = (wxString *) &arg7_defvalue ;
7060 bool result;
7061 wxPoint temp4 ;
7062 wxSize temp5 ;
7063 bool temp7 = False ;
7064 PyObject * obj0 = 0 ;
7065 PyObject * obj1 = 0 ;
7066 PyObject * obj3 = 0 ;
7067 PyObject * obj4 = 0 ;
7068 PyObject * obj6 = 0 ;
7069 char *kwnames[] = {
7070 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7071 };
7072
7073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
7074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7075 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7076 if (obj3) {
7077 {
7078 arg4 = &temp4;
7079 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7080 }
7081 }
7082 if (obj4) {
7083 {
7084 arg5 = &temp5;
7085 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7086 }
7087 }
7088 if (obj6) {
7089 {
7090 arg7 = wxString_in_helper(obj6);
7091 if (arg7 == NULL) SWIG_fail;
7092 temp7 = True;
7093 }
7094 }
7095 {
7096 PyThreadState* __tstate = wxPyBeginAllowThreads();
7097 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7098
7099 wxPyEndAllowThreads(__tstate);
7100 if (PyErr_Occurred()) SWIG_fail;
7101 }
7102 resultobj = PyInt_FromLong((long)result);
7103 {
7104 if (temp7)
7105 delete arg7;
7106 }
7107 return resultobj;
7108 fail:
7109 {
7110 if (temp7)
7111 delete arg7;
7112 }
7113 return NULL;
7114 }
7115
7116
7117 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7118 PyObject *resultobj;
7119 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7120 int result;
7121 PyObject * obj0 = 0 ;
7122 char *kwnames[] = {
7123 (char *) "self", NULL
7124 };
7125
7126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
7127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7128 {
7129 PyThreadState* __tstate = wxPyBeginAllowThreads();
7130 result = (int)(arg1)->GetAlignment();
7131
7132 wxPyEndAllowThreads(__tstate);
7133 if (PyErr_Occurred()) SWIG_fail;
7134 }
7135 resultobj = PyInt_FromLong((long)result);
7136 return resultobj;
7137 fail:
7138 return NULL;
7139 }
7140
7141
7142 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7143 PyObject *resultobj;
7144 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7145 int result;
7146 PyObject * obj0 = 0 ;
7147 char *kwnames[] = {
7148 (char *) "self", NULL
7149 };
7150
7151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
7152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7153 {
7154 PyThreadState* __tstate = wxPyBeginAllowThreads();
7155 result = (int)(arg1)->GetOrientation();
7156
7157 wxPyEndAllowThreads(__tstate);
7158 if (PyErr_Occurred()) SWIG_fail;
7159 }
7160 resultobj = PyInt_FromLong((long)result);
7161 return resultobj;
7162 fail:
7163 return NULL;
7164 }
7165
7166
7167 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7168 PyObject *resultobj;
7169 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7170 int arg2 ;
7171 PyObject * obj0 = 0 ;
7172 char *kwnames[] = {
7173 (char *) "self",(char *) "alignment", NULL
7174 };
7175
7176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
7177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7178 {
7179 PyThreadState* __tstate = wxPyBeginAllowThreads();
7180 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7181
7182 wxPyEndAllowThreads(__tstate);
7183 if (PyErr_Occurred()) SWIG_fail;
7184 }
7185 Py_INCREF(Py_None); resultobj = Py_None;
7186 return resultobj;
7187 fail:
7188 return NULL;
7189 }
7190
7191
7192 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7193 PyObject *resultobj;
7194 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7195 wxSize *arg2 = 0 ;
7196 wxSize temp2 ;
7197 PyObject * obj0 = 0 ;
7198 PyObject * obj1 = 0 ;
7199 char *kwnames[] = {
7200 (char *) "self",(char *) "size", NULL
7201 };
7202
7203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
7204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7205 {
7206 arg2 = &temp2;
7207 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7208 }
7209 {
7210 PyThreadState* __tstate = wxPyBeginAllowThreads();
7211 (arg1)->SetDefaultSize((wxSize const &)*arg2);
7212
7213 wxPyEndAllowThreads(__tstate);
7214 if (PyErr_Occurred()) SWIG_fail;
7215 }
7216 Py_INCREF(Py_None); resultobj = Py_None;
7217 return resultobj;
7218 fail:
7219 return NULL;
7220 }
7221
7222
7223 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7224 PyObject *resultobj;
7225 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7226 int arg2 ;
7227 PyObject * obj0 = 0 ;
7228 char *kwnames[] = {
7229 (char *) "self",(char *) "orientation", NULL
7230 };
7231
7232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
7233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7234 {
7235 PyThreadState* __tstate = wxPyBeginAllowThreads();
7236 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7237
7238 wxPyEndAllowThreads(__tstate);
7239 if (PyErr_Occurred()) SWIG_fail;
7240 }
7241 Py_INCREF(Py_None); resultobj = Py_None;
7242 return resultobj;
7243 fail:
7244 return NULL;
7245 }
7246
7247
7248 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
7249 PyObject *obj;
7250 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7251 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
7252 Py_INCREF(obj);
7253 return Py_BuildValue((char *)"");
7254 }
7255 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7256 PyObject *resultobj;
7257 wxLayoutAlgorithm *result;
7258 char *kwnames[] = {
7259 NULL
7260 };
7261
7262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
7263 {
7264 PyThreadState* __tstate = wxPyBeginAllowThreads();
7265 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
7266
7267 wxPyEndAllowThreads(__tstate);
7268 if (PyErr_Occurred()) SWIG_fail;
7269 }
7270 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutAlgorithm, 1);
7271 return resultobj;
7272 fail:
7273 return NULL;
7274 }
7275
7276
7277 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7278 PyObject *resultobj;
7279 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7280 PyObject * obj0 = 0 ;
7281 char *kwnames[] = {
7282 (char *) "self", NULL
7283 };
7284
7285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
7286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7287 {
7288 PyThreadState* __tstate = wxPyBeginAllowThreads();
7289 delete arg1;
7290
7291 wxPyEndAllowThreads(__tstate);
7292 if (PyErr_Occurred()) SWIG_fail;
7293 }
7294 Py_INCREF(Py_None); resultobj = Py_None;
7295 return resultobj;
7296 fail:
7297 return NULL;
7298 }
7299
7300
7301 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7302 PyObject *resultobj;
7303 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7304 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
7305 wxRect *arg3 = (wxRect *) NULL ;
7306 bool result;
7307 PyObject * obj0 = 0 ;
7308 PyObject * obj1 = 0 ;
7309 PyObject * obj2 = 0 ;
7310 char *kwnames[] = {
7311 (char *) "self",(char *) "frame",(char *) "rect", NULL
7312 };
7313
7314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7316 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7317 if (obj2) {
7318 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7319 }
7320 {
7321 PyThreadState* __tstate = wxPyBeginAllowThreads();
7322 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
7323
7324 wxPyEndAllowThreads(__tstate);
7325 if (PyErr_Occurred()) SWIG_fail;
7326 }
7327 resultobj = PyInt_FromLong((long)result);
7328 return resultobj;
7329 fail:
7330 return NULL;
7331 }
7332
7333
7334 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7335 PyObject *resultobj;
7336 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7337 wxFrame *arg2 = (wxFrame *) 0 ;
7338 wxWindow *arg3 = (wxWindow *) NULL ;
7339 bool result;
7340 PyObject * obj0 = 0 ;
7341 PyObject * obj1 = 0 ;
7342 PyObject * obj2 = 0 ;
7343 char *kwnames[] = {
7344 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
7345 };
7346
7347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7349 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7350 if (obj2) {
7351 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7352 }
7353 {
7354 PyThreadState* __tstate = wxPyBeginAllowThreads();
7355 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
7356
7357 wxPyEndAllowThreads(__tstate);
7358 if (PyErr_Occurred()) SWIG_fail;
7359 }
7360 resultobj = PyInt_FromLong((long)result);
7361 return resultobj;
7362 fail:
7363 return NULL;
7364 }
7365
7366
7367 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7368 PyObject *resultobj;
7369 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7370 wxWindow *arg2 = (wxWindow *) 0 ;
7371 wxWindow *arg3 = (wxWindow *) NULL ;
7372 bool result;
7373 PyObject * obj0 = 0 ;
7374 PyObject * obj1 = 0 ;
7375 PyObject * obj2 = 0 ;
7376 char *kwnames[] = {
7377 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
7378 };
7379
7380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
7381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7382 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7383 if (obj2) {
7384 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7385 }
7386 {
7387 PyThreadState* __tstate = wxPyBeginAllowThreads();
7388 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
7389
7390 wxPyEndAllowThreads(__tstate);
7391 if (PyErr_Occurred()) SWIG_fail;
7392 }
7393 resultobj = PyInt_FromLong((long)result);
7394 return resultobj;
7395 fail:
7396 return NULL;
7397 }
7398
7399
7400 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
7401 PyObject *obj;
7402 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7403 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
7404 Py_INCREF(obj);
7405 return Py_BuildValue((char *)"");
7406 }
7407 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7408 PyObject *resultobj;
7409 wxWindow *arg1 = (wxWindow *) 0 ;
7410 int arg2 = (int) wxBORDER_NONE ;
7411 wxPopupWindow *result;
7412 PyObject * obj0 = 0 ;
7413 char *kwnames[] = {
7414 (char *) "parent",(char *) "flags", NULL
7415 };
7416
7417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupWindow",kwnames,&obj0,&arg2)) goto fail;
7418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7419 {
7420 PyThreadState* __tstate = wxPyBeginAllowThreads();
7421 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
7422
7423 wxPyEndAllowThreads(__tstate);
7424 if (PyErr_Occurred()) SWIG_fail;
7425 }
7426 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7427 return resultobj;
7428 fail:
7429 return NULL;
7430 }
7431
7432
7433 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7434 PyObject *resultobj;
7435 wxPopupWindow *result;
7436 char *kwnames[] = {
7437 NULL
7438 };
7439
7440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
7441 {
7442 PyThreadState* __tstate = wxPyBeginAllowThreads();
7443 result = (wxPopupWindow *)new wxPopupWindow();
7444
7445 wxPyEndAllowThreads(__tstate);
7446 if (PyErr_Occurred()) SWIG_fail;
7447 }
7448 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7449 return resultobj;
7450 fail:
7451 return NULL;
7452 }
7453
7454
7455 static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7456 PyObject *resultobj;
7457 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
7458 wxWindow *arg2 = (wxWindow *) 0 ;
7459 int arg3 = (int) wxBORDER_NONE ;
7460 bool result;
7461 PyObject * obj0 = 0 ;
7462 PyObject * obj1 = 0 ;
7463 char *kwnames[] = {
7464 (char *) "self",(char *) "parent",(char *) "flags", NULL
7465 };
7466
7467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:PopupWindow_Create",kwnames,&obj0,&obj1,&arg3)) goto fail;
7468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7469 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7470 {
7471 PyThreadState* __tstate = wxPyBeginAllowThreads();
7472 result = (bool)(arg1)->Create(arg2,arg3);
7473
7474 wxPyEndAllowThreads(__tstate);
7475 if (PyErr_Occurred()) SWIG_fail;
7476 }
7477 resultobj = PyInt_FromLong((long)result);
7478 return resultobj;
7479 fail:
7480 return NULL;
7481 }
7482
7483
7484 static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
7485 PyObject *resultobj;
7486 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
7487 wxPoint *arg2 = 0 ;
7488 wxSize *arg3 = 0 ;
7489 wxPoint temp2 ;
7490 wxSize temp3 ;
7491 PyObject * obj0 = 0 ;
7492 PyObject * obj1 = 0 ;
7493 PyObject * obj2 = 0 ;
7494 char *kwnames[] = {
7495 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
7496 };
7497
7498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
7499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7500 {
7501 arg2 = &temp2;
7502 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7503 }
7504 {
7505 arg3 = &temp3;
7506 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
7507 }
7508 {
7509 PyThreadState* __tstate = wxPyBeginAllowThreads();
7510 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
7511
7512 wxPyEndAllowThreads(__tstate);
7513 if (PyErr_Occurred()) SWIG_fail;
7514 }
7515 Py_INCREF(Py_None); resultobj = Py_None;
7516 return resultobj;
7517 fail:
7518 return NULL;
7519 }
7520
7521
7522 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
7523 PyObject *obj;
7524 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7525 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
7526 Py_INCREF(obj);
7527 return Py_BuildValue((char *)"");
7528 }
7529 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7530 PyObject *resultobj;
7531 wxWindow *arg1 = (wxWindow *) 0 ;
7532 int arg2 = (int) wxBORDER_NONE ;
7533 wxPyPopupTransientWindow *result;
7534 PyObject * obj0 = 0 ;
7535 char *kwnames[] = {
7536 (char *) "parent",(char *) "style", NULL
7537 };
7538
7539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupTransientWindow",kwnames,&obj0,&arg2)) goto fail;
7540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7541 {
7542 PyThreadState* __tstate = wxPyBeginAllowThreads();
7543 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
7544
7545 wxPyEndAllowThreads(__tstate);
7546 if (PyErr_Occurred()) SWIG_fail;
7547 }
7548 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7549 return resultobj;
7550 fail:
7551 return NULL;
7552 }
7553
7554
7555 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7556 PyObject *resultobj;
7557 wxPyPopupTransientWindow *result;
7558 char *kwnames[] = {
7559 NULL
7560 };
7561
7562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
7563 {
7564 PyThreadState* __tstate = wxPyBeginAllowThreads();
7565 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
7566
7567 wxPyEndAllowThreads(__tstate);
7568 if (PyErr_Occurred()) SWIG_fail;
7569 }
7570 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7571 return resultobj;
7572 fail:
7573 return NULL;
7574 }
7575
7576
7577 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7578 PyObject *resultobj;
7579 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7580 PyObject *arg2 = (PyObject *) 0 ;
7581 PyObject *arg3 = (PyObject *) 0 ;
7582 PyObject * obj0 = 0 ;
7583 PyObject * obj1 = 0 ;
7584 PyObject * obj2 = 0 ;
7585 char *kwnames[] = {
7586 (char *) "self",(char *) "self",(char *) "_class", NULL
7587 };
7588
7589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7591 arg2 = obj1;
7592 arg3 = obj2;
7593 {
7594 PyThreadState* __tstate = wxPyBeginAllowThreads();
7595 (arg1)->_setCallbackInfo(arg2,arg3);
7596
7597 wxPyEndAllowThreads(__tstate);
7598 if (PyErr_Occurred()) SWIG_fail;
7599 }
7600 Py_INCREF(Py_None); resultobj = Py_None;
7601 return resultobj;
7602 fail:
7603 return NULL;
7604 }
7605
7606
7607 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
7608 PyObject *resultobj;
7609 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7610 wxWindow *arg2 = (wxWindow *) NULL ;
7611 PyObject * obj0 = 0 ;
7612 PyObject * obj1 = 0 ;
7613 char *kwnames[] = {
7614 (char *) "self",(char *) "focus", NULL
7615 };
7616
7617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
7618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7619 if (obj1) {
7620 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7621 }
7622 {
7623 PyThreadState* __tstate = wxPyBeginAllowThreads();
7624 (arg1)->Popup(arg2);
7625
7626 wxPyEndAllowThreads(__tstate);
7627 if (PyErr_Occurred()) SWIG_fail;
7628 }
7629 Py_INCREF(Py_None); resultobj = Py_None;
7630 return resultobj;
7631 fail:
7632 return NULL;
7633 }
7634
7635
7636 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
7637 PyObject *resultobj;
7638 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7639 PyObject * obj0 = 0 ;
7640 char *kwnames[] = {
7641 (char *) "self", NULL
7642 };
7643
7644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
7645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7646 {
7647 PyThreadState* __tstate = wxPyBeginAllowThreads();
7648 (arg1)->Dismiss();
7649
7650 wxPyEndAllowThreads(__tstate);
7651 if (PyErr_Occurred()) SWIG_fail;
7652 }
7653 Py_INCREF(Py_None); resultobj = Py_None;
7654 return resultobj;
7655 fail:
7656 return NULL;
7657 }
7658
7659
7660 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
7661 PyObject *obj;
7662 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7663 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
7664 Py_INCREF(obj);
7665 return Py_BuildValue((char *)"");
7666 }
7667 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7668 PyObject *resultobj;
7669 wxWindow *arg1 = (wxWindow *) 0 ;
7670 wxString *arg2 = 0 ;
7671 int arg3 = (int) 100 ;
7672 wxRect *arg4 = (wxRect *) NULL ;
7673 wxTipWindow *result;
7674 bool temp2 = False ;
7675 PyObject * obj0 = 0 ;
7676 PyObject * obj1 = 0 ;
7677 PyObject * obj3 = 0 ;
7678 char *kwnames[] = {
7679 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
7680 };
7681
7682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iO:new_TipWindow",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
7683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7684 {
7685 arg2 = wxString_in_helper(obj1);
7686 if (arg2 == NULL) SWIG_fail;
7687 temp2 = True;
7688 }
7689 if (obj3) {
7690 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7691 }
7692 {
7693 PyThreadState* __tstate = wxPyBeginAllowThreads();
7694 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
7695
7696 wxPyEndAllowThreads(__tstate);
7697 if (PyErr_Occurred()) SWIG_fail;
7698 }
7699 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipWindow, 1);
7700 {
7701 if (temp2)
7702 delete arg2;
7703 }
7704 return resultobj;
7705 fail:
7706 {
7707 if (temp2)
7708 delete arg2;
7709 }
7710 return NULL;
7711 }
7712
7713
7714 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7715 PyObject *resultobj;
7716 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7717 wxRect *arg2 = 0 ;
7718 wxRect temp2 ;
7719 PyObject * obj0 = 0 ;
7720 PyObject * obj1 = 0 ;
7721 char *kwnames[] = {
7722 (char *) "self",(char *) "rectBound", NULL
7723 };
7724
7725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
7726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7727 {
7728 arg2 = &temp2;
7729 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7730 }
7731 {
7732 PyThreadState* __tstate = wxPyBeginAllowThreads();
7733 (arg1)->SetBoundingRect((wxRect const &)*arg2);
7734
7735 wxPyEndAllowThreads(__tstate);
7736 if (PyErr_Occurred()) SWIG_fail;
7737 }
7738 Py_INCREF(Py_None); resultobj = Py_None;
7739 return resultobj;
7740 fail:
7741 return NULL;
7742 }
7743
7744
7745 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
7746 PyObject *resultobj;
7747 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7748 PyObject * obj0 = 0 ;
7749 char *kwnames[] = {
7750 (char *) "self", NULL
7751 };
7752
7753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
7754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7755 {
7756 PyThreadState* __tstate = wxPyBeginAllowThreads();
7757 (arg1)->Close();
7758
7759 wxPyEndAllowThreads(__tstate);
7760 if (PyErr_Occurred()) SWIG_fail;
7761 }
7762 Py_INCREF(Py_None); resultobj = Py_None;
7763 return resultobj;
7764 fail:
7765 return NULL;
7766 }
7767
7768
7769 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
7770 PyObject *obj;
7771 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7772 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
7773 Py_INCREF(obj);
7774 return Py_BuildValue((char *)"");
7775 }
7776 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7777 PyObject *resultobj;
7778 wxWindow *arg1 = (wxWindow *) 0 ;
7779 int arg2 = (int) wxID_ANY ;
7780 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7781 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7782 wxSize const &arg4_defvalue = wxDefaultSize ;
7783 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7784 long arg5 = (long) 0 ;
7785 wxString const &arg6_defvalue = wxPyPanelNameStr ;
7786 wxString *arg6 = (wxString *) &arg6_defvalue ;
7787 wxPyVScrolledWindow *result;
7788 wxPoint temp3 ;
7789 wxSize temp4 ;
7790 bool temp6 = False ;
7791 PyObject * obj0 = 0 ;
7792 PyObject * obj2 = 0 ;
7793 PyObject * obj3 = 0 ;
7794 PyObject * obj5 = 0 ;
7795 char *kwnames[] = {
7796 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7797 };
7798
7799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
7800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7801 if (obj2) {
7802 {
7803 arg3 = &temp3;
7804 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7805 }
7806 }
7807 if (obj3) {
7808 {
7809 arg4 = &temp4;
7810 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7811 }
7812 }
7813 if (obj5) {
7814 {
7815 arg6 = wxString_in_helper(obj5);
7816 if (arg6 == NULL) SWIG_fail;
7817 temp6 = True;
7818 }
7819 }
7820 {
7821 PyThreadState* __tstate = wxPyBeginAllowThreads();
7822 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7823
7824 wxPyEndAllowThreads(__tstate);
7825 if (PyErr_Occurred()) SWIG_fail;
7826 }
7827 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
7828 {
7829 if (temp6)
7830 delete arg6;
7831 }
7832 return resultobj;
7833 fail:
7834 {
7835 if (temp6)
7836 delete arg6;
7837 }
7838 return NULL;
7839 }
7840
7841
7842 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7843 PyObject *resultobj;
7844 wxPyVScrolledWindow *result;
7845 char *kwnames[] = {
7846 NULL
7847 };
7848
7849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
7850 {
7851 PyThreadState* __tstate = wxPyBeginAllowThreads();
7852 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
7853
7854 wxPyEndAllowThreads(__tstate);
7855 if (PyErr_Occurred()) SWIG_fail;
7856 }
7857 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
7858 return resultobj;
7859 fail:
7860 return NULL;
7861 }
7862
7863
7864 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7865 PyObject *resultobj;
7866 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7867 PyObject *arg2 = (PyObject *) 0 ;
7868 PyObject *arg3 = (PyObject *) 0 ;
7869 PyObject * obj0 = 0 ;
7870 PyObject * obj1 = 0 ;
7871 PyObject * obj2 = 0 ;
7872 char *kwnames[] = {
7873 (char *) "self",(char *) "self",(char *) "_class", NULL
7874 };
7875
7876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7878 arg2 = obj1;
7879 arg3 = obj2;
7880 {
7881 PyThreadState* __tstate = wxPyBeginAllowThreads();
7882 (arg1)->_setCallbackInfo(arg2,arg3);
7883
7884 wxPyEndAllowThreads(__tstate);
7885 if (PyErr_Occurred()) SWIG_fail;
7886 }
7887 Py_INCREF(Py_None); resultobj = Py_None;
7888 return resultobj;
7889 fail:
7890 return NULL;
7891 }
7892
7893
7894 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7895 PyObject *resultobj;
7896 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7897 wxWindow *arg2 = (wxWindow *) 0 ;
7898 int arg3 = (int) wxID_ANY ;
7899 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7900 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7901 wxSize const &arg5_defvalue = wxDefaultSize ;
7902 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7903 long arg6 = (long) 0 ;
7904 wxString const &arg7_defvalue = wxPyPanelNameStr ;
7905 wxString *arg7 = (wxString *) &arg7_defvalue ;
7906 bool result;
7907 wxPoint temp4 ;
7908 wxSize temp5 ;
7909 bool temp7 = False ;
7910 PyObject * obj0 = 0 ;
7911 PyObject * obj1 = 0 ;
7912 PyObject * obj3 = 0 ;
7913 PyObject * obj4 = 0 ;
7914 PyObject * obj6 = 0 ;
7915 char *kwnames[] = {
7916 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7917 };
7918
7919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
7920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7921 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7922 if (obj3) {
7923 {
7924 arg4 = &temp4;
7925 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7926 }
7927 }
7928 if (obj4) {
7929 {
7930 arg5 = &temp5;
7931 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7932 }
7933 }
7934 if (obj6) {
7935 {
7936 arg7 = wxString_in_helper(obj6);
7937 if (arg7 == NULL) SWIG_fail;
7938 temp7 = True;
7939 }
7940 }
7941 {
7942 PyThreadState* __tstate = wxPyBeginAllowThreads();
7943 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7944
7945 wxPyEndAllowThreads(__tstate);
7946 if (PyErr_Occurred()) SWIG_fail;
7947 }
7948 resultobj = PyInt_FromLong((long)result);
7949 {
7950 if (temp7)
7951 delete arg7;
7952 }
7953 return resultobj;
7954 fail:
7955 {
7956 if (temp7)
7957 delete arg7;
7958 }
7959 return NULL;
7960 }
7961
7962
7963 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7964 PyObject *resultobj;
7965 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7966 size_t arg2 ;
7967 PyObject * obj0 = 0 ;
7968 PyObject * obj1 = 0 ;
7969 char *kwnames[] = {
7970 (char *) "self",(char *) "count", NULL
7971 };
7972
7973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
7974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7975 arg2 = (size_t) PyInt_AsLong(obj1);
7976 if (PyErr_Occurred()) SWIG_fail;
7977 {
7978 PyThreadState* __tstate = wxPyBeginAllowThreads();
7979 (arg1)->SetLineCount(arg2);
7980
7981 wxPyEndAllowThreads(__tstate);
7982 if (PyErr_Occurred()) SWIG_fail;
7983 }
7984 Py_INCREF(Py_None); resultobj = Py_None;
7985 return resultobj;
7986 fail:
7987 return NULL;
7988 }
7989
7990
7991 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7992 PyObject *resultobj;
7993 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7994 size_t arg2 ;
7995 bool result;
7996 PyObject * obj0 = 0 ;
7997 PyObject * obj1 = 0 ;
7998 char *kwnames[] = {
7999 (char *) "self",(char *) "line", NULL
8000 };
8001
8002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
8003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8004 arg2 = (size_t) PyInt_AsLong(obj1);
8005 if (PyErr_Occurred()) SWIG_fail;
8006 {
8007 PyThreadState* __tstate = wxPyBeginAllowThreads();
8008 result = (bool)(arg1)->ScrollToLine(arg2);
8009
8010 wxPyEndAllowThreads(__tstate);
8011 if (PyErr_Occurred()) SWIG_fail;
8012 }
8013 resultobj = PyInt_FromLong((long)result);
8014 return resultobj;
8015 fail:
8016 return NULL;
8017 }
8018
8019
8020 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8021 PyObject *resultobj;
8022 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8023 int arg2 ;
8024 bool result;
8025 PyObject * obj0 = 0 ;
8026 char *kwnames[] = {
8027 (char *) "self",(char *) "lines", NULL
8028 };
8029
8030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollLines",kwnames,&obj0,&arg2)) goto fail;
8031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8032 {
8033 PyThreadState* __tstate = wxPyBeginAllowThreads();
8034 result = (bool)(arg1)->ScrollLines(arg2);
8035
8036 wxPyEndAllowThreads(__tstate);
8037 if (PyErr_Occurred()) SWIG_fail;
8038 }
8039 resultobj = PyInt_FromLong((long)result);
8040 return resultobj;
8041 fail:
8042 return NULL;
8043 }
8044
8045
8046 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
8047 PyObject *resultobj;
8048 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8049 int arg2 ;
8050 bool result;
8051 PyObject * obj0 = 0 ;
8052 char *kwnames[] = {
8053 (char *) "self",(char *) "pages", NULL
8054 };
8055
8056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollPages",kwnames,&obj0,&arg2)) goto fail;
8057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8058 {
8059 PyThreadState* __tstate = wxPyBeginAllowThreads();
8060 result = (bool)(arg1)->ScrollPages(arg2);
8061
8062 wxPyEndAllowThreads(__tstate);
8063 if (PyErr_Occurred()) SWIG_fail;
8064 }
8065 resultobj = PyInt_FromLong((long)result);
8066 return resultobj;
8067 fail:
8068 return NULL;
8069 }
8070
8071
8072 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8073 PyObject *resultobj;
8074 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8075 size_t arg2 ;
8076 PyObject * obj0 = 0 ;
8077 PyObject * obj1 = 0 ;
8078 char *kwnames[] = {
8079 (char *) "self",(char *) "line", NULL
8080 };
8081
8082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
8083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8084 arg2 = (size_t) PyInt_AsLong(obj1);
8085 if (PyErr_Occurred()) SWIG_fail;
8086 {
8087 PyThreadState* __tstate = wxPyBeginAllowThreads();
8088 (arg1)->RefreshLine(arg2);
8089
8090 wxPyEndAllowThreads(__tstate);
8091 if (PyErr_Occurred()) SWIG_fail;
8092 }
8093 Py_INCREF(Py_None); resultobj = Py_None;
8094 return resultobj;
8095 fail:
8096 return NULL;
8097 }
8098
8099
8100 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8101 PyObject *resultobj;
8102 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8103 size_t arg2 ;
8104 size_t arg3 ;
8105 PyObject * obj0 = 0 ;
8106 PyObject * obj1 = 0 ;
8107 PyObject * obj2 = 0 ;
8108 char *kwnames[] = {
8109 (char *) "self",(char *) "from",(char *) "to", NULL
8110 };
8111
8112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
8113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8114 arg2 = (size_t) PyInt_AsLong(obj1);
8115 if (PyErr_Occurred()) SWIG_fail;
8116 arg3 = (size_t) PyInt_AsLong(obj2);
8117 if (PyErr_Occurred()) SWIG_fail;
8118 {
8119 PyThreadState* __tstate = wxPyBeginAllowThreads();
8120 (arg1)->RefreshLines(arg2,arg3);
8121
8122 wxPyEndAllowThreads(__tstate);
8123 if (PyErr_Occurred()) SWIG_fail;
8124 }
8125 Py_INCREF(Py_None); resultobj = Py_None;
8126 return resultobj;
8127 fail:
8128 return NULL;
8129 }
8130
8131
8132 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
8133 PyObject *resultobj;
8134 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8135 int arg2 ;
8136 int arg3 ;
8137 int result;
8138 PyObject * obj0 = 0 ;
8139 char *kwnames[] = {
8140 (char *) "self",(char *) "x",(char *) "y", NULL
8141 };
8142
8143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VScrolledWindow_HitTestXT",kwnames,&obj0,&arg2,&arg3)) goto fail;
8144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8145 {
8146 PyThreadState* __tstate = wxPyBeginAllowThreads();
8147 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
8148
8149 wxPyEndAllowThreads(__tstate);
8150 if (PyErr_Occurred()) SWIG_fail;
8151 }
8152 resultobj = PyInt_FromLong((long)result);
8153 return resultobj;
8154 fail:
8155 return NULL;
8156 }
8157
8158
8159 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8160 PyObject *resultobj;
8161 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8162 wxPoint *arg2 = 0 ;
8163 int result;
8164 wxPoint temp2 ;
8165 PyObject * obj0 = 0 ;
8166 PyObject * obj1 = 0 ;
8167 char *kwnames[] = {
8168 (char *) "self",(char *) "pt", NULL
8169 };
8170
8171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
8172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8173 {
8174 arg2 = &temp2;
8175 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8176 }
8177 {
8178 PyThreadState* __tstate = wxPyBeginAllowThreads();
8179 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
8180
8181 wxPyEndAllowThreads(__tstate);
8182 if (PyErr_Occurred()) SWIG_fail;
8183 }
8184 resultobj = PyInt_FromLong((long)result);
8185 return resultobj;
8186 fail:
8187 return NULL;
8188 }
8189
8190
8191 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8192 PyObject *resultobj;
8193 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8194 PyObject * obj0 = 0 ;
8195 char *kwnames[] = {
8196 (char *) "self", NULL
8197 };
8198
8199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
8200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8201 {
8202 PyThreadState* __tstate = wxPyBeginAllowThreads();
8203 (arg1)->RefreshAll();
8204
8205 wxPyEndAllowThreads(__tstate);
8206 if (PyErr_Occurred()) SWIG_fail;
8207 }
8208 Py_INCREF(Py_None); resultobj = Py_None;
8209 return resultobj;
8210 fail:
8211 return NULL;
8212 }
8213
8214
8215 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8216 PyObject *resultobj;
8217 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8218 size_t result;
8219 PyObject * obj0 = 0 ;
8220 char *kwnames[] = {
8221 (char *) "self", NULL
8222 };
8223
8224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
8225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8226 {
8227 PyThreadState* __tstate = wxPyBeginAllowThreads();
8228 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
8229
8230 wxPyEndAllowThreads(__tstate);
8231 if (PyErr_Occurred()) SWIG_fail;
8232 }
8233 resultobj = PyInt_FromLong((long)result);
8234 return resultobj;
8235 fail:
8236 return NULL;
8237 }
8238
8239
8240 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8241 PyObject *resultobj;
8242 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8243 size_t result;
8244 PyObject * obj0 = 0 ;
8245 char *kwnames[] = {
8246 (char *) "self", NULL
8247 };
8248
8249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
8250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8251 {
8252 PyThreadState* __tstate = wxPyBeginAllowThreads();
8253 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
8254
8255 wxPyEndAllowThreads(__tstate);
8256 if (PyErr_Occurred()) SWIG_fail;
8257 }
8258 resultobj = PyInt_FromLong((long)result);
8259 return resultobj;
8260 fail:
8261 return NULL;
8262 }
8263
8264
8265 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8266 PyObject *resultobj;
8267 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8268 size_t result;
8269 PyObject * obj0 = 0 ;
8270 char *kwnames[] = {
8271 (char *) "self", NULL
8272 };
8273
8274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
8275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8276 {
8277 PyThreadState* __tstate = wxPyBeginAllowThreads();
8278 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
8279
8280 wxPyEndAllowThreads(__tstate);
8281 if (PyErr_Occurred()) SWIG_fail;
8282 }
8283 resultobj = PyInt_FromLong((long)result);
8284 return resultobj;
8285 fail:
8286 return NULL;
8287 }
8288
8289
8290 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8291 PyObject *resultobj;
8292 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8293 size_t arg2 ;
8294 bool result;
8295 PyObject * obj0 = 0 ;
8296 PyObject * obj1 = 0 ;
8297 char *kwnames[] = {
8298 (char *) "self",(char *) "line", NULL
8299 };
8300
8301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
8302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8303 arg2 = (size_t) PyInt_AsLong(obj1);
8304 if (PyErr_Occurred()) SWIG_fail;
8305 {
8306 PyThreadState* __tstate = wxPyBeginAllowThreads();
8307 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
8308
8309 wxPyEndAllowThreads(__tstate);
8310 if (PyErr_Occurred()) SWIG_fail;
8311 }
8312 resultobj = PyInt_FromLong((long)result);
8313 return resultobj;
8314 fail:
8315 return NULL;
8316 }
8317
8318
8319 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
8320 PyObject *obj;
8321 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8322 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
8323 Py_INCREF(obj);
8324 return Py_BuildValue((char *)"");
8325 }
8326 static int _wrap_VListBoxNameStr_set(PyObject *_val) {
8327 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
8328 return 1;
8329 }
8330
8331
8332 static PyObject *_wrap_VListBoxNameStr_get() {
8333 PyObject *pyobj;
8334
8335 {
8336 #if wxUSE_UNICODE
8337 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
8338 #else
8339 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
8340 #endif
8341 }
8342 return pyobj;
8343 }
8344
8345
8346 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8347 PyObject *resultobj;
8348 wxWindow *arg1 = (wxWindow *) 0 ;
8349 int arg2 = (int) wxID_ANY ;
8350 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8351 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8352 wxSize const &arg4_defvalue = wxDefaultSize ;
8353 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8354 long arg5 = (long) 0 ;
8355 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
8356 wxString *arg6 = (wxString *) &arg6_defvalue ;
8357 wxPyVListBox *result;
8358 wxPoint temp3 ;
8359 wxSize temp4 ;
8360 bool temp6 = False ;
8361 PyObject * obj0 = 0 ;
8362 PyObject * obj2 = 0 ;
8363 PyObject * obj3 = 0 ;
8364 PyObject * obj5 = 0 ;
8365 char *kwnames[] = {
8366 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8367 };
8368
8369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8371 if (obj2) {
8372 {
8373 arg3 = &temp3;
8374 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8375 }
8376 }
8377 if (obj3) {
8378 {
8379 arg4 = &temp4;
8380 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8381 }
8382 }
8383 if (obj5) {
8384 {
8385 arg6 = wxString_in_helper(obj5);
8386 if (arg6 == NULL) SWIG_fail;
8387 temp6 = True;
8388 }
8389 }
8390 {
8391 PyThreadState* __tstate = wxPyBeginAllowThreads();
8392 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8393
8394 wxPyEndAllowThreads(__tstate);
8395 if (PyErr_Occurred()) SWIG_fail;
8396 }
8397 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8398 {
8399 if (temp6)
8400 delete arg6;
8401 }
8402 return resultobj;
8403 fail:
8404 {
8405 if (temp6)
8406 delete arg6;
8407 }
8408 return NULL;
8409 }
8410
8411
8412 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8413 PyObject *resultobj;
8414 wxPyVListBox *result;
8415 char *kwnames[] = {
8416 NULL
8417 };
8418
8419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
8420 {
8421 PyThreadState* __tstate = wxPyBeginAllowThreads();
8422 result = (wxPyVListBox *)new wxPyVListBox();
8423
8424 wxPyEndAllowThreads(__tstate);
8425 if (PyErr_Occurred()) SWIG_fail;
8426 }
8427 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8428 return resultobj;
8429 fail:
8430 return NULL;
8431 }
8432
8433
8434 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8435 PyObject *resultobj;
8436 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8437 PyObject *arg2 = (PyObject *) 0 ;
8438 PyObject *arg3 = (PyObject *) 0 ;
8439 PyObject * obj0 = 0 ;
8440 PyObject * obj1 = 0 ;
8441 PyObject * obj2 = 0 ;
8442 char *kwnames[] = {
8443 (char *) "self",(char *) "self",(char *) "_class", NULL
8444 };
8445
8446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8448 arg2 = obj1;
8449 arg3 = obj2;
8450 {
8451 PyThreadState* __tstate = wxPyBeginAllowThreads();
8452 (arg1)->_setCallbackInfo(arg2,arg3);
8453
8454 wxPyEndAllowThreads(__tstate);
8455 if (PyErr_Occurred()) SWIG_fail;
8456 }
8457 Py_INCREF(Py_None); resultobj = Py_None;
8458 return resultobj;
8459 fail:
8460 return NULL;
8461 }
8462
8463
8464 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8465 PyObject *resultobj;
8466 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8467 wxWindow *arg2 = (wxWindow *) 0 ;
8468 int arg3 = (int) wxID_ANY ;
8469 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8470 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8471 wxSize const &arg5_defvalue = wxDefaultSize ;
8472 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8473 long arg6 = (long) 0 ;
8474 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
8475 wxString *arg7 = (wxString *) &arg7_defvalue ;
8476 bool result;
8477 wxPoint temp4 ;
8478 wxSize temp5 ;
8479 bool temp7 = False ;
8480 PyObject * obj0 = 0 ;
8481 PyObject * obj1 = 0 ;
8482 PyObject * obj3 = 0 ;
8483 PyObject * obj4 = 0 ;
8484 PyObject * obj6 = 0 ;
8485 char *kwnames[] = {
8486 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8487 };
8488
8489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8491 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8492 if (obj3) {
8493 {
8494 arg4 = &temp4;
8495 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8496 }
8497 }
8498 if (obj4) {
8499 {
8500 arg5 = &temp5;
8501 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8502 }
8503 }
8504 if (obj6) {
8505 {
8506 arg7 = wxString_in_helper(obj6);
8507 if (arg7 == NULL) SWIG_fail;
8508 temp7 = True;
8509 }
8510 }
8511 {
8512 PyThreadState* __tstate = wxPyBeginAllowThreads();
8513 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8514
8515 wxPyEndAllowThreads(__tstate);
8516 if (PyErr_Occurred()) SWIG_fail;
8517 }
8518 resultobj = PyInt_FromLong((long)result);
8519 {
8520 if (temp7)
8521 delete arg7;
8522 }
8523 return resultobj;
8524 fail:
8525 {
8526 if (temp7)
8527 delete arg7;
8528 }
8529 return NULL;
8530 }
8531
8532
8533 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8534 PyObject *resultobj;
8535 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8536 size_t result;
8537 PyObject * obj0 = 0 ;
8538 char *kwnames[] = {
8539 (char *) "self", NULL
8540 };
8541
8542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
8543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8544 {
8545 PyThreadState* __tstate = wxPyBeginAllowThreads();
8546 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
8547
8548 wxPyEndAllowThreads(__tstate);
8549 if (PyErr_Occurred()) SWIG_fail;
8550 }
8551 resultobj = PyInt_FromLong((long)result);
8552 return resultobj;
8553 fail:
8554 return NULL;
8555 }
8556
8557
8558 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8559 PyObject *resultobj;
8560 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8561 bool result;
8562 PyObject * obj0 = 0 ;
8563 char *kwnames[] = {
8564 (char *) "self", NULL
8565 };
8566
8567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
8568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8569 {
8570 PyThreadState* __tstate = wxPyBeginAllowThreads();
8571 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
8572
8573 wxPyEndAllowThreads(__tstate);
8574 if (PyErr_Occurred()) SWIG_fail;
8575 }
8576 resultobj = PyInt_FromLong((long)result);
8577 return resultobj;
8578 fail:
8579 return NULL;
8580 }
8581
8582
8583 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8584 PyObject *resultobj;
8585 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8586 int result;
8587 PyObject * obj0 = 0 ;
8588 char *kwnames[] = {
8589 (char *) "self", NULL
8590 };
8591
8592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
8593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8594 {
8595 PyThreadState* __tstate = wxPyBeginAllowThreads();
8596 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
8597
8598 wxPyEndAllowThreads(__tstate);
8599 if (PyErr_Occurred()) SWIG_fail;
8600 }
8601 resultobj = PyInt_FromLong((long)result);
8602 return resultobj;
8603 fail:
8604 return NULL;
8605 }
8606
8607
8608 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
8609 PyObject *resultobj;
8610 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8611 size_t arg2 ;
8612 bool result;
8613 PyObject * obj0 = 0 ;
8614 PyObject * obj1 = 0 ;
8615 char *kwnames[] = {
8616 (char *) "self",(char *) "item", NULL
8617 };
8618
8619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
8620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8621 arg2 = (size_t) PyInt_AsLong(obj1);
8622 if (PyErr_Occurred()) SWIG_fail;
8623 {
8624 PyThreadState* __tstate = wxPyBeginAllowThreads();
8625 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
8626
8627 wxPyEndAllowThreads(__tstate);
8628 if (PyErr_Occurred()) SWIG_fail;
8629 }
8630 resultobj = PyInt_FromLong((long)result);
8631 return resultobj;
8632 fail:
8633 return NULL;
8634 }
8635
8636
8637 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8638 PyObject *resultobj;
8639 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8640 size_t arg2 ;
8641 bool result;
8642 PyObject * obj0 = 0 ;
8643 PyObject * obj1 = 0 ;
8644 char *kwnames[] = {
8645 (char *) "self",(char *) "item", NULL
8646 };
8647
8648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
8649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8650 arg2 = (size_t) PyInt_AsLong(obj1);
8651 if (PyErr_Occurred()) SWIG_fail;
8652 {
8653 PyThreadState* __tstate = wxPyBeginAllowThreads();
8654 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
8655
8656 wxPyEndAllowThreads(__tstate);
8657 if (PyErr_Occurred()) SWIG_fail;
8658 }
8659 resultobj = PyInt_FromLong((long)result);
8660 return resultobj;
8661 fail:
8662 return NULL;
8663 }
8664
8665
8666 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8667 PyObject *resultobj;
8668 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8669 size_t result;
8670 PyObject * obj0 = 0 ;
8671 char *kwnames[] = {
8672 (char *) "self", NULL
8673 };
8674
8675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
8676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8677 {
8678 PyThreadState* __tstate = wxPyBeginAllowThreads();
8679 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
8680
8681 wxPyEndAllowThreads(__tstate);
8682 if (PyErr_Occurred()) SWIG_fail;
8683 }
8684 resultobj = PyInt_FromLong((long)result);
8685 return resultobj;
8686 fail:
8687 return NULL;
8688 }
8689
8690
8691 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8692 PyObject *resultobj;
8693 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8694 unsigned long *arg2 = 0 ;
8695 int result;
8696 PyObject * obj0 = 0 ;
8697 PyObject * obj1 = 0 ;
8698 char *kwnames[] = {
8699 (char *) "self",(char *) "cookie", NULL
8700 };
8701
8702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
8703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8704 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8705 if (arg2 == NULL) {
8706 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8707 }
8708 {
8709 PyThreadState* __tstate = wxPyBeginAllowThreads();
8710 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
8711
8712 wxPyEndAllowThreads(__tstate);
8713 if (PyErr_Occurred()) SWIG_fail;
8714 }
8715 resultobj = PyInt_FromLong((long)result);
8716 return resultobj;
8717 fail:
8718 return NULL;
8719 }
8720
8721
8722 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8723 PyObject *resultobj;
8724 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8725 unsigned long *arg2 = 0 ;
8726 int result;
8727 PyObject * obj0 = 0 ;
8728 PyObject * obj1 = 0 ;
8729 char *kwnames[] = {
8730 (char *) "self",(char *) "cookie", NULL
8731 };
8732
8733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
8734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8735 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8736 if (arg2 == NULL) {
8737 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8738 }
8739 {
8740 PyThreadState* __tstate = wxPyBeginAllowThreads();
8741 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
8742
8743 wxPyEndAllowThreads(__tstate);
8744 if (PyErr_Occurred()) SWIG_fail;
8745 }
8746 resultobj = PyInt_FromLong((long)result);
8747 return resultobj;
8748 fail:
8749 return NULL;
8750 }
8751
8752
8753 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
8754 PyObject *resultobj;
8755 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8756 wxPoint result;
8757 PyObject * obj0 = 0 ;
8758 char *kwnames[] = {
8759 (char *) "self", NULL
8760 };
8761
8762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
8763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8764 {
8765 PyThreadState* __tstate = wxPyBeginAllowThreads();
8766 result = ((wxPyVListBox const *)arg1)->GetMargins();
8767
8768 wxPyEndAllowThreads(__tstate);
8769 if (PyErr_Occurred()) SWIG_fail;
8770 }
8771 {
8772 wxPoint * resultptr;
8773 resultptr = new wxPoint((wxPoint &) result);
8774 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
8775 }
8776 return resultobj;
8777 fail:
8778 return NULL;
8779 }
8780
8781
8782 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8783 PyObject *resultobj;
8784 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8785 wxColour *result;
8786 PyObject * obj0 = 0 ;
8787 char *kwnames[] = {
8788 (char *) "self", NULL
8789 };
8790
8791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
8792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8793 {
8794 PyThreadState* __tstate = wxPyBeginAllowThreads();
8795 {
8796 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
8797 result = (wxColour *) &_result_ref;
8798 }
8799
8800 wxPyEndAllowThreads(__tstate);
8801 if (PyErr_Occurred()) SWIG_fail;
8802 }
8803 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
8804 return resultobj;
8805 fail:
8806 return NULL;
8807 }
8808
8809
8810 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8811 PyObject *resultobj;
8812 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8813 size_t arg2 ;
8814 PyObject * obj0 = 0 ;
8815 PyObject * obj1 = 0 ;
8816 char *kwnames[] = {
8817 (char *) "self",(char *) "count", NULL
8818 };
8819
8820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
8821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8822 arg2 = (size_t) PyInt_AsLong(obj1);
8823 if (PyErr_Occurred()) SWIG_fail;
8824 {
8825 PyThreadState* __tstate = wxPyBeginAllowThreads();
8826 (arg1)->SetItemCount(arg2);
8827
8828 wxPyEndAllowThreads(__tstate);
8829 if (PyErr_Occurred()) SWIG_fail;
8830 }
8831 Py_INCREF(Py_None); resultobj = Py_None;
8832 return resultobj;
8833 fail:
8834 return NULL;
8835 }
8836
8837
8838 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8839 PyObject *resultobj;
8840 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8841 PyObject * obj0 = 0 ;
8842 char *kwnames[] = {
8843 (char *) "self", NULL
8844 };
8845
8846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
8847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8848 {
8849 PyThreadState* __tstate = wxPyBeginAllowThreads();
8850 (arg1)->Clear();
8851
8852 wxPyEndAllowThreads(__tstate);
8853 if (PyErr_Occurred()) SWIG_fail;
8854 }
8855 Py_INCREF(Py_None); resultobj = Py_None;
8856 return resultobj;
8857 fail:
8858 return NULL;
8859 }
8860
8861
8862 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8863 PyObject *resultobj;
8864 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8865 int arg2 ;
8866 PyObject * obj0 = 0 ;
8867 char *kwnames[] = {
8868 (char *) "self",(char *) "selection", NULL
8869 };
8870
8871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VListBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
8872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8873 {
8874 PyThreadState* __tstate = wxPyBeginAllowThreads();
8875 (arg1)->SetSelection(arg2);
8876
8877 wxPyEndAllowThreads(__tstate);
8878 if (PyErr_Occurred()) SWIG_fail;
8879 }
8880 Py_INCREF(Py_None); resultobj = Py_None;
8881 return resultobj;
8882 fail:
8883 return NULL;
8884 }
8885
8886
8887 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
8888 PyObject *resultobj;
8889 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8890 size_t arg2 ;
8891 bool arg3 = (bool) True ;
8892 bool result;
8893 PyObject * obj0 = 0 ;
8894 PyObject * obj1 = 0 ;
8895 PyObject * obj2 = 0 ;
8896 char *kwnames[] = {
8897 (char *) "self",(char *) "item",(char *) "select", NULL
8898 };
8899
8900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
8901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8902 arg2 = (size_t) PyInt_AsLong(obj1);
8903 if (PyErr_Occurred()) SWIG_fail;
8904 if (obj2) {
8905 arg3 = PyInt_AsLong(obj2) ? true : false;
8906 if (PyErr_Occurred()) SWIG_fail;
8907 }
8908 {
8909 PyThreadState* __tstate = wxPyBeginAllowThreads();
8910 result = (bool)(arg1)->Select(arg2,arg3);
8911
8912 wxPyEndAllowThreads(__tstate);
8913 if (PyErr_Occurred()) SWIG_fail;
8914 }
8915 resultobj = PyInt_FromLong((long)result);
8916 return resultobj;
8917 fail:
8918 return NULL;
8919 }
8920
8921
8922 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8923 PyObject *resultobj;
8924 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8925 size_t arg2 ;
8926 size_t arg3 ;
8927 bool result;
8928 PyObject * obj0 = 0 ;
8929 PyObject * obj1 = 0 ;
8930 PyObject * obj2 = 0 ;
8931 char *kwnames[] = {
8932 (char *) "self",(char *) "from",(char *) "to", NULL
8933 };
8934
8935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
8936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8937 arg2 = (size_t) PyInt_AsLong(obj1);
8938 if (PyErr_Occurred()) SWIG_fail;
8939 arg3 = (size_t) PyInt_AsLong(obj2);
8940 if (PyErr_Occurred()) SWIG_fail;
8941 {
8942 PyThreadState* __tstate = wxPyBeginAllowThreads();
8943 result = (bool)(arg1)->SelectRange(arg2,arg3);
8944
8945 wxPyEndAllowThreads(__tstate);
8946 if (PyErr_Occurred()) SWIG_fail;
8947 }
8948 resultobj = PyInt_FromLong((long)result);
8949 return resultobj;
8950 fail:
8951 return NULL;
8952 }
8953
8954
8955 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
8956 PyObject *resultobj;
8957 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8958 size_t arg2 ;
8959 PyObject * obj0 = 0 ;
8960 PyObject * obj1 = 0 ;
8961 char *kwnames[] = {
8962 (char *) "self",(char *) "item", NULL
8963 };
8964
8965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
8966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8967 arg2 = (size_t) PyInt_AsLong(obj1);
8968 if (PyErr_Occurred()) SWIG_fail;
8969 {
8970 PyThreadState* __tstate = wxPyBeginAllowThreads();
8971 (arg1)->Toggle(arg2);
8972
8973 wxPyEndAllowThreads(__tstate);
8974 if (PyErr_Occurred()) SWIG_fail;
8975 }
8976 Py_INCREF(Py_None); resultobj = Py_None;
8977 return resultobj;
8978 fail:
8979 return NULL;
8980 }
8981
8982
8983 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8984 PyObject *resultobj;
8985 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8986 bool result;
8987 PyObject * obj0 = 0 ;
8988 char *kwnames[] = {
8989 (char *) "self", NULL
8990 };
8991
8992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
8993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8994 {
8995 PyThreadState* __tstate = wxPyBeginAllowThreads();
8996 result = (bool)(arg1)->SelectAll();
8997
8998 wxPyEndAllowThreads(__tstate);
8999 if (PyErr_Occurred()) SWIG_fail;
9000 }
9001 resultobj = PyInt_FromLong((long)result);
9002 return resultobj;
9003 fail:
9004 return NULL;
9005 }
9006
9007
9008 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9009 PyObject *resultobj;
9010 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9011 bool result;
9012 PyObject * obj0 = 0 ;
9013 char *kwnames[] = {
9014 (char *) "self", NULL
9015 };
9016
9017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
9018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9019 {
9020 PyThreadState* __tstate = wxPyBeginAllowThreads();
9021 result = (bool)(arg1)->DeselectAll();
9022
9023 wxPyEndAllowThreads(__tstate);
9024 if (PyErr_Occurred()) SWIG_fail;
9025 }
9026 resultobj = PyInt_FromLong((long)result);
9027 return resultobj;
9028 fail:
9029 return NULL;
9030 }
9031
9032
9033 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9034 PyObject *resultobj;
9035 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9036 wxPoint *arg2 = 0 ;
9037 wxPoint temp2 ;
9038 PyObject * obj0 = 0 ;
9039 PyObject * obj1 = 0 ;
9040 char *kwnames[] = {
9041 (char *) "self",(char *) "pt", NULL
9042 };
9043
9044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
9045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9046 {
9047 arg2 = &temp2;
9048 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9049 }
9050 {
9051 PyThreadState* __tstate = wxPyBeginAllowThreads();
9052 (arg1)->SetMargins((wxPoint const &)*arg2);
9053
9054 wxPyEndAllowThreads(__tstate);
9055 if (PyErr_Occurred()) SWIG_fail;
9056 }
9057 Py_INCREF(Py_None); resultobj = Py_None;
9058 return resultobj;
9059 fail:
9060 return NULL;
9061 }
9062
9063
9064 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
9065 PyObject *resultobj;
9066 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9067 int arg2 ;
9068 int arg3 ;
9069 PyObject * obj0 = 0 ;
9070 char *kwnames[] = {
9071 (char *) "self",(char *) "x",(char *) "y", NULL
9072 };
9073
9074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VListBox_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
9075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9076 {
9077 PyThreadState* __tstate = wxPyBeginAllowThreads();
9078 (arg1)->SetMargins(arg2,arg3);
9079
9080 wxPyEndAllowThreads(__tstate);
9081 if (PyErr_Occurred()) SWIG_fail;
9082 }
9083 Py_INCREF(Py_None); resultobj = Py_None;
9084 return resultobj;
9085 fail:
9086 return NULL;
9087 }
9088
9089
9090 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9091 PyObject *resultobj;
9092 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9093 wxColour *arg2 = 0 ;
9094 wxColour temp2 ;
9095 PyObject * obj0 = 0 ;
9096 PyObject * obj1 = 0 ;
9097 char *kwnames[] = {
9098 (char *) "self",(char *) "col", NULL
9099 };
9100
9101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
9102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9103 {
9104 arg2 = &temp2;
9105 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9106 }
9107 {
9108 PyThreadState* __tstate = wxPyBeginAllowThreads();
9109 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
9110
9111 wxPyEndAllowThreads(__tstate);
9112 if (PyErr_Occurred()) SWIG_fail;
9113 }
9114 Py_INCREF(Py_None); resultobj = Py_None;
9115 return resultobj;
9116 fail:
9117 return NULL;
9118 }
9119
9120
9121 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
9122 PyObject *obj;
9123 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9124 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
9125 Py_INCREF(obj);
9126 return Py_BuildValue((char *)"");
9127 }
9128 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9129 PyObject *resultobj;
9130 wxWindow *arg1 = (wxWindow *) 0 ;
9131 int arg2 = (int) wxID_ANY ;
9132 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9133 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9134 wxSize const &arg4_defvalue = wxDefaultSize ;
9135 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9136 long arg5 = (long) 0 ;
9137 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9138 wxString *arg6 = (wxString *) &arg6_defvalue ;
9139 wxPyHtmlListBox *result;
9140 wxPoint temp3 ;
9141 wxSize temp4 ;
9142 bool temp6 = False ;
9143 PyObject * obj0 = 0 ;
9144 PyObject * obj2 = 0 ;
9145 PyObject * obj3 = 0 ;
9146 PyObject * obj5 = 0 ;
9147 char *kwnames[] = {
9148 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9149 };
9150
9151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_HtmlListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
9152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9153 if (obj2) {
9154 {
9155 arg3 = &temp3;
9156 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9157 }
9158 }
9159 if (obj3) {
9160 {
9161 arg4 = &temp4;
9162 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9163 }
9164 }
9165 if (obj5) {
9166 {
9167 arg6 = wxString_in_helper(obj5);
9168 if (arg6 == NULL) SWIG_fail;
9169 temp6 = True;
9170 }
9171 }
9172 {
9173 PyThreadState* __tstate = wxPyBeginAllowThreads();
9174 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9175
9176 wxPyEndAllowThreads(__tstate);
9177 if (PyErr_Occurred()) SWIG_fail;
9178 }
9179 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
9180 {
9181 if (temp6)
9182 delete arg6;
9183 }
9184 return resultobj;
9185 fail:
9186 {
9187 if (temp6)
9188 delete arg6;
9189 }
9190 return NULL;
9191 }
9192
9193
9194 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9195 PyObject *resultobj;
9196 wxPyHtmlListBox *result;
9197 char *kwnames[] = {
9198 NULL
9199 };
9200
9201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
9202 {
9203 PyThreadState* __tstate = wxPyBeginAllowThreads();
9204 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
9205
9206 wxPyEndAllowThreads(__tstate);
9207 if (PyErr_Occurred()) SWIG_fail;
9208 }
9209 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
9210 return resultobj;
9211 fail:
9212 return NULL;
9213 }
9214
9215
9216 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9217 PyObject *resultobj;
9218 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9219 PyObject *arg2 = (PyObject *) 0 ;
9220 PyObject *arg3 = (PyObject *) 0 ;
9221 PyObject * obj0 = 0 ;
9222 PyObject * obj1 = 0 ;
9223 PyObject * obj2 = 0 ;
9224 char *kwnames[] = {
9225 (char *) "self",(char *) "self",(char *) "_class", NULL
9226 };
9227
9228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9230 arg2 = obj1;
9231 arg3 = obj2;
9232 {
9233 PyThreadState* __tstate = wxPyBeginAllowThreads();
9234 (arg1)->_setCallbackInfo(arg2,arg3);
9235
9236 wxPyEndAllowThreads(__tstate);
9237 if (PyErr_Occurred()) SWIG_fail;
9238 }
9239 Py_INCREF(Py_None); resultobj = Py_None;
9240 return resultobj;
9241 fail:
9242 return NULL;
9243 }
9244
9245
9246 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9247 PyObject *resultobj;
9248 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9249 wxWindow *arg2 = (wxWindow *) 0 ;
9250 int arg3 = (int) wxID_ANY ;
9251 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9252 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9253 wxSize const &arg5_defvalue = wxDefaultSize ;
9254 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9255 long arg6 = (long) 0 ;
9256 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9257 wxString *arg7 = (wxString *) &arg7_defvalue ;
9258 bool result;
9259 wxPoint temp4 ;
9260 wxSize temp5 ;
9261 bool temp7 = False ;
9262 PyObject * obj0 = 0 ;
9263 PyObject * obj1 = 0 ;
9264 PyObject * obj3 = 0 ;
9265 PyObject * obj4 = 0 ;
9266 PyObject * obj6 = 0 ;
9267 char *kwnames[] = {
9268 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9269 };
9270
9271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:HtmlListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
9272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9273 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9274 if (obj3) {
9275 {
9276 arg4 = &temp4;
9277 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9278 }
9279 }
9280 if (obj4) {
9281 {
9282 arg5 = &temp5;
9283 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9284 }
9285 }
9286 if (obj6) {
9287 {
9288 arg7 = wxString_in_helper(obj6);
9289 if (arg7 == NULL) SWIG_fail;
9290 temp7 = True;
9291 }
9292 }
9293 {
9294 PyThreadState* __tstate = wxPyBeginAllowThreads();
9295 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9296
9297 wxPyEndAllowThreads(__tstate);
9298 if (PyErr_Occurred()) SWIG_fail;
9299 }
9300 resultobj = PyInt_FromLong((long)result);
9301 {
9302 if (temp7)
9303 delete arg7;
9304 }
9305 return resultobj;
9306 fail:
9307 {
9308 if (temp7)
9309 delete arg7;
9310 }
9311 return NULL;
9312 }
9313
9314
9315 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9316 PyObject *resultobj;
9317 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9318 PyObject * obj0 = 0 ;
9319 char *kwnames[] = {
9320 (char *) "self", NULL
9321 };
9322
9323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
9324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9325 {
9326 PyThreadState* __tstate = wxPyBeginAllowThreads();
9327 (arg1)->RefreshAll();
9328
9329 wxPyEndAllowThreads(__tstate);
9330 if (PyErr_Occurred()) SWIG_fail;
9331 }
9332 Py_INCREF(Py_None); resultobj = Py_None;
9333 return resultobj;
9334 fail:
9335 return NULL;
9336 }
9337
9338
9339 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9340 PyObject *resultobj;
9341 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9342 size_t arg2 ;
9343 PyObject * obj0 = 0 ;
9344 PyObject * obj1 = 0 ;
9345 char *kwnames[] = {
9346 (char *) "self",(char *) "count", NULL
9347 };
9348
9349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9351 arg2 = (size_t) PyInt_AsLong(obj1);
9352 if (PyErr_Occurred()) SWIG_fail;
9353 {
9354 PyThreadState* __tstate = wxPyBeginAllowThreads();
9355 (arg1)->SetItemCount(arg2);
9356
9357 wxPyEndAllowThreads(__tstate);
9358 if (PyErr_Occurred()) SWIG_fail;
9359 }
9360 Py_INCREF(Py_None); resultobj = Py_None;
9361 return resultobj;
9362 fail:
9363 return NULL;
9364 }
9365
9366
9367 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
9368 PyObject *obj;
9369 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9370 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
9371 Py_INCREF(obj);
9372 return Py_BuildValue((char *)"");
9373 }
9374 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9375 PyObject *resultobj;
9376 wxTaskBarIcon *result;
9377 char *kwnames[] = {
9378 NULL
9379 };
9380
9381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
9382 {
9383 PyThreadState* __tstate = wxPyBeginAllowThreads();
9384 result = (wxTaskBarIcon *)new wxTaskBarIcon();
9385
9386 wxPyEndAllowThreads(__tstate);
9387 if (PyErr_Occurred()) SWIG_fail;
9388 }
9389 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIcon, 1);
9390 return resultobj;
9391 fail:
9392 return NULL;
9393 }
9394
9395
9396 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9397 PyObject *resultobj;
9398 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9399 PyObject * obj0 = 0 ;
9400 char *kwnames[] = {
9401 (char *) "self", NULL
9402 };
9403
9404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
9405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9406 {
9407 PyThreadState* __tstate = wxPyBeginAllowThreads();
9408 delete arg1;
9409
9410 wxPyEndAllowThreads(__tstate);
9411 if (PyErr_Occurred()) SWIG_fail;
9412 }
9413 Py_INCREF(Py_None); resultobj = Py_None;
9414 return resultobj;
9415 fail:
9416 return NULL;
9417 }
9418
9419
9420 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
9421 PyObject *resultobj;
9422 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9423 bool result;
9424 PyObject * obj0 = 0 ;
9425 char *kwnames[] = {
9426 (char *) "self", NULL
9427 };
9428
9429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
9430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9431 {
9432 PyThreadState* __tstate = wxPyBeginAllowThreads();
9433 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
9434
9435 wxPyEndAllowThreads(__tstate);
9436 if (PyErr_Occurred()) SWIG_fail;
9437 }
9438 resultobj = PyInt_FromLong((long)result);
9439 return resultobj;
9440 fail:
9441 return NULL;
9442 }
9443
9444
9445 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
9446 PyObject *resultobj;
9447 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9448 bool result;
9449 PyObject * obj0 = 0 ;
9450 char *kwnames[] = {
9451 (char *) "self", NULL
9452 };
9453
9454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
9455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9456 {
9457 PyThreadState* __tstate = wxPyBeginAllowThreads();
9458 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
9459
9460 wxPyEndAllowThreads(__tstate);
9461 if (PyErr_Occurred()) SWIG_fail;
9462 }
9463 resultobj = PyInt_FromLong((long)result);
9464 return resultobj;
9465 fail:
9466 return NULL;
9467 }
9468
9469
9470 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9471 PyObject *resultobj;
9472 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9473 wxIcon *arg2 = 0 ;
9474 wxString const &arg3_defvalue = wxPyEmptyString ;
9475 wxString *arg3 = (wxString *) &arg3_defvalue ;
9476 bool result;
9477 bool temp3 = False ;
9478 PyObject * obj0 = 0 ;
9479 PyObject * obj1 = 0 ;
9480 PyObject * obj2 = 0 ;
9481 char *kwnames[] = {
9482 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
9483 };
9484
9485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
9486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9487 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9488 if (arg2 == NULL) {
9489 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9490 }
9491 if (obj2) {
9492 {
9493 arg3 = wxString_in_helper(obj2);
9494 if (arg3 == NULL) SWIG_fail;
9495 temp3 = True;
9496 }
9497 }
9498 {
9499 PyThreadState* __tstate = wxPyBeginAllowThreads();
9500 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
9501
9502 wxPyEndAllowThreads(__tstate);
9503 if (PyErr_Occurred()) SWIG_fail;
9504 }
9505 resultobj = PyInt_FromLong((long)result);
9506 {
9507 if (temp3)
9508 delete arg3;
9509 }
9510 return resultobj;
9511 fail:
9512 {
9513 if (temp3)
9514 delete arg3;
9515 }
9516 return NULL;
9517 }
9518
9519
9520 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9521 PyObject *resultobj;
9522 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9523 bool result;
9524 PyObject * obj0 = 0 ;
9525 char *kwnames[] = {
9526 (char *) "self", NULL
9527 };
9528
9529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
9530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9531 {
9532 PyThreadState* __tstate = wxPyBeginAllowThreads();
9533 result = (bool)(arg1)->RemoveIcon();
9534
9535 wxPyEndAllowThreads(__tstate);
9536 if (PyErr_Occurred()) SWIG_fail;
9537 }
9538 resultobj = PyInt_FromLong((long)result);
9539 return resultobj;
9540 fail:
9541 return NULL;
9542 }
9543
9544
9545 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
9546 PyObject *resultobj;
9547 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9548 wxMenu *arg2 = (wxMenu *) 0 ;
9549 bool result;
9550 PyObject * obj0 = 0 ;
9551 PyObject * obj1 = 0 ;
9552 char *kwnames[] = {
9553 (char *) "self",(char *) "menu", NULL
9554 };
9555
9556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
9557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9558 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9559 {
9560 PyThreadState* __tstate = wxPyBeginAllowThreads();
9561 result = (bool)(arg1)->PopupMenu(arg2);
9562
9563 wxPyEndAllowThreads(__tstate);
9564 if (PyErr_Occurred()) SWIG_fail;
9565 }
9566 resultobj = PyInt_FromLong((long)result);
9567 return resultobj;
9568 fail:
9569 return NULL;
9570 }
9571
9572
9573 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
9574 PyObject *obj;
9575 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9576 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
9577 Py_INCREF(obj);
9578 return Py_BuildValue((char *)"");
9579 }
9580 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9581 PyObject *resultobj;
9582 wxEventType arg1 ;
9583 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
9584 wxTaskBarIconEvent *result;
9585 PyObject * obj1 = 0 ;
9586 char *kwnames[] = {
9587 (char *) "evtType",(char *) "tbIcon", NULL
9588 };
9589
9590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iO:new_TaskBarIconEvent",kwnames,&arg1,&obj1)) goto fail;
9591 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9592 {
9593 PyThreadState* __tstate = wxPyBeginAllowThreads();
9594 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
9595
9596 wxPyEndAllowThreads(__tstate);
9597 if (PyErr_Occurred()) SWIG_fail;
9598 }
9599 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIconEvent, 1);
9600 return resultobj;
9601 fail:
9602 return NULL;
9603 }
9604
9605
9606 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
9607 PyObject *obj;
9608 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9609 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
9610 Py_INCREF(obj);
9611 return Py_BuildValue((char *)"");
9612 }
9613 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
9614 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
9615 return 1;
9616 }
9617
9618
9619 static PyObject *_wrap_FileSelectorPromptStr_get() {
9620 PyObject *pyobj;
9621
9622 {
9623 #if wxUSE_UNICODE
9624 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
9625 #else
9626 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
9627 #endif
9628 }
9629 return pyobj;
9630 }
9631
9632
9633 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
9634 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
9635 return 1;
9636 }
9637
9638
9639 static PyObject *_wrap_DirSelectorPromptStr_get() {
9640 PyObject *pyobj;
9641
9642 {
9643 #if wxUSE_UNICODE
9644 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
9645 #else
9646 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
9647 #endif
9648 }
9649 return pyobj;
9650 }
9651
9652
9653 static int _wrap_DirDialogNameStr_set(PyObject *_val) {
9654 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
9655 return 1;
9656 }
9657
9658
9659 static PyObject *_wrap_DirDialogNameStr_get() {
9660 PyObject *pyobj;
9661
9662 {
9663 #if wxUSE_UNICODE
9664 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
9665 #else
9666 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
9667 #endif
9668 }
9669 return pyobj;
9670 }
9671
9672
9673 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
9674 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
9675 return 1;
9676 }
9677
9678
9679 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
9680 PyObject *pyobj;
9681
9682 {
9683 #if wxUSE_UNICODE
9684 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
9685 #else
9686 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
9687 #endif
9688 }
9689 return pyobj;
9690 }
9691
9692
9693 static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) {
9694 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
9695 return 1;
9696 }
9697
9698
9699 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
9700 PyObject *pyobj;
9701
9702 {
9703 #if wxUSE_UNICODE
9704 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
9705 #else
9706 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
9707 #endif
9708 }
9709 return pyobj;
9710 }
9711
9712
9713 static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) {
9714 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
9715 return 1;
9716 }
9717
9718
9719 static PyObject *_wrap_MessageBoxCaptionStr_get() {
9720 PyObject *pyobj;
9721
9722 {
9723 #if wxUSE_UNICODE
9724 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
9725 #else
9726 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
9727 #endif
9728 }
9729 return pyobj;
9730 }
9731
9732
9733 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9734 PyObject *resultobj;
9735 wxColourData *result;
9736 char *kwnames[] = {
9737 NULL
9738 };
9739
9740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
9741 {
9742 PyThreadState* __tstate = wxPyBeginAllowThreads();
9743 result = (wxColourData *)new wxColourData();
9744
9745 wxPyEndAllowThreads(__tstate);
9746 if (PyErr_Occurred()) SWIG_fail;
9747 }
9748 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 1);
9749 return resultobj;
9750 fail:
9751 return NULL;
9752 }
9753
9754
9755 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9756 PyObject *resultobj;
9757 wxColourData *arg1 = (wxColourData *) 0 ;
9758 PyObject * obj0 = 0 ;
9759 char *kwnames[] = {
9760 (char *) "self", NULL
9761 };
9762
9763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
9764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9765 {
9766 PyThreadState* __tstate = wxPyBeginAllowThreads();
9767 delete arg1;
9768
9769 wxPyEndAllowThreads(__tstate);
9770 if (PyErr_Occurred()) SWIG_fail;
9771 }
9772 Py_INCREF(Py_None); resultobj = Py_None;
9773 return resultobj;
9774 fail:
9775 return NULL;
9776 }
9777
9778
9779 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9780 PyObject *resultobj;
9781 wxColourData *arg1 = (wxColourData *) 0 ;
9782 bool result;
9783 PyObject * obj0 = 0 ;
9784 char *kwnames[] = {
9785 (char *) "self", NULL
9786 };
9787
9788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
9789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9790 {
9791 PyThreadState* __tstate = wxPyBeginAllowThreads();
9792 result = (bool)(arg1)->GetChooseFull();
9793
9794 wxPyEndAllowThreads(__tstate);
9795 if (PyErr_Occurred()) SWIG_fail;
9796 }
9797 resultobj = PyInt_FromLong((long)result);
9798 return resultobj;
9799 fail:
9800 return NULL;
9801 }
9802
9803
9804 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9805 PyObject *resultobj;
9806 wxColourData *arg1 = (wxColourData *) 0 ;
9807 wxColour result;
9808 PyObject * obj0 = 0 ;
9809 char *kwnames[] = {
9810 (char *) "self", NULL
9811 };
9812
9813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
9814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9815 {
9816 PyThreadState* __tstate = wxPyBeginAllowThreads();
9817 result = (arg1)->GetColour();
9818
9819 wxPyEndAllowThreads(__tstate);
9820 if (PyErr_Occurred()) SWIG_fail;
9821 }
9822 {
9823 wxColour * resultptr;
9824 resultptr = new wxColour((wxColour &) result);
9825 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9826 }
9827 return resultobj;
9828 fail:
9829 return NULL;
9830 }
9831
9832
9833 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9834 PyObject *resultobj;
9835 wxColourData *arg1 = (wxColourData *) 0 ;
9836 int arg2 ;
9837 wxColour result;
9838 PyObject * obj0 = 0 ;
9839 char *kwnames[] = {
9840 (char *) "self",(char *) "i", NULL
9841 };
9842
9843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_GetCustomColour",kwnames,&obj0,&arg2)) goto fail;
9844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9845 {
9846 PyThreadState* __tstate = wxPyBeginAllowThreads();
9847 result = (arg1)->GetCustomColour(arg2);
9848
9849 wxPyEndAllowThreads(__tstate);
9850 if (PyErr_Occurred()) SWIG_fail;
9851 }
9852 {
9853 wxColour * resultptr;
9854 resultptr = new wxColour((wxColour &) result);
9855 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9856 }
9857 return resultobj;
9858 fail:
9859 return NULL;
9860 }
9861
9862
9863 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9864 PyObject *resultobj;
9865 wxColourData *arg1 = (wxColourData *) 0 ;
9866 int arg2 ;
9867 PyObject * obj0 = 0 ;
9868 char *kwnames[] = {
9869 (char *) "self",(char *) "flag", NULL
9870 };
9871
9872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_SetChooseFull",kwnames,&obj0,&arg2)) goto fail;
9873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9874 {
9875 PyThreadState* __tstate = wxPyBeginAllowThreads();
9876 (arg1)->SetChooseFull(arg2);
9877
9878 wxPyEndAllowThreads(__tstate);
9879 if (PyErr_Occurred()) SWIG_fail;
9880 }
9881 Py_INCREF(Py_None); resultobj = Py_None;
9882 return resultobj;
9883 fail:
9884 return NULL;
9885 }
9886
9887
9888 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9889 PyObject *resultobj;
9890 wxColourData *arg1 = (wxColourData *) 0 ;
9891 wxColour *arg2 = 0 ;
9892 wxColour temp2 ;
9893 PyObject * obj0 = 0 ;
9894 PyObject * obj1 = 0 ;
9895 char *kwnames[] = {
9896 (char *) "self",(char *) "colour", NULL
9897 };
9898
9899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
9900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9901 {
9902 arg2 = &temp2;
9903 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9904 }
9905 {
9906 PyThreadState* __tstate = wxPyBeginAllowThreads();
9907 (arg1)->SetColour((wxColour const &)*arg2);
9908
9909 wxPyEndAllowThreads(__tstate);
9910 if (PyErr_Occurred()) SWIG_fail;
9911 }
9912 Py_INCREF(Py_None); resultobj = Py_None;
9913 return resultobj;
9914 fail:
9915 return NULL;
9916 }
9917
9918
9919 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9920 PyObject *resultobj;
9921 wxColourData *arg1 = (wxColourData *) 0 ;
9922 int arg2 ;
9923 wxColour *arg3 = 0 ;
9924 wxColour temp3 ;
9925 PyObject * obj0 = 0 ;
9926 PyObject * obj2 = 0 ;
9927 char *kwnames[] = {
9928 (char *) "self",(char *) "i",(char *) "colour", NULL
9929 };
9930
9931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ColourData_SetCustomColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
9932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9933 {
9934 arg3 = &temp3;
9935 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9936 }
9937 {
9938 PyThreadState* __tstate = wxPyBeginAllowThreads();
9939 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
9940
9941 wxPyEndAllowThreads(__tstate);
9942 if (PyErr_Occurred()) SWIG_fail;
9943 }
9944 Py_INCREF(Py_None); resultobj = Py_None;
9945 return resultobj;
9946 fail:
9947 return NULL;
9948 }
9949
9950
9951 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
9952 PyObject *obj;
9953 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9954 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
9955 Py_INCREF(obj);
9956 return Py_BuildValue((char *)"");
9957 }
9958 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
9959 PyObject *resultobj;
9960 wxWindow *arg1 = (wxWindow *) 0 ;
9961 wxColourData *arg2 = (wxColourData *) NULL ;
9962 wxColourDialog *result;
9963 PyObject * obj0 = 0 ;
9964 PyObject * obj1 = 0 ;
9965 char *kwnames[] = {
9966 (char *) "parent",(char *) "data", NULL
9967 };
9968
9969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
9970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9971 if (obj1) {
9972 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9973 }
9974 {
9975 PyThreadState* __tstate = wxPyBeginAllowThreads();
9976 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
9977
9978 wxPyEndAllowThreads(__tstate);
9979 if (PyErr_Occurred()) SWIG_fail;
9980 }
9981 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourDialog, 1);
9982 return resultobj;
9983 fail:
9984 return NULL;
9985 }
9986
9987
9988 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9989 PyObject *resultobj;
9990 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
9991 wxColourData *result;
9992 PyObject * obj0 = 0 ;
9993 char *kwnames[] = {
9994 (char *) "self", NULL
9995 };
9996
9997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
9998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9999 {
10000 PyThreadState* __tstate = wxPyBeginAllowThreads();
10001 {
10002 wxColourData &_result_ref = (arg1)->GetColourData();
10003 result = (wxColourData *) &_result_ref;
10004 }
10005
10006 wxPyEndAllowThreads(__tstate);
10007 if (PyErr_Occurred()) SWIG_fail;
10008 }
10009 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 0);
10010 return resultobj;
10011 fail:
10012 return NULL;
10013 }
10014
10015
10016 static PyObject *_wrap_ColourDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
10017 PyObject *resultobj;
10018 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
10019 int result;
10020 PyObject * obj0 = 0 ;
10021 char *kwnames[] = {
10022 (char *) "self", NULL
10023 };
10024
10025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_ShowModal",kwnames,&obj0)) goto fail;
10026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10027 {
10028 PyThreadState* __tstate = wxPyBeginAllowThreads();
10029 result = (int)(arg1)->ShowModal();
10030
10031 wxPyEndAllowThreads(__tstate);
10032 if (PyErr_Occurred()) SWIG_fail;
10033 }
10034 resultobj = PyInt_FromLong((long)result);
10035 return resultobj;
10036 fail:
10037 return NULL;
10038 }
10039
10040
10041 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
10042 PyObject *obj;
10043 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10044 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
10045 Py_INCREF(obj);
10046 return Py_BuildValue((char *)"");
10047 }
10048 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10049 PyObject *resultobj;
10050 wxWindow *arg1 = (wxWindow *) 0 ;
10051 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
10052 wxString *arg2 = (wxString *) &arg2_defvalue ;
10053 wxString const &arg3_defvalue = wxPyEmptyString ;
10054 wxString *arg3 = (wxString *) &arg3_defvalue ;
10055 long arg4 = (long) 0 ;
10056 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10057 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10058 wxSize const &arg6_defvalue = wxDefaultSize ;
10059 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10060 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
10061 wxString *arg7 = (wxString *) &arg7_defvalue ;
10062 wxDirDialog *result;
10063 bool temp2 = False ;
10064 bool temp3 = False ;
10065 wxPoint temp5 ;
10066 wxSize temp6 ;
10067 bool temp7 = False ;
10068 PyObject * obj0 = 0 ;
10069 PyObject * obj1 = 0 ;
10070 PyObject * obj2 = 0 ;
10071 PyObject * obj4 = 0 ;
10072 PyObject * obj5 = 0 ;
10073 PyObject * obj6 = 0 ;
10074 char *kwnames[] = {
10075 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
10076 };
10077
10078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOlOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&obj5,&obj6)) goto fail;
10079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10080 if (obj1) {
10081 {
10082 arg2 = wxString_in_helper(obj1);
10083 if (arg2 == NULL) SWIG_fail;
10084 temp2 = True;
10085 }
10086 }
10087 if (obj2) {
10088 {
10089 arg3 = wxString_in_helper(obj2);
10090 if (arg3 == NULL) SWIG_fail;
10091 temp3 = True;
10092 }
10093 }
10094 if (obj4) {
10095 {
10096 arg5 = &temp5;
10097 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10098 }
10099 }
10100 if (obj5) {
10101 {
10102 arg6 = &temp6;
10103 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10104 }
10105 }
10106 if (obj6) {
10107 {
10108 arg7 = wxString_in_helper(obj6);
10109 if (arg7 == NULL) SWIG_fail;
10110 temp7 = True;
10111 }
10112 }
10113 {
10114 PyThreadState* __tstate = wxPyBeginAllowThreads();
10115 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
10116
10117 wxPyEndAllowThreads(__tstate);
10118 if (PyErr_Occurred()) SWIG_fail;
10119 }
10120 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirDialog, 1);
10121 {
10122 if (temp2)
10123 delete arg2;
10124 }
10125 {
10126 if (temp3)
10127 delete arg3;
10128 }
10129 {
10130 if (temp7)
10131 delete arg7;
10132 }
10133 return resultobj;
10134 fail:
10135 {
10136 if (temp2)
10137 delete arg2;
10138 }
10139 {
10140 if (temp3)
10141 delete arg3;
10142 }
10143 {
10144 if (temp7)
10145 delete arg7;
10146 }
10147 return NULL;
10148 }
10149
10150
10151 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10152 PyObject *resultobj;
10153 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10154 wxString result;
10155 PyObject * obj0 = 0 ;
10156 char *kwnames[] = {
10157 (char *) "self", NULL
10158 };
10159
10160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
10161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10162 {
10163 PyThreadState* __tstate = wxPyBeginAllowThreads();
10164 result = (arg1)->GetPath();
10165
10166 wxPyEndAllowThreads(__tstate);
10167 if (PyErr_Occurred()) SWIG_fail;
10168 }
10169 {
10170 #if wxUSE_UNICODE
10171 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10172 #else
10173 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10174 #endif
10175 }
10176 return resultobj;
10177 fail:
10178 return NULL;
10179 }
10180
10181
10182 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10183 PyObject *resultobj;
10184 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10185 wxString result;
10186 PyObject * obj0 = 0 ;
10187 char *kwnames[] = {
10188 (char *) "self", NULL
10189 };
10190
10191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
10192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10193 {
10194 PyThreadState* __tstate = wxPyBeginAllowThreads();
10195 result = (arg1)->GetMessage();
10196
10197 wxPyEndAllowThreads(__tstate);
10198 if (PyErr_Occurred()) SWIG_fail;
10199 }
10200 {
10201 #if wxUSE_UNICODE
10202 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10203 #else
10204 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10205 #endif
10206 }
10207 return resultobj;
10208 fail:
10209 return NULL;
10210 }
10211
10212
10213 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10214 PyObject *resultobj;
10215 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10216 long result;
10217 PyObject * obj0 = 0 ;
10218 char *kwnames[] = {
10219 (char *) "self", NULL
10220 };
10221
10222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
10223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10224 {
10225 PyThreadState* __tstate = wxPyBeginAllowThreads();
10226 result = (long)(arg1)->GetStyle();
10227
10228 wxPyEndAllowThreads(__tstate);
10229 if (PyErr_Occurred()) SWIG_fail;
10230 }
10231 resultobj = PyInt_FromLong((long)result);
10232 return resultobj;
10233 fail:
10234 return NULL;
10235 }
10236
10237
10238 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10239 PyObject *resultobj;
10240 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10241 wxString *arg2 = 0 ;
10242 bool temp2 = False ;
10243 PyObject * obj0 = 0 ;
10244 PyObject * obj1 = 0 ;
10245 char *kwnames[] = {
10246 (char *) "self",(char *) "message", NULL
10247 };
10248
10249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
10250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10251 {
10252 arg2 = wxString_in_helper(obj1);
10253 if (arg2 == NULL) SWIG_fail;
10254 temp2 = True;
10255 }
10256 {
10257 PyThreadState* __tstate = wxPyBeginAllowThreads();
10258 (arg1)->SetMessage((wxString const &)*arg2);
10259
10260 wxPyEndAllowThreads(__tstate);
10261 if (PyErr_Occurred()) SWIG_fail;
10262 }
10263 Py_INCREF(Py_None); resultobj = Py_None;
10264 {
10265 if (temp2)
10266 delete arg2;
10267 }
10268 return resultobj;
10269 fail:
10270 {
10271 if (temp2)
10272 delete arg2;
10273 }
10274 return NULL;
10275 }
10276
10277
10278 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10279 PyObject *resultobj;
10280 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10281 wxString *arg2 = 0 ;
10282 bool temp2 = False ;
10283 PyObject * obj0 = 0 ;
10284 PyObject * obj1 = 0 ;
10285 char *kwnames[] = {
10286 (char *) "self",(char *) "path", NULL
10287 };
10288
10289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
10290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10291 {
10292 arg2 = wxString_in_helper(obj1);
10293 if (arg2 == NULL) SWIG_fail;
10294 temp2 = True;
10295 }
10296 {
10297 PyThreadState* __tstate = wxPyBeginAllowThreads();
10298 (arg1)->SetPath((wxString const &)*arg2);
10299
10300 wxPyEndAllowThreads(__tstate);
10301 if (PyErr_Occurred()) SWIG_fail;
10302 }
10303 Py_INCREF(Py_None); resultobj = Py_None;
10304 {
10305 if (temp2)
10306 delete arg2;
10307 }
10308 return resultobj;
10309 fail:
10310 {
10311 if (temp2)
10312 delete arg2;
10313 }
10314 return NULL;
10315 }
10316
10317
10318 static PyObject *_wrap_DirDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
10319 PyObject *resultobj;
10320 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10321 int result;
10322 PyObject * obj0 = 0 ;
10323 char *kwnames[] = {
10324 (char *) "self", NULL
10325 };
10326
10327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_ShowModal",kwnames,&obj0)) goto fail;
10328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10329 {
10330 PyThreadState* __tstate = wxPyBeginAllowThreads();
10331 result = (int)(arg1)->ShowModal();
10332
10333 wxPyEndAllowThreads(__tstate);
10334 if (PyErr_Occurred()) SWIG_fail;
10335 }
10336 resultobj = PyInt_FromLong((long)result);
10337 return resultobj;
10338 fail:
10339 return NULL;
10340 }
10341
10342
10343 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
10344 PyObject *obj;
10345 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10346 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
10347 Py_INCREF(obj);
10348 return Py_BuildValue((char *)"");
10349 }
10350 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10351 PyObject *resultobj;
10352 wxWindow *arg1 = (wxWindow *) 0 ;
10353 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
10354 wxString *arg2 = (wxString *) &arg2_defvalue ;
10355 wxString const &arg3_defvalue = wxPyEmptyString ;
10356 wxString *arg3 = (wxString *) &arg3_defvalue ;
10357 wxString const &arg4_defvalue = wxPyEmptyString ;
10358 wxString *arg4 = (wxString *) &arg4_defvalue ;
10359 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
10360 wxString *arg5 = (wxString *) &arg5_defvalue ;
10361 long arg6 = (long) 0 ;
10362 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10363 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10364 wxFileDialog *result;
10365 bool temp2 = False ;
10366 bool temp3 = False ;
10367 bool temp4 = False ;
10368 bool temp5 = False ;
10369 wxPoint temp7 ;
10370 PyObject * obj0 = 0 ;
10371 PyObject * obj1 = 0 ;
10372 PyObject * obj2 = 0 ;
10373 PyObject * obj3 = 0 ;
10374 PyObject * obj4 = 0 ;
10375 PyObject * obj6 = 0 ;
10376 char *kwnames[] = {
10377 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
10378 };
10379
10380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOlO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
10381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10382 if (obj1) {
10383 {
10384 arg2 = wxString_in_helper(obj1);
10385 if (arg2 == NULL) SWIG_fail;
10386 temp2 = True;
10387 }
10388 }
10389 if (obj2) {
10390 {
10391 arg3 = wxString_in_helper(obj2);
10392 if (arg3 == NULL) SWIG_fail;
10393 temp3 = True;
10394 }
10395 }
10396 if (obj3) {
10397 {
10398 arg4 = wxString_in_helper(obj3);
10399 if (arg4 == NULL) SWIG_fail;
10400 temp4 = True;
10401 }
10402 }
10403 if (obj4) {
10404 {
10405 arg5 = wxString_in_helper(obj4);
10406 if (arg5 == NULL) SWIG_fail;
10407 temp5 = True;
10408 }
10409 }
10410 if (obj6) {
10411 {
10412 arg7 = &temp7;
10413 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10414 }
10415 }
10416 {
10417 PyThreadState* __tstate = wxPyBeginAllowThreads();
10418 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
10419
10420 wxPyEndAllowThreads(__tstate);
10421 if (PyErr_Occurred()) SWIG_fail;
10422 }
10423 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDialog, 1);
10424 {
10425 if (temp2)
10426 delete arg2;
10427 }
10428 {
10429 if (temp3)
10430 delete arg3;
10431 }
10432 {
10433 if (temp4)
10434 delete arg4;
10435 }
10436 {
10437 if (temp5)
10438 delete arg5;
10439 }
10440 return resultobj;
10441 fail:
10442 {
10443 if (temp2)
10444 delete arg2;
10445 }
10446 {
10447 if (temp3)
10448 delete arg3;
10449 }
10450 {
10451 if (temp4)
10452 delete arg4;
10453 }
10454 {
10455 if (temp5)
10456 delete arg5;
10457 }
10458 return NULL;
10459 }
10460
10461
10462 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10463 PyObject *resultobj;
10464 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10465 wxString *arg2 = 0 ;
10466 bool temp2 = False ;
10467 PyObject * obj0 = 0 ;
10468 PyObject * obj1 = 0 ;
10469 char *kwnames[] = {
10470 (char *) "self",(char *) "message", NULL
10471 };
10472
10473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
10474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10475 {
10476 arg2 = wxString_in_helper(obj1);
10477 if (arg2 == NULL) SWIG_fail;
10478 temp2 = True;
10479 }
10480 {
10481 PyThreadState* __tstate = wxPyBeginAllowThreads();
10482 (arg1)->SetMessage((wxString const &)*arg2);
10483
10484 wxPyEndAllowThreads(__tstate);
10485 if (PyErr_Occurred()) SWIG_fail;
10486 }
10487 Py_INCREF(Py_None); resultobj = Py_None;
10488 {
10489 if (temp2)
10490 delete arg2;
10491 }
10492 return resultobj;
10493 fail:
10494 {
10495 if (temp2)
10496 delete arg2;
10497 }
10498 return NULL;
10499 }
10500
10501
10502 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10503 PyObject *resultobj;
10504 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10505 wxString *arg2 = 0 ;
10506 bool temp2 = False ;
10507 PyObject * obj0 = 0 ;
10508 PyObject * obj1 = 0 ;
10509 char *kwnames[] = {
10510 (char *) "self",(char *) "path", NULL
10511 };
10512
10513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
10514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10515 {
10516 arg2 = wxString_in_helper(obj1);
10517 if (arg2 == NULL) SWIG_fail;
10518 temp2 = True;
10519 }
10520 {
10521 PyThreadState* __tstate = wxPyBeginAllowThreads();
10522 (arg1)->SetPath((wxString const &)*arg2);
10523
10524 wxPyEndAllowThreads(__tstate);
10525 if (PyErr_Occurred()) SWIG_fail;
10526 }
10527 Py_INCREF(Py_None); resultobj = Py_None;
10528 {
10529 if (temp2)
10530 delete arg2;
10531 }
10532 return resultobj;
10533 fail:
10534 {
10535 if (temp2)
10536 delete arg2;
10537 }
10538 return NULL;
10539 }
10540
10541
10542 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10543 PyObject *resultobj;
10544 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10545 wxString *arg2 = 0 ;
10546 bool temp2 = False ;
10547 PyObject * obj0 = 0 ;
10548 PyObject * obj1 = 0 ;
10549 char *kwnames[] = {
10550 (char *) "self",(char *) "dir", NULL
10551 };
10552
10553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
10554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10555 {
10556 arg2 = wxString_in_helper(obj1);
10557 if (arg2 == NULL) SWIG_fail;
10558 temp2 = True;
10559 }
10560 {
10561 PyThreadState* __tstate = wxPyBeginAllowThreads();
10562 (arg1)->SetDirectory((wxString const &)*arg2);
10563
10564 wxPyEndAllowThreads(__tstate);
10565 if (PyErr_Occurred()) SWIG_fail;
10566 }
10567 Py_INCREF(Py_None); resultobj = Py_None;
10568 {
10569 if (temp2)
10570 delete arg2;
10571 }
10572 return resultobj;
10573 fail:
10574 {
10575 if (temp2)
10576 delete arg2;
10577 }
10578 return NULL;
10579 }
10580
10581
10582 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10583 PyObject *resultobj;
10584 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10585 wxString *arg2 = 0 ;
10586 bool temp2 = False ;
10587 PyObject * obj0 = 0 ;
10588 PyObject * obj1 = 0 ;
10589 char *kwnames[] = {
10590 (char *) "self",(char *) "name", NULL
10591 };
10592
10593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
10594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10595 {
10596 arg2 = wxString_in_helper(obj1);
10597 if (arg2 == NULL) SWIG_fail;
10598 temp2 = True;
10599 }
10600 {
10601 PyThreadState* __tstate = wxPyBeginAllowThreads();
10602 (arg1)->SetFilename((wxString const &)*arg2);
10603
10604 wxPyEndAllowThreads(__tstate);
10605 if (PyErr_Occurred()) SWIG_fail;
10606 }
10607 Py_INCREF(Py_None); resultobj = Py_None;
10608 {
10609 if (temp2)
10610 delete arg2;
10611 }
10612 return resultobj;
10613 fail:
10614 {
10615 if (temp2)
10616 delete arg2;
10617 }
10618 return NULL;
10619 }
10620
10621
10622 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10623 PyObject *resultobj;
10624 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10625 wxString *arg2 = 0 ;
10626 bool temp2 = False ;
10627 PyObject * obj0 = 0 ;
10628 PyObject * obj1 = 0 ;
10629 char *kwnames[] = {
10630 (char *) "self",(char *) "wildCard", NULL
10631 };
10632
10633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
10634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10635 {
10636 arg2 = wxString_in_helper(obj1);
10637 if (arg2 == NULL) SWIG_fail;
10638 temp2 = True;
10639 }
10640 {
10641 PyThreadState* __tstate = wxPyBeginAllowThreads();
10642 (arg1)->SetWildcard((wxString const &)*arg2);
10643
10644 wxPyEndAllowThreads(__tstate);
10645 if (PyErr_Occurred()) SWIG_fail;
10646 }
10647 Py_INCREF(Py_None); resultobj = Py_None;
10648 {
10649 if (temp2)
10650 delete arg2;
10651 }
10652 return resultobj;
10653 fail:
10654 {
10655 if (temp2)
10656 delete arg2;
10657 }
10658 return NULL;
10659 }
10660
10661
10662 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10663 PyObject *resultobj;
10664 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10665 long arg2 ;
10666 PyObject * obj0 = 0 ;
10667 char *kwnames[] = {
10668 (char *) "self",(char *) "style", NULL
10669 };
10670
10671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:FileDialog_SetStyle",kwnames,&obj0,&arg2)) goto fail;
10672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10673 {
10674 PyThreadState* __tstate = wxPyBeginAllowThreads();
10675 (arg1)->SetStyle(arg2);
10676
10677 wxPyEndAllowThreads(__tstate);
10678 if (PyErr_Occurred()) SWIG_fail;
10679 }
10680 Py_INCREF(Py_None); resultobj = Py_None;
10681 return resultobj;
10682 fail:
10683 return NULL;
10684 }
10685
10686
10687 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10688 PyObject *resultobj;
10689 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10690 int arg2 ;
10691 PyObject * obj0 = 0 ;
10692 char *kwnames[] = {
10693 (char *) "self",(char *) "filterIndex", NULL
10694 };
10695
10696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileDialog_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
10697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10698 {
10699 PyThreadState* __tstate = wxPyBeginAllowThreads();
10700 (arg1)->SetFilterIndex(arg2);
10701
10702 wxPyEndAllowThreads(__tstate);
10703 if (PyErr_Occurred()) SWIG_fail;
10704 }
10705 Py_INCREF(Py_None); resultobj = Py_None;
10706 return resultobj;
10707 fail:
10708 return NULL;
10709 }
10710
10711
10712 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10713 PyObject *resultobj;
10714 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10715 wxString result;
10716 PyObject * obj0 = 0 ;
10717 char *kwnames[] = {
10718 (char *) "self", NULL
10719 };
10720
10721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
10722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10723 {
10724 PyThreadState* __tstate = wxPyBeginAllowThreads();
10725 result = ((wxFileDialog const *)arg1)->GetMessage();
10726
10727 wxPyEndAllowThreads(__tstate);
10728 if (PyErr_Occurred()) SWIG_fail;
10729 }
10730 {
10731 #if wxUSE_UNICODE
10732 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10733 #else
10734 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10735 #endif
10736 }
10737 return resultobj;
10738 fail:
10739 return NULL;
10740 }
10741
10742
10743 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10744 PyObject *resultobj;
10745 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10746 wxString result;
10747 PyObject * obj0 = 0 ;
10748 char *kwnames[] = {
10749 (char *) "self", NULL
10750 };
10751
10752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
10753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10754 {
10755 PyThreadState* __tstate = wxPyBeginAllowThreads();
10756 result = ((wxFileDialog const *)arg1)->GetPath();
10757
10758 wxPyEndAllowThreads(__tstate);
10759 if (PyErr_Occurred()) SWIG_fail;
10760 }
10761 {
10762 #if wxUSE_UNICODE
10763 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10764 #else
10765 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10766 #endif
10767 }
10768 return resultobj;
10769 fail:
10770 return NULL;
10771 }
10772
10773
10774 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10775 PyObject *resultobj;
10776 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10777 wxString result;
10778 PyObject * obj0 = 0 ;
10779 char *kwnames[] = {
10780 (char *) "self", NULL
10781 };
10782
10783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
10784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10785 {
10786 PyThreadState* __tstate = wxPyBeginAllowThreads();
10787 result = ((wxFileDialog const *)arg1)->GetDirectory();
10788
10789 wxPyEndAllowThreads(__tstate);
10790 if (PyErr_Occurred()) SWIG_fail;
10791 }
10792 {
10793 #if wxUSE_UNICODE
10794 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10795 #else
10796 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10797 #endif
10798 }
10799 return resultobj;
10800 fail:
10801 return NULL;
10802 }
10803
10804
10805 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10806 PyObject *resultobj;
10807 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10808 wxString result;
10809 PyObject * obj0 = 0 ;
10810 char *kwnames[] = {
10811 (char *) "self", NULL
10812 };
10813
10814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
10815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10816 {
10817 PyThreadState* __tstate = wxPyBeginAllowThreads();
10818 result = ((wxFileDialog const *)arg1)->GetFilename();
10819
10820 wxPyEndAllowThreads(__tstate);
10821 if (PyErr_Occurred()) SWIG_fail;
10822 }
10823 {
10824 #if wxUSE_UNICODE
10825 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10826 #else
10827 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10828 #endif
10829 }
10830 return resultobj;
10831 fail:
10832 return NULL;
10833 }
10834
10835
10836 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10837 PyObject *resultobj;
10838 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10839 wxString result;
10840 PyObject * obj0 = 0 ;
10841 char *kwnames[] = {
10842 (char *) "self", NULL
10843 };
10844
10845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
10846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10847 {
10848 PyThreadState* __tstate = wxPyBeginAllowThreads();
10849 result = ((wxFileDialog const *)arg1)->GetWildcard();
10850
10851 wxPyEndAllowThreads(__tstate);
10852 if (PyErr_Occurred()) SWIG_fail;
10853 }
10854 {
10855 #if wxUSE_UNICODE
10856 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10857 #else
10858 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10859 #endif
10860 }
10861 return resultobj;
10862 fail:
10863 return NULL;
10864 }
10865
10866
10867 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10868 PyObject *resultobj;
10869 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10870 long result;
10871 PyObject * obj0 = 0 ;
10872 char *kwnames[] = {
10873 (char *) "self", NULL
10874 };
10875
10876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
10877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10878 {
10879 PyThreadState* __tstate = wxPyBeginAllowThreads();
10880 result = (long)((wxFileDialog const *)arg1)->GetStyle();
10881
10882 wxPyEndAllowThreads(__tstate);
10883 if (PyErr_Occurred()) SWIG_fail;
10884 }
10885 resultobj = PyInt_FromLong((long)result);
10886 return resultobj;
10887 fail:
10888 return NULL;
10889 }
10890
10891
10892 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10893 PyObject *resultobj;
10894 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10895 int result;
10896 PyObject * obj0 = 0 ;
10897 char *kwnames[] = {
10898 (char *) "self", NULL
10899 };
10900
10901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
10902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10903 {
10904 PyThreadState* __tstate = wxPyBeginAllowThreads();
10905 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
10906
10907 wxPyEndAllowThreads(__tstate);
10908 if (PyErr_Occurred()) SWIG_fail;
10909 }
10910 resultobj = PyInt_FromLong((long)result);
10911 return resultobj;
10912 fail:
10913 return NULL;
10914 }
10915
10916
10917 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
10918 PyObject *resultobj;
10919 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10920 PyObject *result;
10921 PyObject * obj0 = 0 ;
10922 char *kwnames[] = {
10923 (char *) "self", NULL
10924 };
10925
10926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
10927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10928 {
10929 PyThreadState* __tstate = wxPyBeginAllowThreads();
10930 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
10931
10932 wxPyEndAllowThreads(__tstate);
10933 if (PyErr_Occurred()) SWIG_fail;
10934 }
10935 resultobj = result;
10936 return resultobj;
10937 fail:
10938 return NULL;
10939 }
10940
10941
10942 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
10943 PyObject *resultobj;
10944 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10945 PyObject *result;
10946 PyObject * obj0 = 0 ;
10947 char *kwnames[] = {
10948 (char *) "self", NULL
10949 };
10950
10951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
10952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10953 {
10954 PyThreadState* __tstate = wxPyBeginAllowThreads();
10955 result = (PyObject *)wxFileDialog_GetPaths(arg1);
10956
10957 wxPyEndAllowThreads(__tstate);
10958 if (PyErr_Occurred()) SWIG_fail;
10959 }
10960 resultobj = result;
10961 return resultobj;
10962 fail:
10963 return NULL;
10964 }
10965
10966
10967 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
10968 PyObject *obj;
10969 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10970 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
10971 Py_INCREF(obj);
10972 return Py_BuildValue((char *)"");
10973 }
10974 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10975 PyObject *resultobj;
10976 wxWindow *arg1 = (wxWindow *) 0 ;
10977 wxString *arg2 = 0 ;
10978 wxString *arg3 = 0 ;
10979 int arg4 ;
10980 wxString *arg5 = (wxString *) 0 ;
10981 long arg6 = (long) wxCHOICEDLG_STYLE ;
10982 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10983 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10984 wxMultiChoiceDialog *result;
10985 bool temp2 = False ;
10986 bool temp3 = False ;
10987 bool temp5 = False ;
10988 wxPoint temp7 ;
10989 PyObject * obj0 = 0 ;
10990 PyObject * obj1 = 0 ;
10991 PyObject * obj2 = 0 ;
10992 PyObject * obj4 = 0 ;
10993 PyObject * obj6 = 0 ;
10994 char *kwnames[] = {
10995 (char *) "parent",(char *) "message",(char *) "caption",(char *) "LCOUNT",(char *) "choices",(char *) "style",(char *) "pos", NULL
10996 };
10997
10998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiO|lO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&arg6,&obj6)) goto fail;
10999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11000 {
11001 arg2 = wxString_in_helper(obj1);
11002 if (arg2 == NULL) SWIG_fail;
11003 temp2 = True;
11004 }
11005 {
11006 arg3 = wxString_in_helper(obj2);
11007 if (arg3 == NULL) SWIG_fail;
11008 temp3 = True;
11009 }
11010 {
11011 arg5 = wxString_in_helper(obj4);
11012 if (arg5 == NULL) SWIG_fail;
11013 temp5 = True;
11014 }
11015 if (obj6) {
11016 {
11017 arg7 = &temp7;
11018 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11019 }
11020 }
11021 {
11022 PyThreadState* __tstate = wxPyBeginAllowThreads();
11023 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
11024
11025 wxPyEndAllowThreads(__tstate);
11026 if (PyErr_Occurred()) SWIG_fail;
11027 }
11028 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMultiChoiceDialog, 1);
11029 {
11030 if (temp2)
11031 delete arg2;
11032 }
11033 {
11034 if (temp3)
11035 delete arg3;
11036 }
11037 {
11038 if (temp5)
11039 delete arg5;
11040 }
11041 return resultobj;
11042 fail:
11043 {
11044 if (temp2)
11045 delete arg2;
11046 }
11047 {
11048 if (temp3)
11049 delete arg3;
11050 }
11051 {
11052 if (temp5)
11053 delete arg5;
11054 }
11055 return NULL;
11056 }
11057
11058
11059 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
11060 PyObject *resultobj;
11061 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
11062 wxArrayInt *arg2 = 0 ;
11063 PyObject * obj0 = 0 ;
11064 PyObject * obj1 = 0 ;
11065 char *kwnames[] = {
11066 (char *) "self",(char *) "selections", NULL
11067 };
11068
11069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
11070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11071 {
11072 if (! PySequence_Check(obj1)) {
11073 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
11074 SWIG_fail;
11075 }
11076 arg2 = new wxArrayInt;
11077 int i, len=PySequence_Length(obj1);
11078 for (i=0; i<len; i++) {
11079 PyObject* item = PySequence_GetItem(obj1, i);
11080 PyObject* number = PyNumber_Int(item);
11081 arg2->Add(PyInt_AS_LONG(number));
11082 Py_DECREF(item);
11083 Py_DECREF(number);
11084 }
11085 }
11086 {
11087 PyThreadState* __tstate = wxPyBeginAllowThreads();
11088 (arg1)->SetSelections((wxArrayInt const &)*arg2);
11089
11090 wxPyEndAllowThreads(__tstate);
11091 if (PyErr_Occurred()) SWIG_fail;
11092 }
11093 Py_INCREF(Py_None); resultobj = Py_None;
11094 {
11095 if (arg2) delete arg2;
11096 }
11097 return resultobj;
11098 fail:
11099 {
11100 if (arg2) delete arg2;
11101 }
11102 return NULL;
11103 }
11104
11105
11106 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
11107 PyObject *resultobj;
11108 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
11109 PyObject *result;
11110 PyObject * obj0 = 0 ;
11111 char *kwnames[] = {
11112 (char *) "self", NULL
11113 };
11114
11115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
11116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11117 {
11118 PyThreadState* __tstate = wxPyBeginAllowThreads();
11119 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
11120
11121 wxPyEndAllowThreads(__tstate);
11122 if (PyErr_Occurred()) SWIG_fail;
11123 }
11124 resultobj = result;
11125 return resultobj;
11126 fail:
11127 return NULL;
11128 }
11129
11130
11131 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
11132 PyObject *obj;
11133 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11134 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
11135 Py_INCREF(obj);
11136 return Py_BuildValue((char *)"");
11137 }
11138 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11139 PyObject *resultobj;
11140 wxWindow *arg1 = (wxWindow *) 0 ;
11141 wxString *arg2 = 0 ;
11142 wxString *arg3 = 0 ;
11143 int arg4 ;
11144 wxString *arg5 = (wxString *) 0 ;
11145 long arg6 = (long) wxCHOICEDLG_STYLE ;
11146 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11147 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11148 wxSingleChoiceDialog *result;
11149 bool temp2 = False ;
11150 bool temp3 = False ;
11151 wxPoint temp6 ;
11152 PyObject * obj0 = 0 ;
11153 PyObject * obj1 = 0 ;
11154 PyObject * obj2 = 0 ;
11155 PyObject * obj3 = 0 ;
11156 PyObject * obj5 = 0 ;
11157 char *kwnames[] = {
11158 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11159 };
11160
11161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|lO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&obj5)) goto fail;
11162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11163 {
11164 arg2 = wxString_in_helper(obj1);
11165 if (arg2 == NULL) SWIG_fail;
11166 temp2 = True;
11167 }
11168 {
11169 arg3 = wxString_in_helper(obj2);
11170 if (arg3 == NULL) SWIG_fail;
11171 temp3 = True;
11172 }
11173 {
11174 arg4 = PyList_Size(obj3);
11175 arg5 = wxString_LIST_helper(obj3);
11176 if (arg5 == NULL) SWIG_fail;
11177 }
11178 if (obj5) {
11179 {
11180 arg7 = &temp6;
11181 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
11182 }
11183 }
11184 {
11185 PyThreadState* __tstate = wxPyBeginAllowThreads();
11186 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
11187
11188 wxPyEndAllowThreads(__tstate);
11189 if (PyErr_Occurred()) SWIG_fail;
11190 }
11191 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleChoiceDialog, 1);
11192 {
11193 if (temp2)
11194 delete arg2;
11195 }
11196 {
11197 if (temp3)
11198 delete arg3;
11199 }
11200 {
11201 if (arg5) delete [] arg5;
11202 }
11203 return resultobj;
11204 fail:
11205 {
11206 if (temp2)
11207 delete arg2;
11208 }
11209 {
11210 if (temp3)
11211 delete arg3;
11212 }
11213 {
11214 if (arg5) delete [] arg5;
11215 }
11216 return NULL;
11217 }
11218
11219
11220 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11221 PyObject *resultobj;
11222 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11223 int result;
11224 PyObject * obj0 = 0 ;
11225 char *kwnames[] = {
11226 (char *) "self", NULL
11227 };
11228
11229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
11230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11231 {
11232 PyThreadState* __tstate = wxPyBeginAllowThreads();
11233 result = (int)(arg1)->GetSelection();
11234
11235 wxPyEndAllowThreads(__tstate);
11236 if (PyErr_Occurred()) SWIG_fail;
11237 }
11238 resultobj = PyInt_FromLong((long)result);
11239 return resultobj;
11240 fail:
11241 return NULL;
11242 }
11243
11244
11245 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11246 PyObject *resultobj;
11247 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11248 wxString result;
11249 PyObject * obj0 = 0 ;
11250 char *kwnames[] = {
11251 (char *) "self", NULL
11252 };
11253
11254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
11255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11256 {
11257 PyThreadState* __tstate = wxPyBeginAllowThreads();
11258 result = (arg1)->GetStringSelection();
11259
11260 wxPyEndAllowThreads(__tstate);
11261 if (PyErr_Occurred()) SWIG_fail;
11262 }
11263 {
11264 #if wxUSE_UNICODE
11265 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11266 #else
11267 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11268 #endif
11269 }
11270 return resultobj;
11271 fail:
11272 return NULL;
11273 }
11274
11275
11276 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11277 PyObject *resultobj;
11278 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11279 int arg2 ;
11280 PyObject * obj0 = 0 ;
11281 char *kwnames[] = {
11282 (char *) "self",(char *) "sel", NULL
11283 };
11284
11285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SingleChoiceDialog_SetSelection",kwnames,&obj0,&arg2)) goto fail;
11286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11287 {
11288 PyThreadState* __tstate = wxPyBeginAllowThreads();
11289 (arg1)->SetSelection(arg2);
11290
11291 wxPyEndAllowThreads(__tstate);
11292 if (PyErr_Occurred()) SWIG_fail;
11293 }
11294 Py_INCREF(Py_None); resultobj = Py_None;
11295 return resultobj;
11296 fail:
11297 return NULL;
11298 }
11299
11300
11301 static PyObject *_wrap_SingleChoiceDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11302 PyObject *resultobj;
11303 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11304 int result;
11305 PyObject * obj0 = 0 ;
11306 char *kwnames[] = {
11307 (char *) "self", NULL
11308 };
11309
11310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_ShowModal",kwnames,&obj0)) goto fail;
11311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11312 {
11313 PyThreadState* __tstate = wxPyBeginAllowThreads();
11314 result = (int)(arg1)->ShowModal();
11315
11316 wxPyEndAllowThreads(__tstate);
11317 if (PyErr_Occurred()) SWIG_fail;
11318 }
11319 resultobj = PyInt_FromLong((long)result);
11320 return resultobj;
11321 fail:
11322 return NULL;
11323 }
11324
11325
11326 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
11327 PyObject *obj;
11328 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11329 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
11330 Py_INCREF(obj);
11331 return Py_BuildValue((char *)"");
11332 }
11333 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11334 PyObject *resultobj;
11335 wxWindow *arg1 = (wxWindow *) 0 ;
11336 wxString *arg2 = 0 ;
11337 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
11338 wxString *arg3 = (wxString *) &arg3_defvalue ;
11339 wxString const &arg4_defvalue = wxPyEmptyString ;
11340 wxString *arg4 = (wxString *) &arg4_defvalue ;
11341 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
11342 wxPoint const &arg6_defvalue = wxDefaultPosition ;
11343 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
11344 wxTextEntryDialog *result;
11345 bool temp2 = False ;
11346 bool temp3 = False ;
11347 bool temp4 = False ;
11348 wxPoint temp6 ;
11349 PyObject * obj0 = 0 ;
11350 PyObject * obj1 = 0 ;
11351 PyObject * obj2 = 0 ;
11352 PyObject * obj3 = 0 ;
11353 PyObject * obj5 = 0 ;
11354 char *kwnames[] = {
11355 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
11356 };
11357
11358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
11359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11360 {
11361 arg2 = wxString_in_helper(obj1);
11362 if (arg2 == NULL) SWIG_fail;
11363 temp2 = True;
11364 }
11365 if (obj2) {
11366 {
11367 arg3 = wxString_in_helper(obj2);
11368 if (arg3 == NULL) SWIG_fail;
11369 temp3 = True;
11370 }
11371 }
11372 if (obj3) {
11373 {
11374 arg4 = wxString_in_helper(obj3);
11375 if (arg4 == NULL) SWIG_fail;
11376 temp4 = True;
11377 }
11378 }
11379 if (obj5) {
11380 {
11381 arg6 = &temp6;
11382 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
11383 }
11384 }
11385 {
11386 PyThreadState* __tstate = wxPyBeginAllowThreads();
11387 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
11388
11389 wxPyEndAllowThreads(__tstate);
11390 if (PyErr_Occurred()) SWIG_fail;
11391 }
11392 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextEntryDialog, 1);
11393 {
11394 if (temp2)
11395 delete arg2;
11396 }
11397 {
11398 if (temp3)
11399 delete arg3;
11400 }
11401 {
11402 if (temp4)
11403 delete arg4;
11404 }
11405 return resultobj;
11406 fail:
11407 {
11408 if (temp2)
11409 delete arg2;
11410 }
11411 {
11412 if (temp3)
11413 delete arg3;
11414 }
11415 {
11416 if (temp4)
11417 delete arg4;
11418 }
11419 return NULL;
11420 }
11421
11422
11423 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11424 PyObject *resultobj;
11425 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11426 wxString result;
11427 PyObject * obj0 = 0 ;
11428 char *kwnames[] = {
11429 (char *) "self", NULL
11430 };
11431
11432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
11433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11434 {
11435 PyThreadState* __tstate = wxPyBeginAllowThreads();
11436 result = (arg1)->GetValue();
11437
11438 wxPyEndAllowThreads(__tstate);
11439 if (PyErr_Occurred()) SWIG_fail;
11440 }
11441 {
11442 #if wxUSE_UNICODE
11443 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11444 #else
11445 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11446 #endif
11447 }
11448 return resultobj;
11449 fail:
11450 return NULL;
11451 }
11452
11453
11454 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11455 PyObject *resultobj;
11456 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11457 wxString *arg2 = 0 ;
11458 bool temp2 = False ;
11459 PyObject * obj0 = 0 ;
11460 PyObject * obj1 = 0 ;
11461 char *kwnames[] = {
11462 (char *) "self",(char *) "value", NULL
11463 };
11464
11465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
11466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11467 {
11468 arg2 = wxString_in_helper(obj1);
11469 if (arg2 == NULL) SWIG_fail;
11470 temp2 = True;
11471 }
11472 {
11473 PyThreadState* __tstate = wxPyBeginAllowThreads();
11474 (arg1)->SetValue((wxString const &)*arg2);
11475
11476 wxPyEndAllowThreads(__tstate);
11477 if (PyErr_Occurred()) SWIG_fail;
11478 }
11479 Py_INCREF(Py_None); resultobj = Py_None;
11480 {
11481 if (temp2)
11482 delete arg2;
11483 }
11484 return resultobj;
11485 fail:
11486 {
11487 if (temp2)
11488 delete arg2;
11489 }
11490 return NULL;
11491 }
11492
11493
11494 static PyObject *_wrap_TextEntryDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11495 PyObject *resultobj;
11496 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11497 int result;
11498 PyObject * obj0 = 0 ;
11499 char *kwnames[] = {
11500 (char *) "self", NULL
11501 };
11502
11503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_ShowModal",kwnames,&obj0)) goto fail;
11504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11505 {
11506 PyThreadState* __tstate = wxPyBeginAllowThreads();
11507 result = (int)(arg1)->ShowModal();
11508
11509 wxPyEndAllowThreads(__tstate);
11510 if (PyErr_Occurred()) SWIG_fail;
11511 }
11512 resultobj = PyInt_FromLong((long)result);
11513 return resultobj;
11514 fail:
11515 return NULL;
11516 }
11517
11518
11519 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
11520 PyObject *obj;
11521 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11522 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
11523 Py_INCREF(obj);
11524 return Py_BuildValue((char *)"");
11525 }
11526 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11527 PyObject *resultobj;
11528 wxFontData *result;
11529 char *kwnames[] = {
11530 NULL
11531 };
11532
11533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
11534 {
11535 PyThreadState* __tstate = wxPyBeginAllowThreads();
11536 result = (wxFontData *)new wxFontData();
11537
11538 wxPyEndAllowThreads(__tstate);
11539 if (PyErr_Occurred()) SWIG_fail;
11540 }
11541 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 1);
11542 return resultobj;
11543 fail:
11544 return NULL;
11545 }
11546
11547
11548 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11549 PyObject *resultobj;
11550 wxFontData *arg1 = (wxFontData *) 0 ;
11551 PyObject * obj0 = 0 ;
11552 char *kwnames[] = {
11553 (char *) "self", NULL
11554 };
11555
11556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
11557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11558 {
11559 PyThreadState* __tstate = wxPyBeginAllowThreads();
11560 delete arg1;
11561
11562 wxPyEndAllowThreads(__tstate);
11563 if (PyErr_Occurred()) SWIG_fail;
11564 }
11565 Py_INCREF(Py_None); resultobj = Py_None;
11566 return resultobj;
11567 fail:
11568 return NULL;
11569 }
11570
11571
11572 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11573 PyObject *resultobj;
11574 wxFontData *arg1 = (wxFontData *) 0 ;
11575 bool arg2 ;
11576 PyObject * obj0 = 0 ;
11577 PyObject * obj1 = 0 ;
11578 char *kwnames[] = {
11579 (char *) "self",(char *) "enable", NULL
11580 };
11581
11582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
11583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11584 arg2 = PyInt_AsLong(obj1) ? true : false;
11585 if (PyErr_Occurred()) SWIG_fail;
11586 {
11587 PyThreadState* __tstate = wxPyBeginAllowThreads();
11588 (arg1)->EnableEffects(arg2);
11589
11590 wxPyEndAllowThreads(__tstate);
11591 if (PyErr_Occurred()) SWIG_fail;
11592 }
11593 Py_INCREF(Py_None); resultobj = Py_None;
11594 return resultobj;
11595 fail:
11596 return NULL;
11597 }
11598
11599
11600 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11601 PyObject *resultobj;
11602 wxFontData *arg1 = (wxFontData *) 0 ;
11603 bool result;
11604 PyObject * obj0 = 0 ;
11605 char *kwnames[] = {
11606 (char *) "self", NULL
11607 };
11608
11609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
11610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11611 {
11612 PyThreadState* __tstate = wxPyBeginAllowThreads();
11613 result = (bool)(arg1)->GetAllowSymbols();
11614
11615 wxPyEndAllowThreads(__tstate);
11616 if (PyErr_Occurred()) SWIG_fail;
11617 }
11618 resultobj = PyInt_FromLong((long)result);
11619 return resultobj;
11620 fail:
11621 return NULL;
11622 }
11623
11624
11625 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11626 PyObject *resultobj;
11627 wxFontData *arg1 = (wxFontData *) 0 ;
11628 wxColour result;
11629 PyObject * obj0 = 0 ;
11630 char *kwnames[] = {
11631 (char *) "self", NULL
11632 };
11633
11634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
11635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11636 {
11637 PyThreadState* __tstate = wxPyBeginAllowThreads();
11638 result = (arg1)->GetColour();
11639
11640 wxPyEndAllowThreads(__tstate);
11641 if (PyErr_Occurred()) SWIG_fail;
11642 }
11643 {
11644 wxColour * resultptr;
11645 resultptr = new wxColour((wxColour &) result);
11646 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
11647 }
11648 return resultobj;
11649 fail:
11650 return NULL;
11651 }
11652
11653
11654 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11655 PyObject *resultobj;
11656 wxFontData *arg1 = (wxFontData *) 0 ;
11657 wxFont result;
11658 PyObject * obj0 = 0 ;
11659 char *kwnames[] = {
11660 (char *) "self", NULL
11661 };
11662
11663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
11664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11665 {
11666 PyThreadState* __tstate = wxPyBeginAllowThreads();
11667 result = (arg1)->GetChosenFont();
11668
11669 wxPyEndAllowThreads(__tstate);
11670 if (PyErr_Occurred()) SWIG_fail;
11671 }
11672 {
11673 wxFont * resultptr;
11674 resultptr = new wxFont((wxFont &) result);
11675 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11676 }
11677 return resultobj;
11678 fail:
11679 return NULL;
11680 }
11681
11682
11683 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11684 PyObject *resultobj;
11685 wxFontData *arg1 = (wxFontData *) 0 ;
11686 bool result;
11687 PyObject * obj0 = 0 ;
11688 char *kwnames[] = {
11689 (char *) "self", NULL
11690 };
11691
11692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
11693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11694 {
11695 PyThreadState* __tstate = wxPyBeginAllowThreads();
11696 result = (bool)(arg1)->GetEnableEffects();
11697
11698 wxPyEndAllowThreads(__tstate);
11699 if (PyErr_Occurred()) SWIG_fail;
11700 }
11701 resultobj = PyInt_FromLong((long)result);
11702 return resultobj;
11703 fail:
11704 return NULL;
11705 }
11706
11707
11708 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11709 PyObject *resultobj;
11710 wxFontData *arg1 = (wxFontData *) 0 ;
11711 wxFont result;
11712 PyObject * obj0 = 0 ;
11713 char *kwnames[] = {
11714 (char *) "self", NULL
11715 };
11716
11717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
11718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11719 {
11720 PyThreadState* __tstate = wxPyBeginAllowThreads();
11721 result = (arg1)->GetInitialFont();
11722
11723 wxPyEndAllowThreads(__tstate);
11724 if (PyErr_Occurred()) SWIG_fail;
11725 }
11726 {
11727 wxFont * resultptr;
11728 resultptr = new wxFont((wxFont &) result);
11729 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11730 }
11731 return resultobj;
11732 fail:
11733 return NULL;
11734 }
11735
11736
11737 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11738 PyObject *resultobj;
11739 wxFontData *arg1 = (wxFontData *) 0 ;
11740 bool result;
11741 PyObject * obj0 = 0 ;
11742 char *kwnames[] = {
11743 (char *) "self", NULL
11744 };
11745
11746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
11747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11748 {
11749 PyThreadState* __tstate = wxPyBeginAllowThreads();
11750 result = (bool)(arg1)->GetShowHelp();
11751
11752 wxPyEndAllowThreads(__tstate);
11753 if (PyErr_Occurred()) SWIG_fail;
11754 }
11755 resultobj = PyInt_FromLong((long)result);
11756 return resultobj;
11757 fail:
11758 return NULL;
11759 }
11760
11761
11762 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11763 PyObject *resultobj;
11764 wxFontData *arg1 = (wxFontData *) 0 ;
11765 bool arg2 ;
11766 PyObject * obj0 = 0 ;
11767 PyObject * obj1 = 0 ;
11768 char *kwnames[] = {
11769 (char *) "self",(char *) "allowSymbols", NULL
11770 };
11771
11772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
11773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11774 arg2 = PyInt_AsLong(obj1) ? true : false;
11775 if (PyErr_Occurred()) SWIG_fail;
11776 {
11777 PyThreadState* __tstate = wxPyBeginAllowThreads();
11778 (arg1)->SetAllowSymbols(arg2);
11779
11780 wxPyEndAllowThreads(__tstate);
11781 if (PyErr_Occurred()) SWIG_fail;
11782 }
11783 Py_INCREF(Py_None); resultobj = Py_None;
11784 return resultobj;
11785 fail:
11786 return NULL;
11787 }
11788
11789
11790 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11791 PyObject *resultobj;
11792 wxFontData *arg1 = (wxFontData *) 0 ;
11793 wxFont *arg2 = 0 ;
11794 PyObject * obj0 = 0 ;
11795 PyObject * obj1 = 0 ;
11796 char *kwnames[] = {
11797 (char *) "self",(char *) "font", NULL
11798 };
11799
11800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
11801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11802 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11803 if (arg2 == NULL) {
11804 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11805 }
11806 {
11807 PyThreadState* __tstate = wxPyBeginAllowThreads();
11808 (arg1)->SetChosenFont((wxFont const &)*arg2);
11809
11810 wxPyEndAllowThreads(__tstate);
11811 if (PyErr_Occurred()) SWIG_fail;
11812 }
11813 Py_INCREF(Py_None); resultobj = Py_None;
11814 return resultobj;
11815 fail:
11816 return NULL;
11817 }
11818
11819
11820 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11821 PyObject *resultobj;
11822 wxFontData *arg1 = (wxFontData *) 0 ;
11823 wxColour *arg2 = 0 ;
11824 wxColour temp2 ;
11825 PyObject * obj0 = 0 ;
11826 PyObject * obj1 = 0 ;
11827 char *kwnames[] = {
11828 (char *) "self",(char *) "colour", NULL
11829 };
11830
11831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11833 {
11834 arg2 = &temp2;
11835 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11836 }
11837 {
11838 PyThreadState* __tstate = wxPyBeginAllowThreads();
11839 (arg1)->SetColour((wxColour const &)*arg2);
11840
11841 wxPyEndAllowThreads(__tstate);
11842 if (PyErr_Occurred()) SWIG_fail;
11843 }
11844 Py_INCREF(Py_None); resultobj = Py_None;
11845 return resultobj;
11846 fail:
11847 return NULL;
11848 }
11849
11850
11851 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11852 PyObject *resultobj;
11853 wxFontData *arg1 = (wxFontData *) 0 ;
11854 wxFont *arg2 = 0 ;
11855 PyObject * obj0 = 0 ;
11856 PyObject * obj1 = 0 ;
11857 char *kwnames[] = {
11858 (char *) "self",(char *) "font", NULL
11859 };
11860
11861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
11862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11863 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11864 if (arg2 == NULL) {
11865 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11866 }
11867 {
11868 PyThreadState* __tstate = wxPyBeginAllowThreads();
11869 (arg1)->SetInitialFont((wxFont const &)*arg2);
11870
11871 wxPyEndAllowThreads(__tstate);
11872 if (PyErr_Occurred()) SWIG_fail;
11873 }
11874 Py_INCREF(Py_None); resultobj = Py_None;
11875 return resultobj;
11876 fail:
11877 return NULL;
11878 }
11879
11880
11881 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11882 PyObject *resultobj;
11883 wxFontData *arg1 = (wxFontData *) 0 ;
11884 int arg2 ;
11885 int arg3 ;
11886 PyObject * obj0 = 0 ;
11887 char *kwnames[] = {
11888 (char *) "self",(char *) "min",(char *) "max", NULL
11889 };
11890
11891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:FontData_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
11892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11893 {
11894 PyThreadState* __tstate = wxPyBeginAllowThreads();
11895 (arg1)->SetRange(arg2,arg3);
11896
11897 wxPyEndAllowThreads(__tstate);
11898 if (PyErr_Occurred()) SWIG_fail;
11899 }
11900 Py_INCREF(Py_None); resultobj = Py_None;
11901 return resultobj;
11902 fail:
11903 return NULL;
11904 }
11905
11906
11907 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11908 PyObject *resultobj;
11909 wxFontData *arg1 = (wxFontData *) 0 ;
11910 bool arg2 ;
11911 PyObject * obj0 = 0 ;
11912 PyObject * obj1 = 0 ;
11913 char *kwnames[] = {
11914 (char *) "self",(char *) "showHelp", NULL
11915 };
11916
11917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
11918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11919 arg2 = PyInt_AsLong(obj1) ? true : false;
11920 if (PyErr_Occurred()) SWIG_fail;
11921 {
11922 PyThreadState* __tstate = wxPyBeginAllowThreads();
11923 (arg1)->SetShowHelp(arg2);
11924
11925 wxPyEndAllowThreads(__tstate);
11926 if (PyErr_Occurred()) SWIG_fail;
11927 }
11928 Py_INCREF(Py_None); resultobj = Py_None;
11929 return resultobj;
11930 fail:
11931 return NULL;
11932 }
11933
11934
11935 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
11936 PyObject *obj;
11937 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11938 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
11939 Py_INCREF(obj);
11940 return Py_BuildValue((char *)"");
11941 }
11942 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11943 PyObject *resultobj;
11944 wxWindow *arg1 = (wxWindow *) 0 ;
11945 wxFontData *arg2 = 0 ;
11946 wxFontDialog *result;
11947 PyObject * obj0 = 0 ;
11948 PyObject * obj1 = 0 ;
11949 char *kwnames[] = {
11950 (char *) "parent",(char *) "data", NULL
11951 };
11952
11953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
11954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11955 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11956 if (arg2 == NULL) {
11957 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11958 }
11959 {
11960 PyThreadState* __tstate = wxPyBeginAllowThreads();
11961 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
11962
11963 wxPyEndAllowThreads(__tstate);
11964 if (PyErr_Occurred()) SWIG_fail;
11965 }
11966 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontDialog, 1);
11967 return resultobj;
11968 fail:
11969 return NULL;
11970 }
11971
11972
11973 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11974 PyObject *resultobj;
11975 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
11976 wxFontData *result;
11977 PyObject * obj0 = 0 ;
11978 char *kwnames[] = {
11979 (char *) "self", NULL
11980 };
11981
11982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
11983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11984 {
11985 PyThreadState* __tstate = wxPyBeginAllowThreads();
11986 {
11987 wxFontData &_result_ref = (arg1)->GetFontData();
11988 result = (wxFontData *) &_result_ref;
11989 }
11990
11991 wxPyEndAllowThreads(__tstate);
11992 if (PyErr_Occurred()) SWIG_fail;
11993 }
11994 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 0);
11995 return resultobj;
11996 fail:
11997 return NULL;
11998 }
11999
12000
12001 static PyObject *_wrap_FontDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
12002 PyObject *resultobj;
12003 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
12004 int result;
12005 PyObject * obj0 = 0 ;
12006 char *kwnames[] = {
12007 (char *) "self", NULL
12008 };
12009
12010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_ShowModal",kwnames,&obj0)) goto fail;
12011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12012 {
12013 PyThreadState* __tstate = wxPyBeginAllowThreads();
12014 result = (int)(arg1)->ShowModal();
12015
12016 wxPyEndAllowThreads(__tstate);
12017 if (PyErr_Occurred()) SWIG_fail;
12018 }
12019 resultobj = PyInt_FromLong((long)result);
12020 return resultobj;
12021 fail:
12022 return NULL;
12023 }
12024
12025
12026 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
12027 PyObject *obj;
12028 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12029 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
12030 Py_INCREF(obj);
12031 return Py_BuildValue((char *)"");
12032 }
12033 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12034 PyObject *resultobj;
12035 wxWindow *arg1 = (wxWindow *) 0 ;
12036 wxString *arg2 = 0 ;
12037 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
12038 wxString *arg3 = (wxString *) &arg3_defvalue ;
12039 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
12040 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12041 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12042 wxMessageDialog *result;
12043 bool temp2 = False ;
12044 bool temp3 = False ;
12045 wxPoint temp5 ;
12046 PyObject * obj0 = 0 ;
12047 PyObject * obj1 = 0 ;
12048 PyObject * obj2 = 0 ;
12049 PyObject * obj4 = 0 ;
12050 char *kwnames[] = {
12051 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
12052 };
12053
12054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OlO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4)) goto fail;
12055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12056 {
12057 arg2 = wxString_in_helper(obj1);
12058 if (arg2 == NULL) SWIG_fail;
12059 temp2 = True;
12060 }
12061 if (obj2) {
12062 {
12063 arg3 = wxString_in_helper(obj2);
12064 if (arg3 == NULL) SWIG_fail;
12065 temp3 = True;
12066 }
12067 }
12068 if (obj4) {
12069 {
12070 arg5 = &temp5;
12071 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12072 }
12073 }
12074 {
12075 PyThreadState* __tstate = wxPyBeginAllowThreads();
12076 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
12077
12078 wxPyEndAllowThreads(__tstate);
12079 if (PyErr_Occurred()) SWIG_fail;
12080 }
12081 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMessageDialog, 1);
12082 {
12083 if (temp2)
12084 delete arg2;
12085 }
12086 {
12087 if (temp3)
12088 delete arg3;
12089 }
12090 return resultobj;
12091 fail:
12092 {
12093 if (temp2)
12094 delete arg2;
12095 }
12096 {
12097 if (temp3)
12098 delete arg3;
12099 }
12100 return NULL;
12101 }
12102
12103
12104 static PyObject *_wrap_MessageDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
12105 PyObject *resultobj;
12106 wxMessageDialog *arg1 = (wxMessageDialog *) 0 ;
12107 int result;
12108 PyObject * obj0 = 0 ;
12109 char *kwnames[] = {
12110 (char *) "self", NULL
12111 };
12112
12113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MessageDialog_ShowModal",kwnames,&obj0)) goto fail;
12114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMessageDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12115 {
12116 PyThreadState* __tstate = wxPyBeginAllowThreads();
12117 result = (int)(arg1)->ShowModal();
12118
12119 wxPyEndAllowThreads(__tstate);
12120 if (PyErr_Occurred()) SWIG_fail;
12121 }
12122 resultobj = PyInt_FromLong((long)result);
12123 return resultobj;
12124 fail:
12125 return NULL;
12126 }
12127
12128
12129 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
12130 PyObject *obj;
12131 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12132 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
12133 Py_INCREF(obj);
12134 return Py_BuildValue((char *)"");
12135 }
12136 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12137 PyObject *resultobj;
12138 wxString *arg1 = 0 ;
12139 wxString *arg2 = 0 ;
12140 int arg3 = (int) 100 ;
12141 wxWindow *arg4 = (wxWindow *) NULL ;
12142 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
12143 wxProgressDialog *result;
12144 bool temp1 = False ;
12145 bool temp2 = False ;
12146 PyObject * obj0 = 0 ;
12147 PyObject * obj1 = 0 ;
12148 PyObject * obj3 = 0 ;
12149 char *kwnames[] = {
12150 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
12151 };
12152
12153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOi:new_ProgressDialog",kwnames,&obj0,&obj1,&arg3,&obj3,&arg5)) goto fail;
12154 {
12155 arg1 = wxString_in_helper(obj0);
12156 if (arg1 == NULL) SWIG_fail;
12157 temp1 = True;
12158 }
12159 {
12160 arg2 = wxString_in_helper(obj1);
12161 if (arg2 == NULL) SWIG_fail;
12162 temp2 = True;
12163 }
12164 if (obj3) {
12165 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12166 }
12167 {
12168 PyThreadState* __tstate = wxPyBeginAllowThreads();
12169 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
12170
12171 wxPyEndAllowThreads(__tstate);
12172 if (PyErr_Occurred()) SWIG_fail;
12173 }
12174 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProgressDialog, 1);
12175 {
12176 if (temp1)
12177 delete arg1;
12178 }
12179 {
12180 if (temp2)
12181 delete arg2;
12182 }
12183 return resultobj;
12184 fail:
12185 {
12186 if (temp1)
12187 delete arg1;
12188 }
12189 {
12190 if (temp2)
12191 delete arg2;
12192 }
12193 return NULL;
12194 }
12195
12196
12197 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
12198 PyObject *resultobj;
12199 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
12200 int arg2 ;
12201 wxString const &arg3_defvalue = wxPyEmptyString ;
12202 wxString *arg3 = (wxString *) &arg3_defvalue ;
12203 bool result;
12204 bool temp3 = False ;
12205 PyObject * obj0 = 0 ;
12206 PyObject * obj2 = 0 ;
12207 char *kwnames[] = {
12208 (char *) "self",(char *) "value",(char *) "newmsg", NULL
12209 };
12210
12211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ProgressDialog_Update",kwnames,&obj0,&arg2,&obj2)) goto fail;
12212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12213 if (obj2) {
12214 {
12215 arg3 = wxString_in_helper(obj2);
12216 if (arg3 == NULL) SWIG_fail;
12217 temp3 = True;
12218 }
12219 }
12220 {
12221 PyThreadState* __tstate = wxPyBeginAllowThreads();
12222 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
12223
12224 wxPyEndAllowThreads(__tstate);
12225 if (PyErr_Occurred()) SWIG_fail;
12226 }
12227 resultobj = PyInt_FromLong((long)result);
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_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
12243 PyObject *resultobj;
12244 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
12245 PyObject * obj0 = 0 ;
12246 char *kwnames[] = {
12247 (char *) "self", NULL
12248 };
12249
12250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
12251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12252 {
12253 PyThreadState* __tstate = wxPyBeginAllowThreads();
12254 (arg1)->Resume();
12255
12256 wxPyEndAllowThreads(__tstate);
12257 if (PyErr_Occurred()) SWIG_fail;
12258 }
12259 Py_INCREF(Py_None); resultobj = Py_None;
12260 return resultobj;
12261 fail:
12262 return NULL;
12263 }
12264
12265
12266 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
12267 PyObject *obj;
12268 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12269 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
12270 Py_INCREF(obj);
12271 return Py_BuildValue((char *)"");
12272 }
12273 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12274 PyObject *resultobj;
12275 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12276 int arg2 = (int) 0 ;
12277 wxFindDialogEvent *result;
12278 char *kwnames[] = {
12279 (char *) "commandType",(char *) "id", NULL
12280 };
12281
12282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_FindDialogEvent",kwnames,&arg1,&arg2)) goto fail;
12283 {
12284 PyThreadState* __tstate = wxPyBeginAllowThreads();
12285 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
12286
12287 wxPyEndAllowThreads(__tstate);
12288 if (PyErr_Occurred()) SWIG_fail;
12289 }
12290 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindDialogEvent, 1);
12291 return resultobj;
12292 fail:
12293 return NULL;
12294 }
12295
12296
12297 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12298 PyObject *resultobj;
12299 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12300 int result;
12301 PyObject * obj0 = 0 ;
12302 char *kwnames[] = {
12303 (char *) "self", NULL
12304 };
12305
12306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
12307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12308 {
12309 PyThreadState* __tstate = wxPyBeginAllowThreads();
12310 result = (int)(arg1)->GetFlags();
12311
12312 wxPyEndAllowThreads(__tstate);
12313 if (PyErr_Occurred()) SWIG_fail;
12314 }
12315 resultobj = PyInt_FromLong((long)result);
12316 return resultobj;
12317 fail:
12318 return NULL;
12319 }
12320
12321
12322 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12323 PyObject *resultobj;
12324 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12325 wxString *result;
12326 PyObject * obj0 = 0 ;
12327 char *kwnames[] = {
12328 (char *) "self", NULL
12329 };
12330
12331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
12332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12333 {
12334 PyThreadState* __tstate = wxPyBeginAllowThreads();
12335 {
12336 wxString const &_result_ref = (arg1)->GetFindString();
12337 result = (wxString *) &_result_ref;
12338 }
12339
12340 wxPyEndAllowThreads(__tstate);
12341 if (PyErr_Occurred()) SWIG_fail;
12342 }
12343 {
12344 #if wxUSE_UNICODE
12345 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12346 #else
12347 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12348 #endif
12349 }
12350 return resultobj;
12351 fail:
12352 return NULL;
12353 }
12354
12355
12356 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12357 PyObject *resultobj;
12358 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12359 wxString *result;
12360 PyObject * obj0 = 0 ;
12361 char *kwnames[] = {
12362 (char *) "self", NULL
12363 };
12364
12365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
12366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12367 {
12368 PyThreadState* __tstate = wxPyBeginAllowThreads();
12369 {
12370 wxString const &_result_ref = (arg1)->GetReplaceString();
12371 result = (wxString *) &_result_ref;
12372 }
12373
12374 wxPyEndAllowThreads(__tstate);
12375 if (PyErr_Occurred()) SWIG_fail;
12376 }
12377 {
12378 #if wxUSE_UNICODE
12379 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12380 #else
12381 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12382 #endif
12383 }
12384 return resultobj;
12385 fail:
12386 return NULL;
12387 }
12388
12389
12390 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12391 PyObject *resultobj;
12392 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12393 wxFindReplaceDialog *result;
12394 PyObject * obj0 = 0 ;
12395 char *kwnames[] = {
12396 (char *) "self", NULL
12397 };
12398
12399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
12400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12401 {
12402 PyThreadState* __tstate = wxPyBeginAllowThreads();
12403 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
12404
12405 wxPyEndAllowThreads(__tstate);
12406 if (PyErr_Occurred()) SWIG_fail;
12407 }
12408 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 0);
12409 return resultobj;
12410 fail:
12411 return NULL;
12412 }
12413
12414
12415 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12416 PyObject *resultobj;
12417 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12418 int arg2 ;
12419 PyObject * obj0 = 0 ;
12420 char *kwnames[] = {
12421 (char *) "self",(char *) "flags", NULL
12422 };
12423
12424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindDialogEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12426 {
12427 PyThreadState* __tstate = wxPyBeginAllowThreads();
12428 (arg1)->SetFlags(arg2);
12429
12430 wxPyEndAllowThreads(__tstate);
12431 if (PyErr_Occurred()) SWIG_fail;
12432 }
12433 Py_INCREF(Py_None); resultobj = Py_None;
12434 return resultobj;
12435 fail:
12436 return NULL;
12437 }
12438
12439
12440 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12441 PyObject *resultobj;
12442 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12443 wxString *arg2 = 0 ;
12444 bool temp2 = False ;
12445 PyObject * obj0 = 0 ;
12446 PyObject * obj1 = 0 ;
12447 char *kwnames[] = {
12448 (char *) "self",(char *) "str", NULL
12449 };
12450
12451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12453 {
12454 arg2 = wxString_in_helper(obj1);
12455 if (arg2 == NULL) SWIG_fail;
12456 temp2 = True;
12457 }
12458 {
12459 PyThreadState* __tstate = wxPyBeginAllowThreads();
12460 (arg1)->SetFindString((wxString const &)*arg2);
12461
12462 wxPyEndAllowThreads(__tstate);
12463 if (PyErr_Occurred()) SWIG_fail;
12464 }
12465 Py_INCREF(Py_None); resultobj = Py_None;
12466 {
12467 if (temp2)
12468 delete arg2;
12469 }
12470 return resultobj;
12471 fail:
12472 {
12473 if (temp2)
12474 delete arg2;
12475 }
12476 return NULL;
12477 }
12478
12479
12480 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12481 PyObject *resultobj;
12482 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12483 wxString *arg2 = 0 ;
12484 bool temp2 = False ;
12485 PyObject * obj0 = 0 ;
12486 PyObject * obj1 = 0 ;
12487 char *kwnames[] = {
12488 (char *) "self",(char *) "str", NULL
12489 };
12490
12491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12493 {
12494 arg2 = wxString_in_helper(obj1);
12495 if (arg2 == NULL) SWIG_fail;
12496 temp2 = True;
12497 }
12498 {
12499 PyThreadState* __tstate = wxPyBeginAllowThreads();
12500 (arg1)->SetReplaceString((wxString const &)*arg2);
12501
12502 wxPyEndAllowThreads(__tstate);
12503 if (PyErr_Occurred()) SWIG_fail;
12504 }
12505 Py_INCREF(Py_None); resultobj = Py_None;
12506 {
12507 if (temp2)
12508 delete arg2;
12509 }
12510 return resultobj;
12511 fail:
12512 {
12513 if (temp2)
12514 delete arg2;
12515 }
12516 return NULL;
12517 }
12518
12519
12520 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
12521 PyObject *obj;
12522 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12523 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
12524 Py_INCREF(obj);
12525 return Py_BuildValue((char *)"");
12526 }
12527 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12528 PyObject *resultobj;
12529 int arg1 = (int) 0 ;
12530 wxFindReplaceData *result;
12531 char *kwnames[] = {
12532 (char *) "flags", NULL
12533 };
12534
12535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_FindReplaceData",kwnames,&arg1)) goto fail;
12536 {
12537 PyThreadState* __tstate = wxPyBeginAllowThreads();
12538 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
12539
12540 wxPyEndAllowThreads(__tstate);
12541 if (PyErr_Occurred()) SWIG_fail;
12542 }
12543 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 1);
12544 return resultobj;
12545 fail:
12546 return NULL;
12547 }
12548
12549
12550 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12551 PyObject *resultobj;
12552 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12553 PyObject * obj0 = 0 ;
12554 char *kwnames[] = {
12555 (char *) "self", NULL
12556 };
12557
12558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
12559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12560 {
12561 PyThreadState* __tstate = wxPyBeginAllowThreads();
12562 delete arg1;
12563
12564 wxPyEndAllowThreads(__tstate);
12565 if (PyErr_Occurred()) SWIG_fail;
12566 }
12567 Py_INCREF(Py_None); resultobj = Py_None;
12568 return resultobj;
12569 fail:
12570 return NULL;
12571 }
12572
12573
12574 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12575 PyObject *resultobj;
12576 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12577 wxString *result;
12578 PyObject * obj0 = 0 ;
12579 char *kwnames[] = {
12580 (char *) "self", NULL
12581 };
12582
12583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
12584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12585 {
12586 PyThreadState* __tstate = wxPyBeginAllowThreads();
12587 {
12588 wxString const &_result_ref = (arg1)->GetFindString();
12589 result = (wxString *) &_result_ref;
12590 }
12591
12592 wxPyEndAllowThreads(__tstate);
12593 if (PyErr_Occurred()) SWIG_fail;
12594 }
12595 {
12596 #if wxUSE_UNICODE
12597 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12598 #else
12599 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12600 #endif
12601 }
12602 return resultobj;
12603 fail:
12604 return NULL;
12605 }
12606
12607
12608 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12609 PyObject *resultobj;
12610 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12611 wxString *result;
12612 PyObject * obj0 = 0 ;
12613 char *kwnames[] = {
12614 (char *) "self", NULL
12615 };
12616
12617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
12618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12619 {
12620 PyThreadState* __tstate = wxPyBeginAllowThreads();
12621 {
12622 wxString const &_result_ref = (arg1)->GetReplaceString();
12623 result = (wxString *) &_result_ref;
12624 }
12625
12626 wxPyEndAllowThreads(__tstate);
12627 if (PyErr_Occurred()) SWIG_fail;
12628 }
12629 {
12630 #if wxUSE_UNICODE
12631 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12632 #else
12633 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12634 #endif
12635 }
12636 return resultobj;
12637 fail:
12638 return NULL;
12639 }
12640
12641
12642 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12643 PyObject *resultobj;
12644 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12645 int result;
12646 PyObject * obj0 = 0 ;
12647 char *kwnames[] = {
12648 (char *) "self", NULL
12649 };
12650
12651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
12652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12653 {
12654 PyThreadState* __tstate = wxPyBeginAllowThreads();
12655 result = (int)(arg1)->GetFlags();
12656
12657 wxPyEndAllowThreads(__tstate);
12658 if (PyErr_Occurred()) SWIG_fail;
12659 }
12660 resultobj = PyInt_FromLong((long)result);
12661 return resultobj;
12662 fail:
12663 return NULL;
12664 }
12665
12666
12667 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12668 PyObject *resultobj;
12669 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12670 int arg2 ;
12671 PyObject * obj0 = 0 ;
12672 char *kwnames[] = {
12673 (char *) "self",(char *) "flags", NULL
12674 };
12675
12676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindReplaceData_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12678 {
12679 PyThreadState* __tstate = wxPyBeginAllowThreads();
12680 (arg1)->SetFlags(arg2);
12681
12682 wxPyEndAllowThreads(__tstate);
12683 if (PyErr_Occurred()) SWIG_fail;
12684 }
12685 Py_INCREF(Py_None); resultobj = Py_None;
12686 return resultobj;
12687 fail:
12688 return NULL;
12689 }
12690
12691
12692 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12693 PyObject *resultobj;
12694 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12695 wxString *arg2 = 0 ;
12696 bool temp2 = False ;
12697 PyObject * obj0 = 0 ;
12698 PyObject * obj1 = 0 ;
12699 char *kwnames[] = {
12700 (char *) "self",(char *) "str", NULL
12701 };
12702
12703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12705 {
12706 arg2 = wxString_in_helper(obj1);
12707 if (arg2 == NULL) SWIG_fail;
12708 temp2 = True;
12709 }
12710 {
12711 PyThreadState* __tstate = wxPyBeginAllowThreads();
12712 (arg1)->SetFindString((wxString const &)*arg2);
12713
12714 wxPyEndAllowThreads(__tstate);
12715 if (PyErr_Occurred()) SWIG_fail;
12716 }
12717 Py_INCREF(Py_None); resultobj = Py_None;
12718 {
12719 if (temp2)
12720 delete arg2;
12721 }
12722 return resultobj;
12723 fail:
12724 {
12725 if (temp2)
12726 delete arg2;
12727 }
12728 return NULL;
12729 }
12730
12731
12732 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12733 PyObject *resultobj;
12734 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12735 wxString *arg2 = 0 ;
12736 bool temp2 = False ;
12737 PyObject * obj0 = 0 ;
12738 PyObject * obj1 = 0 ;
12739 char *kwnames[] = {
12740 (char *) "self",(char *) "str", NULL
12741 };
12742
12743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12745 {
12746 arg2 = wxString_in_helper(obj1);
12747 if (arg2 == NULL) SWIG_fail;
12748 temp2 = True;
12749 }
12750 {
12751 PyThreadState* __tstate = wxPyBeginAllowThreads();
12752 (arg1)->SetReplaceString((wxString const &)*arg2);
12753
12754 wxPyEndAllowThreads(__tstate);
12755 if (PyErr_Occurred()) SWIG_fail;
12756 }
12757 Py_INCREF(Py_None); resultobj = Py_None;
12758 {
12759 if (temp2)
12760 delete arg2;
12761 }
12762 return resultobj;
12763 fail:
12764 {
12765 if (temp2)
12766 delete arg2;
12767 }
12768 return NULL;
12769 }
12770
12771
12772 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
12773 PyObject *obj;
12774 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12775 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
12776 Py_INCREF(obj);
12777 return Py_BuildValue((char *)"");
12778 }
12779 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12780 PyObject *resultobj;
12781 wxWindow *arg1 = (wxWindow *) 0 ;
12782 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12783 wxString *arg3 = 0 ;
12784 int arg4 = (int) 0 ;
12785 wxFindReplaceDialog *result;
12786 bool temp3 = False ;
12787 PyObject * obj0 = 0 ;
12788 PyObject * obj1 = 0 ;
12789 PyObject * obj2 = 0 ;
12790 char *kwnames[] = {
12791 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12792 };
12793
12794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
12795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12796 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12797 {
12798 arg3 = wxString_in_helper(obj2);
12799 if (arg3 == NULL) SWIG_fail;
12800 temp3 = True;
12801 }
12802 {
12803 PyThreadState* __tstate = wxPyBeginAllowThreads();
12804 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
12805
12806 wxPyEndAllowThreads(__tstate);
12807 if (PyErr_Occurred()) SWIG_fail;
12808 }
12809 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12810 {
12811 if (temp3)
12812 delete arg3;
12813 }
12814 return resultobj;
12815 fail:
12816 {
12817 if (temp3)
12818 delete arg3;
12819 }
12820 return NULL;
12821 }
12822
12823
12824 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12825 PyObject *resultobj;
12826 wxFindReplaceDialog *result;
12827 char *kwnames[] = {
12828 NULL
12829 };
12830
12831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
12832 {
12833 PyThreadState* __tstate = wxPyBeginAllowThreads();
12834 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
12835
12836 wxPyEndAllowThreads(__tstate);
12837 if (PyErr_Occurred()) SWIG_fail;
12838 }
12839 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12840 return resultobj;
12841 fail:
12842 return NULL;
12843 }
12844
12845
12846 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12847 PyObject *resultobj;
12848 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12849 wxWindow *arg2 = (wxWindow *) 0 ;
12850 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
12851 wxString *arg4 = 0 ;
12852 int arg5 = (int) 0 ;
12853 bool result;
12854 bool temp4 = False ;
12855 PyObject * obj0 = 0 ;
12856 PyObject * obj1 = 0 ;
12857 PyObject * obj2 = 0 ;
12858 PyObject * obj3 = 0 ;
12859 char *kwnames[] = {
12860 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12861 };
12862
12863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|i:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
12864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12865 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12866 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12867 {
12868 arg4 = wxString_in_helper(obj3);
12869 if (arg4 == NULL) SWIG_fail;
12870 temp4 = True;
12871 }
12872 {
12873 PyThreadState* __tstate = wxPyBeginAllowThreads();
12874 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
12875
12876 wxPyEndAllowThreads(__tstate);
12877 if (PyErr_Occurred()) SWIG_fail;
12878 }
12879 resultobj = PyInt_FromLong((long)result);
12880 {
12881 if (temp4)
12882 delete arg4;
12883 }
12884 return resultobj;
12885 fail:
12886 {
12887 if (temp4)
12888 delete arg4;
12889 }
12890 return NULL;
12891 }
12892
12893
12894 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12895 PyObject *resultobj;
12896 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12897 wxFindReplaceData *result;
12898 PyObject * obj0 = 0 ;
12899 char *kwnames[] = {
12900 (char *) "self", NULL
12901 };
12902
12903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
12904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12905 {
12906 PyThreadState* __tstate = wxPyBeginAllowThreads();
12907 result = (wxFindReplaceData *)(arg1)->GetData();
12908
12909 wxPyEndAllowThreads(__tstate);
12910 if (PyErr_Occurred()) SWIG_fail;
12911 }
12912 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 0);
12913 return resultobj;
12914 fail:
12915 return NULL;
12916 }
12917
12918
12919 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12920 PyObject *resultobj;
12921 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12922 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12923 PyObject * obj0 = 0 ;
12924 PyObject * obj1 = 0 ;
12925 char *kwnames[] = {
12926 (char *) "self",(char *) "data", NULL
12927 };
12928
12929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
12930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12931 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12932 {
12933 PyThreadState* __tstate = wxPyBeginAllowThreads();
12934 (arg1)->SetData(arg2);
12935
12936 wxPyEndAllowThreads(__tstate);
12937 if (PyErr_Occurred()) SWIG_fail;
12938 }
12939 Py_INCREF(Py_None); resultobj = Py_None;
12940 return resultobj;
12941 fail:
12942 return NULL;
12943 }
12944
12945
12946 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
12947 PyObject *obj;
12948 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12949 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
12950 Py_INCREF(obj);
12951 return Py_BuildValue((char *)"");
12952 }
12953 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
12954 PyObject *resultobj;
12955 wxWindow *arg1 = (wxWindow *) 0 ;
12956 int arg2 ;
12957 wxString *arg3 = 0 ;
12958 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12959 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12960 wxSize const &arg5_defvalue = wxDefaultSize ;
12961 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12962 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
12963 wxString const &arg7_defvalue = wxPyFrameNameStr ;
12964 wxString *arg7 = (wxString *) &arg7_defvalue ;
12965 wxMDIParentFrame *result;
12966 bool temp3 = False ;
12967 wxPoint temp4 ;
12968 wxSize temp5 ;
12969 bool temp7 = False ;
12970 PyObject * obj0 = 0 ;
12971 PyObject * obj2 = 0 ;
12972 PyObject * obj3 = 0 ;
12973 PyObject * obj4 = 0 ;
12974 PyObject * obj6 = 0 ;
12975 char *kwnames[] = {
12976 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12977 };
12978
12979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIParentFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
12980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12981 {
12982 arg3 = wxString_in_helper(obj2);
12983 if (arg3 == NULL) SWIG_fail;
12984 temp3 = True;
12985 }
12986 if (obj3) {
12987 {
12988 arg4 = &temp4;
12989 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12990 }
12991 }
12992 if (obj4) {
12993 {
12994 arg5 = &temp5;
12995 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12996 }
12997 }
12998 if (obj6) {
12999 {
13000 arg7 = wxString_in_helper(obj6);
13001 if (arg7 == NULL) SWIG_fail;
13002 temp7 = True;
13003 }
13004 }
13005 {
13006 PyThreadState* __tstate = wxPyBeginAllowThreads();
13007 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13008
13009 wxPyEndAllowThreads(__tstate);
13010 if (PyErr_Occurred()) SWIG_fail;
13011 }
13012 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
13013 {
13014 if (temp3)
13015 delete arg3;
13016 }
13017 {
13018 if (temp7)
13019 delete arg7;
13020 }
13021 return resultobj;
13022 fail:
13023 {
13024 if (temp3)
13025 delete arg3;
13026 }
13027 {
13028 if (temp7)
13029 delete arg7;
13030 }
13031 return NULL;
13032 }
13033
13034
13035 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13036 PyObject *resultobj;
13037 wxMDIParentFrame *result;
13038 char *kwnames[] = {
13039 NULL
13040 };
13041
13042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
13043 {
13044 PyThreadState* __tstate = wxPyBeginAllowThreads();
13045 result = (wxMDIParentFrame *)new wxMDIParentFrame();
13046
13047 wxPyEndAllowThreads(__tstate);
13048 if (PyErr_Occurred()) SWIG_fail;
13049 }
13050 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
13051 return resultobj;
13052 fail:
13053 return NULL;
13054 }
13055
13056
13057 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13058 PyObject *resultobj;
13059 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13060 wxWindow *arg2 = (wxWindow *) 0 ;
13061 int arg3 ;
13062 wxString *arg4 = 0 ;
13063 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13064 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13065 wxSize const &arg6_defvalue = wxDefaultSize ;
13066 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13067 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
13068 wxString const &arg8_defvalue = wxPyFrameNameStr ;
13069 wxString *arg8 = (wxString *) &arg8_defvalue ;
13070 bool result;
13071 bool temp4 = False ;
13072 wxPoint temp5 ;
13073 wxSize temp6 ;
13074 bool temp8 = False ;
13075 PyObject * obj0 = 0 ;
13076 PyObject * obj1 = 0 ;
13077 PyObject * obj3 = 0 ;
13078 PyObject * obj4 = 0 ;
13079 PyObject * obj5 = 0 ;
13080 PyObject * obj7 = 0 ;
13081 char *kwnames[] = {
13082 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13083 };
13084
13085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
13086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13087 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13088 {
13089 arg4 = wxString_in_helper(obj3);
13090 if (arg4 == NULL) SWIG_fail;
13091 temp4 = True;
13092 }
13093 if (obj4) {
13094 {
13095 arg5 = &temp5;
13096 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13097 }
13098 }
13099 if (obj5) {
13100 {
13101 arg6 = &temp6;
13102 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13103 }
13104 }
13105 if (obj7) {
13106 {
13107 arg8 = wxString_in_helper(obj7);
13108 if (arg8 == NULL) SWIG_fail;
13109 temp8 = True;
13110 }
13111 }
13112 {
13113 PyThreadState* __tstate = wxPyBeginAllowThreads();
13114 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
13115
13116 wxPyEndAllowThreads(__tstate);
13117 if (PyErr_Occurred()) SWIG_fail;
13118 }
13119 resultobj = PyInt_FromLong((long)result);
13120 {
13121 if (temp4)
13122 delete arg4;
13123 }
13124 {
13125 if (temp8)
13126 delete arg8;
13127 }
13128 return resultobj;
13129 fail:
13130 {
13131 if (temp4)
13132 delete arg4;
13133 }
13134 {
13135 if (temp8)
13136 delete arg8;
13137 }
13138 return NULL;
13139 }
13140
13141
13142 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
13143 PyObject *resultobj;
13144 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13145 PyObject * obj0 = 0 ;
13146 char *kwnames[] = {
13147 (char *) "self", NULL
13148 };
13149
13150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
13151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13152 {
13153 PyThreadState* __tstate = wxPyBeginAllowThreads();
13154 (arg1)->ActivateNext();
13155
13156 wxPyEndAllowThreads(__tstate);
13157 if (PyErr_Occurred()) SWIG_fail;
13158 }
13159 Py_INCREF(Py_None); resultobj = Py_None;
13160 return resultobj;
13161 fail:
13162 return NULL;
13163 }
13164
13165
13166 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
13167 PyObject *resultobj;
13168 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13169 PyObject * obj0 = 0 ;
13170 char *kwnames[] = {
13171 (char *) "self", NULL
13172 };
13173
13174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
13175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13176 {
13177 PyThreadState* __tstate = wxPyBeginAllowThreads();
13178 (arg1)->ActivatePrevious();
13179
13180 wxPyEndAllowThreads(__tstate);
13181 if (PyErr_Occurred()) SWIG_fail;
13182 }
13183 Py_INCREF(Py_None); resultobj = Py_None;
13184 return resultobj;
13185 fail:
13186 return NULL;
13187 }
13188
13189
13190 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
13191 PyObject *resultobj;
13192 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13193 PyObject * obj0 = 0 ;
13194 char *kwnames[] = {
13195 (char *) "self", NULL
13196 };
13197
13198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
13199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13200 {
13201 PyThreadState* __tstate = wxPyBeginAllowThreads();
13202 (arg1)->ArrangeIcons();
13203
13204 wxPyEndAllowThreads(__tstate);
13205 if (PyErr_Occurred()) SWIG_fail;
13206 }
13207 Py_INCREF(Py_None); resultobj = Py_None;
13208 return resultobj;
13209 fail:
13210 return NULL;
13211 }
13212
13213
13214 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
13215 PyObject *resultobj;
13216 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13217 PyObject * obj0 = 0 ;
13218 char *kwnames[] = {
13219 (char *) "self", NULL
13220 };
13221
13222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
13223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13224 {
13225 PyThreadState* __tstate = wxPyBeginAllowThreads();
13226 (arg1)->Cascade();
13227
13228 wxPyEndAllowThreads(__tstate);
13229 if (PyErr_Occurred()) SWIG_fail;
13230 }
13231 Py_INCREF(Py_None); resultobj = Py_None;
13232 return resultobj;
13233 fail:
13234 return NULL;
13235 }
13236
13237
13238 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
13239 PyObject *resultobj;
13240 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13241 wxMDIChildFrame *result;
13242 PyObject * obj0 = 0 ;
13243 char *kwnames[] = {
13244 (char *) "self", NULL
13245 };
13246
13247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
13248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13249 {
13250 PyThreadState* __tstate = wxPyBeginAllowThreads();
13251 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
13252
13253 wxPyEndAllowThreads(__tstate);
13254 if (PyErr_Occurred()) SWIG_fail;
13255 }
13256 {
13257 resultobj = wxPyMake_wxObject(result);
13258 }
13259 return resultobj;
13260 fail:
13261 return NULL;
13262 }
13263
13264
13265 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13266 PyObject *resultobj;
13267 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13268 wxMDIClientWindow *result;
13269 PyObject * obj0 = 0 ;
13270 char *kwnames[] = {
13271 (char *) "self", NULL
13272 };
13273
13274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
13275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13276 {
13277 PyThreadState* __tstate = wxPyBeginAllowThreads();
13278 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
13279
13280 wxPyEndAllowThreads(__tstate);
13281 if (PyErr_Occurred()) SWIG_fail;
13282 }
13283 {
13284 resultobj = wxPyMake_wxObject(result);
13285 }
13286 return resultobj;
13287 fail:
13288 return NULL;
13289 }
13290
13291
13292 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
13293 PyObject *resultobj;
13294 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13295 wxWindow *result;
13296 PyObject * obj0 = 0 ;
13297 char *kwnames[] = {
13298 (char *) "self", NULL
13299 };
13300
13301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
13302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13303 {
13304 PyThreadState* __tstate = wxPyBeginAllowThreads();
13305 result = (wxWindow *)(arg1)->GetToolBar();
13306
13307 wxPyEndAllowThreads(__tstate);
13308 if (PyErr_Occurred()) SWIG_fail;
13309 }
13310 {
13311 resultobj = wxPyMake_wxObject(result);
13312 }
13313 return resultobj;
13314 fail:
13315 return NULL;
13316 }
13317
13318
13319 static PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
13320 PyObject *resultobj;
13321 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13322 wxMenu *result;
13323 PyObject * obj0 = 0 ;
13324 char *kwnames[] = {
13325 (char *) "self", NULL
13326 };
13327
13328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames,&obj0)) goto fail;
13329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13330 {
13331 PyThreadState* __tstate = wxPyBeginAllowThreads();
13332 result = (wxMenu *)(arg1)->GetWindowMenu();
13333
13334 wxPyEndAllowThreads(__tstate);
13335 if (PyErr_Occurred()) SWIG_fail;
13336 }
13337 {
13338 resultobj = wxPyMake_wxObject(result);
13339 }
13340 return resultobj;
13341 fail:
13342 return NULL;
13343 }
13344
13345
13346 static PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
13347 PyObject *resultobj;
13348 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13349 wxMenu *arg2 = (wxMenu *) 0 ;
13350 PyObject * obj0 = 0 ;
13351 PyObject * obj1 = 0 ;
13352 char *kwnames[] = {
13353 (char *) "self",(char *) "menu", NULL
13354 };
13355
13356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) goto fail;
13357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13358 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13359 {
13360 PyThreadState* __tstate = wxPyBeginAllowThreads();
13361 (arg1)->SetWindowMenu(arg2);
13362
13363 wxPyEndAllowThreads(__tstate);
13364 if (PyErr_Occurred()) SWIG_fail;
13365 }
13366 Py_INCREF(Py_None); resultobj = Py_None;
13367 return resultobj;
13368 fail:
13369 return NULL;
13370 }
13371
13372
13373 static PyObject *_wrap_MDIParentFrame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
13374 PyObject *resultobj;
13375 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13376 wxToolBar *arg2 = (wxToolBar *) 0 ;
13377 PyObject * obj0 = 0 ;
13378 PyObject * obj1 = 0 ;
13379 char *kwnames[] = {
13380 (char *) "self",(char *) "toolbar", NULL
13381 };
13382
13383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
13384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13385 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13386 {
13387 PyThreadState* __tstate = wxPyBeginAllowThreads();
13388 (arg1)->SetToolBar(arg2);
13389
13390 wxPyEndAllowThreads(__tstate);
13391 if (PyErr_Occurred()) SWIG_fail;
13392 }
13393 Py_INCREF(Py_None); resultobj = Py_None;
13394 return resultobj;
13395 fail:
13396 return NULL;
13397 }
13398
13399
13400 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
13401 PyObject *resultobj;
13402 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13403 PyObject * obj0 = 0 ;
13404 char *kwnames[] = {
13405 (char *) "self", NULL
13406 };
13407
13408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
13409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13410 {
13411 PyThreadState* __tstate = wxPyBeginAllowThreads();
13412 (arg1)->Tile();
13413
13414 wxPyEndAllowThreads(__tstate);
13415 if (PyErr_Occurred()) SWIG_fail;
13416 }
13417 Py_INCREF(Py_None); resultobj = Py_None;
13418 return resultobj;
13419 fail:
13420 return NULL;
13421 }
13422
13423
13424 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
13425 PyObject *obj;
13426 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13427 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
13428 Py_INCREF(obj);
13429 return Py_BuildValue((char *)"");
13430 }
13431 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13432 PyObject *resultobj;
13433 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13434 int arg2 ;
13435 wxString *arg3 = 0 ;
13436 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13437 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13438 wxSize const &arg5_defvalue = wxDefaultSize ;
13439 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13440 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
13441 wxString const &arg7_defvalue = wxPyFrameNameStr ;
13442 wxString *arg7 = (wxString *) &arg7_defvalue ;
13443 wxMDIChildFrame *result;
13444 bool temp3 = False ;
13445 wxPoint temp4 ;
13446 wxSize temp5 ;
13447 bool temp7 = False ;
13448 PyObject * obj0 = 0 ;
13449 PyObject * obj2 = 0 ;
13450 PyObject * obj3 = 0 ;
13451 PyObject * obj4 = 0 ;
13452 PyObject * obj6 = 0 ;
13453 char *kwnames[] = {
13454 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13455 };
13456
13457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIChildFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
13458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13459 {
13460 arg3 = wxString_in_helper(obj2);
13461 if (arg3 == NULL) SWIG_fail;
13462 temp3 = True;
13463 }
13464 if (obj3) {
13465 {
13466 arg4 = &temp4;
13467 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13468 }
13469 }
13470 if (obj4) {
13471 {
13472 arg5 = &temp5;
13473 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13474 }
13475 }
13476 if (obj6) {
13477 {
13478 arg7 = wxString_in_helper(obj6);
13479 if (arg7 == NULL) SWIG_fail;
13480 temp7 = True;
13481 }
13482 }
13483 {
13484 PyThreadState* __tstate = wxPyBeginAllowThreads();
13485 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13486
13487 wxPyEndAllowThreads(__tstate);
13488 if (PyErr_Occurred()) SWIG_fail;
13489 }
13490 {
13491 resultobj = wxPyMake_wxObject(result);
13492 }
13493 {
13494 if (temp3)
13495 delete arg3;
13496 }
13497 {
13498 if (temp7)
13499 delete arg7;
13500 }
13501 return resultobj;
13502 fail:
13503 {
13504 if (temp3)
13505 delete arg3;
13506 }
13507 {
13508 if (temp7)
13509 delete arg7;
13510 }
13511 return NULL;
13512 }
13513
13514
13515 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13516 PyObject *resultobj;
13517 wxMDIChildFrame *result;
13518 char *kwnames[] = {
13519 NULL
13520 };
13521
13522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
13523 {
13524 PyThreadState* __tstate = wxPyBeginAllowThreads();
13525 result = (wxMDIChildFrame *)new wxMDIChildFrame();
13526
13527 wxPyEndAllowThreads(__tstate);
13528 if (PyErr_Occurred()) SWIG_fail;
13529 }
13530 {
13531 resultobj = wxPyMake_wxObject(result);
13532 }
13533 return resultobj;
13534 fail:
13535 return NULL;
13536 }
13537
13538
13539 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13540 PyObject *resultobj;
13541 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13542 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13543 int arg3 ;
13544 wxString *arg4 = 0 ;
13545 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13546 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13547 wxSize const &arg6_defvalue = wxDefaultSize ;
13548 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13549 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
13550 wxString const &arg8_defvalue = wxPyFrameNameStr ;
13551 wxString *arg8 = (wxString *) &arg8_defvalue ;
13552 bool result;
13553 bool temp4 = False ;
13554 wxPoint temp5 ;
13555 wxSize temp6 ;
13556 bool temp8 = False ;
13557 PyObject * obj0 = 0 ;
13558 PyObject * obj1 = 0 ;
13559 PyObject * obj3 = 0 ;
13560 PyObject * obj4 = 0 ;
13561 PyObject * obj5 = 0 ;
13562 PyObject * obj7 = 0 ;
13563 char *kwnames[] = {
13564 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13565 };
13566
13567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
13568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13569 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13570 {
13571 arg4 = wxString_in_helper(obj3);
13572 if (arg4 == NULL) SWIG_fail;
13573 temp4 = True;
13574 }
13575 if (obj4) {
13576 {
13577 arg5 = &temp5;
13578 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13579 }
13580 }
13581 if (obj5) {
13582 {
13583 arg6 = &temp6;
13584 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13585 }
13586 }
13587 if (obj7) {
13588 {
13589 arg8 = wxString_in_helper(obj7);
13590 if (arg8 == NULL) SWIG_fail;
13591 temp8 = True;
13592 }
13593 }
13594 {
13595 PyThreadState* __tstate = wxPyBeginAllowThreads();
13596 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
13597
13598 wxPyEndAllowThreads(__tstate);
13599 if (PyErr_Occurred()) SWIG_fail;
13600 }
13601 resultobj = PyInt_FromLong((long)result);
13602 {
13603 if (temp4)
13604 delete arg4;
13605 }
13606 {
13607 if (temp8)
13608 delete arg8;
13609 }
13610 return resultobj;
13611 fail:
13612 {
13613 if (temp4)
13614 delete arg4;
13615 }
13616 {
13617 if (temp8)
13618 delete arg8;
13619 }
13620 return NULL;
13621 }
13622
13623
13624 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
13625 PyObject *resultobj;
13626 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13627 PyObject * obj0 = 0 ;
13628 char *kwnames[] = {
13629 (char *) "self", NULL
13630 };
13631
13632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
13633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13634 {
13635 PyThreadState* __tstate = wxPyBeginAllowThreads();
13636 (arg1)->Activate();
13637
13638 wxPyEndAllowThreads(__tstate);
13639 if (PyErr_Occurred()) SWIG_fail;
13640 }
13641 Py_INCREF(Py_None); resultobj = Py_None;
13642 return resultobj;
13643 fail:
13644 return NULL;
13645 }
13646
13647
13648 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
13649 PyObject *resultobj;
13650 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13651 bool arg2 ;
13652 PyObject * obj0 = 0 ;
13653 PyObject * obj1 = 0 ;
13654 char *kwnames[] = {
13655 (char *) "self",(char *) "maximize", NULL
13656 };
13657
13658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
13659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13660 arg2 = PyInt_AsLong(obj1) ? true : false;
13661 if (PyErr_Occurred()) SWIG_fail;
13662 {
13663 PyThreadState* __tstate = wxPyBeginAllowThreads();
13664 (arg1)->Maximize(arg2);
13665
13666 wxPyEndAllowThreads(__tstate);
13667 if (PyErr_Occurred()) SWIG_fail;
13668 }
13669 Py_INCREF(Py_None); resultobj = Py_None;
13670 return resultobj;
13671 fail:
13672 return NULL;
13673 }
13674
13675
13676 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
13677 PyObject *resultobj;
13678 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13679 PyObject * obj0 = 0 ;
13680 char *kwnames[] = {
13681 (char *) "self", NULL
13682 };
13683
13684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
13685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13686 {
13687 PyThreadState* __tstate = wxPyBeginAllowThreads();
13688 (arg1)->Restore();
13689
13690 wxPyEndAllowThreads(__tstate);
13691 if (PyErr_Occurred()) SWIG_fail;
13692 }
13693 Py_INCREF(Py_None); resultobj = Py_None;
13694 return resultobj;
13695 fail:
13696 return NULL;
13697 }
13698
13699
13700 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
13701 PyObject *obj;
13702 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13703 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
13704 Py_INCREF(obj);
13705 return Py_BuildValue((char *)"");
13706 }
13707 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13708 PyObject *resultobj;
13709 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13710 long arg2 = (long) 0 ;
13711 wxMDIClientWindow *result;
13712 PyObject * obj0 = 0 ;
13713 char *kwnames[] = {
13714 (char *) "parent",(char *) "style", NULL
13715 };
13716
13717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:new_MDIClientWindow",kwnames,&obj0,&arg2)) goto fail;
13718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13719 {
13720 PyThreadState* __tstate = wxPyBeginAllowThreads();
13721 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
13722
13723 wxPyEndAllowThreads(__tstate);
13724 if (PyErr_Occurred()) SWIG_fail;
13725 }
13726 {
13727 resultobj = wxPyMake_wxObject(result);
13728 }
13729 return resultobj;
13730 fail:
13731 return NULL;
13732 }
13733
13734
13735 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13736 PyObject *resultobj;
13737 wxMDIClientWindow *result;
13738 char *kwnames[] = {
13739 NULL
13740 };
13741
13742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
13743 {
13744 PyThreadState* __tstate = wxPyBeginAllowThreads();
13745 result = (wxMDIClientWindow *)new wxMDIClientWindow();
13746
13747 wxPyEndAllowThreads(__tstate);
13748 if (PyErr_Occurred()) SWIG_fail;
13749 }
13750 {
13751 resultobj = wxPyMake_wxObject(result);
13752 }
13753 return resultobj;
13754 fail:
13755 return NULL;
13756 }
13757
13758
13759 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13760 PyObject *resultobj;
13761 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
13762 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13763 long arg3 = (long) 0 ;
13764 bool result;
13765 PyObject * obj0 = 0 ;
13766 PyObject * obj1 = 0 ;
13767 char *kwnames[] = {
13768 (char *) "self",(char *) "parent",(char *) "style", NULL
13769 };
13770
13771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:MDIClientWindow_Create",kwnames,&obj0,&obj1,&arg3)) goto fail;
13772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIClientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13773 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13774 {
13775 PyThreadState* __tstate = wxPyBeginAllowThreads();
13776 result = (bool)(arg1)->Create(arg2,arg3);
13777
13778 wxPyEndAllowThreads(__tstate);
13779 if (PyErr_Occurred()) SWIG_fail;
13780 }
13781 resultobj = PyInt_FromLong((long)result);
13782 return resultobj;
13783 fail:
13784 return NULL;
13785 }
13786
13787
13788 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
13789 PyObject *obj;
13790 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13791 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
13792 Py_INCREF(obj);
13793 return Py_BuildValue((char *)"");
13794 }
13795 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13796 PyObject *resultobj;
13797 wxWindow *arg1 = (wxWindow *) 0 ;
13798 int arg2 ;
13799 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13800 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13801 wxSize const &arg4_defvalue = wxDefaultSize ;
13802 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13803 long arg5 = (long) 0 ;
13804 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13805 wxString *arg6 = (wxString *) &arg6_defvalue ;
13806 wxPyWindow *result;
13807 wxPoint temp3 ;
13808 wxSize temp4 ;
13809 bool temp6 = False ;
13810 PyObject * obj0 = 0 ;
13811 PyObject * obj2 = 0 ;
13812 PyObject * obj3 = 0 ;
13813 PyObject * obj5 = 0 ;
13814 char *kwnames[] = {
13815 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13816 };
13817
13818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
13819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13820 if (obj2) {
13821 {
13822 arg3 = &temp3;
13823 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13824 }
13825 }
13826 if (obj3) {
13827 {
13828 arg4 = &temp4;
13829 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13830 }
13831 }
13832 if (obj5) {
13833 {
13834 arg6 = wxString_in_helper(obj5);
13835 if (arg6 == NULL) SWIG_fail;
13836 temp6 = True;
13837 }
13838 }
13839 {
13840 PyThreadState* __tstate = wxPyBeginAllowThreads();
13841 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13842
13843 wxPyEndAllowThreads(__tstate);
13844 if (PyErr_Occurred()) SWIG_fail;
13845 }
13846 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyWindow, 1);
13847 {
13848 if (temp6)
13849 delete arg6;
13850 }
13851 return resultobj;
13852 fail:
13853 {
13854 if (temp6)
13855 delete arg6;
13856 }
13857 return NULL;
13858 }
13859
13860
13861 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
13862 PyObject *resultobj;
13863 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13864 PyObject *arg2 = (PyObject *) 0 ;
13865 PyObject *arg3 = (PyObject *) 0 ;
13866 PyObject * obj0 = 0 ;
13867 PyObject * obj1 = 0 ;
13868 PyObject * obj2 = 0 ;
13869 char *kwnames[] = {
13870 (char *) "self",(char *) "self",(char *) "_class", NULL
13871 };
13872
13873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
13874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13875 arg2 = obj1;
13876 arg3 = obj2;
13877 {
13878 PyThreadState* __tstate = wxPyBeginAllowThreads();
13879 (arg1)->_setCallbackInfo(arg2,arg3);
13880
13881 wxPyEndAllowThreads(__tstate);
13882 if (PyErr_Occurred()) SWIG_fail;
13883 }
13884 Py_INCREF(Py_None); resultobj = Py_None;
13885 return resultobj;
13886 fail:
13887 return NULL;
13888 }
13889
13890
13891 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13892 PyObject *resultobj;
13893 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13894 int arg2 ;
13895 int arg3 ;
13896 int arg4 ;
13897 int arg5 ;
13898 PyObject * obj0 = 0 ;
13899 char *kwnames[] = {
13900 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13901 };
13902
13903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyWindow_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13905 {
13906 PyThreadState* __tstate = wxPyBeginAllowThreads();
13907 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
13908
13909 wxPyEndAllowThreads(__tstate);
13910 if (PyErr_Occurred()) SWIG_fail;
13911 }
13912 Py_INCREF(Py_None); resultobj = Py_None;
13913 return resultobj;
13914 fail:
13915 return NULL;
13916 }
13917
13918
13919 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13920 PyObject *resultobj;
13921 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13922 int arg2 ;
13923 int arg3 ;
13924 int arg4 ;
13925 int arg5 ;
13926 int arg6 = (int) wxSIZE_AUTO ;
13927 PyObject * obj0 = 0 ;
13928 char *kwnames[] = {
13929 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
13930 };
13931
13932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyWindow_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
13933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13934 {
13935 PyThreadState* __tstate = wxPyBeginAllowThreads();
13936 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
13937
13938 wxPyEndAllowThreads(__tstate);
13939 if (PyErr_Occurred()) SWIG_fail;
13940 }
13941 Py_INCREF(Py_None); resultobj = Py_None;
13942 return resultobj;
13943 fail:
13944 return NULL;
13945 }
13946
13947
13948 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13949 PyObject *resultobj;
13950 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13951 int arg2 ;
13952 int arg3 ;
13953 PyObject * obj0 = 0 ;
13954 char *kwnames[] = {
13955 (char *) "self",(char *) "width",(char *) "height", NULL
13956 };
13957
13958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13960 {
13961 PyThreadState* __tstate = wxPyBeginAllowThreads();
13962 (arg1)->base_DoSetClientSize(arg2,arg3);
13963
13964 wxPyEndAllowThreads(__tstate);
13965 if (PyErr_Occurred()) SWIG_fail;
13966 }
13967 Py_INCREF(Py_None); resultobj = Py_None;
13968 return resultobj;
13969 fail:
13970 return NULL;
13971 }
13972
13973
13974 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13975 PyObject *resultobj;
13976 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13977 int arg2 ;
13978 int arg3 ;
13979 PyObject * obj0 = 0 ;
13980 char *kwnames[] = {
13981 (char *) "self",(char *) "x",(char *) "y", NULL
13982 };
13983
13984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13986 {
13987 PyThreadState* __tstate = wxPyBeginAllowThreads();
13988 (arg1)->base_DoSetVirtualSize(arg2,arg3);
13989
13990 wxPyEndAllowThreads(__tstate);
13991 if (PyErr_Occurred()) SWIG_fail;
13992 }
13993 Py_INCREF(Py_None); resultobj = Py_None;
13994 return resultobj;
13995 fail:
13996 return NULL;
13997 }
13998
13999
14000 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14001 PyObject *resultobj;
14002 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14003 int *arg2 = (int *) 0 ;
14004 int *arg3 = (int *) 0 ;
14005 int temp2 ;
14006 int temp3 ;
14007 PyObject * obj0 = 0 ;
14008 char *kwnames[] = {
14009 (char *) "self", NULL
14010 };
14011
14012 arg2 = &temp2;
14013 arg3 = &temp3;
14014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
14015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14016 {
14017 PyThreadState* __tstate = wxPyBeginAllowThreads();
14018 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
14019
14020 wxPyEndAllowThreads(__tstate);
14021 if (PyErr_Occurred()) SWIG_fail;
14022 }
14023 Py_INCREF(Py_None); resultobj = Py_None;
14024 {
14025 PyObject *o = PyInt_FromLong((long) (*arg2));
14026 resultobj = t_output_helper(resultobj,o);
14027 }
14028 {
14029 PyObject *o = PyInt_FromLong((long) (*arg3));
14030 resultobj = t_output_helper(resultobj,o);
14031 }
14032 return resultobj;
14033 fail:
14034 return NULL;
14035 }
14036
14037
14038 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14039 PyObject *resultobj;
14040 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14041 int *arg2 = (int *) 0 ;
14042 int *arg3 = (int *) 0 ;
14043 int temp2 ;
14044 int temp3 ;
14045 PyObject * obj0 = 0 ;
14046 char *kwnames[] = {
14047 (char *) "self", NULL
14048 };
14049
14050 arg2 = &temp2;
14051 arg3 = &temp3;
14052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
14053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14054 {
14055 PyThreadState* __tstate = wxPyBeginAllowThreads();
14056 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
14057
14058 wxPyEndAllowThreads(__tstate);
14059 if (PyErr_Occurred()) SWIG_fail;
14060 }
14061 Py_INCREF(Py_None); resultobj = Py_None;
14062 {
14063 PyObject *o = PyInt_FromLong((long) (*arg2));
14064 resultobj = t_output_helper(resultobj,o);
14065 }
14066 {
14067 PyObject *o = PyInt_FromLong((long) (*arg3));
14068 resultobj = t_output_helper(resultobj,o);
14069 }
14070 return resultobj;
14071 fail:
14072 return NULL;
14073 }
14074
14075
14076 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14077 PyObject *resultobj;
14078 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14079 int *arg2 = (int *) 0 ;
14080 int *arg3 = (int *) 0 ;
14081 int temp2 ;
14082 int temp3 ;
14083 PyObject * obj0 = 0 ;
14084 char *kwnames[] = {
14085 (char *) "self", NULL
14086 };
14087
14088 arg2 = &temp2;
14089 arg3 = &temp3;
14090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
14091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14092 {
14093 PyThreadState* __tstate = wxPyBeginAllowThreads();
14094 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
14095
14096 wxPyEndAllowThreads(__tstate);
14097 if (PyErr_Occurred()) SWIG_fail;
14098 }
14099 Py_INCREF(Py_None); resultobj = Py_None;
14100 {
14101 PyObject *o = PyInt_FromLong((long) (*arg2));
14102 resultobj = t_output_helper(resultobj,o);
14103 }
14104 {
14105 PyObject *o = PyInt_FromLong((long) (*arg3));
14106 resultobj = t_output_helper(resultobj,o);
14107 }
14108 return resultobj;
14109 fail:
14110 return NULL;
14111 }
14112
14113
14114 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14115 PyObject *resultobj;
14116 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14117 wxSize result;
14118 PyObject * obj0 = 0 ;
14119 char *kwnames[] = {
14120 (char *) "self", NULL
14121 };
14122
14123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
14124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14125 {
14126 PyThreadState* __tstate = wxPyBeginAllowThreads();
14127 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
14128
14129 wxPyEndAllowThreads(__tstate);
14130 if (PyErr_Occurred()) SWIG_fail;
14131 }
14132 {
14133 wxSize * resultptr;
14134 resultptr = new wxSize((wxSize &) result);
14135 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14136 }
14137 return resultobj;
14138 fail:
14139 return NULL;
14140 }
14141
14142
14143 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14144 PyObject *resultobj;
14145 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14146 wxSize result;
14147 PyObject * obj0 = 0 ;
14148 char *kwnames[] = {
14149 (char *) "self", NULL
14150 };
14151
14152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
14153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14154 {
14155 PyThreadState* __tstate = wxPyBeginAllowThreads();
14156 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
14157
14158 wxPyEndAllowThreads(__tstate);
14159 if (PyErr_Occurred()) SWIG_fail;
14160 }
14161 {
14162 wxSize * resultptr;
14163 resultptr = new wxSize((wxSize &) result);
14164 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14165 }
14166 return resultobj;
14167 fail:
14168 return NULL;
14169 }
14170
14171
14172 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14173 PyObject *resultobj;
14174 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14175 PyObject * obj0 = 0 ;
14176 char *kwnames[] = {
14177 (char *) "self", NULL
14178 };
14179
14180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
14181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14182 {
14183 PyThreadState* __tstate = wxPyBeginAllowThreads();
14184 (arg1)->base_InitDialog();
14185
14186 wxPyEndAllowThreads(__tstate);
14187 if (PyErr_Occurred()) SWIG_fail;
14188 }
14189 Py_INCREF(Py_None); resultobj = Py_None;
14190 return resultobj;
14191 fail:
14192 return NULL;
14193 }
14194
14195
14196 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14197 PyObject *resultobj;
14198 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14199 bool result;
14200 PyObject * obj0 = 0 ;
14201 char *kwnames[] = {
14202 (char *) "self", NULL
14203 };
14204
14205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
14206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14207 {
14208 PyThreadState* __tstate = wxPyBeginAllowThreads();
14209 result = (bool)(arg1)->base_TransferDataToWindow();
14210
14211 wxPyEndAllowThreads(__tstate);
14212 if (PyErr_Occurred()) SWIG_fail;
14213 }
14214 resultobj = PyInt_FromLong((long)result);
14215 return resultobj;
14216 fail:
14217 return NULL;
14218 }
14219
14220
14221 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14222 PyObject *resultobj;
14223 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14224 bool result;
14225 PyObject * obj0 = 0 ;
14226 char *kwnames[] = {
14227 (char *) "self", NULL
14228 };
14229
14230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
14231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14232 {
14233 PyThreadState* __tstate = wxPyBeginAllowThreads();
14234 result = (bool)(arg1)->base_TransferDataFromWindow();
14235
14236 wxPyEndAllowThreads(__tstate);
14237 if (PyErr_Occurred()) SWIG_fail;
14238 }
14239 resultobj = PyInt_FromLong((long)result);
14240 return resultobj;
14241 fail:
14242 return NULL;
14243 }
14244
14245
14246 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
14247 PyObject *resultobj;
14248 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14249 bool result;
14250 PyObject * obj0 = 0 ;
14251 char *kwnames[] = {
14252 (char *) "self", NULL
14253 };
14254
14255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
14256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14257 {
14258 PyThreadState* __tstate = wxPyBeginAllowThreads();
14259 result = (bool)(arg1)->base_Validate();
14260
14261 wxPyEndAllowThreads(__tstate);
14262 if (PyErr_Occurred()) SWIG_fail;
14263 }
14264 resultobj = PyInt_FromLong((long)result);
14265 return resultobj;
14266 fail:
14267 return NULL;
14268 }
14269
14270
14271 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
14272 PyObject *resultobj;
14273 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14274 bool result;
14275 PyObject * obj0 = 0 ;
14276 char *kwnames[] = {
14277 (char *) "self", NULL
14278 };
14279
14280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
14281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14282 {
14283 PyThreadState* __tstate = wxPyBeginAllowThreads();
14284 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
14285
14286 wxPyEndAllowThreads(__tstate);
14287 if (PyErr_Occurred()) SWIG_fail;
14288 }
14289 resultobj = PyInt_FromLong((long)result);
14290 return resultobj;
14291 fail:
14292 return NULL;
14293 }
14294
14295
14296 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
14297 PyObject *resultobj;
14298 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14299 bool result;
14300 PyObject * obj0 = 0 ;
14301 char *kwnames[] = {
14302 (char *) "self", NULL
14303 };
14304
14305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
14306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14307 {
14308 PyThreadState* __tstate = wxPyBeginAllowThreads();
14309 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
14310
14311 wxPyEndAllowThreads(__tstate);
14312 if (PyErr_Occurred()) SWIG_fail;
14313 }
14314 resultobj = PyInt_FromLong((long)result);
14315 return resultobj;
14316 fail:
14317 return NULL;
14318 }
14319
14320
14321 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14322 PyObject *resultobj;
14323 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14324 wxSize result;
14325 PyObject * obj0 = 0 ;
14326 char *kwnames[] = {
14327 (char *) "self", NULL
14328 };
14329
14330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
14331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14332 {
14333 PyThreadState* __tstate = wxPyBeginAllowThreads();
14334 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
14335
14336 wxPyEndAllowThreads(__tstate);
14337 if (PyErr_Occurred()) SWIG_fail;
14338 }
14339 {
14340 wxSize * resultptr;
14341 resultptr = new wxSize((wxSize &) result);
14342 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14343 }
14344 return resultobj;
14345 fail:
14346 return NULL;
14347 }
14348
14349
14350 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14351 PyObject *resultobj;
14352 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14353 wxWindow *arg2 = (wxWindow *) 0 ;
14354 PyObject * obj0 = 0 ;
14355 PyObject * obj1 = 0 ;
14356 char *kwnames[] = {
14357 (char *) "self",(char *) "child", NULL
14358 };
14359
14360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
14361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14362 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14363 {
14364 PyThreadState* __tstate = wxPyBeginAllowThreads();
14365 (arg1)->base_AddChild(arg2);
14366
14367 wxPyEndAllowThreads(__tstate);
14368 if (PyErr_Occurred()) SWIG_fail;
14369 }
14370 Py_INCREF(Py_None); resultobj = Py_None;
14371 return resultobj;
14372 fail:
14373 return NULL;
14374 }
14375
14376
14377 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14378 PyObject *resultobj;
14379 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14380 wxWindow *arg2 = (wxWindow *) 0 ;
14381 PyObject * obj0 = 0 ;
14382 PyObject * obj1 = 0 ;
14383 char *kwnames[] = {
14384 (char *) "self",(char *) "child", NULL
14385 };
14386
14387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
14388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14389 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14390 {
14391 PyThreadState* __tstate = wxPyBeginAllowThreads();
14392 (arg1)->base_RemoveChild(arg2);
14393
14394 wxPyEndAllowThreads(__tstate);
14395 if (PyErr_Occurred()) SWIG_fail;
14396 }
14397 Py_INCREF(Py_None); resultobj = Py_None;
14398 return resultobj;
14399 fail:
14400 return NULL;
14401 }
14402
14403
14404 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
14405 PyObject *obj;
14406 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14407 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
14408 Py_INCREF(obj);
14409 return Py_BuildValue((char *)"");
14410 }
14411 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
14412 PyObject *resultobj;
14413 wxWindow *arg1 = (wxWindow *) 0 ;
14414 int arg2 ;
14415 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14416 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14417 wxSize const &arg4_defvalue = wxDefaultSize ;
14418 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14419 long arg5 = (long) 0 ;
14420 wxString const &arg6_defvalue = wxPyPanelNameStr ;
14421 wxString *arg6 = (wxString *) &arg6_defvalue ;
14422 wxPyPanel *result;
14423 wxPoint temp3 ;
14424 wxSize temp4 ;
14425 bool temp6 = False ;
14426 PyObject * obj0 = 0 ;
14427 PyObject * obj2 = 0 ;
14428 PyObject * obj3 = 0 ;
14429 PyObject * obj5 = 0 ;
14430 char *kwnames[] = {
14431 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14432 };
14433
14434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyPanel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
14435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14436 if (obj2) {
14437 {
14438 arg3 = &temp3;
14439 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14440 }
14441 }
14442 if (obj3) {
14443 {
14444 arg4 = &temp4;
14445 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14446 }
14447 }
14448 if (obj5) {
14449 {
14450 arg6 = wxString_in_helper(obj5);
14451 if (arg6 == NULL) SWIG_fail;
14452 temp6 = True;
14453 }
14454 }
14455 {
14456 PyThreadState* __tstate = wxPyBeginAllowThreads();
14457 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14458
14459 wxPyEndAllowThreads(__tstate);
14460 if (PyErr_Occurred()) SWIG_fail;
14461 }
14462 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPanel, 1);
14463 {
14464 if (temp6)
14465 delete arg6;
14466 }
14467 return resultobj;
14468 fail:
14469 {
14470 if (temp6)
14471 delete arg6;
14472 }
14473 return NULL;
14474 }
14475
14476
14477 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14478 PyObject *resultobj;
14479 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14480 PyObject *arg2 = (PyObject *) 0 ;
14481 PyObject *arg3 = (PyObject *) 0 ;
14482 PyObject * obj0 = 0 ;
14483 PyObject * obj1 = 0 ;
14484 PyObject * obj2 = 0 ;
14485 char *kwnames[] = {
14486 (char *) "self",(char *) "self",(char *) "_class", NULL
14487 };
14488
14489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14491 arg2 = obj1;
14492 arg3 = obj2;
14493 {
14494 PyThreadState* __tstate = wxPyBeginAllowThreads();
14495 (arg1)->_setCallbackInfo(arg2,arg3);
14496
14497 wxPyEndAllowThreads(__tstate);
14498 if (PyErr_Occurred()) SWIG_fail;
14499 }
14500 Py_INCREF(Py_None); resultobj = Py_None;
14501 return resultobj;
14502 fail:
14503 return NULL;
14504 }
14505
14506
14507 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14508 PyObject *resultobj;
14509 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14510 int arg2 ;
14511 int arg3 ;
14512 int arg4 ;
14513 int arg5 ;
14514 PyObject * obj0 = 0 ;
14515 char *kwnames[] = {
14516 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14517 };
14518
14519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyPanel_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14521 {
14522 PyThreadState* __tstate = wxPyBeginAllowThreads();
14523 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
14524
14525 wxPyEndAllowThreads(__tstate);
14526 if (PyErr_Occurred()) SWIG_fail;
14527 }
14528 Py_INCREF(Py_None); resultobj = Py_None;
14529 return resultobj;
14530 fail:
14531 return NULL;
14532 }
14533
14534
14535 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14536 PyObject *resultobj;
14537 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14538 int arg2 ;
14539 int arg3 ;
14540 int arg4 ;
14541 int arg5 ;
14542 int arg6 = (int) wxSIZE_AUTO ;
14543 PyObject * obj0 = 0 ;
14544 char *kwnames[] = {
14545 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14546 };
14547
14548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyPanel_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
14549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14550 {
14551 PyThreadState* __tstate = wxPyBeginAllowThreads();
14552 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
14553
14554 wxPyEndAllowThreads(__tstate);
14555 if (PyErr_Occurred()) SWIG_fail;
14556 }
14557 Py_INCREF(Py_None); resultobj = Py_None;
14558 return resultobj;
14559 fail:
14560 return NULL;
14561 }
14562
14563
14564 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14565 PyObject *resultobj;
14566 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14567 int arg2 ;
14568 int arg3 ;
14569 PyObject * obj0 = 0 ;
14570 char *kwnames[] = {
14571 (char *) "self",(char *) "width",(char *) "height", NULL
14572 };
14573
14574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14576 {
14577 PyThreadState* __tstate = wxPyBeginAllowThreads();
14578 (arg1)->base_DoSetClientSize(arg2,arg3);
14579
14580 wxPyEndAllowThreads(__tstate);
14581 if (PyErr_Occurred()) SWIG_fail;
14582 }
14583 Py_INCREF(Py_None); resultobj = Py_None;
14584 return resultobj;
14585 fail:
14586 return NULL;
14587 }
14588
14589
14590 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14591 PyObject *resultobj;
14592 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14593 int arg2 ;
14594 int arg3 ;
14595 PyObject * obj0 = 0 ;
14596 char *kwnames[] = {
14597 (char *) "self",(char *) "x",(char *) "y", NULL
14598 };
14599
14600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14602 {
14603 PyThreadState* __tstate = wxPyBeginAllowThreads();
14604 (arg1)->base_DoSetVirtualSize(arg2,arg3);
14605
14606 wxPyEndAllowThreads(__tstate);
14607 if (PyErr_Occurred()) SWIG_fail;
14608 }
14609 Py_INCREF(Py_None); resultobj = Py_None;
14610 return resultobj;
14611 fail:
14612 return NULL;
14613 }
14614
14615
14616 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14617 PyObject *resultobj;
14618 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14619 int *arg2 = (int *) 0 ;
14620 int *arg3 = (int *) 0 ;
14621 int temp2 ;
14622 int temp3 ;
14623 PyObject * obj0 = 0 ;
14624 char *kwnames[] = {
14625 (char *) "self", NULL
14626 };
14627
14628 arg2 = &temp2;
14629 arg3 = &temp3;
14630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
14631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14632 {
14633 PyThreadState* __tstate = wxPyBeginAllowThreads();
14634 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
14635
14636 wxPyEndAllowThreads(__tstate);
14637 if (PyErr_Occurred()) SWIG_fail;
14638 }
14639 Py_INCREF(Py_None); resultobj = Py_None;
14640 {
14641 PyObject *o = PyInt_FromLong((long) (*arg2));
14642 resultobj = t_output_helper(resultobj,o);
14643 }
14644 {
14645 PyObject *o = PyInt_FromLong((long) (*arg3));
14646 resultobj = t_output_helper(resultobj,o);
14647 }
14648 return resultobj;
14649 fail:
14650 return NULL;
14651 }
14652
14653
14654 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14655 PyObject *resultobj;
14656 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14657 int *arg2 = (int *) 0 ;
14658 int *arg3 = (int *) 0 ;
14659 int temp2 ;
14660 int temp3 ;
14661 PyObject * obj0 = 0 ;
14662 char *kwnames[] = {
14663 (char *) "self", NULL
14664 };
14665
14666 arg2 = &temp2;
14667 arg3 = &temp3;
14668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
14669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14670 {
14671 PyThreadState* __tstate = wxPyBeginAllowThreads();
14672 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
14673
14674 wxPyEndAllowThreads(__tstate);
14675 if (PyErr_Occurred()) SWIG_fail;
14676 }
14677 Py_INCREF(Py_None); resultobj = Py_None;
14678 {
14679 PyObject *o = PyInt_FromLong((long) (*arg2));
14680 resultobj = t_output_helper(resultobj,o);
14681 }
14682 {
14683 PyObject *o = PyInt_FromLong((long) (*arg3));
14684 resultobj = t_output_helper(resultobj,o);
14685 }
14686 return resultobj;
14687 fail:
14688 return NULL;
14689 }
14690
14691
14692 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14693 PyObject *resultobj;
14694 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14695 int *arg2 = (int *) 0 ;
14696 int *arg3 = (int *) 0 ;
14697 int temp2 ;
14698 int temp3 ;
14699 PyObject * obj0 = 0 ;
14700 char *kwnames[] = {
14701 (char *) "self", NULL
14702 };
14703
14704 arg2 = &temp2;
14705 arg3 = &temp3;
14706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
14707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14708 {
14709 PyThreadState* __tstate = wxPyBeginAllowThreads();
14710 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
14711
14712 wxPyEndAllowThreads(__tstate);
14713 if (PyErr_Occurred()) SWIG_fail;
14714 }
14715 Py_INCREF(Py_None); resultobj = Py_None;
14716 {
14717 PyObject *o = PyInt_FromLong((long) (*arg2));
14718 resultobj = t_output_helper(resultobj,o);
14719 }
14720 {
14721 PyObject *o = PyInt_FromLong((long) (*arg3));
14722 resultobj = t_output_helper(resultobj,o);
14723 }
14724 return resultobj;
14725 fail:
14726 return NULL;
14727 }
14728
14729
14730 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14731 PyObject *resultobj;
14732 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14733 wxSize result;
14734 PyObject * obj0 = 0 ;
14735 char *kwnames[] = {
14736 (char *) "self", NULL
14737 };
14738
14739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
14740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14741 {
14742 PyThreadState* __tstate = wxPyBeginAllowThreads();
14743 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
14744
14745 wxPyEndAllowThreads(__tstate);
14746 if (PyErr_Occurred()) SWIG_fail;
14747 }
14748 {
14749 wxSize * resultptr;
14750 resultptr = new wxSize((wxSize &) result);
14751 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14752 }
14753 return resultobj;
14754 fail:
14755 return NULL;
14756 }
14757
14758
14759 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14760 PyObject *resultobj;
14761 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14762 wxSize result;
14763 PyObject * obj0 = 0 ;
14764 char *kwnames[] = {
14765 (char *) "self", NULL
14766 };
14767
14768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
14769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14770 {
14771 PyThreadState* __tstate = wxPyBeginAllowThreads();
14772 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
14773
14774 wxPyEndAllowThreads(__tstate);
14775 if (PyErr_Occurred()) SWIG_fail;
14776 }
14777 {
14778 wxSize * resultptr;
14779 resultptr = new wxSize((wxSize &) result);
14780 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14781 }
14782 return resultobj;
14783 fail:
14784 return NULL;
14785 }
14786
14787
14788 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14789 PyObject *resultobj;
14790 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14791 PyObject * obj0 = 0 ;
14792 char *kwnames[] = {
14793 (char *) "self", NULL
14794 };
14795
14796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
14797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14798 {
14799 PyThreadState* __tstate = wxPyBeginAllowThreads();
14800 (arg1)->base_InitDialog();
14801
14802 wxPyEndAllowThreads(__tstate);
14803 if (PyErr_Occurred()) SWIG_fail;
14804 }
14805 Py_INCREF(Py_None); resultobj = Py_None;
14806 return resultobj;
14807 fail:
14808 return NULL;
14809 }
14810
14811
14812 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14813 PyObject *resultobj;
14814 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14815 bool result;
14816 PyObject * obj0 = 0 ;
14817 char *kwnames[] = {
14818 (char *) "self", NULL
14819 };
14820
14821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
14822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14823 {
14824 PyThreadState* __tstate = wxPyBeginAllowThreads();
14825 result = (bool)(arg1)->base_TransferDataToWindow();
14826
14827 wxPyEndAllowThreads(__tstate);
14828 if (PyErr_Occurred()) SWIG_fail;
14829 }
14830 resultobj = PyInt_FromLong((long)result);
14831 return resultobj;
14832 fail:
14833 return NULL;
14834 }
14835
14836
14837 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14838 PyObject *resultobj;
14839 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14840 bool result;
14841 PyObject * obj0 = 0 ;
14842 char *kwnames[] = {
14843 (char *) "self", NULL
14844 };
14845
14846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
14847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14848 {
14849 PyThreadState* __tstate = wxPyBeginAllowThreads();
14850 result = (bool)(arg1)->base_TransferDataFromWindow();
14851
14852 wxPyEndAllowThreads(__tstate);
14853 if (PyErr_Occurred()) SWIG_fail;
14854 }
14855 resultobj = PyInt_FromLong((long)result);
14856 return resultobj;
14857 fail:
14858 return NULL;
14859 }
14860
14861
14862 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
14863 PyObject *resultobj;
14864 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14865 bool result;
14866 PyObject * obj0 = 0 ;
14867 char *kwnames[] = {
14868 (char *) "self", NULL
14869 };
14870
14871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
14872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14873 {
14874 PyThreadState* __tstate = wxPyBeginAllowThreads();
14875 result = (bool)(arg1)->base_Validate();
14876
14877 wxPyEndAllowThreads(__tstate);
14878 if (PyErr_Occurred()) SWIG_fail;
14879 }
14880 resultobj = PyInt_FromLong((long)result);
14881 return resultobj;
14882 fail:
14883 return NULL;
14884 }
14885
14886
14887 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
14888 PyObject *resultobj;
14889 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14890 bool result;
14891 PyObject * obj0 = 0 ;
14892 char *kwnames[] = {
14893 (char *) "self", NULL
14894 };
14895
14896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
14897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14898 {
14899 PyThreadState* __tstate = wxPyBeginAllowThreads();
14900 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
14901
14902 wxPyEndAllowThreads(__tstate);
14903 if (PyErr_Occurred()) SWIG_fail;
14904 }
14905 resultobj = PyInt_FromLong((long)result);
14906 return resultobj;
14907 fail:
14908 return NULL;
14909 }
14910
14911
14912 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
14913 PyObject *resultobj;
14914 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14915 bool result;
14916 PyObject * obj0 = 0 ;
14917 char *kwnames[] = {
14918 (char *) "self", NULL
14919 };
14920
14921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
14922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14923 {
14924 PyThreadState* __tstate = wxPyBeginAllowThreads();
14925 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
14926
14927 wxPyEndAllowThreads(__tstate);
14928 if (PyErr_Occurred()) SWIG_fail;
14929 }
14930 resultobj = PyInt_FromLong((long)result);
14931 return resultobj;
14932 fail:
14933 return NULL;
14934 }
14935
14936
14937 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14938 PyObject *resultobj;
14939 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14940 wxSize result;
14941 PyObject * obj0 = 0 ;
14942 char *kwnames[] = {
14943 (char *) "self", NULL
14944 };
14945
14946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
14947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14948 {
14949 PyThreadState* __tstate = wxPyBeginAllowThreads();
14950 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
14951
14952 wxPyEndAllowThreads(__tstate);
14953 if (PyErr_Occurred()) SWIG_fail;
14954 }
14955 {
14956 wxSize * resultptr;
14957 resultptr = new wxSize((wxSize &) result);
14958 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14959 }
14960 return resultobj;
14961 fail:
14962 return NULL;
14963 }
14964
14965
14966 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14967 PyObject *resultobj;
14968 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14969 wxWindow *arg2 = (wxWindow *) 0 ;
14970 PyObject * obj0 = 0 ;
14971 PyObject * obj1 = 0 ;
14972 char *kwnames[] = {
14973 (char *) "self",(char *) "child", NULL
14974 };
14975
14976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
14977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14978 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14979 {
14980 PyThreadState* __tstate = wxPyBeginAllowThreads();
14981 (arg1)->base_AddChild(arg2);
14982
14983 wxPyEndAllowThreads(__tstate);
14984 if (PyErr_Occurred()) SWIG_fail;
14985 }
14986 Py_INCREF(Py_None); resultobj = Py_None;
14987 return resultobj;
14988 fail:
14989 return NULL;
14990 }
14991
14992
14993 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14994 PyObject *resultobj;
14995 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14996 wxWindow *arg2 = (wxWindow *) 0 ;
14997 PyObject * obj0 = 0 ;
14998 PyObject * obj1 = 0 ;
14999 char *kwnames[] = {
15000 (char *) "self",(char *) "child", NULL
15001 };
15002
15003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15005 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15006 {
15007 PyThreadState* __tstate = wxPyBeginAllowThreads();
15008 (arg1)->base_RemoveChild(arg2);
15009
15010 wxPyEndAllowThreads(__tstate);
15011 if (PyErr_Occurred()) SWIG_fail;
15012 }
15013 Py_INCREF(Py_None); resultobj = Py_None;
15014 return resultobj;
15015 fail:
15016 return NULL;
15017 }
15018
15019
15020 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
15021 PyObject *obj;
15022 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15023 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
15024 Py_INCREF(obj);
15025 return Py_BuildValue((char *)"");
15026 }
15027 static int _wrap_PrintoutTitleStr_set(PyObject *_val) {
15028 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
15029 return 1;
15030 }
15031
15032
15033 static PyObject *_wrap_PrintoutTitleStr_get() {
15034 PyObject *pyobj;
15035
15036 {
15037 #if wxUSE_UNICODE
15038 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
15039 #else
15040 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
15041 #endif
15042 }
15043 return pyobj;
15044 }
15045
15046
15047 static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) {
15048 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
15049 return 1;
15050 }
15051
15052
15053 static PyObject *_wrap_PreviewCanvasNameStr_get() {
15054 PyObject *pyobj;
15055
15056 {
15057 #if wxUSE_UNICODE
15058 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
15059 #else
15060 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
15061 #endif
15062 }
15063 return pyobj;
15064 }
15065
15066
15067 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
15068 PyObject *resultobj;
15069 wxPrintData *result;
15070 char *kwnames[] = {
15071 NULL
15072 };
15073
15074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
15075 {
15076 PyThreadState* __tstate = wxPyBeginAllowThreads();
15077 result = (wxPrintData *)new wxPrintData();
15078
15079 wxPyEndAllowThreads(__tstate);
15080 if (PyErr_Occurred()) SWIG_fail;
15081 }
15082 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 1);
15083 return resultobj;
15084 fail:
15085 return NULL;
15086 }
15087
15088
15089 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
15090 PyObject *resultobj;
15091 wxPrintData *arg1 = (wxPrintData *) 0 ;
15092 PyObject * obj0 = 0 ;
15093 char *kwnames[] = {
15094 (char *) "self", NULL
15095 };
15096
15097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
15098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15099 {
15100 PyThreadState* __tstate = wxPyBeginAllowThreads();
15101 delete arg1;
15102
15103 wxPyEndAllowThreads(__tstate);
15104 if (PyErr_Occurred()) SWIG_fail;
15105 }
15106 Py_INCREF(Py_None); resultobj = Py_None;
15107 return resultobj;
15108 fail:
15109 return NULL;
15110 }
15111
15112
15113 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
15114 PyObject *resultobj;
15115 wxPrintData *arg1 = (wxPrintData *) 0 ;
15116 int result;
15117 PyObject * obj0 = 0 ;
15118 char *kwnames[] = {
15119 (char *) "self", NULL
15120 };
15121
15122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
15123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15124 {
15125 PyThreadState* __tstate = wxPyBeginAllowThreads();
15126 result = (int)(arg1)->GetNoCopies();
15127
15128 wxPyEndAllowThreads(__tstate);
15129 if (PyErr_Occurred()) SWIG_fail;
15130 }
15131 resultobj = PyInt_FromLong((long)result);
15132 return resultobj;
15133 fail:
15134 return NULL;
15135 }
15136
15137
15138 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
15139 PyObject *resultobj;
15140 wxPrintData *arg1 = (wxPrintData *) 0 ;
15141 bool result;
15142 PyObject * obj0 = 0 ;
15143 char *kwnames[] = {
15144 (char *) "self", NULL
15145 };
15146
15147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
15148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15149 {
15150 PyThreadState* __tstate = wxPyBeginAllowThreads();
15151 result = (bool)(arg1)->GetCollate();
15152
15153 wxPyEndAllowThreads(__tstate);
15154 if (PyErr_Occurred()) SWIG_fail;
15155 }
15156 resultobj = PyInt_FromLong((long)result);
15157 return resultobj;
15158 fail:
15159 return NULL;
15160 }
15161
15162
15163 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
15164 PyObject *resultobj;
15165 wxPrintData *arg1 = (wxPrintData *) 0 ;
15166 int result;
15167 PyObject * obj0 = 0 ;
15168 char *kwnames[] = {
15169 (char *) "self", NULL
15170 };
15171
15172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
15173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15174 {
15175 PyThreadState* __tstate = wxPyBeginAllowThreads();
15176 result = (int)(arg1)->GetOrientation();
15177
15178 wxPyEndAllowThreads(__tstate);
15179 if (PyErr_Occurred()) SWIG_fail;
15180 }
15181 resultobj = PyInt_FromLong((long)result);
15182 return resultobj;
15183 fail:
15184 return NULL;
15185 }
15186
15187
15188 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
15189 PyObject *resultobj;
15190 wxPrintData *arg1 = (wxPrintData *) 0 ;
15191 bool result;
15192 PyObject * obj0 = 0 ;
15193 char *kwnames[] = {
15194 (char *) "self", NULL
15195 };
15196
15197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
15198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15199 {
15200 PyThreadState* __tstate = wxPyBeginAllowThreads();
15201 result = (bool)(arg1)->Ok();
15202
15203 wxPyEndAllowThreads(__tstate);
15204 if (PyErr_Occurred()) SWIG_fail;
15205 }
15206 resultobj = PyInt_FromLong((long)result);
15207 return resultobj;
15208 fail:
15209 return NULL;
15210 }
15211
15212
15213 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
15214 PyObject *resultobj;
15215 wxPrintData *arg1 = (wxPrintData *) 0 ;
15216 wxString *result;
15217 PyObject * obj0 = 0 ;
15218 char *kwnames[] = {
15219 (char *) "self", NULL
15220 };
15221
15222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
15223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15224 {
15225 PyThreadState* __tstate = wxPyBeginAllowThreads();
15226 {
15227 wxString const &_result_ref = (arg1)->GetPrinterName();
15228 result = (wxString *) &_result_ref;
15229 }
15230
15231 wxPyEndAllowThreads(__tstate);
15232 if (PyErr_Occurred()) SWIG_fail;
15233 }
15234 {
15235 #if wxUSE_UNICODE
15236 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15237 #else
15238 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15239 #endif
15240 }
15241 return resultobj;
15242 fail:
15243 return NULL;
15244 }
15245
15246
15247 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15248 PyObject *resultobj;
15249 wxPrintData *arg1 = (wxPrintData *) 0 ;
15250 bool result;
15251 PyObject * obj0 = 0 ;
15252 char *kwnames[] = {
15253 (char *) "self", NULL
15254 };
15255
15256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
15257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15258 {
15259 PyThreadState* __tstate = wxPyBeginAllowThreads();
15260 result = (bool)(arg1)->GetColour();
15261
15262 wxPyEndAllowThreads(__tstate);
15263 if (PyErr_Occurred()) SWIG_fail;
15264 }
15265 resultobj = PyInt_FromLong((long)result);
15266 return resultobj;
15267 fail:
15268 return NULL;
15269 }
15270
15271
15272 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
15273 PyObject *resultobj;
15274 wxPrintData *arg1 = (wxPrintData *) 0 ;
15275 int result;
15276 PyObject * obj0 = 0 ;
15277 char *kwnames[] = {
15278 (char *) "self", NULL
15279 };
15280
15281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
15282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15283 {
15284 PyThreadState* __tstate = wxPyBeginAllowThreads();
15285 result = (int)(arg1)->GetDuplex();
15286
15287 wxPyEndAllowThreads(__tstate);
15288 if (PyErr_Occurred()) SWIG_fail;
15289 }
15290 resultobj = PyInt_FromLong((long)result);
15291 return resultobj;
15292 fail:
15293 return NULL;
15294 }
15295
15296
15297 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
15298 PyObject *resultobj;
15299 wxPrintData *arg1 = (wxPrintData *) 0 ;
15300 int result;
15301 PyObject * obj0 = 0 ;
15302 char *kwnames[] = {
15303 (char *) "self", NULL
15304 };
15305
15306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
15307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15308 {
15309 PyThreadState* __tstate = wxPyBeginAllowThreads();
15310 result = (int)(arg1)->GetPaperId();
15311
15312 wxPyEndAllowThreads(__tstate);
15313 if (PyErr_Occurred()) SWIG_fail;
15314 }
15315 resultobj = PyInt_FromLong((long)result);
15316 return resultobj;
15317 fail:
15318 return NULL;
15319 }
15320
15321
15322 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15323 PyObject *resultobj;
15324 wxPrintData *arg1 = (wxPrintData *) 0 ;
15325 wxSize *result;
15326 PyObject * obj0 = 0 ;
15327 char *kwnames[] = {
15328 (char *) "self", NULL
15329 };
15330
15331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
15332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15333 {
15334 PyThreadState* __tstate = wxPyBeginAllowThreads();
15335 {
15336 wxSize const &_result_ref = (arg1)->GetPaperSize();
15337 result = (wxSize *) &_result_ref;
15338 }
15339
15340 wxPyEndAllowThreads(__tstate);
15341 if (PyErr_Occurred()) SWIG_fail;
15342 }
15343 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
15344 return resultobj;
15345 fail:
15346 return NULL;
15347 }
15348
15349
15350 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
15351 PyObject *resultobj;
15352 wxPrintData *arg1 = (wxPrintData *) 0 ;
15353 int result;
15354 PyObject * obj0 = 0 ;
15355 char *kwnames[] = {
15356 (char *) "self", NULL
15357 };
15358
15359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
15360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15361 {
15362 PyThreadState* __tstate = wxPyBeginAllowThreads();
15363 result = (int)(arg1)->GetQuality();
15364
15365 wxPyEndAllowThreads(__tstate);
15366 if (PyErr_Occurred()) SWIG_fail;
15367 }
15368 resultobj = PyInt_FromLong((long)result);
15369 return resultobj;
15370 fail:
15371 return NULL;
15372 }
15373
15374
15375 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
15376 PyObject *resultobj;
15377 wxPrintData *arg1 = (wxPrintData *) 0 ;
15378 int arg2 ;
15379 PyObject * obj0 = 0 ;
15380 char *kwnames[] = {
15381 (char *) "self",(char *) "v", NULL
15382 };
15383
15384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
15385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15386 {
15387 PyThreadState* __tstate = wxPyBeginAllowThreads();
15388 (arg1)->SetNoCopies(arg2);
15389
15390 wxPyEndAllowThreads(__tstate);
15391 if (PyErr_Occurred()) SWIG_fail;
15392 }
15393 Py_INCREF(Py_None); resultobj = Py_None;
15394 return resultobj;
15395 fail:
15396 return NULL;
15397 }
15398
15399
15400 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
15401 PyObject *resultobj;
15402 wxPrintData *arg1 = (wxPrintData *) 0 ;
15403 bool arg2 ;
15404 PyObject * obj0 = 0 ;
15405 PyObject * obj1 = 0 ;
15406 char *kwnames[] = {
15407 (char *) "self",(char *) "flag", NULL
15408 };
15409
15410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
15411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15412 arg2 = PyInt_AsLong(obj1) ? true : false;
15413 if (PyErr_Occurred()) SWIG_fail;
15414 {
15415 PyThreadState* __tstate = wxPyBeginAllowThreads();
15416 (arg1)->SetCollate(arg2);
15417
15418 wxPyEndAllowThreads(__tstate);
15419 if (PyErr_Occurred()) SWIG_fail;
15420 }
15421 Py_INCREF(Py_None); resultobj = Py_None;
15422 return resultobj;
15423 fail:
15424 return NULL;
15425 }
15426
15427
15428 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
15429 PyObject *resultobj;
15430 wxPrintData *arg1 = (wxPrintData *) 0 ;
15431 int arg2 ;
15432 PyObject * obj0 = 0 ;
15433 char *kwnames[] = {
15434 (char *) "self",(char *) "orient", NULL
15435 };
15436
15437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
15438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15439 {
15440 PyThreadState* __tstate = wxPyBeginAllowThreads();
15441 (arg1)->SetOrientation(arg2);
15442
15443 wxPyEndAllowThreads(__tstate);
15444 if (PyErr_Occurred()) SWIG_fail;
15445 }
15446 Py_INCREF(Py_None); resultobj = Py_None;
15447 return resultobj;
15448 fail:
15449 return NULL;
15450 }
15451
15452
15453 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
15454 PyObject *resultobj;
15455 wxPrintData *arg1 = (wxPrintData *) 0 ;
15456 wxString *arg2 = 0 ;
15457 bool temp2 = False ;
15458 PyObject * obj0 = 0 ;
15459 PyObject * obj1 = 0 ;
15460 char *kwnames[] = {
15461 (char *) "self",(char *) "name", NULL
15462 };
15463
15464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
15465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15466 {
15467 arg2 = wxString_in_helper(obj1);
15468 if (arg2 == NULL) SWIG_fail;
15469 temp2 = True;
15470 }
15471 {
15472 PyThreadState* __tstate = wxPyBeginAllowThreads();
15473 (arg1)->SetPrinterName((wxString const &)*arg2);
15474
15475 wxPyEndAllowThreads(__tstate);
15476 if (PyErr_Occurred()) SWIG_fail;
15477 }
15478 Py_INCREF(Py_None); resultobj = Py_None;
15479 {
15480 if (temp2)
15481 delete arg2;
15482 }
15483 return resultobj;
15484 fail:
15485 {
15486 if (temp2)
15487 delete arg2;
15488 }
15489 return NULL;
15490 }
15491
15492
15493 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15494 PyObject *resultobj;
15495 wxPrintData *arg1 = (wxPrintData *) 0 ;
15496 bool arg2 ;
15497 PyObject * obj0 = 0 ;
15498 PyObject * obj1 = 0 ;
15499 char *kwnames[] = {
15500 (char *) "self",(char *) "colour", NULL
15501 };
15502
15503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15505 arg2 = PyInt_AsLong(obj1) ? true : false;
15506 if (PyErr_Occurred()) SWIG_fail;
15507 {
15508 PyThreadState* __tstate = wxPyBeginAllowThreads();
15509 (arg1)->SetColour(arg2);
15510
15511 wxPyEndAllowThreads(__tstate);
15512 if (PyErr_Occurred()) SWIG_fail;
15513 }
15514 Py_INCREF(Py_None); resultobj = Py_None;
15515 return resultobj;
15516 fail:
15517 return NULL;
15518 }
15519
15520
15521 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
15522 PyObject *resultobj;
15523 wxPrintData *arg1 = (wxPrintData *) 0 ;
15524 int arg2 ;
15525 PyObject * obj0 = 0 ;
15526 char *kwnames[] = {
15527 (char *) "self",(char *) "duplex", NULL
15528 };
15529
15530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetDuplex",kwnames,&obj0,&arg2)) goto fail;
15531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15532 {
15533 PyThreadState* __tstate = wxPyBeginAllowThreads();
15534 (arg1)->SetDuplex((wxDuplexMode )arg2);
15535
15536 wxPyEndAllowThreads(__tstate);
15537 if (PyErr_Occurred()) SWIG_fail;
15538 }
15539 Py_INCREF(Py_None); resultobj = Py_None;
15540 return resultobj;
15541 fail:
15542 return NULL;
15543 }
15544
15545
15546 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
15547 PyObject *resultobj;
15548 wxPrintData *arg1 = (wxPrintData *) 0 ;
15549 int arg2 ;
15550 PyObject * obj0 = 0 ;
15551 char *kwnames[] = {
15552 (char *) "self",(char *) "sizeId", NULL
15553 };
15554
15555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
15556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15557 {
15558 PyThreadState* __tstate = wxPyBeginAllowThreads();
15559 (arg1)->SetPaperId((wxPaperSize )arg2);
15560
15561 wxPyEndAllowThreads(__tstate);
15562 if (PyErr_Occurred()) SWIG_fail;
15563 }
15564 Py_INCREF(Py_None); resultobj = Py_None;
15565 return resultobj;
15566 fail:
15567 return NULL;
15568 }
15569
15570
15571 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15572 PyObject *resultobj;
15573 wxPrintData *arg1 = (wxPrintData *) 0 ;
15574 wxSize *arg2 = 0 ;
15575 wxSize temp2 ;
15576 PyObject * obj0 = 0 ;
15577 PyObject * obj1 = 0 ;
15578 char *kwnames[] = {
15579 (char *) "self",(char *) "sz", NULL
15580 };
15581
15582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
15583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15584 {
15585 arg2 = &temp2;
15586 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15587 }
15588 {
15589 PyThreadState* __tstate = wxPyBeginAllowThreads();
15590 (arg1)->SetPaperSize((wxSize const &)*arg2);
15591
15592 wxPyEndAllowThreads(__tstate);
15593 if (PyErr_Occurred()) SWIG_fail;
15594 }
15595 Py_INCREF(Py_None); resultobj = Py_None;
15596 return resultobj;
15597 fail:
15598 return NULL;
15599 }
15600
15601
15602 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
15603 PyObject *resultobj;
15604 wxPrintData *arg1 = (wxPrintData *) 0 ;
15605 int arg2 ;
15606 PyObject * obj0 = 0 ;
15607 char *kwnames[] = {
15608 (char *) "self",(char *) "quality", NULL
15609 };
15610
15611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetQuality",kwnames,&obj0,&arg2)) goto fail;
15612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15613 {
15614 PyThreadState* __tstate = wxPyBeginAllowThreads();
15615 (arg1)->SetQuality(arg2);
15616
15617 wxPyEndAllowThreads(__tstate);
15618 if (PyErr_Occurred()) SWIG_fail;
15619 }
15620 Py_INCREF(Py_None); resultobj = Py_None;
15621 return resultobj;
15622 fail:
15623 return NULL;
15624 }
15625
15626
15627 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15628 PyObject *resultobj;
15629 wxPrintData *arg1 = (wxPrintData *) 0 ;
15630 wxString *result;
15631 PyObject * obj0 = 0 ;
15632 char *kwnames[] = {
15633 (char *) "self", NULL
15634 };
15635
15636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
15637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15638 {
15639 PyThreadState* __tstate = wxPyBeginAllowThreads();
15640 {
15641 wxString const &_result_ref = (arg1)->GetPrinterCommand();
15642 result = (wxString *) &_result_ref;
15643 }
15644
15645 wxPyEndAllowThreads(__tstate);
15646 if (PyErr_Occurred()) SWIG_fail;
15647 }
15648 {
15649 #if wxUSE_UNICODE
15650 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15651 #else
15652 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15653 #endif
15654 }
15655 return resultobj;
15656 fail:
15657 return NULL;
15658 }
15659
15660
15661 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15662 PyObject *resultobj;
15663 wxPrintData *arg1 = (wxPrintData *) 0 ;
15664 wxString *result;
15665 PyObject * obj0 = 0 ;
15666 char *kwnames[] = {
15667 (char *) "self", NULL
15668 };
15669
15670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
15671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15672 {
15673 PyThreadState* __tstate = wxPyBeginAllowThreads();
15674 {
15675 wxString const &_result_ref = (arg1)->GetPrinterOptions();
15676 result = (wxString *) &_result_ref;
15677 }
15678
15679 wxPyEndAllowThreads(__tstate);
15680 if (PyErr_Occurred()) SWIG_fail;
15681 }
15682 {
15683 #if wxUSE_UNICODE
15684 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15685 #else
15686 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15687 #endif
15688 }
15689 return resultobj;
15690 fail:
15691 return NULL;
15692 }
15693
15694
15695 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15696 PyObject *resultobj;
15697 wxPrintData *arg1 = (wxPrintData *) 0 ;
15698 wxString *result;
15699 PyObject * obj0 = 0 ;
15700 char *kwnames[] = {
15701 (char *) "self", NULL
15702 };
15703
15704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
15705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15706 {
15707 PyThreadState* __tstate = wxPyBeginAllowThreads();
15708 {
15709 wxString const &_result_ref = (arg1)->GetPreviewCommand();
15710 result = (wxString *) &_result_ref;
15711 }
15712
15713 wxPyEndAllowThreads(__tstate);
15714 if (PyErr_Occurred()) SWIG_fail;
15715 }
15716 {
15717 #if wxUSE_UNICODE
15718 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15719 #else
15720 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15721 #endif
15722 }
15723 return resultobj;
15724 fail:
15725 return NULL;
15726 }
15727
15728
15729 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
15730 PyObject *resultobj;
15731 wxPrintData *arg1 = (wxPrintData *) 0 ;
15732 wxString *result;
15733 PyObject * obj0 = 0 ;
15734 char *kwnames[] = {
15735 (char *) "self", NULL
15736 };
15737
15738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
15739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15740 {
15741 PyThreadState* __tstate = wxPyBeginAllowThreads();
15742 {
15743 wxString const &_result_ref = (arg1)->GetFilename();
15744 result = (wxString *) &_result_ref;
15745 }
15746
15747 wxPyEndAllowThreads(__tstate);
15748 if (PyErr_Occurred()) SWIG_fail;
15749 }
15750 {
15751 #if wxUSE_UNICODE
15752 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15753 #else
15754 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15755 #endif
15756 }
15757 return resultobj;
15758 fail:
15759 return NULL;
15760 }
15761
15762
15763 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
15764 PyObject *resultobj;
15765 wxPrintData *arg1 = (wxPrintData *) 0 ;
15766 wxString *result;
15767 PyObject * obj0 = 0 ;
15768 char *kwnames[] = {
15769 (char *) "self", NULL
15770 };
15771
15772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
15773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15774 {
15775 PyThreadState* __tstate = wxPyBeginAllowThreads();
15776 {
15777 wxString const &_result_ref = (arg1)->GetFontMetricPath();
15778 result = (wxString *) &_result_ref;
15779 }
15780
15781 wxPyEndAllowThreads(__tstate);
15782 if (PyErr_Occurred()) SWIG_fail;
15783 }
15784 {
15785 #if wxUSE_UNICODE
15786 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15787 #else
15788 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15789 #endif
15790 }
15791 return resultobj;
15792 fail:
15793 return NULL;
15794 }
15795
15796
15797 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
15798 PyObject *resultobj;
15799 wxPrintData *arg1 = (wxPrintData *) 0 ;
15800 double result;
15801 PyObject * obj0 = 0 ;
15802 char *kwnames[] = {
15803 (char *) "self", NULL
15804 };
15805
15806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
15807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15808 {
15809 PyThreadState* __tstate = wxPyBeginAllowThreads();
15810 result = (double)(arg1)->GetPrinterScaleX();
15811
15812 wxPyEndAllowThreads(__tstate);
15813 if (PyErr_Occurred()) SWIG_fail;
15814 }
15815 resultobj = PyFloat_FromDouble(result);
15816 return resultobj;
15817 fail:
15818 return NULL;
15819 }
15820
15821
15822 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
15823 PyObject *resultobj;
15824 wxPrintData *arg1 = (wxPrintData *) 0 ;
15825 double result;
15826 PyObject * obj0 = 0 ;
15827 char *kwnames[] = {
15828 (char *) "self", NULL
15829 };
15830
15831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
15832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15833 {
15834 PyThreadState* __tstate = wxPyBeginAllowThreads();
15835 result = (double)(arg1)->GetPrinterScaleY();
15836
15837 wxPyEndAllowThreads(__tstate);
15838 if (PyErr_Occurred()) SWIG_fail;
15839 }
15840 resultobj = PyFloat_FromDouble(result);
15841 return resultobj;
15842 fail:
15843 return NULL;
15844 }
15845
15846
15847 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
15848 PyObject *resultobj;
15849 wxPrintData *arg1 = (wxPrintData *) 0 ;
15850 long result;
15851 PyObject * obj0 = 0 ;
15852 char *kwnames[] = {
15853 (char *) "self", NULL
15854 };
15855
15856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
15857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15858 {
15859 PyThreadState* __tstate = wxPyBeginAllowThreads();
15860 result = (long)(arg1)->GetPrinterTranslateX();
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_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
15873 PyObject *resultobj;
15874 wxPrintData *arg1 = (wxPrintData *) 0 ;
15875 long result;
15876 PyObject * obj0 = 0 ;
15877 char *kwnames[] = {
15878 (char *) "self", NULL
15879 };
15880
15881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
15882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15883 {
15884 PyThreadState* __tstate = wxPyBeginAllowThreads();
15885 result = (long)(arg1)->GetPrinterTranslateY();
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_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
15898 PyObject *resultobj;
15899 wxPrintData *arg1 = (wxPrintData *) 0 ;
15900 int result;
15901 PyObject * obj0 = 0 ;
15902 char *kwnames[] = {
15903 (char *) "self", NULL
15904 };
15905
15906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
15907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15908 {
15909 PyThreadState* __tstate = wxPyBeginAllowThreads();
15910 result = (int)(arg1)->GetPrintMode();
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_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15923 PyObject *resultobj;
15924 wxPrintData *arg1 = (wxPrintData *) 0 ;
15925 wxString *arg2 = 0 ;
15926 bool temp2 = False ;
15927 PyObject * obj0 = 0 ;
15928 PyObject * obj1 = 0 ;
15929 char *kwnames[] = {
15930 (char *) "self",(char *) "command", NULL
15931 };
15932
15933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
15934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15935 {
15936 arg2 = wxString_in_helper(obj1);
15937 if (arg2 == NULL) SWIG_fail;
15938 temp2 = True;
15939 }
15940 {
15941 PyThreadState* __tstate = wxPyBeginAllowThreads();
15942 (arg1)->SetPrinterCommand((wxString const &)*arg2);
15943
15944 wxPyEndAllowThreads(__tstate);
15945 if (PyErr_Occurred()) SWIG_fail;
15946 }
15947 Py_INCREF(Py_None); resultobj = Py_None;
15948 {
15949 if (temp2)
15950 delete arg2;
15951 }
15952 return resultobj;
15953 fail:
15954 {
15955 if (temp2)
15956 delete arg2;
15957 }
15958 return NULL;
15959 }
15960
15961
15962 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15963 PyObject *resultobj;
15964 wxPrintData *arg1 = (wxPrintData *) 0 ;
15965 wxString *arg2 = 0 ;
15966 bool temp2 = False ;
15967 PyObject * obj0 = 0 ;
15968 PyObject * obj1 = 0 ;
15969 char *kwnames[] = {
15970 (char *) "self",(char *) "options", NULL
15971 };
15972
15973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
15974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15975 {
15976 arg2 = wxString_in_helper(obj1);
15977 if (arg2 == NULL) SWIG_fail;
15978 temp2 = True;
15979 }
15980 {
15981 PyThreadState* __tstate = wxPyBeginAllowThreads();
15982 (arg1)->SetPrinterOptions((wxString const &)*arg2);
15983
15984 wxPyEndAllowThreads(__tstate);
15985 if (PyErr_Occurred()) SWIG_fail;
15986 }
15987 Py_INCREF(Py_None); resultobj = Py_None;
15988 {
15989 if (temp2)
15990 delete arg2;
15991 }
15992 return resultobj;
15993 fail:
15994 {
15995 if (temp2)
15996 delete arg2;
15997 }
15998 return NULL;
15999 }
16000
16001
16002 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
16003 PyObject *resultobj;
16004 wxPrintData *arg1 = (wxPrintData *) 0 ;
16005 wxString *arg2 = 0 ;
16006 bool temp2 = False ;
16007 PyObject * obj0 = 0 ;
16008 PyObject * obj1 = 0 ;
16009 char *kwnames[] = {
16010 (char *) "self",(char *) "command", NULL
16011 };
16012
16013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
16014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16015 {
16016 arg2 = wxString_in_helper(obj1);
16017 if (arg2 == NULL) SWIG_fail;
16018 temp2 = True;
16019 }
16020 {
16021 PyThreadState* __tstate = wxPyBeginAllowThreads();
16022 (arg1)->SetPreviewCommand((wxString const &)*arg2);
16023
16024 wxPyEndAllowThreads(__tstate);
16025 if (PyErr_Occurred()) SWIG_fail;
16026 }
16027 Py_INCREF(Py_None); resultobj = Py_None;
16028 {
16029 if (temp2)
16030 delete arg2;
16031 }
16032 return resultobj;
16033 fail:
16034 {
16035 if (temp2)
16036 delete arg2;
16037 }
16038 return NULL;
16039 }
16040
16041
16042 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
16043 PyObject *resultobj;
16044 wxPrintData *arg1 = (wxPrintData *) 0 ;
16045 wxString *arg2 = 0 ;
16046 bool temp2 = False ;
16047 PyObject * obj0 = 0 ;
16048 PyObject * obj1 = 0 ;
16049 char *kwnames[] = {
16050 (char *) "self",(char *) "filename", NULL
16051 };
16052
16053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
16054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16055 {
16056 arg2 = wxString_in_helper(obj1);
16057 if (arg2 == NULL) SWIG_fail;
16058 temp2 = True;
16059 }
16060 {
16061 PyThreadState* __tstate = wxPyBeginAllowThreads();
16062 (arg1)->SetFilename((wxString const &)*arg2);
16063
16064 wxPyEndAllowThreads(__tstate);
16065 if (PyErr_Occurred()) SWIG_fail;
16066 }
16067 Py_INCREF(Py_None); resultobj = Py_None;
16068 {
16069 if (temp2)
16070 delete arg2;
16071 }
16072 return resultobj;
16073 fail:
16074 {
16075 if (temp2)
16076 delete arg2;
16077 }
16078 return NULL;
16079 }
16080
16081
16082 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
16083 PyObject *resultobj;
16084 wxPrintData *arg1 = (wxPrintData *) 0 ;
16085 wxString *arg2 = 0 ;
16086 bool temp2 = False ;
16087 PyObject * obj0 = 0 ;
16088 PyObject * obj1 = 0 ;
16089 char *kwnames[] = {
16090 (char *) "self",(char *) "path", NULL
16091 };
16092
16093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
16094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16095 {
16096 arg2 = wxString_in_helper(obj1);
16097 if (arg2 == NULL) SWIG_fail;
16098 temp2 = True;
16099 }
16100 {
16101 PyThreadState* __tstate = wxPyBeginAllowThreads();
16102 (arg1)->SetFontMetricPath((wxString const &)*arg2);
16103
16104 wxPyEndAllowThreads(__tstate);
16105 if (PyErr_Occurred()) SWIG_fail;
16106 }
16107 Py_INCREF(Py_None); resultobj = Py_None;
16108 {
16109 if (temp2)
16110 delete arg2;
16111 }
16112 return resultobj;
16113 fail:
16114 {
16115 if (temp2)
16116 delete arg2;
16117 }
16118 return NULL;
16119 }
16120
16121
16122 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
16123 PyObject *resultobj;
16124 wxPrintData *arg1 = (wxPrintData *) 0 ;
16125 double arg2 ;
16126 PyObject * obj0 = 0 ;
16127 char *kwnames[] = {
16128 (char *) "self",(char *) "x", NULL
16129 };
16130
16131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleX",kwnames,&obj0,&arg2)) goto fail;
16132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16133 {
16134 PyThreadState* __tstate = wxPyBeginAllowThreads();
16135 (arg1)->SetPrinterScaleX(arg2);
16136
16137 wxPyEndAllowThreads(__tstate);
16138 if (PyErr_Occurred()) SWIG_fail;
16139 }
16140 Py_INCREF(Py_None); resultobj = Py_None;
16141 return resultobj;
16142 fail:
16143 return NULL;
16144 }
16145
16146
16147 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
16148 PyObject *resultobj;
16149 wxPrintData *arg1 = (wxPrintData *) 0 ;
16150 double arg2 ;
16151 PyObject * obj0 = 0 ;
16152 char *kwnames[] = {
16153 (char *) "self",(char *) "y", NULL
16154 };
16155
16156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleY",kwnames,&obj0,&arg2)) goto fail;
16157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16158 {
16159 PyThreadState* __tstate = wxPyBeginAllowThreads();
16160 (arg1)->SetPrinterScaleY(arg2);
16161
16162 wxPyEndAllowThreads(__tstate);
16163 if (PyErr_Occurred()) SWIG_fail;
16164 }
16165 Py_INCREF(Py_None); resultobj = Py_None;
16166 return resultobj;
16167 fail:
16168 return NULL;
16169 }
16170
16171
16172 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
16173 PyObject *resultobj;
16174 wxPrintData *arg1 = (wxPrintData *) 0 ;
16175 double arg2 ;
16176 double arg3 ;
16177 PyObject * obj0 = 0 ;
16178 char *kwnames[] = {
16179 (char *) "self",(char *) "x",(char *) "y", NULL
16180 };
16181
16182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PrintData_SetPrinterScaling",kwnames,&obj0,&arg2,&arg3)) goto fail;
16183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16184 {
16185 PyThreadState* __tstate = wxPyBeginAllowThreads();
16186 (arg1)->SetPrinterScaling(arg2,arg3);
16187
16188 wxPyEndAllowThreads(__tstate);
16189 if (PyErr_Occurred()) SWIG_fail;
16190 }
16191 Py_INCREF(Py_None); resultobj = Py_None;
16192 return resultobj;
16193 fail:
16194 return NULL;
16195 }
16196
16197
16198 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
16199 PyObject *resultobj;
16200 wxPrintData *arg1 = (wxPrintData *) 0 ;
16201 long arg2 ;
16202 PyObject * obj0 = 0 ;
16203 char *kwnames[] = {
16204 (char *) "self",(char *) "x", NULL
16205 };
16206
16207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateX",kwnames,&obj0,&arg2)) goto fail;
16208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16209 {
16210 PyThreadState* __tstate = wxPyBeginAllowThreads();
16211 (arg1)->SetPrinterTranslateX(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_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
16224 PyObject *resultobj;
16225 wxPrintData *arg1 = (wxPrintData *) 0 ;
16226 long arg2 ;
16227 PyObject * obj0 = 0 ;
16228 char *kwnames[] = {
16229 (char *) "self",(char *) "y", NULL
16230 };
16231
16232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateY",kwnames,&obj0,&arg2)) goto fail;
16233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16234 {
16235 PyThreadState* __tstate = wxPyBeginAllowThreads();
16236 (arg1)->SetPrinterTranslateY(arg2);
16237
16238 wxPyEndAllowThreads(__tstate);
16239 if (PyErr_Occurred()) SWIG_fail;
16240 }
16241 Py_INCREF(Py_None); resultobj = Py_None;
16242 return resultobj;
16243 fail:
16244 return NULL;
16245 }
16246
16247
16248 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
16249 PyObject *resultobj;
16250 wxPrintData *arg1 = (wxPrintData *) 0 ;
16251 long arg2 ;
16252 long arg3 ;
16253 PyObject * obj0 = 0 ;
16254 char *kwnames[] = {
16255 (char *) "self",(char *) "x",(char *) "y", NULL
16256 };
16257
16258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:PrintData_SetPrinterTranslation",kwnames,&obj0,&arg2,&arg3)) goto fail;
16259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16260 {
16261 PyThreadState* __tstate = wxPyBeginAllowThreads();
16262 (arg1)->SetPrinterTranslation(arg2,arg3);
16263
16264 wxPyEndAllowThreads(__tstate);
16265 if (PyErr_Occurred()) SWIG_fail;
16266 }
16267 Py_INCREF(Py_None); resultobj = Py_None;
16268 return resultobj;
16269 fail:
16270 return NULL;
16271 }
16272
16273
16274 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
16275 PyObject *resultobj;
16276 wxPrintData *arg1 = (wxPrintData *) 0 ;
16277 int arg2 ;
16278 PyObject * obj0 = 0 ;
16279 char *kwnames[] = {
16280 (char *) "self",(char *) "printMode", NULL
16281 };
16282
16283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPrintMode",kwnames,&obj0,&arg2)) goto fail;
16284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16285 {
16286 PyThreadState* __tstate = wxPyBeginAllowThreads();
16287 (arg1)->SetPrintMode((wxPrintMode )arg2);
16288
16289 wxPyEndAllowThreads(__tstate);
16290 if (PyErr_Occurred()) SWIG_fail;
16291 }
16292 Py_INCREF(Py_None); resultobj = Py_None;
16293 return resultobj;
16294 fail:
16295 return NULL;
16296 }
16297
16298
16299 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
16300 PyObject *obj;
16301 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16302 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
16303 Py_INCREF(obj);
16304 return Py_BuildValue((char *)"");
16305 }
16306 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16307 PyObject *resultobj;
16308 wxPageSetupDialogData *result;
16309 char *kwnames[] = {
16310 NULL
16311 };
16312
16313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
16314 {
16315 PyThreadState* __tstate = wxPyBeginAllowThreads();
16316 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
16317
16318 wxPyEndAllowThreads(__tstate);
16319 if (PyErr_Occurred()) SWIG_fail;
16320 }
16321 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 1);
16322 return resultobj;
16323 fail:
16324 return NULL;
16325 }
16326
16327
16328 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16329 PyObject *resultobj;
16330 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16331 PyObject * obj0 = 0 ;
16332 char *kwnames[] = {
16333 (char *) "self", NULL
16334 };
16335
16336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
16337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16338 {
16339 PyThreadState* __tstate = wxPyBeginAllowThreads();
16340 delete arg1;
16341
16342 wxPyEndAllowThreads(__tstate);
16343 if (PyErr_Occurred()) SWIG_fail;
16344 }
16345 Py_INCREF(Py_None); resultobj = Py_None;
16346 return resultobj;
16347 fail:
16348 return NULL;
16349 }
16350
16351
16352 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16353 PyObject *resultobj;
16354 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16355 bool arg2 ;
16356 PyObject * obj0 = 0 ;
16357 PyObject * obj1 = 0 ;
16358 char *kwnames[] = {
16359 (char *) "self",(char *) "flag", NULL
16360 };
16361
16362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
16363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16364 arg2 = PyInt_AsLong(obj1) ? true : false;
16365 if (PyErr_Occurred()) SWIG_fail;
16366 {
16367 PyThreadState* __tstate = wxPyBeginAllowThreads();
16368 (arg1)->EnableHelp(arg2);
16369
16370 wxPyEndAllowThreads(__tstate);
16371 if (PyErr_Occurred()) SWIG_fail;
16372 }
16373 Py_INCREF(Py_None); resultobj = Py_None;
16374 return resultobj;
16375 fail:
16376 return NULL;
16377 }
16378
16379
16380 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16381 PyObject *resultobj;
16382 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16383 bool arg2 ;
16384 PyObject * obj0 = 0 ;
16385 PyObject * obj1 = 0 ;
16386 char *kwnames[] = {
16387 (char *) "self",(char *) "flag", NULL
16388 };
16389
16390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
16391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16392 arg2 = PyInt_AsLong(obj1) ? true : false;
16393 if (PyErr_Occurred()) SWIG_fail;
16394 {
16395 PyThreadState* __tstate = wxPyBeginAllowThreads();
16396 (arg1)->EnableMargins(arg2);
16397
16398 wxPyEndAllowThreads(__tstate);
16399 if (PyErr_Occurred()) SWIG_fail;
16400 }
16401 Py_INCREF(Py_None); resultobj = Py_None;
16402 return resultobj;
16403 fail:
16404 return NULL;
16405 }
16406
16407
16408 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16409 PyObject *resultobj;
16410 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16411 bool arg2 ;
16412 PyObject * obj0 = 0 ;
16413 PyObject * obj1 = 0 ;
16414 char *kwnames[] = {
16415 (char *) "self",(char *) "flag", NULL
16416 };
16417
16418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
16419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16420 arg2 = PyInt_AsLong(obj1) ? true : false;
16421 if (PyErr_Occurred()) SWIG_fail;
16422 {
16423 PyThreadState* __tstate = wxPyBeginAllowThreads();
16424 (arg1)->EnableOrientation(arg2);
16425
16426 wxPyEndAllowThreads(__tstate);
16427 if (PyErr_Occurred()) SWIG_fail;
16428 }
16429 Py_INCREF(Py_None); resultobj = Py_None;
16430 return resultobj;
16431 fail:
16432 return NULL;
16433 }
16434
16435
16436 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
16437 PyObject *resultobj;
16438 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16439 bool arg2 ;
16440 PyObject * obj0 = 0 ;
16441 PyObject * obj1 = 0 ;
16442 char *kwnames[] = {
16443 (char *) "self",(char *) "flag", NULL
16444 };
16445
16446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
16447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16448 arg2 = PyInt_AsLong(obj1) ? true : false;
16449 if (PyErr_Occurred()) SWIG_fail;
16450 {
16451 PyThreadState* __tstate = wxPyBeginAllowThreads();
16452 (arg1)->EnablePaper(arg2);
16453
16454 wxPyEndAllowThreads(__tstate);
16455 if (PyErr_Occurred()) SWIG_fail;
16456 }
16457 Py_INCREF(Py_None); resultobj = Py_None;
16458 return resultobj;
16459 fail:
16460 return NULL;
16461 }
16462
16463
16464 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16465 PyObject *resultobj;
16466 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16467 bool arg2 ;
16468 PyObject * obj0 = 0 ;
16469 PyObject * obj1 = 0 ;
16470 char *kwnames[] = {
16471 (char *) "self",(char *) "flag", NULL
16472 };
16473
16474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
16475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16476 arg2 = PyInt_AsLong(obj1) ? true : false;
16477 if (PyErr_Occurred()) SWIG_fail;
16478 {
16479 PyThreadState* __tstate = wxPyBeginAllowThreads();
16480 (arg1)->EnablePrinter(arg2);
16481
16482 wxPyEndAllowThreads(__tstate);
16483 if (PyErr_Occurred()) SWIG_fail;
16484 }
16485 Py_INCREF(Py_None); resultobj = Py_None;
16486 return resultobj;
16487 fail:
16488 return NULL;
16489 }
16490
16491
16492 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16493 PyObject *resultobj;
16494 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16495 bool result;
16496 PyObject * obj0 = 0 ;
16497 char *kwnames[] = {
16498 (char *) "self", NULL
16499 };
16500
16501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
16502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16503 {
16504 PyThreadState* __tstate = wxPyBeginAllowThreads();
16505 result = (bool)(arg1)->GetDefaultMinMargins();
16506
16507 wxPyEndAllowThreads(__tstate);
16508 if (PyErr_Occurred()) SWIG_fail;
16509 }
16510 resultobj = PyInt_FromLong((long)result);
16511 return resultobj;
16512 fail:
16513 return NULL;
16514 }
16515
16516
16517 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16518 PyObject *resultobj;
16519 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16520 bool result;
16521 PyObject * obj0 = 0 ;
16522 char *kwnames[] = {
16523 (char *) "self", NULL
16524 };
16525
16526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
16527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16528 {
16529 PyThreadState* __tstate = wxPyBeginAllowThreads();
16530 result = (bool)(arg1)->GetEnableMargins();
16531
16532 wxPyEndAllowThreads(__tstate);
16533 if (PyErr_Occurred()) SWIG_fail;
16534 }
16535 resultobj = PyInt_FromLong((long)result);
16536 return resultobj;
16537 fail:
16538 return NULL;
16539 }
16540
16541
16542 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16543 PyObject *resultobj;
16544 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16545 bool result;
16546 PyObject * obj0 = 0 ;
16547 char *kwnames[] = {
16548 (char *) "self", NULL
16549 };
16550
16551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
16552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16553 {
16554 PyThreadState* __tstate = wxPyBeginAllowThreads();
16555 result = (bool)(arg1)->GetEnableOrientation();
16556
16557 wxPyEndAllowThreads(__tstate);
16558 if (PyErr_Occurred()) SWIG_fail;
16559 }
16560 resultobj = PyInt_FromLong((long)result);
16561 return resultobj;
16562 fail:
16563 return NULL;
16564 }
16565
16566
16567 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
16568 PyObject *resultobj;
16569 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16570 bool result;
16571 PyObject * obj0 = 0 ;
16572 char *kwnames[] = {
16573 (char *) "self", NULL
16574 };
16575
16576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
16577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16578 {
16579 PyThreadState* __tstate = wxPyBeginAllowThreads();
16580 result = (bool)(arg1)->GetEnablePaper();
16581
16582 wxPyEndAllowThreads(__tstate);
16583 if (PyErr_Occurred()) SWIG_fail;
16584 }
16585 resultobj = PyInt_FromLong((long)result);
16586 return resultobj;
16587 fail:
16588 return NULL;
16589 }
16590
16591
16592 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16593 PyObject *resultobj;
16594 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16595 bool result;
16596 PyObject * obj0 = 0 ;
16597 char *kwnames[] = {
16598 (char *) "self", NULL
16599 };
16600
16601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
16602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16603 {
16604 PyThreadState* __tstate = wxPyBeginAllowThreads();
16605 result = (bool)(arg1)->GetEnablePrinter();
16606
16607 wxPyEndAllowThreads(__tstate);
16608 if (PyErr_Occurred()) SWIG_fail;
16609 }
16610 resultobj = PyInt_FromLong((long)result);
16611 return resultobj;
16612 fail:
16613 return NULL;
16614 }
16615
16616
16617 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16618 PyObject *resultobj;
16619 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16620 bool result;
16621 PyObject * obj0 = 0 ;
16622 char *kwnames[] = {
16623 (char *) "self", NULL
16624 };
16625
16626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
16627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16628 {
16629 PyThreadState* __tstate = wxPyBeginAllowThreads();
16630 result = (bool)(arg1)->GetEnableHelp();
16631
16632 wxPyEndAllowThreads(__tstate);
16633 if (PyErr_Occurred()) SWIG_fail;
16634 }
16635 resultobj = PyInt_FromLong((long)result);
16636 return resultobj;
16637 fail:
16638 return NULL;
16639 }
16640
16641
16642 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16643 PyObject *resultobj;
16644 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16645 bool result;
16646 PyObject * obj0 = 0 ;
16647 char *kwnames[] = {
16648 (char *) "self", NULL
16649 };
16650
16651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
16652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16653 {
16654 PyThreadState* __tstate = wxPyBeginAllowThreads();
16655 result = (bool)(arg1)->GetDefaultInfo();
16656
16657 wxPyEndAllowThreads(__tstate);
16658 if (PyErr_Occurred()) SWIG_fail;
16659 }
16660 resultobj = PyInt_FromLong((long)result);
16661 return resultobj;
16662 fail:
16663 return NULL;
16664 }
16665
16666
16667 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16668 PyObject *resultobj;
16669 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16670 wxPoint result;
16671 PyObject * obj0 = 0 ;
16672 char *kwnames[] = {
16673 (char *) "self", NULL
16674 };
16675
16676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
16677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16678 {
16679 PyThreadState* __tstate = wxPyBeginAllowThreads();
16680 result = (arg1)->GetMarginTopLeft();
16681
16682 wxPyEndAllowThreads(__tstate);
16683 if (PyErr_Occurred()) SWIG_fail;
16684 }
16685 {
16686 wxPoint * resultptr;
16687 resultptr = new wxPoint((wxPoint &) result);
16688 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16689 }
16690 return resultobj;
16691 fail:
16692 return NULL;
16693 }
16694
16695
16696 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16697 PyObject *resultobj;
16698 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16699 wxPoint result;
16700 PyObject * obj0 = 0 ;
16701 char *kwnames[] = {
16702 (char *) "self", NULL
16703 };
16704
16705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
16706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16707 {
16708 PyThreadState* __tstate = wxPyBeginAllowThreads();
16709 result = (arg1)->GetMarginBottomRight();
16710
16711 wxPyEndAllowThreads(__tstate);
16712 if (PyErr_Occurred()) SWIG_fail;
16713 }
16714 {
16715 wxPoint * resultptr;
16716 resultptr = new wxPoint((wxPoint &) result);
16717 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16718 }
16719 return resultobj;
16720 fail:
16721 return NULL;
16722 }
16723
16724
16725 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16726 PyObject *resultobj;
16727 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16728 wxPoint result;
16729 PyObject * obj0 = 0 ;
16730 char *kwnames[] = {
16731 (char *) "self", NULL
16732 };
16733
16734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
16735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16736 {
16737 PyThreadState* __tstate = wxPyBeginAllowThreads();
16738 result = (arg1)->GetMinMarginTopLeft();
16739
16740 wxPyEndAllowThreads(__tstate);
16741 if (PyErr_Occurred()) SWIG_fail;
16742 }
16743 {
16744 wxPoint * resultptr;
16745 resultptr = new wxPoint((wxPoint &) result);
16746 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16747 }
16748 return resultobj;
16749 fail:
16750 return NULL;
16751 }
16752
16753
16754 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16755 PyObject *resultobj;
16756 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16757 wxPoint result;
16758 PyObject * obj0 = 0 ;
16759 char *kwnames[] = {
16760 (char *) "self", NULL
16761 };
16762
16763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
16764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16765 {
16766 PyThreadState* __tstate = wxPyBeginAllowThreads();
16767 result = (arg1)->GetMinMarginBottomRight();
16768
16769 wxPyEndAllowThreads(__tstate);
16770 if (PyErr_Occurred()) SWIG_fail;
16771 }
16772 {
16773 wxPoint * resultptr;
16774 resultptr = new wxPoint((wxPoint &) result);
16775 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16776 }
16777 return resultobj;
16778 fail:
16779 return NULL;
16780 }
16781
16782
16783 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16784 PyObject *resultobj;
16785 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16786 int result;
16787 PyObject * obj0 = 0 ;
16788 char *kwnames[] = {
16789 (char *) "self", NULL
16790 };
16791
16792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
16793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16794 {
16795 PyThreadState* __tstate = wxPyBeginAllowThreads();
16796 result = (int)(arg1)->GetPaperId();
16797
16798 wxPyEndAllowThreads(__tstate);
16799 if (PyErr_Occurred()) SWIG_fail;
16800 }
16801 resultobj = PyInt_FromLong((long)result);
16802 return resultobj;
16803 fail:
16804 return NULL;
16805 }
16806
16807
16808 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16809 PyObject *resultobj;
16810 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16811 wxSize result;
16812 PyObject * obj0 = 0 ;
16813 char *kwnames[] = {
16814 (char *) "self", NULL
16815 };
16816
16817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
16818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16819 {
16820 PyThreadState* __tstate = wxPyBeginAllowThreads();
16821 result = (arg1)->GetPaperSize();
16822
16823 wxPyEndAllowThreads(__tstate);
16824 if (PyErr_Occurred()) SWIG_fail;
16825 }
16826 {
16827 wxSize * resultptr;
16828 resultptr = new wxSize((wxSize &) result);
16829 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16830 }
16831 return resultobj;
16832 fail:
16833 return NULL;
16834 }
16835
16836
16837 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16838 PyObject *resultobj;
16839 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16840 wxPrintData *result;
16841 PyObject * obj0 = 0 ;
16842 char *kwnames[] = {
16843 (char *) "self", NULL
16844 };
16845
16846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
16847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16848 {
16849 PyThreadState* __tstate = wxPyBeginAllowThreads();
16850 {
16851 wxPrintData &_result_ref = (arg1)->GetPrintData();
16852 result = (wxPrintData *) &_result_ref;
16853 }
16854
16855 wxPyEndAllowThreads(__tstate);
16856 if (PyErr_Occurred()) SWIG_fail;
16857 }
16858 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
16859 return resultobj;
16860 fail:
16861 return NULL;
16862 }
16863
16864
16865 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
16866 PyObject *resultobj;
16867 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16868 bool result;
16869 PyObject * obj0 = 0 ;
16870 char *kwnames[] = {
16871 (char *) "self", NULL
16872 };
16873
16874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
16875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16876 {
16877 PyThreadState* __tstate = wxPyBeginAllowThreads();
16878 result = (bool)(arg1)->Ok();
16879
16880 wxPyEndAllowThreads(__tstate);
16881 if (PyErr_Occurred()) SWIG_fail;
16882 }
16883 resultobj = PyInt_FromLong((long)result);
16884 return resultobj;
16885 fail:
16886 return NULL;
16887 }
16888
16889
16890 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16891 PyObject *resultobj;
16892 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16893 bool arg2 ;
16894 PyObject * obj0 = 0 ;
16895 PyObject * obj1 = 0 ;
16896 char *kwnames[] = {
16897 (char *) "self",(char *) "flag", NULL
16898 };
16899
16900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
16901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16902 arg2 = PyInt_AsLong(obj1) ? true : false;
16903 if (PyErr_Occurred()) SWIG_fail;
16904 {
16905 PyThreadState* __tstate = wxPyBeginAllowThreads();
16906 (arg1)->SetDefaultInfo(arg2);
16907
16908 wxPyEndAllowThreads(__tstate);
16909 if (PyErr_Occurred()) SWIG_fail;
16910 }
16911 Py_INCREF(Py_None); resultobj = Py_None;
16912 return resultobj;
16913 fail:
16914 return NULL;
16915 }
16916
16917
16918 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16919 PyObject *resultobj;
16920 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16921 bool arg2 ;
16922 PyObject * obj0 = 0 ;
16923 PyObject * obj1 = 0 ;
16924 char *kwnames[] = {
16925 (char *) "self",(char *) "flag", NULL
16926 };
16927
16928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
16929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16930 arg2 = PyInt_AsLong(obj1) ? true : false;
16931 if (PyErr_Occurred()) SWIG_fail;
16932 {
16933 PyThreadState* __tstate = wxPyBeginAllowThreads();
16934 (arg1)->SetDefaultMinMargins(arg2);
16935
16936 wxPyEndAllowThreads(__tstate);
16937 if (PyErr_Occurred()) SWIG_fail;
16938 }
16939 Py_INCREF(Py_None); resultobj = Py_None;
16940 return resultobj;
16941 fail:
16942 return NULL;
16943 }
16944
16945
16946 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16947 PyObject *resultobj;
16948 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16949 wxPoint *arg2 = 0 ;
16950 wxPoint temp2 ;
16951 PyObject * obj0 = 0 ;
16952 PyObject * obj1 = 0 ;
16953 char *kwnames[] = {
16954 (char *) "self",(char *) "pt", NULL
16955 };
16956
16957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
16958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16959 {
16960 arg2 = &temp2;
16961 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16962 }
16963 {
16964 PyThreadState* __tstate = wxPyBeginAllowThreads();
16965 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
16966
16967 wxPyEndAllowThreads(__tstate);
16968 if (PyErr_Occurred()) SWIG_fail;
16969 }
16970 Py_INCREF(Py_None); resultobj = Py_None;
16971 return resultobj;
16972 fail:
16973 return NULL;
16974 }
16975
16976
16977 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16978 PyObject *resultobj;
16979 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16980 wxPoint *arg2 = 0 ;
16981 wxPoint temp2 ;
16982 PyObject * obj0 = 0 ;
16983 PyObject * obj1 = 0 ;
16984 char *kwnames[] = {
16985 (char *) "self",(char *) "pt", NULL
16986 };
16987
16988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
16989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16990 {
16991 arg2 = &temp2;
16992 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16993 }
16994 {
16995 PyThreadState* __tstate = wxPyBeginAllowThreads();
16996 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
16997
16998 wxPyEndAllowThreads(__tstate);
16999 if (PyErr_Occurred()) SWIG_fail;
17000 }
17001 Py_INCREF(Py_None); resultobj = Py_None;
17002 return resultobj;
17003 fail:
17004 return NULL;
17005 }
17006
17007
17008 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
17009 PyObject *resultobj;
17010 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17011 wxPoint *arg2 = 0 ;
17012 wxPoint temp2 ;
17013 PyObject * obj0 = 0 ;
17014 PyObject * obj1 = 0 ;
17015 char *kwnames[] = {
17016 (char *) "self",(char *) "pt", NULL
17017 };
17018
17019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
17020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17021 {
17022 arg2 = &temp2;
17023 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17024 }
17025 {
17026 PyThreadState* __tstate = wxPyBeginAllowThreads();
17027 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
17028
17029 wxPyEndAllowThreads(__tstate);
17030 if (PyErr_Occurred()) SWIG_fail;
17031 }
17032 Py_INCREF(Py_None); resultobj = Py_None;
17033 return resultobj;
17034 fail:
17035 return NULL;
17036 }
17037
17038
17039 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
17040 PyObject *resultobj;
17041 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17042 wxPoint *arg2 = 0 ;
17043 wxPoint temp2 ;
17044 PyObject * obj0 = 0 ;
17045 PyObject * obj1 = 0 ;
17046 char *kwnames[] = {
17047 (char *) "self",(char *) "pt", NULL
17048 };
17049
17050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
17051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17052 {
17053 arg2 = &temp2;
17054 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17055 }
17056 {
17057 PyThreadState* __tstate = wxPyBeginAllowThreads();
17058 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
17059
17060 wxPyEndAllowThreads(__tstate);
17061 if (PyErr_Occurred()) SWIG_fail;
17062 }
17063 Py_INCREF(Py_None); resultobj = Py_None;
17064 return resultobj;
17065 fail:
17066 return NULL;
17067 }
17068
17069
17070 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
17071 PyObject *resultobj;
17072 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17073 int arg2 ;
17074 PyObject * obj0 = 0 ;
17075 char *kwnames[] = {
17076 (char *) "self",(char *) "id", NULL
17077 };
17078
17079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PageSetupDialogData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
17080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17081 {
17082 PyThreadState* __tstate = wxPyBeginAllowThreads();
17083 (arg1)->SetPaperId((wxPaperSize )arg2);
17084
17085 wxPyEndAllowThreads(__tstate);
17086 if (PyErr_Occurred()) SWIG_fail;
17087 }
17088 Py_INCREF(Py_None); resultobj = Py_None;
17089 return resultobj;
17090 fail:
17091 return NULL;
17092 }
17093
17094
17095 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17096 PyObject *resultobj;
17097 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17098 wxSize *arg2 = 0 ;
17099 wxSize temp2 ;
17100 PyObject * obj0 = 0 ;
17101 PyObject * obj1 = 0 ;
17102 char *kwnames[] = {
17103 (char *) "self",(char *) "size", NULL
17104 };
17105
17106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
17107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17108 {
17109 arg2 = &temp2;
17110 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17111 }
17112 {
17113 PyThreadState* __tstate = wxPyBeginAllowThreads();
17114 (arg1)->SetPaperSize((wxSize const &)*arg2);
17115
17116 wxPyEndAllowThreads(__tstate);
17117 if (PyErr_Occurred()) SWIG_fail;
17118 }
17119 Py_INCREF(Py_None); resultobj = Py_None;
17120 return resultobj;
17121 fail:
17122 return NULL;
17123 }
17124
17125
17126 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17127 PyObject *resultobj;
17128 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17129 wxPrintData *arg2 = 0 ;
17130 PyObject * obj0 = 0 ;
17131 PyObject * obj1 = 0 ;
17132 char *kwnames[] = {
17133 (char *) "self",(char *) "printData", NULL
17134 };
17135
17136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
17137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17138 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17139 if (arg2 == NULL) {
17140 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17141 }
17142 {
17143 PyThreadState* __tstate = wxPyBeginAllowThreads();
17144 (arg1)->SetPrintData((wxPrintData const &)*arg2);
17145
17146 wxPyEndAllowThreads(__tstate);
17147 if (PyErr_Occurred()) SWIG_fail;
17148 }
17149 Py_INCREF(Py_None); resultobj = Py_None;
17150 return resultobj;
17151 fail:
17152 return NULL;
17153 }
17154
17155
17156 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
17157 PyObject *obj;
17158 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17159 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
17160 Py_INCREF(obj);
17161 return Py_BuildValue((char *)"");
17162 }
17163 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17164 PyObject *resultobj;
17165 wxWindow *arg1 = (wxWindow *) 0 ;
17166 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
17167 wxPageSetupDialog *result;
17168 PyObject * obj0 = 0 ;
17169 PyObject * obj1 = 0 ;
17170 char *kwnames[] = {
17171 (char *) "parent",(char *) "data", NULL
17172 };
17173
17174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
17175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17176 if (obj1) {
17177 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17178 }
17179 {
17180 PyThreadState* __tstate = wxPyBeginAllowThreads();
17181 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
17182
17183 wxPyEndAllowThreads(__tstate);
17184 if (PyErr_Occurred()) SWIG_fail;
17185 }
17186 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialog, 1);
17187 return resultobj;
17188 fail:
17189 return NULL;
17190 }
17191
17192
17193 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
17194 PyObject *resultobj;
17195 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
17196 wxPageSetupDialogData *result;
17197 PyObject * obj0 = 0 ;
17198 char *kwnames[] = {
17199 (char *) "self", NULL
17200 };
17201
17202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
17203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17204 {
17205 PyThreadState* __tstate = wxPyBeginAllowThreads();
17206 {
17207 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
17208 result = (wxPageSetupDialogData *) &_result_ref;
17209 }
17210
17211 wxPyEndAllowThreads(__tstate);
17212 if (PyErr_Occurred()) SWIG_fail;
17213 }
17214 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 0);
17215 return resultobj;
17216 fail:
17217 return NULL;
17218 }
17219
17220
17221 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
17222 PyObject *resultobj;
17223 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
17224 int result;
17225 PyObject * obj0 = 0 ;
17226 char *kwnames[] = {
17227 (char *) "self", NULL
17228 };
17229
17230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
17231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17232 {
17233 PyThreadState* __tstate = wxPyBeginAllowThreads();
17234 result = (int)(arg1)->ShowModal();
17235
17236 wxPyEndAllowThreads(__tstate);
17237 if (PyErr_Occurred()) SWIG_fail;
17238 }
17239 resultobj = PyInt_FromLong((long)result);
17240 return resultobj;
17241 fail:
17242 return NULL;
17243 }
17244
17245
17246 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
17247 PyObject *obj;
17248 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17249 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
17250 Py_INCREF(obj);
17251 return Py_BuildValue((char *)"");
17252 }
17253 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17254 PyObject *resultobj;
17255 wxPrintDialogData *result;
17256 char *kwnames[] = {
17257 NULL
17258 };
17259
17260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintDialogData",kwnames)) goto fail;
17261 {
17262 PyThreadState* __tstate = wxPyBeginAllowThreads();
17263 result = (wxPrintDialogData *)new wxPrintDialogData();
17264
17265 wxPyEndAllowThreads(__tstate);
17266 if (PyErr_Occurred()) SWIG_fail;
17267 }
17268 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 1);
17269 return resultobj;
17270 fail:
17271 return NULL;
17272 }
17273
17274
17275 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17276 PyObject *resultobj;
17277 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17278 PyObject * obj0 = 0 ;
17279 char *kwnames[] = {
17280 (char *) "self", NULL
17281 };
17282
17283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
17284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17285 {
17286 PyThreadState* __tstate = wxPyBeginAllowThreads();
17287 delete arg1;
17288
17289 wxPyEndAllowThreads(__tstate);
17290 if (PyErr_Occurred()) SWIG_fail;
17291 }
17292 Py_INCREF(Py_None); resultobj = Py_None;
17293 return resultobj;
17294 fail:
17295 return NULL;
17296 }
17297
17298
17299 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17300 PyObject *resultobj;
17301 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17302 int result;
17303 PyObject * obj0 = 0 ;
17304 char *kwnames[] = {
17305 (char *) "self", NULL
17306 };
17307
17308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
17309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17310 {
17311 PyThreadState* __tstate = wxPyBeginAllowThreads();
17312 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
17313
17314 wxPyEndAllowThreads(__tstate);
17315 if (PyErr_Occurred()) SWIG_fail;
17316 }
17317 resultobj = PyInt_FromLong((long)result);
17318 return resultobj;
17319 fail:
17320 return NULL;
17321 }
17322
17323
17324 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17325 PyObject *resultobj;
17326 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17327 int result;
17328 PyObject * obj0 = 0 ;
17329 char *kwnames[] = {
17330 (char *) "self", NULL
17331 };
17332
17333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
17334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17335 {
17336 PyThreadState* __tstate = wxPyBeginAllowThreads();
17337 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
17338
17339 wxPyEndAllowThreads(__tstate);
17340 if (PyErr_Occurred()) SWIG_fail;
17341 }
17342 resultobj = PyInt_FromLong((long)result);
17343 return resultobj;
17344 fail:
17345 return NULL;
17346 }
17347
17348
17349 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17350 PyObject *resultobj;
17351 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17352 int result;
17353 PyObject * obj0 = 0 ;
17354 char *kwnames[] = {
17355 (char *) "self", NULL
17356 };
17357
17358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
17359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17360 {
17361 PyThreadState* __tstate = wxPyBeginAllowThreads();
17362 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
17363
17364 wxPyEndAllowThreads(__tstate);
17365 if (PyErr_Occurred()) SWIG_fail;
17366 }
17367 resultobj = PyInt_FromLong((long)result);
17368 return resultobj;
17369 fail:
17370 return NULL;
17371 }
17372
17373
17374 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17375 PyObject *resultobj;
17376 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17377 int result;
17378 PyObject * obj0 = 0 ;
17379 char *kwnames[] = {
17380 (char *) "self", NULL
17381 };
17382
17383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
17384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17385 {
17386 PyThreadState* __tstate = wxPyBeginAllowThreads();
17387 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
17388
17389 wxPyEndAllowThreads(__tstate);
17390 if (PyErr_Occurred()) SWIG_fail;
17391 }
17392 resultobj = PyInt_FromLong((long)result);
17393 return resultobj;
17394 fail:
17395 return NULL;
17396 }
17397
17398
17399 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17400 PyObject *resultobj;
17401 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17402 int result;
17403 PyObject * obj0 = 0 ;
17404 char *kwnames[] = {
17405 (char *) "self", NULL
17406 };
17407
17408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
17409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17410 {
17411 PyThreadState* __tstate = wxPyBeginAllowThreads();
17412 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
17413
17414 wxPyEndAllowThreads(__tstate);
17415 if (PyErr_Occurred()) SWIG_fail;
17416 }
17417 resultobj = PyInt_FromLong((long)result);
17418 return resultobj;
17419 fail:
17420 return NULL;
17421 }
17422
17423
17424 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
17425 PyObject *resultobj;
17426 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17427 bool result;
17428 PyObject * obj0 = 0 ;
17429 char *kwnames[] = {
17430 (char *) "self", NULL
17431 };
17432
17433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
17434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17435 {
17436 PyThreadState* __tstate = wxPyBeginAllowThreads();
17437 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
17438
17439 wxPyEndAllowThreads(__tstate);
17440 if (PyErr_Occurred()) SWIG_fail;
17441 }
17442 resultobj = PyInt_FromLong((long)result);
17443 return resultobj;
17444 fail:
17445 return NULL;
17446 }
17447
17448
17449 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17450 PyObject *resultobj;
17451 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17452 bool result;
17453 PyObject * obj0 = 0 ;
17454 char *kwnames[] = {
17455 (char *) "self", NULL
17456 };
17457
17458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
17459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17460 {
17461 PyThreadState* __tstate = wxPyBeginAllowThreads();
17462 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
17463
17464 wxPyEndAllowThreads(__tstate);
17465 if (PyErr_Occurred()) SWIG_fail;
17466 }
17467 resultobj = PyInt_FromLong((long)result);
17468 return resultobj;
17469 fail:
17470 return NULL;
17471 }
17472
17473
17474 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17475 PyObject *resultobj;
17476 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17477 bool result;
17478 PyObject * obj0 = 0 ;
17479 char *kwnames[] = {
17480 (char *) "self", NULL
17481 };
17482
17483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
17484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17485 {
17486 PyThreadState* __tstate = wxPyBeginAllowThreads();
17487 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
17488
17489 wxPyEndAllowThreads(__tstate);
17490 if (PyErr_Occurred()) SWIG_fail;
17491 }
17492 resultobj = PyInt_FromLong((long)result);
17493 return resultobj;
17494 fail:
17495 return NULL;
17496 }
17497
17498
17499 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17500 PyObject *resultobj;
17501 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17502 bool result;
17503 PyObject * obj0 = 0 ;
17504 char *kwnames[] = {
17505 (char *) "self", NULL
17506 };
17507
17508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
17509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17510 {
17511 PyThreadState* __tstate = wxPyBeginAllowThreads();
17512 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
17513
17514 wxPyEndAllowThreads(__tstate);
17515 if (PyErr_Occurred()) SWIG_fail;
17516 }
17517 resultobj = PyInt_FromLong((long)result);
17518 return resultobj;
17519 fail:
17520 return NULL;
17521 }
17522
17523
17524 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17525 PyObject *resultobj;
17526 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17527 bool result;
17528 PyObject * obj0 = 0 ;
17529 char *kwnames[] = {
17530 (char *) "self", NULL
17531 };
17532
17533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
17534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17535 {
17536 PyThreadState* __tstate = wxPyBeginAllowThreads();
17537 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
17538
17539 wxPyEndAllowThreads(__tstate);
17540 if (PyErr_Occurred()) SWIG_fail;
17541 }
17542 resultobj = PyInt_FromLong((long)result);
17543 return resultobj;
17544 fail:
17545 return NULL;
17546 }
17547
17548
17549 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17550 PyObject *resultobj;
17551 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17552 int arg2 ;
17553 PyObject * obj0 = 0 ;
17554 char *kwnames[] = {
17555 (char *) "self",(char *) "v", NULL
17556 };
17557
17558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetFromPage",kwnames,&obj0,&arg2)) goto fail;
17559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17560 {
17561 PyThreadState* __tstate = wxPyBeginAllowThreads();
17562 (arg1)->SetFromPage(arg2);
17563
17564 wxPyEndAllowThreads(__tstate);
17565 if (PyErr_Occurred()) SWIG_fail;
17566 }
17567 Py_INCREF(Py_None); resultobj = Py_None;
17568 return resultobj;
17569 fail:
17570 return NULL;
17571 }
17572
17573
17574 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17575 PyObject *resultobj;
17576 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17577 int arg2 ;
17578 PyObject * obj0 = 0 ;
17579 char *kwnames[] = {
17580 (char *) "self",(char *) "v", NULL
17581 };
17582
17583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetToPage",kwnames,&obj0,&arg2)) goto fail;
17584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17585 {
17586 PyThreadState* __tstate = wxPyBeginAllowThreads();
17587 (arg1)->SetToPage(arg2);
17588
17589 wxPyEndAllowThreads(__tstate);
17590 if (PyErr_Occurred()) SWIG_fail;
17591 }
17592 Py_INCREF(Py_None); resultobj = Py_None;
17593 return resultobj;
17594 fail:
17595 return NULL;
17596 }
17597
17598
17599 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17600 PyObject *resultobj;
17601 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17602 int arg2 ;
17603 PyObject * obj0 = 0 ;
17604 char *kwnames[] = {
17605 (char *) "self",(char *) "v", NULL
17606 };
17607
17608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMinPage",kwnames,&obj0,&arg2)) goto fail;
17609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17610 {
17611 PyThreadState* __tstate = wxPyBeginAllowThreads();
17612 (arg1)->SetMinPage(arg2);
17613
17614 wxPyEndAllowThreads(__tstate);
17615 if (PyErr_Occurred()) SWIG_fail;
17616 }
17617 Py_INCREF(Py_None); resultobj = Py_None;
17618 return resultobj;
17619 fail:
17620 return NULL;
17621 }
17622
17623
17624 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17625 PyObject *resultobj;
17626 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17627 int arg2 ;
17628 PyObject * obj0 = 0 ;
17629 char *kwnames[] = {
17630 (char *) "self",(char *) "v", NULL
17631 };
17632
17633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMaxPage",kwnames,&obj0,&arg2)) goto fail;
17634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17635 {
17636 PyThreadState* __tstate = wxPyBeginAllowThreads();
17637 (arg1)->SetMaxPage(arg2);
17638
17639 wxPyEndAllowThreads(__tstate);
17640 if (PyErr_Occurred()) SWIG_fail;
17641 }
17642 Py_INCREF(Py_None); resultobj = Py_None;
17643 return resultobj;
17644 fail:
17645 return NULL;
17646 }
17647
17648
17649 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17650 PyObject *resultobj;
17651 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17652 int arg2 ;
17653 PyObject * obj0 = 0 ;
17654 char *kwnames[] = {
17655 (char *) "self",(char *) "v", NULL
17656 };
17657
17658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
17659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17660 {
17661 PyThreadState* __tstate = wxPyBeginAllowThreads();
17662 (arg1)->SetNoCopies(arg2);
17663
17664 wxPyEndAllowThreads(__tstate);
17665 if (PyErr_Occurred()) SWIG_fail;
17666 }
17667 Py_INCREF(Py_None); resultobj = Py_None;
17668 return resultobj;
17669 fail:
17670 return NULL;
17671 }
17672
17673
17674 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
17675 PyObject *resultobj;
17676 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17677 bool arg2 ;
17678 PyObject * obj0 = 0 ;
17679 PyObject * obj1 = 0 ;
17680 char *kwnames[] = {
17681 (char *) "self",(char *) "flag", NULL
17682 };
17683
17684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
17685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17686 arg2 = PyInt_AsLong(obj1) ? true : false;
17687 if (PyErr_Occurred()) SWIG_fail;
17688 {
17689 PyThreadState* __tstate = wxPyBeginAllowThreads();
17690 (arg1)->SetAllPages(arg2);
17691
17692 wxPyEndAllowThreads(__tstate);
17693 if (PyErr_Occurred()) SWIG_fail;
17694 }
17695 Py_INCREF(Py_None); resultobj = Py_None;
17696 return resultobj;
17697 fail:
17698 return NULL;
17699 }
17700
17701
17702 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17703 PyObject *resultobj;
17704 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17705 bool arg2 ;
17706 PyObject * obj0 = 0 ;
17707 PyObject * obj1 = 0 ;
17708 char *kwnames[] = {
17709 (char *) "self",(char *) "flag", NULL
17710 };
17711
17712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
17713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17714 arg2 = PyInt_AsLong(obj1) ? true : false;
17715 if (PyErr_Occurred()) SWIG_fail;
17716 {
17717 PyThreadState* __tstate = wxPyBeginAllowThreads();
17718 (arg1)->SetSelection(arg2);
17719
17720 wxPyEndAllowThreads(__tstate);
17721 if (PyErr_Occurred()) SWIG_fail;
17722 }
17723 Py_INCREF(Py_None); resultobj = Py_None;
17724 return resultobj;
17725 fail:
17726 return NULL;
17727 }
17728
17729
17730 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17731 PyObject *resultobj;
17732 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17733 bool arg2 ;
17734 PyObject * obj0 = 0 ;
17735 PyObject * obj1 = 0 ;
17736 char *kwnames[] = {
17737 (char *) "self",(char *) "flag", NULL
17738 };
17739
17740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
17741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17742 arg2 = PyInt_AsLong(obj1) ? true : false;
17743 if (PyErr_Occurred()) SWIG_fail;
17744 {
17745 PyThreadState* __tstate = wxPyBeginAllowThreads();
17746 (arg1)->SetCollate(arg2);
17747
17748 wxPyEndAllowThreads(__tstate);
17749 if (PyErr_Occurred()) SWIG_fail;
17750 }
17751 Py_INCREF(Py_None); resultobj = Py_None;
17752 return resultobj;
17753 fail:
17754 return NULL;
17755 }
17756
17757
17758 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17759 PyObject *resultobj;
17760 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17761 bool arg2 ;
17762 PyObject * obj0 = 0 ;
17763 PyObject * obj1 = 0 ;
17764 char *kwnames[] = {
17765 (char *) "self",(char *) "flag", NULL
17766 };
17767
17768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
17769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17770 arg2 = PyInt_AsLong(obj1) ? true : false;
17771 if (PyErr_Occurred()) SWIG_fail;
17772 {
17773 PyThreadState* __tstate = wxPyBeginAllowThreads();
17774 (arg1)->SetPrintToFile(arg2);
17775
17776 wxPyEndAllowThreads(__tstate);
17777 if (PyErr_Occurred()) SWIG_fail;
17778 }
17779 Py_INCREF(Py_None); resultobj = Py_None;
17780 return resultobj;
17781 fail:
17782 return NULL;
17783 }
17784
17785
17786 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17787 PyObject *resultobj;
17788 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17789 bool arg2 ;
17790 PyObject * obj0 = 0 ;
17791 PyObject * obj1 = 0 ;
17792 char *kwnames[] = {
17793 (char *) "self",(char *) "flag", NULL
17794 };
17795
17796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
17797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17798 arg2 = PyInt_AsLong(obj1) ? true : false;
17799 if (PyErr_Occurred()) SWIG_fail;
17800 {
17801 PyThreadState* __tstate = wxPyBeginAllowThreads();
17802 (arg1)->SetSetupDialog(arg2);
17803
17804 wxPyEndAllowThreads(__tstate);
17805 if (PyErr_Occurred()) SWIG_fail;
17806 }
17807 Py_INCREF(Py_None); resultobj = Py_None;
17808 return resultobj;
17809 fail:
17810 return NULL;
17811 }
17812
17813
17814 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17815 PyObject *resultobj;
17816 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17817 bool arg2 ;
17818 PyObject * obj0 = 0 ;
17819 PyObject * obj1 = 0 ;
17820 char *kwnames[] = {
17821 (char *) "self",(char *) "flag", NULL
17822 };
17823
17824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
17825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17826 arg2 = PyInt_AsLong(obj1) ? true : false;
17827 if (PyErr_Occurred()) SWIG_fail;
17828 {
17829 PyThreadState* __tstate = wxPyBeginAllowThreads();
17830 (arg1)->EnablePrintToFile(arg2);
17831
17832 wxPyEndAllowThreads(__tstate);
17833 if (PyErr_Occurred()) SWIG_fail;
17834 }
17835 Py_INCREF(Py_None); resultobj = Py_None;
17836 return resultobj;
17837 fail:
17838 return NULL;
17839 }
17840
17841
17842 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17843 PyObject *resultobj;
17844 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17845 bool arg2 ;
17846 PyObject * obj0 = 0 ;
17847 PyObject * obj1 = 0 ;
17848 char *kwnames[] = {
17849 (char *) "self",(char *) "flag", NULL
17850 };
17851
17852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
17853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17854 arg2 = PyInt_AsLong(obj1) ? true : false;
17855 if (PyErr_Occurred()) SWIG_fail;
17856 {
17857 PyThreadState* __tstate = wxPyBeginAllowThreads();
17858 (arg1)->EnableSelection(arg2);
17859
17860 wxPyEndAllowThreads(__tstate);
17861 if (PyErr_Occurred()) SWIG_fail;
17862 }
17863 Py_INCREF(Py_None); resultobj = Py_None;
17864 return resultobj;
17865 fail:
17866 return NULL;
17867 }
17868
17869
17870 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17871 PyObject *resultobj;
17872 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17873 bool arg2 ;
17874 PyObject * obj0 = 0 ;
17875 PyObject * obj1 = 0 ;
17876 char *kwnames[] = {
17877 (char *) "self",(char *) "flag", NULL
17878 };
17879
17880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
17881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17882 arg2 = PyInt_AsLong(obj1) ? true : false;
17883 if (PyErr_Occurred()) SWIG_fail;
17884 {
17885 PyThreadState* __tstate = wxPyBeginAllowThreads();
17886 (arg1)->EnablePageNumbers(arg2);
17887
17888 wxPyEndAllowThreads(__tstate);
17889 if (PyErr_Occurred()) SWIG_fail;
17890 }
17891 Py_INCREF(Py_None); resultobj = Py_None;
17892 return resultobj;
17893 fail:
17894 return NULL;
17895 }
17896
17897
17898 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17899 PyObject *resultobj;
17900 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17901 bool arg2 ;
17902 PyObject * obj0 = 0 ;
17903 PyObject * obj1 = 0 ;
17904 char *kwnames[] = {
17905 (char *) "self",(char *) "flag", NULL
17906 };
17907
17908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
17909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17910 arg2 = PyInt_AsLong(obj1) ? true : false;
17911 if (PyErr_Occurred()) SWIG_fail;
17912 {
17913 PyThreadState* __tstate = wxPyBeginAllowThreads();
17914 (arg1)->EnableHelp(arg2);
17915
17916 wxPyEndAllowThreads(__tstate);
17917 if (PyErr_Occurred()) SWIG_fail;
17918 }
17919 Py_INCREF(Py_None); resultobj = Py_None;
17920 return resultobj;
17921 fail:
17922 return NULL;
17923 }
17924
17925
17926 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17927 PyObject *resultobj;
17928 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17929 bool result;
17930 PyObject * obj0 = 0 ;
17931 char *kwnames[] = {
17932 (char *) "self", NULL
17933 };
17934
17935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
17936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17937 {
17938 PyThreadState* __tstate = wxPyBeginAllowThreads();
17939 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
17940
17941 wxPyEndAllowThreads(__tstate);
17942 if (PyErr_Occurred()) SWIG_fail;
17943 }
17944 resultobj = PyInt_FromLong((long)result);
17945 return resultobj;
17946 fail:
17947 return NULL;
17948 }
17949
17950
17951 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17952 PyObject *resultobj;
17953 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17954 bool result;
17955 PyObject * obj0 = 0 ;
17956 char *kwnames[] = {
17957 (char *) "self", NULL
17958 };
17959
17960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
17961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17962 {
17963 PyThreadState* __tstate = wxPyBeginAllowThreads();
17964 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
17965
17966 wxPyEndAllowThreads(__tstate);
17967 if (PyErr_Occurred()) SWIG_fail;
17968 }
17969 resultobj = PyInt_FromLong((long)result);
17970 return resultobj;
17971 fail:
17972 return NULL;
17973 }
17974
17975
17976 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17977 PyObject *resultobj;
17978 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17979 bool result;
17980 PyObject * obj0 = 0 ;
17981 char *kwnames[] = {
17982 (char *) "self", NULL
17983 };
17984
17985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
17986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17987 {
17988 PyThreadState* __tstate = wxPyBeginAllowThreads();
17989 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
17990
17991 wxPyEndAllowThreads(__tstate);
17992 if (PyErr_Occurred()) SWIG_fail;
17993 }
17994 resultobj = PyInt_FromLong((long)result);
17995 return resultobj;
17996 fail:
17997 return NULL;
17998 }
17999
18000
18001 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
18002 PyObject *resultobj;
18003 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18004 bool result;
18005 PyObject * obj0 = 0 ;
18006 char *kwnames[] = {
18007 (char *) "self", NULL
18008 };
18009
18010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
18011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18012 {
18013 PyThreadState* __tstate = wxPyBeginAllowThreads();
18014 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
18015
18016 wxPyEndAllowThreads(__tstate);
18017 if (PyErr_Occurred()) SWIG_fail;
18018 }
18019 resultobj = PyInt_FromLong((long)result);
18020 return resultobj;
18021 fail:
18022 return NULL;
18023 }
18024
18025
18026 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
18027 PyObject *resultobj;
18028 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18029 bool result;
18030 PyObject * obj0 = 0 ;
18031 char *kwnames[] = {
18032 (char *) "self", NULL
18033 };
18034
18035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
18036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18037 {
18038 PyThreadState* __tstate = wxPyBeginAllowThreads();
18039 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
18040
18041 wxPyEndAllowThreads(__tstate);
18042 if (PyErr_Occurred()) SWIG_fail;
18043 }
18044 resultobj = PyInt_FromLong((long)result);
18045 return resultobj;
18046 fail:
18047 return NULL;
18048 }
18049
18050
18051 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
18052 PyObject *resultobj;
18053 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18054 wxPrintData *result;
18055 PyObject * obj0 = 0 ;
18056 char *kwnames[] = {
18057 (char *) "self", NULL
18058 };
18059
18060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
18061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18062 {
18063 PyThreadState* __tstate = wxPyBeginAllowThreads();
18064 {
18065 wxPrintData &_result_ref = (arg1)->GetPrintData();
18066 result = (wxPrintData *) &_result_ref;
18067 }
18068
18069 wxPyEndAllowThreads(__tstate);
18070 if (PyErr_Occurred()) SWIG_fail;
18071 }
18072 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
18073 return resultobj;
18074 fail:
18075 return NULL;
18076 }
18077
18078
18079 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
18080 PyObject *resultobj;
18081 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18082 wxPrintData *arg2 = 0 ;
18083 PyObject * obj0 = 0 ;
18084 PyObject * obj1 = 0 ;
18085 char *kwnames[] = {
18086 (char *) "self",(char *) "printData", NULL
18087 };
18088
18089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
18090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18091 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18092 if (arg2 == NULL) {
18093 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18094 }
18095 {
18096 PyThreadState* __tstate = wxPyBeginAllowThreads();
18097 (arg1)->SetPrintData((wxPrintData const &)*arg2);
18098
18099 wxPyEndAllowThreads(__tstate);
18100 if (PyErr_Occurred()) SWIG_fail;
18101 }
18102 Py_INCREF(Py_None); resultobj = Py_None;
18103 return resultobj;
18104 fail:
18105 return NULL;
18106 }
18107
18108
18109 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
18110 PyObject *obj;
18111 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18112 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
18113 Py_INCREF(obj);
18114 return Py_BuildValue((char *)"");
18115 }
18116 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
18117 PyObject *resultobj;
18118 wxWindow *arg1 = (wxWindow *) 0 ;
18119 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
18120 wxPrintDialog *result;
18121 PyObject * obj0 = 0 ;
18122 PyObject * obj1 = 0 ;
18123 char *kwnames[] = {
18124 (char *) "parent",(char *) "data", NULL
18125 };
18126
18127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
18128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18129 if (obj1) {
18130 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18131 }
18132 {
18133 PyThreadState* __tstate = wxPyBeginAllowThreads();
18134 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
18135
18136 wxPyEndAllowThreads(__tstate);
18137 if (PyErr_Occurred()) SWIG_fail;
18138 }
18139 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialog, 1);
18140 return resultobj;
18141 fail:
18142 return NULL;
18143 }
18144
18145
18146 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18147 PyObject *resultobj;
18148 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
18149 wxPrintDialogData *result;
18150 PyObject * obj0 = 0 ;
18151 char *kwnames[] = {
18152 (char *) "self", NULL
18153 };
18154
18155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
18156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18157 {
18158 PyThreadState* __tstate = wxPyBeginAllowThreads();
18159 {
18160 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
18161 result = (wxPrintDialogData *) &_result_ref;
18162 }
18163
18164 wxPyEndAllowThreads(__tstate);
18165 if (PyErr_Occurred()) SWIG_fail;
18166 }
18167 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
18168 return resultobj;
18169 fail:
18170 return NULL;
18171 }
18172
18173
18174 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18175 PyObject *resultobj;
18176 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
18177 wxDC *result;
18178 PyObject * obj0 = 0 ;
18179 char *kwnames[] = {
18180 (char *) "self", NULL
18181 };
18182
18183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
18184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18185 {
18186 PyThreadState* __tstate = wxPyBeginAllowThreads();
18187 result = (wxDC *)(arg1)->GetPrintDC();
18188
18189 wxPyEndAllowThreads(__tstate);
18190 if (PyErr_Occurred()) SWIG_fail;
18191 }
18192 {
18193 resultobj = wxPyMake_wxObject(result);
18194 }
18195 return resultobj;
18196 fail:
18197 return NULL;
18198 }
18199
18200
18201 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
18202 PyObject *resultobj;
18203 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
18204 int result;
18205 PyObject * obj0 = 0 ;
18206 char *kwnames[] = {
18207 (char *) "self", NULL
18208 };
18209
18210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
18211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18212 {
18213 PyThreadState* __tstate = wxPyBeginAllowThreads();
18214 result = (int)(arg1)->ShowModal();
18215
18216 wxPyEndAllowThreads(__tstate);
18217 if (PyErr_Occurred()) SWIG_fail;
18218 }
18219 resultobj = PyInt_FromLong((long)result);
18220 return resultobj;
18221 fail:
18222 return NULL;
18223 }
18224
18225
18226 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
18227 PyObject *obj;
18228 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18229 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
18230 Py_INCREF(obj);
18231 return Py_BuildValue((char *)"");
18232 }
18233 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
18234 PyObject *resultobj;
18235 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
18236 wxPrinter *result;
18237 PyObject * obj0 = 0 ;
18238 char *kwnames[] = {
18239 (char *) "data", NULL
18240 };
18241
18242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
18243 if (obj0) {
18244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18245 }
18246 {
18247 PyThreadState* __tstate = wxPyBeginAllowThreads();
18248 result = (wxPrinter *)new wxPrinter(arg1);
18249
18250 wxPyEndAllowThreads(__tstate);
18251 if (PyErr_Occurred()) SWIG_fail;
18252 }
18253 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrinter, 1);
18254 return resultobj;
18255 fail:
18256 return NULL;
18257 }
18258
18259
18260 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
18261 PyObject *resultobj;
18262 wxPrinter *arg1 = (wxPrinter *) 0 ;
18263 PyObject * obj0 = 0 ;
18264 char *kwnames[] = {
18265 (char *) "self", NULL
18266 };
18267
18268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
18269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18270 {
18271 PyThreadState* __tstate = wxPyBeginAllowThreads();
18272 delete arg1;
18273
18274 wxPyEndAllowThreads(__tstate);
18275 if (PyErr_Occurred()) SWIG_fail;
18276 }
18277 Py_INCREF(Py_None); resultobj = Py_None;
18278 return resultobj;
18279 fail:
18280 return NULL;
18281 }
18282
18283
18284 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18285 PyObject *resultobj;
18286 wxPrinter *arg1 = (wxPrinter *) 0 ;
18287 wxWindow *arg2 = (wxWindow *) 0 ;
18288 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
18289 PyObject * obj0 = 0 ;
18290 PyObject * obj1 = 0 ;
18291 PyObject * obj2 = 0 ;
18292 char *kwnames[] = {
18293 (char *) "self",(char *) "parent",(char *) "printout", NULL
18294 };
18295
18296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
18297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18298 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18299 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18300 {
18301 PyThreadState* __tstate = wxPyBeginAllowThreads();
18302 (arg1)->CreateAbortWindow(arg2,arg3);
18303
18304 wxPyEndAllowThreads(__tstate);
18305 if (PyErr_Occurred()) SWIG_fail;
18306 }
18307 Py_INCREF(Py_None); resultobj = Py_None;
18308 return resultobj;
18309 fail:
18310 return NULL;
18311 }
18312
18313
18314 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18315 PyObject *resultobj;
18316 wxPrinter *arg1 = (wxPrinter *) 0 ;
18317 wxPrintDialogData *result;
18318 PyObject * obj0 = 0 ;
18319 char *kwnames[] = {
18320 (char *) "self", NULL
18321 };
18322
18323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
18324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18325 {
18326 PyThreadState* __tstate = wxPyBeginAllowThreads();
18327 {
18328 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
18329 result = (wxPrintDialogData *) &_result_ref;
18330 }
18331
18332 wxPyEndAllowThreads(__tstate);
18333 if (PyErr_Occurred()) SWIG_fail;
18334 }
18335 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
18336 return resultobj;
18337 fail:
18338 return NULL;
18339 }
18340
18341
18342 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
18343 PyObject *resultobj;
18344 wxPrinter *arg1 = (wxPrinter *) 0 ;
18345 wxWindow *arg2 = (wxWindow *) 0 ;
18346 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
18347 int arg4 = (int) True ;
18348 bool result;
18349 PyObject * obj0 = 0 ;
18350 PyObject * obj1 = 0 ;
18351 PyObject * obj2 = 0 ;
18352 char *kwnames[] = {
18353 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
18354 };
18355
18356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:Printer_Print",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
18357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18358 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18359 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18360 {
18361 PyThreadState* __tstate = wxPyBeginAllowThreads();
18362 result = (bool)(arg1)->Print(arg2,arg3,arg4);
18363
18364 wxPyEndAllowThreads(__tstate);
18365 if (PyErr_Occurred()) SWIG_fail;
18366 }
18367 resultobj = PyInt_FromLong((long)result);
18368 return resultobj;
18369 fail:
18370 return NULL;
18371 }
18372
18373
18374 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
18375 PyObject *resultobj;
18376 wxPrinter *arg1 = (wxPrinter *) 0 ;
18377 wxWindow *arg2 = (wxWindow *) 0 ;
18378 wxDC *result;
18379 PyObject * obj0 = 0 ;
18380 PyObject * obj1 = 0 ;
18381 char *kwnames[] = {
18382 (char *) "self",(char *) "parent", NULL
18383 };
18384
18385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
18386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18387 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18388 {
18389 PyThreadState* __tstate = wxPyBeginAllowThreads();
18390 result = (wxDC *)(arg1)->PrintDialog(arg2);
18391
18392 wxPyEndAllowThreads(__tstate);
18393 if (PyErr_Occurred()) SWIG_fail;
18394 }
18395 {
18396 resultobj = wxPyMake_wxObject(result);
18397 }
18398 return resultobj;
18399 fail:
18400 return NULL;
18401 }
18402
18403
18404 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
18405 PyObject *resultobj;
18406 wxPrinter *arg1 = (wxPrinter *) 0 ;
18407 wxWindow *arg2 = (wxWindow *) 0 ;
18408 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
18409 wxString *arg4 = 0 ;
18410 bool temp4 = False ;
18411 PyObject * obj0 = 0 ;
18412 PyObject * obj1 = 0 ;
18413 PyObject * obj2 = 0 ;
18414 PyObject * obj3 = 0 ;
18415 char *kwnames[] = {
18416 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
18417 };
18418
18419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18421 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18422 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18423 {
18424 arg4 = wxString_in_helper(obj3);
18425 if (arg4 == NULL) SWIG_fail;
18426 temp4 = True;
18427 }
18428 {
18429 PyThreadState* __tstate = wxPyBeginAllowThreads();
18430 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
18431
18432 wxPyEndAllowThreads(__tstate);
18433 if (PyErr_Occurred()) SWIG_fail;
18434 }
18435 Py_INCREF(Py_None); resultobj = Py_None;
18436 {
18437 if (temp4)
18438 delete arg4;
18439 }
18440 return resultobj;
18441 fail:
18442 {
18443 if (temp4)
18444 delete arg4;
18445 }
18446 return NULL;
18447 }
18448
18449
18450 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
18451 PyObject *resultobj;
18452 wxPrinter *arg1 = (wxPrinter *) 0 ;
18453 wxWindow *arg2 = (wxWindow *) 0 ;
18454 bool result;
18455 PyObject * obj0 = 0 ;
18456 PyObject * obj1 = 0 ;
18457 char *kwnames[] = {
18458 (char *) "self",(char *) "parent", NULL
18459 };
18460
18461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
18462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18463 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18464 {
18465 PyThreadState* __tstate = wxPyBeginAllowThreads();
18466 result = (bool)(arg1)->Setup(arg2);
18467
18468 wxPyEndAllowThreads(__tstate);
18469 if (PyErr_Occurred()) SWIG_fail;
18470 }
18471 resultobj = PyInt_FromLong((long)result);
18472 return resultobj;
18473 fail:
18474 return NULL;
18475 }
18476
18477
18478 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
18479 PyObject *resultobj;
18480 wxPrinter *arg1 = (wxPrinter *) 0 ;
18481 bool result;
18482 PyObject * obj0 = 0 ;
18483 char *kwnames[] = {
18484 (char *) "self", NULL
18485 };
18486
18487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
18488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18489 {
18490 PyThreadState* __tstate = wxPyBeginAllowThreads();
18491 result = (bool)(arg1)->GetAbort();
18492
18493 wxPyEndAllowThreads(__tstate);
18494 if (PyErr_Occurred()) SWIG_fail;
18495 }
18496 resultobj = PyInt_FromLong((long)result);
18497 return resultobj;
18498 fail:
18499 return NULL;
18500 }
18501
18502
18503 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
18504 PyObject *resultobj;
18505 int result;
18506 char *kwnames[] = {
18507 NULL
18508 };
18509
18510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
18511 {
18512 PyThreadState* __tstate = wxPyBeginAllowThreads();
18513 result = (int)wxPrinter::GetLastError();
18514
18515 wxPyEndAllowThreads(__tstate);
18516 if (PyErr_Occurred()) SWIG_fail;
18517 }
18518 resultobj = PyInt_FromLong((long)result);
18519 return resultobj;
18520 fail:
18521 return NULL;
18522 }
18523
18524
18525 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
18526 PyObject *obj;
18527 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18528 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
18529 Py_INCREF(obj);
18530 return Py_BuildValue((char *)"");
18531 }
18532 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
18533 PyObject *resultobj;
18534 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
18535 wxString *arg1 = (wxString *) &arg1_defvalue ;
18536 wxPyPrintout *result;
18537 bool temp1 = False ;
18538 PyObject * obj0 = 0 ;
18539 char *kwnames[] = {
18540 (char *) "title", NULL
18541 };
18542
18543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
18544 if (obj0) {
18545 {
18546 arg1 = wxString_in_helper(obj0);
18547 if (arg1 == NULL) SWIG_fail;
18548 temp1 = True;
18549 }
18550 }
18551 {
18552 PyThreadState* __tstate = wxPyBeginAllowThreads();
18553 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
18554
18555 wxPyEndAllowThreads(__tstate);
18556 if (PyErr_Occurred()) SWIG_fail;
18557 }
18558 {
18559 resultobj = wxPyMake_wxObject(result);
18560 }
18561 {
18562 if (temp1)
18563 delete arg1;
18564 }
18565 return resultobj;
18566 fail:
18567 {
18568 if (temp1)
18569 delete arg1;
18570 }
18571 return NULL;
18572 }
18573
18574
18575 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18576 PyObject *resultobj;
18577 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18578 PyObject *arg2 = (PyObject *) 0 ;
18579 PyObject *arg3 = (PyObject *) 0 ;
18580 PyObject * obj0 = 0 ;
18581 PyObject * obj1 = 0 ;
18582 PyObject * obj2 = 0 ;
18583 char *kwnames[] = {
18584 (char *) "self",(char *) "self",(char *) "_class", NULL
18585 };
18586
18587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18589 arg2 = obj1;
18590 arg3 = obj2;
18591 {
18592 PyThreadState* __tstate = wxPyBeginAllowThreads();
18593 (arg1)->_setCallbackInfo(arg2,arg3);
18594
18595 wxPyEndAllowThreads(__tstate);
18596 if (PyErr_Occurred()) SWIG_fail;
18597 }
18598 Py_INCREF(Py_None); resultobj = Py_None;
18599 return resultobj;
18600 fail:
18601 return NULL;
18602 }
18603
18604
18605 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
18606 PyObject *resultobj;
18607 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18608 wxString result;
18609 PyObject * obj0 = 0 ;
18610 char *kwnames[] = {
18611 (char *) "self", NULL
18612 };
18613
18614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
18615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18616 {
18617 PyThreadState* __tstate = wxPyBeginAllowThreads();
18618 result = ((wxPyPrintout const *)arg1)->GetTitle();
18619
18620 wxPyEndAllowThreads(__tstate);
18621 if (PyErr_Occurred()) SWIG_fail;
18622 }
18623 {
18624 #if wxUSE_UNICODE
18625 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18626 #else
18627 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18628 #endif
18629 }
18630 return resultobj;
18631 fail:
18632 return NULL;
18633 }
18634
18635
18636 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18637 PyObject *resultobj;
18638 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18639 wxDC *result;
18640 PyObject * obj0 = 0 ;
18641 char *kwnames[] = {
18642 (char *) "self", NULL
18643 };
18644
18645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
18646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18647 {
18648 PyThreadState* __tstate = wxPyBeginAllowThreads();
18649 result = (wxDC *)(arg1)->GetDC();
18650
18651 wxPyEndAllowThreads(__tstate);
18652 if (PyErr_Occurred()) SWIG_fail;
18653 }
18654 {
18655 resultobj = wxPyMake_wxObject(result);
18656 }
18657 return resultobj;
18658 fail:
18659 return NULL;
18660 }
18661
18662
18663 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18664 PyObject *resultobj;
18665 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18666 wxDC *arg2 = (wxDC *) 0 ;
18667 PyObject * obj0 = 0 ;
18668 PyObject * obj1 = 0 ;
18669 char *kwnames[] = {
18670 (char *) "self",(char *) "dc", NULL
18671 };
18672
18673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
18674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18675 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18676 {
18677 PyThreadState* __tstate = wxPyBeginAllowThreads();
18678 (arg1)->SetDC(arg2);
18679
18680 wxPyEndAllowThreads(__tstate);
18681 if (PyErr_Occurred()) SWIG_fail;
18682 }
18683 Py_INCREF(Py_None); resultobj = Py_None;
18684 return resultobj;
18685 fail:
18686 return NULL;
18687 }
18688
18689
18690 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
18691 PyObject *resultobj;
18692 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18693 int arg2 ;
18694 int arg3 ;
18695 PyObject * obj0 = 0 ;
18696 char *kwnames[] = {
18697 (char *) "self",(char *) "w",(char *) "h", NULL
18698 };
18699
18700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizePixels",kwnames,&obj0,&arg2,&arg3)) goto fail;
18701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18702 {
18703 PyThreadState* __tstate = wxPyBeginAllowThreads();
18704 (arg1)->SetPageSizePixels(arg2,arg3);
18705
18706 wxPyEndAllowThreads(__tstate);
18707 if (PyErr_Occurred()) SWIG_fail;
18708 }
18709 Py_INCREF(Py_None); resultobj = Py_None;
18710 return resultobj;
18711 fail:
18712 return NULL;
18713 }
18714
18715
18716 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
18717 PyObject *resultobj;
18718 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18719 int *arg2 = (int *) 0 ;
18720 int *arg3 = (int *) 0 ;
18721 int temp2 ;
18722 int temp3 ;
18723 PyObject * obj0 = 0 ;
18724 char *kwnames[] = {
18725 (char *) "self", NULL
18726 };
18727
18728 arg2 = &temp2;
18729 arg3 = &temp3;
18730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
18731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18732 {
18733 PyThreadState* __tstate = wxPyBeginAllowThreads();
18734 (arg1)->GetPageSizePixels(arg2,arg3);
18735
18736 wxPyEndAllowThreads(__tstate);
18737 if (PyErr_Occurred()) SWIG_fail;
18738 }
18739 Py_INCREF(Py_None); resultobj = Py_None;
18740 {
18741 PyObject *o = PyInt_FromLong((long) (*arg2));
18742 resultobj = t_output_helper(resultobj,o);
18743 }
18744 {
18745 PyObject *o = PyInt_FromLong((long) (*arg3));
18746 resultobj = t_output_helper(resultobj,o);
18747 }
18748 return resultobj;
18749 fail:
18750 return NULL;
18751 }
18752
18753
18754 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18755 PyObject *resultobj;
18756 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18757 int arg2 ;
18758 int arg3 ;
18759 PyObject * obj0 = 0 ;
18760 char *kwnames[] = {
18761 (char *) "self",(char *) "w",(char *) "h", NULL
18762 };
18763
18764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizeMM",kwnames,&obj0,&arg2,&arg3)) goto fail;
18765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18766 {
18767 PyThreadState* __tstate = wxPyBeginAllowThreads();
18768 (arg1)->SetPageSizeMM(arg2,arg3);
18769
18770 wxPyEndAllowThreads(__tstate);
18771 if (PyErr_Occurred()) SWIG_fail;
18772 }
18773 Py_INCREF(Py_None); resultobj = Py_None;
18774 return resultobj;
18775 fail:
18776 return NULL;
18777 }
18778
18779
18780 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18781 PyObject *resultobj;
18782 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18783 int *arg2 = (int *) 0 ;
18784 int *arg3 = (int *) 0 ;
18785 int temp2 ;
18786 int temp3 ;
18787 PyObject * obj0 = 0 ;
18788 char *kwnames[] = {
18789 (char *) "self", NULL
18790 };
18791
18792 arg2 = &temp2;
18793 arg3 = &temp3;
18794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
18795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18796 {
18797 PyThreadState* __tstate = wxPyBeginAllowThreads();
18798 (arg1)->GetPageSizeMM(arg2,arg3);
18799
18800 wxPyEndAllowThreads(__tstate);
18801 if (PyErr_Occurred()) SWIG_fail;
18802 }
18803 Py_INCREF(Py_None); resultobj = Py_None;
18804 {
18805 PyObject *o = PyInt_FromLong((long) (*arg2));
18806 resultobj = t_output_helper(resultobj,o);
18807 }
18808 {
18809 PyObject *o = PyInt_FromLong((long) (*arg3));
18810 resultobj = t_output_helper(resultobj,o);
18811 }
18812 return resultobj;
18813 fail:
18814 return NULL;
18815 }
18816
18817
18818 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18819 PyObject *resultobj;
18820 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18821 int arg2 ;
18822 int arg3 ;
18823 PyObject * obj0 = 0 ;
18824 char *kwnames[] = {
18825 (char *) "self",(char *) "x",(char *) "y", NULL
18826 };
18827
18828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIScreen",kwnames,&obj0,&arg2,&arg3)) goto fail;
18829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18830 {
18831 PyThreadState* __tstate = wxPyBeginAllowThreads();
18832 (arg1)->SetPPIScreen(arg2,arg3);
18833
18834 wxPyEndAllowThreads(__tstate);
18835 if (PyErr_Occurred()) SWIG_fail;
18836 }
18837 Py_INCREF(Py_None); resultobj = Py_None;
18838 return resultobj;
18839 fail:
18840 return NULL;
18841 }
18842
18843
18844 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18845 PyObject *resultobj;
18846 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18847 int *arg2 = (int *) 0 ;
18848 int *arg3 = (int *) 0 ;
18849 int temp2 ;
18850 int temp3 ;
18851 PyObject * obj0 = 0 ;
18852 char *kwnames[] = {
18853 (char *) "self", NULL
18854 };
18855
18856 arg2 = &temp2;
18857 arg3 = &temp3;
18858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
18859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18860 {
18861 PyThreadState* __tstate = wxPyBeginAllowThreads();
18862 (arg1)->GetPPIScreen(arg2,arg3);
18863
18864 wxPyEndAllowThreads(__tstate);
18865 if (PyErr_Occurred()) SWIG_fail;
18866 }
18867 Py_INCREF(Py_None); resultobj = Py_None;
18868 {
18869 PyObject *o = PyInt_FromLong((long) (*arg2));
18870 resultobj = t_output_helper(resultobj,o);
18871 }
18872 {
18873 PyObject *o = PyInt_FromLong((long) (*arg3));
18874 resultobj = t_output_helper(resultobj,o);
18875 }
18876 return resultobj;
18877 fail:
18878 return NULL;
18879 }
18880
18881
18882 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18883 PyObject *resultobj;
18884 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18885 int arg2 ;
18886 int arg3 ;
18887 PyObject * obj0 = 0 ;
18888 char *kwnames[] = {
18889 (char *) "self",(char *) "x",(char *) "y", NULL
18890 };
18891
18892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIPrinter",kwnames,&obj0,&arg2,&arg3)) goto fail;
18893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18894 {
18895 PyThreadState* __tstate = wxPyBeginAllowThreads();
18896 (arg1)->SetPPIPrinter(arg2,arg3);
18897
18898 wxPyEndAllowThreads(__tstate);
18899 if (PyErr_Occurred()) SWIG_fail;
18900 }
18901 Py_INCREF(Py_None); resultobj = Py_None;
18902 return resultobj;
18903 fail:
18904 return NULL;
18905 }
18906
18907
18908 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18909 PyObject *resultobj;
18910 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18911 int *arg2 = (int *) 0 ;
18912 int *arg3 = (int *) 0 ;
18913 int temp2 ;
18914 int temp3 ;
18915 PyObject * obj0 = 0 ;
18916 char *kwnames[] = {
18917 (char *) "self", NULL
18918 };
18919
18920 arg2 = &temp2;
18921 arg3 = &temp3;
18922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
18923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18924 {
18925 PyThreadState* __tstate = wxPyBeginAllowThreads();
18926 (arg1)->GetPPIPrinter(arg2,arg3);
18927
18928 wxPyEndAllowThreads(__tstate);
18929 if (PyErr_Occurred()) SWIG_fail;
18930 }
18931 Py_INCREF(Py_None); resultobj = Py_None;
18932 {
18933 PyObject *o = PyInt_FromLong((long) (*arg2));
18934 resultobj = t_output_helper(resultobj,o);
18935 }
18936 {
18937 PyObject *o = PyInt_FromLong((long) (*arg3));
18938 resultobj = t_output_helper(resultobj,o);
18939 }
18940 return resultobj;
18941 fail:
18942 return NULL;
18943 }
18944
18945
18946 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18947 PyObject *resultobj;
18948 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18949 bool result;
18950 PyObject * obj0 = 0 ;
18951 char *kwnames[] = {
18952 (char *) "self", NULL
18953 };
18954
18955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
18956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18957 {
18958 PyThreadState* __tstate = wxPyBeginAllowThreads();
18959 result = (bool)(arg1)->IsPreview();
18960
18961 wxPyEndAllowThreads(__tstate);
18962 if (PyErr_Occurred()) SWIG_fail;
18963 }
18964 resultobj = PyInt_FromLong((long)result);
18965 return resultobj;
18966 fail:
18967 return NULL;
18968 }
18969
18970
18971 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18972 PyObject *resultobj;
18973 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18974 bool arg2 ;
18975 PyObject * obj0 = 0 ;
18976 PyObject * obj1 = 0 ;
18977 char *kwnames[] = {
18978 (char *) "self",(char *) "p", NULL
18979 };
18980
18981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
18982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18983 arg2 = PyInt_AsLong(obj1) ? true : false;
18984 if (PyErr_Occurred()) SWIG_fail;
18985 {
18986 PyThreadState* __tstate = wxPyBeginAllowThreads();
18987 (arg1)->SetIsPreview(arg2);
18988
18989 wxPyEndAllowThreads(__tstate);
18990 if (PyErr_Occurred()) SWIG_fail;
18991 }
18992 Py_INCREF(Py_None); resultobj = Py_None;
18993 return resultobj;
18994 fail:
18995 return NULL;
18996 }
18997
18998
18999 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
19000 PyObject *resultobj;
19001 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19002 int arg2 ;
19003 int arg3 ;
19004 bool result;
19005 PyObject * obj0 = 0 ;
19006 char *kwnames[] = {
19007 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
19008 };
19009
19010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_base_OnBeginDocument",kwnames,&obj0,&arg2,&arg3)) goto fail;
19011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19012 {
19013 PyThreadState* __tstate = wxPyBeginAllowThreads();
19014 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
19015
19016 wxPyEndAllowThreads(__tstate);
19017 if (PyErr_Occurred()) SWIG_fail;
19018 }
19019 resultobj = PyInt_FromLong((long)result);
19020 return resultobj;
19021 fail:
19022 return NULL;
19023 }
19024
19025
19026 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
19027 PyObject *resultobj;
19028 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19029 PyObject * obj0 = 0 ;
19030 char *kwnames[] = {
19031 (char *) "self", NULL
19032 };
19033
19034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
19035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19036 {
19037 PyThreadState* __tstate = wxPyBeginAllowThreads();
19038 (arg1)->base_OnEndDocument();
19039
19040 wxPyEndAllowThreads(__tstate);
19041 if (PyErr_Occurred()) SWIG_fail;
19042 }
19043 Py_INCREF(Py_None); resultobj = Py_None;
19044 return resultobj;
19045 fail:
19046 return NULL;
19047 }
19048
19049
19050 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
19051 PyObject *resultobj;
19052 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19053 PyObject * obj0 = 0 ;
19054 char *kwnames[] = {
19055 (char *) "self", NULL
19056 };
19057
19058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
19059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19060 {
19061 PyThreadState* __tstate = wxPyBeginAllowThreads();
19062 (arg1)->base_OnBeginPrinting();
19063
19064 wxPyEndAllowThreads(__tstate);
19065 if (PyErr_Occurred()) SWIG_fail;
19066 }
19067 Py_INCREF(Py_None); resultobj = Py_None;
19068 return resultobj;
19069 fail:
19070 return NULL;
19071 }
19072
19073
19074 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
19075 PyObject *resultobj;
19076 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19077 PyObject * obj0 = 0 ;
19078 char *kwnames[] = {
19079 (char *) "self", NULL
19080 };
19081
19082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
19083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19084 {
19085 PyThreadState* __tstate = wxPyBeginAllowThreads();
19086 (arg1)->base_OnEndPrinting();
19087
19088 wxPyEndAllowThreads(__tstate);
19089 if (PyErr_Occurred()) SWIG_fail;
19090 }
19091 Py_INCREF(Py_None); resultobj = Py_None;
19092 return resultobj;
19093 fail:
19094 return NULL;
19095 }
19096
19097
19098 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
19099 PyObject *resultobj;
19100 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19101 PyObject * obj0 = 0 ;
19102 char *kwnames[] = {
19103 (char *) "self", NULL
19104 };
19105
19106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
19107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19108 {
19109 PyThreadState* __tstate = wxPyBeginAllowThreads();
19110 (arg1)->base_OnPreparePrinting();
19111
19112 wxPyEndAllowThreads(__tstate);
19113 if (PyErr_Occurred()) SWIG_fail;
19114 }
19115 Py_INCREF(Py_None); resultobj = Py_None;
19116 return resultobj;
19117 fail:
19118 return NULL;
19119 }
19120
19121
19122 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19123 PyObject *resultobj;
19124 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19125 int arg2 ;
19126 bool result;
19127 PyObject * obj0 = 0 ;
19128 char *kwnames[] = {
19129 (char *) "self",(char *) "page", NULL
19130 };
19131
19132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Printout_base_HasPage",kwnames,&obj0,&arg2)) goto fail;
19133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19134 {
19135 PyThreadState* __tstate = wxPyBeginAllowThreads();
19136 result = (bool)(arg1)->base_HasPage(arg2);
19137
19138 wxPyEndAllowThreads(__tstate);
19139 if (PyErr_Occurred()) SWIG_fail;
19140 }
19141 resultobj = PyInt_FromLong((long)result);
19142 return resultobj;
19143 fail:
19144 return NULL;
19145 }
19146
19147
19148 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19149 PyObject *resultobj;
19150 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19151 int *arg2 = (int *) 0 ;
19152 int *arg3 = (int *) 0 ;
19153 int *arg4 = (int *) 0 ;
19154 int *arg5 = (int *) 0 ;
19155 int temp2 ;
19156 int temp3 ;
19157 int temp4 ;
19158 int temp5 ;
19159 PyObject * obj0 = 0 ;
19160 char *kwnames[] = {
19161 (char *) "self", NULL
19162 };
19163
19164 arg2 = &temp2;
19165 arg3 = &temp3;
19166 arg4 = &temp4;
19167 arg5 = &temp5;
19168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
19169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19170 {
19171 PyThreadState* __tstate = wxPyBeginAllowThreads();
19172 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
19173
19174 wxPyEndAllowThreads(__tstate);
19175 if (PyErr_Occurred()) SWIG_fail;
19176 }
19177 Py_INCREF(Py_None); resultobj = Py_None;
19178 {
19179 PyObject *o = PyInt_FromLong((long) (*arg2));
19180 resultobj = t_output_helper(resultobj,o);
19181 }
19182 {
19183 PyObject *o = PyInt_FromLong((long) (*arg3));
19184 resultobj = t_output_helper(resultobj,o);
19185 }
19186 {
19187 PyObject *o = PyInt_FromLong((long) (*arg4));
19188 resultobj = t_output_helper(resultobj,o);
19189 }
19190 {
19191 PyObject *o = PyInt_FromLong((long) (*arg5));
19192 resultobj = t_output_helper(resultobj,o);
19193 }
19194 return resultobj;
19195 fail:
19196 return NULL;
19197 }
19198
19199
19200 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
19201 PyObject *obj;
19202 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19203 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
19204 Py_INCREF(obj);
19205 return Py_BuildValue((char *)"");
19206 }
19207 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19208 PyObject *resultobj;
19209 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19210 wxWindow *arg2 = (wxWindow *) 0 ;
19211 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19212 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19213 wxSize const &arg4_defvalue = wxDefaultSize ;
19214 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19215 long arg5 = (long) 0 ;
19216 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
19217 wxString *arg6 = (wxString *) &arg6_defvalue ;
19218 wxPreviewCanvas *result;
19219 wxPoint temp3 ;
19220 wxSize temp4 ;
19221 bool temp6 = False ;
19222 PyObject * obj0 = 0 ;
19223 PyObject * obj1 = 0 ;
19224 PyObject * obj2 = 0 ;
19225 PyObject * obj3 = 0 ;
19226 PyObject * obj5 = 0 ;
19227 char *kwnames[] = {
19228 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19229 };
19230
19231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
19232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19233 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19234 if (obj2) {
19235 {
19236 arg3 = &temp3;
19237 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19238 }
19239 }
19240 if (obj3) {
19241 {
19242 arg4 = &temp4;
19243 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19244 }
19245 }
19246 if (obj5) {
19247 {
19248 arg6 = wxString_in_helper(obj5);
19249 if (arg6 == NULL) SWIG_fail;
19250 temp6 = True;
19251 }
19252 }
19253 {
19254 PyThreadState* __tstate = wxPyBeginAllowThreads();
19255 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19256
19257 wxPyEndAllowThreads(__tstate);
19258 if (PyErr_Occurred()) SWIG_fail;
19259 }
19260 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 1);
19261 {
19262 if (temp6)
19263 delete arg6;
19264 }
19265 return resultobj;
19266 fail:
19267 {
19268 if (temp6)
19269 delete arg6;
19270 }
19271 return NULL;
19272 }
19273
19274
19275 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
19276 PyObject *obj;
19277 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19278 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
19279 Py_INCREF(obj);
19280 return Py_BuildValue((char *)"");
19281 }
19282 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19283 PyObject *resultobj;
19284 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19285 wxFrame *arg2 = (wxFrame *) 0 ;
19286 wxString *arg3 = 0 ;
19287 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19288 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19289 wxSize const &arg5_defvalue = wxDefaultSize ;
19290 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19291 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
19292 wxString const &arg7_defvalue = wxPyFrameNameStr ;
19293 wxString *arg7 = (wxString *) &arg7_defvalue ;
19294 wxPreviewFrame *result;
19295 bool temp3 = False ;
19296 wxPoint temp4 ;
19297 wxSize temp5 ;
19298 bool temp7 = False ;
19299 PyObject * obj0 = 0 ;
19300 PyObject * obj1 = 0 ;
19301 PyObject * obj2 = 0 ;
19302 PyObject * obj3 = 0 ;
19303 PyObject * obj4 = 0 ;
19304 PyObject * obj6 = 0 ;
19305 char *kwnames[] = {
19306 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19307 };
19308
19309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
19310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19311 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19312 {
19313 arg3 = wxString_in_helper(obj2);
19314 if (arg3 == NULL) SWIG_fail;
19315 temp3 = True;
19316 }
19317 if (obj3) {
19318 {
19319 arg4 = &temp4;
19320 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19321 }
19322 }
19323 if (obj4) {
19324 {
19325 arg5 = &temp5;
19326 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19327 }
19328 }
19329 if (obj6) {
19330 {
19331 arg7 = wxString_in_helper(obj6);
19332 if (arg7 == NULL) SWIG_fail;
19333 temp7 = True;
19334 }
19335 }
19336 {
19337 PyThreadState* __tstate = wxPyBeginAllowThreads();
19338 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19339
19340 wxPyEndAllowThreads(__tstate);
19341 if (PyErr_Occurred()) SWIG_fail;
19342 }
19343 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewFrame, 1);
19344 {
19345 if (temp3)
19346 delete arg3;
19347 }
19348 {
19349 if (temp7)
19350 delete arg7;
19351 }
19352 return resultobj;
19353 fail:
19354 {
19355 if (temp3)
19356 delete arg3;
19357 }
19358 {
19359 if (temp7)
19360 delete arg7;
19361 }
19362 return NULL;
19363 }
19364
19365
19366 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
19367 PyObject *resultobj;
19368 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19369 PyObject * obj0 = 0 ;
19370 char *kwnames[] = {
19371 (char *) "self", NULL
19372 };
19373
19374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
19375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19376 {
19377 PyThreadState* __tstate = wxPyBeginAllowThreads();
19378 (arg1)->Initialize();
19379
19380 wxPyEndAllowThreads(__tstate);
19381 if (PyErr_Occurred()) SWIG_fail;
19382 }
19383 Py_INCREF(Py_None); resultobj = Py_None;
19384 return resultobj;
19385 fail:
19386 return NULL;
19387 }
19388
19389
19390 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19391 PyObject *resultobj;
19392 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19393 PyObject * obj0 = 0 ;
19394 char *kwnames[] = {
19395 (char *) "self", NULL
19396 };
19397
19398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
19399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19400 {
19401 PyThreadState* __tstate = wxPyBeginAllowThreads();
19402 (arg1)->CreateControlBar();
19403
19404 wxPyEndAllowThreads(__tstate);
19405 if (PyErr_Occurred()) SWIG_fail;
19406 }
19407 Py_INCREF(Py_None); resultobj = Py_None;
19408 return resultobj;
19409 fail:
19410 return NULL;
19411 }
19412
19413
19414 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19415 PyObject *resultobj;
19416 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19417 PyObject * obj0 = 0 ;
19418 char *kwnames[] = {
19419 (char *) "self", NULL
19420 };
19421
19422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
19423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19424 {
19425 PyThreadState* __tstate = wxPyBeginAllowThreads();
19426 (arg1)->CreateCanvas();
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_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19439 PyObject *resultobj;
19440 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19441 wxPreviewControlBar *result;
19442 PyObject * obj0 = 0 ;
19443 char *kwnames[] = {
19444 (char *) "self", NULL
19445 };
19446
19447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
19448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19449 {
19450 PyThreadState* __tstate = wxPyBeginAllowThreads();
19451 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
19452
19453 wxPyEndAllowThreads(__tstate);
19454 if (PyErr_Occurred()) SWIG_fail;
19455 }
19456 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 0);
19457 return resultobj;
19458 fail:
19459 return NULL;
19460 }
19461
19462
19463 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
19464 PyObject *obj;
19465 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19466 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
19467 Py_INCREF(obj);
19468 return Py_BuildValue((char *)"");
19469 }
19470 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19471 PyObject *resultobj;
19472 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19473 long arg2 ;
19474 wxWindow *arg3 = (wxWindow *) 0 ;
19475 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19476 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19477 wxSize const &arg5_defvalue = wxDefaultSize ;
19478 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19479 long arg6 = (long) wxTAB_TRAVERSAL ;
19480 wxString const &arg7_defvalue = wxPyPanelNameStr ;
19481 wxString *arg7 = (wxString *) &arg7_defvalue ;
19482 wxPreviewControlBar *result;
19483 wxPoint temp4 ;
19484 wxSize temp5 ;
19485 bool temp7 = False ;
19486 PyObject * obj0 = 0 ;
19487 PyObject * obj2 = 0 ;
19488 PyObject * obj3 = 0 ;
19489 PyObject * obj4 = 0 ;
19490 PyObject * obj6 = 0 ;
19491 char *kwnames[] = {
19492 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19493 };
19494
19495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
19496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19497 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19498 if (obj3) {
19499 {
19500 arg4 = &temp4;
19501 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19502 }
19503 }
19504 if (obj4) {
19505 {
19506 arg5 = &temp5;
19507 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19508 }
19509 }
19510 if (obj6) {
19511 {
19512 arg7 = wxString_in_helper(obj6);
19513 if (arg7 == NULL) SWIG_fail;
19514 temp7 = True;
19515 }
19516 }
19517 {
19518 PyThreadState* __tstate = wxPyBeginAllowThreads();
19519 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19520
19521 wxPyEndAllowThreads(__tstate);
19522 if (PyErr_Occurred()) SWIG_fail;
19523 }
19524 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 1);
19525 {
19526 if (temp7)
19527 delete arg7;
19528 }
19529 return resultobj;
19530 fail:
19531 {
19532 if (temp7)
19533 delete arg7;
19534 }
19535 return NULL;
19536 }
19537
19538
19539 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19540 PyObject *resultobj;
19541 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19542 int result;
19543 PyObject * obj0 = 0 ;
19544 char *kwnames[] = {
19545 (char *) "self", NULL
19546 };
19547
19548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
19549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19550 {
19551 PyThreadState* __tstate = wxPyBeginAllowThreads();
19552 result = (int)(arg1)->GetZoomControl();
19553
19554 wxPyEndAllowThreads(__tstate);
19555 if (PyErr_Occurred()) SWIG_fail;
19556 }
19557 resultobj = PyInt_FromLong((long)result);
19558 return resultobj;
19559 fail:
19560 return NULL;
19561 }
19562
19563
19564 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19565 PyObject *resultobj;
19566 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19567 int arg2 ;
19568 PyObject * obj0 = 0 ;
19569 char *kwnames[] = {
19570 (char *) "self",(char *) "zoom", NULL
19571 };
19572
19573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PreviewControlBar_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
19574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19575 {
19576 PyThreadState* __tstate = wxPyBeginAllowThreads();
19577 (arg1)->SetZoomControl(arg2);
19578
19579 wxPyEndAllowThreads(__tstate);
19580 if (PyErr_Occurred()) SWIG_fail;
19581 }
19582 Py_INCREF(Py_None); resultobj = Py_None;
19583 return resultobj;
19584 fail:
19585 return NULL;
19586 }
19587
19588
19589 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19590 PyObject *resultobj;
19591 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19592 wxPrintPreview *result;
19593 PyObject * obj0 = 0 ;
19594 char *kwnames[] = {
19595 (char *) "self", NULL
19596 };
19597
19598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
19599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19600 {
19601 PyThreadState* __tstate = wxPyBeginAllowThreads();
19602 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
19603
19604 wxPyEndAllowThreads(__tstate);
19605 if (PyErr_Occurred()) SWIG_fail;
19606 }
19607 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 0);
19608 return resultobj;
19609 fail:
19610 return NULL;
19611 }
19612
19613
19614 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
19615 PyObject *resultobj;
19616 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19617 PyObject * obj0 = 0 ;
19618 char *kwnames[] = {
19619 (char *) "self", NULL
19620 };
19621
19622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
19623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19624 {
19625 PyThreadState* __tstate = wxPyBeginAllowThreads();
19626 (arg1)->OnNext();
19627
19628 wxPyEndAllowThreads(__tstate);
19629 if (PyErr_Occurred()) SWIG_fail;
19630 }
19631 Py_INCREF(Py_None); resultobj = Py_None;
19632 return resultobj;
19633 fail:
19634 return NULL;
19635 }
19636
19637
19638 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
19639 PyObject *resultobj;
19640 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19641 PyObject * obj0 = 0 ;
19642 char *kwnames[] = {
19643 (char *) "self", NULL
19644 };
19645
19646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
19647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19648 {
19649 PyThreadState* __tstate = wxPyBeginAllowThreads();
19650 (arg1)->OnPrevious();
19651
19652 wxPyEndAllowThreads(__tstate);
19653 if (PyErr_Occurred()) SWIG_fail;
19654 }
19655 Py_INCREF(Py_None); resultobj = Py_None;
19656 return resultobj;
19657 fail:
19658 return NULL;
19659 }
19660
19661
19662 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
19663 PyObject *resultobj;
19664 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19665 PyObject * obj0 = 0 ;
19666 char *kwnames[] = {
19667 (char *) "self", NULL
19668 };
19669
19670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
19671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19672 {
19673 PyThreadState* __tstate = wxPyBeginAllowThreads();
19674 (arg1)->OnFirst();
19675
19676 wxPyEndAllowThreads(__tstate);
19677 if (PyErr_Occurred()) SWIG_fail;
19678 }
19679 Py_INCREF(Py_None); resultobj = Py_None;
19680 return resultobj;
19681 fail:
19682 return NULL;
19683 }
19684
19685
19686 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
19687 PyObject *resultobj;
19688 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19689 PyObject * obj0 = 0 ;
19690 char *kwnames[] = {
19691 (char *) "self", NULL
19692 };
19693
19694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
19695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19696 {
19697 PyThreadState* __tstate = wxPyBeginAllowThreads();
19698 (arg1)->OnLast();
19699
19700 wxPyEndAllowThreads(__tstate);
19701 if (PyErr_Occurred()) SWIG_fail;
19702 }
19703 Py_INCREF(Py_None); resultobj = Py_None;
19704 return resultobj;
19705 fail:
19706 return NULL;
19707 }
19708
19709
19710 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
19711 PyObject *resultobj;
19712 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19713 PyObject * obj0 = 0 ;
19714 char *kwnames[] = {
19715 (char *) "self", NULL
19716 };
19717
19718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
19719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19720 {
19721 PyThreadState* __tstate = wxPyBeginAllowThreads();
19722 (arg1)->OnGoto();
19723
19724 wxPyEndAllowThreads(__tstate);
19725 if (PyErr_Occurred()) SWIG_fail;
19726 }
19727 Py_INCREF(Py_None); resultobj = Py_None;
19728 return resultobj;
19729 fail:
19730 return NULL;
19731 }
19732
19733
19734 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
19735 PyObject *obj;
19736 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19737 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
19738 Py_INCREF(obj);
19739 return Py_BuildValue((char *)"");
19740 }
19741 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19742 PyObject *resultobj;
19743 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19744 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19745 wxPrintData *arg3 = (wxPrintData *) NULL ;
19746 wxPrintPreview *result;
19747 PyObject * obj0 = 0 ;
19748 PyObject * obj1 = 0 ;
19749 PyObject * obj2 = 0 ;
19750 char *kwnames[] = {
19751 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19752 };
19753
19754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
19755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19756 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19757 if (obj2) {
19758 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19759 }
19760 {
19761 PyThreadState* __tstate = wxPyBeginAllowThreads();
19762 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
19763
19764 wxPyEndAllowThreads(__tstate);
19765 if (PyErr_Occurred()) SWIG_fail;
19766 }
19767 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 1);
19768 return resultobj;
19769 fail:
19770 return NULL;
19771 }
19772
19773
19774 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19775 PyObject *resultobj;
19776 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19777 int arg2 ;
19778 bool result;
19779 PyObject * obj0 = 0 ;
19780 char *kwnames[] = {
19781 (char *) "self",(char *) "pageNum", NULL
19782 };
19783
19784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
19785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19786 {
19787 PyThreadState* __tstate = wxPyBeginAllowThreads();
19788 result = (bool)(arg1)->SetCurrentPage(arg2);
19789
19790 wxPyEndAllowThreads(__tstate);
19791 if (PyErr_Occurred()) SWIG_fail;
19792 }
19793 resultobj = PyInt_FromLong((long)result);
19794 return resultobj;
19795 fail:
19796 return NULL;
19797 }
19798
19799
19800 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19801 PyObject *resultobj;
19802 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19803 int result;
19804 PyObject * obj0 = 0 ;
19805 char *kwnames[] = {
19806 (char *) "self", NULL
19807 };
19808
19809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
19810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19811 {
19812 PyThreadState* __tstate = wxPyBeginAllowThreads();
19813 result = (int)(arg1)->GetCurrentPage();
19814
19815 wxPyEndAllowThreads(__tstate);
19816 if (PyErr_Occurred()) SWIG_fail;
19817 }
19818 resultobj = PyInt_FromLong((long)result);
19819 return resultobj;
19820 fail:
19821 return NULL;
19822 }
19823
19824
19825 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19826 PyObject *resultobj;
19827 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19828 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19829 PyObject * obj0 = 0 ;
19830 PyObject * obj1 = 0 ;
19831 char *kwnames[] = {
19832 (char *) "self",(char *) "printout", NULL
19833 };
19834
19835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
19836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19837 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19838 {
19839 PyThreadState* __tstate = wxPyBeginAllowThreads();
19840 (arg1)->SetPrintout(arg2);
19841
19842 wxPyEndAllowThreads(__tstate);
19843 if (PyErr_Occurred()) SWIG_fail;
19844 }
19845 Py_INCREF(Py_None); resultobj = Py_None;
19846 return resultobj;
19847 fail:
19848 return NULL;
19849 }
19850
19851
19852 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19853 PyObject *resultobj;
19854 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19855 wxPyPrintout *result;
19856 PyObject * obj0 = 0 ;
19857 char *kwnames[] = {
19858 (char *) "self", NULL
19859 };
19860
19861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
19862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19863 {
19864 PyThreadState* __tstate = wxPyBeginAllowThreads();
19865 result = (wxPyPrintout *)(arg1)->GetPrintout();
19866
19867 wxPyEndAllowThreads(__tstate);
19868 if (PyErr_Occurred()) SWIG_fail;
19869 }
19870 {
19871 resultobj = wxPyMake_wxObject(result);
19872 }
19873 return resultobj;
19874 fail:
19875 return NULL;
19876 }
19877
19878
19879 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
19880 PyObject *resultobj;
19881 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19882 wxPyPrintout *result;
19883 PyObject * obj0 = 0 ;
19884 char *kwnames[] = {
19885 (char *) "self", NULL
19886 };
19887
19888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
19889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19890 {
19891 PyThreadState* __tstate = wxPyBeginAllowThreads();
19892 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
19893
19894 wxPyEndAllowThreads(__tstate);
19895 if (PyErr_Occurred()) SWIG_fail;
19896 }
19897 {
19898 resultobj = wxPyMake_wxObject(result);
19899 }
19900 return resultobj;
19901 fail:
19902 return NULL;
19903 }
19904
19905
19906 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19907 PyObject *resultobj;
19908 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19909 wxFrame *arg2 = (wxFrame *) 0 ;
19910 PyObject * obj0 = 0 ;
19911 PyObject * obj1 = 0 ;
19912 char *kwnames[] = {
19913 (char *) "self",(char *) "frame", NULL
19914 };
19915
19916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
19917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19918 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19919 {
19920 PyThreadState* __tstate = wxPyBeginAllowThreads();
19921 (arg1)->SetFrame(arg2);
19922
19923 wxPyEndAllowThreads(__tstate);
19924 if (PyErr_Occurred()) SWIG_fail;
19925 }
19926 Py_INCREF(Py_None); resultobj = Py_None;
19927 return resultobj;
19928 fail:
19929 return NULL;
19930 }
19931
19932
19933 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19934 PyObject *resultobj;
19935 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19936 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19937 PyObject * obj0 = 0 ;
19938 PyObject * obj1 = 0 ;
19939 char *kwnames[] = {
19940 (char *) "self",(char *) "canvas", NULL
19941 };
19942
19943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
19944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19945 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19946 {
19947 PyThreadState* __tstate = wxPyBeginAllowThreads();
19948 (arg1)->SetCanvas(arg2);
19949
19950 wxPyEndAllowThreads(__tstate);
19951 if (PyErr_Occurred()) SWIG_fail;
19952 }
19953 Py_INCREF(Py_None); resultobj = Py_None;
19954 return resultobj;
19955 fail:
19956 return NULL;
19957 }
19958
19959
19960 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19961 PyObject *resultobj;
19962 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19963 wxFrame *result;
19964 PyObject * obj0 = 0 ;
19965 char *kwnames[] = {
19966 (char *) "self", NULL
19967 };
19968
19969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
19970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19971 {
19972 PyThreadState* __tstate = wxPyBeginAllowThreads();
19973 result = (wxFrame *)(arg1)->GetFrame();
19974
19975 wxPyEndAllowThreads(__tstate);
19976 if (PyErr_Occurred()) SWIG_fail;
19977 }
19978 {
19979 resultobj = wxPyMake_wxObject(result);
19980 }
19981 return resultobj;
19982 fail:
19983 return NULL;
19984 }
19985
19986
19987 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19988 PyObject *resultobj;
19989 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19990 wxPreviewCanvas *result;
19991 PyObject * obj0 = 0 ;
19992 char *kwnames[] = {
19993 (char *) "self", NULL
19994 };
19995
19996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
19997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19998 {
19999 PyThreadState* __tstate = wxPyBeginAllowThreads();
20000 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
20001
20002 wxPyEndAllowThreads(__tstate);
20003 if (PyErr_Occurred()) SWIG_fail;
20004 }
20005 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 0);
20006 return resultobj;
20007 fail:
20008 return NULL;
20009 }
20010
20011
20012 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20013 PyObject *resultobj;
20014 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20015 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20016 wxDC *arg3 = 0 ;
20017 bool result;
20018 PyObject * obj0 = 0 ;
20019 PyObject * obj1 = 0 ;
20020 PyObject * obj2 = 0 ;
20021 char *kwnames[] = {
20022 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20023 };
20024
20025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20027 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20028 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20029 if (arg3 == NULL) {
20030 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20031 }
20032 {
20033 PyThreadState* __tstate = wxPyBeginAllowThreads();
20034 result = (bool)(arg1)->PaintPage(arg2,*arg3);
20035
20036 wxPyEndAllowThreads(__tstate);
20037 if (PyErr_Occurred()) SWIG_fail;
20038 }
20039 resultobj = PyInt_FromLong((long)result);
20040 return resultobj;
20041 fail:
20042 return NULL;
20043 }
20044
20045
20046 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20047 PyObject *resultobj;
20048 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20049 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20050 wxDC *arg3 = 0 ;
20051 bool result;
20052 PyObject * obj0 = 0 ;
20053 PyObject * obj1 = 0 ;
20054 PyObject * obj2 = 0 ;
20055 char *kwnames[] = {
20056 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20057 };
20058
20059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20061 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20062 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20063 if (arg3 == NULL) {
20064 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20065 }
20066 {
20067 PyThreadState* __tstate = wxPyBeginAllowThreads();
20068 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
20069
20070 wxPyEndAllowThreads(__tstate);
20071 if (PyErr_Occurred()) SWIG_fail;
20072 }
20073 resultobj = PyInt_FromLong((long)result);
20074 return resultobj;
20075 fail:
20076 return NULL;
20077 }
20078
20079
20080 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20081 PyObject *resultobj;
20082 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20083 int arg2 ;
20084 bool result;
20085 PyObject * obj0 = 0 ;
20086 char *kwnames[] = {
20087 (char *) "self",(char *) "pageNum", NULL
20088 };
20089
20090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_RenderPage",kwnames,&obj0,&arg2)) goto fail;
20091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20092 {
20093 PyThreadState* __tstate = wxPyBeginAllowThreads();
20094 result = (bool)(arg1)->RenderPage(arg2);
20095
20096 wxPyEndAllowThreads(__tstate);
20097 if (PyErr_Occurred()) SWIG_fail;
20098 }
20099 resultobj = PyInt_FromLong((long)result);
20100 return resultobj;
20101 fail:
20102 return NULL;
20103 }
20104
20105
20106 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
20107 PyObject *resultobj;
20108 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20109 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20110 PyObject * obj0 = 0 ;
20111 PyObject * obj1 = 0 ;
20112 char *kwnames[] = {
20113 (char *) "self",(char *) "canvas", NULL
20114 };
20115
20116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
20117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20118 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20119 {
20120 PyThreadState* __tstate = wxPyBeginAllowThreads();
20121 (arg1)->AdjustScrollbars(arg2);
20122
20123 wxPyEndAllowThreads(__tstate);
20124 if (PyErr_Occurred()) SWIG_fail;
20125 }
20126 Py_INCREF(Py_None); resultobj = Py_None;
20127 return resultobj;
20128 fail:
20129 return NULL;
20130 }
20131
20132
20133 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20134 PyObject *resultobj;
20135 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20136 wxPrintDialogData *result;
20137 PyObject * obj0 = 0 ;
20138 char *kwnames[] = {
20139 (char *) "self", NULL
20140 };
20141
20142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
20143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20144 {
20145 PyThreadState* __tstate = wxPyBeginAllowThreads();
20146 {
20147 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
20148 result = (wxPrintDialogData *) &_result_ref;
20149 }
20150
20151 wxPyEndAllowThreads(__tstate);
20152 if (PyErr_Occurred()) SWIG_fail;
20153 }
20154 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
20155 return resultobj;
20156 fail:
20157 return NULL;
20158 }
20159
20160
20161 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20162 PyObject *resultobj;
20163 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20164 int arg2 ;
20165 PyObject * obj0 = 0 ;
20166 char *kwnames[] = {
20167 (char *) "self",(char *) "percent", NULL
20168 };
20169
20170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetZoom",kwnames,&obj0,&arg2)) goto fail;
20171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20172 {
20173 PyThreadState* __tstate = wxPyBeginAllowThreads();
20174 (arg1)->SetZoom(arg2);
20175
20176 wxPyEndAllowThreads(__tstate);
20177 if (PyErr_Occurred()) SWIG_fail;
20178 }
20179 Py_INCREF(Py_None); resultobj = Py_None;
20180 return resultobj;
20181 fail:
20182 return NULL;
20183 }
20184
20185
20186 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20187 PyObject *resultobj;
20188 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20189 int result;
20190 PyObject * obj0 = 0 ;
20191 char *kwnames[] = {
20192 (char *) "self", NULL
20193 };
20194
20195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
20196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20197 {
20198 PyThreadState* __tstate = wxPyBeginAllowThreads();
20199 result = (int)(arg1)->GetZoom();
20200
20201 wxPyEndAllowThreads(__tstate);
20202 if (PyErr_Occurred()) SWIG_fail;
20203 }
20204 resultobj = PyInt_FromLong((long)result);
20205 return resultobj;
20206 fail:
20207 return NULL;
20208 }
20209
20210
20211 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20212 PyObject *resultobj;
20213 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20214 int result;
20215 PyObject * obj0 = 0 ;
20216 char *kwnames[] = {
20217 (char *) "self", NULL
20218 };
20219
20220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
20221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20222 {
20223 PyThreadState* __tstate = wxPyBeginAllowThreads();
20224 result = (int)(arg1)->GetMaxPage();
20225
20226 wxPyEndAllowThreads(__tstate);
20227 if (PyErr_Occurred()) SWIG_fail;
20228 }
20229 resultobj = PyInt_FromLong((long)result);
20230 return resultobj;
20231 fail:
20232 return NULL;
20233 }
20234
20235
20236 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20237 PyObject *resultobj;
20238 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20239 int result;
20240 PyObject * obj0 = 0 ;
20241 char *kwnames[] = {
20242 (char *) "self", NULL
20243 };
20244
20245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
20246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20247 {
20248 PyThreadState* __tstate = wxPyBeginAllowThreads();
20249 result = (int)(arg1)->GetMinPage();
20250
20251 wxPyEndAllowThreads(__tstate);
20252 if (PyErr_Occurred()) SWIG_fail;
20253 }
20254 resultobj = PyInt_FromLong((long)result);
20255 return resultobj;
20256 fail:
20257 return NULL;
20258 }
20259
20260
20261 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
20262 PyObject *resultobj;
20263 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20264 bool result;
20265 PyObject * obj0 = 0 ;
20266 char *kwnames[] = {
20267 (char *) "self", NULL
20268 };
20269
20270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
20271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20272 {
20273 PyThreadState* __tstate = wxPyBeginAllowThreads();
20274 result = (bool)(arg1)->Ok();
20275
20276 wxPyEndAllowThreads(__tstate);
20277 if (PyErr_Occurred()) SWIG_fail;
20278 }
20279 resultobj = PyInt_FromLong((long)result);
20280 return resultobj;
20281 fail:
20282 return NULL;
20283 }
20284
20285
20286 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
20287 PyObject *resultobj;
20288 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20289 bool arg2 ;
20290 PyObject * obj0 = 0 ;
20291 PyObject * obj1 = 0 ;
20292 char *kwnames[] = {
20293 (char *) "self",(char *) "ok", NULL
20294 };
20295
20296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
20297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20298 arg2 = PyInt_AsLong(obj1) ? true : false;
20299 if (PyErr_Occurred()) SWIG_fail;
20300 {
20301 PyThreadState* __tstate = wxPyBeginAllowThreads();
20302 (arg1)->SetOk(arg2);
20303
20304 wxPyEndAllowThreads(__tstate);
20305 if (PyErr_Occurred()) SWIG_fail;
20306 }
20307 Py_INCREF(Py_None); resultobj = Py_None;
20308 return resultobj;
20309 fail:
20310 return NULL;
20311 }
20312
20313
20314 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
20315 PyObject *resultobj;
20316 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20317 bool arg2 ;
20318 bool result;
20319 PyObject * obj0 = 0 ;
20320 PyObject * obj1 = 0 ;
20321 char *kwnames[] = {
20322 (char *) "self",(char *) "interactive", NULL
20323 };
20324
20325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
20326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20327 arg2 = PyInt_AsLong(obj1) ? true : false;
20328 if (PyErr_Occurred()) SWIG_fail;
20329 {
20330 PyThreadState* __tstate = wxPyBeginAllowThreads();
20331 result = (bool)(arg1)->Print(arg2);
20332
20333 wxPyEndAllowThreads(__tstate);
20334 if (PyErr_Occurred()) SWIG_fail;
20335 }
20336 resultobj = PyInt_FromLong((long)result);
20337 return resultobj;
20338 fail:
20339 return NULL;
20340 }
20341
20342
20343 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
20344 PyObject *resultobj;
20345 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20346 PyObject * obj0 = 0 ;
20347 char *kwnames[] = {
20348 (char *) "self", NULL
20349 };
20350
20351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
20352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20353 {
20354 PyThreadState* __tstate = wxPyBeginAllowThreads();
20355 (arg1)->DetermineScaling();
20356
20357 wxPyEndAllowThreads(__tstate);
20358 if (PyErr_Occurred()) SWIG_fail;
20359 }
20360 Py_INCREF(Py_None); resultobj = Py_None;
20361 return resultobj;
20362 fail:
20363 return NULL;
20364 }
20365
20366
20367 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
20368 PyObject *obj;
20369 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20370 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
20371 Py_INCREF(obj);
20372 return Py_BuildValue((char *)"");
20373 }
20374 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20375 PyObject *resultobj;
20376 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20377 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
20378 wxPrintData *arg3 = (wxPrintData *) NULL ;
20379 wxPyPrintPreview *result;
20380 PyObject * obj0 = 0 ;
20381 PyObject * obj1 = 0 ;
20382 PyObject * obj2 = 0 ;
20383 char *kwnames[] = {
20384 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
20385 };
20386
20387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PyPrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
20388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20389 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20390 if (obj2) {
20391 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20392 }
20393 {
20394 PyThreadState* __tstate = wxPyBeginAllowThreads();
20395 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
20396
20397 wxPyEndAllowThreads(__tstate);
20398 if (PyErr_Occurred()) SWIG_fail;
20399 }
20400 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPrintPreview, 1);
20401 return resultobj;
20402 fail:
20403 return NULL;
20404 }
20405
20406
20407 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20408 PyObject *resultobj;
20409 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20410 PyObject *arg2 = (PyObject *) 0 ;
20411 PyObject *arg3 = (PyObject *) 0 ;
20412 PyObject * obj0 = 0 ;
20413 PyObject * obj1 = 0 ;
20414 PyObject * obj2 = 0 ;
20415 char *kwnames[] = {
20416 (char *) "self",(char *) "self",(char *) "_class", NULL
20417 };
20418
20419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20421 arg2 = obj1;
20422 arg3 = obj2;
20423 {
20424 PyThreadState* __tstate = wxPyBeginAllowThreads();
20425 (arg1)->_setCallbackInfo(arg2,arg3);
20426
20427 wxPyEndAllowThreads(__tstate);
20428 if (PyErr_Occurred()) SWIG_fail;
20429 }
20430 Py_INCREF(Py_None); resultobj = Py_None;
20431 return resultobj;
20432 fail:
20433 return NULL;
20434 }
20435
20436
20437 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20438 PyObject *resultobj;
20439 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20440 int arg2 ;
20441 bool result;
20442 PyObject * obj0 = 0 ;
20443 char *kwnames[] = {
20444 (char *) "self",(char *) "pageNum", NULL
20445 };
20446
20447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
20448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20449 {
20450 PyThreadState* __tstate = wxPyBeginAllowThreads();
20451 result = (bool)(arg1)->base_SetCurrentPage(arg2);
20452
20453 wxPyEndAllowThreads(__tstate);
20454 if (PyErr_Occurred()) SWIG_fail;
20455 }
20456 resultobj = PyInt_FromLong((long)result);
20457 return resultobj;
20458 fail:
20459 return NULL;
20460 }
20461
20462
20463 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20464 PyObject *resultobj;
20465 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20466 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20467 wxDC *arg3 = 0 ;
20468 bool result;
20469 PyObject * obj0 = 0 ;
20470 PyObject * obj1 = 0 ;
20471 PyObject * obj2 = 0 ;
20472 char *kwnames[] = {
20473 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20474 };
20475
20476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20478 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20479 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20480 if (arg3 == NULL) {
20481 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20482 }
20483 {
20484 PyThreadState* __tstate = wxPyBeginAllowThreads();
20485 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
20486
20487 wxPyEndAllowThreads(__tstate);
20488 if (PyErr_Occurred()) SWIG_fail;
20489 }
20490 resultobj = PyInt_FromLong((long)result);
20491 return resultobj;
20492 fail:
20493 return NULL;
20494 }
20495
20496
20497 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20498 PyObject *resultobj;
20499 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20500 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20501 wxDC *arg3 = 0 ;
20502 bool result;
20503 PyObject * obj0 = 0 ;
20504 PyObject * obj1 = 0 ;
20505 PyObject * obj2 = 0 ;
20506 char *kwnames[] = {
20507 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20508 };
20509
20510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20512 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20513 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20514 if (arg3 == NULL) {
20515 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20516 }
20517 {
20518 PyThreadState* __tstate = wxPyBeginAllowThreads();
20519 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
20520
20521 wxPyEndAllowThreads(__tstate);
20522 if (PyErr_Occurred()) SWIG_fail;
20523 }
20524 resultobj = PyInt_FromLong((long)result);
20525 return resultobj;
20526 fail:
20527 return NULL;
20528 }
20529
20530
20531 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20532 PyObject *resultobj;
20533 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20534 int arg2 ;
20535 bool result;
20536 PyObject * obj0 = 0 ;
20537 char *kwnames[] = {
20538 (char *) "self",(char *) "pageNum", NULL
20539 };
20540
20541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_RenderPage",kwnames,&obj0,&arg2)) goto fail;
20542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20543 {
20544 PyThreadState* __tstate = wxPyBeginAllowThreads();
20545 result = (bool)(arg1)->base_RenderPage(arg2);
20546
20547 wxPyEndAllowThreads(__tstate);
20548 if (PyErr_Occurred()) SWIG_fail;
20549 }
20550 resultobj = PyInt_FromLong((long)result);
20551 return resultobj;
20552 fail:
20553 return NULL;
20554 }
20555
20556
20557 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20558 PyObject *resultobj;
20559 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20560 int arg2 ;
20561 PyObject * obj0 = 0 ;
20562 char *kwnames[] = {
20563 (char *) "self",(char *) "percent", NULL
20564 };
20565
20566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetZoom",kwnames,&obj0,&arg2)) goto fail;
20567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20568 {
20569 PyThreadState* __tstate = wxPyBeginAllowThreads();
20570 (arg1)->base_SetZoom(arg2);
20571
20572 wxPyEndAllowThreads(__tstate);
20573 if (PyErr_Occurred()) SWIG_fail;
20574 }
20575 Py_INCREF(Py_None); resultobj = Py_None;
20576 return resultobj;
20577 fail:
20578 return NULL;
20579 }
20580
20581
20582 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
20583 PyObject *resultobj;
20584 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20585 bool arg2 ;
20586 bool result;
20587 PyObject * obj0 = 0 ;
20588 PyObject * obj1 = 0 ;
20589 char *kwnames[] = {
20590 (char *) "self",(char *) "interactive", NULL
20591 };
20592
20593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
20594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20595 arg2 = PyInt_AsLong(obj1) ? true : false;
20596 if (PyErr_Occurred()) SWIG_fail;
20597 {
20598 PyThreadState* __tstate = wxPyBeginAllowThreads();
20599 result = (bool)(arg1)->base_Print(arg2);
20600
20601 wxPyEndAllowThreads(__tstate);
20602 if (PyErr_Occurred()) SWIG_fail;
20603 }
20604 resultobj = PyInt_FromLong((long)result);
20605 return resultobj;
20606 fail:
20607 return NULL;
20608 }
20609
20610
20611 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
20612 PyObject *resultobj;
20613 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20614 PyObject * obj0 = 0 ;
20615 char *kwnames[] = {
20616 (char *) "self", NULL
20617 };
20618
20619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
20620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20621 {
20622 PyThreadState* __tstate = wxPyBeginAllowThreads();
20623 (arg1)->base_DetermineScaling();
20624
20625 wxPyEndAllowThreads(__tstate);
20626 if (PyErr_Occurred()) SWIG_fail;
20627 }
20628 Py_INCREF(Py_None); resultobj = Py_None;
20629 return resultobj;
20630 fail:
20631 return NULL;
20632 }
20633
20634
20635 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
20636 PyObject *obj;
20637 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20638 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
20639 Py_INCREF(obj);
20640 return Py_BuildValue((char *)"");
20641 }
20642 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
20643 PyObject *resultobj;
20644 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20645 wxFrame *arg2 = (wxFrame *) 0 ;
20646 wxString *arg3 = 0 ;
20647 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20648 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20649 wxSize const &arg5_defvalue = wxDefaultSize ;
20650 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20651 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20652 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20653 wxString *arg7 = (wxString *) &arg7_defvalue ;
20654 wxPyPreviewFrame *result;
20655 bool temp3 = False ;
20656 wxPoint temp4 ;
20657 wxSize temp5 ;
20658 bool temp7 = False ;
20659 PyObject * obj0 = 0 ;
20660 PyObject * obj1 = 0 ;
20661 PyObject * obj2 = 0 ;
20662 PyObject * obj3 = 0 ;
20663 PyObject * obj4 = 0 ;
20664 PyObject * obj6 = 0 ;
20665 char *kwnames[] = {
20666 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20667 };
20668
20669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20671 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20672 {
20673 arg3 = wxString_in_helper(obj2);
20674 if (arg3 == NULL) SWIG_fail;
20675 temp3 = True;
20676 }
20677 if (obj3) {
20678 {
20679 arg4 = &temp4;
20680 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20681 }
20682 }
20683 if (obj4) {
20684 {
20685 arg5 = &temp5;
20686 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20687 }
20688 }
20689 if (obj6) {
20690 {
20691 arg7 = wxString_in_helper(obj6);
20692 if (arg7 == NULL) SWIG_fail;
20693 temp7 = True;
20694 }
20695 }
20696 {
20697 PyThreadState* __tstate = wxPyBeginAllowThreads();
20698 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20699
20700 wxPyEndAllowThreads(__tstate);
20701 if (PyErr_Occurred()) SWIG_fail;
20702 }
20703 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewFrame, 1);
20704 {
20705 if (temp3)
20706 delete arg3;
20707 }
20708 {
20709 if (temp7)
20710 delete arg7;
20711 }
20712 return resultobj;
20713 fail:
20714 {
20715 if (temp3)
20716 delete arg3;
20717 }
20718 {
20719 if (temp7)
20720 delete arg7;
20721 }
20722 return NULL;
20723 }
20724
20725
20726 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20727 PyObject *resultobj;
20728 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20729 PyObject *arg2 = (PyObject *) 0 ;
20730 PyObject *arg3 = (PyObject *) 0 ;
20731 PyObject * obj0 = 0 ;
20732 PyObject * obj1 = 0 ;
20733 PyObject * obj2 = 0 ;
20734 char *kwnames[] = {
20735 (char *) "self",(char *) "self",(char *) "_class", NULL
20736 };
20737
20738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20740 arg2 = obj1;
20741 arg3 = obj2;
20742 {
20743 PyThreadState* __tstate = wxPyBeginAllowThreads();
20744 (arg1)->_setCallbackInfo(arg2,arg3);
20745
20746 wxPyEndAllowThreads(__tstate);
20747 if (PyErr_Occurred()) SWIG_fail;
20748 }
20749 Py_INCREF(Py_None); resultobj = Py_None;
20750 return resultobj;
20751 fail:
20752 return NULL;
20753 }
20754
20755
20756 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20757 PyObject *resultobj;
20758 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20759 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20760 PyObject * obj0 = 0 ;
20761 PyObject * obj1 = 0 ;
20762 char *kwnames[] = {
20763 (char *) "self",(char *) "canvas", NULL
20764 };
20765
20766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
20767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20768 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20769 {
20770 PyThreadState* __tstate = wxPyBeginAllowThreads();
20771 (arg1)->SetPreviewCanvas(arg2);
20772
20773 wxPyEndAllowThreads(__tstate);
20774 if (PyErr_Occurred()) SWIG_fail;
20775 }
20776 Py_INCREF(Py_None); resultobj = Py_None;
20777 return resultobj;
20778 fail:
20779 return NULL;
20780 }
20781
20782
20783 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20784 PyObject *resultobj;
20785 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20786 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
20787 PyObject * obj0 = 0 ;
20788 PyObject * obj1 = 0 ;
20789 char *kwnames[] = {
20790 (char *) "self",(char *) "bar", NULL
20791 };
20792
20793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
20794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20795 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20796 {
20797 PyThreadState* __tstate = wxPyBeginAllowThreads();
20798 (arg1)->SetControlBar(arg2);
20799
20800 wxPyEndAllowThreads(__tstate);
20801 if (PyErr_Occurred()) SWIG_fail;
20802 }
20803 Py_INCREF(Py_None); resultobj = Py_None;
20804 return resultobj;
20805 fail:
20806 return NULL;
20807 }
20808
20809
20810 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
20811 PyObject *resultobj;
20812 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20813 PyObject * obj0 = 0 ;
20814 char *kwnames[] = {
20815 (char *) "self", NULL
20816 };
20817
20818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
20819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20820 {
20821 PyThreadState* __tstate = wxPyBeginAllowThreads();
20822 (arg1)->base_Initialize();
20823
20824 wxPyEndAllowThreads(__tstate);
20825 if (PyErr_Occurred()) SWIG_fail;
20826 }
20827 Py_INCREF(Py_None); resultobj = Py_None;
20828 return resultobj;
20829 fail:
20830 return NULL;
20831 }
20832
20833
20834 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20835 PyObject *resultobj;
20836 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20837 PyObject * obj0 = 0 ;
20838 char *kwnames[] = {
20839 (char *) "self", NULL
20840 };
20841
20842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
20843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20844 {
20845 PyThreadState* __tstate = wxPyBeginAllowThreads();
20846 (arg1)->base_CreateCanvas();
20847
20848 wxPyEndAllowThreads(__tstate);
20849 if (PyErr_Occurred()) SWIG_fail;
20850 }
20851 Py_INCREF(Py_None); resultobj = Py_None;
20852 return resultobj;
20853 fail:
20854 return NULL;
20855 }
20856
20857
20858 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20859 PyObject *resultobj;
20860 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20861 PyObject * obj0 = 0 ;
20862 char *kwnames[] = {
20863 (char *) "self", NULL
20864 };
20865
20866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
20867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20868 {
20869 PyThreadState* __tstate = wxPyBeginAllowThreads();
20870 (arg1)->base_CreateControlBar();
20871
20872 wxPyEndAllowThreads(__tstate);
20873 if (PyErr_Occurred()) SWIG_fail;
20874 }
20875 Py_INCREF(Py_None); resultobj = Py_None;
20876 return resultobj;
20877 fail:
20878 return NULL;
20879 }
20880
20881
20882 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
20883 PyObject *obj;
20884 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20885 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
20886 Py_INCREF(obj);
20887 return Py_BuildValue((char *)"");
20888 }
20889 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20890 PyObject *resultobj;
20891 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20892 long arg2 ;
20893 wxWindow *arg3 = (wxWindow *) 0 ;
20894 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20895 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20896 wxSize const &arg5_defvalue = wxDefaultSize ;
20897 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20898 long arg6 = (long) 0 ;
20899 wxString const &arg7_defvalue = wxPyPanelNameStr ;
20900 wxString *arg7 = (wxString *) &arg7_defvalue ;
20901 wxPyPreviewControlBar *result;
20902 wxPoint temp4 ;
20903 wxSize temp5 ;
20904 bool temp7 = False ;
20905 PyObject * obj0 = 0 ;
20906 PyObject * obj2 = 0 ;
20907 PyObject * obj3 = 0 ;
20908 PyObject * obj4 = 0 ;
20909 PyObject * obj6 = 0 ;
20910 char *kwnames[] = {
20911 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20912 };
20913
20914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PyPreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20916 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20917 if (obj3) {
20918 {
20919 arg4 = &temp4;
20920 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20921 }
20922 }
20923 if (obj4) {
20924 {
20925 arg5 = &temp5;
20926 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20927 }
20928 }
20929 if (obj6) {
20930 {
20931 arg7 = wxString_in_helper(obj6);
20932 if (arg7 == NULL) SWIG_fail;
20933 temp7 = True;
20934 }
20935 }
20936 {
20937 PyThreadState* __tstate = wxPyBeginAllowThreads();
20938 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20939
20940 wxPyEndAllowThreads(__tstate);
20941 if (PyErr_Occurred()) SWIG_fail;
20942 }
20943 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewControlBar, 1);
20944 {
20945 if (temp7)
20946 delete arg7;
20947 }
20948 return resultobj;
20949 fail:
20950 {
20951 if (temp7)
20952 delete arg7;
20953 }
20954 return NULL;
20955 }
20956
20957
20958 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20959 PyObject *resultobj;
20960 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20961 PyObject *arg2 = (PyObject *) 0 ;
20962 PyObject *arg3 = (PyObject *) 0 ;
20963 PyObject * obj0 = 0 ;
20964 PyObject * obj1 = 0 ;
20965 PyObject * obj2 = 0 ;
20966 char *kwnames[] = {
20967 (char *) "self",(char *) "self",(char *) "_class", NULL
20968 };
20969
20970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20972 arg2 = obj1;
20973 arg3 = obj2;
20974 {
20975 PyThreadState* __tstate = wxPyBeginAllowThreads();
20976 (arg1)->_setCallbackInfo(arg2,arg3);
20977
20978 wxPyEndAllowThreads(__tstate);
20979 if (PyErr_Occurred()) SWIG_fail;
20980 }
20981 Py_INCREF(Py_None); resultobj = Py_None;
20982 return resultobj;
20983 fail:
20984 return NULL;
20985 }
20986
20987
20988 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20989 PyObject *resultobj;
20990 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20991 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
20992 PyObject * obj0 = 0 ;
20993 PyObject * obj1 = 0 ;
20994 char *kwnames[] = {
20995 (char *) "self",(char *) "preview", NULL
20996 };
20997
20998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
20999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21000 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21001 {
21002 PyThreadState* __tstate = wxPyBeginAllowThreads();
21003 (arg1)->SetPrintPreview(arg2);
21004
21005 wxPyEndAllowThreads(__tstate);
21006 if (PyErr_Occurred()) SWIG_fail;
21007 }
21008 Py_INCREF(Py_None); resultobj = Py_None;
21009 return resultobj;
21010 fail:
21011 return NULL;
21012 }
21013
21014
21015 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
21016 PyObject *resultobj;
21017 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
21018 PyObject * obj0 = 0 ;
21019 char *kwnames[] = {
21020 (char *) "self", NULL
21021 };
21022
21023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
21024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21025 {
21026 PyThreadState* __tstate = wxPyBeginAllowThreads();
21027 (arg1)->base_CreateButtons();
21028
21029 wxPyEndAllowThreads(__tstate);
21030 if (PyErr_Occurred()) SWIG_fail;
21031 }
21032 Py_INCREF(Py_None); resultobj = Py_None;
21033 return resultobj;
21034 fail:
21035 return NULL;
21036 }
21037
21038
21039 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
21040 PyObject *resultobj;
21041 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
21042 int arg2 ;
21043 PyObject * obj0 = 0 ;
21044 char *kwnames[] = {
21045 (char *) "self",(char *) "zoom", NULL
21046 };
21047
21048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
21049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21050 {
21051 PyThreadState* __tstate = wxPyBeginAllowThreads();
21052 (arg1)->base_SetZoomControl(arg2);
21053
21054 wxPyEndAllowThreads(__tstate);
21055 if (PyErr_Occurred()) SWIG_fail;
21056 }
21057 Py_INCREF(Py_None); resultobj = Py_None;
21058 return resultobj;
21059 fail:
21060 return NULL;
21061 }
21062
21063
21064 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
21065 PyObject *obj;
21066 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21067 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
21068 Py_INCREF(obj);
21069 return Py_BuildValue((char *)"");
21070 }
21071 static PyMethodDef SwigMethods[] = {
21072 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
21073 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
21074 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
21075 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
21076 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
21077 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
21078 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
21079 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
21080 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
21081 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
21082 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
21083 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
21084 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
21085 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
21086 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
21087 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
21088 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
21089 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
21090 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
21091 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
21092 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
21093 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
21094 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
21095 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
21096 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
21097 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS },
21098 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS },
21099 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
21100 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
21101 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
21102 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
21103 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
21104 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
21105 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
21106 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
21107 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
21108 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
21109 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
21110 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
21111 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
21112 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
21113 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
21114 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
21115 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
21116 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
21117 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
21118 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
21119 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
21120 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
21121 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
21122 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
21123 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
21124 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
21125 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
21126 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
21127 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
21128 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
21129 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
21130 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
21131 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
21132 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
21133 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
21134 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
21135 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
21136 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
21137 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
21138 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
21139 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
21140 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
21141 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
21142 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
21143 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
21144 { (char *)"Dialog_SetModal", (PyCFunction) _wrap_Dialog_SetModal, METH_VARARGS | METH_KEYWORDS },
21145 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
21146 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21147 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
21148 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS },
21149 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
21150 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
21151 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
21152 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
21153 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
21154 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
21155 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
21156 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
21157 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
21158 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
21159 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
21160 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
21161 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
21162 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
21163 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
21164 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
21165 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
21166 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
21167 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
21168 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
21169 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
21170 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
21171 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
21172 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
21173 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
21174 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
21175 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
21176 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
21177 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
21178 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
21179 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
21180 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
21181 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
21182 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
21183 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
21184 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
21185 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
21186 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
21187 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
21188 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
21189 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
21190 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
21191 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
21192 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
21193 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
21194 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
21195 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
21196 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
21197 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
21198 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
21199 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
21200 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
21201 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
21202 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
21203 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
21204 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
21205 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
21206 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
21207 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
21208 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
21209 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
21210 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
21211 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
21212 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
21213 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
21214 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
21215 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
21216 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
21217 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
21218 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
21219 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
21220 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
21221 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
21222 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
21223 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
21224 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
21225 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
21226 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
21227 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
21228 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
21229 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
21230 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
21231 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
21232 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
21233 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
21234 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
21235 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
21236 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
21237 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
21238 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
21239 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
21240 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
21241 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
21242 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
21243 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
21244 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
21245 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21246 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21247 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
21248 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
21249 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21250 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21251 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
21252 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
21253 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
21254 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
21255 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21256 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21257 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
21258 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
21259 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
21260 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
21261 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
21262 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
21263 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
21264 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21265 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
21266 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
21267 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21268 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
21269 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
21270 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
21271 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
21272 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
21273 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
21274 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
21275 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
21276 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
21277 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
21278 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
21279 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
21280 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
21281 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
21282 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21283 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
21284 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
21285 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
21286 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
21287 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
21288 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
21289 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
21290 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
21291 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
21292 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21293 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
21294 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
21295 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
21296 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
21297 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
21298 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
21299 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
21300 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
21301 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
21302 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
21303 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
21304 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
21305 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
21306 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
21307 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
21308 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
21309 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
21310 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21311 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
21312 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
21313 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
21314 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
21315 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
21316 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
21317 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
21318 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
21319 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
21320 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
21321 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
21322 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
21323 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
21324 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
21325 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
21326 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
21327 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
21328 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
21329 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
21330 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
21331 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
21332 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
21333 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
21334 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
21335 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
21336 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21337 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
21338 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
21339 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
21340 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
21341 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
21342 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
21343 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS },
21344 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
21345 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
21346 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
21347 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
21348 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
21349 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
21350 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
21351 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
21352 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
21353 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
21354 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
21355 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
21356 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
21357 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
21358 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
21359 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
21360 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
21361 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
21362 { (char *)"ColourDialog_ShowModal", (PyCFunction) _wrap_ColourDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21363 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
21364 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
21365 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
21366 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
21367 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
21368 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
21369 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
21370 { (char *)"DirDialog_ShowModal", (PyCFunction) _wrap_DirDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21371 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
21372 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
21373 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
21374 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
21375 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
21376 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
21377 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
21378 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
21379 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
21380 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
21381 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
21382 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
21383 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
21384 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
21385 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
21386 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
21387 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
21388 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
21389 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
21390 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
21391 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
21392 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
21393 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
21394 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
21395 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
21396 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
21397 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
21398 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction) _wrap_SingleChoiceDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21399 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
21400 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
21401 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
21402 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
21403 { (char *)"TextEntryDialog_ShowModal", (PyCFunction) _wrap_TextEntryDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21404 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
21405 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
21406 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
21407 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
21408 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
21409 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
21410 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
21411 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
21412 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
21413 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
21414 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
21415 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
21416 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
21417 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
21418 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
21419 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
21420 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
21421 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
21422 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
21423 { (char *)"FontDialog_ShowModal", (PyCFunction) _wrap_FontDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21424 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
21425 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
21426 { (char *)"MessageDialog_ShowModal", (PyCFunction) _wrap_MessageDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21427 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
21428 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
21429 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
21430 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
21431 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
21432 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
21433 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21434 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
21435 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
21436 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
21437 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21438 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
21439 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
21440 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
21441 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
21442 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
21443 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
21444 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
21445 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
21446 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
21447 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
21448 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
21449 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
21450 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21451 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21452 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
21453 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
21454 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
21455 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
21456 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21457 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21458 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
21459 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
21460 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
21461 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
21462 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
21463 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
21464 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
21465 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
21466 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_GetWindowMenu, METH_VARARGS | METH_KEYWORDS },
21467 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS },
21468 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction) _wrap_MDIParentFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
21469 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
21470 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
21471 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21472 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21473 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
21474 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
21475 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
21476 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
21477 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
21478 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21479 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21480 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
21481 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
21482 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
21483 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21484 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21485 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21486 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21487 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21488 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21489 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21490 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21491 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21492 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21493 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21494 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21495 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21496 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
21497 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21498 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21499 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21500 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21501 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21502 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
21503 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
21504 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21505 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21506 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21507 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21508 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21509 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21510 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21511 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21512 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21513 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21514 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21515 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21516 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21517 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
21518 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21519 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21520 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21521 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21522 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21523 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
21524 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
21525 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
21526 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21527 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21528 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21529 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
21530 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
21531 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
21532 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
21533 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21534 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21535 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
21536 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21537 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21538 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21539 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
21540 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
21541 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
21542 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21543 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21544 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
21545 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21546 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21547 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21548 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
21549 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21550 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21551 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21552 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21553 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21554 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
21555 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21556 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21557 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21558 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
21559 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21560 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21561 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21562 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
21563 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21564 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21565 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
21566 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
21567 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
21568 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21569 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21570 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21571 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
21572 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
21573 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
21574 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
21575 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21576 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
21577 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
21578 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
21579 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
21580 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21581 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21582 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21583 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21584 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21585 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21586 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21587 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21588 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21589 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21590 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21591 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21592 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21593 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21594 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21595 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21596 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21597 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21598 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21599 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
21600 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
21601 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
21602 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21603 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
21604 { (char *)"new_PrintDialogData", (PyCFunction) _wrap_new_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21605 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21606 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
21607 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
21608 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21609 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21610 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21611 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
21612 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
21613 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21614 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21615 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21616 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
21617 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
21618 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
21619 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
21620 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21621 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
21622 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
21623 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21624 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21625 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21626 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21627 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
21628 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21629 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21630 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21631 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
21632 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21633 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21634 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21635 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21636 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21637 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
21638 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21639 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21640 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
21641 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21642 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
21643 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
21644 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
21645 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
21646 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21647 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
21648 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21649 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
21650 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
21651 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
21652 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
21653 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
21654 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
21655 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21656 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
21657 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
21658 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
21659 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
21660 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
21661 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21662 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21663 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21664 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21665 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21666 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21667 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
21668 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
21669 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
21670 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
21671 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
21672 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
21673 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
21674 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
21675 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
21676 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
21677 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21678 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
21679 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
21680 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
21681 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21682 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21683 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
21684 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
21685 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21686 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
21687 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21688 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21689 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
21690 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
21691 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
21692 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
21693 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
21694 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
21695 { (char *)"new_PrintPreview", (PyCFunction) _wrap_new_PrintPreview, METH_VARARGS | METH_KEYWORDS },
21696 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21697 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21698 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
21699 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
21700 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
21701 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
21702 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
21703 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
21704 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
21705 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
21706 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21707 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
21708 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
21709 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21710 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
21711 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
21712 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21713 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21714 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
21715 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
21716 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
21717 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21718 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
21719 { (char *)"new_PyPrintPreview", (PyCFunction) _wrap_new_PyPrintPreview, METH_VARARGS | METH_KEYWORDS },
21720 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21721 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21722 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
21723 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21724 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
21725 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
21726 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
21727 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21728 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
21729 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
21730 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21731 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21732 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
21733 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
21734 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21735 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21736 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
21737 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21738 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21739 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21740 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
21741 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21742 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
21743 { NULL, NULL }
21744 };
21745
21746
21747 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21748
21749 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
21750 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21751 }
21752 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
21753 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
21754 }
21755 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
21756 return (void *)((wxEvent *) ((wxMenuEvent *) x));
21757 }
21758 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
21759 return (void *)((wxEvent *) ((wxCloseEvent *) x));
21760 }
21761 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
21762 return (void *)((wxEvent *) ((wxMouseEvent *) x));
21763 }
21764 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
21765 return (void *)((wxEvent *) ((wxEraseEvent *) x));
21766 }
21767 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
21768 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
21769 }
21770 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
21771 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
21772 }
21773 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
21774 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
21775 }
21776 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
21777 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
21778 }
21779 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
21780 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
21781 }
21782 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
21783 return (void *)((wxEvent *) ((wxPyEvent *) x));
21784 }
21785 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
21786 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
21787 }
21788 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
21789 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
21790 }
21791 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
21792 return (void *)((wxEvent *) ((wxIdleEvent *) x));
21793 }
21794 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
21795 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
21796 }
21797 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
21798 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
21799 }
21800 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
21801 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
21802 }
21803 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
21804 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
21805 }
21806 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
21807 return (void *)((wxEvent *) ((wxActivateEvent *) x));
21808 }
21809 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
21810 return (void *)((wxEvent *) ((wxSizeEvent *) x));
21811 }
21812 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
21813 return (void *)((wxEvent *) ((wxMoveEvent *) x));
21814 }
21815 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
21816 return (void *)((wxEvent *) ((wxPaintEvent *) x));
21817 }
21818 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
21819 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
21820 }
21821 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
21822 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
21823 }
21824 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
21825 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
21826 }
21827 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
21828 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
21829 }
21830 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
21831 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21832 }
21833 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
21834 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
21835 }
21836 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
21837 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
21838 }
21839 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
21840 return (void *)((wxEvent *) ((wxFocusEvent *) x));
21841 }
21842 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
21843 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
21844 }
21845 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
21846 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
21847 }
21848 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
21849 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
21850 }
21851 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
21852 return (void *)((wxEvent *) ((wxShowEvent *) x));
21853 }
21854 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
21855 return (void *)((wxEvent *) ((wxCommandEvent *) x));
21856 }
21857 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
21858 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
21859 }
21860 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
21861 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21862 }
21863 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
21864 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
21865 }
21866 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
21867 return (void *)((wxEvent *) ((wxKeyEvent *) x));
21868 }
21869 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
21870 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
21871 }
21872 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
21873 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
21874 }
21875 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
21876 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
21877 }
21878 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
21879 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
21880 }
21881 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
21882 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
21883 }
21884 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
21885 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
21886 }
21887 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
21888 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
21889 }
21890 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
21891 return (void *)((wxEvtHandler *) ((wxValidator *) x));
21892 }
21893 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
21894 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
21895 }
21896 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
21897 return (void *)((wxEvtHandler *) ((wxMenu *) x));
21898 }
21899 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
21900 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
21901 }
21902 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
21903 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
21904 }
21905 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
21906 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
21907 }
21908 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
21909 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
21910 }
21911 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
21912 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
21913 }
21914 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
21915 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
21916 }
21917 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
21918 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
21919 }
21920 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
21921 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
21922 }
21923 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
21924 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
21925 }
21926 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
21927 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
21928 }
21929 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
21930 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
21931 }
21932 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
21933 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
21934 }
21935 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
21936 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
21937 }
21938 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
21939 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
21940 }
21941 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
21942 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
21943 }
21944 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
21945 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
21946 }
21947 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
21948 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
21949 }
21950 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
21951 return (void *)((wxEvtHandler *) ((wxWindow *) x));
21952 }
21953 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
21954 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
21955 }
21956 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
21957 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
21958 }
21959 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
21960 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
21961 }
21962 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
21963 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
21964 }
21965 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
21966 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
21967 }
21968 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
21969 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21970 }
21971 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
21972 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
21973 }
21974 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
21975 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
21976 }
21977 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
21978 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
21979 }
21980 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
21981 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
21982 }
21983 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
21984 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
21985 }
21986 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
21987 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
21988 }
21989 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
21990 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
21991 }
21992 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
21993 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
21994 }
21995 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
21996 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
21997 }
21998 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
21999 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
22000 }
22001 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
22002 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
22003 }
22004 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
22005 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
22006 }
22007 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
22008 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
22009 }
22010 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
22011 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
22012 }
22013 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
22014 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
22015 }
22016 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
22017 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22018 }
22019 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
22020 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22021 }
22022 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
22023 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
22024 }
22025 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
22026 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
22027 }
22028 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
22029 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
22030 }
22031 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
22032 return (void *)((wxFrame *) ((wxProgressDialog *) x));
22033 }
22034 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
22035 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
22036 }
22037 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
22038 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22039 }
22040 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
22041 return (void *)((wxFrame *) ((wxMiniFrame *) x));
22042 }
22043 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
22044 return (void *)((wxFrame *) ((wxSplashScreen *) x));
22045 }
22046 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
22047 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
22048 }
22049 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
22050 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
22051 }
22052 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
22053 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
22054 }
22055 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
22056 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
22057 }
22058 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
22059 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22060 }
22061 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
22062 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
22063 }
22064 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
22065 return (void *)((wxObject *) ((wxSizerItem *) x));
22066 }
22067 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
22068 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
22069 }
22070 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
22071 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
22072 }
22073 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
22074 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
22075 }
22076 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
22077 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
22078 }
22079 static void *_p_wxSizerTo_p_wxObject(void *x) {
22080 return (void *)((wxObject *) ((wxSizer *) x));
22081 }
22082 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
22083 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
22084 }
22085 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
22086 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
22087 }
22088 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
22089 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
22090 }
22091 static void *_p_wxEventTo_p_wxObject(void *x) {
22092 return (void *)((wxObject *) ((wxEvent *) x));
22093 }
22094 static void *_p_wxFontDataTo_p_wxObject(void *x) {
22095 return (void *)((wxObject *) ((wxFontData *) x));
22096 }
22097 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
22098 return (void *)((wxObject *) ((wxPrintData *) x));
22099 }
22100 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
22101 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
22102 }
22103 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
22104 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
22105 }
22106 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
22107 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
22108 }
22109 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
22110 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
22111 }
22112 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
22113 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
22114 }
22115 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
22116 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
22117 }
22118 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
22119 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
22120 }
22121 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
22122 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
22123 }
22124 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
22125 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
22126 }
22127 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
22128 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
22129 }
22130 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
22131 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
22132 }
22133 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
22134 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
22135 }
22136 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
22137 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
22138 }
22139 static void *_p_wxControlTo_p_wxObject(void *x) {
22140 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
22141 }
22142 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
22143 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
22144 }
22145 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
22146 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
22147 }
22148 static void *_p_wxFSFileTo_p_wxObject(void *x) {
22149 return (void *)((wxObject *) ((wxFSFile *) x));
22150 }
22151 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
22152 return (void *)((wxObject *) ((wxFindReplaceData *) x));
22153 }
22154 static void *_p_wxPySizerTo_p_wxObject(void *x) {
22155 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
22156 }
22157 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
22158 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
22159 }
22160 static void *_p_wxColourDataTo_p_wxObject(void *x) {
22161 return (void *)((wxObject *) ((wxColourData *) x));
22162 }
22163 static void *_p_wxPyEventTo_p_wxObject(void *x) {
22164 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
22165 }
22166 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
22167 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
22168 }
22169 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
22170 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
22171 }
22172 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
22173 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
22174 }
22175 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
22176 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
22177 }
22178 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
22179 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
22180 }
22181 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
22182 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
22183 }
22184 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
22185 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
22186 }
22187 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
22188 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
22189 }
22190 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
22191 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
22192 }
22193 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
22194 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
22195 }
22196 static void *_p_wxShowEventTo_p_wxObject(void *x) {
22197 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
22198 }
22199 static void *_p_wxPrinterTo_p_wxObject(void *x) {
22200 return (void *)((wxObject *) ((wxPrinter *) x));
22201 }
22202 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
22203 return (void *)((wxObject *) ((wxMenuItem *) x));
22204 }
22205 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
22206 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
22207 }
22208 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
22209 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
22210 }
22211 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
22212 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
22213 }
22214 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
22215 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
22216 }
22217 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
22218 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
22219 }
22220 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
22221 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
22222 }
22223 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
22224 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
22225 }
22226 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
22227 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
22228 }
22229 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
22230 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
22231 }
22232 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
22233 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
22234 }
22235 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
22236 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
22237 }
22238 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
22239 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
22240 }
22241 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
22242 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
22243 }
22244 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
22245 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
22246 }
22247 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
22248 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
22249 }
22250 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
22251 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
22252 }
22253 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
22254 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
22255 }
22256 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
22257 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
22258 }
22259 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
22260 return (void *)((wxObject *) ((wxImageHandler *) x));
22261 }
22262 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
22263 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
22264 }
22265 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
22266 return (void *)((wxObject *) ((wxEvtHandler *) x));
22267 }
22268 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
22269 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
22270 }
22271 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
22272 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22273 }
22274 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
22275 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22276 }
22277 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
22278 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
22279 }
22280 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
22281 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
22282 }
22283 static void *_p_wxImageTo_p_wxObject(void *x) {
22284 return (void *)((wxObject *) ((wxImage *) x));
22285 }
22286 static void *_p_wxFrameTo_p_wxObject(void *x) {
22287 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
22288 }
22289 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
22290 return (void *)((wxObject *) ((wxPyPrintout *) x));
22291 }
22292 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
22293 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
22294 }
22295 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
22296 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
22297 }
22298 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
22299 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
22300 }
22301 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
22302 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
22303 }
22304 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
22305 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22306 }
22307 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
22308 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
22309 }
22310 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
22311 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
22312 }
22313 static void *_p_wxWindowTo_p_wxObject(void *x) {
22314 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
22315 }
22316 static void *_p_wxMenuTo_p_wxObject(void *x) {
22317 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
22318 }
22319 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
22320 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
22321 }
22322 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
22323 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
22324 }
22325 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
22326 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
22327 }
22328 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
22329 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
22330 }
22331 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
22332 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
22333 }
22334 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
22335 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
22336 }
22337 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
22338 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
22339 }
22340 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
22341 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
22342 }
22343 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
22344 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22345 }
22346 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
22347 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22348 }
22349 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
22350 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
22351 }
22352 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
22353 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
22354 }
22355 static void *_p_wxSashEventTo_p_wxObject(void *x) {
22356 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
22357 }
22358 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
22359 return (void *)((wxObject *) ((wxPrintPreview *) x));
22360 }
22361 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
22362 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
22363 }
22364 static void *_p_wxPanelTo_p_wxObject(void *x) {
22365 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
22366 }
22367 static void *_p_wxDialogTo_p_wxObject(void *x) {
22368 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
22369 }
22370 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
22371 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
22372 }
22373 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
22374 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
22375 }
22376 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
22377 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
22378 }
22379 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
22380 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22381 }
22382 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
22383 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22384 }
22385 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
22386 return (void *)((wxObject *) ((wxFileSystem *) x));
22387 }
22388 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
22389 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
22390 }
22391 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
22392 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
22393 }
22394 static void *_p_wxPyAppTo_p_wxObject(void *x) {
22395 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
22396 }
22397 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
22398 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
22399 }
22400 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
22401 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
22402 }
22403 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
22404 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
22405 }
22406 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
22407 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
22408 }
22409 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
22410 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
22411 }
22412 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
22413 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
22414 }
22415 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
22416 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22417 }
22418 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
22419 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
22420 }
22421 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
22422 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
22423 }
22424 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
22425 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
22426 }
22427 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
22428 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
22429 }
22430 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
22431 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
22432 }
22433 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
22434 return (void *)((wxObject *) ((wxPrintDialogData *) x));
22435 }
22436 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
22437 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
22438 }
22439 static void *_p_wxValidatorTo_p_wxObject(void *x) {
22440 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
22441 }
22442 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
22443 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22444 }
22445 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
22446 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
22447 }
22448 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
22449 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22450 }
22451 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
22452 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22453 }
22454 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
22455 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22456 }
22457 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
22458 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
22459 }
22460 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
22461 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
22462 }
22463 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
22464 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
22465 }
22466 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
22467 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
22468 }
22469 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
22470 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
22471 }
22472 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
22473 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
22474 }
22475 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
22476 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
22477 }
22478 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
22479 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
22480 }
22481 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
22482 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
22483 }
22484 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
22485 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
22486 }
22487 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
22488 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
22489 }
22490 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
22491 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
22492 }
22493 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
22494 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
22495 }
22496 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
22497 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
22498 }
22499 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
22500 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
22501 }
22502 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
22503 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
22504 }
22505 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22506 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
22507 }
22508 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22509 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
22510 }
22511 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
22512 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
22513 }
22514 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22515 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
22516 }
22517 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22518 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22519 }
22520 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
22521 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
22522 }
22523 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
22524 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
22525 }
22526 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
22527 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
22528 }
22529 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
22530 return (void *)((wxWindow *) ((wxMenuBar *) x));
22531 }
22532 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
22533 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
22534 }
22535 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
22536 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
22537 }
22538 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
22539 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
22540 }
22541 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
22542 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
22543 }
22544 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
22545 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
22546 }
22547 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
22548 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
22549 }
22550 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
22551 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
22552 }
22553 static void *_p_wxPanelTo_p_wxWindow(void *x) {
22554 return (void *)((wxWindow *) ((wxPanel *) x));
22555 }
22556 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
22557 return (void *)((wxWindow *) ((wxStatusBar *) x));
22558 }
22559 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
22560 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
22561 }
22562 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
22563 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
22564 }
22565 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
22566 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22567 }
22568 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
22569 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22570 }
22571 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
22572 return (void *)((wxWindow *) ((wxPopupWindow *) x));
22573 }
22574 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
22575 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
22576 }
22577 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
22578 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
22579 }
22580 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
22581 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
22582 }
22583 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
22584 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
22585 }
22586 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
22587 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
22588 }
22589 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
22590 return (void *)((wxWindow *) ((wxSashWindow *) x));
22591 }
22592 static void *_p_wxControlTo_p_wxWindow(void *x) {
22593 return (void *)((wxWindow *) ((wxControl *) x));
22594 }
22595 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
22596 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
22597 }
22598 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
22599 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22600 }
22601 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
22602 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
22603 }
22604 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
22605 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
22606 }
22607 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
22608 return (void *)((wxWindow *) ((wxPyWindow *) x));
22609 }
22610 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
22611 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
22612 }
22613 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
22614 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22615 }
22616 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
22617 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22618 }
22619 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
22620 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
22621 }
22622 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
22623 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22624 }
22625 static void *_p_wxFrameTo_p_wxWindow(void *x) {
22626 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
22627 }
22628 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
22629 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
22630 }
22631 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
22632 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
22633 }
22634 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
22635 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
22636 }
22637 static void *_p_wxDialogTo_p_wxWindow(void *x) {
22638 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
22639 }
22640 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
22641 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22642 }
22643 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
22644 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22645 }
22646 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
22647 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
22648 }
22649 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
22650 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
22651 }
22652 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
22653 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
22654 }
22655 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
22656 return (void *)((wxDialog *) ((wxColourDialog *) x));
22657 }
22658 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
22659 return (void *)((wxDialog *) ((wxDirDialog *) x));
22660 }
22661 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
22662 return (void *)((wxDialog *) ((wxFontDialog *) x));
22663 }
22664 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
22665 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
22666 }
22667 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
22668 return (void *)((wxDialog *) ((wxPrintDialog *) x));
22669 }
22670 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
22671 return (void *)((wxDialog *) ((wxFileDialog *) x));
22672 }
22673 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
22674 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
22675 }
22676 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
22677 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
22678 }
22679 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
22680 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
22681 }
22682 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
22683 return (void *)((wxDialog *) ((wxMessageDialog *) x));
22684 }
22685 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
22686 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
22687 }
22688 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
22689 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
22690 }
22691 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
22692 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
22693 }
22694 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
22695 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22696 }
22697 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
22698 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22699 }
22700 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
22701 return (void *)((wxPanel *) ((wxPyPanel *) x));
22702 }
22703 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
22704 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
22705 }
22706 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
22707 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
22708 }
22709 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
22710 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22711 }
22712 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
22713 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
22714 }
22715 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
22716 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
22717 }
22718 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
22719 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
22720 }
22721 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
22722 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
22723 }
22724 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
22725 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
22726 }
22727 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
22728 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22729 }
22730 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
22731 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
22732 }
22733 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
22734 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
22735 }
22736 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
22737 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
22738 }
22739 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
22740 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
22741 }
22742 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
22743 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
22744 }
22745 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
22746 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22747 }
22748 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
22749 static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame},{0}};
22750 static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
22751 static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
22752 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
22753 static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
22754 static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
22755 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}};
22756 static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
22757 static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
22758 static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
22759 static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
22760 static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
22761 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
22762 static swig_type_info _swigt__p_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
22763 static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
22764 static swig_type_info _swigt__p_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
22765 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
22766 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
22767 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
22768 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
22769 static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
22770 static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
22771 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent},{"_p_wxNotifyEvent"},{0}};
22772 static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
22773 static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
22774 static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
22775 static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
22776 static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
22777 static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
22778 static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
22779 static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
22780 static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
22781 static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
22782 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
22783 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler},{"_p_wxEvtHandler"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler},{0}};
22784 static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
22785 static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
22786 static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox},{0}};
22787 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
22788 static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
22789 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame},{"_p_wxFrame"},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame},{0}};
22790 static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
22791 static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
22792 static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
22793 static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
22794 static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
22795 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
22796 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxFrame", _p_wxFrameTo_p_wxObject},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject},{"_p_wxPanel", _p_wxPanelTo_p_wxObject},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject},{"_p_wxDialog", _p_wxDialogTo_p_wxObject},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{0}};
22797 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
22798 static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
22799 static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
22800 static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
22801 static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
22802 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}};
22803 static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow},{0}};
22804 static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0},{"_p_wxPopupWindow"},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow},{0}};
22805 static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow},{0}};
22806 static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow},{"_p_wxTopLevelWindow"},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow},{0}};
22807 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow},{0}};
22808 static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}};
22809 static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
22810 static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
22811 static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview},{0}};
22812 static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
22813 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
22814 static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
22815 static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
22816 static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
22817 static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
22818 static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
22819 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}};
22820 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}};
22821 static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
22822 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
22823 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}};
22824 static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar},{0}};
22825 static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
22826 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
22827 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
22828 static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
22829 static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
22830
22831 static swig_type_info *swig_types_initial[] = {
22832 _swigt__p_wxQueryLayoutInfoEvent,
22833 _swigt__p_wxPreviewFrame,
22834 _swigt__p_wxPyPreviewFrame,
22835 _swigt__p_wxPyPanel,
22836 _swigt__p_wxMenu,
22837 _swigt__p_wxPrintData,
22838 _swigt__p_wxFontData,
22839 _swigt__p_wxEvent,
22840 _swigt__p_wxTaskBarIcon,
22841 _swigt__p_wxIconBundle,
22842 _swigt__p_wxLayoutAlgorithm,
22843 _swigt__p_wxFindDialogEvent,
22844 _swigt__p_wxPreviewCanvas,
22845 _swigt__p_wxFont,
22846 _swigt__p_wxSplitterEvent,
22847 _swigt__p_wxRegion,
22848 _swigt__p_wxFindReplaceData,
22849 _swigt__p_int,
22850 _swigt__p_wxSize,
22851 _swigt__p_wxDC,
22852 _swigt__p_wxIcon,
22853 _swigt__p_wxMDIChildFrame,
22854 _swigt__p_wxColourData,
22855 _swigt__p_wxNotifyEvent,
22856 _swigt__p_wxPyWindow,
22857 _swigt__p_wxSplashScreen,
22858 _swigt__p_wxFindReplaceDialog,
22859 _swigt__p_wxProgressDialog,
22860 _swigt__p_wxMessageDialog,
22861 _swigt__p_wxTextEntryDialog,
22862 _swigt__p_wxSingleChoiceDialog,
22863 _swigt__p_wxMultiChoiceDialog,
22864 _swigt__p_wxFileDialog,
22865 _swigt__p_wxPrinter,
22866 _swigt__p_wxArrayInt,
22867 _swigt__p_wxEvtHandler,
22868 _swigt__p_wxCalculateLayoutEvent,
22869 _swigt__p_wxPyHtmlListBox,
22870 _swigt__p_wxPyVListBox,
22871 _swigt__p_wxRect,
22872 _swigt__p_wxMiniFrame,
22873 _swigt__p_wxFrame,
22874 _swigt__p_wxPyPrintout,
22875 _swigt__p_wxTaskBarIconEvent,
22876 _swigt__p_wxScrollWinEvent,
22877 _swigt__p_wxStatusBar,
22878 _swigt__p_wxMDIParentFrame,
22879 _swigt__p_wxPoint,
22880 _swigt__p_wxObject,
22881 _swigt__p_unsigned_long,
22882 _swigt__p_wxMDIClientWindow,
22883 _swigt__p_wxTipWindow,
22884 _swigt__p_wxSashLayoutWindow,
22885 _swigt__p_wxSplitterWindow,
22886 _swigt__p_wxPyVScrolledWindow,
22887 _swigt__p_wxPyPopupTransientWindow,
22888 _swigt__p_wxPopupWindow,
22889 _swigt__p_wxSashWindow,
22890 _swigt__p_wxTopLevelWindow,
22891 _swigt__p_wxWindow,
22892 _swigt__p_wxScrolledWindow,
22893 _swigt__p_wxSplashScreenWindow,
22894 _swigt__p_wxMenuBar,
22895 _swigt__p_wxPrintPreview,
22896 _swigt__p_wxSashEvent,
22897 _swigt__p_wxString,
22898 _swigt__p_wxPyPrintPreview,
22899 _swigt__p_wxPageSetupDialog,
22900 _swigt__p_wxFontDialog,
22901 _swigt__p_wxDirDialog,
22902 _swigt__p_wxColourDialog,
22903 _swigt__p_wxDialog,
22904 _swigt__p_wxPanel,
22905 _swigt__p_wxPrintDialog,
22906 _swigt__p_wxBitmap,
22907 _swigt__p_wxCommandEvent,
22908 _swigt__p_wxPreviewControlBar,
22909 _swigt__p_wxPyPreviewControlBar,
22910 _swigt__p_wxColour,
22911 _swigt__p_wxToolBar,
22912 _swigt__p_wxPrintDialogData,
22913 _swigt__p_wxPageSetupDialogData,
22914 0
22915 };
22916
22917
22918 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22919
22920 static swig_const_info swig_const_table[] = {
22921 { SWIG_PY_INT, (char *)"FULLSCREEN_NOMENUBAR", (long) wxFULLSCREEN_NOMENUBAR, 0, 0, 0},
22922 { SWIG_PY_INT, (char *)"FULLSCREEN_NOTOOLBAR", (long) wxFULLSCREEN_NOTOOLBAR, 0, 0, 0},
22923 { SWIG_PY_INT, (char *)"FULLSCREEN_NOSTATUSBAR", (long) wxFULLSCREEN_NOSTATUSBAR, 0, 0, 0},
22924 { SWIG_PY_INT, (char *)"FULLSCREEN_NOBORDER", (long) wxFULLSCREEN_NOBORDER, 0, 0, 0},
22925 { SWIG_PY_INT, (char *)"FULLSCREEN_NOCAPTION", (long) wxFULLSCREEN_NOCAPTION, 0, 0, 0},
22926 { SWIG_PY_INT, (char *)"FULLSCREEN_ALL", (long) wxFULLSCREEN_ALL, 0, 0, 0},
22927 { SWIG_PY_INT, (char *)"TOPLEVEL_EX_DIALOG", (long) wxTOPLEVEL_EX_DIALOG, 0, 0, 0},
22928 { SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_PARENT", (long) wxSPLASH_CENTRE_ON_PARENT, 0, 0, 0},
22929 { SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_SCREEN", (long) wxSPLASH_CENTRE_ON_SCREEN, 0, 0, 0},
22930 { SWIG_PY_INT, (char *)"SPLASH_NO_CENTRE", (long) wxSPLASH_NO_CENTRE, 0, 0, 0},
22931 { SWIG_PY_INT, (char *)"SPLASH_TIMEOUT", (long) wxSPLASH_TIMEOUT, 0, 0, 0},
22932 { SWIG_PY_INT, (char *)"SPLASH_NO_TIMEOUT", (long) wxSPLASH_NO_TIMEOUT, 0, 0, 0},
22933 { SWIG_PY_INT, (char *)"SP_NOBORDER", (long) wxSP_NOBORDER, 0, 0, 0},
22934 { SWIG_PY_INT, (char *)"SP_NOSASH", (long) wxSP_NOSASH, 0, 0, 0},
22935 { SWIG_PY_INT, (char *)"SP_PERMIT_UNSPLIT", (long) wxSP_PERMIT_UNSPLIT, 0, 0, 0},
22936 { SWIG_PY_INT, (char *)"SP_LIVE_UPDATE", (long) wxSP_LIVE_UPDATE, 0, 0, 0},
22937 { SWIG_PY_INT, (char *)"SP_3DSASH", (long) wxSP_3DSASH, 0, 0, 0},
22938 { SWIG_PY_INT, (char *)"SP_3DBORDER", (long) wxSP_3DBORDER, 0, 0, 0},
22939 { SWIG_PY_INT, (char *)"SP_BORDER", (long) wxSP_BORDER, 0, 0, 0},
22940 { SWIG_PY_INT, (char *)"SP_3D", (long) wxSP_3D, 0, 0, 0},
22941 { SWIG_PY_INT, (char *)"SPLIT_HORIZONTAL", (long) wxSPLIT_HORIZONTAL, 0, 0, 0},
22942 { SWIG_PY_INT, (char *)"SPLIT_VERTICAL", (long) wxSPLIT_VERTICAL, 0, 0, 0},
22943 { SWIG_PY_INT, (char *)"SPLIT_DRAG_NONE", (long) wxSPLIT_DRAG_NONE, 0, 0, 0},
22944 { SWIG_PY_INT, (char *)"SPLIT_DRAG_DRAGGING", (long) wxSPLIT_DRAG_DRAGGING, 0, 0, 0},
22945 { SWIG_PY_INT, (char *)"SPLIT_DRAG_LEFT_DOWN", (long) wxSPLIT_DRAG_LEFT_DOWN, 0, 0, 0},
22946 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, 0, 0, 0},
22947 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 0, 0, 0},
22948 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", (long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 0, 0, 0},
22949 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_UNSPLIT", (long) wxEVT_COMMAND_SPLITTER_UNSPLIT, 0, 0, 0},
22950 { SWIG_PY_INT, (char *)"SASH_DRAG_NONE", (long) wxSASH_DRAG_NONE, 0, 0, 0},
22951 { SWIG_PY_INT, (char *)"SASH_DRAG_DRAGGING", (long) wxSASH_DRAG_DRAGGING, 0, 0, 0},
22952 { SWIG_PY_INT, (char *)"SASH_DRAG_LEFT_DOWN", (long) wxSASH_DRAG_LEFT_DOWN, 0, 0, 0},
22953 { SWIG_PY_INT, (char *)"SW_NOBORDER", (long) wxSW_NOBORDER, 0, 0, 0},
22954 { SWIG_PY_INT, (char *)"SW_BORDER", (long) wxSW_BORDER, 0, 0, 0},
22955 { SWIG_PY_INT, (char *)"SW_3DSASH", (long) wxSW_3DSASH, 0, 0, 0},
22956 { SWIG_PY_INT, (char *)"SW_3DBORDER", (long) wxSW_3DBORDER, 0, 0, 0},
22957 { SWIG_PY_INT, (char *)"SW_3D", (long) wxSW_3D, 0, 0, 0},
22958 { SWIG_PY_INT, (char *)"SASH_TOP", (long) wxSASH_TOP, 0, 0, 0},
22959 { SWIG_PY_INT, (char *)"SASH_RIGHT", (long) wxSASH_RIGHT, 0, 0, 0},
22960 { SWIG_PY_INT, (char *)"SASH_BOTTOM", (long) wxSASH_BOTTOM, 0, 0, 0},
22961 { SWIG_PY_INT, (char *)"SASH_LEFT", (long) wxSASH_LEFT, 0, 0, 0},
22962 { SWIG_PY_INT, (char *)"SASH_NONE", (long) wxSASH_NONE, 0, 0, 0},
22963 { SWIG_PY_INT, (char *)"SASH_STATUS_OK", (long) wxSASH_STATUS_OK, 0, 0, 0},
22964 { SWIG_PY_INT, (char *)"SASH_STATUS_OUT_OF_RANGE", (long) wxSASH_STATUS_OUT_OF_RANGE, 0, 0, 0},
22965 { SWIG_PY_INT, (char *)"wxEVT_SASH_DRAGGED", (long) wxEVT_SASH_DRAGGED, 0, 0, 0},
22966 { SWIG_PY_INT, (char *)"LAYOUT_HORIZONTAL", (long) wxLAYOUT_HORIZONTAL, 0, 0, 0},
22967 { SWIG_PY_INT, (char *)"LAYOUT_VERTICAL", (long) wxLAYOUT_VERTICAL, 0, 0, 0},
22968 { SWIG_PY_INT, (char *)"LAYOUT_NONE", (long) wxLAYOUT_NONE, 0, 0, 0},
22969 { SWIG_PY_INT, (char *)"LAYOUT_TOP", (long) wxLAYOUT_TOP, 0, 0, 0},
22970 { SWIG_PY_INT, (char *)"LAYOUT_LEFT", (long) wxLAYOUT_LEFT, 0, 0, 0},
22971 { SWIG_PY_INT, (char *)"LAYOUT_RIGHT", (long) wxLAYOUT_RIGHT, 0, 0, 0},
22972 { SWIG_PY_INT, (char *)"LAYOUT_BOTTOM", (long) wxLAYOUT_BOTTOM, 0, 0, 0},
22973 { SWIG_PY_INT, (char *)"LAYOUT_LENGTH_Y", (long) wxLAYOUT_LENGTH_Y, 0, 0, 0},
22974 { SWIG_PY_INT, (char *)"LAYOUT_LENGTH_X", (long) wxLAYOUT_LENGTH_X, 0, 0, 0},
22975 { SWIG_PY_INT, (char *)"LAYOUT_MRU_LENGTH", (long) wxLAYOUT_MRU_LENGTH, 0, 0, 0},
22976 { SWIG_PY_INT, (char *)"LAYOUT_QUERY", (long) wxLAYOUT_QUERY, 0, 0, 0},
22977 { SWIG_PY_INT, (char *)"wxEVT_QUERY_LAYOUT_INFO", (long) wxEVT_QUERY_LAYOUT_INFO, 0, 0, 0},
22978 { SWIG_PY_INT, (char *)"wxEVT_CALCULATE_LAYOUT", (long) wxEVT_CALCULATE_LAYOUT, 0, 0, 0},
22979 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_MOVE", (long) wxEVT_TASKBAR_MOVE, 0, 0, 0},
22980 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DOWN", (long) wxEVT_TASKBAR_LEFT_DOWN, 0, 0, 0},
22981 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_UP", (long) wxEVT_TASKBAR_LEFT_UP, 0, 0, 0},
22982 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DOWN", (long) wxEVT_TASKBAR_RIGHT_DOWN, 0, 0, 0},
22983 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_UP", (long) wxEVT_TASKBAR_RIGHT_UP, 0, 0, 0},
22984 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DCLICK", (long) wxEVT_TASKBAR_LEFT_DCLICK, 0, 0, 0},
22985 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DCLICK", (long) wxEVT_TASKBAR_RIGHT_DCLICK, 0, 0, 0},
22986 { SWIG_PY_INT, (char *)"CHOICEDLG_STYLE", (long) wxCHOICEDLG_STYLE, 0, 0, 0},
22987 { SWIG_PY_INT, (char *)"FR_DOWN", (long) wxFR_DOWN, 0, 0, 0},
22988 { SWIG_PY_INT, (char *)"FR_WHOLEWORD", (long) wxFR_WHOLEWORD, 0, 0, 0},
22989 { SWIG_PY_INT, (char *)"FR_MATCHCASE", (long) wxFR_MATCHCASE, 0, 0, 0},
22990 { SWIG_PY_INT, (char *)"FR_REPLACEDIALOG", (long) wxFR_REPLACEDIALOG, 0, 0, 0},
22991 { SWIG_PY_INT, (char *)"FR_NOUPDOWN", (long) wxFR_NOUPDOWN, 0, 0, 0},
22992 { SWIG_PY_INT, (char *)"FR_NOMATCHCASE", (long) wxFR_NOMATCHCASE, 0, 0, 0},
22993 { SWIG_PY_INT, (char *)"FR_NOWHOLEWORD", (long) wxFR_NOWHOLEWORD, 0, 0, 0},
22994 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND", (long) wxEVT_COMMAND_FIND, 0, 0, 0},
22995 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_NEXT", (long) wxEVT_COMMAND_FIND_NEXT, 0, 0, 0},
22996 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE", (long) wxEVT_COMMAND_FIND_REPLACE, 0, 0, 0},
22997 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE_ALL", (long) wxEVT_COMMAND_FIND_REPLACE_ALL, 0, 0, 0},
22998 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_CLOSE", (long) wxEVT_COMMAND_FIND_CLOSE, 0, 0, 0},
22999 { SWIG_PY_INT, (char *)"IDM_WINDOWTILE", (long) 4001, 0, 0, 0},
23000 { SWIG_PY_INT, (char *)"IDM_WINDOWTILEHOR", (long) 4001, 0, 0, 0},
23001 { SWIG_PY_INT, (char *)"IDM_WINDOWCASCADE", (long) 4002, 0, 0, 0},
23002 { SWIG_PY_INT, (char *)"IDM_WINDOWICONS", (long) 4003, 0, 0, 0},
23003 { SWIG_PY_INT, (char *)"IDM_WINDOWNEXT", (long) 4004, 0, 0, 0},
23004 { SWIG_PY_INT, (char *)"IDM_WINDOWTILEVERT", (long) 4005, 0, 0, 0},
23005 { SWIG_PY_INT, (char *)"FIRST_MDI_CHILD", (long) 4100, 0, 0, 0},
23006 { SWIG_PY_INT, (char *)"LAST_MDI_CHILD", (long) 4600, 0, 0, 0},
23007 { SWIG_PY_INT, (char *)"PRINT_MODE_NONE", (long) wxPRINT_MODE_NONE, 0, 0, 0},
23008 { SWIG_PY_INT, (char *)"PRINT_MODE_PREVIEW", (long) wxPRINT_MODE_PREVIEW, 0, 0, 0},
23009 { SWIG_PY_INT, (char *)"PRINT_MODE_FILE", (long) wxPRINT_MODE_FILE, 0, 0, 0},
23010 { SWIG_PY_INT, (char *)"PRINT_MODE_PRINTER", (long) wxPRINT_MODE_PRINTER, 0, 0, 0},
23011 { SWIG_PY_INT, (char *)"PRINTER_NO_ERROR", (long) wxPRINTER_NO_ERROR, 0, 0, 0},
23012 { SWIG_PY_INT, (char *)"PRINTER_CANCELLED", (long) wxPRINTER_CANCELLED, 0, 0, 0},
23013 { SWIG_PY_INT, (char *)"PRINTER_ERROR", (long) wxPRINTER_ERROR, 0, 0, 0},
23014 { SWIG_PY_INT, (char *)"PREVIEW_PRINT", (long) wxPREVIEW_PRINT, 0, 0, 0},
23015 { SWIG_PY_INT, (char *)"PREVIEW_PREVIOUS", (long) wxPREVIEW_PREVIOUS, 0, 0, 0},
23016 { SWIG_PY_INT, (char *)"PREVIEW_NEXT", (long) wxPREVIEW_NEXT, 0, 0, 0},
23017 { SWIG_PY_INT, (char *)"PREVIEW_ZOOM", (long) wxPREVIEW_ZOOM, 0, 0, 0},
23018 { SWIG_PY_INT, (char *)"PREVIEW_FIRST", (long) wxPREVIEW_FIRST, 0, 0, 0},
23019 { SWIG_PY_INT, (char *)"PREVIEW_LAST", (long) wxPREVIEW_LAST, 0, 0, 0},
23020 { SWIG_PY_INT, (char *)"PREVIEW_GOTO", (long) wxPREVIEW_GOTO, 0, 0, 0},
23021 { SWIG_PY_INT, (char *)"PREVIEW_DEFAULT", (long) wxPREVIEW_DEFAULT, 0, 0, 0},
23022 { SWIG_PY_INT, (char *)"ID_PREVIEW_CLOSE", (long) wxID_PREVIEW_CLOSE, 0, 0, 0},
23023 { SWIG_PY_INT, (char *)"ID_PREVIEW_NEXT", (long) wxID_PREVIEW_NEXT, 0, 0, 0},
23024 { SWIG_PY_INT, (char *)"ID_PREVIEW_PREVIOUS", (long) wxID_PREVIEW_PREVIOUS, 0, 0, 0},
23025 { SWIG_PY_INT, (char *)"ID_PREVIEW_PRINT", (long) wxID_PREVIEW_PRINT, 0, 0, 0},
23026 { SWIG_PY_INT, (char *)"ID_PREVIEW_ZOOM", (long) wxID_PREVIEW_ZOOM, 0, 0, 0},
23027 { SWIG_PY_INT, (char *)"ID_PREVIEW_FIRST", (long) wxID_PREVIEW_FIRST, 0, 0, 0},
23028 { SWIG_PY_INT, (char *)"ID_PREVIEW_LAST", (long) wxID_PREVIEW_LAST, 0, 0, 0},
23029 { SWIG_PY_INT, (char *)"ID_PREVIEW_GOTO", (long) wxID_PREVIEW_GOTO, 0, 0, 0},
23030 {0}};
23031
23032 #ifdef __cplusplus
23033 }
23034 #endif
23035
23036 #ifdef __cplusplus
23037 extern "C"
23038 #endif
23039 SWIGEXPORT(void) SWIG_init(void) {
23040 static PyObject *SWIG_globals = 0;
23041 static int typeinit = 0;
23042 PyObject *m, *d;
23043 int i;
23044 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
23045 m = Py_InitModule((char *) SWIG_name, SwigMethods);
23046 d = PyModule_GetDict(m);
23047
23048 if (!typeinit) {
23049 for (i = 0; swig_types_initial[i]; i++) {
23050 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
23051 }
23052 typeinit = 1;
23053 }
23054 SWIG_InstallConstants(d,swig_const_table);
23055
23056 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
23057 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
23058 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
23059 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
23060 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
23061 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
23062 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
23063 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
23064 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
23065 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
23066 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
23067 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
23068 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
23069 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
23070 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
23071 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
23072
23073 // Map renamed classes back to their common name for OOR
23074 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
23075 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
23076 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
23077
23078 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
23079 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
23080 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
23081 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
23082 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
23083 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
23084 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
23085 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
23086 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
23087 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
23088 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
23089 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
23090 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
23091 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
23092 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
23093 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
23094 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
23095 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
23096 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
23097 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
23098
23099 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
23100
23101 }
23102