]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/windows_wrap.cpp
Starting to update the tarball and rpm spec files for 2.5. Mostly
[wxWidgets.git] / wxPython / src / gtk / windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.20
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124
125 #endif
126
127
128 /***********************************************************************
129 * pyrun.swg for wxPython
130 *
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 * anyway.
135 *
136 ************************************************************************/
137
138 #include "Python.h"
139
140 #ifdef __cplusplus
141 extern "C" {
142 #endif
143
144 #define SWIG_PY_INT 1
145 #define SWIG_PY_FLOAT 2
146 #define SWIG_PY_STRING 3
147 #define SWIG_PY_POINTER 4
148 #define SWIG_PY_BINARY 5
149
150 /* Flags for pointer conversion */
151
152 #define SWIG_POINTER_EXCEPTION 0x1
153 #define SWIG_POINTER_DISOWN 0x2
154
155 /* Exception handling in wrappers */
156 #define SWIG_fail goto fail
157
158 /* Constant information structure */
159 typedef struct swig_const_info {
160 int type;
161 char *name;
162 long lvalue;
163 double dvalue;
164 void *pvalue;
165 swig_type_info **ptype;
166 } swig_const_info;
167
168 /* Common SWIG API */
169 #define SWIG_ConvertPtr(obj, pp, type, flags) \
170 SWIG_Python_ConvertPtr(obj, pp, type, flags)
171 #define SWIG_NewPointerObj(p, type, flags) \
172 SWIG_Python_NewPointerObj(p, type, flags)
173 #define SWIG_MustGetPtr(p, type, argnum, flags) \
174 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175
176 /* Python-specific SWIG API */
177 #define SWIG_newvarlink() \
178 SWIG_Python_newvarlink()
179 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
180 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
181 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
182 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
183 #define SWIG_NewPackedObj(ptr, sz, type) \
184 SWIG_Python_NewPackedObj(ptr, sz, type)
185 #define SWIG_InstallConstants(d, constants) \
186 SWIG_Python_InstallConstants(d, constants)
187
188
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198
199
200 /* Contract support */
201
202 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
203
204 #ifdef __cplusplus
205 }
206 #endif
207
208
209
210 /* -------- TYPES TABLE (BEGIN) -------- */
211
212 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
213 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
214 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
215 #define SWIGTYPE_p_wxPyPanel swig_types[3]
216 #define SWIGTYPE_p_wxMenu swig_types[4]
217 #define SWIGTYPE_p_wxPrintData swig_types[5]
218 #define SWIGTYPE_p_wxFontData swig_types[6]
219 #define SWIGTYPE_p_wxEvent swig_types[7]
220 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
221 #define SWIGTYPE_p_wxIconBundle swig_types[9]
222 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
223 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
224 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
225 #define SWIGTYPE_p_wxFont swig_types[13]
226 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
227 #define SWIGTYPE_p_wxRegion swig_types[15]
228 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
229 #define SWIGTYPE_p_int swig_types[17]
230 #define SWIGTYPE_p_wxSize swig_types[18]
231 #define SWIGTYPE_p_wxDC swig_types[19]
232 #define SWIGTYPE_p_wxIcon swig_types[20]
233 #define SWIGTYPE_p_wxMDIChildFrame swig_types[21]
234 #define SWIGTYPE_p_wxColourData swig_types[22]
235 #define SWIGTYPE_p_wxNotifyEvent swig_types[23]
236 #define SWIGTYPE_p_wxPyWindow swig_types[24]
237 #define SWIGTYPE_p_wxSplashScreen swig_types[25]
238 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
239 #define SWIGTYPE_p_wxProgressDialog swig_types[27]
240 #define SWIGTYPE_p_wxMessageDialog swig_types[28]
241 #define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
242 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
243 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
244 #define SWIGTYPE_p_wxFileDialog swig_types[32]
245 #define SWIGTYPE_p_wxPrinter swig_types[33]
246 #define SWIGTYPE_p_wxArrayInt swig_types[34]
247 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
248 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
249 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
250 #define SWIGTYPE_p_wxPyVListBox swig_types[38]
251 #define SWIGTYPE_p_wxRect swig_types[39]
252 #define SWIGTYPE_p_wxMiniFrame swig_types[40]
253 #define SWIGTYPE_p_wxFrame swig_types[41]
254 #define SWIGTYPE_p_wxPyPrintout swig_types[42]
255 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[43]
256 #define SWIGTYPE_p_wxScrollWinEvent swig_types[44]
257 #define SWIGTYPE_p_wxStatusBar swig_types[45]
258 #define SWIGTYPE_p_wxMDIParentFrame swig_types[46]
259 #define SWIGTYPE_p_wxPoint swig_types[47]
260 #define SWIGTYPE_p_wxObject swig_types[48]
261 #define SWIGTYPE_p_unsigned_long swig_types[49]
262 #define SWIGTYPE_p_wxMDIClientWindow swig_types[50]
263 #define SWIGTYPE_p_wxTipWindow swig_types[51]
264 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[52]
265 #define SWIGTYPE_p_wxSplitterWindow swig_types[53]
266 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[54]
267 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[55]
268 #define SWIGTYPE_p_wxPopupWindow swig_types[56]
269 #define SWIGTYPE_p_wxSashWindow swig_types[57]
270 #define SWIGTYPE_p_wxTopLevelWindow swig_types[58]
271 #define SWIGTYPE_p_wxWindow swig_types[59]
272 #define SWIGTYPE_p_wxScrolledWindow swig_types[60]
273 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[61]
274 #define SWIGTYPE_p_wxMenuBar swig_types[62]
275 #define SWIGTYPE_p_wxPrintPreview swig_types[63]
276 #define SWIGTYPE_p_wxSashEvent swig_types[64]
277 #define SWIGTYPE_p_wxString swig_types[65]
278 #define SWIGTYPE_p_wxPyPrintPreview swig_types[66]
279 #define SWIGTYPE_p_wxPageSetupDialog swig_types[67]
280 #define SWIGTYPE_p_wxFontDialog swig_types[68]
281 #define SWIGTYPE_p_wxDirDialog swig_types[69]
282 #define SWIGTYPE_p_wxColourDialog swig_types[70]
283 #define SWIGTYPE_p_wxDialog swig_types[71]
284 #define SWIGTYPE_p_wxPanel swig_types[72]
285 #define SWIGTYPE_p_wxPrintDialog swig_types[73]
286 #define SWIGTYPE_p_wxBitmap swig_types[74]
287 #define SWIGTYPE_p_wxCommandEvent swig_types[75]
288 #define SWIGTYPE_p_wxPreviewControlBar swig_types[76]
289 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[77]
290 #define SWIGTYPE_p_wxColour swig_types[78]
291 #define SWIGTYPE_p_wxToolBar swig_types[79]
292 #define SWIGTYPE_p_wxPrintDialogData swig_types[80]
293 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[81]
294 static swig_type_info *swig_types[83];
295
296 /* -------- TYPES TABLE (END) -------- */
297
298
299 /*-----------------------------------------------
300 @(target):= _windows.so
301 ------------------------------------------------*/
302 #define SWIG_init init_windows
303
304 #define SWIG_name "_windows"
305
306 #include "wx/wxPython/wxPython.h"
307 #include "wx/wxPython/pyclasses.h"
308
309
310 static const wxString wxPyEmptyString(wxEmptyString);
311 static const wxString wxPyPanelNameStr(wxPanelNameStr);
312
313
314
315 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
316 PyObject* o2;
317 PyObject* o3;
318
319 if (!target) {
320 target = o;
321 } else if (target == Py_None) {
322 Py_DECREF(Py_None);
323 target = o;
324 } else {
325 if (!PyTuple_Check(target)) {
326 o2 = target;
327 target = PyTuple_New(1);
328 PyTuple_SetItem(target, 0, o2);
329 }
330 o3 = PyTuple_New(1);
331 PyTuple_SetItem(o3, 0, o);
332
333 o2 = target;
334 target = PySequence_Concat(o2, o3);
335 Py_DECREF(o2);
336 Py_DECREF(o3);
337 }
338 return target;
339 }
340
341 static const wxString wxPyFrameNameStr(wxFrameNameStr);
342 static const wxString wxPyDialogNameStr(wxDialogNameStr);
343 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
344 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
345 bool wxDialog_IsModalShowing(wxDialog *self){
346
347 return self->m_modalShowing;
348
349
350
351 }
352
353
354 wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
355 wxRect r;
356 self->GetFieldRect(i, r);
357 return r;
358 }
359 static const wxString wxPySplitterNameStr(wxT("splitter"));
360 static const wxString wxPySashNameStr(wxT("sashWindow"));
361 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
362
363 #include <wx/popupwin.h>
364
365
366 class wxPyPopupTransientWindow : public wxPopupTransientWindow
367 {
368 public:
369 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
370 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
371 : wxPopupTransientWindow(parent, style) {}
372
373 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
374 DEC_PYCALLBACK__(OnDismiss);
375 DEC_PYCALLBACK_BOOL_(CanDismiss);
376 PYPRIVATE;
377 };
378
379
380 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
381 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
382 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
383
384
385 #include <wx/tipwin.h>
386
387 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
388 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
389 }
390
391 #include <wx/tipwin.h>
392
393
394 #include <wx/vscroll.h>
395
396
397 class wxPyVScrolledWindow : public wxVScrolledWindow
398 {
399 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
400 public:
401 wxPyVScrolledWindow() : wxVScrolledWindow() {}
402
403 wxPyVScrolledWindow(wxWindow *parent,
404 wxWindowID id = wxID_ANY,
405 const wxPoint& pos = wxDefaultPosition,
406 const wxSize& size = wxDefaultSize,
407 long style = 0,
408 const wxString& name = wxPyPanelNameStr)
409 : wxVScrolledWindow(parent, id, pos, size, style, name)
410 {}
411
412 // Overridable virtuals
413
414 // this function must be overridden in the derived class and it should
415 // return the height of the given line in pixels
416 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
417
418
419 // this function doesn't have to be overridden but it may be useful to do
420 // it if calculating the lines heights is a relatively expensive operation
421 // as it gives the user code a possibility to calculate several of them at
422 // once
423 //
424 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
425 // shouldn't rely on the latter being called for all lines in the interval
426 // specified here. It is also possible that OnGetLineHeight() will be
427 // called for the lines outside of this interval, so this is really just a
428 // hint, not a promise.
429 //
430 // finally note that lineMin is inclusive, while lineMax is exclusive, as
431 // usual
432 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
433
434
435 // when the number of lines changes, we try to estimate the total height
436 // of all lines which is a rather expensive operation in terms of lines
437 // access, so if the user code may estimate the average height
438 // better/faster than we do, it should override this function to implement
439 // its own logic
440 //
441 // this function should return the best guess for the total height it may
442 // make
443 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
444
445
446 // Also expose some other interesting protected methods
447
448
449 // find the index of the line we need to show at the top of the window such
450 // that the last (fully or partially) visible line is the given one
451 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
452 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
453
454 // get the total height of the lines between lineMin (inclusive) and
455 // lineMax (exclusive)
456 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
457 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
458
459
460 PYPRIVATE;
461 };
462
463 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
464
465 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
466 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
467 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
468
469
470 #include <wx/vlbox.h>
471
472 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
473
474 class wxPyVListBox : public wxVListBox
475 {
476 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
477 public:
478 wxPyVListBox() : wxVListBox() {}
479
480 wxPyVListBox(wxWindow *parent,
481 wxWindowID id = wxID_ANY,
482 const wxPoint& pos = wxDefaultPosition,
483 const wxSize& size = wxDefaultSize,
484 long style = 0,
485 const wxString& name = wxPyVListBoxNameStr)
486 : wxVListBox(parent, id, pos, size, style, name)
487 {}
488
489 // Overridable virtuals
490
491 // the derived class must implement this function to actually draw the item
492 // with the given index on the provided DC
493 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
494 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
495
496
497 // the derived class must implement this method to return the height of the
498 // specified item
499 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
500 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
501
502
503 // this method may be used to draw separators between the lines; note that
504 // the rectangle may be modified, typically to deflate it a bit before
505 // passing to OnDrawItem()
506 //
507 // the base class version doesn't do anything
508 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
509 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
510
511
512 // this method is used to draw the items background and, maybe, a border
513 // around it
514 //
515 // the base class version implements a reasonable default behaviour which
516 // consists in drawing the selected item with the standard background
517 // colour and drawing a border around the item if it is either selected or
518 // current
519 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
520 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
521
522
523 PYPRIVATE;
524 };
525
526 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
527
528 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
529 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
530 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
531 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
532
533
534
535 #include <wx/htmllbox.h>
536
537
538 class wxPyHtmlListBox : public wxHtmlListBox
539 {
540 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
541 public:
542 wxPyHtmlListBox() : wxHtmlListBox() {}
543
544 wxPyHtmlListBox(wxWindow *parent,
545 wxWindowID id = wxID_ANY,
546 const wxPoint& pos = wxDefaultPosition,
547 const wxSize& size = wxDefaultSize,
548 long style = 0,
549 const wxString& name = wxPyVListBoxNameStr)
550 : wxHtmlListBox(parent, id, pos, size, style, name)
551 {}
552
553 // Overridable virtuals
554
555 // this method must be implemented in the derived class and should return
556 // the body (i.e. without <html>) of the HTML for the given item
557 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
558
559 // this function may be overridden to decorate HTML returned by OnGetItem()
560 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
561
562 // TODO:
563 // // this method allows to customize the selection appearance: it may be used
564 // // to specify the colour of the text which normally has the given colour
565 // // colFg when it is inside the selection
566 // //
567 // // by default, the original colour is not used at all and all text has the
568 // // same (default for this system) colour inside selection
569 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
570
571 // // this is the same as GetSelectedTextColour() but allows to customize the
572 // // background colour -- this is even more rarely used as you can change it
573 // // globally using SetSelectionBackground()
574 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
575
576
577 PYPRIVATE;
578 };
579
580
581 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
582
583 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
584 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
585
586
587
588
589
590 #ifdef __WXMAC__
591 // implement dummy classes and such for wxMac
592
593 class wxTaskBarIcon : public wxEvtHandler
594 {
595 public:
596 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
597 };
598
599
600 class wxTaskBarIconEvent : public wxEvent
601 {
602 public:
603 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
604 { wxPyRaiseNotImplemented(); }
605 virtual wxEvent* Clone() const { return NULL; }
606 };
607
608 enum {
609 wxEVT_TASKBAR_MOVE = 0,
610 wxEVT_TASKBAR_LEFT_DOWN = 0,
611 wxEVT_TASKBAR_LEFT_UP = 0,
612 wxEVT_TASKBAR_RIGHT_DOWN = 0,
613 wxEVT_TASKBAR_RIGHT_UP = 0,
614 wxEVT_TASKBAR_LEFT_DCLICK = 0,
615 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
616 };
617 #endif
618
619 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
620 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
621 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
622 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
623 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
624 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
625 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
626 wxArrayString arr;
627 self->GetFilenames(arr);
628 return wxArrayString2PyList_helper(arr);
629 }
630 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
631 wxArrayString arr;
632 self->GetPaths(arr);
633 return wxArrayString2PyList_helper(arr);
634 }
635 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
636 return wxArrayInt2PyList_helper(self->GetSelections());
637 }
638 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
639 return new wxSingleChoiceDialog(parent, message, caption,
640 choices, choices_array, NULL, style, pos);
641 }
642
643 #include <wx/mdi.h>
644
645 // C++ version of Python aware wxWindow
646 class wxPyWindow : public wxWindow
647 {
648 DECLARE_DYNAMIC_CLASS(wxPyWindow)
649 public:
650 wxPyWindow() : wxWindow() {}
651 wxPyWindow(wxWindow* parent, const wxWindowID id,
652 const wxPoint& pos = wxDefaultPosition,
653 const wxSize& size = wxDefaultSize,
654 long style = 0,
655 const wxString& name = wxPyPanelNameStr)
656 : wxWindow(parent, id, pos, size, style, name) {}
657
658
659 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
660 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
661 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
662 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
663
664 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
665 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
666 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
667
668 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
669 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
670
671 DEC_PYCALLBACK__(InitDialog);
672 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
673 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
674 DEC_PYCALLBACK_BOOL_(Validate);
675
676 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
677 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
678 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
679
680 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
681 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
682
683 PYPRIVATE;
684 };
685
686 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
687
688 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
689 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
690 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
691 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
692
693 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
694 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
695 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
696
697 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
698 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
699
700 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
701 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
702 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
703 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
704
705 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
706 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
707 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
708
709 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
710 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
711
712
713 // C++ version of Python aware wxPanel
714 class wxPyPanel : public wxPanel
715 {
716 DECLARE_DYNAMIC_CLASS(wxPyPanel)
717 public:
718 wxPyPanel() : wxPanel() {}
719 wxPyPanel(wxWindow* parent, const wxWindowID id,
720 const wxPoint& pos = wxDefaultPosition,
721 const wxSize& size = wxDefaultSize,
722 long style = 0,
723 const wxString& name = wxPyPanelNameStr)
724 : wxPanel(parent, id, pos, size, style, name) {}
725
726
727 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
728 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
729 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
730 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
731
732 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
733 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
734 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
735
736 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
737 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
738
739 DEC_PYCALLBACK__(InitDialog);
740 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
741 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
742 DEC_PYCALLBACK_BOOL_(Validate);
743
744 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
745 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
746 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
747
748 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
749 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
750
751 PYPRIVATE;
752 };
753
754 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
755
756 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
757 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
758 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
759 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
760
761 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
762 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
763 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
764
765 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
766 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
767
768 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
769 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
770 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
771 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
772
773 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
774 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
775 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
776
777 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
778 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
779
780
781
782 #include "wx/wxPython/printfw.h"
783
784
785 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
786 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
787
788
789
790 // Since this one would be tough and ugly to do with the Macros...
791 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
792 bool hadErr = False;
793 bool found;
794
795 wxPyBeginBlockThreads();
796 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
797 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
798 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
799 PyObject* val;
800
801 val = PyTuple_GetItem(result, 0);
802 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
803 else hadErr = True;
804
805 val = PyTuple_GetItem(result, 1);
806 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
807 else hadErr = True;
808
809 val = PyTuple_GetItem(result, 2);
810 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
811 else hadErr = True;
812
813 val = PyTuple_GetItem(result, 3);
814 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
815 else hadErr = True;
816 }
817 else
818 hadErr = True;
819
820 if (hadErr) {
821 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
822 PyErr_Print();
823 }
824 Py_DECREF(result);
825 }
826 wxPyEndBlockThreads();
827 if (! found)
828 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
829 }
830
831 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
832 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
833 }
834
835
836 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
837 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
838 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
839 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
840 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
841 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
842 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
843
844
845
846
847
848 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
849 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
850 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
851
852
853 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
854 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
855 bool rval=False; \
856 bool found; \
857 wxPyBeginBlockThreads(); \
858 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
859 PyObject* win = wxPyMake_wxObject(a); \
860 PyObject* dc = wxPyMake_wxObject(&b); \
861 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
862 Py_DECREF(win); \
863 Py_DECREF(dc); \
864 } \
865 wxPyEndBlockThreads(); \
866 if (! found) \
867 rval = PCLASS::CBNAME(a, b); \
868 return rval; \
869 } \
870 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
871 return PCLASS::CBNAME(a, b); \
872 }
873
874
875
876
877 class wxPyPrintPreview : public wxPrintPreview
878 {
879 DECLARE_CLASS(wxPyPrintPreview)
880 public:
881 wxPyPrintPreview(wxPyPrintout* printout,
882 wxPyPrintout* printoutForPrinting,
883 wxPrintData* data=NULL)
884 : wxPrintPreview(printout, printoutForPrinting, data)
885 {}
886
887 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
888 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
889 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
890 DEC_PYCALLBACK_BOOL_INT(RenderPage);
891 DEC_PYCALLBACK_VOID_INT(SetZoom);
892 DEC_PYCALLBACK_BOOL_BOOL(Print);
893 DEC_PYCALLBACK_VOID_(DetermineScaling);
894
895 PYPRIVATE;
896 };
897
898 // Stupid renamed classes... Fix this in 2.5...
899 #if defined(__WXMSW__)
900 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
901 #elif defined(__WXMAC__)
902 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
903 #else
904 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
905 #endif
906
907 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
908 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
909 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
910 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
911 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
912 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
913 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
914
915
916 class wxPyPreviewFrame : public wxPreviewFrame
917 {
918 DECLARE_CLASS(wxPyPreviewFrame);
919 public:
920 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
921 const wxString& title,
922 const wxPoint& pos = wxDefaultPosition,
923 const wxSize& size = wxDefaultSize,
924 long style = wxDEFAULT_FRAME_STYLE,
925 const wxString& name = wxPyFrameNameStr)
926 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
927 {}
928
929 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
930 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
931
932 DEC_PYCALLBACK_VOID_(Initialize);
933 DEC_PYCALLBACK_VOID_(CreateCanvas);
934 DEC_PYCALLBACK_VOID_(CreateControlBar);
935
936 PYPRIVATE;
937 };
938
939 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
940
941 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
942 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
943 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
944
945
946 class wxPyPreviewControlBar : public wxPreviewControlBar
947 {
948 DECLARE_CLASS(wxPyPreviewControlBar);
949 public:
950 wxPyPreviewControlBar(wxPrintPreview *preview,
951 long buttons,
952 wxWindow *parent,
953 const wxPoint& pos = wxDefaultPosition,
954 const wxSize& size = wxDefaultSize,
955 long style = 0,
956 const wxString& name = wxPyPanelNameStr)
957 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
958 {}
959
960 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
961
962 DEC_PYCALLBACK_VOID_(CreateButtons);
963 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
964
965 PYPRIVATE;
966 };
967
968 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
969 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
970 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
971
972 #ifdef __cplusplus
973 extern "C" {
974 #endif
975 static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
976 PyObject *resultobj;
977 wxWindow *arg1 = (wxWindow *) 0 ;
978 int arg2 = (int) (int)-1 ;
979 wxPoint const &arg3_defvalue = wxDefaultPosition ;
980 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
981 wxSize const &arg4_defvalue = wxDefaultSize ;
982 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
983 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
984 wxString const &arg6_defvalue = wxPyPanelNameStr ;
985 wxString *arg6 = (wxString *) &arg6_defvalue ;
986 wxPanel *result;
987 wxPoint temp3 ;
988 wxSize temp4 ;
989 bool temp6 = False ;
990 PyObject * obj0 = 0 ;
991 PyObject * obj2 = 0 ;
992 PyObject * obj3 = 0 ;
993 PyObject * obj5 = 0 ;
994 char *kwnames[] = {
995 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
996 };
997
998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_Panel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1000 if (obj2) {
1001 {
1002 arg3 = &temp3;
1003 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1004 }
1005 }
1006 if (obj3) {
1007 {
1008 arg4 = &temp4;
1009 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1010 }
1011 }
1012 if (obj5) {
1013 {
1014 arg6 = wxString_in_helper(obj5);
1015 if (arg6 == NULL) SWIG_fail;
1016 temp6 = True;
1017 }
1018 }
1019 {
1020 PyThreadState* __tstate = wxPyBeginAllowThreads();
1021 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1022
1023 wxPyEndAllowThreads(__tstate);
1024 if (PyErr_Occurred()) SWIG_fail;
1025 }
1026 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1027 {
1028 if (temp6)
1029 delete arg6;
1030 }
1031 return resultobj;
1032 fail:
1033 {
1034 if (temp6)
1035 delete arg6;
1036 }
1037 return NULL;
1038 }
1039
1040
1041 static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1042 PyObject *resultobj;
1043 wxPanel *result;
1044 char *kwnames[] = {
1045 NULL
1046 };
1047
1048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1049 {
1050 PyThreadState* __tstate = wxPyBeginAllowThreads();
1051 result = (wxPanel *)new wxPanel();
1052
1053 wxPyEndAllowThreads(__tstate);
1054 if (PyErr_Occurred()) SWIG_fail;
1055 }
1056 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1057 return resultobj;
1058 fail:
1059 return NULL;
1060 }
1061
1062
1063 static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1064 PyObject *resultobj;
1065 wxPanel *arg1 = (wxPanel *) 0 ;
1066 wxWindow *arg2 = (wxWindow *) 0 ;
1067 int arg3 ;
1068 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1069 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1070 wxSize const &arg5_defvalue = wxDefaultSize ;
1071 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1072 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1073 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1074 wxString *arg7 = (wxString *) &arg7_defvalue ;
1075 bool result;
1076 wxPoint temp4 ;
1077 wxSize temp5 ;
1078 bool temp7 = False ;
1079 PyObject * obj0 = 0 ;
1080 PyObject * obj1 = 0 ;
1081 PyObject * obj3 = 0 ;
1082 PyObject * obj4 = 0 ;
1083 PyObject * obj6 = 0 ;
1084 char *kwnames[] = {
1085 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1086 };
1087
1088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Panel_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1090 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1091 if (obj3) {
1092 {
1093 arg4 = &temp4;
1094 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1095 }
1096 }
1097 if (obj4) {
1098 {
1099 arg5 = &temp5;
1100 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1101 }
1102 }
1103 if (obj6) {
1104 {
1105 arg7 = wxString_in_helper(obj6);
1106 if (arg7 == NULL) SWIG_fail;
1107 temp7 = True;
1108 }
1109 }
1110 {
1111 PyThreadState* __tstate = wxPyBeginAllowThreads();
1112 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1113
1114 wxPyEndAllowThreads(__tstate);
1115 if (PyErr_Occurred()) SWIG_fail;
1116 }
1117 resultobj = PyInt_FromLong((long)result);
1118 {
1119 if (temp7)
1120 delete arg7;
1121 }
1122 return resultobj;
1123 fail:
1124 {
1125 if (temp7)
1126 delete arg7;
1127 }
1128 return NULL;
1129 }
1130
1131
1132 static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1133 PyObject *resultobj;
1134 wxPanel *arg1 = (wxPanel *) 0 ;
1135 PyObject * obj0 = 0 ;
1136 char *kwnames[] = {
1137 (char *) "self", NULL
1138 };
1139
1140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1142 {
1143 PyThreadState* __tstate = wxPyBeginAllowThreads();
1144 (arg1)->InitDialog();
1145
1146 wxPyEndAllowThreads(__tstate);
1147 if (PyErr_Occurred()) SWIG_fail;
1148 }
1149 Py_INCREF(Py_None); resultobj = Py_None;
1150 return resultobj;
1151 fail:
1152 return NULL;
1153 }
1154
1155
1156 static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1157 PyObject *obj;
1158 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1159 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1160 Py_INCREF(obj);
1161 return Py_BuildValue((char *)"");
1162 }
1163 static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1164 PyObject *resultobj;
1165 wxWindow *arg1 = (wxWindow *) 0 ;
1166 int arg2 = (int) (int)-1 ;
1167 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1168 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1169 wxSize const &arg4_defvalue = wxDefaultSize ;
1170 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1171 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1172 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1173 wxString *arg6 = (wxString *) &arg6_defvalue ;
1174 wxScrolledWindow *result;
1175 wxPoint temp3 ;
1176 wxSize temp4 ;
1177 bool temp6 = False ;
1178 PyObject * obj0 = 0 ;
1179 PyObject * obj2 = 0 ;
1180 PyObject * obj3 = 0 ;
1181 PyObject * obj5 = 0 ;
1182 char *kwnames[] = {
1183 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1184 };
1185
1186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_ScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
1187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1188 if (obj2) {
1189 {
1190 arg3 = &temp3;
1191 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1192 }
1193 }
1194 if (obj3) {
1195 {
1196 arg4 = &temp4;
1197 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1198 }
1199 }
1200 if (obj5) {
1201 {
1202 arg6 = wxString_in_helper(obj5);
1203 if (arg6 == NULL) SWIG_fail;
1204 temp6 = True;
1205 }
1206 }
1207 {
1208 PyThreadState* __tstate = wxPyBeginAllowThreads();
1209 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1210
1211 wxPyEndAllowThreads(__tstate);
1212 if (PyErr_Occurred()) SWIG_fail;
1213 }
1214 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1215 {
1216 if (temp6)
1217 delete arg6;
1218 }
1219 return resultobj;
1220 fail:
1221 {
1222 if (temp6)
1223 delete arg6;
1224 }
1225 return NULL;
1226 }
1227
1228
1229 static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1230 PyObject *resultobj;
1231 wxScrolledWindow *result;
1232 char *kwnames[] = {
1233 NULL
1234 };
1235
1236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1237 {
1238 PyThreadState* __tstate = wxPyBeginAllowThreads();
1239 result = (wxScrolledWindow *)new wxScrolledWindow();
1240
1241 wxPyEndAllowThreads(__tstate);
1242 if (PyErr_Occurred()) SWIG_fail;
1243 }
1244 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1245 return resultobj;
1246 fail:
1247 return NULL;
1248 }
1249
1250
1251 static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1252 PyObject *resultobj;
1253 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1254 wxWindow *arg2 = (wxWindow *) 0 ;
1255 int arg3 = (int) (int)-1 ;
1256 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1257 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1258 wxSize const &arg5_defvalue = wxDefaultSize ;
1259 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1260 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1261 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1262 wxString *arg7 = (wxString *) &arg7_defvalue ;
1263 bool result;
1264 wxPoint temp4 ;
1265 wxSize temp5 ;
1266 bool temp7 = False ;
1267 PyObject * obj0 = 0 ;
1268 PyObject * obj1 = 0 ;
1269 PyObject * obj3 = 0 ;
1270 PyObject * obj4 = 0 ;
1271 PyObject * obj6 = 0 ;
1272 char *kwnames[] = {
1273 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1274 };
1275
1276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1278 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1279 if (obj3) {
1280 {
1281 arg4 = &temp4;
1282 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1283 }
1284 }
1285 if (obj4) {
1286 {
1287 arg5 = &temp5;
1288 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1289 }
1290 }
1291 if (obj6) {
1292 {
1293 arg7 = wxString_in_helper(obj6);
1294 if (arg7 == NULL) SWIG_fail;
1295 temp7 = True;
1296 }
1297 }
1298 {
1299 PyThreadState* __tstate = wxPyBeginAllowThreads();
1300 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1301
1302 wxPyEndAllowThreads(__tstate);
1303 if (PyErr_Occurred()) SWIG_fail;
1304 }
1305 resultobj = PyInt_FromLong((long)result);
1306 {
1307 if (temp7)
1308 delete arg7;
1309 }
1310 return resultobj;
1311 fail:
1312 {
1313 if (temp7)
1314 delete arg7;
1315 }
1316 return NULL;
1317 }
1318
1319
1320 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1321 PyObject *resultobj;
1322 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1323 int arg2 ;
1324 int arg3 ;
1325 int arg4 ;
1326 int arg5 ;
1327 int arg6 = (int) 0 ;
1328 int arg7 = (int) 0 ;
1329 bool arg8 = (bool) False ;
1330 PyObject * obj0 = 0 ;
1331 PyObject * obj7 = 0 ;
1332 char *kwnames[] = {
1333 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1334 };
1335
1336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|iiO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7,&obj7)) goto fail;
1337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1338 if (obj7) {
1339 arg8 = PyInt_AsLong(obj7) ? true : false;
1340 if (PyErr_Occurred()) SWIG_fail;
1341 }
1342 {
1343 PyThreadState* __tstate = wxPyBeginAllowThreads();
1344 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1345
1346 wxPyEndAllowThreads(__tstate);
1347 if (PyErr_Occurred()) SWIG_fail;
1348 }
1349 Py_INCREF(Py_None); resultobj = Py_None;
1350 return resultobj;
1351 fail:
1352 return NULL;
1353 }
1354
1355
1356 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1357 PyObject *resultobj;
1358 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1359 int arg2 ;
1360 int arg3 ;
1361 PyObject * obj0 = 0 ;
1362 char *kwnames[] = {
1363 (char *) "self",(char *) "x",(char *) "y", NULL
1364 };
1365
1366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_Scroll",kwnames,&obj0,&arg2,&arg3)) goto fail;
1367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1368 {
1369 PyThreadState* __tstate = wxPyBeginAllowThreads();
1370 (arg1)->Scroll(arg2,arg3);
1371
1372 wxPyEndAllowThreads(__tstate);
1373 if (PyErr_Occurred()) SWIG_fail;
1374 }
1375 Py_INCREF(Py_None); resultobj = Py_None;
1376 return resultobj;
1377 fail:
1378 return NULL;
1379 }
1380
1381
1382 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1383 PyObject *resultobj;
1384 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1385 int arg2 ;
1386 int result;
1387 PyObject * obj0 = 0 ;
1388 char *kwnames[] = {
1389 (char *) "self",(char *) "orient", NULL
1390 };
1391
1392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&arg2)) goto fail;
1393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1394 {
1395 PyThreadState* __tstate = wxPyBeginAllowThreads();
1396 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1397
1398 wxPyEndAllowThreads(__tstate);
1399 if (PyErr_Occurred()) SWIG_fail;
1400 }
1401 resultobj = PyInt_FromLong((long)result);
1402 return resultobj;
1403 fail:
1404 return NULL;
1405 }
1406
1407
1408 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1409 PyObject *resultobj;
1410 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1411 int arg2 ;
1412 int arg3 ;
1413 PyObject * obj0 = 0 ;
1414 char *kwnames[] = {
1415 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1416 };
1417
1418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
1419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1420 {
1421 PyThreadState* __tstate = wxPyBeginAllowThreads();
1422 (arg1)->SetScrollPageSize(arg2,arg3);
1423
1424 wxPyEndAllowThreads(__tstate);
1425 if (PyErr_Occurred()) SWIG_fail;
1426 }
1427 Py_INCREF(Py_None); resultobj = Py_None;
1428 return resultobj;
1429 fail:
1430 return NULL;
1431 }
1432
1433
1434 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1435 PyObject *resultobj;
1436 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1437 int arg2 ;
1438 int arg3 ;
1439 PyObject * obj0 = 0 ;
1440 char *kwnames[] = {
1441 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1442 };
1443
1444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollRate",kwnames,&obj0,&arg2,&arg3)) goto fail;
1445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1446 {
1447 PyThreadState* __tstate = wxPyBeginAllowThreads();
1448 (arg1)->SetScrollRate(arg2,arg3);
1449
1450 wxPyEndAllowThreads(__tstate);
1451 if (PyErr_Occurred()) SWIG_fail;
1452 }
1453 Py_INCREF(Py_None); resultobj = Py_None;
1454 return resultobj;
1455 fail:
1456 return NULL;
1457 }
1458
1459
1460 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1461 PyObject *resultobj;
1462 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1463 int *arg2 = (int *) 0 ;
1464 int *arg3 = (int *) 0 ;
1465 int temp2 ;
1466 int temp3 ;
1467 PyObject * obj0 = 0 ;
1468 char *kwnames[] = {
1469 (char *) "self", NULL
1470 };
1471
1472 arg2 = &temp2;
1473 arg3 = &temp3;
1474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1476 {
1477 PyThreadState* __tstate = wxPyBeginAllowThreads();
1478 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1479
1480 wxPyEndAllowThreads(__tstate);
1481 if (PyErr_Occurred()) SWIG_fail;
1482 }
1483 Py_INCREF(Py_None); resultobj = Py_None;
1484 {
1485 PyObject *o = PyInt_FromLong((long) (*arg2));
1486 resultobj = t_output_helper(resultobj,o);
1487 }
1488 {
1489 PyObject *o = PyInt_FromLong((long) (*arg3));
1490 resultobj = t_output_helper(resultobj,o);
1491 }
1492 return resultobj;
1493 fail:
1494 return NULL;
1495 }
1496
1497
1498 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1499 PyObject *resultobj;
1500 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1501 bool arg2 ;
1502 bool arg3 ;
1503 PyObject * obj0 = 0 ;
1504 PyObject * obj1 = 0 ;
1505 PyObject * obj2 = 0 ;
1506 char *kwnames[] = {
1507 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1508 };
1509
1510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1512 arg2 = PyInt_AsLong(obj1) ? true : false;
1513 if (PyErr_Occurred()) SWIG_fail;
1514 arg3 = PyInt_AsLong(obj2) ? true : false;
1515 if (PyErr_Occurred()) SWIG_fail;
1516 {
1517 PyThreadState* __tstate = wxPyBeginAllowThreads();
1518 (arg1)->EnableScrolling(arg2,arg3);
1519
1520 wxPyEndAllowThreads(__tstate);
1521 if (PyErr_Occurred()) SWIG_fail;
1522 }
1523 Py_INCREF(Py_None); resultobj = Py_None;
1524 return resultobj;
1525 fail:
1526 return NULL;
1527 }
1528
1529
1530 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1531 PyObject *resultobj;
1532 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1533 int *arg2 = (int *) 0 ;
1534 int *arg3 = (int *) 0 ;
1535 int temp2 ;
1536 int temp3 ;
1537 PyObject * obj0 = 0 ;
1538 char *kwnames[] = {
1539 (char *) "self", NULL
1540 };
1541
1542 arg2 = &temp2;
1543 arg3 = &temp3;
1544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1546 {
1547 PyThreadState* __tstate = wxPyBeginAllowThreads();
1548 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1549
1550 wxPyEndAllowThreads(__tstate);
1551 if (PyErr_Occurred()) SWIG_fail;
1552 }
1553 Py_INCREF(Py_None); resultobj = Py_None;
1554 {
1555 PyObject *o = PyInt_FromLong((long) (*arg2));
1556 resultobj = t_output_helper(resultobj,o);
1557 }
1558 {
1559 PyObject *o = PyInt_FromLong((long) (*arg3));
1560 resultobj = t_output_helper(resultobj,o);
1561 }
1562 return resultobj;
1563 fail:
1564 return NULL;
1565 }
1566
1567
1568 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
1569 PyObject *resultobj;
1570 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1571 double arg2 ;
1572 double arg3 ;
1573 PyObject * obj0 = 0 ;
1574 char *kwnames[] = {
1575 (char *) "self",(char *) "xs",(char *) "ys", NULL
1576 };
1577
1578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ScrolledWindow_SetScale",kwnames,&obj0,&arg2,&arg3)) goto fail;
1579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1580 {
1581 PyThreadState* __tstate = wxPyBeginAllowThreads();
1582 (arg1)->SetScale(arg2,arg3);
1583
1584 wxPyEndAllowThreads(__tstate);
1585 if (PyErr_Occurred()) SWIG_fail;
1586 }
1587 Py_INCREF(Py_None); resultobj = Py_None;
1588 return resultobj;
1589 fail:
1590 return NULL;
1591 }
1592
1593
1594 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
1595 PyObject *resultobj;
1596 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1597 double result;
1598 PyObject * obj0 = 0 ;
1599 char *kwnames[] = {
1600 (char *) "self", NULL
1601 };
1602
1603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
1604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1605 {
1606 PyThreadState* __tstate = wxPyBeginAllowThreads();
1607 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
1608
1609 wxPyEndAllowThreads(__tstate);
1610 if (PyErr_Occurred()) SWIG_fail;
1611 }
1612 resultobj = PyFloat_FromDouble(result);
1613 return resultobj;
1614 fail:
1615 return NULL;
1616 }
1617
1618
1619 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
1620 PyObject *resultobj;
1621 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1622 double result;
1623 PyObject * obj0 = 0 ;
1624 char *kwnames[] = {
1625 (char *) "self", NULL
1626 };
1627
1628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
1629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1630 {
1631 PyThreadState* __tstate = wxPyBeginAllowThreads();
1632 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
1633
1634 wxPyEndAllowThreads(__tstate);
1635 if (PyErr_Occurred()) SWIG_fail;
1636 }
1637 resultobj = PyFloat_FromDouble(result);
1638 return resultobj;
1639 fail:
1640 return NULL;
1641 }
1642
1643
1644 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1645 PyObject *resultobj;
1646 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1647 wxPoint *arg2 = 0 ;
1648 wxPoint result;
1649 wxPoint temp2 ;
1650 PyObject * obj0 = 0 ;
1651 PyObject * obj1 = 0 ;
1652
1653 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
1654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1655 {
1656 arg2 = &temp2;
1657 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1658 }
1659 {
1660 PyThreadState* __tstate = wxPyBeginAllowThreads();
1661 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
1662
1663 wxPyEndAllowThreads(__tstate);
1664 if (PyErr_Occurred()) SWIG_fail;
1665 }
1666 {
1667 wxPoint * resultptr;
1668 resultptr = new wxPoint((wxPoint &) result);
1669 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
1670 }
1671 return resultobj;
1672 fail:
1673 return NULL;
1674 }
1675
1676
1677 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1678 PyObject *resultobj;
1679 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1680 int arg2 ;
1681 int arg3 ;
1682 int *arg4 = (int *) 0 ;
1683 int *arg5 = (int *) 0 ;
1684 int temp4 ;
1685 int temp5 ;
1686 PyObject * obj0 = 0 ;
1687
1688 arg4 = &temp4;
1689 arg5 = &temp5;
1690 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcScrolledPosition",&obj0,&arg2,&arg3)) goto fail;
1691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1692 {
1693 PyThreadState* __tstate = wxPyBeginAllowThreads();
1694 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
1695
1696 wxPyEndAllowThreads(__tstate);
1697 if (PyErr_Occurred()) SWIG_fail;
1698 }
1699 Py_INCREF(Py_None); resultobj = Py_None;
1700 {
1701 PyObject *o = PyInt_FromLong((long) (*arg4));
1702 resultobj = t_output_helper(resultobj,o);
1703 }
1704 {
1705 PyObject *o = PyInt_FromLong((long) (*arg5));
1706 resultobj = t_output_helper(resultobj,o);
1707 }
1708 return resultobj;
1709 fail:
1710 return NULL;
1711 }
1712
1713
1714 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
1715 int argc;
1716 PyObject *argv[4];
1717 int ii;
1718
1719 argc = PyObject_Length(args);
1720 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1721 argv[ii] = PyTuple_GetItem(args,ii);
1722 }
1723 if (argc == 2) {
1724 int _v;
1725 {
1726 void *ptr;
1727 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1728 _v = 0;
1729 PyErr_Clear();
1730 } else {
1731 _v = 1;
1732 }
1733 }
1734 if (_v) {
1735 {
1736 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1737 }
1738 if (_v) {
1739 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
1740 }
1741 }
1742 }
1743 if (argc == 3) {
1744 int _v;
1745 {
1746 void *ptr;
1747 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1748 _v = 0;
1749 PyErr_Clear();
1750 } else {
1751 _v = 1;
1752 }
1753 }
1754 if (_v) {
1755 {
1756 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1757 }
1758 if (_v) {
1759 {
1760 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1761 }
1762 if (_v) {
1763 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
1764 }
1765 }
1766 }
1767 }
1768
1769 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
1770 return NULL;
1771 }
1772
1773
1774 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1775 PyObject *resultobj;
1776 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1777 wxPoint *arg2 = 0 ;
1778 wxPoint result;
1779 wxPoint temp2 ;
1780 PyObject * obj0 = 0 ;
1781 PyObject * obj1 = 0 ;
1782
1783 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
1784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1785 {
1786 arg2 = &temp2;
1787 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1788 }
1789 {
1790 PyThreadState* __tstate = wxPyBeginAllowThreads();
1791 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
1792
1793 wxPyEndAllowThreads(__tstate);
1794 if (PyErr_Occurred()) SWIG_fail;
1795 }
1796 {
1797 wxPoint * resultptr;
1798 resultptr = new wxPoint((wxPoint &) result);
1799 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
1800 }
1801 return resultobj;
1802 fail:
1803 return NULL;
1804 }
1805
1806
1807 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1808 PyObject *resultobj;
1809 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1810 int arg2 ;
1811 int arg3 ;
1812 int *arg4 = (int *) 0 ;
1813 int *arg5 = (int *) 0 ;
1814 int temp4 ;
1815 int temp5 ;
1816 PyObject * obj0 = 0 ;
1817
1818 arg4 = &temp4;
1819 arg5 = &temp5;
1820 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcUnscrolledPosition",&obj0,&arg2,&arg3)) goto fail;
1821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1822 {
1823 PyThreadState* __tstate = wxPyBeginAllowThreads();
1824 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
1825
1826 wxPyEndAllowThreads(__tstate);
1827 if (PyErr_Occurred()) SWIG_fail;
1828 }
1829 Py_INCREF(Py_None); resultobj = Py_None;
1830 {
1831 PyObject *o = PyInt_FromLong((long) (*arg4));
1832 resultobj = t_output_helper(resultobj,o);
1833 }
1834 {
1835 PyObject *o = PyInt_FromLong((long) (*arg5));
1836 resultobj = t_output_helper(resultobj,o);
1837 }
1838 return resultobj;
1839 fail:
1840 return NULL;
1841 }
1842
1843
1844 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
1845 int argc;
1846 PyObject *argv[4];
1847 int ii;
1848
1849 argc = PyObject_Length(args);
1850 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1851 argv[ii] = PyTuple_GetItem(args,ii);
1852 }
1853 if (argc == 2) {
1854 int _v;
1855 {
1856 void *ptr;
1857 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1858 _v = 0;
1859 PyErr_Clear();
1860 } else {
1861 _v = 1;
1862 }
1863 }
1864 if (_v) {
1865 {
1866 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1867 }
1868 if (_v) {
1869 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
1870 }
1871 }
1872 }
1873 if (argc == 3) {
1874 int _v;
1875 {
1876 void *ptr;
1877 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1878 _v = 0;
1879 PyErr_Clear();
1880 } else {
1881 _v = 1;
1882 }
1883 }
1884 if (_v) {
1885 {
1886 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1887 }
1888 if (_v) {
1889 {
1890 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1891 }
1892 if (_v) {
1893 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
1894 }
1895 }
1896 }
1897 }
1898
1899 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
1900 return NULL;
1901 }
1902
1903
1904 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1905 PyObject *resultobj;
1906 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1907 PyObject * obj0 = 0 ;
1908 char *kwnames[] = {
1909 (char *) "self", NULL
1910 };
1911
1912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
1913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1914 {
1915 PyThreadState* __tstate = wxPyBeginAllowThreads();
1916 (arg1)->AdjustScrollbars();
1917
1918 wxPyEndAllowThreads(__tstate);
1919 if (PyErr_Occurred()) SWIG_fail;
1920 }
1921 Py_INCREF(Py_None); resultobj = Py_None;
1922 return resultobj;
1923 fail:
1924 return NULL;
1925 }
1926
1927
1928 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
1929 PyObject *resultobj;
1930 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1931 wxScrollWinEvent *arg2 = 0 ;
1932 int result;
1933 PyObject * obj0 = 0 ;
1934 PyObject * obj1 = 0 ;
1935 char *kwnames[] = {
1936 (char *) "self",(char *) "event", NULL
1937 };
1938
1939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
1940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1941 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1942 if (arg2 == NULL) {
1943 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1944 }
1945 {
1946 PyThreadState* __tstate = wxPyBeginAllowThreads();
1947 result = (int)(arg1)->CalcScrollInc(*arg2);
1948
1949 wxPyEndAllowThreads(__tstate);
1950 if (PyErr_Occurred()) SWIG_fail;
1951 }
1952 resultobj = PyInt_FromLong((long)result);
1953 return resultobj;
1954 fail:
1955 return NULL;
1956 }
1957
1958
1959 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1960 PyObject *resultobj;
1961 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1962 wxWindow *arg2 = (wxWindow *) 0 ;
1963 PyObject * obj0 = 0 ;
1964 PyObject * obj1 = 0 ;
1965 char *kwnames[] = {
1966 (char *) "self",(char *) "target", NULL
1967 };
1968
1969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
1970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1971 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1972 {
1973 PyThreadState* __tstate = wxPyBeginAllowThreads();
1974 (arg1)->SetTargetWindow(arg2);
1975
1976 wxPyEndAllowThreads(__tstate);
1977 if (PyErr_Occurred()) SWIG_fail;
1978 }
1979 Py_INCREF(Py_None); resultobj = Py_None;
1980 return resultobj;
1981 fail:
1982 return NULL;
1983 }
1984
1985
1986 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1987 PyObject *resultobj;
1988 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1989 wxWindow *result;
1990 PyObject * obj0 = 0 ;
1991 char *kwnames[] = {
1992 (char *) "self", NULL
1993 };
1994
1995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
1996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1997 {
1998 PyThreadState* __tstate = wxPyBeginAllowThreads();
1999 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2000
2001 wxPyEndAllowThreads(__tstate);
2002 if (PyErr_Occurred()) SWIG_fail;
2003 }
2004 {
2005 resultobj = wxPyMake_wxObject(result);
2006 }
2007 return resultobj;
2008 fail:
2009 return NULL;
2010 }
2011
2012
2013 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2014 PyObject *obj;
2015 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2016 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2017 Py_INCREF(obj);
2018 return Py_BuildValue((char *)"");
2019 }
2020 static int _wrap_FrameNameStr_set(PyObject *_val) {
2021 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2022 return 1;
2023 }
2024
2025
2026 static PyObject *_wrap_FrameNameStr_get() {
2027 PyObject *pyobj;
2028
2029 {
2030 #if wxUSE_UNICODE
2031 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2032 #else
2033 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2034 #endif
2035 }
2036 return pyobj;
2037 }
2038
2039
2040 static int _wrap_DialogNameStr_set(PyObject *_val) {
2041 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2042 return 1;
2043 }
2044
2045
2046 static PyObject *_wrap_DialogNameStr_get() {
2047 PyObject *pyobj;
2048
2049 {
2050 #if wxUSE_UNICODE
2051 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2052 #else
2053 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2054 #endif
2055 }
2056 return pyobj;
2057 }
2058
2059
2060 static int _wrap_StatusLineNameStr_set(PyObject *_val) {
2061 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2062 return 1;
2063 }
2064
2065
2066 static PyObject *_wrap_StatusLineNameStr_get() {
2067 PyObject *pyobj;
2068
2069 {
2070 #if wxUSE_UNICODE
2071 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2072 #else
2073 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2074 #endif
2075 }
2076 return pyobj;
2077 }
2078
2079
2080 static int _wrap_ToolBarNameStr_set(PyObject *_val) {
2081 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2082 return 1;
2083 }
2084
2085
2086 static PyObject *_wrap_ToolBarNameStr_get() {
2087 PyObject *pyobj;
2088
2089 {
2090 #if wxUSE_UNICODE
2091 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2092 #else
2093 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2094 #endif
2095 }
2096 return pyobj;
2097 }
2098
2099
2100 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2101 PyObject *resultobj;
2102 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2103 bool arg2 = (bool) True ;
2104 PyObject * obj0 = 0 ;
2105 PyObject * obj1 = 0 ;
2106 char *kwnames[] = {
2107 (char *) "self",(char *) "maximize", NULL
2108 };
2109
2110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2112 if (obj1) {
2113 arg2 = PyInt_AsLong(obj1) ? true : false;
2114 if (PyErr_Occurred()) SWIG_fail;
2115 }
2116 {
2117 PyThreadState* __tstate = wxPyBeginAllowThreads();
2118 (arg1)->Maximize(arg2);
2119
2120 wxPyEndAllowThreads(__tstate);
2121 if (PyErr_Occurred()) SWIG_fail;
2122 }
2123 Py_INCREF(Py_None); resultobj = Py_None;
2124 return resultobj;
2125 fail:
2126 return NULL;
2127 }
2128
2129
2130 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2131 PyObject *resultobj;
2132 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2133 PyObject * obj0 = 0 ;
2134 char *kwnames[] = {
2135 (char *) "self", NULL
2136 };
2137
2138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2140 {
2141 PyThreadState* __tstate = wxPyBeginAllowThreads();
2142 (arg1)->Restore();
2143
2144 wxPyEndAllowThreads(__tstate);
2145 if (PyErr_Occurred()) SWIG_fail;
2146 }
2147 Py_INCREF(Py_None); resultobj = Py_None;
2148 return resultobj;
2149 fail:
2150 return NULL;
2151 }
2152
2153
2154 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2155 PyObject *resultobj;
2156 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2157 bool arg2 = (bool) True ;
2158 PyObject * obj0 = 0 ;
2159 PyObject * obj1 = 0 ;
2160 char *kwnames[] = {
2161 (char *) "self",(char *) "iconize", NULL
2162 };
2163
2164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2166 if (obj1) {
2167 arg2 = PyInt_AsLong(obj1) ? true : false;
2168 if (PyErr_Occurred()) SWIG_fail;
2169 }
2170 {
2171 PyThreadState* __tstate = wxPyBeginAllowThreads();
2172 (arg1)->Iconize(arg2);
2173
2174 wxPyEndAllowThreads(__tstate);
2175 if (PyErr_Occurred()) SWIG_fail;
2176 }
2177 Py_INCREF(Py_None); resultobj = Py_None;
2178 return resultobj;
2179 fail:
2180 return NULL;
2181 }
2182
2183
2184 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2185 PyObject *resultobj;
2186 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2187 bool result;
2188 PyObject * obj0 = 0 ;
2189 char *kwnames[] = {
2190 (char *) "self", NULL
2191 };
2192
2193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2195 {
2196 PyThreadState* __tstate = wxPyBeginAllowThreads();
2197 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2198
2199 wxPyEndAllowThreads(__tstate);
2200 if (PyErr_Occurred()) SWIG_fail;
2201 }
2202 resultobj = PyInt_FromLong((long)result);
2203 return resultobj;
2204 fail:
2205 return NULL;
2206 }
2207
2208
2209 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2210 PyObject *resultobj;
2211 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2212 bool result;
2213 PyObject * obj0 = 0 ;
2214 char *kwnames[] = {
2215 (char *) "self", NULL
2216 };
2217
2218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2220 {
2221 PyThreadState* __tstate = wxPyBeginAllowThreads();
2222 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2223
2224 wxPyEndAllowThreads(__tstate);
2225 if (PyErr_Occurred()) SWIG_fail;
2226 }
2227 resultobj = PyInt_FromLong((long)result);
2228 return resultobj;
2229 fail:
2230 return NULL;
2231 }
2232
2233
2234 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2235 PyObject *resultobj;
2236 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2237 wxIcon result;
2238 PyObject * obj0 = 0 ;
2239 char *kwnames[] = {
2240 (char *) "self", NULL
2241 };
2242
2243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2245 {
2246 PyThreadState* __tstate = wxPyBeginAllowThreads();
2247 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2248
2249 wxPyEndAllowThreads(__tstate);
2250 if (PyErr_Occurred()) SWIG_fail;
2251 }
2252 {
2253 wxIcon * resultptr;
2254 resultptr = new wxIcon((wxIcon &) result);
2255 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
2256 }
2257 return resultobj;
2258 fail:
2259 return NULL;
2260 }
2261
2262
2263 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2264 PyObject *resultobj;
2265 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2266 wxIcon *arg2 = 0 ;
2267 PyObject * obj0 = 0 ;
2268 PyObject * obj1 = 0 ;
2269 char *kwnames[] = {
2270 (char *) "self",(char *) "icon", NULL
2271 };
2272
2273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2275 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2276 if (arg2 == NULL) {
2277 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2278 }
2279 {
2280 PyThreadState* __tstate = wxPyBeginAllowThreads();
2281 (arg1)->SetIcon((wxIcon const &)*arg2);
2282
2283 wxPyEndAllowThreads(__tstate);
2284 if (PyErr_Occurred()) SWIG_fail;
2285 }
2286 Py_INCREF(Py_None); resultobj = Py_None;
2287 return resultobj;
2288 fail:
2289 return NULL;
2290 }
2291
2292
2293 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2294 PyObject *resultobj;
2295 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2296 wxIconBundle *arg2 = 0 ;
2297 PyObject * obj0 = 0 ;
2298 PyObject * obj1 = 0 ;
2299 char *kwnames[] = {
2300 (char *) "self",(char *) "icons", NULL
2301 };
2302
2303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2305 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIconBundle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2306 if (arg2 == NULL) {
2307 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2308 }
2309 {
2310 PyThreadState* __tstate = wxPyBeginAllowThreads();
2311 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2312
2313 wxPyEndAllowThreads(__tstate);
2314 if (PyErr_Occurred()) SWIG_fail;
2315 }
2316 Py_INCREF(Py_None); resultobj = Py_None;
2317 return resultobj;
2318 fail:
2319 return NULL;
2320 }
2321
2322
2323 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2324 PyObject *resultobj;
2325 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2326 bool arg2 ;
2327 long arg3 = (long) wxFULLSCREEN_ALL ;
2328 bool result;
2329 PyObject * obj0 = 0 ;
2330 PyObject * obj1 = 0 ;
2331 char *kwnames[] = {
2332 (char *) "self",(char *) "show",(char *) "style", NULL
2333 };
2334
2335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&arg3)) goto fail;
2336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2337 arg2 = PyInt_AsLong(obj1) ? true : false;
2338 if (PyErr_Occurred()) SWIG_fail;
2339 {
2340 PyThreadState* __tstate = wxPyBeginAllowThreads();
2341 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2342
2343 wxPyEndAllowThreads(__tstate);
2344 if (PyErr_Occurred()) SWIG_fail;
2345 }
2346 resultobj = PyInt_FromLong((long)result);
2347 return resultobj;
2348 fail:
2349 return NULL;
2350 }
2351
2352
2353 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2354 PyObject *resultobj;
2355 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2356 bool result;
2357 PyObject * obj0 = 0 ;
2358 char *kwnames[] = {
2359 (char *) "self", NULL
2360 };
2361
2362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2364 {
2365 PyThreadState* __tstate = wxPyBeginAllowThreads();
2366 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2367
2368 wxPyEndAllowThreads(__tstate);
2369 if (PyErr_Occurred()) SWIG_fail;
2370 }
2371 resultobj = PyInt_FromLong((long)result);
2372 return resultobj;
2373 fail:
2374 return NULL;
2375 }
2376
2377
2378 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2379 PyObject *resultobj;
2380 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2381 wxString *arg2 = 0 ;
2382 bool temp2 = False ;
2383 PyObject * obj0 = 0 ;
2384 PyObject * obj1 = 0 ;
2385 char *kwnames[] = {
2386 (char *) "self",(char *) "title", NULL
2387 };
2388
2389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2391 {
2392 arg2 = wxString_in_helper(obj1);
2393 if (arg2 == NULL) SWIG_fail;
2394 temp2 = True;
2395 }
2396 {
2397 PyThreadState* __tstate = wxPyBeginAllowThreads();
2398 (arg1)->SetTitle((wxString const &)*arg2);
2399
2400 wxPyEndAllowThreads(__tstate);
2401 if (PyErr_Occurred()) SWIG_fail;
2402 }
2403 Py_INCREF(Py_None); resultobj = Py_None;
2404 {
2405 if (temp2)
2406 delete arg2;
2407 }
2408 return resultobj;
2409 fail:
2410 {
2411 if (temp2)
2412 delete arg2;
2413 }
2414 return NULL;
2415 }
2416
2417
2418 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2419 PyObject *resultobj;
2420 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2421 wxString result;
2422 PyObject * obj0 = 0 ;
2423 char *kwnames[] = {
2424 (char *) "self", NULL
2425 };
2426
2427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2429 {
2430 PyThreadState* __tstate = wxPyBeginAllowThreads();
2431 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2432
2433 wxPyEndAllowThreads(__tstate);
2434 if (PyErr_Occurred()) SWIG_fail;
2435 }
2436 {
2437 #if wxUSE_UNICODE
2438 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2439 #else
2440 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2441 #endif
2442 }
2443 return resultobj;
2444 fail:
2445 return NULL;
2446 }
2447
2448
2449 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2450 PyObject *resultobj;
2451 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2452 wxRegion *arg2 = 0 ;
2453 bool result;
2454 PyObject * obj0 = 0 ;
2455 PyObject * obj1 = 0 ;
2456 char *kwnames[] = {
2457 (char *) "self",(char *) "region", NULL
2458 };
2459
2460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2462 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2463 if (arg2 == NULL) {
2464 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2465 }
2466 {
2467 PyThreadState* __tstate = wxPyBeginAllowThreads();
2468 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2469
2470 wxPyEndAllowThreads(__tstate);
2471 if (PyErr_Occurred()) SWIG_fail;
2472 }
2473 resultobj = PyInt_FromLong((long)result);
2474 return resultobj;
2475 fail:
2476 return NULL;
2477 }
2478
2479
2480 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
2481 PyObject *obj;
2482 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2483 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
2484 Py_INCREF(obj);
2485 return Py_BuildValue((char *)"");
2486 }
2487 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
2488 PyObject *resultobj;
2489 wxWindow *arg1 = (wxWindow *) 0 ;
2490 int arg2 ;
2491 wxString *arg3 = 0 ;
2492 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2493 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2494 wxSize const &arg5_defvalue = wxDefaultSize ;
2495 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2496 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
2497 wxString const &arg7_defvalue = wxPyFrameNameStr ;
2498 wxString *arg7 = (wxString *) &arg7_defvalue ;
2499 wxFrame *result;
2500 bool temp3 = False ;
2501 wxPoint temp4 ;
2502 wxSize temp5 ;
2503 bool temp7 = False ;
2504 PyObject * obj0 = 0 ;
2505 PyObject * obj2 = 0 ;
2506 PyObject * obj3 = 0 ;
2507 PyObject * obj4 = 0 ;
2508 PyObject * obj6 = 0 ;
2509 char *kwnames[] = {
2510 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2511 };
2512
2513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Frame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
2514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2515 {
2516 arg3 = wxString_in_helper(obj2);
2517 if (arg3 == NULL) SWIG_fail;
2518 temp3 = True;
2519 }
2520 if (obj3) {
2521 {
2522 arg4 = &temp4;
2523 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2524 }
2525 }
2526 if (obj4) {
2527 {
2528 arg5 = &temp5;
2529 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2530 }
2531 }
2532 if (obj6) {
2533 {
2534 arg7 = wxString_in_helper(obj6);
2535 if (arg7 == NULL) SWIG_fail;
2536 temp7 = True;
2537 }
2538 }
2539 {
2540 PyThreadState* __tstate = wxPyBeginAllowThreads();
2541 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2542
2543 wxPyEndAllowThreads(__tstate);
2544 if (PyErr_Occurred()) SWIG_fail;
2545 }
2546 {
2547 resultobj = wxPyMake_wxObject(result);
2548 }
2549 {
2550 if (temp3)
2551 delete arg3;
2552 }
2553 {
2554 if (temp7)
2555 delete arg7;
2556 }
2557 return resultobj;
2558 fail:
2559 {
2560 if (temp3)
2561 delete arg3;
2562 }
2563 {
2564 if (temp7)
2565 delete arg7;
2566 }
2567 return NULL;
2568 }
2569
2570
2571 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
2572 PyObject *resultobj;
2573 wxFrame *result;
2574 char *kwnames[] = {
2575 NULL
2576 };
2577
2578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
2579 {
2580 PyThreadState* __tstate = wxPyBeginAllowThreads();
2581 result = (wxFrame *)new wxFrame();
2582
2583 wxPyEndAllowThreads(__tstate);
2584 if (PyErr_Occurred()) SWIG_fail;
2585 }
2586 {
2587 resultobj = wxPyMake_wxObject(result);
2588 }
2589 return resultobj;
2590 fail:
2591 return NULL;
2592 }
2593
2594
2595 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2596 PyObject *resultobj;
2597 wxFrame *arg1 = (wxFrame *) 0 ;
2598 wxWindow *arg2 = (wxWindow *) 0 ;
2599 int arg3 ;
2600 wxString *arg4 = 0 ;
2601 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2602 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2603 wxSize const &arg6_defvalue = wxDefaultSize ;
2604 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2605 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
2606 wxString const &arg8_defvalue = wxPyFrameNameStr ;
2607 wxString *arg8 = (wxString *) &arg8_defvalue ;
2608 bool result;
2609 bool temp4 = False ;
2610 wxPoint temp5 ;
2611 wxSize temp6 ;
2612 bool temp8 = False ;
2613 PyObject * obj0 = 0 ;
2614 PyObject * obj1 = 0 ;
2615 PyObject * obj3 = 0 ;
2616 PyObject * obj4 = 0 ;
2617 PyObject * obj5 = 0 ;
2618 PyObject * obj7 = 0 ;
2619 char *kwnames[] = {
2620 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2621 };
2622
2623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Frame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
2624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2625 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2626 {
2627 arg4 = wxString_in_helper(obj3);
2628 if (arg4 == NULL) SWIG_fail;
2629 temp4 = True;
2630 }
2631 if (obj4) {
2632 {
2633 arg5 = &temp5;
2634 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2635 }
2636 }
2637 if (obj5) {
2638 {
2639 arg6 = &temp6;
2640 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2641 }
2642 }
2643 if (obj7) {
2644 {
2645 arg8 = wxString_in_helper(obj7);
2646 if (arg8 == NULL) SWIG_fail;
2647 temp8 = True;
2648 }
2649 }
2650 {
2651 PyThreadState* __tstate = wxPyBeginAllowThreads();
2652 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
2653
2654 wxPyEndAllowThreads(__tstate);
2655 if (PyErr_Occurred()) SWIG_fail;
2656 }
2657 resultobj = PyInt_FromLong((long)result);
2658 {
2659 if (temp4)
2660 delete arg4;
2661 }
2662 {
2663 if (temp8)
2664 delete arg8;
2665 }
2666 return resultobj;
2667 fail:
2668 {
2669 if (temp4)
2670 delete arg4;
2671 }
2672 {
2673 if (temp8)
2674 delete arg8;
2675 }
2676 return NULL;
2677 }
2678
2679
2680 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
2681 PyObject *resultobj;
2682 wxFrame *arg1 = (wxFrame *) 0 ;
2683 wxPoint result;
2684 PyObject * obj0 = 0 ;
2685 char *kwnames[] = {
2686 (char *) "self", NULL
2687 };
2688
2689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
2690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2691 {
2692 PyThreadState* __tstate = wxPyBeginAllowThreads();
2693 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
2694
2695 wxPyEndAllowThreads(__tstate);
2696 if (PyErr_Occurred()) SWIG_fail;
2697 }
2698 {
2699 wxPoint * resultptr;
2700 resultptr = new wxPoint((wxPoint &) result);
2701 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2702 }
2703 return resultobj;
2704 fail:
2705 return NULL;
2706 }
2707
2708
2709 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
2710 PyObject *resultobj;
2711 wxFrame *arg1 = (wxFrame *) 0 ;
2712 PyObject * obj0 = 0 ;
2713 char *kwnames[] = {
2714 (char *) "self", NULL
2715 };
2716
2717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
2718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2719 {
2720 PyThreadState* __tstate = wxPyBeginAllowThreads();
2721 (arg1)->SendSizeEvent();
2722
2723 wxPyEndAllowThreads(__tstate);
2724 if (PyErr_Occurred()) SWIG_fail;
2725 }
2726 Py_INCREF(Py_None); resultobj = Py_None;
2727 return resultobj;
2728 fail:
2729 return NULL;
2730 }
2731
2732
2733 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2734 PyObject *resultobj;
2735 wxFrame *arg1 = (wxFrame *) 0 ;
2736 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
2737 PyObject * obj0 = 0 ;
2738 PyObject * obj1 = 0 ;
2739 char *kwnames[] = {
2740 (char *) "self",(char *) "menubar", NULL
2741 };
2742
2743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
2744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2745 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2746 {
2747 PyThreadState* __tstate = wxPyBeginAllowThreads();
2748 (arg1)->SetMenuBar(arg2);
2749
2750 wxPyEndAllowThreads(__tstate);
2751 if (PyErr_Occurred()) SWIG_fail;
2752 }
2753 Py_INCREF(Py_None); resultobj = Py_None;
2754 return resultobj;
2755 fail:
2756 return NULL;
2757 }
2758
2759
2760 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2761 PyObject *resultobj;
2762 wxFrame *arg1 = (wxFrame *) 0 ;
2763 wxMenuBar *result;
2764 PyObject * obj0 = 0 ;
2765 char *kwnames[] = {
2766 (char *) "self", NULL
2767 };
2768
2769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
2770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2771 {
2772 PyThreadState* __tstate = wxPyBeginAllowThreads();
2773 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
2774
2775 wxPyEndAllowThreads(__tstate);
2776 if (PyErr_Occurred()) SWIG_fail;
2777 }
2778 {
2779 resultobj = wxPyMake_wxObject(result);
2780 }
2781 return resultobj;
2782 fail:
2783 return NULL;
2784 }
2785
2786
2787 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
2788 PyObject *resultobj;
2789 wxFrame *arg1 = (wxFrame *) 0 ;
2790 int arg2 ;
2791 bool result;
2792 PyObject * obj0 = 0 ;
2793 char *kwnames[] = {
2794 (char *) "self",(char *) "winid", NULL
2795 };
2796
2797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_ProcessCommand",kwnames,&obj0,&arg2)) goto fail;
2798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2799 {
2800 PyThreadState* __tstate = wxPyBeginAllowThreads();
2801 result = (bool)(arg1)->ProcessCommand(arg2);
2802
2803 wxPyEndAllowThreads(__tstate);
2804 if (PyErr_Occurred()) SWIG_fail;
2805 }
2806 resultobj = PyInt_FromLong((long)result);
2807 return resultobj;
2808 fail:
2809 return NULL;
2810 }
2811
2812
2813 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2814 PyObject *resultobj;
2815 wxFrame *arg1 = (wxFrame *) 0 ;
2816 int arg2 = (int) 1 ;
2817 long arg3 = (long) wxST_SIZEGRIP ;
2818 int arg4 = (int) 0 ;
2819 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
2820 wxString *arg5 = (wxString *) &arg5_defvalue ;
2821 wxStatusBar *result;
2822 bool temp5 = False ;
2823 PyObject * obj0 = 0 ;
2824 PyObject * obj4 = 0 ;
2825 char *kwnames[] = {
2826 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
2827 };
2828
2829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iliO:Frame_CreateStatusBar",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
2830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2831 if (obj4) {
2832 {
2833 arg5 = wxString_in_helper(obj4);
2834 if (arg5 == NULL) SWIG_fail;
2835 temp5 = True;
2836 }
2837 }
2838 {
2839 PyThreadState* __tstate = wxPyBeginAllowThreads();
2840 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
2841
2842 wxPyEndAllowThreads(__tstate);
2843 if (PyErr_Occurred()) SWIG_fail;
2844 }
2845 {
2846 resultobj = wxPyMake_wxObject(result);
2847 }
2848 {
2849 if (temp5)
2850 delete arg5;
2851 }
2852 return resultobj;
2853 fail:
2854 {
2855 if (temp5)
2856 delete arg5;
2857 }
2858 return NULL;
2859 }
2860
2861
2862 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2863 PyObject *resultobj;
2864 wxFrame *arg1 = (wxFrame *) 0 ;
2865 wxStatusBar *result;
2866 PyObject * obj0 = 0 ;
2867 char *kwnames[] = {
2868 (char *) "self", NULL
2869 };
2870
2871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
2872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2873 {
2874 PyThreadState* __tstate = wxPyBeginAllowThreads();
2875 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
2876
2877 wxPyEndAllowThreads(__tstate);
2878 if (PyErr_Occurred()) SWIG_fail;
2879 }
2880 {
2881 resultobj = wxPyMake_wxObject(result);
2882 }
2883 return resultobj;
2884 fail:
2885 return NULL;
2886 }
2887
2888
2889 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2890 PyObject *resultobj;
2891 wxFrame *arg1 = (wxFrame *) 0 ;
2892 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
2893 PyObject * obj0 = 0 ;
2894 PyObject * obj1 = 0 ;
2895 char *kwnames[] = {
2896 (char *) "self",(char *) "statBar", NULL
2897 };
2898
2899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
2900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2901 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2902 {
2903 PyThreadState* __tstate = wxPyBeginAllowThreads();
2904 (arg1)->SetStatusBar(arg2);
2905
2906 wxPyEndAllowThreads(__tstate);
2907 if (PyErr_Occurred()) SWIG_fail;
2908 }
2909 Py_INCREF(Py_None); resultobj = Py_None;
2910 return resultobj;
2911 fail:
2912 return NULL;
2913 }
2914
2915
2916 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
2917 PyObject *resultobj;
2918 wxFrame *arg1 = (wxFrame *) 0 ;
2919 wxString *arg2 = 0 ;
2920 int arg3 = (int) 0 ;
2921 bool temp2 = False ;
2922 PyObject * obj0 = 0 ;
2923 PyObject * obj1 = 0 ;
2924 char *kwnames[] = {
2925 (char *) "self",(char *) "text",(char *) "number", NULL
2926 };
2927
2928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
2929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2930 {
2931 arg2 = wxString_in_helper(obj1);
2932 if (arg2 == NULL) SWIG_fail;
2933 temp2 = True;
2934 }
2935 {
2936 PyThreadState* __tstate = wxPyBeginAllowThreads();
2937 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
2938
2939 wxPyEndAllowThreads(__tstate);
2940 if (PyErr_Occurred()) SWIG_fail;
2941 }
2942 Py_INCREF(Py_None); resultobj = Py_None;
2943 {
2944 if (temp2)
2945 delete arg2;
2946 }
2947 return resultobj;
2948 fail:
2949 {
2950 if (temp2)
2951 delete arg2;
2952 }
2953 return NULL;
2954 }
2955
2956
2957 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
2958 PyObject *resultobj;
2959 wxFrame *arg1 = (wxFrame *) 0 ;
2960 int arg2 ;
2961 int *arg3 = (int *) 0 ;
2962 PyObject * obj0 = 0 ;
2963 PyObject * obj1 = 0 ;
2964 char *kwnames[] = {
2965 (char *) "self",(char *) "widths", NULL
2966 };
2967
2968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
2969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2970 {
2971 arg2 = PyList_Size(obj1);
2972 arg3 = int_LIST_helper(obj1);
2973 if (arg3 == NULL) SWIG_fail;
2974 }
2975 {
2976 PyThreadState* __tstate = wxPyBeginAllowThreads();
2977 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
2978
2979 wxPyEndAllowThreads(__tstate);
2980 if (PyErr_Occurred()) SWIG_fail;
2981 }
2982 Py_INCREF(Py_None); resultobj = Py_None;
2983 {
2984 if (arg3) delete [] arg3;
2985 }
2986 return resultobj;
2987 fail:
2988 {
2989 if (arg3) delete [] arg3;
2990 }
2991 return NULL;
2992 }
2993
2994
2995 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
2996 PyObject *resultobj;
2997 wxFrame *arg1 = (wxFrame *) 0 ;
2998 wxString *arg2 = 0 ;
2999 int arg3 = (int) 0 ;
3000 bool temp2 = False ;
3001 PyObject * obj0 = 0 ;
3002 PyObject * obj1 = 0 ;
3003 char *kwnames[] = {
3004 (char *) "self",(char *) "text",(char *) "number", NULL
3005 };
3006
3007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
3008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3009 {
3010 arg2 = wxString_in_helper(obj1);
3011 if (arg2 == NULL) SWIG_fail;
3012 temp2 = True;
3013 }
3014 {
3015 PyThreadState* __tstate = wxPyBeginAllowThreads();
3016 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3017
3018 wxPyEndAllowThreads(__tstate);
3019 if (PyErr_Occurred()) SWIG_fail;
3020 }
3021 Py_INCREF(Py_None); resultobj = Py_None;
3022 {
3023 if (temp2)
3024 delete arg2;
3025 }
3026 return resultobj;
3027 fail:
3028 {
3029 if (temp2)
3030 delete arg2;
3031 }
3032 return NULL;
3033 }
3034
3035
3036 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3037 PyObject *resultobj;
3038 wxFrame *arg1 = (wxFrame *) 0 ;
3039 int arg2 = (int) 0 ;
3040 PyObject * obj0 = 0 ;
3041 char *kwnames[] = {
3042 (char *) "self",(char *) "number", NULL
3043 };
3044
3045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Frame_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
3046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3047 {
3048 PyThreadState* __tstate = wxPyBeginAllowThreads();
3049 (arg1)->PopStatusText(arg2);
3050
3051 wxPyEndAllowThreads(__tstate);
3052 if (PyErr_Occurred()) SWIG_fail;
3053 }
3054 Py_INCREF(Py_None); resultobj = Py_None;
3055 return resultobj;
3056 fail:
3057 return NULL;
3058 }
3059
3060
3061 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3062 PyObject *resultobj;
3063 wxFrame *arg1 = (wxFrame *) 0 ;
3064 int arg2 ;
3065 PyObject * obj0 = 0 ;
3066 char *kwnames[] = {
3067 (char *) "self",(char *) "n", NULL
3068 };
3069
3070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_SetStatusBarPane",kwnames,&obj0,&arg2)) goto fail;
3071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3072 {
3073 PyThreadState* __tstate = wxPyBeginAllowThreads();
3074 (arg1)->SetStatusBarPane(arg2);
3075
3076 wxPyEndAllowThreads(__tstate);
3077 if (PyErr_Occurred()) SWIG_fail;
3078 }
3079 Py_INCREF(Py_None); resultobj = Py_None;
3080 return resultobj;
3081 fail:
3082 return NULL;
3083 }
3084
3085
3086 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3087 PyObject *resultobj;
3088 wxFrame *arg1 = (wxFrame *) 0 ;
3089 int result;
3090 PyObject * obj0 = 0 ;
3091 char *kwnames[] = {
3092 (char *) "self", NULL
3093 };
3094
3095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3097 {
3098 PyThreadState* __tstate = wxPyBeginAllowThreads();
3099 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3100
3101 wxPyEndAllowThreads(__tstate);
3102 if (PyErr_Occurred()) SWIG_fail;
3103 }
3104 resultobj = PyInt_FromLong((long)result);
3105 return resultobj;
3106 fail:
3107 return NULL;
3108 }
3109
3110
3111 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3112 PyObject *resultobj;
3113 wxFrame *arg1 = (wxFrame *) 0 ;
3114 long arg2 = (long) -1 ;
3115 int arg3 = (int) -1 ;
3116 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3117 wxString *arg4 = (wxString *) &arg4_defvalue ;
3118 wxToolBar *result;
3119 bool temp4 = False ;
3120 PyObject * obj0 = 0 ;
3121 PyObject * obj3 = 0 ;
3122 char *kwnames[] = {
3123 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3124 };
3125
3126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|liO:Frame_CreateToolBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
3127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3128 if (obj3) {
3129 {
3130 arg4 = wxString_in_helper(obj3);
3131 if (arg4 == NULL) SWIG_fail;
3132 temp4 = True;
3133 }
3134 }
3135 {
3136 PyThreadState* __tstate = wxPyBeginAllowThreads();
3137 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3138
3139 wxPyEndAllowThreads(__tstate);
3140 if (PyErr_Occurred()) SWIG_fail;
3141 }
3142 {
3143 resultobj = wxPyMake_wxObject(result);
3144 }
3145 {
3146 if (temp4)
3147 delete arg4;
3148 }
3149 return resultobj;
3150 fail:
3151 {
3152 if (temp4)
3153 delete arg4;
3154 }
3155 return NULL;
3156 }
3157
3158
3159 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3160 PyObject *resultobj;
3161 wxFrame *arg1 = (wxFrame *) 0 ;
3162 wxToolBar *result;
3163 PyObject * obj0 = 0 ;
3164 char *kwnames[] = {
3165 (char *) "self", NULL
3166 };
3167
3168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3170 {
3171 PyThreadState* __tstate = wxPyBeginAllowThreads();
3172 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3173
3174 wxPyEndAllowThreads(__tstate);
3175 if (PyErr_Occurred()) SWIG_fail;
3176 }
3177 {
3178 resultobj = wxPyMake_wxObject(result);
3179 }
3180 return resultobj;
3181 fail:
3182 return NULL;
3183 }
3184
3185
3186 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3187 PyObject *resultobj;
3188 wxFrame *arg1 = (wxFrame *) 0 ;
3189 wxToolBar *arg2 = (wxToolBar *) 0 ;
3190 PyObject * obj0 = 0 ;
3191 PyObject * obj1 = 0 ;
3192 char *kwnames[] = {
3193 (char *) "self",(char *) "toolbar", NULL
3194 };
3195
3196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3198 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3199 {
3200 PyThreadState* __tstate = wxPyBeginAllowThreads();
3201 (arg1)->SetToolBar(arg2);
3202
3203 wxPyEndAllowThreads(__tstate);
3204 if (PyErr_Occurred()) SWIG_fail;
3205 }
3206 Py_INCREF(Py_None); resultobj = Py_None;
3207 return resultobj;
3208 fail:
3209 return NULL;
3210 }
3211
3212
3213 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3214 PyObject *resultobj;
3215 wxFrame *arg1 = (wxFrame *) 0 ;
3216 wxString *arg2 = 0 ;
3217 bool arg3 ;
3218 bool temp2 = False ;
3219 PyObject * obj0 = 0 ;
3220 PyObject * obj1 = 0 ;
3221 PyObject * obj2 = 0 ;
3222 char *kwnames[] = {
3223 (char *) "self",(char *) "text",(char *) "show", NULL
3224 };
3225
3226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3228 {
3229 arg2 = wxString_in_helper(obj1);
3230 if (arg2 == NULL) SWIG_fail;
3231 temp2 = True;
3232 }
3233 arg3 = PyInt_AsLong(obj2) ? true : false;
3234 if (PyErr_Occurred()) SWIG_fail;
3235 {
3236 PyThreadState* __tstate = wxPyBeginAllowThreads();
3237 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3238
3239 wxPyEndAllowThreads(__tstate);
3240 if (PyErr_Occurred()) SWIG_fail;
3241 }
3242 Py_INCREF(Py_None); resultobj = Py_None;
3243 {
3244 if (temp2)
3245 delete arg2;
3246 }
3247 return resultobj;
3248 fail:
3249 {
3250 if (temp2)
3251 delete arg2;
3252 }
3253 return NULL;
3254 }
3255
3256
3257 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3258 PyObject *resultobj;
3259 wxFrame *arg1 = (wxFrame *) 0 ;
3260 wxMenu *arg2 = (wxMenu *) NULL ;
3261 PyObject * obj0 = 0 ;
3262 PyObject * obj1 = 0 ;
3263 char *kwnames[] = {
3264 (char *) "self",(char *) "menu", NULL
3265 };
3266
3267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3269 if (obj1) {
3270 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3271 }
3272 {
3273 PyThreadState* __tstate = wxPyBeginAllowThreads();
3274 (arg1)->DoMenuUpdates(arg2);
3275
3276 wxPyEndAllowThreads(__tstate);
3277 if (PyErr_Occurred()) SWIG_fail;
3278 }
3279 Py_INCREF(Py_None); resultobj = Py_None;
3280 return resultobj;
3281 fail:
3282 return NULL;
3283 }
3284
3285
3286 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3287 PyObject *obj;
3288 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3289 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3290 Py_INCREF(obj);
3291 return Py_BuildValue((char *)"");
3292 }
3293 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3294 PyObject *resultobj;
3295 wxWindow *arg1 = (wxWindow *) 0 ;
3296 int arg2 ;
3297 wxString *arg3 = 0 ;
3298 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3299 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3300 wxSize const &arg5_defvalue = wxDefaultSize ;
3301 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3302 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3303 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3304 wxString *arg7 = (wxString *) &arg7_defvalue ;
3305 wxDialog *result;
3306 bool temp3 = False ;
3307 wxPoint temp4 ;
3308 wxSize temp5 ;
3309 bool temp7 = False ;
3310 PyObject * obj0 = 0 ;
3311 PyObject * obj2 = 0 ;
3312 PyObject * obj3 = 0 ;
3313 PyObject * obj4 = 0 ;
3314 PyObject * obj6 = 0 ;
3315 char *kwnames[] = {
3316 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3317 };
3318
3319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Dialog",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3321 {
3322 arg3 = wxString_in_helper(obj2);
3323 if (arg3 == NULL) SWIG_fail;
3324 temp3 = True;
3325 }
3326 if (obj3) {
3327 {
3328 arg4 = &temp4;
3329 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3330 }
3331 }
3332 if (obj4) {
3333 {
3334 arg5 = &temp5;
3335 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3336 }
3337 }
3338 if (obj6) {
3339 {
3340 arg7 = wxString_in_helper(obj6);
3341 if (arg7 == NULL) SWIG_fail;
3342 temp7 = True;
3343 }
3344 }
3345 {
3346 PyThreadState* __tstate = wxPyBeginAllowThreads();
3347 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3348
3349 wxPyEndAllowThreads(__tstate);
3350 if (PyErr_Occurred()) SWIG_fail;
3351 }
3352 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3353 {
3354 if (temp3)
3355 delete arg3;
3356 }
3357 {
3358 if (temp7)
3359 delete arg7;
3360 }
3361 return resultobj;
3362 fail:
3363 {
3364 if (temp3)
3365 delete arg3;
3366 }
3367 {
3368 if (temp7)
3369 delete arg7;
3370 }
3371 return NULL;
3372 }
3373
3374
3375 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3376 PyObject *resultobj;
3377 wxDialog *result;
3378 char *kwnames[] = {
3379 NULL
3380 };
3381
3382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
3383 {
3384 PyThreadState* __tstate = wxPyBeginAllowThreads();
3385 result = (wxDialog *)new wxDialog();
3386
3387 wxPyEndAllowThreads(__tstate);
3388 if (PyErr_Occurred()) SWIG_fail;
3389 }
3390 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3391 return resultobj;
3392 fail:
3393 return NULL;
3394 }
3395
3396
3397 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3398 PyObject *resultobj;
3399 wxDialog *arg1 = (wxDialog *) 0 ;
3400 wxWindow *arg2 = (wxWindow *) 0 ;
3401 int arg3 ;
3402 wxString *arg4 = 0 ;
3403 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3404 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3405 wxSize const &arg6_defvalue = wxDefaultSize ;
3406 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3407 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
3408 wxString const &arg8_defvalue = wxPyDialogNameStr ;
3409 wxString *arg8 = (wxString *) &arg8_defvalue ;
3410 bool result;
3411 bool temp4 = False ;
3412 wxPoint temp5 ;
3413 wxSize temp6 ;
3414 bool temp8 = False ;
3415 PyObject * obj0 = 0 ;
3416 PyObject * obj1 = 0 ;
3417 PyObject * obj3 = 0 ;
3418 PyObject * obj4 = 0 ;
3419 PyObject * obj5 = 0 ;
3420 PyObject * obj7 = 0 ;
3421 char *kwnames[] = {
3422 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3423 };
3424
3425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Dialog_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3427 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3428 {
3429 arg4 = wxString_in_helper(obj3);
3430 if (arg4 == NULL) SWIG_fail;
3431 temp4 = True;
3432 }
3433 if (obj4) {
3434 {
3435 arg5 = &temp5;
3436 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3437 }
3438 }
3439 if (obj5) {
3440 {
3441 arg6 = &temp6;
3442 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3443 }
3444 }
3445 if (obj7) {
3446 {
3447 arg8 = wxString_in_helper(obj7);
3448 if (arg8 == NULL) SWIG_fail;
3449 temp8 = True;
3450 }
3451 }
3452 {
3453 PyThreadState* __tstate = wxPyBeginAllowThreads();
3454 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3455
3456 wxPyEndAllowThreads(__tstate);
3457 if (PyErr_Occurred()) SWIG_fail;
3458 }
3459 resultobj = PyInt_FromLong((long)result);
3460 {
3461 if (temp4)
3462 delete arg4;
3463 }
3464 {
3465 if (temp8)
3466 delete arg8;
3467 }
3468 return resultobj;
3469 fail:
3470 {
3471 if (temp4)
3472 delete arg4;
3473 }
3474 {
3475 if (temp8)
3476 delete arg8;
3477 }
3478 return NULL;
3479 }
3480
3481
3482 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3483 PyObject *resultobj;
3484 wxDialog *arg1 = (wxDialog *) 0 ;
3485 int arg2 ;
3486 PyObject * obj0 = 0 ;
3487 char *kwnames[] = {
3488 (char *) "self",(char *) "returnCode", NULL
3489 };
3490
3491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_SetReturnCode",kwnames,&obj0,&arg2)) goto fail;
3492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3493 {
3494 PyThreadState* __tstate = wxPyBeginAllowThreads();
3495 (arg1)->SetReturnCode(arg2);
3496
3497 wxPyEndAllowThreads(__tstate);
3498 if (PyErr_Occurred()) SWIG_fail;
3499 }
3500 Py_INCREF(Py_None); resultobj = Py_None;
3501 return resultobj;
3502 fail:
3503 return NULL;
3504 }
3505
3506
3507 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3508 PyObject *resultobj;
3509 wxDialog *arg1 = (wxDialog *) 0 ;
3510 int result;
3511 PyObject * obj0 = 0 ;
3512 char *kwnames[] = {
3513 (char *) "self", NULL
3514 };
3515
3516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
3517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3518 {
3519 PyThreadState* __tstate = wxPyBeginAllowThreads();
3520 result = (int)((wxDialog const *)arg1)->GetReturnCode();
3521
3522 wxPyEndAllowThreads(__tstate);
3523 if (PyErr_Occurred()) SWIG_fail;
3524 }
3525 resultobj = PyInt_FromLong((long)result);
3526 return resultobj;
3527 fail:
3528 return NULL;
3529 }
3530
3531
3532 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3533 PyObject *resultobj;
3534 wxDialog *arg1 = (wxDialog *) 0 ;
3535 wxString *arg2 = 0 ;
3536 wxSizer *result;
3537 bool temp2 = False ;
3538 PyObject * obj0 = 0 ;
3539 PyObject * obj1 = 0 ;
3540 char *kwnames[] = {
3541 (char *) "self",(char *) "message", NULL
3542 };
3543
3544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
3545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3546 {
3547 arg2 = wxString_in_helper(obj1);
3548 if (arg2 == NULL) SWIG_fail;
3549 temp2 = True;
3550 }
3551 {
3552 PyThreadState* __tstate = wxPyBeginAllowThreads();
3553 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
3554
3555 wxPyEndAllowThreads(__tstate);
3556 if (PyErr_Occurred()) SWIG_fail;
3557 }
3558 {
3559 resultobj = wxPyMake_wxSizer(result);
3560 }
3561 {
3562 if (temp2)
3563 delete arg2;
3564 }
3565 return resultobj;
3566 fail:
3567 {
3568 if (temp2)
3569 delete arg2;
3570 }
3571 return NULL;
3572 }
3573
3574
3575 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3576 PyObject *resultobj;
3577 wxDialog *arg1 = (wxDialog *) 0 ;
3578 long arg2 ;
3579 wxSizer *result;
3580 PyObject * obj0 = 0 ;
3581 char *kwnames[] = {
3582 (char *) "self",(char *) "flags", NULL
3583 };
3584
3585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Dialog_CreateButtonSizer",kwnames,&obj0,&arg2)) goto fail;
3586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3587 {
3588 PyThreadState* __tstate = wxPyBeginAllowThreads();
3589 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
3590
3591 wxPyEndAllowThreads(__tstate);
3592 if (PyErr_Occurred()) SWIG_fail;
3593 }
3594 {
3595 resultobj = wxPyMake_wxSizer(result);
3596 }
3597 return resultobj;
3598 fail:
3599 return NULL;
3600 }
3601
3602
3603 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3604 PyObject *resultobj;
3605 wxDialog *arg1 = (wxDialog *) 0 ;
3606 bool result;
3607 PyObject * obj0 = 0 ;
3608 char *kwnames[] = {
3609 (char *) "self", NULL
3610 };
3611
3612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
3613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3614 {
3615 PyThreadState* __tstate = wxPyBeginAllowThreads();
3616 result = (bool)((wxDialog const *)arg1)->IsModal();
3617
3618 wxPyEndAllowThreads(__tstate);
3619 if (PyErr_Occurred()) SWIG_fail;
3620 }
3621 resultobj = PyInt_FromLong((long)result);
3622 return resultobj;
3623 fail:
3624 return NULL;
3625 }
3626
3627
3628 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3629 PyObject *resultobj;
3630 wxDialog *arg1 = (wxDialog *) 0 ;
3631 int result;
3632 PyObject * obj0 = 0 ;
3633 char *kwnames[] = {
3634 (char *) "self", NULL
3635 };
3636
3637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
3638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3639 {
3640 PyThreadState* __tstate = wxPyBeginAllowThreads();
3641 result = (int)(arg1)->ShowModal();
3642
3643 wxPyEndAllowThreads(__tstate);
3644 if (PyErr_Occurred()) SWIG_fail;
3645 }
3646 resultobj = PyInt_FromLong((long)result);
3647 return resultobj;
3648 fail:
3649 return NULL;
3650 }
3651
3652
3653 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3654 PyObject *resultobj;
3655 wxDialog *arg1 = (wxDialog *) 0 ;
3656 int arg2 ;
3657 PyObject * obj0 = 0 ;
3658 char *kwnames[] = {
3659 (char *) "self",(char *) "retCode", NULL
3660 };
3661
3662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_EndModal",kwnames,&obj0,&arg2)) goto fail;
3663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3664 {
3665 PyThreadState* __tstate = wxPyBeginAllowThreads();
3666 (arg1)->EndModal(arg2);
3667
3668 wxPyEndAllowThreads(__tstate);
3669 if (PyErr_Occurred()) SWIG_fail;
3670 }
3671 Py_INCREF(Py_None); resultobj = Py_None;
3672 return resultobj;
3673 fail:
3674 return NULL;
3675 }
3676
3677
3678 static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) {
3679 PyObject *resultobj;
3680 wxDialog *arg1 = (wxDialog *) 0 ;
3681 bool result;
3682 PyObject * obj0 = 0 ;
3683 char *kwnames[] = {
3684 (char *) "self", NULL
3685 };
3686
3687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
3688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3689 {
3690 PyThreadState* __tstate = wxPyBeginAllowThreads();
3691 result = (bool)wxDialog_IsModalShowing(arg1);
3692
3693 wxPyEndAllowThreads(__tstate);
3694 if (PyErr_Occurred()) SWIG_fail;
3695 }
3696 resultobj = PyInt_FromLong((long)result);
3697 return resultobj;
3698 fail:
3699 return NULL;
3700 }
3701
3702
3703 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
3704 PyObject *obj;
3705 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3706 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
3707 Py_INCREF(obj);
3708 return Py_BuildValue((char *)"");
3709 }
3710 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3711 PyObject *resultobj;
3712 wxWindow *arg1 = (wxWindow *) 0 ;
3713 int arg2 ;
3714 wxString *arg3 = 0 ;
3715 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3716 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3717 wxSize const &arg5_defvalue = wxDefaultSize ;
3718 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3719 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3720 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3721 wxString *arg7 = (wxString *) &arg7_defvalue ;
3722 wxMiniFrame *result;
3723 bool temp3 = False ;
3724 wxPoint temp4 ;
3725 wxSize temp5 ;
3726 bool temp7 = False ;
3727 PyObject * obj0 = 0 ;
3728 PyObject * obj2 = 0 ;
3729 PyObject * obj3 = 0 ;
3730 PyObject * obj4 = 0 ;
3731 PyObject * obj6 = 0 ;
3732 char *kwnames[] = {
3733 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3734 };
3735
3736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MiniFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3738 {
3739 arg3 = wxString_in_helper(obj2);
3740 if (arg3 == NULL) SWIG_fail;
3741 temp3 = True;
3742 }
3743 if (obj3) {
3744 {
3745 arg4 = &temp4;
3746 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3747 }
3748 }
3749 if (obj4) {
3750 {
3751 arg5 = &temp5;
3752 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3753 }
3754 }
3755 if (obj6) {
3756 {
3757 arg7 = wxString_in_helper(obj6);
3758 if (arg7 == NULL) SWIG_fail;
3759 temp7 = True;
3760 }
3761 }
3762 {
3763 PyThreadState* __tstate = wxPyBeginAllowThreads();
3764 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3765
3766 wxPyEndAllowThreads(__tstate);
3767 if (PyErr_Occurred()) SWIG_fail;
3768 }
3769 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
3770 {
3771 if (temp3)
3772 delete arg3;
3773 }
3774 {
3775 if (temp7)
3776 delete arg7;
3777 }
3778 return resultobj;
3779 fail:
3780 {
3781 if (temp3)
3782 delete arg3;
3783 }
3784 {
3785 if (temp7)
3786 delete arg7;
3787 }
3788 return NULL;
3789 }
3790
3791
3792 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3793 PyObject *resultobj;
3794 wxMiniFrame *result;
3795 char *kwnames[] = {
3796 NULL
3797 };
3798
3799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
3800 {
3801 PyThreadState* __tstate = wxPyBeginAllowThreads();
3802 result = (wxMiniFrame *)new wxMiniFrame();
3803
3804 wxPyEndAllowThreads(__tstate);
3805 if (PyErr_Occurred()) SWIG_fail;
3806 }
3807 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
3808 return resultobj;
3809 fail:
3810 return NULL;
3811 }
3812
3813
3814 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3815 PyObject *resultobj;
3816 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
3817 wxWindow *arg2 = (wxWindow *) 0 ;
3818 int arg3 ;
3819 wxString *arg4 = 0 ;
3820 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3821 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3822 wxSize const &arg6_defvalue = wxDefaultSize ;
3823 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3824 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3825 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3826 wxString *arg8 = (wxString *) &arg8_defvalue ;
3827 bool result;
3828 bool temp4 = False ;
3829 wxPoint temp5 ;
3830 wxSize temp6 ;
3831 bool temp8 = False ;
3832 PyObject * obj0 = 0 ;
3833 PyObject * obj1 = 0 ;
3834 PyObject * obj3 = 0 ;
3835 PyObject * obj4 = 0 ;
3836 PyObject * obj5 = 0 ;
3837 PyObject * obj7 = 0 ;
3838 char *kwnames[] = {
3839 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3840 };
3841
3842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MiniFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMiniFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3844 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3845 {
3846 arg4 = wxString_in_helper(obj3);
3847 if (arg4 == NULL) SWIG_fail;
3848 temp4 = True;
3849 }
3850 if (obj4) {
3851 {
3852 arg5 = &temp5;
3853 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3854 }
3855 }
3856 if (obj5) {
3857 {
3858 arg6 = &temp6;
3859 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3860 }
3861 }
3862 if (obj7) {
3863 {
3864 arg8 = wxString_in_helper(obj7);
3865 if (arg8 == NULL) SWIG_fail;
3866 temp8 = True;
3867 }
3868 }
3869 {
3870 PyThreadState* __tstate = wxPyBeginAllowThreads();
3871 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3872
3873 wxPyEndAllowThreads(__tstate);
3874 if (PyErr_Occurred()) SWIG_fail;
3875 }
3876 resultobj = PyInt_FromLong((long)result);
3877 {
3878 if (temp4)
3879 delete arg4;
3880 }
3881 {
3882 if (temp8)
3883 delete arg8;
3884 }
3885 return resultobj;
3886 fail:
3887 {
3888 if (temp4)
3889 delete arg4;
3890 }
3891 {
3892 if (temp8)
3893 delete arg8;
3894 }
3895 return NULL;
3896 }
3897
3898
3899 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
3900 PyObject *obj;
3901 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3902 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
3903 Py_INCREF(obj);
3904 return Py_BuildValue((char *)"");
3905 }
3906 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3907 PyObject *resultobj;
3908 wxBitmap *arg1 = 0 ;
3909 wxWindow *arg2 = (wxWindow *) 0 ;
3910 int arg3 ;
3911 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3912 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3913 wxSize const &arg5_defvalue = wxDefaultSize ;
3914 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3915 long arg6 = (long) wxNO_BORDER ;
3916 wxSplashScreenWindow *result;
3917 wxPoint temp4 ;
3918 wxSize temp5 ;
3919 PyObject * obj0 = 0 ;
3920 PyObject * obj1 = 0 ;
3921 PyObject * obj3 = 0 ;
3922 PyObject * obj4 = 0 ;
3923 char *kwnames[] = {
3924 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3925 };
3926
3927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOl:new_SplashScreenWindow",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
3928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3929 if (arg1 == NULL) {
3930 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3931 }
3932 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3933 if (obj3) {
3934 {
3935 arg4 = &temp4;
3936 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3937 }
3938 }
3939 if (obj4) {
3940 {
3941 arg5 = &temp5;
3942 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3943 }
3944 }
3945 {
3946 PyThreadState* __tstate = wxPyBeginAllowThreads();
3947 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
3948
3949 wxPyEndAllowThreads(__tstate);
3950 if (PyErr_Occurred()) SWIG_fail;
3951 }
3952 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 1);
3953 return resultobj;
3954 fail:
3955 return NULL;
3956 }
3957
3958
3959 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
3960 PyObject *resultobj;
3961 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
3962 wxBitmap *arg2 = 0 ;
3963 PyObject * obj0 = 0 ;
3964 PyObject * obj1 = 0 ;
3965 char *kwnames[] = {
3966 (char *) "self",(char *) "bitmap", NULL
3967 };
3968
3969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
3970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3971 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3972 if (arg2 == NULL) {
3973 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3974 }
3975 {
3976 PyThreadState* __tstate = wxPyBeginAllowThreads();
3977 (arg1)->SetBitmap((wxBitmap const &)*arg2);
3978
3979 wxPyEndAllowThreads(__tstate);
3980 if (PyErr_Occurred()) SWIG_fail;
3981 }
3982 Py_INCREF(Py_None); resultobj = Py_None;
3983 return resultobj;
3984 fail:
3985 return NULL;
3986 }
3987
3988
3989 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
3990 PyObject *resultobj;
3991 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
3992 wxBitmap *result;
3993 PyObject * obj0 = 0 ;
3994 char *kwnames[] = {
3995 (char *) "self", NULL
3996 };
3997
3998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
3999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4000 {
4001 PyThreadState* __tstate = wxPyBeginAllowThreads();
4002 {
4003 wxBitmap &_result_ref = (arg1)->GetBitmap();
4004 result = (wxBitmap *) &_result_ref;
4005 }
4006
4007 wxPyEndAllowThreads(__tstate);
4008 if (PyErr_Occurred()) SWIG_fail;
4009 }
4010 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
4011 return resultobj;
4012 fail:
4013 return NULL;
4014 }
4015
4016
4017 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4018 PyObject *obj;
4019 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4020 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4021 Py_INCREF(obj);
4022 return Py_BuildValue((char *)"");
4023 }
4024 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4025 PyObject *resultobj;
4026 wxBitmap *arg1 = 0 ;
4027 long arg2 ;
4028 int arg3 ;
4029 wxWindow *arg4 = (wxWindow *) 0 ;
4030 int arg5 ;
4031 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4032 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4033 wxSize const &arg7_defvalue = wxDefaultSize ;
4034 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4035 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4036 wxSplashScreen *result;
4037 wxPoint temp6 ;
4038 wxSize temp7 ;
4039 PyObject * obj0 = 0 ;
4040 PyObject * obj3 = 0 ;
4041 PyObject * obj5 = 0 ;
4042 PyObject * obj6 = 0 ;
4043 char *kwnames[] = {
4044 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4045 };
4046
4047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliOi|OOl:new_SplashScreen",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5,&obj5,&obj6,&arg8)) goto fail;
4048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4049 if (arg1 == NULL) {
4050 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4051 }
4052 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4053 if (obj5) {
4054 {
4055 arg6 = &temp6;
4056 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4057 }
4058 }
4059 if (obj6) {
4060 {
4061 arg7 = &temp7;
4062 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4063 }
4064 }
4065 {
4066 PyThreadState* __tstate = wxPyBeginAllowThreads();
4067 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4068
4069 wxPyEndAllowThreads(__tstate);
4070 if (PyErr_Occurred()) SWIG_fail;
4071 }
4072 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreen, 1);
4073 return resultobj;
4074 fail:
4075 return NULL;
4076 }
4077
4078
4079 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4080 PyObject *resultobj;
4081 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4082 long result;
4083 PyObject * obj0 = 0 ;
4084 char *kwnames[] = {
4085 (char *) "self", NULL
4086 };
4087
4088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4090 {
4091 PyThreadState* __tstate = wxPyBeginAllowThreads();
4092 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4093
4094 wxPyEndAllowThreads(__tstate);
4095 if (PyErr_Occurred()) SWIG_fail;
4096 }
4097 resultobj = PyInt_FromLong((long)result);
4098 return resultobj;
4099 fail:
4100 return NULL;
4101 }
4102
4103
4104 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4105 PyObject *resultobj;
4106 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4107 wxSplashScreenWindow *result;
4108 PyObject * obj0 = 0 ;
4109 char *kwnames[] = {
4110 (char *) "self", NULL
4111 };
4112
4113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4115 {
4116 PyThreadState* __tstate = wxPyBeginAllowThreads();
4117 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4118
4119 wxPyEndAllowThreads(__tstate);
4120 if (PyErr_Occurred()) SWIG_fail;
4121 }
4122 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 0);
4123 return resultobj;
4124 fail:
4125 return NULL;
4126 }
4127
4128
4129 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4130 PyObject *resultobj;
4131 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4132 int result;
4133 PyObject * obj0 = 0 ;
4134 char *kwnames[] = {
4135 (char *) "self", NULL
4136 };
4137
4138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4140 {
4141 PyThreadState* __tstate = wxPyBeginAllowThreads();
4142 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4143
4144 wxPyEndAllowThreads(__tstate);
4145 if (PyErr_Occurred()) SWIG_fail;
4146 }
4147 resultobj = PyInt_FromLong((long)result);
4148 return resultobj;
4149 fail:
4150 return NULL;
4151 }
4152
4153
4154 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4155 PyObject *obj;
4156 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4157 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4158 Py_INCREF(obj);
4159 return Py_BuildValue((char *)"");
4160 }
4161 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4162 PyObject *resultobj;
4163 wxWindow *arg1 = (wxWindow *) 0 ;
4164 int arg2 = (int) -1 ;
4165 long arg3 = (long) wxST_SIZEGRIP ;
4166 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4167 wxString *arg4 = (wxString *) &arg4_defvalue ;
4168 wxStatusBar *result;
4169 bool temp4 = False ;
4170 PyObject * obj0 = 0 ;
4171 PyObject * obj3 = 0 ;
4172 char *kwnames[] = {
4173 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4174 };
4175
4176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ilO:new_StatusBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
4177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4178 if (obj3) {
4179 {
4180 arg4 = wxString_in_helper(obj3);
4181 if (arg4 == NULL) SWIG_fail;
4182 temp4 = True;
4183 }
4184 }
4185 {
4186 PyThreadState* __tstate = wxPyBeginAllowThreads();
4187 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4188
4189 wxPyEndAllowThreads(__tstate);
4190 if (PyErr_Occurred()) SWIG_fail;
4191 }
4192 {
4193 resultobj = wxPyMake_wxObject(result);
4194 }
4195 {
4196 if (temp4)
4197 delete arg4;
4198 }
4199 return resultobj;
4200 fail:
4201 {
4202 if (temp4)
4203 delete arg4;
4204 }
4205 return NULL;
4206 }
4207
4208
4209 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4210 PyObject *resultobj;
4211 wxStatusBar *result;
4212 char *kwnames[] = {
4213 NULL
4214 };
4215
4216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4217 {
4218 PyThreadState* __tstate = wxPyBeginAllowThreads();
4219 result = (wxStatusBar *)new wxStatusBar();
4220
4221 wxPyEndAllowThreads(__tstate);
4222 if (PyErr_Occurred()) SWIG_fail;
4223 }
4224 {
4225 resultobj = wxPyMake_wxObject(result);
4226 }
4227 return resultobj;
4228 fail:
4229 return NULL;
4230 }
4231
4232
4233 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4234 PyObject *resultobj;
4235 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4236 wxWindow *arg2 = (wxWindow *) 0 ;
4237 int arg3 ;
4238 long arg4 = (long) wxST_SIZEGRIP ;
4239 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4240 wxString *arg5 = (wxString *) &arg5_defvalue ;
4241 bool result;
4242 bool temp5 = False ;
4243 PyObject * obj0 = 0 ;
4244 PyObject * obj1 = 0 ;
4245 PyObject * obj4 = 0 ;
4246 char *kwnames[] = {
4247 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4248 };
4249
4250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|lO:StatusBar_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
4251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4252 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4253 if (obj4) {
4254 {
4255 arg5 = wxString_in_helper(obj4);
4256 if (arg5 == NULL) SWIG_fail;
4257 temp5 = True;
4258 }
4259 }
4260 {
4261 PyThreadState* __tstate = wxPyBeginAllowThreads();
4262 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4263
4264 wxPyEndAllowThreads(__tstate);
4265 if (PyErr_Occurred()) SWIG_fail;
4266 }
4267 resultobj = PyInt_FromLong((long)result);
4268 {
4269 if (temp5)
4270 delete arg5;
4271 }
4272 return resultobj;
4273 fail:
4274 {
4275 if (temp5)
4276 delete arg5;
4277 }
4278 return NULL;
4279 }
4280
4281
4282 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4283 PyObject *resultobj;
4284 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4285 int arg2 = (int) 1 ;
4286 PyObject * obj0 = 0 ;
4287 char *kwnames[] = {
4288 (char *) "self",(char *) "number", NULL
4289 };
4290
4291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_SetFieldsCount",kwnames,&obj0,&arg2)) goto fail;
4292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4293 {
4294 PyThreadState* __tstate = wxPyBeginAllowThreads();
4295 (arg1)->SetFieldsCount(arg2);
4296
4297 wxPyEndAllowThreads(__tstate);
4298 if (PyErr_Occurred()) SWIG_fail;
4299 }
4300 Py_INCREF(Py_None); resultobj = Py_None;
4301 return resultobj;
4302 fail:
4303 return NULL;
4304 }
4305
4306
4307 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4308 PyObject *resultobj;
4309 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4310 int result;
4311 PyObject * obj0 = 0 ;
4312 char *kwnames[] = {
4313 (char *) "self", NULL
4314 };
4315
4316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
4317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4318 {
4319 PyThreadState* __tstate = wxPyBeginAllowThreads();
4320 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
4321
4322 wxPyEndAllowThreads(__tstate);
4323 if (PyErr_Occurred()) SWIG_fail;
4324 }
4325 resultobj = PyInt_FromLong((long)result);
4326 return resultobj;
4327 fail:
4328 return NULL;
4329 }
4330
4331
4332 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4333 PyObject *resultobj;
4334 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4335 wxString *arg2 = 0 ;
4336 int arg3 = (int) 0 ;
4337 bool temp2 = False ;
4338 PyObject * obj0 = 0 ;
4339 PyObject * obj1 = 0 ;
4340 char *kwnames[] = {
4341 (char *) "self",(char *) "text",(char *) "number", NULL
4342 };
4343
4344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4346 {
4347 arg2 = wxString_in_helper(obj1);
4348 if (arg2 == NULL) SWIG_fail;
4349 temp2 = True;
4350 }
4351 {
4352 PyThreadState* __tstate = wxPyBeginAllowThreads();
4353 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
4354
4355 wxPyEndAllowThreads(__tstate);
4356 if (PyErr_Occurred()) SWIG_fail;
4357 }
4358 Py_INCREF(Py_None); resultobj = Py_None;
4359 {
4360 if (temp2)
4361 delete arg2;
4362 }
4363 return resultobj;
4364 fail:
4365 {
4366 if (temp2)
4367 delete arg2;
4368 }
4369 return NULL;
4370 }
4371
4372
4373 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4374 PyObject *resultobj;
4375 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4376 int arg2 = (int) 0 ;
4377 wxString result;
4378 PyObject * obj0 = 0 ;
4379 char *kwnames[] = {
4380 (char *) "self",(char *) "number", NULL
4381 };
4382
4383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_GetStatusText",kwnames,&obj0,&arg2)) goto fail;
4384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4385 {
4386 PyThreadState* __tstate = wxPyBeginAllowThreads();
4387 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
4388
4389 wxPyEndAllowThreads(__tstate);
4390 if (PyErr_Occurred()) SWIG_fail;
4391 }
4392 {
4393 #if wxUSE_UNICODE
4394 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4395 #else
4396 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4397 #endif
4398 }
4399 return resultobj;
4400 fail:
4401 return NULL;
4402 }
4403
4404
4405 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4406 PyObject *resultobj;
4407 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4408 wxString *arg2 = 0 ;
4409 int arg3 = (int) 0 ;
4410 bool temp2 = False ;
4411 PyObject * obj0 = 0 ;
4412 PyObject * obj1 = 0 ;
4413 char *kwnames[] = {
4414 (char *) "self",(char *) "text",(char *) "number", NULL
4415 };
4416
4417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4419 {
4420 arg2 = wxString_in_helper(obj1);
4421 if (arg2 == NULL) SWIG_fail;
4422 temp2 = True;
4423 }
4424 {
4425 PyThreadState* __tstate = wxPyBeginAllowThreads();
4426 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
4427
4428 wxPyEndAllowThreads(__tstate);
4429 if (PyErr_Occurred()) SWIG_fail;
4430 }
4431 Py_INCREF(Py_None); resultobj = Py_None;
4432 {
4433 if (temp2)
4434 delete arg2;
4435 }
4436 return resultobj;
4437 fail:
4438 {
4439 if (temp2)
4440 delete arg2;
4441 }
4442 return NULL;
4443 }
4444
4445
4446 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4447 PyObject *resultobj;
4448 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4449 int arg2 = (int) 0 ;
4450 PyObject * obj0 = 0 ;
4451 char *kwnames[] = {
4452 (char *) "self",(char *) "number", NULL
4453 };
4454
4455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
4456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4457 {
4458 PyThreadState* __tstate = wxPyBeginAllowThreads();
4459 (arg1)->PopStatusText(arg2);
4460
4461 wxPyEndAllowThreads(__tstate);
4462 if (PyErr_Occurred()) SWIG_fail;
4463 }
4464 Py_INCREF(Py_None); resultobj = Py_None;
4465 return resultobj;
4466 fail:
4467 return NULL;
4468 }
4469
4470
4471 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
4472 PyObject *resultobj;
4473 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4474 int arg2 ;
4475 int *arg3 = (int *) 0 ;
4476 PyObject * obj0 = 0 ;
4477 PyObject * obj1 = 0 ;
4478 char *kwnames[] = {
4479 (char *) "self",(char *) "widths", NULL
4480 };
4481
4482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
4483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4484 {
4485 arg2 = PyList_Size(obj1);
4486 arg3 = int_LIST_helper(obj1);
4487 if (arg3 == NULL) SWIG_fail;
4488 }
4489 {
4490 PyThreadState* __tstate = wxPyBeginAllowThreads();
4491 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
4492
4493 wxPyEndAllowThreads(__tstate);
4494 if (PyErr_Occurred()) SWIG_fail;
4495 }
4496 Py_INCREF(Py_None); resultobj = Py_None;
4497 {
4498 if (arg3) delete [] arg3;
4499 }
4500 return resultobj;
4501 fail:
4502 {
4503 if (arg3) delete [] arg3;
4504 }
4505 return NULL;
4506 }
4507
4508
4509 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4510 PyObject *resultobj;
4511 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4512 int arg2 ;
4513 wxRect result;
4514 PyObject * obj0 = 0 ;
4515 char *kwnames[] = {
4516 (char *) "self",(char *) "i", NULL
4517 };
4518
4519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_GetFieldRect",kwnames,&obj0,&arg2)) goto fail;
4520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4521 {
4522 PyThreadState* __tstate = wxPyBeginAllowThreads();
4523 result = wxStatusBar_GetFieldRect(arg1,arg2);
4524
4525 wxPyEndAllowThreads(__tstate);
4526 if (PyErr_Occurred()) SWIG_fail;
4527 }
4528 {
4529 wxRect * resultptr;
4530 resultptr = new wxRect((wxRect &) result);
4531 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
4532 }
4533 return resultobj;
4534 fail:
4535 return NULL;
4536 }
4537
4538
4539 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
4540 PyObject *resultobj;
4541 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4542 int arg2 ;
4543 PyObject * obj0 = 0 ;
4544 char *kwnames[] = {
4545 (char *) "self",(char *) "height", NULL
4546 };
4547
4548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_SetMinHeight",kwnames,&obj0,&arg2)) goto fail;
4549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4550 {
4551 PyThreadState* __tstate = wxPyBeginAllowThreads();
4552 (arg1)->SetMinHeight(arg2);
4553
4554 wxPyEndAllowThreads(__tstate);
4555 if (PyErr_Occurred()) SWIG_fail;
4556 }
4557 Py_INCREF(Py_None); resultobj = Py_None;
4558 return resultobj;
4559 fail:
4560 return NULL;
4561 }
4562
4563
4564 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
4565 PyObject *resultobj;
4566 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4567 int result;
4568 PyObject * obj0 = 0 ;
4569 char *kwnames[] = {
4570 (char *) "self", NULL
4571 };
4572
4573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
4574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4575 {
4576 PyThreadState* __tstate = wxPyBeginAllowThreads();
4577 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
4578
4579 wxPyEndAllowThreads(__tstate);
4580 if (PyErr_Occurred()) SWIG_fail;
4581 }
4582 resultobj = PyInt_FromLong((long)result);
4583 return resultobj;
4584 fail:
4585 return NULL;
4586 }
4587
4588
4589 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
4590 PyObject *resultobj;
4591 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4592 int result;
4593 PyObject * obj0 = 0 ;
4594 char *kwnames[] = {
4595 (char *) "self", NULL
4596 };
4597
4598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
4599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4600 {
4601 PyThreadState* __tstate = wxPyBeginAllowThreads();
4602 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
4603
4604 wxPyEndAllowThreads(__tstate);
4605 if (PyErr_Occurred()) SWIG_fail;
4606 }
4607 resultobj = PyInt_FromLong((long)result);
4608 return resultobj;
4609 fail:
4610 return NULL;
4611 }
4612
4613
4614 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
4615 PyObject *obj;
4616 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4617 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
4618 Py_INCREF(obj);
4619 return Py_BuildValue((char *)"");
4620 }
4621 static int _wrap_SplitterNameStr_set(PyObject *_val) {
4622 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
4623 return 1;
4624 }
4625
4626
4627 static PyObject *_wrap_SplitterNameStr_get() {
4628 PyObject *pyobj;
4629
4630 {
4631 #if wxUSE_UNICODE
4632 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
4633 #else
4634 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
4635 #endif
4636 }
4637 return pyobj;
4638 }
4639
4640
4641 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4642 PyObject *resultobj;
4643 wxWindow *arg1 = (wxWindow *) 0 ;
4644 int arg2 ;
4645 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4646 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4647 wxSize const &arg4_defvalue = wxDefaultSize ;
4648 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4649 long arg5 = (long) wxSP_3D ;
4650 wxString const &arg6_defvalue = wxPySplitterNameStr ;
4651 wxString *arg6 = (wxString *) &arg6_defvalue ;
4652 wxSplitterWindow *result;
4653 wxPoint temp3 ;
4654 wxSize temp4 ;
4655 bool temp6 = False ;
4656 PyObject * obj0 = 0 ;
4657 PyObject * obj2 = 0 ;
4658 PyObject * obj3 = 0 ;
4659 PyObject * obj5 = 0 ;
4660 char *kwnames[] = {
4661 (char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4662 };
4663
4664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SplitterWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
4665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4666 if (obj2) {
4667 {
4668 arg3 = &temp3;
4669 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4670 }
4671 }
4672 if (obj3) {
4673 {
4674 arg4 = &temp4;
4675 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4676 }
4677 }
4678 if (obj5) {
4679 {
4680 arg6 = wxString_in_helper(obj5);
4681 if (arg6 == NULL) SWIG_fail;
4682 temp6 = True;
4683 }
4684 }
4685 {
4686 PyThreadState* __tstate = wxPyBeginAllowThreads();
4687 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4688
4689 wxPyEndAllowThreads(__tstate);
4690 if (PyErr_Occurred()) SWIG_fail;
4691 }
4692 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
4693 {
4694 if (temp6)
4695 delete arg6;
4696 }
4697 return resultobj;
4698 fail:
4699 {
4700 if (temp6)
4701 delete arg6;
4702 }
4703 return NULL;
4704 }
4705
4706
4707 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4708 PyObject *resultobj;
4709 wxSplitterWindow *result;
4710 char *kwnames[] = {
4711 NULL
4712 };
4713
4714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
4715 {
4716 PyThreadState* __tstate = wxPyBeginAllowThreads();
4717 result = (wxSplitterWindow *)new wxSplitterWindow();
4718
4719 wxPyEndAllowThreads(__tstate);
4720 if (PyErr_Occurred()) SWIG_fail;
4721 }
4722 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
4723 return resultobj;
4724 fail:
4725 return NULL;
4726 }
4727
4728
4729 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4730 PyObject *resultobj;
4731 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4732 wxWindow *arg2 = (wxWindow *) 0 ;
4733 int arg3 ;
4734 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4735 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4736 wxSize const &arg5_defvalue = wxDefaultSize ;
4737 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4738 long arg6 = (long) wxSP_3D ;
4739 wxString const &arg7_defvalue = wxPySplitterNameStr ;
4740 wxString *arg7 = (wxString *) &arg7_defvalue ;
4741 bool result;
4742 wxPoint temp4 ;
4743 wxSize temp5 ;
4744 bool temp7 = False ;
4745 PyObject * obj0 = 0 ;
4746 PyObject * obj1 = 0 ;
4747 PyObject * obj3 = 0 ;
4748 PyObject * obj4 = 0 ;
4749 PyObject * obj6 = 0 ;
4750 char *kwnames[] = {
4751 (char *) "self",(char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4752 };
4753
4754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SplitterWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
4755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4756 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4757 if (obj3) {
4758 {
4759 arg4 = &temp4;
4760 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4761 }
4762 }
4763 if (obj4) {
4764 {
4765 arg5 = &temp5;
4766 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4767 }
4768 }
4769 if (obj6) {
4770 {
4771 arg7 = wxString_in_helper(obj6);
4772 if (arg7 == NULL) SWIG_fail;
4773 temp7 = True;
4774 }
4775 }
4776 {
4777 PyThreadState* __tstate = wxPyBeginAllowThreads();
4778 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4779
4780 wxPyEndAllowThreads(__tstate);
4781 if (PyErr_Occurred()) SWIG_fail;
4782 }
4783 resultobj = PyInt_FromLong((long)result);
4784 {
4785 if (temp7)
4786 delete arg7;
4787 }
4788 return resultobj;
4789 fail:
4790 {
4791 if (temp7)
4792 delete arg7;
4793 }
4794 return NULL;
4795 }
4796
4797
4798 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
4799 PyObject *resultobj;
4800 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4801 wxWindow *result;
4802 PyObject * obj0 = 0 ;
4803 char *kwnames[] = {
4804 (char *) "self", NULL
4805 };
4806
4807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
4808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4809 {
4810 PyThreadState* __tstate = wxPyBeginAllowThreads();
4811 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
4812
4813 wxPyEndAllowThreads(__tstate);
4814 if (PyErr_Occurred()) SWIG_fail;
4815 }
4816 {
4817 resultobj = wxPyMake_wxObject(result);
4818 }
4819 return resultobj;
4820 fail:
4821 return NULL;
4822 }
4823
4824
4825 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
4826 PyObject *resultobj;
4827 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4828 wxWindow *result;
4829 PyObject * obj0 = 0 ;
4830 char *kwnames[] = {
4831 (char *) "self", NULL
4832 };
4833
4834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
4835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4836 {
4837 PyThreadState* __tstate = wxPyBeginAllowThreads();
4838 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
4839
4840 wxPyEndAllowThreads(__tstate);
4841 if (PyErr_Occurred()) SWIG_fail;
4842 }
4843 {
4844 resultobj = wxPyMake_wxObject(result);
4845 }
4846 return resultobj;
4847 fail:
4848 return NULL;
4849 }
4850
4851
4852 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4853 PyObject *resultobj;
4854 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4855 int arg2 ;
4856 PyObject * obj0 = 0 ;
4857 char *kwnames[] = {
4858 (char *) "self",(char *) "mode", NULL
4859 };
4860
4861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSplitMode",kwnames,&obj0,&arg2)) goto fail;
4862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4863 {
4864 PyThreadState* __tstate = wxPyBeginAllowThreads();
4865 (arg1)->SetSplitMode(arg2);
4866
4867 wxPyEndAllowThreads(__tstate);
4868 if (PyErr_Occurred()) SWIG_fail;
4869 }
4870 Py_INCREF(Py_None); resultobj = Py_None;
4871 return resultobj;
4872 fail:
4873 return NULL;
4874 }
4875
4876
4877 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4878 PyObject *resultobj;
4879 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4880 int result;
4881 PyObject * obj0 = 0 ;
4882 char *kwnames[] = {
4883 (char *) "self", NULL
4884 };
4885
4886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
4887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4888 {
4889 PyThreadState* __tstate = wxPyBeginAllowThreads();
4890 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
4891
4892 wxPyEndAllowThreads(__tstate);
4893 if (PyErr_Occurred()) SWIG_fail;
4894 }
4895 resultobj = PyInt_FromLong((long)result);
4896 return resultobj;
4897 fail:
4898 return NULL;
4899 }
4900
4901
4902 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
4903 PyObject *resultobj;
4904 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4905 wxWindow *arg2 = (wxWindow *) 0 ;
4906 PyObject * obj0 = 0 ;
4907 PyObject * obj1 = 0 ;
4908 char *kwnames[] = {
4909 (char *) "self",(char *) "window", NULL
4910 };
4911
4912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
4913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4914 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4915 {
4916 PyThreadState* __tstate = wxPyBeginAllowThreads();
4917 (arg1)->Initialize(arg2);
4918
4919 wxPyEndAllowThreads(__tstate);
4920 if (PyErr_Occurred()) SWIG_fail;
4921 }
4922 Py_INCREF(Py_None); resultobj = Py_None;
4923 return resultobj;
4924 fail:
4925 return NULL;
4926 }
4927
4928
4929 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
4930 PyObject *resultobj;
4931 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4932 wxWindow *arg2 = (wxWindow *) 0 ;
4933 wxWindow *arg3 = (wxWindow *) 0 ;
4934 int arg4 = (int) 0 ;
4935 bool result;
4936 PyObject * obj0 = 0 ;
4937 PyObject * obj1 = 0 ;
4938 PyObject * obj2 = 0 ;
4939 char *kwnames[] = {
4940 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
4941 };
4942
4943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
4944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4945 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4946 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4947 {
4948 PyThreadState* __tstate = wxPyBeginAllowThreads();
4949 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
4950
4951 wxPyEndAllowThreads(__tstate);
4952 if (PyErr_Occurred()) SWIG_fail;
4953 }
4954 resultobj = PyInt_FromLong((long)result);
4955 return resultobj;
4956 fail:
4957 return NULL;
4958 }
4959
4960
4961 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
4962 PyObject *resultobj;
4963 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4964 wxWindow *arg2 = (wxWindow *) 0 ;
4965 wxWindow *arg3 = (wxWindow *) 0 ;
4966 int arg4 = (int) 0 ;
4967 bool result;
4968 PyObject * obj0 = 0 ;
4969 PyObject * obj1 = 0 ;
4970 PyObject * obj2 = 0 ;
4971 char *kwnames[] = {
4972 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
4973 };
4974
4975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
4976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4977 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4978 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4979 {
4980 PyThreadState* __tstate = wxPyBeginAllowThreads();
4981 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
4982
4983 wxPyEndAllowThreads(__tstate);
4984 if (PyErr_Occurred()) SWIG_fail;
4985 }
4986 resultobj = PyInt_FromLong((long)result);
4987 return resultobj;
4988 fail:
4989 return NULL;
4990 }
4991
4992
4993 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
4994 PyObject *resultobj;
4995 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4996 wxWindow *arg2 = (wxWindow *) NULL ;
4997 bool result;
4998 PyObject * obj0 = 0 ;
4999 PyObject * obj1 = 0 ;
5000 char *kwnames[] = {
5001 (char *) "self",(char *) "toRemove", NULL
5002 };
5003
5004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5006 if (obj1) {
5007 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5008 }
5009 {
5010 PyThreadState* __tstate = wxPyBeginAllowThreads();
5011 result = (bool)(arg1)->Unsplit(arg2);
5012
5013 wxPyEndAllowThreads(__tstate);
5014 if (PyErr_Occurred()) SWIG_fail;
5015 }
5016 resultobj = PyInt_FromLong((long)result);
5017 return resultobj;
5018 fail:
5019 return NULL;
5020 }
5021
5022
5023 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5024 PyObject *resultobj;
5025 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5026 wxWindow *arg2 = (wxWindow *) 0 ;
5027 wxWindow *arg3 = (wxWindow *) 0 ;
5028 bool result;
5029 PyObject * obj0 = 0 ;
5030 PyObject * obj1 = 0 ;
5031 PyObject * obj2 = 0 ;
5032 char *kwnames[] = {
5033 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5034 };
5035
5036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5038 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5039 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5040 {
5041 PyThreadState* __tstate = wxPyBeginAllowThreads();
5042 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5043
5044 wxPyEndAllowThreads(__tstate);
5045 if (PyErr_Occurred()) SWIG_fail;
5046 }
5047 resultobj = PyInt_FromLong((long)result);
5048 return resultobj;
5049 fail:
5050 return NULL;
5051 }
5052
5053
5054 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5055 PyObject *resultobj;
5056 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5057 bool result;
5058 PyObject * obj0 = 0 ;
5059 char *kwnames[] = {
5060 (char *) "self", NULL
5061 };
5062
5063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5065 {
5066 PyThreadState* __tstate = wxPyBeginAllowThreads();
5067 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5068
5069 wxPyEndAllowThreads(__tstate);
5070 if (PyErr_Occurred()) SWIG_fail;
5071 }
5072 resultobj = PyInt_FromLong((long)result);
5073 return resultobj;
5074 fail:
5075 return NULL;
5076 }
5077
5078
5079 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5080 PyObject *resultobj;
5081 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5082 int arg2 ;
5083 PyObject * obj0 = 0 ;
5084 char *kwnames[] = {
5085 (char *) "self",(char *) "width", NULL
5086 };
5087
5088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSashSize",kwnames,&obj0,&arg2)) goto fail;
5089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5090 {
5091 PyThreadState* __tstate = wxPyBeginAllowThreads();
5092 (arg1)->SetSashSize(arg2);
5093
5094 wxPyEndAllowThreads(__tstate);
5095 if (PyErr_Occurred()) SWIG_fail;
5096 }
5097 Py_INCREF(Py_None); resultobj = Py_None;
5098 return resultobj;
5099 fail:
5100 return NULL;
5101 }
5102
5103
5104 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5105 PyObject *resultobj;
5106 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5107 int arg2 ;
5108 PyObject * obj0 = 0 ;
5109 char *kwnames[] = {
5110 (char *) "self",(char *) "width", NULL
5111 };
5112
5113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetBorderSize",kwnames,&obj0,&arg2)) goto fail;
5114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5115 {
5116 PyThreadState* __tstate = wxPyBeginAllowThreads();
5117 (arg1)->SetBorderSize(arg2);
5118
5119 wxPyEndAllowThreads(__tstate);
5120 if (PyErr_Occurred()) SWIG_fail;
5121 }
5122 Py_INCREF(Py_None); resultobj = Py_None;
5123 return resultobj;
5124 fail:
5125 return NULL;
5126 }
5127
5128
5129 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5130 PyObject *resultobj;
5131 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5132 int result;
5133 PyObject * obj0 = 0 ;
5134 char *kwnames[] = {
5135 (char *) "self", NULL
5136 };
5137
5138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
5139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5140 {
5141 PyThreadState* __tstate = wxPyBeginAllowThreads();
5142 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
5143
5144 wxPyEndAllowThreads(__tstate);
5145 if (PyErr_Occurred()) SWIG_fail;
5146 }
5147 resultobj = PyInt_FromLong((long)result);
5148 return resultobj;
5149 fail:
5150 return NULL;
5151 }
5152
5153
5154 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5155 PyObject *resultobj;
5156 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5157 int result;
5158 PyObject * obj0 = 0 ;
5159 char *kwnames[] = {
5160 (char *) "self", NULL
5161 };
5162
5163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
5164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5165 {
5166 PyThreadState* __tstate = wxPyBeginAllowThreads();
5167 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
5168
5169 wxPyEndAllowThreads(__tstate);
5170 if (PyErr_Occurred()) SWIG_fail;
5171 }
5172 resultobj = PyInt_FromLong((long)result);
5173 return resultobj;
5174 fail:
5175 return NULL;
5176 }
5177
5178
5179 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5180 PyObject *resultobj;
5181 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5182 int arg2 ;
5183 bool arg3 = (bool) True ;
5184 PyObject * obj0 = 0 ;
5185 PyObject * obj2 = 0 ;
5186 char *kwnames[] = {
5187 (char *) "self",(char *) "position",(char *) "redraw", NULL
5188 };
5189
5190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
5191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5192 if (obj2) {
5193 arg3 = PyInt_AsLong(obj2) ? true : false;
5194 if (PyErr_Occurred()) SWIG_fail;
5195 }
5196 {
5197 PyThreadState* __tstate = wxPyBeginAllowThreads();
5198 (arg1)->SetSashPosition(arg2,arg3);
5199
5200 wxPyEndAllowThreads(__tstate);
5201 if (PyErr_Occurred()) SWIG_fail;
5202 }
5203 Py_INCREF(Py_None); resultobj = Py_None;
5204 return resultobj;
5205 fail:
5206 return NULL;
5207 }
5208
5209
5210 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5211 PyObject *resultobj;
5212 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5213 int result;
5214 PyObject * obj0 = 0 ;
5215 char *kwnames[] = {
5216 (char *) "self", NULL
5217 };
5218
5219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
5220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5221 {
5222 PyThreadState* __tstate = wxPyBeginAllowThreads();
5223 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
5224
5225 wxPyEndAllowThreads(__tstate);
5226 if (PyErr_Occurred()) SWIG_fail;
5227 }
5228 resultobj = PyInt_FromLong((long)result);
5229 return resultobj;
5230 fail:
5231 return NULL;
5232 }
5233
5234
5235 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5236 PyObject *resultobj;
5237 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5238 int arg2 ;
5239 PyObject * obj0 = 0 ;
5240 char *kwnames[] = {
5241 (char *) "self",(char *) "min", NULL
5242 };
5243
5244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&arg2)) goto fail;
5245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5246 {
5247 PyThreadState* __tstate = wxPyBeginAllowThreads();
5248 (arg1)->SetMinimumPaneSize(arg2);
5249
5250 wxPyEndAllowThreads(__tstate);
5251 if (PyErr_Occurred()) SWIG_fail;
5252 }
5253 Py_INCREF(Py_None); resultobj = Py_None;
5254 return resultobj;
5255 fail:
5256 return NULL;
5257 }
5258
5259
5260 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5261 PyObject *resultobj;
5262 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5263 int result;
5264 PyObject * obj0 = 0 ;
5265 char *kwnames[] = {
5266 (char *) "self", NULL
5267 };
5268
5269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
5270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5271 {
5272 PyThreadState* __tstate = wxPyBeginAllowThreads();
5273 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
5274
5275 wxPyEndAllowThreads(__tstate);
5276 if (PyErr_Occurred()) SWIG_fail;
5277 }
5278 resultobj = PyInt_FromLong((long)result);
5279 return resultobj;
5280 fail:
5281 return NULL;
5282 }
5283
5284
5285 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5286 PyObject *resultobj;
5287 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5288 int arg2 ;
5289 int arg3 ;
5290 int arg4 = (int) 5 ;
5291 bool result;
5292 PyObject * obj0 = 0 ;
5293 char *kwnames[] = {
5294 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5295 };
5296
5297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SplitterWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
5298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5299 {
5300 PyThreadState* __tstate = wxPyBeginAllowThreads();
5301 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
5302
5303 wxPyEndAllowThreads(__tstate);
5304 if (PyErr_Occurred()) SWIG_fail;
5305 }
5306 resultobj = PyInt_FromLong((long)result);
5307 return resultobj;
5308 fail:
5309 return NULL;
5310 }
5311
5312
5313 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
5314 PyObject *resultobj;
5315 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5316 PyObject * obj0 = 0 ;
5317 char *kwnames[] = {
5318 (char *) "self", NULL
5319 };
5320
5321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
5322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5323 {
5324 PyThreadState* __tstate = wxPyBeginAllowThreads();
5325 (arg1)->SizeWindows();
5326
5327 wxPyEndAllowThreads(__tstate);
5328 if (PyErr_Occurred()) SWIG_fail;
5329 }
5330 Py_INCREF(Py_None); resultobj = Py_None;
5331 return resultobj;
5332 fail:
5333 return NULL;
5334 }
5335
5336
5337 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5338 PyObject *resultobj;
5339 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5340 bool arg2 ;
5341 PyObject * obj0 = 0 ;
5342 PyObject * obj1 = 0 ;
5343 char *kwnames[] = {
5344 (char *) "self",(char *) "needUpdating", NULL
5345 };
5346
5347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
5348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5349 arg2 = PyInt_AsLong(obj1) ? true : false;
5350 if (PyErr_Occurred()) SWIG_fail;
5351 {
5352 PyThreadState* __tstate = wxPyBeginAllowThreads();
5353 (arg1)->SetNeedUpdating(arg2);
5354
5355 wxPyEndAllowThreads(__tstate);
5356 if (PyErr_Occurred()) SWIG_fail;
5357 }
5358 Py_INCREF(Py_None); resultobj = Py_None;
5359 return resultobj;
5360 fail:
5361 return NULL;
5362 }
5363
5364
5365 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5366 PyObject *resultobj;
5367 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5368 bool result;
5369 PyObject * obj0 = 0 ;
5370 char *kwnames[] = {
5371 (char *) "self", NULL
5372 };
5373
5374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
5375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5376 {
5377 PyThreadState* __tstate = wxPyBeginAllowThreads();
5378 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
5379
5380 wxPyEndAllowThreads(__tstate);
5381 if (PyErr_Occurred()) SWIG_fail;
5382 }
5383 resultobj = PyInt_FromLong((long)result);
5384 return resultobj;
5385 fail:
5386 return NULL;
5387 }
5388
5389
5390 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
5391 PyObject *obj;
5392 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5393 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
5394 Py_INCREF(obj);
5395 return Py_BuildValue((char *)"");
5396 }
5397 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5398 PyObject *resultobj;
5399 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
5400 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
5401 wxSplitterEvent *result;
5402 PyObject * obj1 = 0 ;
5403 char *kwnames[] = {
5404 (char *) "type",(char *) "splitter", NULL
5405 };
5406
5407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_SplitterEvent",kwnames,&arg1,&obj1)) goto fail;
5408 if (obj1) {
5409 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5410 }
5411 {
5412 PyThreadState* __tstate = wxPyBeginAllowThreads();
5413 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
5414
5415 wxPyEndAllowThreads(__tstate);
5416 if (PyErr_Occurred()) SWIG_fail;
5417 }
5418 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterEvent, 1);
5419 return resultobj;
5420 fail:
5421 return NULL;
5422 }
5423
5424
5425 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5426 PyObject *resultobj;
5427 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5428 int arg2 ;
5429 PyObject * obj0 = 0 ;
5430 char *kwnames[] = {
5431 (char *) "self",(char *) "pos", NULL
5432 };
5433
5434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterEvent_SetSashPosition",kwnames,&obj0,&arg2)) goto fail;
5435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5436 {
5437 PyThreadState* __tstate = wxPyBeginAllowThreads();
5438 (arg1)->SetSashPosition(arg2);
5439
5440 wxPyEndAllowThreads(__tstate);
5441 if (PyErr_Occurred()) SWIG_fail;
5442 }
5443 Py_INCREF(Py_None); resultobj = Py_None;
5444 return resultobj;
5445 fail:
5446 return NULL;
5447 }
5448
5449
5450 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5451 PyObject *resultobj;
5452 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5453 int result;
5454 PyObject * obj0 = 0 ;
5455 char *kwnames[] = {
5456 (char *) "self", NULL
5457 };
5458
5459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
5460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5461 {
5462 PyThreadState* __tstate = wxPyBeginAllowThreads();
5463 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
5464
5465 wxPyEndAllowThreads(__tstate);
5466 if (PyErr_Occurred()) SWIG_fail;
5467 }
5468 resultobj = PyInt_FromLong((long)result);
5469 return resultobj;
5470 fail:
5471 return NULL;
5472 }
5473
5474
5475 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
5476 PyObject *resultobj;
5477 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5478 wxWindow *result;
5479 PyObject * obj0 = 0 ;
5480 char *kwnames[] = {
5481 (char *) "self", NULL
5482 };
5483
5484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
5485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5486 {
5487 PyThreadState* __tstate = wxPyBeginAllowThreads();
5488 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
5489
5490 wxPyEndAllowThreads(__tstate);
5491 if (PyErr_Occurred()) SWIG_fail;
5492 }
5493 {
5494 resultobj = wxPyMake_wxObject(result);
5495 }
5496 return resultobj;
5497 fail:
5498 return NULL;
5499 }
5500
5501
5502 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
5503 PyObject *resultobj;
5504 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5505 int result;
5506 PyObject * obj0 = 0 ;
5507 char *kwnames[] = {
5508 (char *) "self", NULL
5509 };
5510
5511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
5512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5513 {
5514 PyThreadState* __tstate = wxPyBeginAllowThreads();
5515 result = (int)((wxSplitterEvent const *)arg1)->GetX();
5516
5517 wxPyEndAllowThreads(__tstate);
5518 if (PyErr_Occurred()) SWIG_fail;
5519 }
5520 resultobj = PyInt_FromLong((long)result);
5521 return resultobj;
5522 fail:
5523 return NULL;
5524 }
5525
5526
5527 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
5528 PyObject *resultobj;
5529 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5530 int result;
5531 PyObject * obj0 = 0 ;
5532 char *kwnames[] = {
5533 (char *) "self", NULL
5534 };
5535
5536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
5537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5538 {
5539 PyThreadState* __tstate = wxPyBeginAllowThreads();
5540 result = (int)((wxSplitterEvent const *)arg1)->GetY();
5541
5542 wxPyEndAllowThreads(__tstate);
5543 if (PyErr_Occurred()) SWIG_fail;
5544 }
5545 resultobj = PyInt_FromLong((long)result);
5546 return resultobj;
5547 fail:
5548 return NULL;
5549 }
5550
5551
5552 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
5553 PyObject *obj;
5554 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5555 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
5556 Py_INCREF(obj);
5557 return Py_BuildValue((char *)"");
5558 }
5559 static int _wrap_SashNameStr_set(PyObject *_val) {
5560 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
5561 return 1;
5562 }
5563
5564
5565 static PyObject *_wrap_SashNameStr_get() {
5566 PyObject *pyobj;
5567
5568 {
5569 #if wxUSE_UNICODE
5570 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
5571 #else
5572 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
5573 #endif
5574 }
5575 return pyobj;
5576 }
5577
5578
5579 static int _wrap_SashLayoutNameStr_set(PyObject *_val) {
5580 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
5581 return 1;
5582 }
5583
5584
5585 static PyObject *_wrap_SashLayoutNameStr_get() {
5586 PyObject *pyobj;
5587
5588 {
5589 #if wxUSE_UNICODE
5590 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
5591 #else
5592 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
5593 #endif
5594 }
5595 return pyobj;
5596 }
5597
5598
5599 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5600 PyObject *resultobj;
5601 wxWindow *arg1 = (wxWindow *) 0 ;
5602 int arg2 ;
5603 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5604 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5605 wxSize const &arg4_defvalue = wxDefaultSize ;
5606 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5607 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
5608 wxString const &arg6_defvalue = wxPySashNameStr ;
5609 wxString *arg6 = (wxString *) &arg6_defvalue ;
5610 wxSashWindow *result;
5611 wxPoint temp3 ;
5612 wxSize temp4 ;
5613 bool temp6 = False ;
5614 PyObject * obj0 = 0 ;
5615 PyObject * obj2 = 0 ;
5616 PyObject * obj3 = 0 ;
5617 PyObject * obj5 = 0 ;
5618 char *kwnames[] = {
5619 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5620 };
5621
5622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
5623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5624 if (obj2) {
5625 {
5626 arg3 = &temp3;
5627 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5628 }
5629 }
5630 if (obj3) {
5631 {
5632 arg4 = &temp4;
5633 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5634 }
5635 }
5636 if (obj5) {
5637 {
5638 arg6 = wxString_in_helper(obj5);
5639 if (arg6 == NULL) SWIG_fail;
5640 temp6 = True;
5641 }
5642 }
5643 {
5644 PyThreadState* __tstate = wxPyBeginAllowThreads();
5645 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5646
5647 wxPyEndAllowThreads(__tstate);
5648 if (PyErr_Occurred()) SWIG_fail;
5649 }
5650 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
5651 {
5652 if (temp6)
5653 delete arg6;
5654 }
5655 return resultobj;
5656 fail:
5657 {
5658 if (temp6)
5659 delete arg6;
5660 }
5661 return NULL;
5662 }
5663
5664
5665 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5666 PyObject *resultobj;
5667 wxSashWindow *result;
5668 char *kwnames[] = {
5669 NULL
5670 };
5671
5672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
5673 {
5674 PyThreadState* __tstate = wxPyBeginAllowThreads();
5675 result = (wxSashWindow *)new wxSashWindow();
5676
5677 wxPyEndAllowThreads(__tstate);
5678 if (PyErr_Occurred()) SWIG_fail;
5679 }
5680 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
5681 return resultobj;
5682 fail:
5683 return NULL;
5684 }
5685
5686
5687 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5688 PyObject *resultobj;
5689 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5690 wxWindow *arg2 = (wxWindow *) 0 ;
5691 int arg3 ;
5692 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5693 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5694 wxSize const &arg5_defvalue = wxDefaultSize ;
5695 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5696 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
5697 wxString const &arg7_defvalue = wxPySashNameStr ;
5698 wxString *arg7 = (wxString *) &arg7_defvalue ;
5699 bool result;
5700 wxPoint temp4 ;
5701 wxSize temp5 ;
5702 bool temp7 = False ;
5703 PyObject * obj0 = 0 ;
5704 PyObject * obj1 = 0 ;
5705 PyObject * obj3 = 0 ;
5706 PyObject * obj4 = 0 ;
5707 PyObject * obj6 = 0 ;
5708 char *kwnames[] = {
5709 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5710 };
5711
5712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
5713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5714 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5715 if (obj3) {
5716 {
5717 arg4 = &temp4;
5718 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5719 }
5720 }
5721 if (obj4) {
5722 {
5723 arg5 = &temp5;
5724 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5725 }
5726 }
5727 if (obj6) {
5728 {
5729 arg7 = wxString_in_helper(obj6);
5730 if (arg7 == NULL) SWIG_fail;
5731 temp7 = True;
5732 }
5733 }
5734 {
5735 PyThreadState* __tstate = wxPyBeginAllowThreads();
5736 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5737
5738 wxPyEndAllowThreads(__tstate);
5739 if (PyErr_Occurred()) SWIG_fail;
5740 }
5741 resultobj = PyInt_FromLong((long)result);
5742 {
5743 if (temp7)
5744 delete arg7;
5745 }
5746 return resultobj;
5747 fail:
5748 {
5749 if (temp7)
5750 delete arg7;
5751 }
5752 return NULL;
5753 }
5754
5755
5756 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5757 PyObject *resultobj;
5758 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5759 int arg2 ;
5760 bool arg3 ;
5761 PyObject * obj0 = 0 ;
5762 PyObject * obj2 = 0 ;
5763 char *kwnames[] = {
5764 (char *) "self",(char *) "edge",(char *) "sash", NULL
5765 };
5766
5767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashVisible",kwnames,&obj0,&arg2,&obj2)) goto fail;
5768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5769 arg3 = PyInt_AsLong(obj2) ? true : false;
5770 if (PyErr_Occurred()) SWIG_fail;
5771 {
5772 PyThreadState* __tstate = wxPyBeginAllowThreads();
5773 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
5774
5775 wxPyEndAllowThreads(__tstate);
5776 if (PyErr_Occurred()) SWIG_fail;
5777 }
5778 Py_INCREF(Py_None); resultobj = Py_None;
5779 return resultobj;
5780 fail:
5781 return NULL;
5782 }
5783
5784
5785 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5786 PyObject *resultobj;
5787 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5788 int arg2 ;
5789 bool result;
5790 PyObject * obj0 = 0 ;
5791 char *kwnames[] = {
5792 (char *) "self",(char *) "edge", NULL
5793 };
5794
5795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetSashVisible",kwnames,&obj0,&arg2)) goto fail;
5796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5797 {
5798 PyThreadState* __tstate = wxPyBeginAllowThreads();
5799 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
5800
5801 wxPyEndAllowThreads(__tstate);
5802 if (PyErr_Occurred()) SWIG_fail;
5803 }
5804 resultobj = PyInt_FromLong((long)result);
5805 return resultobj;
5806 fail:
5807 return NULL;
5808 }
5809
5810
5811 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
5812 PyObject *resultobj;
5813 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5814 int arg2 ;
5815 bool arg3 ;
5816 PyObject * obj0 = 0 ;
5817 PyObject * obj2 = 0 ;
5818 char *kwnames[] = {
5819 (char *) "self",(char *) "edge",(char *) "border", NULL
5820 };
5821
5822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashBorder",kwnames,&obj0,&arg2,&obj2)) goto fail;
5823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5824 arg3 = PyInt_AsLong(obj2) ? true : false;
5825 if (PyErr_Occurred()) SWIG_fail;
5826 {
5827 PyThreadState* __tstate = wxPyBeginAllowThreads();
5828 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
5829
5830 wxPyEndAllowThreads(__tstate);
5831 if (PyErr_Occurred()) SWIG_fail;
5832 }
5833 Py_INCREF(Py_None); resultobj = Py_None;
5834 return resultobj;
5835 fail:
5836 return NULL;
5837 }
5838
5839
5840 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
5841 PyObject *resultobj;
5842 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5843 int arg2 ;
5844 bool result;
5845 PyObject * obj0 = 0 ;
5846 char *kwnames[] = {
5847 (char *) "self",(char *) "edge", NULL
5848 };
5849
5850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_HasBorder",kwnames,&obj0,&arg2)) goto fail;
5851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5852 {
5853 PyThreadState* __tstate = wxPyBeginAllowThreads();
5854 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
5855
5856 wxPyEndAllowThreads(__tstate);
5857 if (PyErr_Occurred()) SWIG_fail;
5858 }
5859 resultobj = PyInt_FromLong((long)result);
5860 return resultobj;
5861 fail:
5862 return NULL;
5863 }
5864
5865
5866 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
5867 PyObject *resultobj;
5868 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5869 int arg2 ;
5870 int result;
5871 PyObject * obj0 = 0 ;
5872 char *kwnames[] = {
5873 (char *) "self",(char *) "edge", NULL
5874 };
5875
5876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetEdgeMargin",kwnames,&obj0,&arg2)) goto fail;
5877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5878 {
5879 PyThreadState* __tstate = wxPyBeginAllowThreads();
5880 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
5881
5882 wxPyEndAllowThreads(__tstate);
5883 if (PyErr_Occurred()) SWIG_fail;
5884 }
5885 resultobj = PyInt_FromLong((long)result);
5886 return resultobj;
5887 fail:
5888 return NULL;
5889 }
5890
5891
5892 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5893 PyObject *resultobj;
5894 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5895 int arg2 ;
5896 PyObject * obj0 = 0 ;
5897 char *kwnames[] = {
5898 (char *) "self",(char *) "width", NULL
5899 };
5900
5901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&arg2)) goto fail;
5902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5903 {
5904 PyThreadState* __tstate = wxPyBeginAllowThreads();
5905 (arg1)->SetDefaultBorderSize(arg2);
5906
5907 wxPyEndAllowThreads(__tstate);
5908 if (PyErr_Occurred()) SWIG_fail;
5909 }
5910 Py_INCREF(Py_None); resultobj = Py_None;
5911 return resultobj;
5912 fail:
5913 return NULL;
5914 }
5915
5916
5917 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5918 PyObject *resultobj;
5919 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5920 int result;
5921 PyObject * obj0 = 0 ;
5922 char *kwnames[] = {
5923 (char *) "self", NULL
5924 };
5925
5926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
5927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5928 {
5929 PyThreadState* __tstate = wxPyBeginAllowThreads();
5930 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
5931
5932 wxPyEndAllowThreads(__tstate);
5933 if (PyErr_Occurred()) SWIG_fail;
5934 }
5935 resultobj = PyInt_FromLong((long)result);
5936 return resultobj;
5937 fail:
5938 return NULL;
5939 }
5940
5941
5942 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5943 PyObject *resultobj;
5944 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5945 int arg2 ;
5946 PyObject * obj0 = 0 ;
5947 char *kwnames[] = {
5948 (char *) "self",(char *) "width", NULL
5949 };
5950
5951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetExtraBorderSize",kwnames,&obj0,&arg2)) goto fail;
5952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5953 {
5954 PyThreadState* __tstate = wxPyBeginAllowThreads();
5955 (arg1)->SetExtraBorderSize(arg2);
5956
5957 wxPyEndAllowThreads(__tstate);
5958 if (PyErr_Occurred()) SWIG_fail;
5959 }
5960 Py_INCREF(Py_None); resultobj = Py_None;
5961 return resultobj;
5962 fail:
5963 return NULL;
5964 }
5965
5966
5967 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5968 PyObject *resultobj;
5969 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5970 int result;
5971 PyObject * obj0 = 0 ;
5972 char *kwnames[] = {
5973 (char *) "self", NULL
5974 };
5975
5976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
5977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5978 {
5979 PyThreadState* __tstate = wxPyBeginAllowThreads();
5980 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
5981
5982 wxPyEndAllowThreads(__tstate);
5983 if (PyErr_Occurred()) SWIG_fail;
5984 }
5985 resultobj = PyInt_FromLong((long)result);
5986 return resultobj;
5987 fail:
5988 return NULL;
5989 }
5990
5991
5992 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
5993 PyObject *resultobj;
5994 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5995 int arg2 ;
5996 PyObject * obj0 = 0 ;
5997 char *kwnames[] = {
5998 (char *) "self",(char *) "min", NULL
5999 };
6000
6001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeX",kwnames,&obj0,&arg2)) goto fail;
6002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6003 {
6004 PyThreadState* __tstate = wxPyBeginAllowThreads();
6005 (arg1)->SetMinimumSizeX(arg2);
6006
6007 wxPyEndAllowThreads(__tstate);
6008 if (PyErr_Occurred()) SWIG_fail;
6009 }
6010 Py_INCREF(Py_None); resultobj = Py_None;
6011 return resultobj;
6012 fail:
6013 return NULL;
6014 }
6015
6016
6017 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6018 PyObject *resultobj;
6019 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6020 int arg2 ;
6021 PyObject * obj0 = 0 ;
6022 char *kwnames[] = {
6023 (char *) "self",(char *) "min", NULL
6024 };
6025
6026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeY",kwnames,&obj0,&arg2)) goto fail;
6027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6028 {
6029 PyThreadState* __tstate = wxPyBeginAllowThreads();
6030 (arg1)->SetMinimumSizeY(arg2);
6031
6032 wxPyEndAllowThreads(__tstate);
6033 if (PyErr_Occurred()) SWIG_fail;
6034 }
6035 Py_INCREF(Py_None); resultobj = Py_None;
6036 return resultobj;
6037 fail:
6038 return NULL;
6039 }
6040
6041
6042 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6043 PyObject *resultobj;
6044 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6045 int result;
6046 PyObject * obj0 = 0 ;
6047 char *kwnames[] = {
6048 (char *) "self", NULL
6049 };
6050
6051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
6052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6053 {
6054 PyThreadState* __tstate = wxPyBeginAllowThreads();
6055 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
6056
6057 wxPyEndAllowThreads(__tstate);
6058 if (PyErr_Occurred()) SWIG_fail;
6059 }
6060 resultobj = PyInt_FromLong((long)result);
6061 return resultobj;
6062 fail:
6063 return NULL;
6064 }
6065
6066
6067 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6068 PyObject *resultobj;
6069 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6070 int result;
6071 PyObject * obj0 = 0 ;
6072 char *kwnames[] = {
6073 (char *) "self", NULL
6074 };
6075
6076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
6077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6078 {
6079 PyThreadState* __tstate = wxPyBeginAllowThreads();
6080 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
6081
6082 wxPyEndAllowThreads(__tstate);
6083 if (PyErr_Occurred()) SWIG_fail;
6084 }
6085 resultobj = PyInt_FromLong((long)result);
6086 return resultobj;
6087 fail:
6088 return NULL;
6089 }
6090
6091
6092 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6093 PyObject *resultobj;
6094 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6095 int arg2 ;
6096 PyObject * obj0 = 0 ;
6097 char *kwnames[] = {
6098 (char *) "self",(char *) "max", NULL
6099 };
6100
6101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeX",kwnames,&obj0,&arg2)) goto fail;
6102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6103 {
6104 PyThreadState* __tstate = wxPyBeginAllowThreads();
6105 (arg1)->SetMaximumSizeX(arg2);
6106
6107 wxPyEndAllowThreads(__tstate);
6108 if (PyErr_Occurred()) SWIG_fail;
6109 }
6110 Py_INCREF(Py_None); resultobj = Py_None;
6111 return resultobj;
6112 fail:
6113 return NULL;
6114 }
6115
6116
6117 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6118 PyObject *resultobj;
6119 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6120 int arg2 ;
6121 PyObject * obj0 = 0 ;
6122 char *kwnames[] = {
6123 (char *) "self",(char *) "max", NULL
6124 };
6125
6126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeY",kwnames,&obj0,&arg2)) goto fail;
6127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6128 {
6129 PyThreadState* __tstate = wxPyBeginAllowThreads();
6130 (arg1)->SetMaximumSizeY(arg2);
6131
6132 wxPyEndAllowThreads(__tstate);
6133 if (PyErr_Occurred()) SWIG_fail;
6134 }
6135 Py_INCREF(Py_None); resultobj = Py_None;
6136 return resultobj;
6137 fail:
6138 return NULL;
6139 }
6140
6141
6142 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6143 PyObject *resultobj;
6144 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6145 int result;
6146 PyObject * obj0 = 0 ;
6147 char *kwnames[] = {
6148 (char *) "self", NULL
6149 };
6150
6151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
6152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6153 {
6154 PyThreadState* __tstate = wxPyBeginAllowThreads();
6155 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
6156
6157 wxPyEndAllowThreads(__tstate);
6158 if (PyErr_Occurred()) SWIG_fail;
6159 }
6160 resultobj = PyInt_FromLong((long)result);
6161 return resultobj;
6162 fail:
6163 return NULL;
6164 }
6165
6166
6167 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6168 PyObject *resultobj;
6169 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6170 int result;
6171 PyObject * obj0 = 0 ;
6172 char *kwnames[] = {
6173 (char *) "self", NULL
6174 };
6175
6176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
6177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6178 {
6179 PyThreadState* __tstate = wxPyBeginAllowThreads();
6180 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
6181
6182 wxPyEndAllowThreads(__tstate);
6183 if (PyErr_Occurred()) SWIG_fail;
6184 }
6185 resultobj = PyInt_FromLong((long)result);
6186 return resultobj;
6187 fail:
6188 return NULL;
6189 }
6190
6191
6192 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6193 PyObject *resultobj;
6194 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6195 int arg2 ;
6196 int arg3 ;
6197 int arg4 = (int) 2 ;
6198 int result;
6199 PyObject * obj0 = 0 ;
6200 char *kwnames[] = {
6201 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6202 };
6203
6204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SashWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
6205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6206 {
6207 PyThreadState* __tstate = wxPyBeginAllowThreads();
6208 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
6209
6210 wxPyEndAllowThreads(__tstate);
6211 if (PyErr_Occurred()) SWIG_fail;
6212 }
6213 resultobj = PyInt_FromLong((long)result);
6214 return resultobj;
6215 fail:
6216 return NULL;
6217 }
6218
6219
6220 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6221 PyObject *resultobj;
6222 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6223 PyObject * obj0 = 0 ;
6224 char *kwnames[] = {
6225 (char *) "self", NULL
6226 };
6227
6228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
6229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6230 {
6231 PyThreadState* __tstate = wxPyBeginAllowThreads();
6232 (arg1)->SizeWindows();
6233
6234 wxPyEndAllowThreads(__tstate);
6235 if (PyErr_Occurred()) SWIG_fail;
6236 }
6237 Py_INCREF(Py_None); resultobj = Py_None;
6238 return resultobj;
6239 fail:
6240 return NULL;
6241 }
6242
6243
6244 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
6245 PyObject *obj;
6246 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6247 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
6248 Py_INCREF(obj);
6249 return Py_BuildValue((char *)"");
6250 }
6251 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6252 PyObject *resultobj;
6253 int arg1 = (int) 0 ;
6254 int arg2 = (int) wxSASH_NONE ;
6255 wxSashEvent *result;
6256 char *kwnames[] = {
6257 (char *) "id",(char *) "edge", NULL
6258 };
6259
6260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_SashEvent",kwnames,&arg1,&arg2)) goto fail;
6261 {
6262 PyThreadState* __tstate = wxPyBeginAllowThreads();
6263 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
6264
6265 wxPyEndAllowThreads(__tstate);
6266 if (PyErr_Occurred()) SWIG_fail;
6267 }
6268 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashEvent, 1);
6269 return resultobj;
6270 fail:
6271 return NULL;
6272 }
6273
6274
6275 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6276 PyObject *resultobj;
6277 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6278 int arg2 ;
6279 PyObject * obj0 = 0 ;
6280 char *kwnames[] = {
6281 (char *) "self",(char *) "edge", NULL
6282 };
6283
6284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetEdge",kwnames,&obj0,&arg2)) goto fail;
6285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6286 {
6287 PyThreadState* __tstate = wxPyBeginAllowThreads();
6288 (arg1)->SetEdge((wxSashEdgePosition )arg2);
6289
6290 wxPyEndAllowThreads(__tstate);
6291 if (PyErr_Occurred()) SWIG_fail;
6292 }
6293 Py_INCREF(Py_None); resultobj = Py_None;
6294 return resultobj;
6295 fail:
6296 return NULL;
6297 }
6298
6299
6300 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6301 PyObject *resultobj;
6302 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6303 int result;
6304 PyObject * obj0 = 0 ;
6305 char *kwnames[] = {
6306 (char *) "self", NULL
6307 };
6308
6309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
6310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6311 {
6312 PyThreadState* __tstate = wxPyBeginAllowThreads();
6313 result = (int)((wxSashEvent const *)arg1)->GetEdge();
6314
6315 wxPyEndAllowThreads(__tstate);
6316 if (PyErr_Occurred()) SWIG_fail;
6317 }
6318 resultobj = PyInt_FromLong((long)result);
6319 return resultobj;
6320 fail:
6321 return NULL;
6322 }
6323
6324
6325 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6326 PyObject *resultobj;
6327 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6328 wxRect *arg2 = 0 ;
6329 wxRect temp2 ;
6330 PyObject * obj0 = 0 ;
6331 PyObject * obj1 = 0 ;
6332 char *kwnames[] = {
6333 (char *) "self",(char *) "rect", NULL
6334 };
6335
6336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
6337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6338 {
6339 arg2 = &temp2;
6340 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6341 }
6342 {
6343 PyThreadState* __tstate = wxPyBeginAllowThreads();
6344 (arg1)->SetDragRect((wxRect const &)*arg2);
6345
6346 wxPyEndAllowThreads(__tstate);
6347 if (PyErr_Occurred()) SWIG_fail;
6348 }
6349 Py_INCREF(Py_None); resultobj = Py_None;
6350 return resultobj;
6351 fail:
6352 return NULL;
6353 }
6354
6355
6356 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6357 PyObject *resultobj;
6358 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6359 wxRect result;
6360 PyObject * obj0 = 0 ;
6361 char *kwnames[] = {
6362 (char *) "self", NULL
6363 };
6364
6365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
6366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6367 {
6368 PyThreadState* __tstate = wxPyBeginAllowThreads();
6369 result = ((wxSashEvent const *)arg1)->GetDragRect();
6370
6371 wxPyEndAllowThreads(__tstate);
6372 if (PyErr_Occurred()) SWIG_fail;
6373 }
6374 {
6375 wxRect * resultptr;
6376 resultptr = new wxRect((wxRect &) result);
6377 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
6378 }
6379 return resultobj;
6380 fail:
6381 return NULL;
6382 }
6383
6384
6385 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6386 PyObject *resultobj;
6387 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6388 int arg2 ;
6389 PyObject * obj0 = 0 ;
6390 char *kwnames[] = {
6391 (char *) "self",(char *) "status", NULL
6392 };
6393
6394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetDragStatus",kwnames,&obj0,&arg2)) goto fail;
6395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6396 {
6397 PyThreadState* __tstate = wxPyBeginAllowThreads();
6398 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
6399
6400 wxPyEndAllowThreads(__tstate);
6401 if (PyErr_Occurred()) SWIG_fail;
6402 }
6403 Py_INCREF(Py_None); resultobj = Py_None;
6404 return resultobj;
6405 fail:
6406 return NULL;
6407 }
6408
6409
6410 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6411 PyObject *resultobj;
6412 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6413 int result;
6414 PyObject * obj0 = 0 ;
6415 char *kwnames[] = {
6416 (char *) "self", NULL
6417 };
6418
6419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
6420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6421 {
6422 PyThreadState* __tstate = wxPyBeginAllowThreads();
6423 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
6424
6425 wxPyEndAllowThreads(__tstate);
6426 if (PyErr_Occurred()) SWIG_fail;
6427 }
6428 resultobj = PyInt_FromLong((long)result);
6429 return resultobj;
6430 fail:
6431 return NULL;
6432 }
6433
6434
6435 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
6436 PyObject *obj;
6437 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6438 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
6439 Py_INCREF(obj);
6440 return Py_BuildValue((char *)"");
6441 }
6442 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6443 PyObject *resultobj;
6444 int arg1 = (int) 0 ;
6445 wxQueryLayoutInfoEvent *result;
6446 char *kwnames[] = {
6447 (char *) "id", NULL
6448 };
6449
6450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_QueryLayoutInfoEvent",kwnames,&arg1)) goto fail;
6451 {
6452 PyThreadState* __tstate = wxPyBeginAllowThreads();
6453 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
6454
6455 wxPyEndAllowThreads(__tstate);
6456 if (PyErr_Occurred()) SWIG_fail;
6457 }
6458 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
6459 return resultobj;
6460 fail:
6461 return NULL;
6462 }
6463
6464
6465 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6466 PyObject *resultobj;
6467 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6468 int arg2 ;
6469 PyObject * obj0 = 0 ;
6470 char *kwnames[] = {
6471 (char *) "self",(char *) "length", NULL
6472 };
6473
6474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&arg2)) goto fail;
6475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6476 {
6477 PyThreadState* __tstate = wxPyBeginAllowThreads();
6478 (arg1)->SetRequestedLength(arg2);
6479
6480 wxPyEndAllowThreads(__tstate);
6481 if (PyErr_Occurred()) SWIG_fail;
6482 }
6483 Py_INCREF(Py_None); resultobj = Py_None;
6484 return resultobj;
6485 fail:
6486 return NULL;
6487 }
6488
6489
6490 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6491 PyObject *resultobj;
6492 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6493 int result;
6494 PyObject * obj0 = 0 ;
6495 char *kwnames[] = {
6496 (char *) "self", NULL
6497 };
6498
6499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
6500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6501 {
6502 PyThreadState* __tstate = wxPyBeginAllowThreads();
6503 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
6504
6505 wxPyEndAllowThreads(__tstate);
6506 if (PyErr_Occurred()) SWIG_fail;
6507 }
6508 resultobj = PyInt_FromLong((long)result);
6509 return resultobj;
6510 fail:
6511 return NULL;
6512 }
6513
6514
6515 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6516 PyObject *resultobj;
6517 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6518 int arg2 ;
6519 PyObject * obj0 = 0 ;
6520 char *kwnames[] = {
6521 (char *) "self",(char *) "flags", NULL
6522 };
6523
6524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6526 {
6527 PyThreadState* __tstate = wxPyBeginAllowThreads();
6528 (arg1)->SetFlags(arg2);
6529
6530 wxPyEndAllowThreads(__tstate);
6531 if (PyErr_Occurred()) SWIG_fail;
6532 }
6533 Py_INCREF(Py_None); resultobj = Py_None;
6534 return resultobj;
6535 fail:
6536 return NULL;
6537 }
6538
6539
6540 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6541 PyObject *resultobj;
6542 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6543 int result;
6544 PyObject * obj0 = 0 ;
6545 char *kwnames[] = {
6546 (char *) "self", NULL
6547 };
6548
6549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
6550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6551 {
6552 PyThreadState* __tstate = wxPyBeginAllowThreads();
6553 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
6554
6555 wxPyEndAllowThreads(__tstate);
6556 if (PyErr_Occurred()) SWIG_fail;
6557 }
6558 resultobj = PyInt_FromLong((long)result);
6559 return resultobj;
6560 fail:
6561 return NULL;
6562 }
6563
6564
6565 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6566 PyObject *resultobj;
6567 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6568 wxSize *arg2 = 0 ;
6569 wxSize temp2 ;
6570 PyObject * obj0 = 0 ;
6571 PyObject * obj1 = 0 ;
6572 char *kwnames[] = {
6573 (char *) "self",(char *) "size", NULL
6574 };
6575
6576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
6577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6578 {
6579 arg2 = &temp2;
6580 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
6581 }
6582 {
6583 PyThreadState* __tstate = wxPyBeginAllowThreads();
6584 (arg1)->SetSize((wxSize const &)*arg2);
6585
6586 wxPyEndAllowThreads(__tstate);
6587 if (PyErr_Occurred()) SWIG_fail;
6588 }
6589 Py_INCREF(Py_None); resultobj = Py_None;
6590 return resultobj;
6591 fail:
6592 return NULL;
6593 }
6594
6595
6596 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6597 PyObject *resultobj;
6598 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6599 wxSize result;
6600 PyObject * obj0 = 0 ;
6601 char *kwnames[] = {
6602 (char *) "self", NULL
6603 };
6604
6605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
6606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6607 {
6608 PyThreadState* __tstate = wxPyBeginAllowThreads();
6609 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
6610
6611 wxPyEndAllowThreads(__tstate);
6612 if (PyErr_Occurred()) SWIG_fail;
6613 }
6614 {
6615 wxSize * resultptr;
6616 resultptr = new wxSize((wxSize &) result);
6617 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
6618 }
6619 return resultobj;
6620 fail:
6621 return NULL;
6622 }
6623
6624
6625 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6626 PyObject *resultobj;
6627 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6628 int arg2 ;
6629 PyObject * obj0 = 0 ;
6630 char *kwnames[] = {
6631 (char *) "self",(char *) "orient", NULL
6632 };
6633
6634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
6635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6636 {
6637 PyThreadState* __tstate = wxPyBeginAllowThreads();
6638 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
6639
6640 wxPyEndAllowThreads(__tstate);
6641 if (PyErr_Occurred()) SWIG_fail;
6642 }
6643 Py_INCREF(Py_None); resultobj = Py_None;
6644 return resultobj;
6645 fail:
6646 return NULL;
6647 }
6648
6649
6650 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6651 PyObject *resultobj;
6652 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6653 int result;
6654 PyObject * obj0 = 0 ;
6655 char *kwnames[] = {
6656 (char *) "self", NULL
6657 };
6658
6659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
6660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6661 {
6662 PyThreadState* __tstate = wxPyBeginAllowThreads();
6663 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
6664
6665 wxPyEndAllowThreads(__tstate);
6666 if (PyErr_Occurred()) SWIG_fail;
6667 }
6668 resultobj = PyInt_FromLong((long)result);
6669 return resultobj;
6670 fail:
6671 return NULL;
6672 }
6673
6674
6675 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6676 PyObject *resultobj;
6677 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6678 int arg2 ;
6679 PyObject * obj0 = 0 ;
6680 char *kwnames[] = {
6681 (char *) "self",(char *) "align", NULL
6682 };
6683
6684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
6685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6686 {
6687 PyThreadState* __tstate = wxPyBeginAllowThreads();
6688 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
6689
6690 wxPyEndAllowThreads(__tstate);
6691 if (PyErr_Occurred()) SWIG_fail;
6692 }
6693 Py_INCREF(Py_None); resultobj = Py_None;
6694 return resultobj;
6695 fail:
6696 return NULL;
6697 }
6698
6699
6700 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6701 PyObject *resultobj;
6702 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6703 int result;
6704 PyObject * obj0 = 0 ;
6705 char *kwnames[] = {
6706 (char *) "self", NULL
6707 };
6708
6709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
6710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6711 {
6712 PyThreadState* __tstate = wxPyBeginAllowThreads();
6713 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
6714
6715 wxPyEndAllowThreads(__tstate);
6716 if (PyErr_Occurred()) SWIG_fail;
6717 }
6718 resultobj = PyInt_FromLong((long)result);
6719 return resultobj;
6720 fail:
6721 return NULL;
6722 }
6723
6724
6725 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
6726 PyObject *obj;
6727 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6728 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
6729 Py_INCREF(obj);
6730 return Py_BuildValue((char *)"");
6731 }
6732 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6733 PyObject *resultobj;
6734 int arg1 = (int) 0 ;
6735 wxCalculateLayoutEvent *result;
6736 char *kwnames[] = {
6737 (char *) "id", NULL
6738 };
6739
6740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_CalculateLayoutEvent",kwnames,&arg1)) goto fail;
6741 {
6742 PyThreadState* __tstate = wxPyBeginAllowThreads();
6743 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
6744
6745 wxPyEndAllowThreads(__tstate);
6746 if (PyErr_Occurred()) SWIG_fail;
6747 }
6748 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCalculateLayoutEvent, 1);
6749 return resultobj;
6750 fail:
6751 return NULL;
6752 }
6753
6754
6755 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6756 PyObject *resultobj;
6757 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6758 int arg2 ;
6759 PyObject * obj0 = 0 ;
6760 char *kwnames[] = {
6761 (char *) "self",(char *) "flags", NULL
6762 };
6763
6764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6766 {
6767 PyThreadState* __tstate = wxPyBeginAllowThreads();
6768 (arg1)->SetFlags(arg2);
6769
6770 wxPyEndAllowThreads(__tstate);
6771 if (PyErr_Occurred()) SWIG_fail;
6772 }
6773 Py_INCREF(Py_None); resultobj = Py_None;
6774 return resultobj;
6775 fail:
6776 return NULL;
6777 }
6778
6779
6780 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6781 PyObject *resultobj;
6782 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6783 int result;
6784 PyObject * obj0 = 0 ;
6785 char *kwnames[] = {
6786 (char *) "self", NULL
6787 };
6788
6789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
6790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6791 {
6792 PyThreadState* __tstate = wxPyBeginAllowThreads();
6793 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
6794
6795 wxPyEndAllowThreads(__tstate);
6796 if (PyErr_Occurred()) SWIG_fail;
6797 }
6798 resultobj = PyInt_FromLong((long)result);
6799 return resultobj;
6800 fail:
6801 return NULL;
6802 }
6803
6804
6805 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6806 PyObject *resultobj;
6807 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6808 wxRect *arg2 = 0 ;
6809 wxRect temp2 ;
6810 PyObject * obj0 = 0 ;
6811 PyObject * obj1 = 0 ;
6812 char *kwnames[] = {
6813 (char *) "self",(char *) "rect", NULL
6814 };
6815
6816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
6817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6818 {
6819 arg2 = &temp2;
6820 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6821 }
6822 {
6823 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824 (arg1)->SetRect((wxRect const &)*arg2);
6825
6826 wxPyEndAllowThreads(__tstate);
6827 if (PyErr_Occurred()) SWIG_fail;
6828 }
6829 Py_INCREF(Py_None); resultobj = Py_None;
6830 return resultobj;
6831 fail:
6832 return NULL;
6833 }
6834
6835
6836 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6837 PyObject *resultobj;
6838 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6839 wxRect result;
6840 PyObject * obj0 = 0 ;
6841 char *kwnames[] = {
6842 (char *) "self", NULL
6843 };
6844
6845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
6846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6847 {
6848 PyThreadState* __tstate = wxPyBeginAllowThreads();
6849 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
6850
6851 wxPyEndAllowThreads(__tstate);
6852 if (PyErr_Occurred()) SWIG_fail;
6853 }
6854 {
6855 wxRect * resultptr;
6856 resultptr = new wxRect((wxRect &) result);
6857 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
6858 }
6859 return resultobj;
6860 fail:
6861 return NULL;
6862 }
6863
6864
6865 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
6866 PyObject *obj;
6867 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6868 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
6869 Py_INCREF(obj);
6870 return Py_BuildValue((char *)"");
6871 }
6872 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6873 PyObject *resultobj;
6874 wxWindow *arg1 = (wxWindow *) 0 ;
6875 int arg2 ;
6876 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6877 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6878 wxSize const &arg4_defvalue = wxDefaultSize ;
6879 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6880 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6881 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
6882 wxString *arg6 = (wxString *) &arg6_defvalue ;
6883 wxSashLayoutWindow *result;
6884 wxPoint temp3 ;
6885 wxSize temp4 ;
6886 bool temp6 = False ;
6887 PyObject * obj0 = 0 ;
6888 PyObject * obj2 = 0 ;
6889 PyObject * obj3 = 0 ;
6890 PyObject * obj5 = 0 ;
6891 char *kwnames[] = {
6892 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6893 };
6894
6895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashLayoutWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
6896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6897 if (obj2) {
6898 {
6899 arg3 = &temp3;
6900 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6901 }
6902 }
6903 if (obj3) {
6904 {
6905 arg4 = &temp4;
6906 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6907 }
6908 }
6909 if (obj5) {
6910 {
6911 arg6 = wxString_in_helper(obj5);
6912 if (arg6 == NULL) SWIG_fail;
6913 temp6 = True;
6914 }
6915 }
6916 {
6917 PyThreadState* __tstate = wxPyBeginAllowThreads();
6918 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6919
6920 wxPyEndAllowThreads(__tstate);
6921 if (PyErr_Occurred()) SWIG_fail;
6922 }
6923 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
6924 {
6925 if (temp6)
6926 delete arg6;
6927 }
6928 return resultobj;
6929 fail:
6930 {
6931 if (temp6)
6932 delete arg6;
6933 }
6934 return NULL;
6935 }
6936
6937
6938 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6939 PyObject *resultobj;
6940 wxSashLayoutWindow *result;
6941 char *kwnames[] = {
6942 NULL
6943 };
6944
6945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
6946 {
6947 PyThreadState* __tstate = wxPyBeginAllowThreads();
6948 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
6949
6950 wxPyEndAllowThreads(__tstate);
6951 if (PyErr_Occurred()) SWIG_fail;
6952 }
6953 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
6954 return resultobj;
6955 fail:
6956 return NULL;
6957 }
6958
6959
6960 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6961 PyObject *resultobj;
6962 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
6963 wxWindow *arg2 = (wxWindow *) 0 ;
6964 int arg3 ;
6965 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6966 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6967 wxSize const &arg5_defvalue = wxDefaultSize ;
6968 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6969 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6970 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
6971 wxString *arg7 = (wxString *) &arg7_defvalue ;
6972 bool result;
6973 wxPoint temp4 ;
6974 wxSize temp5 ;
6975 bool temp7 = False ;
6976 PyObject * obj0 = 0 ;
6977 PyObject * obj1 = 0 ;
6978 PyObject * obj3 = 0 ;
6979 PyObject * obj4 = 0 ;
6980 PyObject * obj6 = 0 ;
6981 char *kwnames[] = {
6982 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6983 };
6984
6985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
6986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6987 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6988 if (obj3) {
6989 {
6990 arg4 = &temp4;
6991 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6992 }
6993 }
6994 if (obj4) {
6995 {
6996 arg5 = &temp5;
6997 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6998 }
6999 }
7000 if (obj6) {
7001 {
7002 arg7 = wxString_in_helper(obj6);
7003 if (arg7 == NULL) SWIG_fail;
7004 temp7 = True;
7005 }
7006 }
7007 {
7008 PyThreadState* __tstate = wxPyBeginAllowThreads();
7009 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7010
7011 wxPyEndAllowThreads(__tstate);
7012 if (PyErr_Occurred()) SWIG_fail;
7013 }
7014 resultobj = PyInt_FromLong((long)result);
7015 {
7016 if (temp7)
7017 delete arg7;
7018 }
7019 return resultobj;
7020 fail:
7021 {
7022 if (temp7)
7023 delete arg7;
7024 }
7025 return NULL;
7026 }
7027
7028
7029 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7030 PyObject *resultobj;
7031 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7032 int result;
7033 PyObject * obj0 = 0 ;
7034 char *kwnames[] = {
7035 (char *) "self", NULL
7036 };
7037
7038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
7039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7040 {
7041 PyThreadState* __tstate = wxPyBeginAllowThreads();
7042 result = (int)(arg1)->GetAlignment();
7043
7044 wxPyEndAllowThreads(__tstate);
7045 if (PyErr_Occurred()) SWIG_fail;
7046 }
7047 resultobj = PyInt_FromLong((long)result);
7048 return resultobj;
7049 fail:
7050 return NULL;
7051 }
7052
7053
7054 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7055 PyObject *resultobj;
7056 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7057 int result;
7058 PyObject * obj0 = 0 ;
7059 char *kwnames[] = {
7060 (char *) "self", NULL
7061 };
7062
7063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
7064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7065 {
7066 PyThreadState* __tstate = wxPyBeginAllowThreads();
7067 result = (int)(arg1)->GetOrientation();
7068
7069 wxPyEndAllowThreads(__tstate);
7070 if (PyErr_Occurred()) SWIG_fail;
7071 }
7072 resultobj = PyInt_FromLong((long)result);
7073 return resultobj;
7074 fail:
7075 return NULL;
7076 }
7077
7078
7079 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7080 PyObject *resultobj;
7081 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7082 int arg2 ;
7083 PyObject * obj0 = 0 ;
7084 char *kwnames[] = {
7085 (char *) "self",(char *) "alignment", NULL
7086 };
7087
7088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
7089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7090 {
7091 PyThreadState* __tstate = wxPyBeginAllowThreads();
7092 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7093
7094 wxPyEndAllowThreads(__tstate);
7095 if (PyErr_Occurred()) SWIG_fail;
7096 }
7097 Py_INCREF(Py_None); resultobj = Py_None;
7098 return resultobj;
7099 fail:
7100 return NULL;
7101 }
7102
7103
7104 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7105 PyObject *resultobj;
7106 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7107 wxSize *arg2 = 0 ;
7108 wxSize temp2 ;
7109 PyObject * obj0 = 0 ;
7110 PyObject * obj1 = 0 ;
7111 char *kwnames[] = {
7112 (char *) "self",(char *) "size", NULL
7113 };
7114
7115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
7116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7117 {
7118 arg2 = &temp2;
7119 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7120 }
7121 {
7122 PyThreadState* __tstate = wxPyBeginAllowThreads();
7123 (arg1)->SetDefaultSize((wxSize const &)*arg2);
7124
7125 wxPyEndAllowThreads(__tstate);
7126 if (PyErr_Occurred()) SWIG_fail;
7127 }
7128 Py_INCREF(Py_None); resultobj = Py_None;
7129 return resultobj;
7130 fail:
7131 return NULL;
7132 }
7133
7134
7135 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7136 PyObject *resultobj;
7137 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7138 int arg2 ;
7139 PyObject * obj0 = 0 ;
7140 char *kwnames[] = {
7141 (char *) "self",(char *) "orientation", NULL
7142 };
7143
7144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
7145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7146 {
7147 PyThreadState* __tstate = wxPyBeginAllowThreads();
7148 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7149
7150 wxPyEndAllowThreads(__tstate);
7151 if (PyErr_Occurred()) SWIG_fail;
7152 }
7153 Py_INCREF(Py_None); resultobj = Py_None;
7154 return resultobj;
7155 fail:
7156 return NULL;
7157 }
7158
7159
7160 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
7161 PyObject *obj;
7162 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7163 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
7164 Py_INCREF(obj);
7165 return Py_BuildValue((char *)"");
7166 }
7167 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7168 PyObject *resultobj;
7169 wxLayoutAlgorithm *result;
7170 char *kwnames[] = {
7171 NULL
7172 };
7173
7174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
7175 {
7176 PyThreadState* __tstate = wxPyBeginAllowThreads();
7177 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
7178
7179 wxPyEndAllowThreads(__tstate);
7180 if (PyErr_Occurred()) SWIG_fail;
7181 }
7182 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutAlgorithm, 1);
7183 return resultobj;
7184 fail:
7185 return NULL;
7186 }
7187
7188
7189 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7190 PyObject *resultobj;
7191 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7192 PyObject * obj0 = 0 ;
7193 char *kwnames[] = {
7194 (char *) "self", NULL
7195 };
7196
7197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
7198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7199 {
7200 PyThreadState* __tstate = wxPyBeginAllowThreads();
7201 delete arg1;
7202
7203 wxPyEndAllowThreads(__tstate);
7204 if (PyErr_Occurred()) SWIG_fail;
7205 }
7206 Py_INCREF(Py_None); resultobj = Py_None;
7207 return resultobj;
7208 fail:
7209 return NULL;
7210 }
7211
7212
7213 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7214 PyObject *resultobj;
7215 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7216 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
7217 wxRect *arg3 = (wxRect *) NULL ;
7218 bool result;
7219 PyObject * obj0 = 0 ;
7220 PyObject * obj1 = 0 ;
7221 PyObject * obj2 = 0 ;
7222 char *kwnames[] = {
7223 (char *) "self",(char *) "frame",(char *) "rect", NULL
7224 };
7225
7226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7228 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7229 if (obj2) {
7230 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7231 }
7232 {
7233 PyThreadState* __tstate = wxPyBeginAllowThreads();
7234 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
7235
7236 wxPyEndAllowThreads(__tstate);
7237 if (PyErr_Occurred()) SWIG_fail;
7238 }
7239 resultobj = PyInt_FromLong((long)result);
7240 return resultobj;
7241 fail:
7242 return NULL;
7243 }
7244
7245
7246 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7247 PyObject *resultobj;
7248 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7249 wxFrame *arg2 = (wxFrame *) 0 ;
7250 wxWindow *arg3 = (wxWindow *) NULL ;
7251 bool result;
7252 PyObject * obj0 = 0 ;
7253 PyObject * obj1 = 0 ;
7254 PyObject * obj2 = 0 ;
7255 char *kwnames[] = {
7256 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
7257 };
7258
7259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7261 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7262 if (obj2) {
7263 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7264 }
7265 {
7266 PyThreadState* __tstate = wxPyBeginAllowThreads();
7267 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
7268
7269 wxPyEndAllowThreads(__tstate);
7270 if (PyErr_Occurred()) SWIG_fail;
7271 }
7272 resultobj = PyInt_FromLong((long)result);
7273 return resultobj;
7274 fail:
7275 return NULL;
7276 }
7277
7278
7279 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7280 PyObject *resultobj;
7281 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7282 wxWindow *arg2 = (wxWindow *) 0 ;
7283 wxWindow *arg3 = (wxWindow *) NULL ;
7284 bool result;
7285 PyObject * obj0 = 0 ;
7286 PyObject * obj1 = 0 ;
7287 PyObject * obj2 = 0 ;
7288 char *kwnames[] = {
7289 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
7290 };
7291
7292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
7293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7294 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7295 if (obj2) {
7296 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7297 }
7298 {
7299 PyThreadState* __tstate = wxPyBeginAllowThreads();
7300 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
7301
7302 wxPyEndAllowThreads(__tstate);
7303 if (PyErr_Occurred()) SWIG_fail;
7304 }
7305 resultobj = PyInt_FromLong((long)result);
7306 return resultobj;
7307 fail:
7308 return NULL;
7309 }
7310
7311
7312 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
7313 PyObject *obj;
7314 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7315 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
7316 Py_INCREF(obj);
7317 return Py_BuildValue((char *)"");
7318 }
7319 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7320 PyObject *resultobj;
7321 wxWindow *arg1 = (wxWindow *) 0 ;
7322 int arg2 = (int) wxBORDER_NONE ;
7323 wxPopupWindow *result;
7324 PyObject * obj0 = 0 ;
7325 char *kwnames[] = {
7326 (char *) "parent",(char *) "flags", NULL
7327 };
7328
7329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupWindow",kwnames,&obj0,&arg2)) goto fail;
7330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7331 {
7332 PyThreadState* __tstate = wxPyBeginAllowThreads();
7333 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
7334
7335 wxPyEndAllowThreads(__tstate);
7336 if (PyErr_Occurred()) SWIG_fail;
7337 }
7338 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7339 return resultobj;
7340 fail:
7341 return NULL;
7342 }
7343
7344
7345 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7346 PyObject *resultobj;
7347 wxPopupWindow *result;
7348 char *kwnames[] = {
7349 NULL
7350 };
7351
7352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
7353 {
7354 PyThreadState* __tstate = wxPyBeginAllowThreads();
7355 result = (wxPopupWindow *)new wxPopupWindow();
7356
7357 wxPyEndAllowThreads(__tstate);
7358 if (PyErr_Occurred()) SWIG_fail;
7359 }
7360 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7361 return resultobj;
7362 fail:
7363 return NULL;
7364 }
7365
7366
7367 static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7368 PyObject *resultobj;
7369 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
7370 wxWindow *arg2 = (wxWindow *) 0 ;
7371 int arg3 = (int) wxBORDER_NONE ;
7372 bool result;
7373 PyObject * obj0 = 0 ;
7374 PyObject * obj1 = 0 ;
7375 char *kwnames[] = {
7376 (char *) "self",(char *) "parent",(char *) "flags", NULL
7377 };
7378
7379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:PopupWindow_Create",kwnames,&obj0,&obj1,&arg3)) goto fail;
7380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7381 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7382 {
7383 PyThreadState* __tstate = wxPyBeginAllowThreads();
7384 result = (bool)(arg1)->Create(arg2,arg3);
7385
7386 wxPyEndAllowThreads(__tstate);
7387 if (PyErr_Occurred()) SWIG_fail;
7388 }
7389 resultobj = PyInt_FromLong((long)result);
7390 return resultobj;
7391 fail:
7392 return NULL;
7393 }
7394
7395
7396 static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
7397 PyObject *resultobj;
7398 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
7399 wxPoint *arg2 = 0 ;
7400 wxSize *arg3 = 0 ;
7401 wxPoint temp2 ;
7402 wxSize temp3 ;
7403 PyObject * obj0 = 0 ;
7404 PyObject * obj1 = 0 ;
7405 PyObject * obj2 = 0 ;
7406 char *kwnames[] = {
7407 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
7408 };
7409
7410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
7411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7412 {
7413 arg2 = &temp2;
7414 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7415 }
7416 {
7417 arg3 = &temp3;
7418 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
7419 }
7420 {
7421 PyThreadState* __tstate = wxPyBeginAllowThreads();
7422 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
7423
7424 wxPyEndAllowThreads(__tstate);
7425 if (PyErr_Occurred()) SWIG_fail;
7426 }
7427 Py_INCREF(Py_None); resultobj = Py_None;
7428 return resultobj;
7429 fail:
7430 return NULL;
7431 }
7432
7433
7434 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
7435 PyObject *obj;
7436 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7437 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
7438 Py_INCREF(obj);
7439 return Py_BuildValue((char *)"");
7440 }
7441 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7442 PyObject *resultobj;
7443 wxWindow *arg1 = (wxWindow *) 0 ;
7444 int arg2 = (int) wxBORDER_NONE ;
7445 wxPyPopupTransientWindow *result;
7446 PyObject * obj0 = 0 ;
7447 char *kwnames[] = {
7448 (char *) "parent",(char *) "style", NULL
7449 };
7450
7451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupTransientWindow",kwnames,&obj0,&arg2)) goto fail;
7452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7453 {
7454 PyThreadState* __tstate = wxPyBeginAllowThreads();
7455 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
7456
7457 wxPyEndAllowThreads(__tstate);
7458 if (PyErr_Occurred()) SWIG_fail;
7459 }
7460 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7461 return resultobj;
7462 fail:
7463 return NULL;
7464 }
7465
7466
7467 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7468 PyObject *resultobj;
7469 wxPyPopupTransientWindow *result;
7470 char *kwnames[] = {
7471 NULL
7472 };
7473
7474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
7475 {
7476 PyThreadState* __tstate = wxPyBeginAllowThreads();
7477 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
7478
7479 wxPyEndAllowThreads(__tstate);
7480 if (PyErr_Occurred()) SWIG_fail;
7481 }
7482 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7483 return resultobj;
7484 fail:
7485 return NULL;
7486 }
7487
7488
7489 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7490 PyObject *resultobj;
7491 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7492 PyObject *arg2 = (PyObject *) 0 ;
7493 PyObject *arg3 = (PyObject *) 0 ;
7494 PyObject * obj0 = 0 ;
7495 PyObject * obj1 = 0 ;
7496 PyObject * obj2 = 0 ;
7497 char *kwnames[] = {
7498 (char *) "self",(char *) "self",(char *) "_class", NULL
7499 };
7500
7501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7503 arg2 = obj1;
7504 arg3 = obj2;
7505 {
7506 PyThreadState* __tstate = wxPyBeginAllowThreads();
7507 (arg1)->_setCallbackInfo(arg2,arg3);
7508
7509 wxPyEndAllowThreads(__tstate);
7510 if (PyErr_Occurred()) SWIG_fail;
7511 }
7512 Py_INCREF(Py_None); resultobj = Py_None;
7513 return resultobj;
7514 fail:
7515 return NULL;
7516 }
7517
7518
7519 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
7520 PyObject *resultobj;
7521 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7522 wxWindow *arg2 = (wxWindow *) NULL ;
7523 PyObject * obj0 = 0 ;
7524 PyObject * obj1 = 0 ;
7525 char *kwnames[] = {
7526 (char *) "self",(char *) "focus", NULL
7527 };
7528
7529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
7530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7531 if (obj1) {
7532 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7533 }
7534 {
7535 PyThreadState* __tstate = wxPyBeginAllowThreads();
7536 (arg1)->Popup(arg2);
7537
7538 wxPyEndAllowThreads(__tstate);
7539 if (PyErr_Occurred()) SWIG_fail;
7540 }
7541 Py_INCREF(Py_None); resultobj = Py_None;
7542 return resultobj;
7543 fail:
7544 return NULL;
7545 }
7546
7547
7548 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
7549 PyObject *resultobj;
7550 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7551 PyObject * obj0 = 0 ;
7552 char *kwnames[] = {
7553 (char *) "self", NULL
7554 };
7555
7556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
7557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7558 {
7559 PyThreadState* __tstate = wxPyBeginAllowThreads();
7560 (arg1)->Dismiss();
7561
7562 wxPyEndAllowThreads(__tstate);
7563 if (PyErr_Occurred()) SWIG_fail;
7564 }
7565 Py_INCREF(Py_None); resultobj = Py_None;
7566 return resultobj;
7567 fail:
7568 return NULL;
7569 }
7570
7571
7572 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
7573 PyObject *obj;
7574 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7575 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
7576 Py_INCREF(obj);
7577 return Py_BuildValue((char *)"");
7578 }
7579 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7580 PyObject *resultobj;
7581 wxWindow *arg1 = (wxWindow *) 0 ;
7582 wxString *arg2 = 0 ;
7583 int arg3 = (int) 100 ;
7584 wxRect *arg4 = (wxRect *) NULL ;
7585 wxTipWindow *result;
7586 bool temp2 = False ;
7587 PyObject * obj0 = 0 ;
7588 PyObject * obj1 = 0 ;
7589 PyObject * obj3 = 0 ;
7590 char *kwnames[] = {
7591 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
7592 };
7593
7594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iO:new_TipWindow",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
7595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7596 {
7597 arg2 = wxString_in_helper(obj1);
7598 if (arg2 == NULL) SWIG_fail;
7599 temp2 = True;
7600 }
7601 if (obj3) {
7602 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7603 }
7604 {
7605 PyThreadState* __tstate = wxPyBeginAllowThreads();
7606 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
7607
7608 wxPyEndAllowThreads(__tstate);
7609 if (PyErr_Occurred()) SWIG_fail;
7610 }
7611 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipWindow, 1);
7612 {
7613 if (temp2)
7614 delete arg2;
7615 }
7616 return resultobj;
7617 fail:
7618 {
7619 if (temp2)
7620 delete arg2;
7621 }
7622 return NULL;
7623 }
7624
7625
7626 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7627 PyObject *resultobj;
7628 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7629 wxRect *arg2 = 0 ;
7630 wxRect temp2 ;
7631 PyObject * obj0 = 0 ;
7632 PyObject * obj1 = 0 ;
7633 char *kwnames[] = {
7634 (char *) "self",(char *) "rectBound", NULL
7635 };
7636
7637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
7638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7639 {
7640 arg2 = &temp2;
7641 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7642 }
7643 {
7644 PyThreadState* __tstate = wxPyBeginAllowThreads();
7645 (arg1)->SetBoundingRect((wxRect const &)*arg2);
7646
7647 wxPyEndAllowThreads(__tstate);
7648 if (PyErr_Occurred()) SWIG_fail;
7649 }
7650 Py_INCREF(Py_None); resultobj = Py_None;
7651 return resultobj;
7652 fail:
7653 return NULL;
7654 }
7655
7656
7657 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
7658 PyObject *resultobj;
7659 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7660 PyObject * obj0 = 0 ;
7661 char *kwnames[] = {
7662 (char *) "self", NULL
7663 };
7664
7665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
7666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7667 {
7668 PyThreadState* __tstate = wxPyBeginAllowThreads();
7669 (arg1)->Close();
7670
7671 wxPyEndAllowThreads(__tstate);
7672 if (PyErr_Occurred()) SWIG_fail;
7673 }
7674 Py_INCREF(Py_None); resultobj = Py_None;
7675 return resultobj;
7676 fail:
7677 return NULL;
7678 }
7679
7680
7681 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
7682 PyObject *obj;
7683 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7684 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
7685 Py_INCREF(obj);
7686 return Py_BuildValue((char *)"");
7687 }
7688 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7689 PyObject *resultobj;
7690 wxWindow *arg1 = (wxWindow *) 0 ;
7691 int arg2 = (int) wxID_ANY ;
7692 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7693 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7694 wxSize const &arg4_defvalue = wxDefaultSize ;
7695 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7696 long arg5 = (long) 0 ;
7697 wxString const &arg6_defvalue = wxPyPanelNameStr ;
7698 wxString *arg6 = (wxString *) &arg6_defvalue ;
7699 wxPyVScrolledWindow *result;
7700 wxPoint temp3 ;
7701 wxSize temp4 ;
7702 bool temp6 = False ;
7703 PyObject * obj0 = 0 ;
7704 PyObject * obj2 = 0 ;
7705 PyObject * obj3 = 0 ;
7706 PyObject * obj5 = 0 ;
7707 char *kwnames[] = {
7708 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7709 };
7710
7711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
7712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7713 if (obj2) {
7714 {
7715 arg3 = &temp3;
7716 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7717 }
7718 }
7719 if (obj3) {
7720 {
7721 arg4 = &temp4;
7722 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7723 }
7724 }
7725 if (obj5) {
7726 {
7727 arg6 = wxString_in_helper(obj5);
7728 if (arg6 == NULL) SWIG_fail;
7729 temp6 = True;
7730 }
7731 }
7732 {
7733 PyThreadState* __tstate = wxPyBeginAllowThreads();
7734 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7735
7736 wxPyEndAllowThreads(__tstate);
7737 if (PyErr_Occurred()) SWIG_fail;
7738 }
7739 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
7740 {
7741 if (temp6)
7742 delete arg6;
7743 }
7744 return resultobj;
7745 fail:
7746 {
7747 if (temp6)
7748 delete arg6;
7749 }
7750 return NULL;
7751 }
7752
7753
7754 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7755 PyObject *resultobj;
7756 wxPyVScrolledWindow *result;
7757 char *kwnames[] = {
7758 NULL
7759 };
7760
7761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
7762 {
7763 PyThreadState* __tstate = wxPyBeginAllowThreads();
7764 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
7765
7766 wxPyEndAllowThreads(__tstate);
7767 if (PyErr_Occurred()) SWIG_fail;
7768 }
7769 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
7770 return resultobj;
7771 fail:
7772 return NULL;
7773 }
7774
7775
7776 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7777 PyObject *resultobj;
7778 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7779 PyObject *arg2 = (PyObject *) 0 ;
7780 PyObject *arg3 = (PyObject *) 0 ;
7781 PyObject * obj0 = 0 ;
7782 PyObject * obj1 = 0 ;
7783 PyObject * obj2 = 0 ;
7784 char *kwnames[] = {
7785 (char *) "self",(char *) "self",(char *) "_class", NULL
7786 };
7787
7788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7790 arg2 = obj1;
7791 arg3 = obj2;
7792 {
7793 PyThreadState* __tstate = wxPyBeginAllowThreads();
7794 (arg1)->_setCallbackInfo(arg2,arg3);
7795
7796 wxPyEndAllowThreads(__tstate);
7797 if (PyErr_Occurred()) SWIG_fail;
7798 }
7799 Py_INCREF(Py_None); resultobj = Py_None;
7800 return resultobj;
7801 fail:
7802 return NULL;
7803 }
7804
7805
7806 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7807 PyObject *resultobj;
7808 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7809 wxWindow *arg2 = (wxWindow *) 0 ;
7810 int arg3 = (int) wxID_ANY ;
7811 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7812 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7813 wxSize const &arg5_defvalue = wxDefaultSize ;
7814 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7815 long arg6 = (long) 0 ;
7816 wxString const &arg7_defvalue = wxPyPanelNameStr ;
7817 wxString *arg7 = (wxString *) &arg7_defvalue ;
7818 bool result;
7819 wxPoint temp4 ;
7820 wxSize temp5 ;
7821 bool temp7 = False ;
7822 PyObject * obj0 = 0 ;
7823 PyObject * obj1 = 0 ;
7824 PyObject * obj3 = 0 ;
7825 PyObject * obj4 = 0 ;
7826 PyObject * obj6 = 0 ;
7827 char *kwnames[] = {
7828 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7829 };
7830
7831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
7832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7833 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7834 if (obj3) {
7835 {
7836 arg4 = &temp4;
7837 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7838 }
7839 }
7840 if (obj4) {
7841 {
7842 arg5 = &temp5;
7843 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7844 }
7845 }
7846 if (obj6) {
7847 {
7848 arg7 = wxString_in_helper(obj6);
7849 if (arg7 == NULL) SWIG_fail;
7850 temp7 = True;
7851 }
7852 }
7853 {
7854 PyThreadState* __tstate = wxPyBeginAllowThreads();
7855 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7856
7857 wxPyEndAllowThreads(__tstate);
7858 if (PyErr_Occurred()) SWIG_fail;
7859 }
7860 resultobj = PyInt_FromLong((long)result);
7861 {
7862 if (temp7)
7863 delete arg7;
7864 }
7865 return resultobj;
7866 fail:
7867 {
7868 if (temp7)
7869 delete arg7;
7870 }
7871 return NULL;
7872 }
7873
7874
7875 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7876 PyObject *resultobj;
7877 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7878 size_t arg2 ;
7879 PyObject * obj0 = 0 ;
7880 PyObject * obj1 = 0 ;
7881 char *kwnames[] = {
7882 (char *) "self",(char *) "count", NULL
7883 };
7884
7885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
7886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7887 arg2 = (size_t) PyInt_AsLong(obj1);
7888 if (PyErr_Occurred()) SWIG_fail;
7889 {
7890 PyThreadState* __tstate = wxPyBeginAllowThreads();
7891 (arg1)->SetLineCount(arg2);
7892
7893 wxPyEndAllowThreads(__tstate);
7894 if (PyErr_Occurred()) SWIG_fail;
7895 }
7896 Py_INCREF(Py_None); resultobj = Py_None;
7897 return resultobj;
7898 fail:
7899 return NULL;
7900 }
7901
7902
7903 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7904 PyObject *resultobj;
7905 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7906 size_t arg2 ;
7907 bool result;
7908 PyObject * obj0 = 0 ;
7909 PyObject * obj1 = 0 ;
7910 char *kwnames[] = {
7911 (char *) "self",(char *) "line", NULL
7912 };
7913
7914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
7915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7916 arg2 = (size_t) PyInt_AsLong(obj1);
7917 if (PyErr_Occurred()) SWIG_fail;
7918 {
7919 PyThreadState* __tstate = wxPyBeginAllowThreads();
7920 result = (bool)(arg1)->ScrollToLine(arg2);
7921
7922 wxPyEndAllowThreads(__tstate);
7923 if (PyErr_Occurred()) SWIG_fail;
7924 }
7925 resultobj = PyInt_FromLong((long)result);
7926 return resultobj;
7927 fail:
7928 return NULL;
7929 }
7930
7931
7932 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7933 PyObject *resultobj;
7934 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7935 int arg2 ;
7936 bool result;
7937 PyObject * obj0 = 0 ;
7938 char *kwnames[] = {
7939 (char *) "self",(char *) "lines", NULL
7940 };
7941
7942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollLines",kwnames,&obj0,&arg2)) goto fail;
7943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7944 {
7945 PyThreadState* __tstate = wxPyBeginAllowThreads();
7946 result = (bool)(arg1)->ScrollLines(arg2);
7947
7948 wxPyEndAllowThreads(__tstate);
7949 if (PyErr_Occurred()) SWIG_fail;
7950 }
7951 resultobj = PyInt_FromLong((long)result);
7952 return resultobj;
7953 fail:
7954 return NULL;
7955 }
7956
7957
7958 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
7959 PyObject *resultobj;
7960 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7961 int arg2 ;
7962 bool result;
7963 PyObject * obj0 = 0 ;
7964 char *kwnames[] = {
7965 (char *) "self",(char *) "pages", NULL
7966 };
7967
7968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollPages",kwnames,&obj0,&arg2)) goto fail;
7969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7970 {
7971 PyThreadState* __tstate = wxPyBeginAllowThreads();
7972 result = (bool)(arg1)->ScrollPages(arg2);
7973
7974 wxPyEndAllowThreads(__tstate);
7975 if (PyErr_Occurred()) SWIG_fail;
7976 }
7977 resultobj = PyInt_FromLong((long)result);
7978 return resultobj;
7979 fail:
7980 return NULL;
7981 }
7982
7983
7984 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7985 PyObject *resultobj;
7986 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7987 size_t arg2 ;
7988 PyObject * obj0 = 0 ;
7989 PyObject * obj1 = 0 ;
7990 char *kwnames[] = {
7991 (char *) "self",(char *) "line", NULL
7992 };
7993
7994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
7995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7996 arg2 = (size_t) PyInt_AsLong(obj1);
7997 if (PyErr_Occurred()) SWIG_fail;
7998 {
7999 PyThreadState* __tstate = wxPyBeginAllowThreads();
8000 (arg1)->RefreshLine(arg2);
8001
8002 wxPyEndAllowThreads(__tstate);
8003 if (PyErr_Occurred()) SWIG_fail;
8004 }
8005 Py_INCREF(Py_None); resultobj = Py_None;
8006 return resultobj;
8007 fail:
8008 return NULL;
8009 }
8010
8011
8012 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8013 PyObject *resultobj;
8014 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8015 size_t arg2 ;
8016 size_t arg3 ;
8017 PyObject * obj0 = 0 ;
8018 PyObject * obj1 = 0 ;
8019 PyObject * obj2 = 0 ;
8020 char *kwnames[] = {
8021 (char *) "self",(char *) "from",(char *) "to", NULL
8022 };
8023
8024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
8025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8026 arg2 = (size_t) PyInt_AsLong(obj1);
8027 if (PyErr_Occurred()) SWIG_fail;
8028 arg3 = (size_t) PyInt_AsLong(obj2);
8029 if (PyErr_Occurred()) SWIG_fail;
8030 {
8031 PyThreadState* __tstate = wxPyBeginAllowThreads();
8032 (arg1)->RefreshLines(arg2,arg3);
8033
8034 wxPyEndAllowThreads(__tstate);
8035 if (PyErr_Occurred()) SWIG_fail;
8036 }
8037 Py_INCREF(Py_None); resultobj = Py_None;
8038 return resultobj;
8039 fail:
8040 return NULL;
8041 }
8042
8043
8044 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
8045 PyObject *resultobj;
8046 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8047 int arg2 ;
8048 int arg3 ;
8049 int result;
8050 PyObject * obj0 = 0 ;
8051 char *kwnames[] = {
8052 (char *) "self",(char *) "x",(char *) "y", NULL
8053 };
8054
8055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VScrolledWindow_HitTestXT",kwnames,&obj0,&arg2,&arg3)) goto fail;
8056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8057 {
8058 PyThreadState* __tstate = wxPyBeginAllowThreads();
8059 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
8060
8061 wxPyEndAllowThreads(__tstate);
8062 if (PyErr_Occurred()) SWIG_fail;
8063 }
8064 resultobj = PyInt_FromLong((long)result);
8065 return resultobj;
8066 fail:
8067 return NULL;
8068 }
8069
8070
8071 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8072 PyObject *resultobj;
8073 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8074 wxPoint *arg2 = 0 ;
8075 int result;
8076 wxPoint temp2 ;
8077 PyObject * obj0 = 0 ;
8078 PyObject * obj1 = 0 ;
8079 char *kwnames[] = {
8080 (char *) "self",(char *) "pt", NULL
8081 };
8082
8083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
8084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8085 {
8086 arg2 = &temp2;
8087 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8088 }
8089 {
8090 PyThreadState* __tstate = wxPyBeginAllowThreads();
8091 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
8092
8093 wxPyEndAllowThreads(__tstate);
8094 if (PyErr_Occurred()) SWIG_fail;
8095 }
8096 resultobj = PyInt_FromLong((long)result);
8097 return resultobj;
8098 fail:
8099 return NULL;
8100 }
8101
8102
8103 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8104 PyObject *resultobj;
8105 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8106 PyObject * obj0 = 0 ;
8107 char *kwnames[] = {
8108 (char *) "self", NULL
8109 };
8110
8111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
8112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8113 {
8114 PyThreadState* __tstate = wxPyBeginAllowThreads();
8115 (arg1)->RefreshAll();
8116
8117 wxPyEndAllowThreads(__tstate);
8118 if (PyErr_Occurred()) SWIG_fail;
8119 }
8120 Py_INCREF(Py_None); resultobj = Py_None;
8121 return resultobj;
8122 fail:
8123 return NULL;
8124 }
8125
8126
8127 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8128 PyObject *resultobj;
8129 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8130 size_t result;
8131 PyObject * obj0 = 0 ;
8132 char *kwnames[] = {
8133 (char *) "self", NULL
8134 };
8135
8136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
8137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8138 {
8139 PyThreadState* __tstate = wxPyBeginAllowThreads();
8140 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
8141
8142 wxPyEndAllowThreads(__tstate);
8143 if (PyErr_Occurred()) SWIG_fail;
8144 }
8145 resultobj = PyInt_FromLong((long)result);
8146 return resultobj;
8147 fail:
8148 return NULL;
8149 }
8150
8151
8152 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8153 PyObject *resultobj;
8154 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8155 size_t result;
8156 PyObject * obj0 = 0 ;
8157 char *kwnames[] = {
8158 (char *) "self", NULL
8159 };
8160
8161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
8162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8163 {
8164 PyThreadState* __tstate = wxPyBeginAllowThreads();
8165 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
8166
8167 wxPyEndAllowThreads(__tstate);
8168 if (PyErr_Occurred()) SWIG_fail;
8169 }
8170 resultobj = PyInt_FromLong((long)result);
8171 return resultobj;
8172 fail:
8173 return NULL;
8174 }
8175
8176
8177 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8178 PyObject *resultobj;
8179 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8180 size_t result;
8181 PyObject * obj0 = 0 ;
8182 char *kwnames[] = {
8183 (char *) "self", NULL
8184 };
8185
8186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
8187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8188 {
8189 PyThreadState* __tstate = wxPyBeginAllowThreads();
8190 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
8191
8192 wxPyEndAllowThreads(__tstate);
8193 if (PyErr_Occurred()) SWIG_fail;
8194 }
8195 resultobj = PyInt_FromLong((long)result);
8196 return resultobj;
8197 fail:
8198 return NULL;
8199 }
8200
8201
8202 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8203 PyObject *resultobj;
8204 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8205 size_t arg2 ;
8206 bool result;
8207 PyObject * obj0 = 0 ;
8208 PyObject * obj1 = 0 ;
8209 char *kwnames[] = {
8210 (char *) "self",(char *) "line", NULL
8211 };
8212
8213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
8214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8215 arg2 = (size_t) PyInt_AsLong(obj1);
8216 if (PyErr_Occurred()) SWIG_fail;
8217 {
8218 PyThreadState* __tstate = wxPyBeginAllowThreads();
8219 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
8220
8221 wxPyEndAllowThreads(__tstate);
8222 if (PyErr_Occurred()) SWIG_fail;
8223 }
8224 resultobj = PyInt_FromLong((long)result);
8225 return resultobj;
8226 fail:
8227 return NULL;
8228 }
8229
8230
8231 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
8232 PyObject *obj;
8233 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8234 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
8235 Py_INCREF(obj);
8236 return Py_BuildValue((char *)"");
8237 }
8238 static int _wrap_VListBoxNameStr_set(PyObject *_val) {
8239 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
8240 return 1;
8241 }
8242
8243
8244 static PyObject *_wrap_VListBoxNameStr_get() {
8245 PyObject *pyobj;
8246
8247 {
8248 #if wxUSE_UNICODE
8249 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
8250 #else
8251 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
8252 #endif
8253 }
8254 return pyobj;
8255 }
8256
8257
8258 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8259 PyObject *resultobj;
8260 wxWindow *arg1 = (wxWindow *) 0 ;
8261 int arg2 = (int) wxID_ANY ;
8262 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8263 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8264 wxSize const &arg4_defvalue = wxDefaultSize ;
8265 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8266 long arg5 = (long) 0 ;
8267 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
8268 wxString *arg6 = (wxString *) &arg6_defvalue ;
8269 wxPyVListBox *result;
8270 wxPoint temp3 ;
8271 wxSize temp4 ;
8272 bool temp6 = False ;
8273 PyObject * obj0 = 0 ;
8274 PyObject * obj2 = 0 ;
8275 PyObject * obj3 = 0 ;
8276 PyObject * obj5 = 0 ;
8277 char *kwnames[] = {
8278 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8279 };
8280
8281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8283 if (obj2) {
8284 {
8285 arg3 = &temp3;
8286 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8287 }
8288 }
8289 if (obj3) {
8290 {
8291 arg4 = &temp4;
8292 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8293 }
8294 }
8295 if (obj5) {
8296 {
8297 arg6 = wxString_in_helper(obj5);
8298 if (arg6 == NULL) SWIG_fail;
8299 temp6 = True;
8300 }
8301 }
8302 {
8303 PyThreadState* __tstate = wxPyBeginAllowThreads();
8304 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8305
8306 wxPyEndAllowThreads(__tstate);
8307 if (PyErr_Occurred()) SWIG_fail;
8308 }
8309 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8310 {
8311 if (temp6)
8312 delete arg6;
8313 }
8314 return resultobj;
8315 fail:
8316 {
8317 if (temp6)
8318 delete arg6;
8319 }
8320 return NULL;
8321 }
8322
8323
8324 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8325 PyObject *resultobj;
8326 wxPyVListBox *result;
8327 char *kwnames[] = {
8328 NULL
8329 };
8330
8331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
8332 {
8333 PyThreadState* __tstate = wxPyBeginAllowThreads();
8334 result = (wxPyVListBox *)new wxPyVListBox();
8335
8336 wxPyEndAllowThreads(__tstate);
8337 if (PyErr_Occurred()) SWIG_fail;
8338 }
8339 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8340 return resultobj;
8341 fail:
8342 return NULL;
8343 }
8344
8345
8346 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8347 PyObject *resultobj;
8348 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8349 PyObject *arg2 = (PyObject *) 0 ;
8350 PyObject *arg3 = (PyObject *) 0 ;
8351 PyObject * obj0 = 0 ;
8352 PyObject * obj1 = 0 ;
8353 PyObject * obj2 = 0 ;
8354 char *kwnames[] = {
8355 (char *) "self",(char *) "self",(char *) "_class", NULL
8356 };
8357
8358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8360 arg2 = obj1;
8361 arg3 = obj2;
8362 {
8363 PyThreadState* __tstate = wxPyBeginAllowThreads();
8364 (arg1)->_setCallbackInfo(arg2,arg3);
8365
8366 wxPyEndAllowThreads(__tstate);
8367 if (PyErr_Occurred()) SWIG_fail;
8368 }
8369 Py_INCREF(Py_None); resultobj = Py_None;
8370 return resultobj;
8371 fail:
8372 return NULL;
8373 }
8374
8375
8376 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8377 PyObject *resultobj;
8378 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8379 wxWindow *arg2 = (wxWindow *) 0 ;
8380 int arg3 = (int) wxID_ANY ;
8381 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8382 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8383 wxSize const &arg5_defvalue = wxDefaultSize ;
8384 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8385 long arg6 = (long) 0 ;
8386 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
8387 wxString *arg7 = (wxString *) &arg7_defvalue ;
8388 bool result;
8389 wxPoint temp4 ;
8390 wxSize temp5 ;
8391 bool temp7 = False ;
8392 PyObject * obj0 = 0 ;
8393 PyObject * obj1 = 0 ;
8394 PyObject * obj3 = 0 ;
8395 PyObject * obj4 = 0 ;
8396 PyObject * obj6 = 0 ;
8397 char *kwnames[] = {
8398 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8399 };
8400
8401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8403 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8404 if (obj3) {
8405 {
8406 arg4 = &temp4;
8407 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8408 }
8409 }
8410 if (obj4) {
8411 {
8412 arg5 = &temp5;
8413 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8414 }
8415 }
8416 if (obj6) {
8417 {
8418 arg7 = wxString_in_helper(obj6);
8419 if (arg7 == NULL) SWIG_fail;
8420 temp7 = True;
8421 }
8422 }
8423 {
8424 PyThreadState* __tstate = wxPyBeginAllowThreads();
8425 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8426
8427 wxPyEndAllowThreads(__tstate);
8428 if (PyErr_Occurred()) SWIG_fail;
8429 }
8430 resultobj = PyInt_FromLong((long)result);
8431 {
8432 if (temp7)
8433 delete arg7;
8434 }
8435 return resultobj;
8436 fail:
8437 {
8438 if (temp7)
8439 delete arg7;
8440 }
8441 return NULL;
8442 }
8443
8444
8445 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8446 PyObject *resultobj;
8447 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8448 size_t result;
8449 PyObject * obj0 = 0 ;
8450 char *kwnames[] = {
8451 (char *) "self", NULL
8452 };
8453
8454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
8455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8456 {
8457 PyThreadState* __tstate = wxPyBeginAllowThreads();
8458 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
8459
8460 wxPyEndAllowThreads(__tstate);
8461 if (PyErr_Occurred()) SWIG_fail;
8462 }
8463 resultobj = PyInt_FromLong((long)result);
8464 return resultobj;
8465 fail:
8466 return NULL;
8467 }
8468
8469
8470 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8471 PyObject *resultobj;
8472 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8473 bool result;
8474 PyObject * obj0 = 0 ;
8475 char *kwnames[] = {
8476 (char *) "self", NULL
8477 };
8478
8479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
8480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8481 {
8482 PyThreadState* __tstate = wxPyBeginAllowThreads();
8483 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
8484
8485 wxPyEndAllowThreads(__tstate);
8486 if (PyErr_Occurred()) SWIG_fail;
8487 }
8488 resultobj = PyInt_FromLong((long)result);
8489 return resultobj;
8490 fail:
8491 return NULL;
8492 }
8493
8494
8495 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8496 PyObject *resultobj;
8497 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8498 int result;
8499 PyObject * obj0 = 0 ;
8500 char *kwnames[] = {
8501 (char *) "self", NULL
8502 };
8503
8504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
8505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8506 {
8507 PyThreadState* __tstate = wxPyBeginAllowThreads();
8508 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
8509
8510 wxPyEndAllowThreads(__tstate);
8511 if (PyErr_Occurred()) SWIG_fail;
8512 }
8513 resultobj = PyInt_FromLong((long)result);
8514 return resultobj;
8515 fail:
8516 return NULL;
8517 }
8518
8519
8520 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
8521 PyObject *resultobj;
8522 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8523 size_t arg2 ;
8524 bool result;
8525 PyObject * obj0 = 0 ;
8526 PyObject * obj1 = 0 ;
8527 char *kwnames[] = {
8528 (char *) "self",(char *) "item", NULL
8529 };
8530
8531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
8532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8533 arg2 = (size_t) PyInt_AsLong(obj1);
8534 if (PyErr_Occurred()) SWIG_fail;
8535 {
8536 PyThreadState* __tstate = wxPyBeginAllowThreads();
8537 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
8538
8539 wxPyEndAllowThreads(__tstate);
8540 if (PyErr_Occurred()) SWIG_fail;
8541 }
8542 resultobj = PyInt_FromLong((long)result);
8543 return resultobj;
8544 fail:
8545 return NULL;
8546 }
8547
8548
8549 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8550 PyObject *resultobj;
8551 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8552 size_t arg2 ;
8553 bool result;
8554 PyObject * obj0 = 0 ;
8555 PyObject * obj1 = 0 ;
8556 char *kwnames[] = {
8557 (char *) "self",(char *) "item", NULL
8558 };
8559
8560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
8561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8562 arg2 = (size_t) PyInt_AsLong(obj1);
8563 if (PyErr_Occurred()) SWIG_fail;
8564 {
8565 PyThreadState* __tstate = wxPyBeginAllowThreads();
8566 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
8567
8568 wxPyEndAllowThreads(__tstate);
8569 if (PyErr_Occurred()) SWIG_fail;
8570 }
8571 resultobj = PyInt_FromLong((long)result);
8572 return resultobj;
8573 fail:
8574 return NULL;
8575 }
8576
8577
8578 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8579 PyObject *resultobj;
8580 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8581 size_t result;
8582 PyObject * obj0 = 0 ;
8583 char *kwnames[] = {
8584 (char *) "self", NULL
8585 };
8586
8587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
8588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8589 {
8590 PyThreadState* __tstate = wxPyBeginAllowThreads();
8591 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
8592
8593 wxPyEndAllowThreads(__tstate);
8594 if (PyErr_Occurred()) SWIG_fail;
8595 }
8596 resultobj = PyInt_FromLong((long)result);
8597 return resultobj;
8598 fail:
8599 return NULL;
8600 }
8601
8602
8603 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8604 PyObject *resultobj;
8605 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8606 unsigned long *arg2 = 0 ;
8607 int result;
8608 PyObject * obj0 = 0 ;
8609 PyObject * obj1 = 0 ;
8610 char *kwnames[] = {
8611 (char *) "self",(char *) "cookie", NULL
8612 };
8613
8614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
8615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8616 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8617 if (arg2 == NULL) {
8618 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8619 }
8620 {
8621 PyThreadState* __tstate = wxPyBeginAllowThreads();
8622 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
8623
8624 wxPyEndAllowThreads(__tstate);
8625 if (PyErr_Occurred()) SWIG_fail;
8626 }
8627 resultobj = PyInt_FromLong((long)result);
8628 return resultobj;
8629 fail:
8630 return NULL;
8631 }
8632
8633
8634 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8635 PyObject *resultobj;
8636 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8637 unsigned long *arg2 = 0 ;
8638 int result;
8639 PyObject * obj0 = 0 ;
8640 PyObject * obj1 = 0 ;
8641 char *kwnames[] = {
8642 (char *) "self",(char *) "cookie", NULL
8643 };
8644
8645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
8646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8647 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8648 if (arg2 == NULL) {
8649 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8650 }
8651 {
8652 PyThreadState* __tstate = wxPyBeginAllowThreads();
8653 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
8654
8655 wxPyEndAllowThreads(__tstate);
8656 if (PyErr_Occurred()) SWIG_fail;
8657 }
8658 resultobj = PyInt_FromLong((long)result);
8659 return resultobj;
8660 fail:
8661 return NULL;
8662 }
8663
8664
8665 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
8666 PyObject *resultobj;
8667 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8668 wxPoint result;
8669 PyObject * obj0 = 0 ;
8670 char *kwnames[] = {
8671 (char *) "self", NULL
8672 };
8673
8674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
8675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8676 {
8677 PyThreadState* __tstate = wxPyBeginAllowThreads();
8678 result = ((wxPyVListBox const *)arg1)->GetMargins();
8679
8680 wxPyEndAllowThreads(__tstate);
8681 if (PyErr_Occurred()) SWIG_fail;
8682 }
8683 {
8684 wxPoint * resultptr;
8685 resultptr = new wxPoint((wxPoint &) result);
8686 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
8687 }
8688 return resultobj;
8689 fail:
8690 return NULL;
8691 }
8692
8693
8694 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8695 PyObject *resultobj;
8696 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8697 wxColour *result;
8698 PyObject * obj0 = 0 ;
8699 char *kwnames[] = {
8700 (char *) "self", NULL
8701 };
8702
8703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
8704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8705 {
8706 PyThreadState* __tstate = wxPyBeginAllowThreads();
8707 {
8708 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
8709 result = (wxColour *) &_result_ref;
8710 }
8711
8712 wxPyEndAllowThreads(__tstate);
8713 if (PyErr_Occurred()) SWIG_fail;
8714 }
8715 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
8716 return resultobj;
8717 fail:
8718 return NULL;
8719 }
8720
8721
8722 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8723 PyObject *resultobj;
8724 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8725 size_t arg2 ;
8726 PyObject * obj0 = 0 ;
8727 PyObject * obj1 = 0 ;
8728 char *kwnames[] = {
8729 (char *) "self",(char *) "count", NULL
8730 };
8731
8732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
8733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8734 arg2 = (size_t) PyInt_AsLong(obj1);
8735 if (PyErr_Occurred()) SWIG_fail;
8736 {
8737 PyThreadState* __tstate = wxPyBeginAllowThreads();
8738 (arg1)->SetItemCount(arg2);
8739
8740 wxPyEndAllowThreads(__tstate);
8741 if (PyErr_Occurred()) SWIG_fail;
8742 }
8743 Py_INCREF(Py_None); resultobj = Py_None;
8744 return resultobj;
8745 fail:
8746 return NULL;
8747 }
8748
8749
8750 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8751 PyObject *resultobj;
8752 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8753 PyObject * obj0 = 0 ;
8754 char *kwnames[] = {
8755 (char *) "self", NULL
8756 };
8757
8758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
8759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8760 {
8761 PyThreadState* __tstate = wxPyBeginAllowThreads();
8762 (arg1)->Clear();
8763
8764 wxPyEndAllowThreads(__tstate);
8765 if (PyErr_Occurred()) SWIG_fail;
8766 }
8767 Py_INCREF(Py_None); resultobj = Py_None;
8768 return resultobj;
8769 fail:
8770 return NULL;
8771 }
8772
8773
8774 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8775 PyObject *resultobj;
8776 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8777 int arg2 ;
8778 PyObject * obj0 = 0 ;
8779 char *kwnames[] = {
8780 (char *) "self",(char *) "selection", NULL
8781 };
8782
8783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VListBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
8784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8785 {
8786 PyThreadState* __tstate = wxPyBeginAllowThreads();
8787 (arg1)->SetSelection(arg2);
8788
8789 wxPyEndAllowThreads(__tstate);
8790 if (PyErr_Occurred()) SWIG_fail;
8791 }
8792 Py_INCREF(Py_None); resultobj = Py_None;
8793 return resultobj;
8794 fail:
8795 return NULL;
8796 }
8797
8798
8799 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
8800 PyObject *resultobj;
8801 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8802 size_t arg2 ;
8803 bool arg3 = (bool) True ;
8804 bool result;
8805 PyObject * obj0 = 0 ;
8806 PyObject * obj1 = 0 ;
8807 PyObject * obj2 = 0 ;
8808 char *kwnames[] = {
8809 (char *) "self",(char *) "item",(char *) "select", NULL
8810 };
8811
8812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
8813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8814 arg2 = (size_t) PyInt_AsLong(obj1);
8815 if (PyErr_Occurred()) SWIG_fail;
8816 if (obj2) {
8817 arg3 = PyInt_AsLong(obj2) ? true : false;
8818 if (PyErr_Occurred()) SWIG_fail;
8819 }
8820 {
8821 PyThreadState* __tstate = wxPyBeginAllowThreads();
8822 result = (bool)(arg1)->Select(arg2,arg3);
8823
8824 wxPyEndAllowThreads(__tstate);
8825 if (PyErr_Occurred()) SWIG_fail;
8826 }
8827 resultobj = PyInt_FromLong((long)result);
8828 return resultobj;
8829 fail:
8830 return NULL;
8831 }
8832
8833
8834 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8835 PyObject *resultobj;
8836 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8837 size_t arg2 ;
8838 size_t arg3 ;
8839 bool result;
8840 PyObject * obj0 = 0 ;
8841 PyObject * obj1 = 0 ;
8842 PyObject * obj2 = 0 ;
8843 char *kwnames[] = {
8844 (char *) "self",(char *) "from",(char *) "to", NULL
8845 };
8846
8847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
8848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8849 arg2 = (size_t) PyInt_AsLong(obj1);
8850 if (PyErr_Occurred()) SWIG_fail;
8851 arg3 = (size_t) PyInt_AsLong(obj2);
8852 if (PyErr_Occurred()) SWIG_fail;
8853 {
8854 PyThreadState* __tstate = wxPyBeginAllowThreads();
8855 result = (bool)(arg1)->SelectRange(arg2,arg3);
8856
8857 wxPyEndAllowThreads(__tstate);
8858 if (PyErr_Occurred()) SWIG_fail;
8859 }
8860 resultobj = PyInt_FromLong((long)result);
8861 return resultobj;
8862 fail:
8863 return NULL;
8864 }
8865
8866
8867 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
8868 PyObject *resultobj;
8869 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8870 size_t arg2 ;
8871 PyObject * obj0 = 0 ;
8872 PyObject * obj1 = 0 ;
8873 char *kwnames[] = {
8874 (char *) "self",(char *) "item", NULL
8875 };
8876
8877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
8878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8879 arg2 = (size_t) PyInt_AsLong(obj1);
8880 if (PyErr_Occurred()) SWIG_fail;
8881 {
8882 PyThreadState* __tstate = wxPyBeginAllowThreads();
8883 (arg1)->Toggle(arg2);
8884
8885 wxPyEndAllowThreads(__tstate);
8886 if (PyErr_Occurred()) SWIG_fail;
8887 }
8888 Py_INCREF(Py_None); resultobj = Py_None;
8889 return resultobj;
8890 fail:
8891 return NULL;
8892 }
8893
8894
8895 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8896 PyObject *resultobj;
8897 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8898 bool result;
8899 PyObject * obj0 = 0 ;
8900 char *kwnames[] = {
8901 (char *) "self", NULL
8902 };
8903
8904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
8905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8906 {
8907 PyThreadState* __tstate = wxPyBeginAllowThreads();
8908 result = (bool)(arg1)->SelectAll();
8909
8910 wxPyEndAllowThreads(__tstate);
8911 if (PyErr_Occurred()) SWIG_fail;
8912 }
8913 resultobj = PyInt_FromLong((long)result);
8914 return resultobj;
8915 fail:
8916 return NULL;
8917 }
8918
8919
8920 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8921 PyObject *resultobj;
8922 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8923 bool result;
8924 PyObject * obj0 = 0 ;
8925 char *kwnames[] = {
8926 (char *) "self", NULL
8927 };
8928
8929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
8930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8931 {
8932 PyThreadState* __tstate = wxPyBeginAllowThreads();
8933 result = (bool)(arg1)->DeselectAll();
8934
8935 wxPyEndAllowThreads(__tstate);
8936 if (PyErr_Occurred()) SWIG_fail;
8937 }
8938 resultobj = PyInt_FromLong((long)result);
8939 return resultobj;
8940 fail:
8941 return NULL;
8942 }
8943
8944
8945 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
8946 PyObject *resultobj;
8947 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8948 wxPoint *arg2 = 0 ;
8949 wxPoint temp2 ;
8950 PyObject * obj0 = 0 ;
8951 PyObject * obj1 = 0 ;
8952 char *kwnames[] = {
8953 (char *) "self",(char *) "pt", NULL
8954 };
8955
8956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
8957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8958 {
8959 arg2 = &temp2;
8960 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8961 }
8962 {
8963 PyThreadState* __tstate = wxPyBeginAllowThreads();
8964 (arg1)->SetMargins((wxPoint const &)*arg2);
8965
8966 wxPyEndAllowThreads(__tstate);
8967 if (PyErr_Occurred()) SWIG_fail;
8968 }
8969 Py_INCREF(Py_None); resultobj = Py_None;
8970 return resultobj;
8971 fail:
8972 return NULL;
8973 }
8974
8975
8976 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8977 PyObject *resultobj;
8978 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8979 int arg2 ;
8980 int arg3 ;
8981 PyObject * obj0 = 0 ;
8982 char *kwnames[] = {
8983 (char *) "self",(char *) "x",(char *) "y", NULL
8984 };
8985
8986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VListBox_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
8987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8988 {
8989 PyThreadState* __tstate = wxPyBeginAllowThreads();
8990 (arg1)->SetMargins(arg2,arg3);
8991
8992 wxPyEndAllowThreads(__tstate);
8993 if (PyErr_Occurred()) SWIG_fail;
8994 }
8995 Py_INCREF(Py_None); resultobj = Py_None;
8996 return resultobj;
8997 fail:
8998 return NULL;
8999 }
9000
9001
9002 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9003 PyObject *resultobj;
9004 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9005 wxColour *arg2 = 0 ;
9006 wxColour temp2 ;
9007 PyObject * obj0 = 0 ;
9008 PyObject * obj1 = 0 ;
9009 char *kwnames[] = {
9010 (char *) "self",(char *) "col", NULL
9011 };
9012
9013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
9014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9015 {
9016 arg2 = &temp2;
9017 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9018 }
9019 {
9020 PyThreadState* __tstate = wxPyBeginAllowThreads();
9021 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
9022
9023 wxPyEndAllowThreads(__tstate);
9024 if (PyErr_Occurred()) SWIG_fail;
9025 }
9026 Py_INCREF(Py_None); resultobj = Py_None;
9027 return resultobj;
9028 fail:
9029 return NULL;
9030 }
9031
9032
9033 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
9034 PyObject *obj;
9035 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9036 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
9037 Py_INCREF(obj);
9038 return Py_BuildValue((char *)"");
9039 }
9040 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9041 PyObject *resultobj;
9042 wxWindow *arg1 = (wxWindow *) 0 ;
9043 int arg2 = (int) wxID_ANY ;
9044 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9045 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9046 wxSize const &arg4_defvalue = wxDefaultSize ;
9047 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9048 long arg5 = (long) 0 ;
9049 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9050 wxString *arg6 = (wxString *) &arg6_defvalue ;
9051 wxPyHtmlListBox *result;
9052 wxPoint temp3 ;
9053 wxSize temp4 ;
9054 bool temp6 = False ;
9055 PyObject * obj0 = 0 ;
9056 PyObject * obj2 = 0 ;
9057 PyObject * obj3 = 0 ;
9058 PyObject * obj5 = 0 ;
9059 char *kwnames[] = {
9060 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9061 };
9062
9063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_HtmlListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
9064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9065 if (obj2) {
9066 {
9067 arg3 = &temp3;
9068 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9069 }
9070 }
9071 if (obj3) {
9072 {
9073 arg4 = &temp4;
9074 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9075 }
9076 }
9077 if (obj5) {
9078 {
9079 arg6 = wxString_in_helper(obj5);
9080 if (arg6 == NULL) SWIG_fail;
9081 temp6 = True;
9082 }
9083 }
9084 {
9085 PyThreadState* __tstate = wxPyBeginAllowThreads();
9086 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9087
9088 wxPyEndAllowThreads(__tstate);
9089 if (PyErr_Occurred()) SWIG_fail;
9090 }
9091 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
9092 {
9093 if (temp6)
9094 delete arg6;
9095 }
9096 return resultobj;
9097 fail:
9098 {
9099 if (temp6)
9100 delete arg6;
9101 }
9102 return NULL;
9103 }
9104
9105
9106 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9107 PyObject *resultobj;
9108 wxPyHtmlListBox *result;
9109 char *kwnames[] = {
9110 NULL
9111 };
9112
9113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
9114 {
9115 PyThreadState* __tstate = wxPyBeginAllowThreads();
9116 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
9117
9118 wxPyEndAllowThreads(__tstate);
9119 if (PyErr_Occurred()) SWIG_fail;
9120 }
9121 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
9122 return resultobj;
9123 fail:
9124 return NULL;
9125 }
9126
9127
9128 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9129 PyObject *resultobj;
9130 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9131 PyObject *arg2 = (PyObject *) 0 ;
9132 PyObject *arg3 = (PyObject *) 0 ;
9133 PyObject * obj0 = 0 ;
9134 PyObject * obj1 = 0 ;
9135 PyObject * obj2 = 0 ;
9136 char *kwnames[] = {
9137 (char *) "self",(char *) "self",(char *) "_class", NULL
9138 };
9139
9140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9142 arg2 = obj1;
9143 arg3 = obj2;
9144 {
9145 PyThreadState* __tstate = wxPyBeginAllowThreads();
9146 (arg1)->_setCallbackInfo(arg2,arg3);
9147
9148 wxPyEndAllowThreads(__tstate);
9149 if (PyErr_Occurred()) SWIG_fail;
9150 }
9151 Py_INCREF(Py_None); resultobj = Py_None;
9152 return resultobj;
9153 fail:
9154 return NULL;
9155 }
9156
9157
9158 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9159 PyObject *resultobj;
9160 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9161 wxWindow *arg2 = (wxWindow *) 0 ;
9162 int arg3 = (int) wxID_ANY ;
9163 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9164 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9165 wxSize const &arg5_defvalue = wxDefaultSize ;
9166 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9167 long arg6 = (long) 0 ;
9168 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9169 wxString *arg7 = (wxString *) &arg7_defvalue ;
9170 bool result;
9171 wxPoint temp4 ;
9172 wxSize temp5 ;
9173 bool temp7 = False ;
9174 PyObject * obj0 = 0 ;
9175 PyObject * obj1 = 0 ;
9176 PyObject * obj3 = 0 ;
9177 PyObject * obj4 = 0 ;
9178 PyObject * obj6 = 0 ;
9179 char *kwnames[] = {
9180 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9181 };
9182
9183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:HtmlListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
9184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9185 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9186 if (obj3) {
9187 {
9188 arg4 = &temp4;
9189 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9190 }
9191 }
9192 if (obj4) {
9193 {
9194 arg5 = &temp5;
9195 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9196 }
9197 }
9198 if (obj6) {
9199 {
9200 arg7 = wxString_in_helper(obj6);
9201 if (arg7 == NULL) SWIG_fail;
9202 temp7 = True;
9203 }
9204 }
9205 {
9206 PyThreadState* __tstate = wxPyBeginAllowThreads();
9207 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9208
9209 wxPyEndAllowThreads(__tstate);
9210 if (PyErr_Occurred()) SWIG_fail;
9211 }
9212 resultobj = PyInt_FromLong((long)result);
9213 {
9214 if (temp7)
9215 delete arg7;
9216 }
9217 return resultobj;
9218 fail:
9219 {
9220 if (temp7)
9221 delete arg7;
9222 }
9223 return NULL;
9224 }
9225
9226
9227 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9228 PyObject *resultobj;
9229 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9230 PyObject * obj0 = 0 ;
9231 char *kwnames[] = {
9232 (char *) "self", NULL
9233 };
9234
9235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
9236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9237 {
9238 PyThreadState* __tstate = wxPyBeginAllowThreads();
9239 (arg1)->RefreshAll();
9240
9241 wxPyEndAllowThreads(__tstate);
9242 if (PyErr_Occurred()) SWIG_fail;
9243 }
9244 Py_INCREF(Py_None); resultobj = Py_None;
9245 return resultobj;
9246 fail:
9247 return NULL;
9248 }
9249
9250
9251 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9252 PyObject *resultobj;
9253 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9254 size_t arg2 ;
9255 PyObject * obj0 = 0 ;
9256 PyObject * obj1 = 0 ;
9257 char *kwnames[] = {
9258 (char *) "self",(char *) "count", NULL
9259 };
9260
9261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9263 arg2 = (size_t) PyInt_AsLong(obj1);
9264 if (PyErr_Occurred()) SWIG_fail;
9265 {
9266 PyThreadState* __tstate = wxPyBeginAllowThreads();
9267 (arg1)->SetItemCount(arg2);
9268
9269 wxPyEndAllowThreads(__tstate);
9270 if (PyErr_Occurred()) SWIG_fail;
9271 }
9272 Py_INCREF(Py_None); resultobj = Py_None;
9273 return resultobj;
9274 fail:
9275 return NULL;
9276 }
9277
9278
9279 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
9280 PyObject *obj;
9281 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9282 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
9283 Py_INCREF(obj);
9284 return Py_BuildValue((char *)"");
9285 }
9286 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9287 PyObject *resultobj;
9288 wxTaskBarIcon *result;
9289 char *kwnames[] = {
9290 NULL
9291 };
9292
9293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
9294 {
9295 PyThreadState* __tstate = wxPyBeginAllowThreads();
9296 result = (wxTaskBarIcon *)new wxTaskBarIcon();
9297
9298 wxPyEndAllowThreads(__tstate);
9299 if (PyErr_Occurred()) SWIG_fail;
9300 }
9301 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIcon, 1);
9302 return resultobj;
9303 fail:
9304 return NULL;
9305 }
9306
9307
9308 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9309 PyObject *resultobj;
9310 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9311 PyObject * obj0 = 0 ;
9312 char *kwnames[] = {
9313 (char *) "self", NULL
9314 };
9315
9316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
9317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9318 {
9319 PyThreadState* __tstate = wxPyBeginAllowThreads();
9320 delete arg1;
9321
9322 wxPyEndAllowThreads(__tstate);
9323 if (PyErr_Occurred()) SWIG_fail;
9324 }
9325 Py_INCREF(Py_None); resultobj = Py_None;
9326 return resultobj;
9327 fail:
9328 return NULL;
9329 }
9330
9331
9332 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
9333 PyObject *resultobj;
9334 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9335 bool result;
9336 PyObject * obj0 = 0 ;
9337 char *kwnames[] = {
9338 (char *) "self", NULL
9339 };
9340
9341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
9342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9343 {
9344 PyThreadState* __tstate = wxPyBeginAllowThreads();
9345 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
9346
9347 wxPyEndAllowThreads(__tstate);
9348 if (PyErr_Occurred()) SWIG_fail;
9349 }
9350 resultobj = PyInt_FromLong((long)result);
9351 return resultobj;
9352 fail:
9353 return NULL;
9354 }
9355
9356
9357 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
9358 PyObject *resultobj;
9359 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9360 bool result;
9361 PyObject * obj0 = 0 ;
9362 char *kwnames[] = {
9363 (char *) "self", NULL
9364 };
9365
9366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
9367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9368 {
9369 PyThreadState* __tstate = wxPyBeginAllowThreads();
9370 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
9371
9372 wxPyEndAllowThreads(__tstate);
9373 if (PyErr_Occurred()) SWIG_fail;
9374 }
9375 resultobj = PyInt_FromLong((long)result);
9376 return resultobj;
9377 fail:
9378 return NULL;
9379 }
9380
9381
9382 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9383 PyObject *resultobj;
9384 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9385 wxIcon *arg2 = 0 ;
9386 wxString const &arg3_defvalue = wxPyEmptyString ;
9387 wxString *arg3 = (wxString *) &arg3_defvalue ;
9388 bool result;
9389 bool temp3 = False ;
9390 PyObject * obj0 = 0 ;
9391 PyObject * obj1 = 0 ;
9392 PyObject * obj2 = 0 ;
9393 char *kwnames[] = {
9394 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
9395 };
9396
9397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
9398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9399 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9400 if (arg2 == NULL) {
9401 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9402 }
9403 if (obj2) {
9404 {
9405 arg3 = wxString_in_helper(obj2);
9406 if (arg3 == NULL) SWIG_fail;
9407 temp3 = True;
9408 }
9409 }
9410 {
9411 PyThreadState* __tstate = wxPyBeginAllowThreads();
9412 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
9413
9414 wxPyEndAllowThreads(__tstate);
9415 if (PyErr_Occurred()) SWIG_fail;
9416 }
9417 resultobj = PyInt_FromLong((long)result);
9418 {
9419 if (temp3)
9420 delete arg3;
9421 }
9422 return resultobj;
9423 fail:
9424 {
9425 if (temp3)
9426 delete arg3;
9427 }
9428 return NULL;
9429 }
9430
9431
9432 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9433 PyObject *resultobj;
9434 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9435 bool result;
9436 PyObject * obj0 = 0 ;
9437 char *kwnames[] = {
9438 (char *) "self", NULL
9439 };
9440
9441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
9442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9443 {
9444 PyThreadState* __tstate = wxPyBeginAllowThreads();
9445 result = (bool)(arg1)->RemoveIcon();
9446
9447 wxPyEndAllowThreads(__tstate);
9448 if (PyErr_Occurred()) SWIG_fail;
9449 }
9450 resultobj = PyInt_FromLong((long)result);
9451 return resultobj;
9452 fail:
9453 return NULL;
9454 }
9455
9456
9457 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
9458 PyObject *resultobj;
9459 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9460 wxMenu *arg2 = (wxMenu *) 0 ;
9461 bool result;
9462 PyObject * obj0 = 0 ;
9463 PyObject * obj1 = 0 ;
9464 char *kwnames[] = {
9465 (char *) "self",(char *) "menu", NULL
9466 };
9467
9468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
9469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9470 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9471 {
9472 PyThreadState* __tstate = wxPyBeginAllowThreads();
9473 result = (bool)(arg1)->PopupMenu(arg2);
9474
9475 wxPyEndAllowThreads(__tstate);
9476 if (PyErr_Occurred()) SWIG_fail;
9477 }
9478 resultobj = PyInt_FromLong((long)result);
9479 return resultobj;
9480 fail:
9481 return NULL;
9482 }
9483
9484
9485 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
9486 PyObject *obj;
9487 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9488 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
9489 Py_INCREF(obj);
9490 return Py_BuildValue((char *)"");
9491 }
9492 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9493 PyObject *resultobj;
9494 wxEventType arg1 ;
9495 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
9496 wxTaskBarIconEvent *result;
9497 PyObject * obj1 = 0 ;
9498 char *kwnames[] = {
9499 (char *) "evtType",(char *) "tbIcon", NULL
9500 };
9501
9502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iO:new_TaskBarIconEvent",kwnames,&arg1,&obj1)) goto fail;
9503 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9504 {
9505 PyThreadState* __tstate = wxPyBeginAllowThreads();
9506 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
9507
9508 wxPyEndAllowThreads(__tstate);
9509 if (PyErr_Occurred()) SWIG_fail;
9510 }
9511 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIconEvent, 1);
9512 return resultobj;
9513 fail:
9514 return NULL;
9515 }
9516
9517
9518 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
9519 PyObject *obj;
9520 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9521 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
9522 Py_INCREF(obj);
9523 return Py_BuildValue((char *)"");
9524 }
9525 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
9526 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
9527 return 1;
9528 }
9529
9530
9531 static PyObject *_wrap_FileSelectorPromptStr_get() {
9532 PyObject *pyobj;
9533
9534 {
9535 #if wxUSE_UNICODE
9536 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
9537 #else
9538 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
9539 #endif
9540 }
9541 return pyobj;
9542 }
9543
9544
9545 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
9546 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
9547 return 1;
9548 }
9549
9550
9551 static PyObject *_wrap_DirSelectorPromptStr_get() {
9552 PyObject *pyobj;
9553
9554 {
9555 #if wxUSE_UNICODE
9556 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
9557 #else
9558 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
9559 #endif
9560 }
9561 return pyobj;
9562 }
9563
9564
9565 static int _wrap_DirDialogNameStr_set(PyObject *_val) {
9566 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
9567 return 1;
9568 }
9569
9570
9571 static PyObject *_wrap_DirDialogNameStr_get() {
9572 PyObject *pyobj;
9573
9574 {
9575 #if wxUSE_UNICODE
9576 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
9577 #else
9578 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
9579 #endif
9580 }
9581 return pyobj;
9582 }
9583
9584
9585 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
9586 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
9587 return 1;
9588 }
9589
9590
9591 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
9592 PyObject *pyobj;
9593
9594 {
9595 #if wxUSE_UNICODE
9596 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
9597 #else
9598 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
9599 #endif
9600 }
9601 return pyobj;
9602 }
9603
9604
9605 static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) {
9606 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
9607 return 1;
9608 }
9609
9610
9611 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
9612 PyObject *pyobj;
9613
9614 {
9615 #if wxUSE_UNICODE
9616 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
9617 #else
9618 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
9619 #endif
9620 }
9621 return pyobj;
9622 }
9623
9624
9625 static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) {
9626 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
9627 return 1;
9628 }
9629
9630
9631 static PyObject *_wrap_MessageBoxCaptionStr_get() {
9632 PyObject *pyobj;
9633
9634 {
9635 #if wxUSE_UNICODE
9636 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
9637 #else
9638 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
9639 #endif
9640 }
9641 return pyobj;
9642 }
9643
9644
9645 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9646 PyObject *resultobj;
9647 wxColourData *result;
9648 char *kwnames[] = {
9649 NULL
9650 };
9651
9652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
9653 {
9654 PyThreadState* __tstate = wxPyBeginAllowThreads();
9655 result = (wxColourData *)new wxColourData();
9656
9657 wxPyEndAllowThreads(__tstate);
9658 if (PyErr_Occurred()) SWIG_fail;
9659 }
9660 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 1);
9661 return resultobj;
9662 fail:
9663 return NULL;
9664 }
9665
9666
9667 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9668 PyObject *resultobj;
9669 wxColourData *arg1 = (wxColourData *) 0 ;
9670 PyObject * obj0 = 0 ;
9671 char *kwnames[] = {
9672 (char *) "self", NULL
9673 };
9674
9675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
9676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9677 {
9678 PyThreadState* __tstate = wxPyBeginAllowThreads();
9679 delete arg1;
9680
9681 wxPyEndAllowThreads(__tstate);
9682 if (PyErr_Occurred()) SWIG_fail;
9683 }
9684 Py_INCREF(Py_None); resultobj = Py_None;
9685 return resultobj;
9686 fail:
9687 return NULL;
9688 }
9689
9690
9691 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9692 PyObject *resultobj;
9693 wxColourData *arg1 = (wxColourData *) 0 ;
9694 bool result;
9695 PyObject * obj0 = 0 ;
9696 char *kwnames[] = {
9697 (char *) "self", NULL
9698 };
9699
9700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
9701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9702 {
9703 PyThreadState* __tstate = wxPyBeginAllowThreads();
9704 result = (bool)(arg1)->GetChooseFull();
9705
9706 wxPyEndAllowThreads(__tstate);
9707 if (PyErr_Occurred()) SWIG_fail;
9708 }
9709 resultobj = PyInt_FromLong((long)result);
9710 return resultobj;
9711 fail:
9712 return NULL;
9713 }
9714
9715
9716 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9717 PyObject *resultobj;
9718 wxColourData *arg1 = (wxColourData *) 0 ;
9719 wxColour result;
9720 PyObject * obj0 = 0 ;
9721 char *kwnames[] = {
9722 (char *) "self", NULL
9723 };
9724
9725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
9726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9727 {
9728 PyThreadState* __tstate = wxPyBeginAllowThreads();
9729 result = (arg1)->GetColour();
9730
9731 wxPyEndAllowThreads(__tstate);
9732 if (PyErr_Occurred()) SWIG_fail;
9733 }
9734 {
9735 wxColour * resultptr;
9736 resultptr = new wxColour((wxColour &) result);
9737 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9738 }
9739 return resultobj;
9740 fail:
9741 return NULL;
9742 }
9743
9744
9745 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9746 PyObject *resultobj;
9747 wxColourData *arg1 = (wxColourData *) 0 ;
9748 int arg2 ;
9749 wxColour result;
9750 PyObject * obj0 = 0 ;
9751 char *kwnames[] = {
9752 (char *) "self",(char *) "i", NULL
9753 };
9754
9755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_GetCustomColour",kwnames,&obj0,&arg2)) goto fail;
9756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9757 {
9758 PyThreadState* __tstate = wxPyBeginAllowThreads();
9759 result = (arg1)->GetCustomColour(arg2);
9760
9761 wxPyEndAllowThreads(__tstate);
9762 if (PyErr_Occurred()) SWIG_fail;
9763 }
9764 {
9765 wxColour * resultptr;
9766 resultptr = new wxColour((wxColour &) result);
9767 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9768 }
9769 return resultobj;
9770 fail:
9771 return NULL;
9772 }
9773
9774
9775 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9776 PyObject *resultobj;
9777 wxColourData *arg1 = (wxColourData *) 0 ;
9778 int arg2 ;
9779 PyObject * obj0 = 0 ;
9780 char *kwnames[] = {
9781 (char *) "self",(char *) "flag", NULL
9782 };
9783
9784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_SetChooseFull",kwnames,&obj0,&arg2)) goto fail;
9785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9786 {
9787 PyThreadState* __tstate = wxPyBeginAllowThreads();
9788 (arg1)->SetChooseFull(arg2);
9789
9790 wxPyEndAllowThreads(__tstate);
9791 if (PyErr_Occurred()) SWIG_fail;
9792 }
9793 Py_INCREF(Py_None); resultobj = Py_None;
9794 return resultobj;
9795 fail:
9796 return NULL;
9797 }
9798
9799
9800 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9801 PyObject *resultobj;
9802 wxColourData *arg1 = (wxColourData *) 0 ;
9803 wxColour *arg2 = 0 ;
9804 wxColour temp2 ;
9805 PyObject * obj0 = 0 ;
9806 PyObject * obj1 = 0 ;
9807 char *kwnames[] = {
9808 (char *) "self",(char *) "colour", NULL
9809 };
9810
9811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
9812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9813 {
9814 arg2 = &temp2;
9815 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9816 }
9817 {
9818 PyThreadState* __tstate = wxPyBeginAllowThreads();
9819 (arg1)->SetColour((wxColour const &)*arg2);
9820
9821 wxPyEndAllowThreads(__tstate);
9822 if (PyErr_Occurred()) SWIG_fail;
9823 }
9824 Py_INCREF(Py_None); resultobj = Py_None;
9825 return resultobj;
9826 fail:
9827 return NULL;
9828 }
9829
9830
9831 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9832 PyObject *resultobj;
9833 wxColourData *arg1 = (wxColourData *) 0 ;
9834 int arg2 ;
9835 wxColour *arg3 = 0 ;
9836 wxColour temp3 ;
9837 PyObject * obj0 = 0 ;
9838 PyObject * obj2 = 0 ;
9839 char *kwnames[] = {
9840 (char *) "self",(char *) "i",(char *) "colour", NULL
9841 };
9842
9843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ColourData_SetCustomColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
9844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9845 {
9846 arg3 = &temp3;
9847 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9848 }
9849 {
9850 PyThreadState* __tstate = wxPyBeginAllowThreads();
9851 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
9852
9853 wxPyEndAllowThreads(__tstate);
9854 if (PyErr_Occurred()) SWIG_fail;
9855 }
9856 Py_INCREF(Py_None); resultobj = Py_None;
9857 return resultobj;
9858 fail:
9859 return NULL;
9860 }
9861
9862
9863 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
9864 PyObject *obj;
9865 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9866 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
9867 Py_INCREF(obj);
9868 return Py_BuildValue((char *)"");
9869 }
9870 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
9871 PyObject *resultobj;
9872 wxWindow *arg1 = (wxWindow *) 0 ;
9873 wxColourData *arg2 = (wxColourData *) NULL ;
9874 wxColourDialog *result;
9875 PyObject * obj0 = 0 ;
9876 PyObject * obj1 = 0 ;
9877 char *kwnames[] = {
9878 (char *) "parent",(char *) "data", NULL
9879 };
9880
9881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
9882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9883 if (obj1) {
9884 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9885 }
9886 {
9887 PyThreadState* __tstate = wxPyBeginAllowThreads();
9888 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
9889
9890 wxPyEndAllowThreads(__tstate);
9891 if (PyErr_Occurred()) SWIG_fail;
9892 }
9893 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourDialog, 1);
9894 return resultobj;
9895 fail:
9896 return NULL;
9897 }
9898
9899
9900 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9901 PyObject *resultobj;
9902 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
9903 wxColourData *result;
9904 PyObject * obj0 = 0 ;
9905 char *kwnames[] = {
9906 (char *) "self", NULL
9907 };
9908
9909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
9910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9911 {
9912 PyThreadState* __tstate = wxPyBeginAllowThreads();
9913 {
9914 wxColourData &_result_ref = (arg1)->GetColourData();
9915 result = (wxColourData *) &_result_ref;
9916 }
9917
9918 wxPyEndAllowThreads(__tstate);
9919 if (PyErr_Occurred()) SWIG_fail;
9920 }
9921 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 0);
9922 return resultobj;
9923 fail:
9924 return NULL;
9925 }
9926
9927
9928 static PyObject *_wrap_ColourDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
9929 PyObject *resultobj;
9930 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
9931 int result;
9932 PyObject * obj0 = 0 ;
9933 char *kwnames[] = {
9934 (char *) "self", NULL
9935 };
9936
9937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_ShowModal",kwnames,&obj0)) goto fail;
9938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9939 {
9940 PyThreadState* __tstate = wxPyBeginAllowThreads();
9941 result = (int)(arg1)->ShowModal();
9942
9943 wxPyEndAllowThreads(__tstate);
9944 if (PyErr_Occurred()) SWIG_fail;
9945 }
9946 resultobj = PyInt_FromLong((long)result);
9947 return resultobj;
9948 fail:
9949 return NULL;
9950 }
9951
9952
9953 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
9954 PyObject *obj;
9955 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9956 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
9957 Py_INCREF(obj);
9958 return Py_BuildValue((char *)"");
9959 }
9960 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
9961 PyObject *resultobj;
9962 wxWindow *arg1 = (wxWindow *) 0 ;
9963 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
9964 wxString *arg2 = (wxString *) &arg2_defvalue ;
9965 wxString const &arg3_defvalue = wxPyEmptyString ;
9966 wxString *arg3 = (wxString *) &arg3_defvalue ;
9967 long arg4 = (long) 0 ;
9968 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9969 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9970 wxSize const &arg6_defvalue = wxDefaultSize ;
9971 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9972 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
9973 wxString *arg7 = (wxString *) &arg7_defvalue ;
9974 wxDirDialog *result;
9975 bool temp2 = False ;
9976 bool temp3 = False ;
9977 wxPoint temp5 ;
9978 wxSize temp6 ;
9979 bool temp7 = False ;
9980 PyObject * obj0 = 0 ;
9981 PyObject * obj1 = 0 ;
9982 PyObject * obj2 = 0 ;
9983 PyObject * obj4 = 0 ;
9984 PyObject * obj5 = 0 ;
9985 PyObject * obj6 = 0 ;
9986 char *kwnames[] = {
9987 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
9988 };
9989
9990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOlOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&obj5,&obj6)) goto fail;
9991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9992 if (obj1) {
9993 {
9994 arg2 = wxString_in_helper(obj1);
9995 if (arg2 == NULL) SWIG_fail;
9996 temp2 = True;
9997 }
9998 }
9999 if (obj2) {
10000 {
10001 arg3 = wxString_in_helper(obj2);
10002 if (arg3 == NULL) SWIG_fail;
10003 temp3 = True;
10004 }
10005 }
10006 if (obj4) {
10007 {
10008 arg5 = &temp5;
10009 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10010 }
10011 }
10012 if (obj5) {
10013 {
10014 arg6 = &temp6;
10015 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10016 }
10017 }
10018 if (obj6) {
10019 {
10020 arg7 = wxString_in_helper(obj6);
10021 if (arg7 == NULL) SWIG_fail;
10022 temp7 = True;
10023 }
10024 }
10025 {
10026 PyThreadState* __tstate = wxPyBeginAllowThreads();
10027 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
10028
10029 wxPyEndAllowThreads(__tstate);
10030 if (PyErr_Occurred()) SWIG_fail;
10031 }
10032 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirDialog, 1);
10033 {
10034 if (temp2)
10035 delete arg2;
10036 }
10037 {
10038 if (temp3)
10039 delete arg3;
10040 }
10041 {
10042 if (temp7)
10043 delete arg7;
10044 }
10045 return resultobj;
10046 fail:
10047 {
10048 if (temp2)
10049 delete arg2;
10050 }
10051 {
10052 if (temp3)
10053 delete arg3;
10054 }
10055 {
10056 if (temp7)
10057 delete arg7;
10058 }
10059 return NULL;
10060 }
10061
10062
10063 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10064 PyObject *resultobj;
10065 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10066 wxString result;
10067 PyObject * obj0 = 0 ;
10068 char *kwnames[] = {
10069 (char *) "self", NULL
10070 };
10071
10072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
10073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10074 {
10075 PyThreadState* __tstate = wxPyBeginAllowThreads();
10076 result = (arg1)->GetPath();
10077
10078 wxPyEndAllowThreads(__tstate);
10079 if (PyErr_Occurred()) SWIG_fail;
10080 }
10081 {
10082 #if wxUSE_UNICODE
10083 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10084 #else
10085 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10086 #endif
10087 }
10088 return resultobj;
10089 fail:
10090 return NULL;
10091 }
10092
10093
10094 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10095 PyObject *resultobj;
10096 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10097 wxString result;
10098 PyObject * obj0 = 0 ;
10099 char *kwnames[] = {
10100 (char *) "self", NULL
10101 };
10102
10103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
10104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10105 {
10106 PyThreadState* __tstate = wxPyBeginAllowThreads();
10107 result = (arg1)->GetMessage();
10108
10109 wxPyEndAllowThreads(__tstate);
10110 if (PyErr_Occurred()) SWIG_fail;
10111 }
10112 {
10113 #if wxUSE_UNICODE
10114 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10115 #else
10116 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10117 #endif
10118 }
10119 return resultobj;
10120 fail:
10121 return NULL;
10122 }
10123
10124
10125 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10126 PyObject *resultobj;
10127 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10128 long result;
10129 PyObject * obj0 = 0 ;
10130 char *kwnames[] = {
10131 (char *) "self", NULL
10132 };
10133
10134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
10135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10136 {
10137 PyThreadState* __tstate = wxPyBeginAllowThreads();
10138 result = (long)(arg1)->GetStyle();
10139
10140 wxPyEndAllowThreads(__tstate);
10141 if (PyErr_Occurred()) SWIG_fail;
10142 }
10143 resultobj = PyInt_FromLong((long)result);
10144 return resultobj;
10145 fail:
10146 return NULL;
10147 }
10148
10149
10150 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10151 PyObject *resultobj;
10152 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10153 wxString *arg2 = 0 ;
10154 bool temp2 = False ;
10155 PyObject * obj0 = 0 ;
10156 PyObject * obj1 = 0 ;
10157 char *kwnames[] = {
10158 (char *) "self",(char *) "message", NULL
10159 };
10160
10161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
10162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10163 {
10164 arg2 = wxString_in_helper(obj1);
10165 if (arg2 == NULL) SWIG_fail;
10166 temp2 = True;
10167 }
10168 {
10169 PyThreadState* __tstate = wxPyBeginAllowThreads();
10170 (arg1)->SetMessage((wxString const &)*arg2);
10171
10172 wxPyEndAllowThreads(__tstate);
10173 if (PyErr_Occurred()) SWIG_fail;
10174 }
10175 Py_INCREF(Py_None); resultobj = Py_None;
10176 {
10177 if (temp2)
10178 delete arg2;
10179 }
10180 return resultobj;
10181 fail:
10182 {
10183 if (temp2)
10184 delete arg2;
10185 }
10186 return NULL;
10187 }
10188
10189
10190 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10191 PyObject *resultobj;
10192 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10193 wxString *arg2 = 0 ;
10194 bool temp2 = False ;
10195 PyObject * obj0 = 0 ;
10196 PyObject * obj1 = 0 ;
10197 char *kwnames[] = {
10198 (char *) "self",(char *) "path", NULL
10199 };
10200
10201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
10202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10203 {
10204 arg2 = wxString_in_helper(obj1);
10205 if (arg2 == NULL) SWIG_fail;
10206 temp2 = True;
10207 }
10208 {
10209 PyThreadState* __tstate = wxPyBeginAllowThreads();
10210 (arg1)->SetPath((wxString const &)*arg2);
10211
10212 wxPyEndAllowThreads(__tstate);
10213 if (PyErr_Occurred()) SWIG_fail;
10214 }
10215 Py_INCREF(Py_None); resultobj = Py_None;
10216 {
10217 if (temp2)
10218 delete arg2;
10219 }
10220 return resultobj;
10221 fail:
10222 {
10223 if (temp2)
10224 delete arg2;
10225 }
10226 return NULL;
10227 }
10228
10229
10230 static PyObject *_wrap_DirDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
10231 PyObject *resultobj;
10232 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10233 int result;
10234 PyObject * obj0 = 0 ;
10235 char *kwnames[] = {
10236 (char *) "self", NULL
10237 };
10238
10239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_ShowModal",kwnames,&obj0)) goto fail;
10240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10241 {
10242 PyThreadState* __tstate = wxPyBeginAllowThreads();
10243 result = (int)(arg1)->ShowModal();
10244
10245 wxPyEndAllowThreads(__tstate);
10246 if (PyErr_Occurred()) SWIG_fail;
10247 }
10248 resultobj = PyInt_FromLong((long)result);
10249 return resultobj;
10250 fail:
10251 return NULL;
10252 }
10253
10254
10255 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
10256 PyObject *obj;
10257 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10258 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
10259 Py_INCREF(obj);
10260 return Py_BuildValue((char *)"");
10261 }
10262 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10263 PyObject *resultobj;
10264 wxWindow *arg1 = (wxWindow *) 0 ;
10265 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
10266 wxString *arg2 = (wxString *) &arg2_defvalue ;
10267 wxString const &arg3_defvalue = wxPyEmptyString ;
10268 wxString *arg3 = (wxString *) &arg3_defvalue ;
10269 wxString const &arg4_defvalue = wxPyEmptyString ;
10270 wxString *arg4 = (wxString *) &arg4_defvalue ;
10271 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
10272 wxString *arg5 = (wxString *) &arg5_defvalue ;
10273 long arg6 = (long) 0 ;
10274 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10275 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10276 wxFileDialog *result;
10277 bool temp2 = False ;
10278 bool temp3 = False ;
10279 bool temp4 = False ;
10280 bool temp5 = False ;
10281 wxPoint temp7 ;
10282 PyObject * obj0 = 0 ;
10283 PyObject * obj1 = 0 ;
10284 PyObject * obj2 = 0 ;
10285 PyObject * obj3 = 0 ;
10286 PyObject * obj4 = 0 ;
10287 PyObject * obj6 = 0 ;
10288 char *kwnames[] = {
10289 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
10290 };
10291
10292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOlO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
10293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10294 if (obj1) {
10295 {
10296 arg2 = wxString_in_helper(obj1);
10297 if (arg2 == NULL) SWIG_fail;
10298 temp2 = True;
10299 }
10300 }
10301 if (obj2) {
10302 {
10303 arg3 = wxString_in_helper(obj2);
10304 if (arg3 == NULL) SWIG_fail;
10305 temp3 = True;
10306 }
10307 }
10308 if (obj3) {
10309 {
10310 arg4 = wxString_in_helper(obj3);
10311 if (arg4 == NULL) SWIG_fail;
10312 temp4 = True;
10313 }
10314 }
10315 if (obj4) {
10316 {
10317 arg5 = wxString_in_helper(obj4);
10318 if (arg5 == NULL) SWIG_fail;
10319 temp5 = True;
10320 }
10321 }
10322 if (obj6) {
10323 {
10324 arg7 = &temp7;
10325 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10326 }
10327 }
10328 {
10329 PyThreadState* __tstate = wxPyBeginAllowThreads();
10330 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
10331
10332 wxPyEndAllowThreads(__tstate);
10333 if (PyErr_Occurred()) SWIG_fail;
10334 }
10335 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDialog, 1);
10336 {
10337 if (temp2)
10338 delete arg2;
10339 }
10340 {
10341 if (temp3)
10342 delete arg3;
10343 }
10344 {
10345 if (temp4)
10346 delete arg4;
10347 }
10348 {
10349 if (temp5)
10350 delete arg5;
10351 }
10352 return resultobj;
10353 fail:
10354 {
10355 if (temp2)
10356 delete arg2;
10357 }
10358 {
10359 if (temp3)
10360 delete arg3;
10361 }
10362 {
10363 if (temp4)
10364 delete arg4;
10365 }
10366 {
10367 if (temp5)
10368 delete arg5;
10369 }
10370 return NULL;
10371 }
10372
10373
10374 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10375 PyObject *resultobj;
10376 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10377 wxString *arg2 = 0 ;
10378 bool temp2 = False ;
10379 PyObject * obj0 = 0 ;
10380 PyObject * obj1 = 0 ;
10381 char *kwnames[] = {
10382 (char *) "self",(char *) "message", NULL
10383 };
10384
10385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
10386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10387 {
10388 arg2 = wxString_in_helper(obj1);
10389 if (arg2 == NULL) SWIG_fail;
10390 temp2 = True;
10391 }
10392 {
10393 PyThreadState* __tstate = wxPyBeginAllowThreads();
10394 (arg1)->SetMessage((wxString const &)*arg2);
10395
10396 wxPyEndAllowThreads(__tstate);
10397 if (PyErr_Occurred()) SWIG_fail;
10398 }
10399 Py_INCREF(Py_None); resultobj = Py_None;
10400 {
10401 if (temp2)
10402 delete arg2;
10403 }
10404 return resultobj;
10405 fail:
10406 {
10407 if (temp2)
10408 delete arg2;
10409 }
10410 return NULL;
10411 }
10412
10413
10414 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10415 PyObject *resultobj;
10416 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10417 wxString *arg2 = 0 ;
10418 bool temp2 = False ;
10419 PyObject * obj0 = 0 ;
10420 PyObject * obj1 = 0 ;
10421 char *kwnames[] = {
10422 (char *) "self",(char *) "path", NULL
10423 };
10424
10425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
10426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10427 {
10428 arg2 = wxString_in_helper(obj1);
10429 if (arg2 == NULL) SWIG_fail;
10430 temp2 = True;
10431 }
10432 {
10433 PyThreadState* __tstate = wxPyBeginAllowThreads();
10434 (arg1)->SetPath((wxString const &)*arg2);
10435
10436 wxPyEndAllowThreads(__tstate);
10437 if (PyErr_Occurred()) SWIG_fail;
10438 }
10439 Py_INCREF(Py_None); resultobj = Py_None;
10440 {
10441 if (temp2)
10442 delete arg2;
10443 }
10444 return resultobj;
10445 fail:
10446 {
10447 if (temp2)
10448 delete arg2;
10449 }
10450 return NULL;
10451 }
10452
10453
10454 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10455 PyObject *resultobj;
10456 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10457 wxString *arg2 = 0 ;
10458 bool temp2 = False ;
10459 PyObject * obj0 = 0 ;
10460 PyObject * obj1 = 0 ;
10461 char *kwnames[] = {
10462 (char *) "self",(char *) "dir", NULL
10463 };
10464
10465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
10466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10467 {
10468 arg2 = wxString_in_helper(obj1);
10469 if (arg2 == NULL) SWIG_fail;
10470 temp2 = True;
10471 }
10472 {
10473 PyThreadState* __tstate = wxPyBeginAllowThreads();
10474 (arg1)->SetDirectory((wxString const &)*arg2);
10475
10476 wxPyEndAllowThreads(__tstate);
10477 if (PyErr_Occurred()) SWIG_fail;
10478 }
10479 Py_INCREF(Py_None); resultobj = Py_None;
10480 {
10481 if (temp2)
10482 delete arg2;
10483 }
10484 return resultobj;
10485 fail:
10486 {
10487 if (temp2)
10488 delete arg2;
10489 }
10490 return NULL;
10491 }
10492
10493
10494 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10495 PyObject *resultobj;
10496 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10497 wxString *arg2 = 0 ;
10498 bool temp2 = False ;
10499 PyObject * obj0 = 0 ;
10500 PyObject * obj1 = 0 ;
10501 char *kwnames[] = {
10502 (char *) "self",(char *) "name", NULL
10503 };
10504
10505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
10506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10507 {
10508 arg2 = wxString_in_helper(obj1);
10509 if (arg2 == NULL) SWIG_fail;
10510 temp2 = True;
10511 }
10512 {
10513 PyThreadState* __tstate = wxPyBeginAllowThreads();
10514 (arg1)->SetFilename((wxString const &)*arg2);
10515
10516 wxPyEndAllowThreads(__tstate);
10517 if (PyErr_Occurred()) SWIG_fail;
10518 }
10519 Py_INCREF(Py_None); resultobj = Py_None;
10520 {
10521 if (temp2)
10522 delete arg2;
10523 }
10524 return resultobj;
10525 fail:
10526 {
10527 if (temp2)
10528 delete arg2;
10529 }
10530 return NULL;
10531 }
10532
10533
10534 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10535 PyObject *resultobj;
10536 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10537 wxString *arg2 = 0 ;
10538 bool temp2 = False ;
10539 PyObject * obj0 = 0 ;
10540 PyObject * obj1 = 0 ;
10541 char *kwnames[] = {
10542 (char *) "self",(char *) "wildCard", NULL
10543 };
10544
10545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
10546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10547 {
10548 arg2 = wxString_in_helper(obj1);
10549 if (arg2 == NULL) SWIG_fail;
10550 temp2 = True;
10551 }
10552 {
10553 PyThreadState* __tstate = wxPyBeginAllowThreads();
10554 (arg1)->SetWildcard((wxString const &)*arg2);
10555
10556 wxPyEndAllowThreads(__tstate);
10557 if (PyErr_Occurred()) SWIG_fail;
10558 }
10559 Py_INCREF(Py_None); resultobj = Py_None;
10560 {
10561 if (temp2)
10562 delete arg2;
10563 }
10564 return resultobj;
10565 fail:
10566 {
10567 if (temp2)
10568 delete arg2;
10569 }
10570 return NULL;
10571 }
10572
10573
10574 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10575 PyObject *resultobj;
10576 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10577 long arg2 ;
10578 PyObject * obj0 = 0 ;
10579 char *kwnames[] = {
10580 (char *) "self",(char *) "style", NULL
10581 };
10582
10583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:FileDialog_SetStyle",kwnames,&obj0,&arg2)) goto fail;
10584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10585 {
10586 PyThreadState* __tstate = wxPyBeginAllowThreads();
10587 (arg1)->SetStyle(arg2);
10588
10589 wxPyEndAllowThreads(__tstate);
10590 if (PyErr_Occurred()) SWIG_fail;
10591 }
10592 Py_INCREF(Py_None); resultobj = Py_None;
10593 return resultobj;
10594 fail:
10595 return NULL;
10596 }
10597
10598
10599 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10600 PyObject *resultobj;
10601 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10602 int arg2 ;
10603 PyObject * obj0 = 0 ;
10604 char *kwnames[] = {
10605 (char *) "self",(char *) "filterIndex", NULL
10606 };
10607
10608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileDialog_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
10609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10610 {
10611 PyThreadState* __tstate = wxPyBeginAllowThreads();
10612 (arg1)->SetFilterIndex(arg2);
10613
10614 wxPyEndAllowThreads(__tstate);
10615 if (PyErr_Occurred()) SWIG_fail;
10616 }
10617 Py_INCREF(Py_None); resultobj = Py_None;
10618 return resultobj;
10619 fail:
10620 return NULL;
10621 }
10622
10623
10624 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10625 PyObject *resultobj;
10626 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10627 wxString result;
10628 PyObject * obj0 = 0 ;
10629 char *kwnames[] = {
10630 (char *) "self", NULL
10631 };
10632
10633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
10634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10635 {
10636 PyThreadState* __tstate = wxPyBeginAllowThreads();
10637 result = ((wxFileDialog const *)arg1)->GetMessage();
10638
10639 wxPyEndAllowThreads(__tstate);
10640 if (PyErr_Occurred()) SWIG_fail;
10641 }
10642 {
10643 #if wxUSE_UNICODE
10644 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10645 #else
10646 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10647 #endif
10648 }
10649 return resultobj;
10650 fail:
10651 return NULL;
10652 }
10653
10654
10655 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10656 PyObject *resultobj;
10657 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10658 wxString result;
10659 PyObject * obj0 = 0 ;
10660 char *kwnames[] = {
10661 (char *) "self", NULL
10662 };
10663
10664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
10665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10666 {
10667 PyThreadState* __tstate = wxPyBeginAllowThreads();
10668 result = ((wxFileDialog const *)arg1)->GetPath();
10669
10670 wxPyEndAllowThreads(__tstate);
10671 if (PyErr_Occurred()) SWIG_fail;
10672 }
10673 {
10674 #if wxUSE_UNICODE
10675 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10676 #else
10677 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10678 #endif
10679 }
10680 return resultobj;
10681 fail:
10682 return NULL;
10683 }
10684
10685
10686 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10687 PyObject *resultobj;
10688 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10689 wxString result;
10690 PyObject * obj0 = 0 ;
10691 char *kwnames[] = {
10692 (char *) "self", NULL
10693 };
10694
10695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
10696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10697 {
10698 PyThreadState* __tstate = wxPyBeginAllowThreads();
10699 result = ((wxFileDialog const *)arg1)->GetDirectory();
10700
10701 wxPyEndAllowThreads(__tstate);
10702 if (PyErr_Occurred()) SWIG_fail;
10703 }
10704 {
10705 #if wxUSE_UNICODE
10706 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10707 #else
10708 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10709 #endif
10710 }
10711 return resultobj;
10712 fail:
10713 return NULL;
10714 }
10715
10716
10717 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10718 PyObject *resultobj;
10719 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10720 wxString result;
10721 PyObject * obj0 = 0 ;
10722 char *kwnames[] = {
10723 (char *) "self", NULL
10724 };
10725
10726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
10727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10728 {
10729 PyThreadState* __tstate = wxPyBeginAllowThreads();
10730 result = ((wxFileDialog const *)arg1)->GetFilename();
10731
10732 wxPyEndAllowThreads(__tstate);
10733 if (PyErr_Occurred()) SWIG_fail;
10734 }
10735 {
10736 #if wxUSE_UNICODE
10737 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10738 #else
10739 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10740 #endif
10741 }
10742 return resultobj;
10743 fail:
10744 return NULL;
10745 }
10746
10747
10748 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10749 PyObject *resultobj;
10750 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10751 wxString result;
10752 PyObject * obj0 = 0 ;
10753 char *kwnames[] = {
10754 (char *) "self", NULL
10755 };
10756
10757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
10758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10759 {
10760 PyThreadState* __tstate = wxPyBeginAllowThreads();
10761 result = ((wxFileDialog const *)arg1)->GetWildcard();
10762
10763 wxPyEndAllowThreads(__tstate);
10764 if (PyErr_Occurred()) SWIG_fail;
10765 }
10766 {
10767 #if wxUSE_UNICODE
10768 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10769 #else
10770 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10771 #endif
10772 }
10773 return resultobj;
10774 fail:
10775 return NULL;
10776 }
10777
10778
10779 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10780 PyObject *resultobj;
10781 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10782 long result;
10783 PyObject * obj0 = 0 ;
10784 char *kwnames[] = {
10785 (char *) "self", NULL
10786 };
10787
10788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
10789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10790 {
10791 PyThreadState* __tstate = wxPyBeginAllowThreads();
10792 result = (long)((wxFileDialog const *)arg1)->GetStyle();
10793
10794 wxPyEndAllowThreads(__tstate);
10795 if (PyErr_Occurred()) SWIG_fail;
10796 }
10797 resultobj = PyInt_FromLong((long)result);
10798 return resultobj;
10799 fail:
10800 return NULL;
10801 }
10802
10803
10804 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10805 PyObject *resultobj;
10806 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10807 int result;
10808 PyObject * obj0 = 0 ;
10809 char *kwnames[] = {
10810 (char *) "self", NULL
10811 };
10812
10813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
10814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10815 {
10816 PyThreadState* __tstate = wxPyBeginAllowThreads();
10817 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
10818
10819 wxPyEndAllowThreads(__tstate);
10820 if (PyErr_Occurred()) SWIG_fail;
10821 }
10822 resultobj = PyInt_FromLong((long)result);
10823 return resultobj;
10824 fail:
10825 return NULL;
10826 }
10827
10828
10829 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
10830 PyObject *resultobj;
10831 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10832 PyObject *result;
10833 PyObject * obj0 = 0 ;
10834 char *kwnames[] = {
10835 (char *) "self", NULL
10836 };
10837
10838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
10839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10840 {
10841 PyThreadState* __tstate = wxPyBeginAllowThreads();
10842 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
10843
10844 wxPyEndAllowThreads(__tstate);
10845 if (PyErr_Occurred()) SWIG_fail;
10846 }
10847 resultobj = result;
10848 return resultobj;
10849 fail:
10850 return NULL;
10851 }
10852
10853
10854 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
10855 PyObject *resultobj;
10856 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10857 PyObject *result;
10858 PyObject * obj0 = 0 ;
10859 char *kwnames[] = {
10860 (char *) "self", NULL
10861 };
10862
10863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
10864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10865 {
10866 PyThreadState* __tstate = wxPyBeginAllowThreads();
10867 result = (PyObject *)wxFileDialog_GetPaths(arg1);
10868
10869 wxPyEndAllowThreads(__tstate);
10870 if (PyErr_Occurred()) SWIG_fail;
10871 }
10872 resultobj = result;
10873 return resultobj;
10874 fail:
10875 return NULL;
10876 }
10877
10878
10879 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
10880 PyObject *obj;
10881 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10882 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
10883 Py_INCREF(obj);
10884 return Py_BuildValue((char *)"");
10885 }
10886 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10887 PyObject *resultobj;
10888 wxWindow *arg1 = (wxWindow *) 0 ;
10889 wxString *arg2 = 0 ;
10890 wxString *arg3 = 0 ;
10891 int arg4 ;
10892 wxString *arg5 = (wxString *) 0 ;
10893 long arg6 = (long) wxCHOICEDLG_STYLE ;
10894 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10895 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10896 wxMultiChoiceDialog *result;
10897 bool temp2 = False ;
10898 bool temp3 = False ;
10899 bool temp5 = False ;
10900 wxPoint temp7 ;
10901 PyObject * obj0 = 0 ;
10902 PyObject * obj1 = 0 ;
10903 PyObject * obj2 = 0 ;
10904 PyObject * obj4 = 0 ;
10905 PyObject * obj6 = 0 ;
10906 char *kwnames[] = {
10907 (char *) "parent",(char *) "message",(char *) "caption",(char *) "LCOUNT",(char *) "choices",(char *) "style",(char *) "pos", NULL
10908 };
10909
10910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiO|lO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&arg6,&obj6)) goto fail;
10911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10912 {
10913 arg2 = wxString_in_helper(obj1);
10914 if (arg2 == NULL) SWIG_fail;
10915 temp2 = True;
10916 }
10917 {
10918 arg3 = wxString_in_helper(obj2);
10919 if (arg3 == NULL) SWIG_fail;
10920 temp3 = True;
10921 }
10922 {
10923 arg5 = wxString_in_helper(obj4);
10924 if (arg5 == NULL) SWIG_fail;
10925 temp5 = True;
10926 }
10927 if (obj6) {
10928 {
10929 arg7 = &temp7;
10930 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10931 }
10932 }
10933 {
10934 PyThreadState* __tstate = wxPyBeginAllowThreads();
10935 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
10936
10937 wxPyEndAllowThreads(__tstate);
10938 if (PyErr_Occurred()) SWIG_fail;
10939 }
10940 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMultiChoiceDialog, 1);
10941 {
10942 if (temp2)
10943 delete arg2;
10944 }
10945 {
10946 if (temp3)
10947 delete arg3;
10948 }
10949 {
10950 if (temp5)
10951 delete arg5;
10952 }
10953 return resultobj;
10954 fail:
10955 {
10956 if (temp2)
10957 delete arg2;
10958 }
10959 {
10960 if (temp3)
10961 delete arg3;
10962 }
10963 {
10964 if (temp5)
10965 delete arg5;
10966 }
10967 return NULL;
10968 }
10969
10970
10971 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
10972 PyObject *resultobj;
10973 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
10974 wxArrayInt *arg2 = 0 ;
10975 PyObject * obj0 = 0 ;
10976 PyObject * obj1 = 0 ;
10977 char *kwnames[] = {
10978 (char *) "self",(char *) "selections", NULL
10979 };
10980
10981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
10982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10983 {
10984 if (! PySequence_Check(obj1)) {
10985 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10986 SWIG_fail;
10987 }
10988 arg2 = new wxArrayInt;
10989 int i, len=PySequence_Length(obj1);
10990 for (i=0; i<len; i++) {
10991 PyObject* item = PySequence_GetItem(obj1, i);
10992 PyObject* number = PyNumber_Int(item);
10993 arg2->Add(PyInt_AS_LONG(number));
10994 Py_DECREF(item);
10995 Py_DECREF(number);
10996 }
10997 }
10998 {
10999 PyThreadState* __tstate = wxPyBeginAllowThreads();
11000 (arg1)->SetSelections((wxArrayInt const &)*arg2);
11001
11002 wxPyEndAllowThreads(__tstate);
11003 if (PyErr_Occurred()) SWIG_fail;
11004 }
11005 Py_INCREF(Py_None); resultobj = Py_None;
11006 {
11007 if (arg2) delete arg2;
11008 }
11009 return resultobj;
11010 fail:
11011 {
11012 if (arg2) delete arg2;
11013 }
11014 return NULL;
11015 }
11016
11017
11018 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
11019 PyObject *resultobj;
11020 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
11021 PyObject *result;
11022 PyObject * obj0 = 0 ;
11023 char *kwnames[] = {
11024 (char *) "self", NULL
11025 };
11026
11027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
11028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11029 {
11030 PyThreadState* __tstate = wxPyBeginAllowThreads();
11031 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
11032
11033 wxPyEndAllowThreads(__tstate);
11034 if (PyErr_Occurred()) SWIG_fail;
11035 }
11036 resultobj = result;
11037 return resultobj;
11038 fail:
11039 return NULL;
11040 }
11041
11042
11043 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
11044 PyObject *obj;
11045 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11046 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
11047 Py_INCREF(obj);
11048 return Py_BuildValue((char *)"");
11049 }
11050 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11051 PyObject *resultobj;
11052 wxWindow *arg1 = (wxWindow *) 0 ;
11053 wxString *arg2 = 0 ;
11054 wxString *arg3 = 0 ;
11055 int arg4 ;
11056 wxString *arg5 = (wxString *) 0 ;
11057 long arg6 = (long) wxCHOICEDLG_STYLE ;
11058 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11059 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11060 wxSingleChoiceDialog *result;
11061 bool temp2 = False ;
11062 bool temp3 = False ;
11063 wxPoint temp6 ;
11064 PyObject * obj0 = 0 ;
11065 PyObject * obj1 = 0 ;
11066 PyObject * obj2 = 0 ;
11067 PyObject * obj3 = 0 ;
11068 PyObject * obj5 = 0 ;
11069 char *kwnames[] = {
11070 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11071 };
11072
11073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|lO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&obj5)) goto fail;
11074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11075 {
11076 arg2 = wxString_in_helper(obj1);
11077 if (arg2 == NULL) SWIG_fail;
11078 temp2 = True;
11079 }
11080 {
11081 arg3 = wxString_in_helper(obj2);
11082 if (arg3 == NULL) SWIG_fail;
11083 temp3 = True;
11084 }
11085 {
11086 arg4 = PyList_Size(obj3);
11087 arg5 = wxString_LIST_helper(obj3);
11088 if (arg5 == NULL) SWIG_fail;
11089 }
11090 if (obj5) {
11091 {
11092 arg7 = &temp6;
11093 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
11094 }
11095 }
11096 {
11097 PyThreadState* __tstate = wxPyBeginAllowThreads();
11098 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
11099
11100 wxPyEndAllowThreads(__tstate);
11101 if (PyErr_Occurred()) SWIG_fail;
11102 }
11103 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleChoiceDialog, 1);
11104 {
11105 if (temp2)
11106 delete arg2;
11107 }
11108 {
11109 if (temp3)
11110 delete arg3;
11111 }
11112 {
11113 if (arg5) delete [] arg5;
11114 }
11115 return resultobj;
11116 fail:
11117 {
11118 if (temp2)
11119 delete arg2;
11120 }
11121 {
11122 if (temp3)
11123 delete arg3;
11124 }
11125 {
11126 if (arg5) delete [] arg5;
11127 }
11128 return NULL;
11129 }
11130
11131
11132 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11133 PyObject *resultobj;
11134 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11135 int result;
11136 PyObject * obj0 = 0 ;
11137 char *kwnames[] = {
11138 (char *) "self", NULL
11139 };
11140
11141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
11142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11143 {
11144 PyThreadState* __tstate = wxPyBeginAllowThreads();
11145 result = (int)(arg1)->GetSelection();
11146
11147 wxPyEndAllowThreads(__tstate);
11148 if (PyErr_Occurred()) SWIG_fail;
11149 }
11150 resultobj = PyInt_FromLong((long)result);
11151 return resultobj;
11152 fail:
11153 return NULL;
11154 }
11155
11156
11157 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11158 PyObject *resultobj;
11159 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11160 wxString result;
11161 PyObject * obj0 = 0 ;
11162 char *kwnames[] = {
11163 (char *) "self", NULL
11164 };
11165
11166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
11167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11168 {
11169 PyThreadState* __tstate = wxPyBeginAllowThreads();
11170 result = (arg1)->GetStringSelection();
11171
11172 wxPyEndAllowThreads(__tstate);
11173 if (PyErr_Occurred()) SWIG_fail;
11174 }
11175 {
11176 #if wxUSE_UNICODE
11177 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11178 #else
11179 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11180 #endif
11181 }
11182 return resultobj;
11183 fail:
11184 return NULL;
11185 }
11186
11187
11188 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11189 PyObject *resultobj;
11190 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11191 int arg2 ;
11192 PyObject * obj0 = 0 ;
11193 char *kwnames[] = {
11194 (char *) "self",(char *) "sel", NULL
11195 };
11196
11197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SingleChoiceDialog_SetSelection",kwnames,&obj0,&arg2)) goto fail;
11198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11199 {
11200 PyThreadState* __tstate = wxPyBeginAllowThreads();
11201 (arg1)->SetSelection(arg2);
11202
11203 wxPyEndAllowThreads(__tstate);
11204 if (PyErr_Occurred()) SWIG_fail;
11205 }
11206 Py_INCREF(Py_None); resultobj = Py_None;
11207 return resultobj;
11208 fail:
11209 return NULL;
11210 }
11211
11212
11213 static PyObject *_wrap_SingleChoiceDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11214 PyObject *resultobj;
11215 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11216 int result;
11217 PyObject * obj0 = 0 ;
11218 char *kwnames[] = {
11219 (char *) "self", NULL
11220 };
11221
11222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_ShowModal",kwnames,&obj0)) goto fail;
11223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11224 {
11225 PyThreadState* __tstate = wxPyBeginAllowThreads();
11226 result = (int)(arg1)->ShowModal();
11227
11228 wxPyEndAllowThreads(__tstate);
11229 if (PyErr_Occurred()) SWIG_fail;
11230 }
11231 resultobj = PyInt_FromLong((long)result);
11232 return resultobj;
11233 fail:
11234 return NULL;
11235 }
11236
11237
11238 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
11239 PyObject *obj;
11240 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11241 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
11242 Py_INCREF(obj);
11243 return Py_BuildValue((char *)"");
11244 }
11245 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11246 PyObject *resultobj;
11247 wxWindow *arg1 = (wxWindow *) 0 ;
11248 wxString *arg2 = 0 ;
11249 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
11250 wxString *arg3 = (wxString *) &arg3_defvalue ;
11251 wxString const &arg4_defvalue = wxPyEmptyString ;
11252 wxString *arg4 = (wxString *) &arg4_defvalue ;
11253 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
11254 wxPoint const &arg6_defvalue = wxDefaultPosition ;
11255 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
11256 wxTextEntryDialog *result;
11257 bool temp2 = False ;
11258 bool temp3 = False ;
11259 bool temp4 = False ;
11260 wxPoint temp6 ;
11261 PyObject * obj0 = 0 ;
11262 PyObject * obj1 = 0 ;
11263 PyObject * obj2 = 0 ;
11264 PyObject * obj3 = 0 ;
11265 PyObject * obj5 = 0 ;
11266 char *kwnames[] = {
11267 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
11268 };
11269
11270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
11271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11272 {
11273 arg2 = wxString_in_helper(obj1);
11274 if (arg2 == NULL) SWIG_fail;
11275 temp2 = True;
11276 }
11277 if (obj2) {
11278 {
11279 arg3 = wxString_in_helper(obj2);
11280 if (arg3 == NULL) SWIG_fail;
11281 temp3 = True;
11282 }
11283 }
11284 if (obj3) {
11285 {
11286 arg4 = wxString_in_helper(obj3);
11287 if (arg4 == NULL) SWIG_fail;
11288 temp4 = True;
11289 }
11290 }
11291 if (obj5) {
11292 {
11293 arg6 = &temp6;
11294 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
11295 }
11296 }
11297 {
11298 PyThreadState* __tstate = wxPyBeginAllowThreads();
11299 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
11300
11301 wxPyEndAllowThreads(__tstate);
11302 if (PyErr_Occurred()) SWIG_fail;
11303 }
11304 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextEntryDialog, 1);
11305 {
11306 if (temp2)
11307 delete arg2;
11308 }
11309 {
11310 if (temp3)
11311 delete arg3;
11312 }
11313 {
11314 if (temp4)
11315 delete arg4;
11316 }
11317 return resultobj;
11318 fail:
11319 {
11320 if (temp2)
11321 delete arg2;
11322 }
11323 {
11324 if (temp3)
11325 delete arg3;
11326 }
11327 {
11328 if (temp4)
11329 delete arg4;
11330 }
11331 return NULL;
11332 }
11333
11334
11335 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11336 PyObject *resultobj;
11337 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11338 wxString result;
11339 PyObject * obj0 = 0 ;
11340 char *kwnames[] = {
11341 (char *) "self", NULL
11342 };
11343
11344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
11345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11346 {
11347 PyThreadState* __tstate = wxPyBeginAllowThreads();
11348 result = (arg1)->GetValue();
11349
11350 wxPyEndAllowThreads(__tstate);
11351 if (PyErr_Occurred()) SWIG_fail;
11352 }
11353 {
11354 #if wxUSE_UNICODE
11355 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11356 #else
11357 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11358 #endif
11359 }
11360 return resultobj;
11361 fail:
11362 return NULL;
11363 }
11364
11365
11366 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11367 PyObject *resultobj;
11368 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11369 wxString *arg2 = 0 ;
11370 bool temp2 = False ;
11371 PyObject * obj0 = 0 ;
11372 PyObject * obj1 = 0 ;
11373 char *kwnames[] = {
11374 (char *) "self",(char *) "value", NULL
11375 };
11376
11377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
11378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11379 {
11380 arg2 = wxString_in_helper(obj1);
11381 if (arg2 == NULL) SWIG_fail;
11382 temp2 = True;
11383 }
11384 {
11385 PyThreadState* __tstate = wxPyBeginAllowThreads();
11386 (arg1)->SetValue((wxString const &)*arg2);
11387
11388 wxPyEndAllowThreads(__tstate);
11389 if (PyErr_Occurred()) SWIG_fail;
11390 }
11391 Py_INCREF(Py_None); resultobj = Py_None;
11392 {
11393 if (temp2)
11394 delete arg2;
11395 }
11396 return resultobj;
11397 fail:
11398 {
11399 if (temp2)
11400 delete arg2;
11401 }
11402 return NULL;
11403 }
11404
11405
11406 static PyObject *_wrap_TextEntryDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11407 PyObject *resultobj;
11408 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11409 int result;
11410 PyObject * obj0 = 0 ;
11411 char *kwnames[] = {
11412 (char *) "self", NULL
11413 };
11414
11415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_ShowModal",kwnames,&obj0)) goto fail;
11416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11417 {
11418 PyThreadState* __tstate = wxPyBeginAllowThreads();
11419 result = (int)(arg1)->ShowModal();
11420
11421 wxPyEndAllowThreads(__tstate);
11422 if (PyErr_Occurred()) SWIG_fail;
11423 }
11424 resultobj = PyInt_FromLong((long)result);
11425 return resultobj;
11426 fail:
11427 return NULL;
11428 }
11429
11430
11431 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
11432 PyObject *obj;
11433 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11434 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
11435 Py_INCREF(obj);
11436 return Py_BuildValue((char *)"");
11437 }
11438 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11439 PyObject *resultobj;
11440 wxFontData *result;
11441 char *kwnames[] = {
11442 NULL
11443 };
11444
11445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
11446 {
11447 PyThreadState* __tstate = wxPyBeginAllowThreads();
11448 result = (wxFontData *)new wxFontData();
11449
11450 wxPyEndAllowThreads(__tstate);
11451 if (PyErr_Occurred()) SWIG_fail;
11452 }
11453 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 1);
11454 return resultobj;
11455 fail:
11456 return NULL;
11457 }
11458
11459
11460 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11461 PyObject *resultobj;
11462 wxFontData *arg1 = (wxFontData *) 0 ;
11463 PyObject * obj0 = 0 ;
11464 char *kwnames[] = {
11465 (char *) "self", NULL
11466 };
11467
11468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
11469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11470 {
11471 PyThreadState* __tstate = wxPyBeginAllowThreads();
11472 delete arg1;
11473
11474 wxPyEndAllowThreads(__tstate);
11475 if (PyErr_Occurred()) SWIG_fail;
11476 }
11477 Py_INCREF(Py_None); resultobj = Py_None;
11478 return resultobj;
11479 fail:
11480 return NULL;
11481 }
11482
11483
11484 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11485 PyObject *resultobj;
11486 wxFontData *arg1 = (wxFontData *) 0 ;
11487 bool arg2 ;
11488 PyObject * obj0 = 0 ;
11489 PyObject * obj1 = 0 ;
11490 char *kwnames[] = {
11491 (char *) "self",(char *) "enable", NULL
11492 };
11493
11494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
11495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11496 arg2 = PyInt_AsLong(obj1) ? true : false;
11497 if (PyErr_Occurred()) SWIG_fail;
11498 {
11499 PyThreadState* __tstate = wxPyBeginAllowThreads();
11500 (arg1)->EnableEffects(arg2);
11501
11502 wxPyEndAllowThreads(__tstate);
11503 if (PyErr_Occurred()) SWIG_fail;
11504 }
11505 Py_INCREF(Py_None); resultobj = Py_None;
11506 return resultobj;
11507 fail:
11508 return NULL;
11509 }
11510
11511
11512 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11513 PyObject *resultobj;
11514 wxFontData *arg1 = (wxFontData *) 0 ;
11515 bool result;
11516 PyObject * obj0 = 0 ;
11517 char *kwnames[] = {
11518 (char *) "self", NULL
11519 };
11520
11521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
11522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11523 {
11524 PyThreadState* __tstate = wxPyBeginAllowThreads();
11525 result = (bool)(arg1)->GetAllowSymbols();
11526
11527 wxPyEndAllowThreads(__tstate);
11528 if (PyErr_Occurred()) SWIG_fail;
11529 }
11530 resultobj = PyInt_FromLong((long)result);
11531 return resultobj;
11532 fail:
11533 return NULL;
11534 }
11535
11536
11537 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11538 PyObject *resultobj;
11539 wxFontData *arg1 = (wxFontData *) 0 ;
11540 wxColour result;
11541 PyObject * obj0 = 0 ;
11542 char *kwnames[] = {
11543 (char *) "self", NULL
11544 };
11545
11546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
11547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11548 {
11549 PyThreadState* __tstate = wxPyBeginAllowThreads();
11550 result = (arg1)->GetColour();
11551
11552 wxPyEndAllowThreads(__tstate);
11553 if (PyErr_Occurred()) SWIG_fail;
11554 }
11555 {
11556 wxColour * resultptr;
11557 resultptr = new wxColour((wxColour &) result);
11558 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
11559 }
11560 return resultobj;
11561 fail:
11562 return NULL;
11563 }
11564
11565
11566 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11567 PyObject *resultobj;
11568 wxFontData *arg1 = (wxFontData *) 0 ;
11569 wxFont result;
11570 PyObject * obj0 = 0 ;
11571 char *kwnames[] = {
11572 (char *) "self", NULL
11573 };
11574
11575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
11576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11577 {
11578 PyThreadState* __tstate = wxPyBeginAllowThreads();
11579 result = (arg1)->GetChosenFont();
11580
11581 wxPyEndAllowThreads(__tstate);
11582 if (PyErr_Occurred()) SWIG_fail;
11583 }
11584 {
11585 wxFont * resultptr;
11586 resultptr = new wxFont((wxFont &) result);
11587 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11588 }
11589 return resultobj;
11590 fail:
11591 return NULL;
11592 }
11593
11594
11595 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11596 PyObject *resultobj;
11597 wxFontData *arg1 = (wxFontData *) 0 ;
11598 bool result;
11599 PyObject * obj0 = 0 ;
11600 char *kwnames[] = {
11601 (char *) "self", NULL
11602 };
11603
11604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
11605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11606 {
11607 PyThreadState* __tstate = wxPyBeginAllowThreads();
11608 result = (bool)(arg1)->GetEnableEffects();
11609
11610 wxPyEndAllowThreads(__tstate);
11611 if (PyErr_Occurred()) SWIG_fail;
11612 }
11613 resultobj = PyInt_FromLong((long)result);
11614 return resultobj;
11615 fail:
11616 return NULL;
11617 }
11618
11619
11620 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11621 PyObject *resultobj;
11622 wxFontData *arg1 = (wxFontData *) 0 ;
11623 wxFont result;
11624 PyObject * obj0 = 0 ;
11625 char *kwnames[] = {
11626 (char *) "self", NULL
11627 };
11628
11629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
11630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11631 {
11632 PyThreadState* __tstate = wxPyBeginAllowThreads();
11633 result = (arg1)->GetInitialFont();
11634
11635 wxPyEndAllowThreads(__tstate);
11636 if (PyErr_Occurred()) SWIG_fail;
11637 }
11638 {
11639 wxFont * resultptr;
11640 resultptr = new wxFont((wxFont &) result);
11641 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11642 }
11643 return resultobj;
11644 fail:
11645 return NULL;
11646 }
11647
11648
11649 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11650 PyObject *resultobj;
11651 wxFontData *arg1 = (wxFontData *) 0 ;
11652 bool result;
11653 PyObject * obj0 = 0 ;
11654 char *kwnames[] = {
11655 (char *) "self", NULL
11656 };
11657
11658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
11659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11660 {
11661 PyThreadState* __tstate = wxPyBeginAllowThreads();
11662 result = (bool)(arg1)->GetShowHelp();
11663
11664 wxPyEndAllowThreads(__tstate);
11665 if (PyErr_Occurred()) SWIG_fail;
11666 }
11667 resultobj = PyInt_FromLong((long)result);
11668 return resultobj;
11669 fail:
11670 return NULL;
11671 }
11672
11673
11674 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11675 PyObject *resultobj;
11676 wxFontData *arg1 = (wxFontData *) 0 ;
11677 bool arg2 ;
11678 PyObject * obj0 = 0 ;
11679 PyObject * obj1 = 0 ;
11680 char *kwnames[] = {
11681 (char *) "self",(char *) "allowSymbols", NULL
11682 };
11683
11684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
11685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11686 arg2 = PyInt_AsLong(obj1) ? true : false;
11687 if (PyErr_Occurred()) SWIG_fail;
11688 {
11689 PyThreadState* __tstate = wxPyBeginAllowThreads();
11690 (arg1)->SetAllowSymbols(arg2);
11691
11692 wxPyEndAllowThreads(__tstate);
11693 if (PyErr_Occurred()) SWIG_fail;
11694 }
11695 Py_INCREF(Py_None); resultobj = Py_None;
11696 return resultobj;
11697 fail:
11698 return NULL;
11699 }
11700
11701
11702 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11703 PyObject *resultobj;
11704 wxFontData *arg1 = (wxFontData *) 0 ;
11705 wxFont *arg2 = 0 ;
11706 PyObject * obj0 = 0 ;
11707 PyObject * obj1 = 0 ;
11708 char *kwnames[] = {
11709 (char *) "self",(char *) "font", NULL
11710 };
11711
11712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
11713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11714 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11715 if (arg2 == NULL) {
11716 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11717 }
11718 {
11719 PyThreadState* __tstate = wxPyBeginAllowThreads();
11720 (arg1)->SetChosenFont((wxFont const &)*arg2);
11721
11722 wxPyEndAllowThreads(__tstate);
11723 if (PyErr_Occurred()) SWIG_fail;
11724 }
11725 Py_INCREF(Py_None); resultobj = Py_None;
11726 return resultobj;
11727 fail:
11728 return NULL;
11729 }
11730
11731
11732 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11733 PyObject *resultobj;
11734 wxFontData *arg1 = (wxFontData *) 0 ;
11735 wxColour *arg2 = 0 ;
11736 wxColour temp2 ;
11737 PyObject * obj0 = 0 ;
11738 PyObject * obj1 = 0 ;
11739 char *kwnames[] = {
11740 (char *) "self",(char *) "colour", NULL
11741 };
11742
11743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11745 {
11746 arg2 = &temp2;
11747 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11748 }
11749 {
11750 PyThreadState* __tstate = wxPyBeginAllowThreads();
11751 (arg1)->SetColour((wxColour const &)*arg2);
11752
11753 wxPyEndAllowThreads(__tstate);
11754 if (PyErr_Occurred()) SWIG_fail;
11755 }
11756 Py_INCREF(Py_None); resultobj = Py_None;
11757 return resultobj;
11758 fail:
11759 return NULL;
11760 }
11761
11762
11763 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11764 PyObject *resultobj;
11765 wxFontData *arg1 = (wxFontData *) 0 ;
11766 wxFont *arg2 = 0 ;
11767 PyObject * obj0 = 0 ;
11768 PyObject * obj1 = 0 ;
11769 char *kwnames[] = {
11770 (char *) "self",(char *) "font", NULL
11771 };
11772
11773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
11774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11775 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11776 if (arg2 == NULL) {
11777 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11778 }
11779 {
11780 PyThreadState* __tstate = wxPyBeginAllowThreads();
11781 (arg1)->SetInitialFont((wxFont const &)*arg2);
11782
11783 wxPyEndAllowThreads(__tstate);
11784 if (PyErr_Occurred()) SWIG_fail;
11785 }
11786 Py_INCREF(Py_None); resultobj = Py_None;
11787 return resultobj;
11788 fail:
11789 return NULL;
11790 }
11791
11792
11793 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11794 PyObject *resultobj;
11795 wxFontData *arg1 = (wxFontData *) 0 ;
11796 int arg2 ;
11797 int arg3 ;
11798 PyObject * obj0 = 0 ;
11799 char *kwnames[] = {
11800 (char *) "self",(char *) "min",(char *) "max", NULL
11801 };
11802
11803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:FontData_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
11804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11805 {
11806 PyThreadState* __tstate = wxPyBeginAllowThreads();
11807 (arg1)->SetRange(arg2,arg3);
11808
11809 wxPyEndAllowThreads(__tstate);
11810 if (PyErr_Occurred()) SWIG_fail;
11811 }
11812 Py_INCREF(Py_None); resultobj = Py_None;
11813 return resultobj;
11814 fail:
11815 return NULL;
11816 }
11817
11818
11819 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11820 PyObject *resultobj;
11821 wxFontData *arg1 = (wxFontData *) 0 ;
11822 bool arg2 ;
11823 PyObject * obj0 = 0 ;
11824 PyObject * obj1 = 0 ;
11825 char *kwnames[] = {
11826 (char *) "self",(char *) "showHelp", NULL
11827 };
11828
11829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
11830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11831 arg2 = PyInt_AsLong(obj1) ? true : false;
11832 if (PyErr_Occurred()) SWIG_fail;
11833 {
11834 PyThreadState* __tstate = wxPyBeginAllowThreads();
11835 (arg1)->SetShowHelp(arg2);
11836
11837 wxPyEndAllowThreads(__tstate);
11838 if (PyErr_Occurred()) SWIG_fail;
11839 }
11840 Py_INCREF(Py_None); resultobj = Py_None;
11841 return resultobj;
11842 fail:
11843 return NULL;
11844 }
11845
11846
11847 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
11848 PyObject *obj;
11849 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11850 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
11851 Py_INCREF(obj);
11852 return Py_BuildValue((char *)"");
11853 }
11854 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11855 PyObject *resultobj;
11856 wxWindow *arg1 = (wxWindow *) 0 ;
11857 wxFontData *arg2 = 0 ;
11858 wxFontDialog *result;
11859 PyObject * obj0 = 0 ;
11860 PyObject * obj1 = 0 ;
11861 char *kwnames[] = {
11862 (char *) "parent",(char *) "data", NULL
11863 };
11864
11865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
11866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11867 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11868 if (arg2 == NULL) {
11869 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11870 }
11871 {
11872 PyThreadState* __tstate = wxPyBeginAllowThreads();
11873 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
11874
11875 wxPyEndAllowThreads(__tstate);
11876 if (PyErr_Occurred()) SWIG_fail;
11877 }
11878 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontDialog, 1);
11879 return resultobj;
11880 fail:
11881 return NULL;
11882 }
11883
11884
11885 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11886 PyObject *resultobj;
11887 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
11888 wxFontData *result;
11889 PyObject * obj0 = 0 ;
11890 char *kwnames[] = {
11891 (char *) "self", NULL
11892 };
11893
11894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
11895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11896 {
11897 PyThreadState* __tstate = wxPyBeginAllowThreads();
11898 {
11899 wxFontData &_result_ref = (arg1)->GetFontData();
11900 result = (wxFontData *) &_result_ref;
11901 }
11902
11903 wxPyEndAllowThreads(__tstate);
11904 if (PyErr_Occurred()) SWIG_fail;
11905 }
11906 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 0);
11907 return resultobj;
11908 fail:
11909 return NULL;
11910 }
11911
11912
11913 static PyObject *_wrap_FontDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11914 PyObject *resultobj;
11915 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
11916 int result;
11917 PyObject * obj0 = 0 ;
11918 char *kwnames[] = {
11919 (char *) "self", NULL
11920 };
11921
11922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_ShowModal",kwnames,&obj0)) goto fail;
11923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11924 {
11925 PyThreadState* __tstate = wxPyBeginAllowThreads();
11926 result = (int)(arg1)->ShowModal();
11927
11928 wxPyEndAllowThreads(__tstate);
11929 if (PyErr_Occurred()) SWIG_fail;
11930 }
11931 resultobj = PyInt_FromLong((long)result);
11932 return resultobj;
11933 fail:
11934 return NULL;
11935 }
11936
11937
11938 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
11939 PyObject *obj;
11940 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11941 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
11942 Py_INCREF(obj);
11943 return Py_BuildValue((char *)"");
11944 }
11945 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11946 PyObject *resultobj;
11947 wxWindow *arg1 = (wxWindow *) 0 ;
11948 wxString *arg2 = 0 ;
11949 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
11950 wxString *arg3 = (wxString *) &arg3_defvalue ;
11951 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
11952 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11953 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11954 wxMessageDialog *result;
11955 bool temp2 = False ;
11956 bool temp3 = False ;
11957 wxPoint temp5 ;
11958 PyObject * obj0 = 0 ;
11959 PyObject * obj1 = 0 ;
11960 PyObject * obj2 = 0 ;
11961 PyObject * obj4 = 0 ;
11962 char *kwnames[] = {
11963 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
11964 };
11965
11966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OlO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4)) goto fail;
11967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11968 {
11969 arg2 = wxString_in_helper(obj1);
11970 if (arg2 == NULL) SWIG_fail;
11971 temp2 = True;
11972 }
11973 if (obj2) {
11974 {
11975 arg3 = wxString_in_helper(obj2);
11976 if (arg3 == NULL) SWIG_fail;
11977 temp3 = True;
11978 }
11979 }
11980 if (obj4) {
11981 {
11982 arg5 = &temp5;
11983 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11984 }
11985 }
11986 {
11987 PyThreadState* __tstate = wxPyBeginAllowThreads();
11988 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
11989
11990 wxPyEndAllowThreads(__tstate);
11991 if (PyErr_Occurred()) SWIG_fail;
11992 }
11993 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMessageDialog, 1);
11994 {
11995 if (temp2)
11996 delete arg2;
11997 }
11998 {
11999 if (temp3)
12000 delete arg3;
12001 }
12002 return resultobj;
12003 fail:
12004 {
12005 if (temp2)
12006 delete arg2;
12007 }
12008 {
12009 if (temp3)
12010 delete arg3;
12011 }
12012 return NULL;
12013 }
12014
12015
12016 static PyObject *_wrap_MessageDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
12017 PyObject *resultobj;
12018 wxMessageDialog *arg1 = (wxMessageDialog *) 0 ;
12019 int result;
12020 PyObject * obj0 = 0 ;
12021 char *kwnames[] = {
12022 (char *) "self", NULL
12023 };
12024
12025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MessageDialog_ShowModal",kwnames,&obj0)) goto fail;
12026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMessageDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12027 {
12028 PyThreadState* __tstate = wxPyBeginAllowThreads();
12029 result = (int)(arg1)->ShowModal();
12030
12031 wxPyEndAllowThreads(__tstate);
12032 if (PyErr_Occurred()) SWIG_fail;
12033 }
12034 resultobj = PyInt_FromLong((long)result);
12035 return resultobj;
12036 fail:
12037 return NULL;
12038 }
12039
12040
12041 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
12042 PyObject *obj;
12043 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12044 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
12045 Py_INCREF(obj);
12046 return Py_BuildValue((char *)"");
12047 }
12048 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12049 PyObject *resultobj;
12050 wxString *arg1 = 0 ;
12051 wxString *arg2 = 0 ;
12052 int arg3 = (int) 100 ;
12053 wxWindow *arg4 = (wxWindow *) NULL ;
12054 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
12055 wxProgressDialog *result;
12056 bool temp1 = False ;
12057 bool temp2 = False ;
12058 PyObject * obj0 = 0 ;
12059 PyObject * obj1 = 0 ;
12060 PyObject * obj3 = 0 ;
12061 char *kwnames[] = {
12062 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
12063 };
12064
12065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOi:new_ProgressDialog",kwnames,&obj0,&obj1,&arg3,&obj3,&arg5)) goto fail;
12066 {
12067 arg1 = wxString_in_helper(obj0);
12068 if (arg1 == NULL) SWIG_fail;
12069 temp1 = True;
12070 }
12071 {
12072 arg2 = wxString_in_helper(obj1);
12073 if (arg2 == NULL) SWIG_fail;
12074 temp2 = True;
12075 }
12076 if (obj3) {
12077 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12078 }
12079 {
12080 PyThreadState* __tstate = wxPyBeginAllowThreads();
12081 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
12082
12083 wxPyEndAllowThreads(__tstate);
12084 if (PyErr_Occurred()) SWIG_fail;
12085 }
12086 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProgressDialog, 1);
12087 {
12088 if (temp1)
12089 delete arg1;
12090 }
12091 {
12092 if (temp2)
12093 delete arg2;
12094 }
12095 return resultobj;
12096 fail:
12097 {
12098 if (temp1)
12099 delete arg1;
12100 }
12101 {
12102 if (temp2)
12103 delete arg2;
12104 }
12105 return NULL;
12106 }
12107
12108
12109 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
12110 PyObject *resultobj;
12111 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
12112 int arg2 ;
12113 wxString const &arg3_defvalue = wxPyEmptyString ;
12114 wxString *arg3 = (wxString *) &arg3_defvalue ;
12115 bool result;
12116 bool temp3 = False ;
12117 PyObject * obj0 = 0 ;
12118 PyObject * obj2 = 0 ;
12119 char *kwnames[] = {
12120 (char *) "self",(char *) "value",(char *) "newmsg", NULL
12121 };
12122
12123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ProgressDialog_Update",kwnames,&obj0,&arg2,&obj2)) goto fail;
12124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12125 if (obj2) {
12126 {
12127 arg3 = wxString_in_helper(obj2);
12128 if (arg3 == NULL) SWIG_fail;
12129 temp3 = True;
12130 }
12131 }
12132 {
12133 PyThreadState* __tstate = wxPyBeginAllowThreads();
12134 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
12135
12136 wxPyEndAllowThreads(__tstate);
12137 if (PyErr_Occurred()) SWIG_fail;
12138 }
12139 resultobj = PyInt_FromLong((long)result);
12140 {
12141 if (temp3)
12142 delete arg3;
12143 }
12144 return resultobj;
12145 fail:
12146 {
12147 if (temp3)
12148 delete arg3;
12149 }
12150 return NULL;
12151 }
12152
12153
12154 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
12155 PyObject *resultobj;
12156 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
12157 PyObject * obj0 = 0 ;
12158 char *kwnames[] = {
12159 (char *) "self", NULL
12160 };
12161
12162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
12163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12164 {
12165 PyThreadState* __tstate = wxPyBeginAllowThreads();
12166 (arg1)->Resume();
12167
12168 wxPyEndAllowThreads(__tstate);
12169 if (PyErr_Occurred()) SWIG_fail;
12170 }
12171 Py_INCREF(Py_None); resultobj = Py_None;
12172 return resultobj;
12173 fail:
12174 return NULL;
12175 }
12176
12177
12178 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
12179 PyObject *obj;
12180 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12181 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
12182 Py_INCREF(obj);
12183 return Py_BuildValue((char *)"");
12184 }
12185 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12186 PyObject *resultobj;
12187 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12188 int arg2 = (int) 0 ;
12189 wxFindDialogEvent *result;
12190 char *kwnames[] = {
12191 (char *) "commandType",(char *) "id", NULL
12192 };
12193
12194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_FindDialogEvent",kwnames,&arg1,&arg2)) goto fail;
12195 {
12196 PyThreadState* __tstate = wxPyBeginAllowThreads();
12197 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
12198
12199 wxPyEndAllowThreads(__tstate);
12200 if (PyErr_Occurred()) SWIG_fail;
12201 }
12202 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindDialogEvent, 1);
12203 return resultobj;
12204 fail:
12205 return NULL;
12206 }
12207
12208
12209 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12210 PyObject *resultobj;
12211 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12212 int result;
12213 PyObject * obj0 = 0 ;
12214 char *kwnames[] = {
12215 (char *) "self", NULL
12216 };
12217
12218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
12219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12220 {
12221 PyThreadState* __tstate = wxPyBeginAllowThreads();
12222 result = (int)(arg1)->GetFlags();
12223
12224 wxPyEndAllowThreads(__tstate);
12225 if (PyErr_Occurred()) SWIG_fail;
12226 }
12227 resultobj = PyInt_FromLong((long)result);
12228 return resultobj;
12229 fail:
12230 return NULL;
12231 }
12232
12233
12234 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12235 PyObject *resultobj;
12236 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12237 wxString *result;
12238 PyObject * obj0 = 0 ;
12239 char *kwnames[] = {
12240 (char *) "self", NULL
12241 };
12242
12243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
12244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12245 {
12246 PyThreadState* __tstate = wxPyBeginAllowThreads();
12247 {
12248 wxString const &_result_ref = (arg1)->GetFindString();
12249 result = (wxString *) &_result_ref;
12250 }
12251
12252 wxPyEndAllowThreads(__tstate);
12253 if (PyErr_Occurred()) SWIG_fail;
12254 }
12255 {
12256 #if wxUSE_UNICODE
12257 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12258 #else
12259 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12260 #endif
12261 }
12262 return resultobj;
12263 fail:
12264 return NULL;
12265 }
12266
12267
12268 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12269 PyObject *resultobj;
12270 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12271 wxString *result;
12272 PyObject * obj0 = 0 ;
12273 char *kwnames[] = {
12274 (char *) "self", NULL
12275 };
12276
12277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
12278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12279 {
12280 PyThreadState* __tstate = wxPyBeginAllowThreads();
12281 {
12282 wxString const &_result_ref = (arg1)->GetReplaceString();
12283 result = (wxString *) &_result_ref;
12284 }
12285
12286 wxPyEndAllowThreads(__tstate);
12287 if (PyErr_Occurred()) SWIG_fail;
12288 }
12289 {
12290 #if wxUSE_UNICODE
12291 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12292 #else
12293 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12294 #endif
12295 }
12296 return resultobj;
12297 fail:
12298 return NULL;
12299 }
12300
12301
12302 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12303 PyObject *resultobj;
12304 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12305 wxFindReplaceDialog *result;
12306 PyObject * obj0 = 0 ;
12307 char *kwnames[] = {
12308 (char *) "self", NULL
12309 };
12310
12311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
12312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12313 {
12314 PyThreadState* __tstate = wxPyBeginAllowThreads();
12315 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
12316
12317 wxPyEndAllowThreads(__tstate);
12318 if (PyErr_Occurred()) SWIG_fail;
12319 }
12320 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 0);
12321 return resultobj;
12322 fail:
12323 return NULL;
12324 }
12325
12326
12327 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12328 PyObject *resultobj;
12329 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12330 int arg2 ;
12331 PyObject * obj0 = 0 ;
12332 char *kwnames[] = {
12333 (char *) "self",(char *) "flags", NULL
12334 };
12335
12336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindDialogEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12338 {
12339 PyThreadState* __tstate = wxPyBeginAllowThreads();
12340 (arg1)->SetFlags(arg2);
12341
12342 wxPyEndAllowThreads(__tstate);
12343 if (PyErr_Occurred()) SWIG_fail;
12344 }
12345 Py_INCREF(Py_None); resultobj = Py_None;
12346 return resultobj;
12347 fail:
12348 return NULL;
12349 }
12350
12351
12352 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12353 PyObject *resultobj;
12354 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12355 wxString *arg2 = 0 ;
12356 bool temp2 = False ;
12357 PyObject * obj0 = 0 ;
12358 PyObject * obj1 = 0 ;
12359 char *kwnames[] = {
12360 (char *) "self",(char *) "str", NULL
12361 };
12362
12363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12365 {
12366 arg2 = wxString_in_helper(obj1);
12367 if (arg2 == NULL) SWIG_fail;
12368 temp2 = True;
12369 }
12370 {
12371 PyThreadState* __tstate = wxPyBeginAllowThreads();
12372 (arg1)->SetFindString((wxString const &)*arg2);
12373
12374 wxPyEndAllowThreads(__tstate);
12375 if (PyErr_Occurred()) SWIG_fail;
12376 }
12377 Py_INCREF(Py_None); resultobj = Py_None;
12378 {
12379 if (temp2)
12380 delete arg2;
12381 }
12382 return resultobj;
12383 fail:
12384 {
12385 if (temp2)
12386 delete arg2;
12387 }
12388 return NULL;
12389 }
12390
12391
12392 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12393 PyObject *resultobj;
12394 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12395 wxString *arg2 = 0 ;
12396 bool temp2 = False ;
12397 PyObject * obj0 = 0 ;
12398 PyObject * obj1 = 0 ;
12399 char *kwnames[] = {
12400 (char *) "self",(char *) "str", NULL
12401 };
12402
12403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12405 {
12406 arg2 = wxString_in_helper(obj1);
12407 if (arg2 == NULL) SWIG_fail;
12408 temp2 = True;
12409 }
12410 {
12411 PyThreadState* __tstate = wxPyBeginAllowThreads();
12412 (arg1)->SetReplaceString((wxString const &)*arg2);
12413
12414 wxPyEndAllowThreads(__tstate);
12415 if (PyErr_Occurred()) SWIG_fail;
12416 }
12417 Py_INCREF(Py_None); resultobj = Py_None;
12418 {
12419 if (temp2)
12420 delete arg2;
12421 }
12422 return resultobj;
12423 fail:
12424 {
12425 if (temp2)
12426 delete arg2;
12427 }
12428 return NULL;
12429 }
12430
12431
12432 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
12433 PyObject *obj;
12434 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12435 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
12436 Py_INCREF(obj);
12437 return Py_BuildValue((char *)"");
12438 }
12439 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12440 PyObject *resultobj;
12441 int arg1 = (int) 0 ;
12442 wxFindReplaceData *result;
12443 char *kwnames[] = {
12444 (char *) "flags", NULL
12445 };
12446
12447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_FindReplaceData",kwnames,&arg1)) goto fail;
12448 {
12449 PyThreadState* __tstate = wxPyBeginAllowThreads();
12450 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
12451
12452 wxPyEndAllowThreads(__tstate);
12453 if (PyErr_Occurred()) SWIG_fail;
12454 }
12455 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 1);
12456 return resultobj;
12457 fail:
12458 return NULL;
12459 }
12460
12461
12462 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12463 PyObject *resultobj;
12464 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12465 PyObject * obj0 = 0 ;
12466 char *kwnames[] = {
12467 (char *) "self", NULL
12468 };
12469
12470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
12471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12472 {
12473 PyThreadState* __tstate = wxPyBeginAllowThreads();
12474 delete arg1;
12475
12476 wxPyEndAllowThreads(__tstate);
12477 if (PyErr_Occurred()) SWIG_fail;
12478 }
12479 Py_INCREF(Py_None); resultobj = Py_None;
12480 return resultobj;
12481 fail:
12482 return NULL;
12483 }
12484
12485
12486 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12487 PyObject *resultobj;
12488 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12489 wxString *result;
12490 PyObject * obj0 = 0 ;
12491 char *kwnames[] = {
12492 (char *) "self", NULL
12493 };
12494
12495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
12496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12497 {
12498 PyThreadState* __tstate = wxPyBeginAllowThreads();
12499 {
12500 wxString const &_result_ref = (arg1)->GetFindString();
12501 result = (wxString *) &_result_ref;
12502 }
12503
12504 wxPyEndAllowThreads(__tstate);
12505 if (PyErr_Occurred()) SWIG_fail;
12506 }
12507 {
12508 #if wxUSE_UNICODE
12509 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12510 #else
12511 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12512 #endif
12513 }
12514 return resultobj;
12515 fail:
12516 return NULL;
12517 }
12518
12519
12520 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12521 PyObject *resultobj;
12522 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12523 wxString *result;
12524 PyObject * obj0 = 0 ;
12525 char *kwnames[] = {
12526 (char *) "self", NULL
12527 };
12528
12529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
12530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12531 {
12532 PyThreadState* __tstate = wxPyBeginAllowThreads();
12533 {
12534 wxString const &_result_ref = (arg1)->GetReplaceString();
12535 result = (wxString *) &_result_ref;
12536 }
12537
12538 wxPyEndAllowThreads(__tstate);
12539 if (PyErr_Occurred()) SWIG_fail;
12540 }
12541 {
12542 #if wxUSE_UNICODE
12543 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12544 #else
12545 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12546 #endif
12547 }
12548 return resultobj;
12549 fail:
12550 return NULL;
12551 }
12552
12553
12554 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12555 PyObject *resultobj;
12556 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12557 int result;
12558 PyObject * obj0 = 0 ;
12559 char *kwnames[] = {
12560 (char *) "self", NULL
12561 };
12562
12563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
12564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12565 {
12566 PyThreadState* __tstate = wxPyBeginAllowThreads();
12567 result = (int)(arg1)->GetFlags();
12568
12569 wxPyEndAllowThreads(__tstate);
12570 if (PyErr_Occurred()) SWIG_fail;
12571 }
12572 resultobj = PyInt_FromLong((long)result);
12573 return resultobj;
12574 fail:
12575 return NULL;
12576 }
12577
12578
12579 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12580 PyObject *resultobj;
12581 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12582 int arg2 ;
12583 PyObject * obj0 = 0 ;
12584 char *kwnames[] = {
12585 (char *) "self",(char *) "flags", NULL
12586 };
12587
12588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindReplaceData_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12590 {
12591 PyThreadState* __tstate = wxPyBeginAllowThreads();
12592 (arg1)->SetFlags(arg2);
12593
12594 wxPyEndAllowThreads(__tstate);
12595 if (PyErr_Occurred()) SWIG_fail;
12596 }
12597 Py_INCREF(Py_None); resultobj = Py_None;
12598 return resultobj;
12599 fail:
12600 return NULL;
12601 }
12602
12603
12604 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12605 PyObject *resultobj;
12606 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12607 wxString *arg2 = 0 ;
12608 bool temp2 = False ;
12609 PyObject * obj0 = 0 ;
12610 PyObject * obj1 = 0 ;
12611 char *kwnames[] = {
12612 (char *) "self",(char *) "str", NULL
12613 };
12614
12615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12617 {
12618 arg2 = wxString_in_helper(obj1);
12619 if (arg2 == NULL) SWIG_fail;
12620 temp2 = True;
12621 }
12622 {
12623 PyThreadState* __tstate = wxPyBeginAllowThreads();
12624 (arg1)->SetFindString((wxString const &)*arg2);
12625
12626 wxPyEndAllowThreads(__tstate);
12627 if (PyErr_Occurred()) SWIG_fail;
12628 }
12629 Py_INCREF(Py_None); resultobj = Py_None;
12630 {
12631 if (temp2)
12632 delete arg2;
12633 }
12634 return resultobj;
12635 fail:
12636 {
12637 if (temp2)
12638 delete arg2;
12639 }
12640 return NULL;
12641 }
12642
12643
12644 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12645 PyObject *resultobj;
12646 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12647 wxString *arg2 = 0 ;
12648 bool temp2 = False ;
12649 PyObject * obj0 = 0 ;
12650 PyObject * obj1 = 0 ;
12651 char *kwnames[] = {
12652 (char *) "self",(char *) "str", NULL
12653 };
12654
12655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12657 {
12658 arg2 = wxString_in_helper(obj1);
12659 if (arg2 == NULL) SWIG_fail;
12660 temp2 = True;
12661 }
12662 {
12663 PyThreadState* __tstate = wxPyBeginAllowThreads();
12664 (arg1)->SetReplaceString((wxString const &)*arg2);
12665
12666 wxPyEndAllowThreads(__tstate);
12667 if (PyErr_Occurred()) SWIG_fail;
12668 }
12669 Py_INCREF(Py_None); resultobj = Py_None;
12670 {
12671 if (temp2)
12672 delete arg2;
12673 }
12674 return resultobj;
12675 fail:
12676 {
12677 if (temp2)
12678 delete arg2;
12679 }
12680 return NULL;
12681 }
12682
12683
12684 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
12685 PyObject *obj;
12686 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12687 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
12688 Py_INCREF(obj);
12689 return Py_BuildValue((char *)"");
12690 }
12691 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12692 PyObject *resultobj;
12693 wxWindow *arg1 = (wxWindow *) 0 ;
12694 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12695 wxString *arg3 = 0 ;
12696 int arg4 = (int) 0 ;
12697 wxFindReplaceDialog *result;
12698 bool temp3 = False ;
12699 PyObject * obj0 = 0 ;
12700 PyObject * obj1 = 0 ;
12701 PyObject * obj2 = 0 ;
12702 char *kwnames[] = {
12703 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12704 };
12705
12706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
12707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12708 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12709 {
12710 arg3 = wxString_in_helper(obj2);
12711 if (arg3 == NULL) SWIG_fail;
12712 temp3 = True;
12713 }
12714 {
12715 PyThreadState* __tstate = wxPyBeginAllowThreads();
12716 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
12717
12718 wxPyEndAllowThreads(__tstate);
12719 if (PyErr_Occurred()) SWIG_fail;
12720 }
12721 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12722 {
12723 if (temp3)
12724 delete arg3;
12725 }
12726 return resultobj;
12727 fail:
12728 {
12729 if (temp3)
12730 delete arg3;
12731 }
12732 return NULL;
12733 }
12734
12735
12736 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12737 PyObject *resultobj;
12738 wxFindReplaceDialog *result;
12739 char *kwnames[] = {
12740 NULL
12741 };
12742
12743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
12744 {
12745 PyThreadState* __tstate = wxPyBeginAllowThreads();
12746 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
12747
12748 wxPyEndAllowThreads(__tstate);
12749 if (PyErr_Occurred()) SWIG_fail;
12750 }
12751 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12752 return resultobj;
12753 fail:
12754 return NULL;
12755 }
12756
12757
12758 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12759 PyObject *resultobj;
12760 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12761 wxWindow *arg2 = (wxWindow *) 0 ;
12762 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
12763 wxString *arg4 = 0 ;
12764 int arg5 = (int) 0 ;
12765 bool result;
12766 bool temp4 = False ;
12767 PyObject * obj0 = 0 ;
12768 PyObject * obj1 = 0 ;
12769 PyObject * obj2 = 0 ;
12770 PyObject * obj3 = 0 ;
12771 char *kwnames[] = {
12772 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12773 };
12774
12775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|i:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
12776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12777 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12778 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12779 {
12780 arg4 = wxString_in_helper(obj3);
12781 if (arg4 == NULL) SWIG_fail;
12782 temp4 = True;
12783 }
12784 {
12785 PyThreadState* __tstate = wxPyBeginAllowThreads();
12786 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
12787
12788 wxPyEndAllowThreads(__tstate);
12789 if (PyErr_Occurred()) SWIG_fail;
12790 }
12791 resultobj = PyInt_FromLong((long)result);
12792 {
12793 if (temp4)
12794 delete arg4;
12795 }
12796 return resultobj;
12797 fail:
12798 {
12799 if (temp4)
12800 delete arg4;
12801 }
12802 return NULL;
12803 }
12804
12805
12806 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12807 PyObject *resultobj;
12808 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12809 wxFindReplaceData *result;
12810 PyObject * obj0 = 0 ;
12811 char *kwnames[] = {
12812 (char *) "self", NULL
12813 };
12814
12815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
12816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12817 {
12818 PyThreadState* __tstate = wxPyBeginAllowThreads();
12819 result = (wxFindReplaceData *)(arg1)->GetData();
12820
12821 wxPyEndAllowThreads(__tstate);
12822 if (PyErr_Occurred()) SWIG_fail;
12823 }
12824 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 0);
12825 return resultobj;
12826 fail:
12827 return NULL;
12828 }
12829
12830
12831 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12832 PyObject *resultobj;
12833 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12834 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12835 PyObject * obj0 = 0 ;
12836 PyObject * obj1 = 0 ;
12837 char *kwnames[] = {
12838 (char *) "self",(char *) "data", NULL
12839 };
12840
12841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
12842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12843 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12844 {
12845 PyThreadState* __tstate = wxPyBeginAllowThreads();
12846 (arg1)->SetData(arg2);
12847
12848 wxPyEndAllowThreads(__tstate);
12849 if (PyErr_Occurred()) SWIG_fail;
12850 }
12851 Py_INCREF(Py_None); resultobj = Py_None;
12852 return resultobj;
12853 fail:
12854 return NULL;
12855 }
12856
12857
12858 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
12859 PyObject *obj;
12860 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12861 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
12862 Py_INCREF(obj);
12863 return Py_BuildValue((char *)"");
12864 }
12865 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
12866 PyObject *resultobj;
12867 wxWindow *arg1 = (wxWindow *) 0 ;
12868 int arg2 ;
12869 wxString *arg3 = 0 ;
12870 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12871 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12872 wxSize const &arg5_defvalue = wxDefaultSize ;
12873 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12874 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
12875 wxString const &arg7_defvalue = wxPyFrameNameStr ;
12876 wxString *arg7 = (wxString *) &arg7_defvalue ;
12877 wxMDIParentFrame *result;
12878 bool temp3 = False ;
12879 wxPoint temp4 ;
12880 wxSize temp5 ;
12881 bool temp7 = False ;
12882 PyObject * obj0 = 0 ;
12883 PyObject * obj2 = 0 ;
12884 PyObject * obj3 = 0 ;
12885 PyObject * obj4 = 0 ;
12886 PyObject * obj6 = 0 ;
12887 char *kwnames[] = {
12888 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12889 };
12890
12891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIParentFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
12892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12893 {
12894 arg3 = wxString_in_helper(obj2);
12895 if (arg3 == NULL) SWIG_fail;
12896 temp3 = True;
12897 }
12898 if (obj3) {
12899 {
12900 arg4 = &temp4;
12901 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12902 }
12903 }
12904 if (obj4) {
12905 {
12906 arg5 = &temp5;
12907 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12908 }
12909 }
12910 if (obj6) {
12911 {
12912 arg7 = wxString_in_helper(obj6);
12913 if (arg7 == NULL) SWIG_fail;
12914 temp7 = True;
12915 }
12916 }
12917 {
12918 PyThreadState* __tstate = wxPyBeginAllowThreads();
12919 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12920
12921 wxPyEndAllowThreads(__tstate);
12922 if (PyErr_Occurred()) SWIG_fail;
12923 }
12924 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
12925 {
12926 if (temp3)
12927 delete arg3;
12928 }
12929 {
12930 if (temp7)
12931 delete arg7;
12932 }
12933 return resultobj;
12934 fail:
12935 {
12936 if (temp3)
12937 delete arg3;
12938 }
12939 {
12940 if (temp7)
12941 delete arg7;
12942 }
12943 return NULL;
12944 }
12945
12946
12947 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
12948 PyObject *resultobj;
12949 wxMDIParentFrame *result;
12950 char *kwnames[] = {
12951 NULL
12952 };
12953
12954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
12955 {
12956 PyThreadState* __tstate = wxPyBeginAllowThreads();
12957 result = (wxMDIParentFrame *)new wxMDIParentFrame();
12958
12959 wxPyEndAllowThreads(__tstate);
12960 if (PyErr_Occurred()) SWIG_fail;
12961 }
12962 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
12963 return resultobj;
12964 fail:
12965 return NULL;
12966 }
12967
12968
12969 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12970 PyObject *resultobj;
12971 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12972 wxWindow *arg2 = (wxWindow *) 0 ;
12973 int arg3 ;
12974 wxString *arg4 = 0 ;
12975 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12976 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12977 wxSize const &arg6_defvalue = wxDefaultSize ;
12978 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12979 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
12980 wxString const &arg8_defvalue = wxPyFrameNameStr ;
12981 wxString *arg8 = (wxString *) &arg8_defvalue ;
12982 bool result;
12983 bool temp4 = False ;
12984 wxPoint temp5 ;
12985 wxSize temp6 ;
12986 bool temp8 = False ;
12987 PyObject * obj0 = 0 ;
12988 PyObject * obj1 = 0 ;
12989 PyObject * obj3 = 0 ;
12990 PyObject * obj4 = 0 ;
12991 PyObject * obj5 = 0 ;
12992 PyObject * obj7 = 0 ;
12993 char *kwnames[] = {
12994 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12995 };
12996
12997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
12998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12999 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13000 {
13001 arg4 = wxString_in_helper(obj3);
13002 if (arg4 == NULL) SWIG_fail;
13003 temp4 = True;
13004 }
13005 if (obj4) {
13006 {
13007 arg5 = &temp5;
13008 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13009 }
13010 }
13011 if (obj5) {
13012 {
13013 arg6 = &temp6;
13014 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13015 }
13016 }
13017 if (obj7) {
13018 {
13019 arg8 = wxString_in_helper(obj7);
13020 if (arg8 == NULL) SWIG_fail;
13021 temp8 = True;
13022 }
13023 }
13024 {
13025 PyThreadState* __tstate = wxPyBeginAllowThreads();
13026 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
13027
13028 wxPyEndAllowThreads(__tstate);
13029 if (PyErr_Occurred()) SWIG_fail;
13030 }
13031 resultobj = PyInt_FromLong((long)result);
13032 {
13033 if (temp4)
13034 delete arg4;
13035 }
13036 {
13037 if (temp8)
13038 delete arg8;
13039 }
13040 return resultobj;
13041 fail:
13042 {
13043 if (temp4)
13044 delete arg4;
13045 }
13046 {
13047 if (temp8)
13048 delete arg8;
13049 }
13050 return NULL;
13051 }
13052
13053
13054 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
13055 PyObject *resultobj;
13056 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13057 PyObject * obj0 = 0 ;
13058 char *kwnames[] = {
13059 (char *) "self", NULL
13060 };
13061
13062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
13063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13064 {
13065 PyThreadState* __tstate = wxPyBeginAllowThreads();
13066 (arg1)->ActivateNext();
13067
13068 wxPyEndAllowThreads(__tstate);
13069 if (PyErr_Occurred()) SWIG_fail;
13070 }
13071 Py_INCREF(Py_None); resultobj = Py_None;
13072 return resultobj;
13073 fail:
13074 return NULL;
13075 }
13076
13077
13078 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
13079 PyObject *resultobj;
13080 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13081 PyObject * obj0 = 0 ;
13082 char *kwnames[] = {
13083 (char *) "self", NULL
13084 };
13085
13086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
13087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13088 {
13089 PyThreadState* __tstate = wxPyBeginAllowThreads();
13090 (arg1)->ActivatePrevious();
13091
13092 wxPyEndAllowThreads(__tstate);
13093 if (PyErr_Occurred()) SWIG_fail;
13094 }
13095 Py_INCREF(Py_None); resultobj = Py_None;
13096 return resultobj;
13097 fail:
13098 return NULL;
13099 }
13100
13101
13102 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
13103 PyObject *resultobj;
13104 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13105 PyObject * obj0 = 0 ;
13106 char *kwnames[] = {
13107 (char *) "self", NULL
13108 };
13109
13110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
13111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13112 {
13113 PyThreadState* __tstate = wxPyBeginAllowThreads();
13114 (arg1)->ArrangeIcons();
13115
13116 wxPyEndAllowThreads(__tstate);
13117 if (PyErr_Occurred()) SWIG_fail;
13118 }
13119 Py_INCREF(Py_None); resultobj = Py_None;
13120 return resultobj;
13121 fail:
13122 return NULL;
13123 }
13124
13125
13126 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
13127 PyObject *resultobj;
13128 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13129 PyObject * obj0 = 0 ;
13130 char *kwnames[] = {
13131 (char *) "self", NULL
13132 };
13133
13134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
13135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13136 {
13137 PyThreadState* __tstate = wxPyBeginAllowThreads();
13138 (arg1)->Cascade();
13139
13140 wxPyEndAllowThreads(__tstate);
13141 if (PyErr_Occurred()) SWIG_fail;
13142 }
13143 Py_INCREF(Py_None); resultobj = Py_None;
13144 return resultobj;
13145 fail:
13146 return NULL;
13147 }
13148
13149
13150 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
13151 PyObject *resultobj;
13152 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13153 wxMDIChildFrame *result;
13154 PyObject * obj0 = 0 ;
13155 char *kwnames[] = {
13156 (char *) "self", NULL
13157 };
13158
13159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
13160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13161 {
13162 PyThreadState* __tstate = wxPyBeginAllowThreads();
13163 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
13164
13165 wxPyEndAllowThreads(__tstate);
13166 if (PyErr_Occurred()) SWIG_fail;
13167 }
13168 {
13169 resultobj = wxPyMake_wxObject(result);
13170 }
13171 return resultobj;
13172 fail:
13173 return NULL;
13174 }
13175
13176
13177 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13178 PyObject *resultobj;
13179 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13180 wxMDIClientWindow *result;
13181 PyObject * obj0 = 0 ;
13182 char *kwnames[] = {
13183 (char *) "self", NULL
13184 };
13185
13186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
13187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13188 {
13189 PyThreadState* __tstate = wxPyBeginAllowThreads();
13190 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
13191
13192 wxPyEndAllowThreads(__tstate);
13193 if (PyErr_Occurred()) SWIG_fail;
13194 }
13195 {
13196 resultobj = wxPyMake_wxObject(result);
13197 }
13198 return resultobj;
13199 fail:
13200 return NULL;
13201 }
13202
13203
13204 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
13205 PyObject *resultobj;
13206 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13207 wxWindow *result;
13208 PyObject * obj0 = 0 ;
13209 char *kwnames[] = {
13210 (char *) "self", NULL
13211 };
13212
13213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
13214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13215 {
13216 PyThreadState* __tstate = wxPyBeginAllowThreads();
13217 result = (wxWindow *)(arg1)->GetToolBar();
13218
13219 wxPyEndAllowThreads(__tstate);
13220 if (PyErr_Occurred()) SWIG_fail;
13221 }
13222 {
13223 resultobj = wxPyMake_wxObject(result);
13224 }
13225 return resultobj;
13226 fail:
13227 return NULL;
13228 }
13229
13230
13231 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
13232 PyObject *resultobj;
13233 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13234 PyObject * obj0 = 0 ;
13235 char *kwnames[] = {
13236 (char *) "self", NULL
13237 };
13238
13239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
13240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13241 {
13242 PyThreadState* __tstate = wxPyBeginAllowThreads();
13243 (arg1)->Tile();
13244
13245 wxPyEndAllowThreads(__tstate);
13246 if (PyErr_Occurred()) SWIG_fail;
13247 }
13248 Py_INCREF(Py_None); resultobj = Py_None;
13249 return resultobj;
13250 fail:
13251 return NULL;
13252 }
13253
13254
13255 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
13256 PyObject *obj;
13257 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13258 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
13259 Py_INCREF(obj);
13260 return Py_BuildValue((char *)"");
13261 }
13262 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13263 PyObject *resultobj;
13264 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13265 int arg2 ;
13266 wxString *arg3 = 0 ;
13267 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13268 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13269 wxSize const &arg5_defvalue = wxDefaultSize ;
13270 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13271 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
13272 wxString const &arg7_defvalue = wxPyFrameNameStr ;
13273 wxString *arg7 = (wxString *) &arg7_defvalue ;
13274 wxMDIChildFrame *result;
13275 bool temp3 = False ;
13276 wxPoint temp4 ;
13277 wxSize temp5 ;
13278 bool temp7 = False ;
13279 PyObject * obj0 = 0 ;
13280 PyObject * obj2 = 0 ;
13281 PyObject * obj3 = 0 ;
13282 PyObject * obj4 = 0 ;
13283 PyObject * obj6 = 0 ;
13284 char *kwnames[] = {
13285 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13286 };
13287
13288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIChildFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
13289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13290 {
13291 arg3 = wxString_in_helper(obj2);
13292 if (arg3 == NULL) SWIG_fail;
13293 temp3 = True;
13294 }
13295 if (obj3) {
13296 {
13297 arg4 = &temp4;
13298 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13299 }
13300 }
13301 if (obj4) {
13302 {
13303 arg5 = &temp5;
13304 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13305 }
13306 }
13307 if (obj6) {
13308 {
13309 arg7 = wxString_in_helper(obj6);
13310 if (arg7 == NULL) SWIG_fail;
13311 temp7 = True;
13312 }
13313 }
13314 {
13315 PyThreadState* __tstate = wxPyBeginAllowThreads();
13316 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13317
13318 wxPyEndAllowThreads(__tstate);
13319 if (PyErr_Occurred()) SWIG_fail;
13320 }
13321 {
13322 resultobj = wxPyMake_wxObject(result);
13323 }
13324 {
13325 if (temp3)
13326 delete arg3;
13327 }
13328 {
13329 if (temp7)
13330 delete arg7;
13331 }
13332 return resultobj;
13333 fail:
13334 {
13335 if (temp3)
13336 delete arg3;
13337 }
13338 {
13339 if (temp7)
13340 delete arg7;
13341 }
13342 return NULL;
13343 }
13344
13345
13346 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13347 PyObject *resultobj;
13348 wxMDIChildFrame *result;
13349 char *kwnames[] = {
13350 NULL
13351 };
13352
13353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
13354 {
13355 PyThreadState* __tstate = wxPyBeginAllowThreads();
13356 result = (wxMDIChildFrame *)new wxMDIChildFrame();
13357
13358 wxPyEndAllowThreads(__tstate);
13359 if (PyErr_Occurred()) SWIG_fail;
13360 }
13361 {
13362 resultobj = wxPyMake_wxObject(result);
13363 }
13364 return resultobj;
13365 fail:
13366 return NULL;
13367 }
13368
13369
13370 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13371 PyObject *resultobj;
13372 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13373 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13374 int arg3 ;
13375 wxString *arg4 = 0 ;
13376 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13377 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13378 wxSize const &arg6_defvalue = wxDefaultSize ;
13379 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13380 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
13381 wxString const &arg8_defvalue = wxPyFrameNameStr ;
13382 wxString *arg8 = (wxString *) &arg8_defvalue ;
13383 bool result;
13384 bool temp4 = False ;
13385 wxPoint temp5 ;
13386 wxSize temp6 ;
13387 bool temp8 = False ;
13388 PyObject * obj0 = 0 ;
13389 PyObject * obj1 = 0 ;
13390 PyObject * obj3 = 0 ;
13391 PyObject * obj4 = 0 ;
13392 PyObject * obj5 = 0 ;
13393 PyObject * obj7 = 0 ;
13394 char *kwnames[] = {
13395 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13396 };
13397
13398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
13399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13400 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13401 {
13402 arg4 = wxString_in_helper(obj3);
13403 if (arg4 == NULL) SWIG_fail;
13404 temp4 = True;
13405 }
13406 if (obj4) {
13407 {
13408 arg5 = &temp5;
13409 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13410 }
13411 }
13412 if (obj5) {
13413 {
13414 arg6 = &temp6;
13415 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13416 }
13417 }
13418 if (obj7) {
13419 {
13420 arg8 = wxString_in_helper(obj7);
13421 if (arg8 == NULL) SWIG_fail;
13422 temp8 = True;
13423 }
13424 }
13425 {
13426 PyThreadState* __tstate = wxPyBeginAllowThreads();
13427 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
13428
13429 wxPyEndAllowThreads(__tstate);
13430 if (PyErr_Occurred()) SWIG_fail;
13431 }
13432 resultobj = PyInt_FromLong((long)result);
13433 {
13434 if (temp4)
13435 delete arg4;
13436 }
13437 {
13438 if (temp8)
13439 delete arg8;
13440 }
13441 return resultobj;
13442 fail:
13443 {
13444 if (temp4)
13445 delete arg4;
13446 }
13447 {
13448 if (temp8)
13449 delete arg8;
13450 }
13451 return NULL;
13452 }
13453
13454
13455 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
13456 PyObject *resultobj;
13457 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13458 PyObject * obj0 = 0 ;
13459 char *kwnames[] = {
13460 (char *) "self", NULL
13461 };
13462
13463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
13464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13465 {
13466 PyThreadState* __tstate = wxPyBeginAllowThreads();
13467 (arg1)->Activate();
13468
13469 wxPyEndAllowThreads(__tstate);
13470 if (PyErr_Occurred()) SWIG_fail;
13471 }
13472 Py_INCREF(Py_None); resultobj = Py_None;
13473 return resultobj;
13474 fail:
13475 return NULL;
13476 }
13477
13478
13479 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
13480 PyObject *resultobj;
13481 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13482 bool arg2 ;
13483 PyObject * obj0 = 0 ;
13484 PyObject * obj1 = 0 ;
13485 char *kwnames[] = {
13486 (char *) "self",(char *) "maximize", NULL
13487 };
13488
13489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
13490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13491 arg2 = PyInt_AsLong(obj1) ? true : false;
13492 if (PyErr_Occurred()) SWIG_fail;
13493 {
13494 PyThreadState* __tstate = wxPyBeginAllowThreads();
13495 (arg1)->Maximize(arg2);
13496
13497 wxPyEndAllowThreads(__tstate);
13498 if (PyErr_Occurred()) SWIG_fail;
13499 }
13500 Py_INCREF(Py_None); resultobj = Py_None;
13501 return resultobj;
13502 fail:
13503 return NULL;
13504 }
13505
13506
13507 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
13508 PyObject *resultobj;
13509 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13510 PyObject * obj0 = 0 ;
13511 char *kwnames[] = {
13512 (char *) "self", NULL
13513 };
13514
13515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
13516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13517 {
13518 PyThreadState* __tstate = wxPyBeginAllowThreads();
13519 (arg1)->Restore();
13520
13521 wxPyEndAllowThreads(__tstate);
13522 if (PyErr_Occurred()) SWIG_fail;
13523 }
13524 Py_INCREF(Py_None); resultobj = Py_None;
13525 return resultobj;
13526 fail:
13527 return NULL;
13528 }
13529
13530
13531 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
13532 PyObject *obj;
13533 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13534 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
13535 Py_INCREF(obj);
13536 return Py_BuildValue((char *)"");
13537 }
13538 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13539 PyObject *resultobj;
13540 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13541 long arg2 = (long) 0 ;
13542 wxMDIClientWindow *result;
13543 PyObject * obj0 = 0 ;
13544 char *kwnames[] = {
13545 (char *) "parent",(char *) "style", NULL
13546 };
13547
13548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:new_MDIClientWindow",kwnames,&obj0,&arg2)) goto fail;
13549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13550 {
13551 PyThreadState* __tstate = wxPyBeginAllowThreads();
13552 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
13553
13554 wxPyEndAllowThreads(__tstate);
13555 if (PyErr_Occurred()) SWIG_fail;
13556 }
13557 {
13558 resultobj = wxPyMake_wxObject(result);
13559 }
13560 return resultobj;
13561 fail:
13562 return NULL;
13563 }
13564
13565
13566 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13567 PyObject *resultobj;
13568 wxMDIClientWindow *result;
13569 char *kwnames[] = {
13570 NULL
13571 };
13572
13573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
13574 {
13575 PyThreadState* __tstate = wxPyBeginAllowThreads();
13576 result = (wxMDIClientWindow *)new wxMDIClientWindow();
13577
13578 wxPyEndAllowThreads(__tstate);
13579 if (PyErr_Occurred()) SWIG_fail;
13580 }
13581 {
13582 resultobj = wxPyMake_wxObject(result);
13583 }
13584 return resultobj;
13585 fail:
13586 return NULL;
13587 }
13588
13589
13590 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13591 PyObject *resultobj;
13592 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
13593 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13594 long arg3 = (long) 0 ;
13595 bool result;
13596 PyObject * obj0 = 0 ;
13597 PyObject * obj1 = 0 ;
13598 char *kwnames[] = {
13599 (char *) "self",(char *) "parent",(char *) "style", NULL
13600 };
13601
13602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:MDIClientWindow_Create",kwnames,&obj0,&obj1,&arg3)) goto fail;
13603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIClientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13604 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13605 {
13606 PyThreadState* __tstate = wxPyBeginAllowThreads();
13607 result = (bool)(arg1)->Create(arg2,arg3);
13608
13609 wxPyEndAllowThreads(__tstate);
13610 if (PyErr_Occurred()) SWIG_fail;
13611 }
13612 resultobj = PyInt_FromLong((long)result);
13613 return resultobj;
13614 fail:
13615 return NULL;
13616 }
13617
13618
13619 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
13620 PyObject *obj;
13621 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13622 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
13623 Py_INCREF(obj);
13624 return Py_BuildValue((char *)"");
13625 }
13626 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13627 PyObject *resultobj;
13628 wxWindow *arg1 = (wxWindow *) 0 ;
13629 int arg2 ;
13630 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13631 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13632 wxSize const &arg4_defvalue = wxDefaultSize ;
13633 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13634 long arg5 = (long) 0 ;
13635 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13636 wxString *arg6 = (wxString *) &arg6_defvalue ;
13637 wxPyWindow *result;
13638 wxPoint temp3 ;
13639 wxSize temp4 ;
13640 bool temp6 = False ;
13641 PyObject * obj0 = 0 ;
13642 PyObject * obj2 = 0 ;
13643 PyObject * obj3 = 0 ;
13644 PyObject * obj5 = 0 ;
13645 char *kwnames[] = {
13646 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13647 };
13648
13649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
13650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13651 if (obj2) {
13652 {
13653 arg3 = &temp3;
13654 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13655 }
13656 }
13657 if (obj3) {
13658 {
13659 arg4 = &temp4;
13660 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13661 }
13662 }
13663 if (obj5) {
13664 {
13665 arg6 = wxString_in_helper(obj5);
13666 if (arg6 == NULL) SWIG_fail;
13667 temp6 = True;
13668 }
13669 }
13670 {
13671 PyThreadState* __tstate = wxPyBeginAllowThreads();
13672 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13673
13674 wxPyEndAllowThreads(__tstate);
13675 if (PyErr_Occurred()) SWIG_fail;
13676 }
13677 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyWindow, 1);
13678 {
13679 if (temp6)
13680 delete arg6;
13681 }
13682 return resultobj;
13683 fail:
13684 {
13685 if (temp6)
13686 delete arg6;
13687 }
13688 return NULL;
13689 }
13690
13691
13692 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
13693 PyObject *resultobj;
13694 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13695 PyObject *arg2 = (PyObject *) 0 ;
13696 PyObject *arg3 = (PyObject *) 0 ;
13697 PyObject * obj0 = 0 ;
13698 PyObject * obj1 = 0 ;
13699 PyObject * obj2 = 0 ;
13700 char *kwnames[] = {
13701 (char *) "self",(char *) "self",(char *) "_class", NULL
13702 };
13703
13704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
13705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13706 arg2 = obj1;
13707 arg3 = obj2;
13708 {
13709 PyThreadState* __tstate = wxPyBeginAllowThreads();
13710 (arg1)->_setCallbackInfo(arg2,arg3);
13711
13712 wxPyEndAllowThreads(__tstate);
13713 if (PyErr_Occurred()) SWIG_fail;
13714 }
13715 Py_INCREF(Py_None); resultobj = Py_None;
13716 return resultobj;
13717 fail:
13718 return NULL;
13719 }
13720
13721
13722 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13723 PyObject *resultobj;
13724 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13725 int arg2 ;
13726 int arg3 ;
13727 int arg4 ;
13728 int arg5 ;
13729 PyObject * obj0 = 0 ;
13730 char *kwnames[] = {
13731 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13732 };
13733
13734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyWindow_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13736 {
13737 PyThreadState* __tstate = wxPyBeginAllowThreads();
13738 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
13739
13740 wxPyEndAllowThreads(__tstate);
13741 if (PyErr_Occurred()) SWIG_fail;
13742 }
13743 Py_INCREF(Py_None); resultobj = Py_None;
13744 return resultobj;
13745 fail:
13746 return NULL;
13747 }
13748
13749
13750 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13751 PyObject *resultobj;
13752 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13753 int arg2 ;
13754 int arg3 ;
13755 int arg4 ;
13756 int arg5 ;
13757 int arg6 = (int) wxSIZE_AUTO ;
13758 PyObject * obj0 = 0 ;
13759 char *kwnames[] = {
13760 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
13761 };
13762
13763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyWindow_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
13764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13765 {
13766 PyThreadState* __tstate = wxPyBeginAllowThreads();
13767 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
13768
13769 wxPyEndAllowThreads(__tstate);
13770 if (PyErr_Occurred()) SWIG_fail;
13771 }
13772 Py_INCREF(Py_None); resultobj = Py_None;
13773 return resultobj;
13774 fail:
13775 return NULL;
13776 }
13777
13778
13779 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13780 PyObject *resultobj;
13781 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13782 int arg2 ;
13783 int arg3 ;
13784 PyObject * obj0 = 0 ;
13785 char *kwnames[] = {
13786 (char *) "self",(char *) "width",(char *) "height", NULL
13787 };
13788
13789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13791 {
13792 PyThreadState* __tstate = wxPyBeginAllowThreads();
13793 (arg1)->base_DoSetClientSize(arg2,arg3);
13794
13795 wxPyEndAllowThreads(__tstate);
13796 if (PyErr_Occurred()) SWIG_fail;
13797 }
13798 Py_INCREF(Py_None); resultobj = Py_None;
13799 return resultobj;
13800 fail:
13801 return NULL;
13802 }
13803
13804
13805 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13806 PyObject *resultobj;
13807 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13808 int arg2 ;
13809 int arg3 ;
13810 PyObject * obj0 = 0 ;
13811 char *kwnames[] = {
13812 (char *) "self",(char *) "x",(char *) "y", NULL
13813 };
13814
13815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13817 {
13818 PyThreadState* __tstate = wxPyBeginAllowThreads();
13819 (arg1)->base_DoSetVirtualSize(arg2,arg3);
13820
13821 wxPyEndAllowThreads(__tstate);
13822 if (PyErr_Occurred()) SWIG_fail;
13823 }
13824 Py_INCREF(Py_None); resultobj = Py_None;
13825 return resultobj;
13826 fail:
13827 return NULL;
13828 }
13829
13830
13831 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13832 PyObject *resultobj;
13833 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13834 int *arg2 = (int *) 0 ;
13835 int *arg3 = (int *) 0 ;
13836 int temp2 ;
13837 int temp3 ;
13838 PyObject * obj0 = 0 ;
13839 char *kwnames[] = {
13840 (char *) "self", NULL
13841 };
13842
13843 arg2 = &temp2;
13844 arg3 = &temp3;
13845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
13846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13847 {
13848 PyThreadState* __tstate = wxPyBeginAllowThreads();
13849 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
13850
13851 wxPyEndAllowThreads(__tstate);
13852 if (PyErr_Occurred()) SWIG_fail;
13853 }
13854 Py_INCREF(Py_None); resultobj = Py_None;
13855 {
13856 PyObject *o = PyInt_FromLong((long) (*arg2));
13857 resultobj = t_output_helper(resultobj,o);
13858 }
13859 {
13860 PyObject *o = PyInt_FromLong((long) (*arg3));
13861 resultobj = t_output_helper(resultobj,o);
13862 }
13863 return resultobj;
13864 fail:
13865 return NULL;
13866 }
13867
13868
13869 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13870 PyObject *resultobj;
13871 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13872 int *arg2 = (int *) 0 ;
13873 int *arg3 = (int *) 0 ;
13874 int temp2 ;
13875 int temp3 ;
13876 PyObject * obj0 = 0 ;
13877 char *kwnames[] = {
13878 (char *) "self", NULL
13879 };
13880
13881 arg2 = &temp2;
13882 arg3 = &temp3;
13883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
13884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13885 {
13886 PyThreadState* __tstate = wxPyBeginAllowThreads();
13887 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
13888
13889 wxPyEndAllowThreads(__tstate);
13890 if (PyErr_Occurred()) SWIG_fail;
13891 }
13892 Py_INCREF(Py_None); resultobj = Py_None;
13893 {
13894 PyObject *o = PyInt_FromLong((long) (*arg2));
13895 resultobj = t_output_helper(resultobj,o);
13896 }
13897 {
13898 PyObject *o = PyInt_FromLong((long) (*arg3));
13899 resultobj = t_output_helper(resultobj,o);
13900 }
13901 return resultobj;
13902 fail:
13903 return NULL;
13904 }
13905
13906
13907 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13908 PyObject *resultobj;
13909 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13910 int *arg2 = (int *) 0 ;
13911 int *arg3 = (int *) 0 ;
13912 int temp2 ;
13913 int temp3 ;
13914 PyObject * obj0 = 0 ;
13915 char *kwnames[] = {
13916 (char *) "self", NULL
13917 };
13918
13919 arg2 = &temp2;
13920 arg3 = &temp3;
13921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
13922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13923 {
13924 PyThreadState* __tstate = wxPyBeginAllowThreads();
13925 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
13926
13927 wxPyEndAllowThreads(__tstate);
13928 if (PyErr_Occurred()) SWIG_fail;
13929 }
13930 Py_INCREF(Py_None); resultobj = Py_None;
13931 {
13932 PyObject *o = PyInt_FromLong((long) (*arg2));
13933 resultobj = t_output_helper(resultobj,o);
13934 }
13935 {
13936 PyObject *o = PyInt_FromLong((long) (*arg3));
13937 resultobj = t_output_helper(resultobj,o);
13938 }
13939 return resultobj;
13940 fail:
13941 return NULL;
13942 }
13943
13944
13945 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13946 PyObject *resultobj;
13947 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13948 wxSize result;
13949 PyObject * obj0 = 0 ;
13950 char *kwnames[] = {
13951 (char *) "self", NULL
13952 };
13953
13954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
13955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13956 {
13957 PyThreadState* __tstate = wxPyBeginAllowThreads();
13958 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
13959
13960 wxPyEndAllowThreads(__tstate);
13961 if (PyErr_Occurred()) SWIG_fail;
13962 }
13963 {
13964 wxSize * resultptr;
13965 resultptr = new wxSize((wxSize &) result);
13966 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13967 }
13968 return resultobj;
13969 fail:
13970 return NULL;
13971 }
13972
13973
13974 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13975 PyObject *resultobj;
13976 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13977 wxSize result;
13978 PyObject * obj0 = 0 ;
13979 char *kwnames[] = {
13980 (char *) "self", NULL
13981 };
13982
13983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
13984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13985 {
13986 PyThreadState* __tstate = wxPyBeginAllowThreads();
13987 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
13988
13989 wxPyEndAllowThreads(__tstate);
13990 if (PyErr_Occurred()) SWIG_fail;
13991 }
13992 {
13993 wxSize * resultptr;
13994 resultptr = new wxSize((wxSize &) result);
13995 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13996 }
13997 return resultobj;
13998 fail:
13999 return NULL;
14000 }
14001
14002
14003 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14004 PyObject *resultobj;
14005 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14006 PyObject * obj0 = 0 ;
14007 char *kwnames[] = {
14008 (char *) "self", NULL
14009 };
14010
14011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
14012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14013 {
14014 PyThreadState* __tstate = wxPyBeginAllowThreads();
14015 (arg1)->base_InitDialog();
14016
14017 wxPyEndAllowThreads(__tstate);
14018 if (PyErr_Occurred()) SWIG_fail;
14019 }
14020 Py_INCREF(Py_None); resultobj = Py_None;
14021 return resultobj;
14022 fail:
14023 return NULL;
14024 }
14025
14026
14027 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14028 PyObject *resultobj;
14029 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14030 bool result;
14031 PyObject * obj0 = 0 ;
14032 char *kwnames[] = {
14033 (char *) "self", NULL
14034 };
14035
14036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
14037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14038 {
14039 PyThreadState* __tstate = wxPyBeginAllowThreads();
14040 result = (bool)(arg1)->base_TransferDataToWindow();
14041
14042 wxPyEndAllowThreads(__tstate);
14043 if (PyErr_Occurred()) SWIG_fail;
14044 }
14045 resultobj = PyInt_FromLong((long)result);
14046 return resultobj;
14047 fail:
14048 return NULL;
14049 }
14050
14051
14052 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14053 PyObject *resultobj;
14054 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14055 bool result;
14056 PyObject * obj0 = 0 ;
14057 char *kwnames[] = {
14058 (char *) "self", NULL
14059 };
14060
14061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
14062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14063 {
14064 PyThreadState* __tstate = wxPyBeginAllowThreads();
14065 result = (bool)(arg1)->base_TransferDataFromWindow();
14066
14067 wxPyEndAllowThreads(__tstate);
14068 if (PyErr_Occurred()) SWIG_fail;
14069 }
14070 resultobj = PyInt_FromLong((long)result);
14071 return resultobj;
14072 fail:
14073 return NULL;
14074 }
14075
14076
14077 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
14078 PyObject *resultobj;
14079 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14080 bool result;
14081 PyObject * obj0 = 0 ;
14082 char *kwnames[] = {
14083 (char *) "self", NULL
14084 };
14085
14086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
14087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14088 {
14089 PyThreadState* __tstate = wxPyBeginAllowThreads();
14090 result = (bool)(arg1)->base_Validate();
14091
14092 wxPyEndAllowThreads(__tstate);
14093 if (PyErr_Occurred()) SWIG_fail;
14094 }
14095 resultobj = PyInt_FromLong((long)result);
14096 return resultobj;
14097 fail:
14098 return NULL;
14099 }
14100
14101
14102 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
14103 PyObject *resultobj;
14104 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14105 bool result;
14106 PyObject * obj0 = 0 ;
14107 char *kwnames[] = {
14108 (char *) "self", NULL
14109 };
14110
14111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
14112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14113 {
14114 PyThreadState* __tstate = wxPyBeginAllowThreads();
14115 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
14116
14117 wxPyEndAllowThreads(__tstate);
14118 if (PyErr_Occurred()) SWIG_fail;
14119 }
14120 resultobj = PyInt_FromLong((long)result);
14121 return resultobj;
14122 fail:
14123 return NULL;
14124 }
14125
14126
14127 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
14128 PyObject *resultobj;
14129 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14130 bool result;
14131 PyObject * obj0 = 0 ;
14132 char *kwnames[] = {
14133 (char *) "self", NULL
14134 };
14135
14136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
14137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14138 {
14139 PyThreadState* __tstate = wxPyBeginAllowThreads();
14140 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
14141
14142 wxPyEndAllowThreads(__tstate);
14143 if (PyErr_Occurred()) SWIG_fail;
14144 }
14145 resultobj = PyInt_FromLong((long)result);
14146 return resultobj;
14147 fail:
14148 return NULL;
14149 }
14150
14151
14152 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14153 PyObject *resultobj;
14154 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14155 wxSize result;
14156 PyObject * obj0 = 0 ;
14157 char *kwnames[] = {
14158 (char *) "self", NULL
14159 };
14160
14161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
14162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14163 {
14164 PyThreadState* __tstate = wxPyBeginAllowThreads();
14165 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
14166
14167 wxPyEndAllowThreads(__tstate);
14168 if (PyErr_Occurred()) SWIG_fail;
14169 }
14170 {
14171 wxSize * resultptr;
14172 resultptr = new wxSize((wxSize &) result);
14173 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14174 }
14175 return resultobj;
14176 fail:
14177 return NULL;
14178 }
14179
14180
14181 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14182 PyObject *resultobj;
14183 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14184 wxWindow *arg2 = (wxWindow *) 0 ;
14185 PyObject * obj0 = 0 ;
14186 PyObject * obj1 = 0 ;
14187 char *kwnames[] = {
14188 (char *) "self",(char *) "child", NULL
14189 };
14190
14191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
14192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14193 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14194 {
14195 PyThreadState* __tstate = wxPyBeginAllowThreads();
14196 (arg1)->base_AddChild(arg2);
14197
14198 wxPyEndAllowThreads(__tstate);
14199 if (PyErr_Occurred()) SWIG_fail;
14200 }
14201 Py_INCREF(Py_None); resultobj = Py_None;
14202 return resultobj;
14203 fail:
14204 return NULL;
14205 }
14206
14207
14208 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14209 PyObject *resultobj;
14210 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14211 wxWindow *arg2 = (wxWindow *) 0 ;
14212 PyObject * obj0 = 0 ;
14213 PyObject * obj1 = 0 ;
14214 char *kwnames[] = {
14215 (char *) "self",(char *) "child", NULL
14216 };
14217
14218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
14219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14220 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14221 {
14222 PyThreadState* __tstate = wxPyBeginAllowThreads();
14223 (arg1)->base_RemoveChild(arg2);
14224
14225 wxPyEndAllowThreads(__tstate);
14226 if (PyErr_Occurred()) SWIG_fail;
14227 }
14228 Py_INCREF(Py_None); resultobj = Py_None;
14229 return resultobj;
14230 fail:
14231 return NULL;
14232 }
14233
14234
14235 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
14236 PyObject *obj;
14237 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14238 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
14239 Py_INCREF(obj);
14240 return Py_BuildValue((char *)"");
14241 }
14242 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
14243 PyObject *resultobj;
14244 wxWindow *arg1 = (wxWindow *) 0 ;
14245 int arg2 ;
14246 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14247 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14248 wxSize const &arg4_defvalue = wxDefaultSize ;
14249 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14250 long arg5 = (long) 0 ;
14251 wxString const &arg6_defvalue = wxPyPanelNameStr ;
14252 wxString *arg6 = (wxString *) &arg6_defvalue ;
14253 wxPyPanel *result;
14254 wxPoint temp3 ;
14255 wxSize temp4 ;
14256 bool temp6 = False ;
14257 PyObject * obj0 = 0 ;
14258 PyObject * obj2 = 0 ;
14259 PyObject * obj3 = 0 ;
14260 PyObject * obj5 = 0 ;
14261 char *kwnames[] = {
14262 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14263 };
14264
14265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyPanel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
14266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14267 if (obj2) {
14268 {
14269 arg3 = &temp3;
14270 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14271 }
14272 }
14273 if (obj3) {
14274 {
14275 arg4 = &temp4;
14276 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14277 }
14278 }
14279 if (obj5) {
14280 {
14281 arg6 = wxString_in_helper(obj5);
14282 if (arg6 == NULL) SWIG_fail;
14283 temp6 = True;
14284 }
14285 }
14286 {
14287 PyThreadState* __tstate = wxPyBeginAllowThreads();
14288 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14289
14290 wxPyEndAllowThreads(__tstate);
14291 if (PyErr_Occurred()) SWIG_fail;
14292 }
14293 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPanel, 1);
14294 {
14295 if (temp6)
14296 delete arg6;
14297 }
14298 return resultobj;
14299 fail:
14300 {
14301 if (temp6)
14302 delete arg6;
14303 }
14304 return NULL;
14305 }
14306
14307
14308 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14309 PyObject *resultobj;
14310 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14311 PyObject *arg2 = (PyObject *) 0 ;
14312 PyObject *arg3 = (PyObject *) 0 ;
14313 PyObject * obj0 = 0 ;
14314 PyObject * obj1 = 0 ;
14315 PyObject * obj2 = 0 ;
14316 char *kwnames[] = {
14317 (char *) "self",(char *) "self",(char *) "_class", NULL
14318 };
14319
14320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14322 arg2 = obj1;
14323 arg3 = obj2;
14324 {
14325 PyThreadState* __tstate = wxPyBeginAllowThreads();
14326 (arg1)->_setCallbackInfo(arg2,arg3);
14327
14328 wxPyEndAllowThreads(__tstate);
14329 if (PyErr_Occurred()) SWIG_fail;
14330 }
14331 Py_INCREF(Py_None); resultobj = Py_None;
14332 return resultobj;
14333 fail:
14334 return NULL;
14335 }
14336
14337
14338 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14339 PyObject *resultobj;
14340 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14341 int arg2 ;
14342 int arg3 ;
14343 int arg4 ;
14344 int arg5 ;
14345 PyObject * obj0 = 0 ;
14346 char *kwnames[] = {
14347 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14348 };
14349
14350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyPanel_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14352 {
14353 PyThreadState* __tstate = wxPyBeginAllowThreads();
14354 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
14355
14356 wxPyEndAllowThreads(__tstate);
14357 if (PyErr_Occurred()) SWIG_fail;
14358 }
14359 Py_INCREF(Py_None); resultobj = Py_None;
14360 return resultobj;
14361 fail:
14362 return NULL;
14363 }
14364
14365
14366 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14367 PyObject *resultobj;
14368 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14369 int arg2 ;
14370 int arg3 ;
14371 int arg4 ;
14372 int arg5 ;
14373 int arg6 = (int) wxSIZE_AUTO ;
14374 PyObject * obj0 = 0 ;
14375 char *kwnames[] = {
14376 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14377 };
14378
14379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyPanel_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
14380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14381 {
14382 PyThreadState* __tstate = wxPyBeginAllowThreads();
14383 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
14384
14385 wxPyEndAllowThreads(__tstate);
14386 if (PyErr_Occurred()) SWIG_fail;
14387 }
14388 Py_INCREF(Py_None); resultobj = Py_None;
14389 return resultobj;
14390 fail:
14391 return NULL;
14392 }
14393
14394
14395 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14396 PyObject *resultobj;
14397 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14398 int arg2 ;
14399 int arg3 ;
14400 PyObject * obj0 = 0 ;
14401 char *kwnames[] = {
14402 (char *) "self",(char *) "width",(char *) "height", NULL
14403 };
14404
14405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14407 {
14408 PyThreadState* __tstate = wxPyBeginAllowThreads();
14409 (arg1)->base_DoSetClientSize(arg2,arg3);
14410
14411 wxPyEndAllowThreads(__tstate);
14412 if (PyErr_Occurred()) SWIG_fail;
14413 }
14414 Py_INCREF(Py_None); resultobj = Py_None;
14415 return resultobj;
14416 fail:
14417 return NULL;
14418 }
14419
14420
14421 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14422 PyObject *resultobj;
14423 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14424 int arg2 ;
14425 int arg3 ;
14426 PyObject * obj0 = 0 ;
14427 char *kwnames[] = {
14428 (char *) "self",(char *) "x",(char *) "y", NULL
14429 };
14430
14431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14433 {
14434 PyThreadState* __tstate = wxPyBeginAllowThreads();
14435 (arg1)->base_DoSetVirtualSize(arg2,arg3);
14436
14437 wxPyEndAllowThreads(__tstate);
14438 if (PyErr_Occurred()) SWIG_fail;
14439 }
14440 Py_INCREF(Py_None); resultobj = Py_None;
14441 return resultobj;
14442 fail:
14443 return NULL;
14444 }
14445
14446
14447 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14448 PyObject *resultobj;
14449 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14450 int *arg2 = (int *) 0 ;
14451 int *arg3 = (int *) 0 ;
14452 int temp2 ;
14453 int temp3 ;
14454 PyObject * obj0 = 0 ;
14455 char *kwnames[] = {
14456 (char *) "self", NULL
14457 };
14458
14459 arg2 = &temp2;
14460 arg3 = &temp3;
14461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
14462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14463 {
14464 PyThreadState* __tstate = wxPyBeginAllowThreads();
14465 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
14466
14467 wxPyEndAllowThreads(__tstate);
14468 if (PyErr_Occurred()) SWIG_fail;
14469 }
14470 Py_INCREF(Py_None); resultobj = Py_None;
14471 {
14472 PyObject *o = PyInt_FromLong((long) (*arg2));
14473 resultobj = t_output_helper(resultobj,o);
14474 }
14475 {
14476 PyObject *o = PyInt_FromLong((long) (*arg3));
14477 resultobj = t_output_helper(resultobj,o);
14478 }
14479 return resultobj;
14480 fail:
14481 return NULL;
14482 }
14483
14484
14485 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14486 PyObject *resultobj;
14487 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14488 int *arg2 = (int *) 0 ;
14489 int *arg3 = (int *) 0 ;
14490 int temp2 ;
14491 int temp3 ;
14492 PyObject * obj0 = 0 ;
14493 char *kwnames[] = {
14494 (char *) "self", NULL
14495 };
14496
14497 arg2 = &temp2;
14498 arg3 = &temp3;
14499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
14500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14501 {
14502 PyThreadState* __tstate = wxPyBeginAllowThreads();
14503 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
14504
14505 wxPyEndAllowThreads(__tstate);
14506 if (PyErr_Occurred()) SWIG_fail;
14507 }
14508 Py_INCREF(Py_None); resultobj = Py_None;
14509 {
14510 PyObject *o = PyInt_FromLong((long) (*arg2));
14511 resultobj = t_output_helper(resultobj,o);
14512 }
14513 {
14514 PyObject *o = PyInt_FromLong((long) (*arg3));
14515 resultobj = t_output_helper(resultobj,o);
14516 }
14517 return resultobj;
14518 fail:
14519 return NULL;
14520 }
14521
14522
14523 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14524 PyObject *resultobj;
14525 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14526 int *arg2 = (int *) 0 ;
14527 int *arg3 = (int *) 0 ;
14528 int temp2 ;
14529 int temp3 ;
14530 PyObject * obj0 = 0 ;
14531 char *kwnames[] = {
14532 (char *) "self", NULL
14533 };
14534
14535 arg2 = &temp2;
14536 arg3 = &temp3;
14537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
14538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14539 {
14540 PyThreadState* __tstate = wxPyBeginAllowThreads();
14541 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
14542
14543 wxPyEndAllowThreads(__tstate);
14544 if (PyErr_Occurred()) SWIG_fail;
14545 }
14546 Py_INCREF(Py_None); resultobj = Py_None;
14547 {
14548 PyObject *o = PyInt_FromLong((long) (*arg2));
14549 resultobj = t_output_helper(resultobj,o);
14550 }
14551 {
14552 PyObject *o = PyInt_FromLong((long) (*arg3));
14553 resultobj = t_output_helper(resultobj,o);
14554 }
14555 return resultobj;
14556 fail:
14557 return NULL;
14558 }
14559
14560
14561 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14562 PyObject *resultobj;
14563 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14564 wxSize result;
14565 PyObject * obj0 = 0 ;
14566 char *kwnames[] = {
14567 (char *) "self", NULL
14568 };
14569
14570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
14571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14572 {
14573 PyThreadState* __tstate = wxPyBeginAllowThreads();
14574 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
14575
14576 wxPyEndAllowThreads(__tstate);
14577 if (PyErr_Occurred()) SWIG_fail;
14578 }
14579 {
14580 wxSize * resultptr;
14581 resultptr = new wxSize((wxSize &) result);
14582 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14583 }
14584 return resultobj;
14585 fail:
14586 return NULL;
14587 }
14588
14589
14590 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14591 PyObject *resultobj;
14592 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14593 wxSize result;
14594 PyObject * obj0 = 0 ;
14595 char *kwnames[] = {
14596 (char *) "self", NULL
14597 };
14598
14599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
14600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14601 {
14602 PyThreadState* __tstate = wxPyBeginAllowThreads();
14603 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
14604
14605 wxPyEndAllowThreads(__tstate);
14606 if (PyErr_Occurred()) SWIG_fail;
14607 }
14608 {
14609 wxSize * resultptr;
14610 resultptr = new wxSize((wxSize &) result);
14611 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14612 }
14613 return resultobj;
14614 fail:
14615 return NULL;
14616 }
14617
14618
14619 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14620 PyObject *resultobj;
14621 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14622 PyObject * obj0 = 0 ;
14623 char *kwnames[] = {
14624 (char *) "self", NULL
14625 };
14626
14627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
14628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14629 {
14630 PyThreadState* __tstate = wxPyBeginAllowThreads();
14631 (arg1)->base_InitDialog();
14632
14633 wxPyEndAllowThreads(__tstate);
14634 if (PyErr_Occurred()) SWIG_fail;
14635 }
14636 Py_INCREF(Py_None); resultobj = Py_None;
14637 return resultobj;
14638 fail:
14639 return NULL;
14640 }
14641
14642
14643 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14644 PyObject *resultobj;
14645 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14646 bool result;
14647 PyObject * obj0 = 0 ;
14648 char *kwnames[] = {
14649 (char *) "self", NULL
14650 };
14651
14652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
14653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14654 {
14655 PyThreadState* __tstate = wxPyBeginAllowThreads();
14656 result = (bool)(arg1)->base_TransferDataToWindow();
14657
14658 wxPyEndAllowThreads(__tstate);
14659 if (PyErr_Occurred()) SWIG_fail;
14660 }
14661 resultobj = PyInt_FromLong((long)result);
14662 return resultobj;
14663 fail:
14664 return NULL;
14665 }
14666
14667
14668 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14669 PyObject *resultobj;
14670 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14671 bool result;
14672 PyObject * obj0 = 0 ;
14673 char *kwnames[] = {
14674 (char *) "self", NULL
14675 };
14676
14677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
14678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14679 {
14680 PyThreadState* __tstate = wxPyBeginAllowThreads();
14681 result = (bool)(arg1)->base_TransferDataFromWindow();
14682
14683 wxPyEndAllowThreads(__tstate);
14684 if (PyErr_Occurred()) SWIG_fail;
14685 }
14686 resultobj = PyInt_FromLong((long)result);
14687 return resultobj;
14688 fail:
14689 return NULL;
14690 }
14691
14692
14693 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
14694 PyObject *resultobj;
14695 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14696 bool result;
14697 PyObject * obj0 = 0 ;
14698 char *kwnames[] = {
14699 (char *) "self", NULL
14700 };
14701
14702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
14703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14704 {
14705 PyThreadState* __tstate = wxPyBeginAllowThreads();
14706 result = (bool)(arg1)->base_Validate();
14707
14708 wxPyEndAllowThreads(__tstate);
14709 if (PyErr_Occurred()) SWIG_fail;
14710 }
14711 resultobj = PyInt_FromLong((long)result);
14712 return resultobj;
14713 fail:
14714 return NULL;
14715 }
14716
14717
14718 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
14719 PyObject *resultobj;
14720 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14721 bool result;
14722 PyObject * obj0 = 0 ;
14723 char *kwnames[] = {
14724 (char *) "self", NULL
14725 };
14726
14727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
14728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14729 {
14730 PyThreadState* __tstate = wxPyBeginAllowThreads();
14731 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
14732
14733 wxPyEndAllowThreads(__tstate);
14734 if (PyErr_Occurred()) SWIG_fail;
14735 }
14736 resultobj = PyInt_FromLong((long)result);
14737 return resultobj;
14738 fail:
14739 return NULL;
14740 }
14741
14742
14743 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
14744 PyObject *resultobj;
14745 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14746 bool result;
14747 PyObject * obj0 = 0 ;
14748 char *kwnames[] = {
14749 (char *) "self", NULL
14750 };
14751
14752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
14753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14754 {
14755 PyThreadState* __tstate = wxPyBeginAllowThreads();
14756 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
14757
14758 wxPyEndAllowThreads(__tstate);
14759 if (PyErr_Occurred()) SWIG_fail;
14760 }
14761 resultobj = PyInt_FromLong((long)result);
14762 return resultobj;
14763 fail:
14764 return NULL;
14765 }
14766
14767
14768 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14769 PyObject *resultobj;
14770 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14771 wxSize result;
14772 PyObject * obj0 = 0 ;
14773 char *kwnames[] = {
14774 (char *) "self", NULL
14775 };
14776
14777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
14778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14779 {
14780 PyThreadState* __tstate = wxPyBeginAllowThreads();
14781 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
14782
14783 wxPyEndAllowThreads(__tstate);
14784 if (PyErr_Occurred()) SWIG_fail;
14785 }
14786 {
14787 wxSize * resultptr;
14788 resultptr = new wxSize((wxSize &) result);
14789 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14790 }
14791 return resultobj;
14792 fail:
14793 return NULL;
14794 }
14795
14796
14797 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14798 PyObject *resultobj;
14799 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14800 wxWindow *arg2 = (wxWindow *) 0 ;
14801 PyObject * obj0 = 0 ;
14802 PyObject * obj1 = 0 ;
14803 char *kwnames[] = {
14804 (char *) "self",(char *) "child", NULL
14805 };
14806
14807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
14808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14809 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14810 {
14811 PyThreadState* __tstate = wxPyBeginAllowThreads();
14812 (arg1)->base_AddChild(arg2);
14813
14814 wxPyEndAllowThreads(__tstate);
14815 if (PyErr_Occurred()) SWIG_fail;
14816 }
14817 Py_INCREF(Py_None); resultobj = Py_None;
14818 return resultobj;
14819 fail:
14820 return NULL;
14821 }
14822
14823
14824 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14825 PyObject *resultobj;
14826 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14827 wxWindow *arg2 = (wxWindow *) 0 ;
14828 PyObject * obj0 = 0 ;
14829 PyObject * obj1 = 0 ;
14830 char *kwnames[] = {
14831 (char *) "self",(char *) "child", NULL
14832 };
14833
14834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
14835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14836 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14837 {
14838 PyThreadState* __tstate = wxPyBeginAllowThreads();
14839 (arg1)->base_RemoveChild(arg2);
14840
14841 wxPyEndAllowThreads(__tstate);
14842 if (PyErr_Occurred()) SWIG_fail;
14843 }
14844 Py_INCREF(Py_None); resultobj = Py_None;
14845 return resultobj;
14846 fail:
14847 return NULL;
14848 }
14849
14850
14851 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
14852 PyObject *obj;
14853 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14854 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
14855 Py_INCREF(obj);
14856 return Py_BuildValue((char *)"");
14857 }
14858 static int _wrap_PrintoutTitleStr_set(PyObject *_val) {
14859 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
14860 return 1;
14861 }
14862
14863
14864 static PyObject *_wrap_PrintoutTitleStr_get() {
14865 PyObject *pyobj;
14866
14867 {
14868 #if wxUSE_UNICODE
14869 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
14870 #else
14871 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
14872 #endif
14873 }
14874 return pyobj;
14875 }
14876
14877
14878 static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) {
14879 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
14880 return 1;
14881 }
14882
14883
14884 static PyObject *_wrap_PreviewCanvasNameStr_get() {
14885 PyObject *pyobj;
14886
14887 {
14888 #if wxUSE_UNICODE
14889 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
14890 #else
14891 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
14892 #endif
14893 }
14894 return pyobj;
14895 }
14896
14897
14898 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
14899 PyObject *resultobj;
14900 wxPrintData *result;
14901 char *kwnames[] = {
14902 NULL
14903 };
14904
14905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
14906 {
14907 PyThreadState* __tstate = wxPyBeginAllowThreads();
14908 result = (wxPrintData *)new wxPrintData();
14909
14910 wxPyEndAllowThreads(__tstate);
14911 if (PyErr_Occurred()) SWIG_fail;
14912 }
14913 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 1);
14914 return resultobj;
14915 fail:
14916 return NULL;
14917 }
14918
14919
14920 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
14921 PyObject *resultobj;
14922 wxPrintData *arg1 = (wxPrintData *) 0 ;
14923 PyObject * obj0 = 0 ;
14924 char *kwnames[] = {
14925 (char *) "self", NULL
14926 };
14927
14928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
14929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14930 {
14931 PyThreadState* __tstate = wxPyBeginAllowThreads();
14932 delete arg1;
14933
14934 wxPyEndAllowThreads(__tstate);
14935 if (PyErr_Occurred()) SWIG_fail;
14936 }
14937 Py_INCREF(Py_None); resultobj = Py_None;
14938 return resultobj;
14939 fail:
14940 return NULL;
14941 }
14942
14943
14944 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
14945 PyObject *resultobj;
14946 wxPrintData *arg1 = (wxPrintData *) 0 ;
14947 int result;
14948 PyObject * obj0 = 0 ;
14949 char *kwnames[] = {
14950 (char *) "self", NULL
14951 };
14952
14953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
14954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14955 {
14956 PyThreadState* __tstate = wxPyBeginAllowThreads();
14957 result = (int)(arg1)->GetNoCopies();
14958
14959 wxPyEndAllowThreads(__tstate);
14960 if (PyErr_Occurred()) SWIG_fail;
14961 }
14962 resultobj = PyInt_FromLong((long)result);
14963 return resultobj;
14964 fail:
14965 return NULL;
14966 }
14967
14968
14969 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
14970 PyObject *resultobj;
14971 wxPrintData *arg1 = (wxPrintData *) 0 ;
14972 bool result;
14973 PyObject * obj0 = 0 ;
14974 char *kwnames[] = {
14975 (char *) "self", NULL
14976 };
14977
14978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
14979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14980 {
14981 PyThreadState* __tstate = wxPyBeginAllowThreads();
14982 result = (bool)(arg1)->GetCollate();
14983
14984 wxPyEndAllowThreads(__tstate);
14985 if (PyErr_Occurred()) SWIG_fail;
14986 }
14987 resultobj = PyInt_FromLong((long)result);
14988 return resultobj;
14989 fail:
14990 return NULL;
14991 }
14992
14993
14994 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
14995 PyObject *resultobj;
14996 wxPrintData *arg1 = (wxPrintData *) 0 ;
14997 int result;
14998 PyObject * obj0 = 0 ;
14999 char *kwnames[] = {
15000 (char *) "self", NULL
15001 };
15002
15003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
15004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15005 {
15006 PyThreadState* __tstate = wxPyBeginAllowThreads();
15007 result = (int)(arg1)->GetOrientation();
15008
15009 wxPyEndAllowThreads(__tstate);
15010 if (PyErr_Occurred()) SWIG_fail;
15011 }
15012 resultobj = PyInt_FromLong((long)result);
15013 return resultobj;
15014 fail:
15015 return NULL;
15016 }
15017
15018
15019 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
15020 PyObject *resultobj;
15021 wxPrintData *arg1 = (wxPrintData *) 0 ;
15022 bool result;
15023 PyObject * obj0 = 0 ;
15024 char *kwnames[] = {
15025 (char *) "self", NULL
15026 };
15027
15028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
15029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15030 {
15031 PyThreadState* __tstate = wxPyBeginAllowThreads();
15032 result = (bool)(arg1)->Ok();
15033
15034 wxPyEndAllowThreads(__tstate);
15035 if (PyErr_Occurred()) SWIG_fail;
15036 }
15037 resultobj = PyInt_FromLong((long)result);
15038 return resultobj;
15039 fail:
15040 return NULL;
15041 }
15042
15043
15044 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
15045 PyObject *resultobj;
15046 wxPrintData *arg1 = (wxPrintData *) 0 ;
15047 wxString *result;
15048 PyObject * obj0 = 0 ;
15049 char *kwnames[] = {
15050 (char *) "self", NULL
15051 };
15052
15053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
15054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15055 {
15056 PyThreadState* __tstate = wxPyBeginAllowThreads();
15057 {
15058 wxString const &_result_ref = (arg1)->GetPrinterName();
15059 result = (wxString *) &_result_ref;
15060 }
15061
15062 wxPyEndAllowThreads(__tstate);
15063 if (PyErr_Occurred()) SWIG_fail;
15064 }
15065 {
15066 #if wxUSE_UNICODE
15067 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15068 #else
15069 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15070 #endif
15071 }
15072 return resultobj;
15073 fail:
15074 return NULL;
15075 }
15076
15077
15078 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15079 PyObject *resultobj;
15080 wxPrintData *arg1 = (wxPrintData *) 0 ;
15081 bool result;
15082 PyObject * obj0 = 0 ;
15083 char *kwnames[] = {
15084 (char *) "self", NULL
15085 };
15086
15087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
15088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15089 {
15090 PyThreadState* __tstate = wxPyBeginAllowThreads();
15091 result = (bool)(arg1)->GetColour();
15092
15093 wxPyEndAllowThreads(__tstate);
15094 if (PyErr_Occurred()) SWIG_fail;
15095 }
15096 resultobj = PyInt_FromLong((long)result);
15097 return resultobj;
15098 fail:
15099 return NULL;
15100 }
15101
15102
15103 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
15104 PyObject *resultobj;
15105 wxPrintData *arg1 = (wxPrintData *) 0 ;
15106 int result;
15107 PyObject * obj0 = 0 ;
15108 char *kwnames[] = {
15109 (char *) "self", NULL
15110 };
15111
15112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
15113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15114 {
15115 PyThreadState* __tstate = wxPyBeginAllowThreads();
15116 result = (int)(arg1)->GetDuplex();
15117
15118 wxPyEndAllowThreads(__tstate);
15119 if (PyErr_Occurred()) SWIG_fail;
15120 }
15121 resultobj = PyInt_FromLong((long)result);
15122 return resultobj;
15123 fail:
15124 return NULL;
15125 }
15126
15127
15128 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
15129 PyObject *resultobj;
15130 wxPrintData *arg1 = (wxPrintData *) 0 ;
15131 int result;
15132 PyObject * obj0 = 0 ;
15133 char *kwnames[] = {
15134 (char *) "self", NULL
15135 };
15136
15137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
15138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15139 {
15140 PyThreadState* __tstate = wxPyBeginAllowThreads();
15141 result = (int)(arg1)->GetPaperId();
15142
15143 wxPyEndAllowThreads(__tstate);
15144 if (PyErr_Occurred()) SWIG_fail;
15145 }
15146 resultobj = PyInt_FromLong((long)result);
15147 return resultobj;
15148 fail:
15149 return NULL;
15150 }
15151
15152
15153 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15154 PyObject *resultobj;
15155 wxPrintData *arg1 = (wxPrintData *) 0 ;
15156 wxSize *result;
15157 PyObject * obj0 = 0 ;
15158 char *kwnames[] = {
15159 (char *) "self", NULL
15160 };
15161
15162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
15163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15164 {
15165 PyThreadState* __tstate = wxPyBeginAllowThreads();
15166 {
15167 wxSize const &_result_ref = (arg1)->GetPaperSize();
15168 result = (wxSize *) &_result_ref;
15169 }
15170
15171 wxPyEndAllowThreads(__tstate);
15172 if (PyErr_Occurred()) SWIG_fail;
15173 }
15174 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
15175 return resultobj;
15176 fail:
15177 return NULL;
15178 }
15179
15180
15181 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
15182 PyObject *resultobj;
15183 wxPrintData *arg1 = (wxPrintData *) 0 ;
15184 int result;
15185 PyObject * obj0 = 0 ;
15186 char *kwnames[] = {
15187 (char *) "self", NULL
15188 };
15189
15190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
15191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15192 {
15193 PyThreadState* __tstate = wxPyBeginAllowThreads();
15194 result = (int)(arg1)->GetQuality();
15195
15196 wxPyEndAllowThreads(__tstate);
15197 if (PyErr_Occurred()) SWIG_fail;
15198 }
15199 resultobj = PyInt_FromLong((long)result);
15200 return resultobj;
15201 fail:
15202 return NULL;
15203 }
15204
15205
15206 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
15207 PyObject *resultobj;
15208 wxPrintData *arg1 = (wxPrintData *) 0 ;
15209 int arg2 ;
15210 PyObject * obj0 = 0 ;
15211 char *kwnames[] = {
15212 (char *) "self",(char *) "v", NULL
15213 };
15214
15215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
15216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15217 {
15218 PyThreadState* __tstate = wxPyBeginAllowThreads();
15219 (arg1)->SetNoCopies(arg2);
15220
15221 wxPyEndAllowThreads(__tstate);
15222 if (PyErr_Occurred()) SWIG_fail;
15223 }
15224 Py_INCREF(Py_None); resultobj = Py_None;
15225 return resultobj;
15226 fail:
15227 return NULL;
15228 }
15229
15230
15231 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
15232 PyObject *resultobj;
15233 wxPrintData *arg1 = (wxPrintData *) 0 ;
15234 bool arg2 ;
15235 PyObject * obj0 = 0 ;
15236 PyObject * obj1 = 0 ;
15237 char *kwnames[] = {
15238 (char *) "self",(char *) "flag", NULL
15239 };
15240
15241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
15242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15243 arg2 = PyInt_AsLong(obj1) ? true : false;
15244 if (PyErr_Occurred()) SWIG_fail;
15245 {
15246 PyThreadState* __tstate = wxPyBeginAllowThreads();
15247 (arg1)->SetCollate(arg2);
15248
15249 wxPyEndAllowThreads(__tstate);
15250 if (PyErr_Occurred()) SWIG_fail;
15251 }
15252 Py_INCREF(Py_None); resultobj = Py_None;
15253 return resultobj;
15254 fail:
15255 return NULL;
15256 }
15257
15258
15259 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
15260 PyObject *resultobj;
15261 wxPrintData *arg1 = (wxPrintData *) 0 ;
15262 int arg2 ;
15263 PyObject * obj0 = 0 ;
15264 char *kwnames[] = {
15265 (char *) "self",(char *) "orient", NULL
15266 };
15267
15268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
15269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15270 {
15271 PyThreadState* __tstate = wxPyBeginAllowThreads();
15272 (arg1)->SetOrientation(arg2);
15273
15274 wxPyEndAllowThreads(__tstate);
15275 if (PyErr_Occurred()) SWIG_fail;
15276 }
15277 Py_INCREF(Py_None); resultobj = Py_None;
15278 return resultobj;
15279 fail:
15280 return NULL;
15281 }
15282
15283
15284 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
15285 PyObject *resultobj;
15286 wxPrintData *arg1 = (wxPrintData *) 0 ;
15287 wxString *arg2 = 0 ;
15288 bool temp2 = False ;
15289 PyObject * obj0 = 0 ;
15290 PyObject * obj1 = 0 ;
15291 char *kwnames[] = {
15292 (char *) "self",(char *) "name", NULL
15293 };
15294
15295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
15296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15297 {
15298 arg2 = wxString_in_helper(obj1);
15299 if (arg2 == NULL) SWIG_fail;
15300 temp2 = True;
15301 }
15302 {
15303 PyThreadState* __tstate = wxPyBeginAllowThreads();
15304 (arg1)->SetPrinterName((wxString const &)*arg2);
15305
15306 wxPyEndAllowThreads(__tstate);
15307 if (PyErr_Occurred()) SWIG_fail;
15308 }
15309 Py_INCREF(Py_None); resultobj = Py_None;
15310 {
15311 if (temp2)
15312 delete arg2;
15313 }
15314 return resultobj;
15315 fail:
15316 {
15317 if (temp2)
15318 delete arg2;
15319 }
15320 return NULL;
15321 }
15322
15323
15324 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15325 PyObject *resultobj;
15326 wxPrintData *arg1 = (wxPrintData *) 0 ;
15327 bool arg2 ;
15328 PyObject * obj0 = 0 ;
15329 PyObject * obj1 = 0 ;
15330 char *kwnames[] = {
15331 (char *) "self",(char *) "colour", NULL
15332 };
15333
15334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15336 arg2 = PyInt_AsLong(obj1) ? true : false;
15337 if (PyErr_Occurred()) SWIG_fail;
15338 {
15339 PyThreadState* __tstate = wxPyBeginAllowThreads();
15340 (arg1)->SetColour(arg2);
15341
15342 wxPyEndAllowThreads(__tstate);
15343 if (PyErr_Occurred()) SWIG_fail;
15344 }
15345 Py_INCREF(Py_None); resultobj = Py_None;
15346 return resultobj;
15347 fail:
15348 return NULL;
15349 }
15350
15351
15352 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
15353 PyObject *resultobj;
15354 wxPrintData *arg1 = (wxPrintData *) 0 ;
15355 int arg2 ;
15356 PyObject * obj0 = 0 ;
15357 char *kwnames[] = {
15358 (char *) "self",(char *) "duplex", NULL
15359 };
15360
15361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetDuplex",kwnames,&obj0,&arg2)) goto fail;
15362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15363 {
15364 PyThreadState* __tstate = wxPyBeginAllowThreads();
15365 (arg1)->SetDuplex((wxDuplexMode )arg2);
15366
15367 wxPyEndAllowThreads(__tstate);
15368 if (PyErr_Occurred()) SWIG_fail;
15369 }
15370 Py_INCREF(Py_None); resultobj = Py_None;
15371 return resultobj;
15372 fail:
15373 return NULL;
15374 }
15375
15376
15377 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
15378 PyObject *resultobj;
15379 wxPrintData *arg1 = (wxPrintData *) 0 ;
15380 int arg2 ;
15381 PyObject * obj0 = 0 ;
15382 char *kwnames[] = {
15383 (char *) "self",(char *) "sizeId", NULL
15384 };
15385
15386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
15387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15388 {
15389 PyThreadState* __tstate = wxPyBeginAllowThreads();
15390 (arg1)->SetPaperId((wxPaperSize )arg2);
15391
15392 wxPyEndAllowThreads(__tstate);
15393 if (PyErr_Occurred()) SWIG_fail;
15394 }
15395 Py_INCREF(Py_None); resultobj = Py_None;
15396 return resultobj;
15397 fail:
15398 return NULL;
15399 }
15400
15401
15402 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15403 PyObject *resultobj;
15404 wxPrintData *arg1 = (wxPrintData *) 0 ;
15405 wxSize *arg2 = 0 ;
15406 wxSize temp2 ;
15407 PyObject * obj0 = 0 ;
15408 PyObject * obj1 = 0 ;
15409 char *kwnames[] = {
15410 (char *) "self",(char *) "sz", NULL
15411 };
15412
15413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
15414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15415 {
15416 arg2 = &temp2;
15417 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15418 }
15419 {
15420 PyThreadState* __tstate = wxPyBeginAllowThreads();
15421 (arg1)->SetPaperSize((wxSize const &)*arg2);
15422
15423 wxPyEndAllowThreads(__tstate);
15424 if (PyErr_Occurred()) SWIG_fail;
15425 }
15426 Py_INCREF(Py_None); resultobj = Py_None;
15427 return resultobj;
15428 fail:
15429 return NULL;
15430 }
15431
15432
15433 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
15434 PyObject *resultobj;
15435 wxPrintData *arg1 = (wxPrintData *) 0 ;
15436 int arg2 ;
15437 PyObject * obj0 = 0 ;
15438 char *kwnames[] = {
15439 (char *) "self",(char *) "quality", NULL
15440 };
15441
15442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetQuality",kwnames,&obj0,&arg2)) goto fail;
15443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15444 {
15445 PyThreadState* __tstate = wxPyBeginAllowThreads();
15446 (arg1)->SetQuality(arg2);
15447
15448 wxPyEndAllowThreads(__tstate);
15449 if (PyErr_Occurred()) SWIG_fail;
15450 }
15451 Py_INCREF(Py_None); resultobj = Py_None;
15452 return resultobj;
15453 fail:
15454 return NULL;
15455 }
15456
15457
15458 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15459 PyObject *resultobj;
15460 wxPrintData *arg1 = (wxPrintData *) 0 ;
15461 wxString *result;
15462 PyObject * obj0 = 0 ;
15463 char *kwnames[] = {
15464 (char *) "self", NULL
15465 };
15466
15467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
15468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15469 {
15470 PyThreadState* __tstate = wxPyBeginAllowThreads();
15471 {
15472 wxString const &_result_ref = (arg1)->GetPrinterCommand();
15473 result = (wxString *) &_result_ref;
15474 }
15475
15476 wxPyEndAllowThreads(__tstate);
15477 if (PyErr_Occurred()) SWIG_fail;
15478 }
15479 {
15480 #if wxUSE_UNICODE
15481 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15482 #else
15483 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15484 #endif
15485 }
15486 return resultobj;
15487 fail:
15488 return NULL;
15489 }
15490
15491
15492 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15493 PyObject *resultobj;
15494 wxPrintData *arg1 = (wxPrintData *) 0 ;
15495 wxString *result;
15496 PyObject * obj0 = 0 ;
15497 char *kwnames[] = {
15498 (char *) "self", NULL
15499 };
15500
15501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
15502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15503 {
15504 PyThreadState* __tstate = wxPyBeginAllowThreads();
15505 {
15506 wxString const &_result_ref = (arg1)->GetPrinterOptions();
15507 result = (wxString *) &_result_ref;
15508 }
15509
15510 wxPyEndAllowThreads(__tstate);
15511 if (PyErr_Occurred()) SWIG_fail;
15512 }
15513 {
15514 #if wxUSE_UNICODE
15515 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15516 #else
15517 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15518 #endif
15519 }
15520 return resultobj;
15521 fail:
15522 return NULL;
15523 }
15524
15525
15526 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15527 PyObject *resultobj;
15528 wxPrintData *arg1 = (wxPrintData *) 0 ;
15529 wxString *result;
15530 PyObject * obj0 = 0 ;
15531 char *kwnames[] = {
15532 (char *) "self", NULL
15533 };
15534
15535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
15536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15537 {
15538 PyThreadState* __tstate = wxPyBeginAllowThreads();
15539 {
15540 wxString const &_result_ref = (arg1)->GetPreviewCommand();
15541 result = (wxString *) &_result_ref;
15542 }
15543
15544 wxPyEndAllowThreads(__tstate);
15545 if (PyErr_Occurred()) SWIG_fail;
15546 }
15547 {
15548 #if wxUSE_UNICODE
15549 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15550 #else
15551 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15552 #endif
15553 }
15554 return resultobj;
15555 fail:
15556 return NULL;
15557 }
15558
15559
15560 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
15561 PyObject *resultobj;
15562 wxPrintData *arg1 = (wxPrintData *) 0 ;
15563 wxString *result;
15564 PyObject * obj0 = 0 ;
15565 char *kwnames[] = {
15566 (char *) "self", NULL
15567 };
15568
15569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
15570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15571 {
15572 PyThreadState* __tstate = wxPyBeginAllowThreads();
15573 {
15574 wxString const &_result_ref = (arg1)->GetFilename();
15575 result = (wxString *) &_result_ref;
15576 }
15577
15578 wxPyEndAllowThreads(__tstate);
15579 if (PyErr_Occurred()) SWIG_fail;
15580 }
15581 {
15582 #if wxUSE_UNICODE
15583 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15584 #else
15585 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15586 #endif
15587 }
15588 return resultobj;
15589 fail:
15590 return NULL;
15591 }
15592
15593
15594 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
15595 PyObject *resultobj;
15596 wxPrintData *arg1 = (wxPrintData *) 0 ;
15597 wxString *result;
15598 PyObject * obj0 = 0 ;
15599 char *kwnames[] = {
15600 (char *) "self", NULL
15601 };
15602
15603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
15604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15605 {
15606 PyThreadState* __tstate = wxPyBeginAllowThreads();
15607 {
15608 wxString const &_result_ref = (arg1)->GetFontMetricPath();
15609 result = (wxString *) &_result_ref;
15610 }
15611
15612 wxPyEndAllowThreads(__tstate);
15613 if (PyErr_Occurred()) SWIG_fail;
15614 }
15615 {
15616 #if wxUSE_UNICODE
15617 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15618 #else
15619 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15620 #endif
15621 }
15622 return resultobj;
15623 fail:
15624 return NULL;
15625 }
15626
15627
15628 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
15629 PyObject *resultobj;
15630 wxPrintData *arg1 = (wxPrintData *) 0 ;
15631 double result;
15632 PyObject * obj0 = 0 ;
15633 char *kwnames[] = {
15634 (char *) "self", NULL
15635 };
15636
15637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
15638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15639 {
15640 PyThreadState* __tstate = wxPyBeginAllowThreads();
15641 result = (double)(arg1)->GetPrinterScaleX();
15642
15643 wxPyEndAllowThreads(__tstate);
15644 if (PyErr_Occurred()) SWIG_fail;
15645 }
15646 resultobj = PyFloat_FromDouble(result);
15647 return resultobj;
15648 fail:
15649 return NULL;
15650 }
15651
15652
15653 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
15654 PyObject *resultobj;
15655 wxPrintData *arg1 = (wxPrintData *) 0 ;
15656 double result;
15657 PyObject * obj0 = 0 ;
15658 char *kwnames[] = {
15659 (char *) "self", NULL
15660 };
15661
15662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
15663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15664 {
15665 PyThreadState* __tstate = wxPyBeginAllowThreads();
15666 result = (double)(arg1)->GetPrinterScaleY();
15667
15668 wxPyEndAllowThreads(__tstate);
15669 if (PyErr_Occurred()) SWIG_fail;
15670 }
15671 resultobj = PyFloat_FromDouble(result);
15672 return resultobj;
15673 fail:
15674 return NULL;
15675 }
15676
15677
15678 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
15679 PyObject *resultobj;
15680 wxPrintData *arg1 = (wxPrintData *) 0 ;
15681 long result;
15682 PyObject * obj0 = 0 ;
15683 char *kwnames[] = {
15684 (char *) "self", NULL
15685 };
15686
15687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
15688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15689 {
15690 PyThreadState* __tstate = wxPyBeginAllowThreads();
15691 result = (long)(arg1)->GetPrinterTranslateX();
15692
15693 wxPyEndAllowThreads(__tstate);
15694 if (PyErr_Occurred()) SWIG_fail;
15695 }
15696 resultobj = PyInt_FromLong((long)result);
15697 return resultobj;
15698 fail:
15699 return NULL;
15700 }
15701
15702
15703 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
15704 PyObject *resultobj;
15705 wxPrintData *arg1 = (wxPrintData *) 0 ;
15706 long result;
15707 PyObject * obj0 = 0 ;
15708 char *kwnames[] = {
15709 (char *) "self", NULL
15710 };
15711
15712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
15713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15714 {
15715 PyThreadState* __tstate = wxPyBeginAllowThreads();
15716 result = (long)(arg1)->GetPrinterTranslateY();
15717
15718 wxPyEndAllowThreads(__tstate);
15719 if (PyErr_Occurred()) SWIG_fail;
15720 }
15721 resultobj = PyInt_FromLong((long)result);
15722 return resultobj;
15723 fail:
15724 return NULL;
15725 }
15726
15727
15728 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
15729 PyObject *resultobj;
15730 wxPrintData *arg1 = (wxPrintData *) 0 ;
15731 int result;
15732 PyObject * obj0 = 0 ;
15733 char *kwnames[] = {
15734 (char *) "self", NULL
15735 };
15736
15737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
15738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15739 {
15740 PyThreadState* __tstate = wxPyBeginAllowThreads();
15741 result = (int)(arg1)->GetPrintMode();
15742
15743 wxPyEndAllowThreads(__tstate);
15744 if (PyErr_Occurred()) SWIG_fail;
15745 }
15746 resultobj = PyInt_FromLong((long)result);
15747 return resultobj;
15748 fail:
15749 return NULL;
15750 }
15751
15752
15753 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15754 PyObject *resultobj;
15755 wxPrintData *arg1 = (wxPrintData *) 0 ;
15756 wxString *arg2 = 0 ;
15757 bool temp2 = False ;
15758 PyObject * obj0 = 0 ;
15759 PyObject * obj1 = 0 ;
15760 char *kwnames[] = {
15761 (char *) "self",(char *) "command", NULL
15762 };
15763
15764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
15765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15766 {
15767 arg2 = wxString_in_helper(obj1);
15768 if (arg2 == NULL) SWIG_fail;
15769 temp2 = True;
15770 }
15771 {
15772 PyThreadState* __tstate = wxPyBeginAllowThreads();
15773 (arg1)->SetPrinterCommand((wxString const &)*arg2);
15774
15775 wxPyEndAllowThreads(__tstate);
15776 if (PyErr_Occurred()) SWIG_fail;
15777 }
15778 Py_INCREF(Py_None); resultobj = Py_None;
15779 {
15780 if (temp2)
15781 delete arg2;
15782 }
15783 return resultobj;
15784 fail:
15785 {
15786 if (temp2)
15787 delete arg2;
15788 }
15789 return NULL;
15790 }
15791
15792
15793 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15794 PyObject *resultobj;
15795 wxPrintData *arg1 = (wxPrintData *) 0 ;
15796 wxString *arg2 = 0 ;
15797 bool temp2 = False ;
15798 PyObject * obj0 = 0 ;
15799 PyObject * obj1 = 0 ;
15800 char *kwnames[] = {
15801 (char *) "self",(char *) "options", NULL
15802 };
15803
15804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
15805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15806 {
15807 arg2 = wxString_in_helper(obj1);
15808 if (arg2 == NULL) SWIG_fail;
15809 temp2 = True;
15810 }
15811 {
15812 PyThreadState* __tstate = wxPyBeginAllowThreads();
15813 (arg1)->SetPrinterOptions((wxString const &)*arg2);
15814
15815 wxPyEndAllowThreads(__tstate);
15816 if (PyErr_Occurred()) SWIG_fail;
15817 }
15818 Py_INCREF(Py_None); resultobj = Py_None;
15819 {
15820 if (temp2)
15821 delete arg2;
15822 }
15823 return resultobj;
15824 fail:
15825 {
15826 if (temp2)
15827 delete arg2;
15828 }
15829 return NULL;
15830 }
15831
15832
15833 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15834 PyObject *resultobj;
15835 wxPrintData *arg1 = (wxPrintData *) 0 ;
15836 wxString *arg2 = 0 ;
15837 bool temp2 = False ;
15838 PyObject * obj0 = 0 ;
15839 PyObject * obj1 = 0 ;
15840 char *kwnames[] = {
15841 (char *) "self",(char *) "command", NULL
15842 };
15843
15844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
15845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15846 {
15847 arg2 = wxString_in_helper(obj1);
15848 if (arg2 == NULL) SWIG_fail;
15849 temp2 = True;
15850 }
15851 {
15852 PyThreadState* __tstate = wxPyBeginAllowThreads();
15853 (arg1)->SetPreviewCommand((wxString const &)*arg2);
15854
15855 wxPyEndAllowThreads(__tstate);
15856 if (PyErr_Occurred()) SWIG_fail;
15857 }
15858 Py_INCREF(Py_None); resultobj = Py_None;
15859 {
15860 if (temp2)
15861 delete arg2;
15862 }
15863 return resultobj;
15864 fail:
15865 {
15866 if (temp2)
15867 delete arg2;
15868 }
15869 return NULL;
15870 }
15871
15872
15873 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
15874 PyObject *resultobj;
15875 wxPrintData *arg1 = (wxPrintData *) 0 ;
15876 wxString *arg2 = 0 ;
15877 bool temp2 = False ;
15878 PyObject * obj0 = 0 ;
15879 PyObject * obj1 = 0 ;
15880 char *kwnames[] = {
15881 (char *) "self",(char *) "filename", NULL
15882 };
15883
15884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
15885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15886 {
15887 arg2 = wxString_in_helper(obj1);
15888 if (arg2 == NULL) SWIG_fail;
15889 temp2 = True;
15890 }
15891 {
15892 PyThreadState* __tstate = wxPyBeginAllowThreads();
15893 (arg1)->SetFilename((wxString const &)*arg2);
15894
15895 wxPyEndAllowThreads(__tstate);
15896 if (PyErr_Occurred()) SWIG_fail;
15897 }
15898 Py_INCREF(Py_None); resultobj = Py_None;
15899 {
15900 if (temp2)
15901 delete arg2;
15902 }
15903 return resultobj;
15904 fail:
15905 {
15906 if (temp2)
15907 delete arg2;
15908 }
15909 return NULL;
15910 }
15911
15912
15913 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
15914 PyObject *resultobj;
15915 wxPrintData *arg1 = (wxPrintData *) 0 ;
15916 wxString *arg2 = 0 ;
15917 bool temp2 = False ;
15918 PyObject * obj0 = 0 ;
15919 PyObject * obj1 = 0 ;
15920 char *kwnames[] = {
15921 (char *) "self",(char *) "path", NULL
15922 };
15923
15924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
15925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15926 {
15927 arg2 = wxString_in_helper(obj1);
15928 if (arg2 == NULL) SWIG_fail;
15929 temp2 = True;
15930 }
15931 {
15932 PyThreadState* __tstate = wxPyBeginAllowThreads();
15933 (arg1)->SetFontMetricPath((wxString const &)*arg2);
15934
15935 wxPyEndAllowThreads(__tstate);
15936 if (PyErr_Occurred()) SWIG_fail;
15937 }
15938 Py_INCREF(Py_None); resultobj = Py_None;
15939 {
15940 if (temp2)
15941 delete arg2;
15942 }
15943 return resultobj;
15944 fail:
15945 {
15946 if (temp2)
15947 delete arg2;
15948 }
15949 return NULL;
15950 }
15951
15952
15953 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
15954 PyObject *resultobj;
15955 wxPrintData *arg1 = (wxPrintData *) 0 ;
15956 double arg2 ;
15957 PyObject * obj0 = 0 ;
15958 char *kwnames[] = {
15959 (char *) "self",(char *) "x", NULL
15960 };
15961
15962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleX",kwnames,&obj0,&arg2)) goto fail;
15963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15964 {
15965 PyThreadState* __tstate = wxPyBeginAllowThreads();
15966 (arg1)->SetPrinterScaleX(arg2);
15967
15968 wxPyEndAllowThreads(__tstate);
15969 if (PyErr_Occurred()) SWIG_fail;
15970 }
15971 Py_INCREF(Py_None); resultobj = Py_None;
15972 return resultobj;
15973 fail:
15974 return NULL;
15975 }
15976
15977
15978 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
15979 PyObject *resultobj;
15980 wxPrintData *arg1 = (wxPrintData *) 0 ;
15981 double arg2 ;
15982 PyObject * obj0 = 0 ;
15983 char *kwnames[] = {
15984 (char *) "self",(char *) "y", NULL
15985 };
15986
15987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleY",kwnames,&obj0,&arg2)) goto fail;
15988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15989 {
15990 PyThreadState* __tstate = wxPyBeginAllowThreads();
15991 (arg1)->SetPrinterScaleY(arg2);
15992
15993 wxPyEndAllowThreads(__tstate);
15994 if (PyErr_Occurred()) SWIG_fail;
15995 }
15996 Py_INCREF(Py_None); resultobj = Py_None;
15997 return resultobj;
15998 fail:
15999 return NULL;
16000 }
16001
16002
16003 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
16004 PyObject *resultobj;
16005 wxPrintData *arg1 = (wxPrintData *) 0 ;
16006 double arg2 ;
16007 double arg3 ;
16008 PyObject * obj0 = 0 ;
16009 char *kwnames[] = {
16010 (char *) "self",(char *) "x",(char *) "y", NULL
16011 };
16012
16013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PrintData_SetPrinterScaling",kwnames,&obj0,&arg2,&arg3)) goto fail;
16014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16015 {
16016 PyThreadState* __tstate = wxPyBeginAllowThreads();
16017 (arg1)->SetPrinterScaling(arg2,arg3);
16018
16019 wxPyEndAllowThreads(__tstate);
16020 if (PyErr_Occurred()) SWIG_fail;
16021 }
16022 Py_INCREF(Py_None); resultobj = Py_None;
16023 return resultobj;
16024 fail:
16025 return NULL;
16026 }
16027
16028
16029 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
16030 PyObject *resultobj;
16031 wxPrintData *arg1 = (wxPrintData *) 0 ;
16032 long arg2 ;
16033 PyObject * obj0 = 0 ;
16034 char *kwnames[] = {
16035 (char *) "self",(char *) "x", NULL
16036 };
16037
16038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateX",kwnames,&obj0,&arg2)) goto fail;
16039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16040 {
16041 PyThreadState* __tstate = wxPyBeginAllowThreads();
16042 (arg1)->SetPrinterTranslateX(arg2);
16043
16044 wxPyEndAllowThreads(__tstate);
16045 if (PyErr_Occurred()) SWIG_fail;
16046 }
16047 Py_INCREF(Py_None); resultobj = Py_None;
16048 return resultobj;
16049 fail:
16050 return NULL;
16051 }
16052
16053
16054 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
16055 PyObject *resultobj;
16056 wxPrintData *arg1 = (wxPrintData *) 0 ;
16057 long arg2 ;
16058 PyObject * obj0 = 0 ;
16059 char *kwnames[] = {
16060 (char *) "self",(char *) "y", NULL
16061 };
16062
16063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateY",kwnames,&obj0,&arg2)) goto fail;
16064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16065 {
16066 PyThreadState* __tstate = wxPyBeginAllowThreads();
16067 (arg1)->SetPrinterTranslateY(arg2);
16068
16069 wxPyEndAllowThreads(__tstate);
16070 if (PyErr_Occurred()) SWIG_fail;
16071 }
16072 Py_INCREF(Py_None); resultobj = Py_None;
16073 return resultobj;
16074 fail:
16075 return NULL;
16076 }
16077
16078
16079 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
16080 PyObject *resultobj;
16081 wxPrintData *arg1 = (wxPrintData *) 0 ;
16082 long arg2 ;
16083 long arg3 ;
16084 PyObject * obj0 = 0 ;
16085 char *kwnames[] = {
16086 (char *) "self",(char *) "x",(char *) "y", NULL
16087 };
16088
16089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:PrintData_SetPrinterTranslation",kwnames,&obj0,&arg2,&arg3)) goto fail;
16090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16091 {
16092 PyThreadState* __tstate = wxPyBeginAllowThreads();
16093 (arg1)->SetPrinterTranslation(arg2,arg3);
16094
16095 wxPyEndAllowThreads(__tstate);
16096 if (PyErr_Occurred()) SWIG_fail;
16097 }
16098 Py_INCREF(Py_None); resultobj = Py_None;
16099 return resultobj;
16100 fail:
16101 return NULL;
16102 }
16103
16104
16105 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
16106 PyObject *resultobj;
16107 wxPrintData *arg1 = (wxPrintData *) 0 ;
16108 int arg2 ;
16109 PyObject * obj0 = 0 ;
16110 char *kwnames[] = {
16111 (char *) "self",(char *) "printMode", NULL
16112 };
16113
16114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPrintMode",kwnames,&obj0,&arg2)) goto fail;
16115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16116 {
16117 PyThreadState* __tstate = wxPyBeginAllowThreads();
16118 (arg1)->SetPrintMode((wxPrintMode )arg2);
16119
16120 wxPyEndAllowThreads(__tstate);
16121 if (PyErr_Occurred()) SWIG_fail;
16122 }
16123 Py_INCREF(Py_None); resultobj = Py_None;
16124 return resultobj;
16125 fail:
16126 return NULL;
16127 }
16128
16129
16130 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
16131 PyObject *obj;
16132 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16133 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
16134 Py_INCREF(obj);
16135 return Py_BuildValue((char *)"");
16136 }
16137 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16138 PyObject *resultobj;
16139 wxPageSetupDialogData *result;
16140 char *kwnames[] = {
16141 NULL
16142 };
16143
16144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
16145 {
16146 PyThreadState* __tstate = wxPyBeginAllowThreads();
16147 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
16148
16149 wxPyEndAllowThreads(__tstate);
16150 if (PyErr_Occurred()) SWIG_fail;
16151 }
16152 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 1);
16153 return resultobj;
16154 fail:
16155 return NULL;
16156 }
16157
16158
16159 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16160 PyObject *resultobj;
16161 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16162 PyObject * obj0 = 0 ;
16163 char *kwnames[] = {
16164 (char *) "self", NULL
16165 };
16166
16167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
16168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16169 {
16170 PyThreadState* __tstate = wxPyBeginAllowThreads();
16171 delete arg1;
16172
16173 wxPyEndAllowThreads(__tstate);
16174 if (PyErr_Occurred()) SWIG_fail;
16175 }
16176 Py_INCREF(Py_None); resultobj = Py_None;
16177 return resultobj;
16178 fail:
16179 return NULL;
16180 }
16181
16182
16183 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16184 PyObject *resultobj;
16185 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16186 bool arg2 ;
16187 PyObject * obj0 = 0 ;
16188 PyObject * obj1 = 0 ;
16189 char *kwnames[] = {
16190 (char *) "self",(char *) "flag", NULL
16191 };
16192
16193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
16194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16195 arg2 = PyInt_AsLong(obj1) ? true : false;
16196 if (PyErr_Occurred()) SWIG_fail;
16197 {
16198 PyThreadState* __tstate = wxPyBeginAllowThreads();
16199 (arg1)->EnableHelp(arg2);
16200
16201 wxPyEndAllowThreads(__tstate);
16202 if (PyErr_Occurred()) SWIG_fail;
16203 }
16204 Py_INCREF(Py_None); resultobj = Py_None;
16205 return resultobj;
16206 fail:
16207 return NULL;
16208 }
16209
16210
16211 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16212 PyObject *resultobj;
16213 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16214 bool arg2 ;
16215 PyObject * obj0 = 0 ;
16216 PyObject * obj1 = 0 ;
16217 char *kwnames[] = {
16218 (char *) "self",(char *) "flag", NULL
16219 };
16220
16221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
16222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16223 arg2 = PyInt_AsLong(obj1) ? true : false;
16224 if (PyErr_Occurred()) SWIG_fail;
16225 {
16226 PyThreadState* __tstate = wxPyBeginAllowThreads();
16227 (arg1)->EnableMargins(arg2);
16228
16229 wxPyEndAllowThreads(__tstate);
16230 if (PyErr_Occurred()) SWIG_fail;
16231 }
16232 Py_INCREF(Py_None); resultobj = Py_None;
16233 return resultobj;
16234 fail:
16235 return NULL;
16236 }
16237
16238
16239 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16240 PyObject *resultobj;
16241 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16242 bool arg2 ;
16243 PyObject * obj0 = 0 ;
16244 PyObject * obj1 = 0 ;
16245 char *kwnames[] = {
16246 (char *) "self",(char *) "flag", NULL
16247 };
16248
16249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
16250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16251 arg2 = PyInt_AsLong(obj1) ? true : false;
16252 if (PyErr_Occurred()) SWIG_fail;
16253 {
16254 PyThreadState* __tstate = wxPyBeginAllowThreads();
16255 (arg1)->EnableOrientation(arg2);
16256
16257 wxPyEndAllowThreads(__tstate);
16258 if (PyErr_Occurred()) SWIG_fail;
16259 }
16260 Py_INCREF(Py_None); resultobj = Py_None;
16261 return resultobj;
16262 fail:
16263 return NULL;
16264 }
16265
16266
16267 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
16268 PyObject *resultobj;
16269 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16270 bool arg2 ;
16271 PyObject * obj0 = 0 ;
16272 PyObject * obj1 = 0 ;
16273 char *kwnames[] = {
16274 (char *) "self",(char *) "flag", NULL
16275 };
16276
16277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
16278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16279 arg2 = PyInt_AsLong(obj1) ? true : false;
16280 if (PyErr_Occurred()) SWIG_fail;
16281 {
16282 PyThreadState* __tstate = wxPyBeginAllowThreads();
16283 (arg1)->EnablePaper(arg2);
16284
16285 wxPyEndAllowThreads(__tstate);
16286 if (PyErr_Occurred()) SWIG_fail;
16287 }
16288 Py_INCREF(Py_None); resultobj = Py_None;
16289 return resultobj;
16290 fail:
16291 return NULL;
16292 }
16293
16294
16295 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16296 PyObject *resultobj;
16297 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16298 bool arg2 ;
16299 PyObject * obj0 = 0 ;
16300 PyObject * obj1 = 0 ;
16301 char *kwnames[] = {
16302 (char *) "self",(char *) "flag", NULL
16303 };
16304
16305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
16306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16307 arg2 = PyInt_AsLong(obj1) ? true : false;
16308 if (PyErr_Occurred()) SWIG_fail;
16309 {
16310 PyThreadState* __tstate = wxPyBeginAllowThreads();
16311 (arg1)->EnablePrinter(arg2);
16312
16313 wxPyEndAllowThreads(__tstate);
16314 if (PyErr_Occurred()) SWIG_fail;
16315 }
16316 Py_INCREF(Py_None); resultobj = Py_None;
16317 return resultobj;
16318 fail:
16319 return NULL;
16320 }
16321
16322
16323 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16324 PyObject *resultobj;
16325 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16326 bool result;
16327 PyObject * obj0 = 0 ;
16328 char *kwnames[] = {
16329 (char *) "self", NULL
16330 };
16331
16332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
16333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16334 {
16335 PyThreadState* __tstate = wxPyBeginAllowThreads();
16336 result = (bool)(arg1)->GetDefaultMinMargins();
16337
16338 wxPyEndAllowThreads(__tstate);
16339 if (PyErr_Occurred()) SWIG_fail;
16340 }
16341 resultobj = PyInt_FromLong((long)result);
16342 return resultobj;
16343 fail:
16344 return NULL;
16345 }
16346
16347
16348 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16349 PyObject *resultobj;
16350 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16351 bool result;
16352 PyObject * obj0 = 0 ;
16353 char *kwnames[] = {
16354 (char *) "self", NULL
16355 };
16356
16357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
16358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16359 {
16360 PyThreadState* __tstate = wxPyBeginAllowThreads();
16361 result = (bool)(arg1)->GetEnableMargins();
16362
16363 wxPyEndAllowThreads(__tstate);
16364 if (PyErr_Occurred()) SWIG_fail;
16365 }
16366 resultobj = PyInt_FromLong((long)result);
16367 return resultobj;
16368 fail:
16369 return NULL;
16370 }
16371
16372
16373 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16374 PyObject *resultobj;
16375 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16376 bool result;
16377 PyObject * obj0 = 0 ;
16378 char *kwnames[] = {
16379 (char *) "self", NULL
16380 };
16381
16382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
16383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16384 {
16385 PyThreadState* __tstate = wxPyBeginAllowThreads();
16386 result = (bool)(arg1)->GetEnableOrientation();
16387
16388 wxPyEndAllowThreads(__tstate);
16389 if (PyErr_Occurred()) SWIG_fail;
16390 }
16391 resultobj = PyInt_FromLong((long)result);
16392 return resultobj;
16393 fail:
16394 return NULL;
16395 }
16396
16397
16398 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
16399 PyObject *resultobj;
16400 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16401 bool result;
16402 PyObject * obj0 = 0 ;
16403 char *kwnames[] = {
16404 (char *) "self", NULL
16405 };
16406
16407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
16408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16409 {
16410 PyThreadState* __tstate = wxPyBeginAllowThreads();
16411 result = (bool)(arg1)->GetEnablePaper();
16412
16413 wxPyEndAllowThreads(__tstate);
16414 if (PyErr_Occurred()) SWIG_fail;
16415 }
16416 resultobj = PyInt_FromLong((long)result);
16417 return resultobj;
16418 fail:
16419 return NULL;
16420 }
16421
16422
16423 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16424 PyObject *resultobj;
16425 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16426 bool result;
16427 PyObject * obj0 = 0 ;
16428 char *kwnames[] = {
16429 (char *) "self", NULL
16430 };
16431
16432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
16433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16434 {
16435 PyThreadState* __tstate = wxPyBeginAllowThreads();
16436 result = (bool)(arg1)->GetEnablePrinter();
16437
16438 wxPyEndAllowThreads(__tstate);
16439 if (PyErr_Occurred()) SWIG_fail;
16440 }
16441 resultobj = PyInt_FromLong((long)result);
16442 return resultobj;
16443 fail:
16444 return NULL;
16445 }
16446
16447
16448 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16449 PyObject *resultobj;
16450 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16451 bool result;
16452 PyObject * obj0 = 0 ;
16453 char *kwnames[] = {
16454 (char *) "self", NULL
16455 };
16456
16457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
16458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16459 {
16460 PyThreadState* __tstate = wxPyBeginAllowThreads();
16461 result = (bool)(arg1)->GetEnableHelp();
16462
16463 wxPyEndAllowThreads(__tstate);
16464 if (PyErr_Occurred()) SWIG_fail;
16465 }
16466 resultobj = PyInt_FromLong((long)result);
16467 return resultobj;
16468 fail:
16469 return NULL;
16470 }
16471
16472
16473 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16474 PyObject *resultobj;
16475 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16476 bool result;
16477 PyObject * obj0 = 0 ;
16478 char *kwnames[] = {
16479 (char *) "self", NULL
16480 };
16481
16482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
16483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16484 {
16485 PyThreadState* __tstate = wxPyBeginAllowThreads();
16486 result = (bool)(arg1)->GetDefaultInfo();
16487
16488 wxPyEndAllowThreads(__tstate);
16489 if (PyErr_Occurred()) SWIG_fail;
16490 }
16491 resultobj = PyInt_FromLong((long)result);
16492 return resultobj;
16493 fail:
16494 return NULL;
16495 }
16496
16497
16498 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16499 PyObject *resultobj;
16500 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16501 wxPoint result;
16502 PyObject * obj0 = 0 ;
16503 char *kwnames[] = {
16504 (char *) "self", NULL
16505 };
16506
16507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
16508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16509 {
16510 PyThreadState* __tstate = wxPyBeginAllowThreads();
16511 result = (arg1)->GetMarginTopLeft();
16512
16513 wxPyEndAllowThreads(__tstate);
16514 if (PyErr_Occurred()) SWIG_fail;
16515 }
16516 {
16517 wxPoint * resultptr;
16518 resultptr = new wxPoint((wxPoint &) result);
16519 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16520 }
16521 return resultobj;
16522 fail:
16523 return NULL;
16524 }
16525
16526
16527 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16528 PyObject *resultobj;
16529 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16530 wxPoint result;
16531 PyObject * obj0 = 0 ;
16532 char *kwnames[] = {
16533 (char *) "self", NULL
16534 };
16535
16536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
16537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16538 {
16539 PyThreadState* __tstate = wxPyBeginAllowThreads();
16540 result = (arg1)->GetMarginBottomRight();
16541
16542 wxPyEndAllowThreads(__tstate);
16543 if (PyErr_Occurred()) SWIG_fail;
16544 }
16545 {
16546 wxPoint * resultptr;
16547 resultptr = new wxPoint((wxPoint &) result);
16548 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16549 }
16550 return resultobj;
16551 fail:
16552 return NULL;
16553 }
16554
16555
16556 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16557 PyObject *resultobj;
16558 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16559 wxPoint result;
16560 PyObject * obj0 = 0 ;
16561 char *kwnames[] = {
16562 (char *) "self", NULL
16563 };
16564
16565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
16566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16567 {
16568 PyThreadState* __tstate = wxPyBeginAllowThreads();
16569 result = (arg1)->GetMinMarginTopLeft();
16570
16571 wxPyEndAllowThreads(__tstate);
16572 if (PyErr_Occurred()) SWIG_fail;
16573 }
16574 {
16575 wxPoint * resultptr;
16576 resultptr = new wxPoint((wxPoint &) result);
16577 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16578 }
16579 return resultobj;
16580 fail:
16581 return NULL;
16582 }
16583
16584
16585 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16586 PyObject *resultobj;
16587 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16588 wxPoint result;
16589 PyObject * obj0 = 0 ;
16590 char *kwnames[] = {
16591 (char *) "self", NULL
16592 };
16593
16594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
16595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16596 {
16597 PyThreadState* __tstate = wxPyBeginAllowThreads();
16598 result = (arg1)->GetMinMarginBottomRight();
16599
16600 wxPyEndAllowThreads(__tstate);
16601 if (PyErr_Occurred()) SWIG_fail;
16602 }
16603 {
16604 wxPoint * resultptr;
16605 resultptr = new wxPoint((wxPoint &) result);
16606 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16607 }
16608 return resultobj;
16609 fail:
16610 return NULL;
16611 }
16612
16613
16614 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16615 PyObject *resultobj;
16616 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16617 int result;
16618 PyObject * obj0 = 0 ;
16619 char *kwnames[] = {
16620 (char *) "self", NULL
16621 };
16622
16623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
16624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16625 {
16626 PyThreadState* __tstate = wxPyBeginAllowThreads();
16627 result = (int)(arg1)->GetPaperId();
16628
16629 wxPyEndAllowThreads(__tstate);
16630 if (PyErr_Occurred()) SWIG_fail;
16631 }
16632 resultobj = PyInt_FromLong((long)result);
16633 return resultobj;
16634 fail:
16635 return NULL;
16636 }
16637
16638
16639 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16640 PyObject *resultobj;
16641 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16642 wxSize result;
16643 PyObject * obj0 = 0 ;
16644 char *kwnames[] = {
16645 (char *) "self", NULL
16646 };
16647
16648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
16649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16650 {
16651 PyThreadState* __tstate = wxPyBeginAllowThreads();
16652 result = (arg1)->GetPaperSize();
16653
16654 wxPyEndAllowThreads(__tstate);
16655 if (PyErr_Occurred()) SWIG_fail;
16656 }
16657 {
16658 wxSize * resultptr;
16659 resultptr = new wxSize((wxSize &) result);
16660 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16661 }
16662 return resultobj;
16663 fail:
16664 return NULL;
16665 }
16666
16667
16668 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16669 PyObject *resultobj;
16670 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16671 wxPrintData *result;
16672 PyObject * obj0 = 0 ;
16673 char *kwnames[] = {
16674 (char *) "self", NULL
16675 };
16676
16677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
16678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16679 {
16680 PyThreadState* __tstate = wxPyBeginAllowThreads();
16681 {
16682 wxPrintData &_result_ref = (arg1)->GetPrintData();
16683 result = (wxPrintData *) &_result_ref;
16684 }
16685
16686 wxPyEndAllowThreads(__tstate);
16687 if (PyErr_Occurred()) SWIG_fail;
16688 }
16689 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
16690 return resultobj;
16691 fail:
16692 return NULL;
16693 }
16694
16695
16696 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
16697 PyObject *resultobj;
16698 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16699 bool result;
16700 PyObject * obj0 = 0 ;
16701 char *kwnames[] = {
16702 (char *) "self", NULL
16703 };
16704
16705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",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 = (bool)(arg1)->Ok();
16710
16711 wxPyEndAllowThreads(__tstate);
16712 if (PyErr_Occurred()) SWIG_fail;
16713 }
16714 resultobj = PyInt_FromLong((long)result);
16715 return resultobj;
16716 fail:
16717 return NULL;
16718 }
16719
16720
16721 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16722 PyObject *resultobj;
16723 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16724 bool arg2 ;
16725 PyObject * obj0 = 0 ;
16726 PyObject * obj1 = 0 ;
16727 char *kwnames[] = {
16728 (char *) "self",(char *) "flag", NULL
16729 };
16730
16731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
16732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16733 arg2 = PyInt_AsLong(obj1) ? true : false;
16734 if (PyErr_Occurred()) SWIG_fail;
16735 {
16736 PyThreadState* __tstate = wxPyBeginAllowThreads();
16737 (arg1)->SetDefaultInfo(arg2);
16738
16739 wxPyEndAllowThreads(__tstate);
16740 if (PyErr_Occurred()) SWIG_fail;
16741 }
16742 Py_INCREF(Py_None); resultobj = Py_None;
16743 return resultobj;
16744 fail:
16745 return NULL;
16746 }
16747
16748
16749 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16750 PyObject *resultobj;
16751 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16752 bool arg2 ;
16753 PyObject * obj0 = 0 ;
16754 PyObject * obj1 = 0 ;
16755 char *kwnames[] = {
16756 (char *) "self",(char *) "flag", NULL
16757 };
16758
16759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
16760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16761 arg2 = PyInt_AsLong(obj1) ? true : false;
16762 if (PyErr_Occurred()) SWIG_fail;
16763 {
16764 PyThreadState* __tstate = wxPyBeginAllowThreads();
16765 (arg1)->SetDefaultMinMargins(arg2);
16766
16767 wxPyEndAllowThreads(__tstate);
16768 if (PyErr_Occurred()) SWIG_fail;
16769 }
16770 Py_INCREF(Py_None); resultobj = Py_None;
16771 return resultobj;
16772 fail:
16773 return NULL;
16774 }
16775
16776
16777 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16778 PyObject *resultobj;
16779 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16780 wxPoint *arg2 = 0 ;
16781 wxPoint temp2 ;
16782 PyObject * obj0 = 0 ;
16783 PyObject * obj1 = 0 ;
16784 char *kwnames[] = {
16785 (char *) "self",(char *) "pt", NULL
16786 };
16787
16788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
16789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16790 {
16791 arg2 = &temp2;
16792 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16793 }
16794 {
16795 PyThreadState* __tstate = wxPyBeginAllowThreads();
16796 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
16797
16798 wxPyEndAllowThreads(__tstate);
16799 if (PyErr_Occurred()) SWIG_fail;
16800 }
16801 Py_INCREF(Py_None); resultobj = Py_None;
16802 return resultobj;
16803 fail:
16804 return NULL;
16805 }
16806
16807
16808 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16809 PyObject *resultobj;
16810 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16811 wxPoint *arg2 = 0 ;
16812 wxPoint temp2 ;
16813 PyObject * obj0 = 0 ;
16814 PyObject * obj1 = 0 ;
16815 char *kwnames[] = {
16816 (char *) "self",(char *) "pt", NULL
16817 };
16818
16819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
16820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16821 {
16822 arg2 = &temp2;
16823 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16824 }
16825 {
16826 PyThreadState* __tstate = wxPyBeginAllowThreads();
16827 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
16828
16829 wxPyEndAllowThreads(__tstate);
16830 if (PyErr_Occurred()) SWIG_fail;
16831 }
16832 Py_INCREF(Py_None); resultobj = Py_None;
16833 return resultobj;
16834 fail:
16835 return NULL;
16836 }
16837
16838
16839 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16840 PyObject *resultobj;
16841 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16842 wxPoint *arg2 = 0 ;
16843 wxPoint temp2 ;
16844 PyObject * obj0 = 0 ;
16845 PyObject * obj1 = 0 ;
16846 char *kwnames[] = {
16847 (char *) "self",(char *) "pt", NULL
16848 };
16849
16850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
16851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16852 {
16853 arg2 = &temp2;
16854 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16855 }
16856 {
16857 PyThreadState* __tstate = wxPyBeginAllowThreads();
16858 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
16859
16860 wxPyEndAllowThreads(__tstate);
16861 if (PyErr_Occurred()) SWIG_fail;
16862 }
16863 Py_INCREF(Py_None); resultobj = Py_None;
16864 return resultobj;
16865 fail:
16866 return NULL;
16867 }
16868
16869
16870 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16871 PyObject *resultobj;
16872 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16873 wxPoint *arg2 = 0 ;
16874 wxPoint temp2 ;
16875 PyObject * obj0 = 0 ;
16876 PyObject * obj1 = 0 ;
16877 char *kwnames[] = {
16878 (char *) "self",(char *) "pt", NULL
16879 };
16880
16881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
16882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16883 {
16884 arg2 = &temp2;
16885 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16886 }
16887 {
16888 PyThreadState* __tstate = wxPyBeginAllowThreads();
16889 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
16890
16891 wxPyEndAllowThreads(__tstate);
16892 if (PyErr_Occurred()) SWIG_fail;
16893 }
16894 Py_INCREF(Py_None); resultobj = Py_None;
16895 return resultobj;
16896 fail:
16897 return NULL;
16898 }
16899
16900
16901 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16902 PyObject *resultobj;
16903 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16904 int arg2 ;
16905 PyObject * obj0 = 0 ;
16906 char *kwnames[] = {
16907 (char *) "self",(char *) "id", NULL
16908 };
16909
16910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PageSetupDialogData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
16911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16912 {
16913 PyThreadState* __tstate = wxPyBeginAllowThreads();
16914 (arg1)->SetPaperId((wxPaperSize )arg2);
16915
16916 wxPyEndAllowThreads(__tstate);
16917 if (PyErr_Occurred()) SWIG_fail;
16918 }
16919 Py_INCREF(Py_None); resultobj = Py_None;
16920 return resultobj;
16921 fail:
16922 return NULL;
16923 }
16924
16925
16926 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16927 PyObject *resultobj;
16928 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16929 wxSize *arg2 = 0 ;
16930 wxSize temp2 ;
16931 PyObject * obj0 = 0 ;
16932 PyObject * obj1 = 0 ;
16933 char *kwnames[] = {
16934 (char *) "self",(char *) "size", NULL
16935 };
16936
16937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
16938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16939 {
16940 arg2 = &temp2;
16941 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16942 }
16943 {
16944 PyThreadState* __tstate = wxPyBeginAllowThreads();
16945 (arg1)->SetPaperSize((wxSize const &)*arg2);
16946
16947 wxPyEndAllowThreads(__tstate);
16948 if (PyErr_Occurred()) SWIG_fail;
16949 }
16950 Py_INCREF(Py_None); resultobj = Py_None;
16951 return resultobj;
16952 fail:
16953 return NULL;
16954 }
16955
16956
16957 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16958 PyObject *resultobj;
16959 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16960 wxPrintData *arg2 = 0 ;
16961 PyObject * obj0 = 0 ;
16962 PyObject * obj1 = 0 ;
16963 char *kwnames[] = {
16964 (char *) "self",(char *) "printData", NULL
16965 };
16966
16967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
16968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16969 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16970 if (arg2 == NULL) {
16971 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16972 }
16973 {
16974 PyThreadState* __tstate = wxPyBeginAllowThreads();
16975 (arg1)->SetPrintData((wxPrintData const &)*arg2);
16976
16977 wxPyEndAllowThreads(__tstate);
16978 if (PyErr_Occurred()) SWIG_fail;
16979 }
16980 Py_INCREF(Py_None); resultobj = Py_None;
16981 return resultobj;
16982 fail:
16983 return NULL;
16984 }
16985
16986
16987 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
16988 PyObject *obj;
16989 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16990 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
16991 Py_INCREF(obj);
16992 return Py_BuildValue((char *)"");
16993 }
16994 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16995 PyObject *resultobj;
16996 wxWindow *arg1 = (wxWindow *) 0 ;
16997 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
16998 wxPageSetupDialog *result;
16999 PyObject * obj0 = 0 ;
17000 PyObject * obj1 = 0 ;
17001 char *kwnames[] = {
17002 (char *) "parent",(char *) "data", NULL
17003 };
17004
17005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
17006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17007 if (obj1) {
17008 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17009 }
17010 {
17011 PyThreadState* __tstate = wxPyBeginAllowThreads();
17012 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
17013
17014 wxPyEndAllowThreads(__tstate);
17015 if (PyErr_Occurred()) SWIG_fail;
17016 }
17017 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialog, 1);
17018 return resultobj;
17019 fail:
17020 return NULL;
17021 }
17022
17023
17024 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
17025 PyObject *resultobj;
17026 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
17027 wxPageSetupDialogData *result;
17028 PyObject * obj0 = 0 ;
17029 char *kwnames[] = {
17030 (char *) "self", NULL
17031 };
17032
17033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
17034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17035 {
17036 PyThreadState* __tstate = wxPyBeginAllowThreads();
17037 {
17038 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
17039 result = (wxPageSetupDialogData *) &_result_ref;
17040 }
17041
17042 wxPyEndAllowThreads(__tstate);
17043 if (PyErr_Occurred()) SWIG_fail;
17044 }
17045 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 0);
17046 return resultobj;
17047 fail:
17048 return NULL;
17049 }
17050
17051
17052 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
17053 PyObject *resultobj;
17054 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
17055 int result;
17056 PyObject * obj0 = 0 ;
17057 char *kwnames[] = {
17058 (char *) "self", NULL
17059 };
17060
17061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
17062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17063 {
17064 PyThreadState* __tstate = wxPyBeginAllowThreads();
17065 result = (int)(arg1)->ShowModal();
17066
17067 wxPyEndAllowThreads(__tstate);
17068 if (PyErr_Occurred()) SWIG_fail;
17069 }
17070 resultobj = PyInt_FromLong((long)result);
17071 return resultobj;
17072 fail:
17073 return NULL;
17074 }
17075
17076
17077 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
17078 PyObject *obj;
17079 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17080 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
17081 Py_INCREF(obj);
17082 return Py_BuildValue((char *)"");
17083 }
17084 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17085 PyObject *resultobj;
17086 wxPrintDialogData *result;
17087 char *kwnames[] = {
17088 NULL
17089 };
17090
17091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintDialogData",kwnames)) goto fail;
17092 {
17093 PyThreadState* __tstate = wxPyBeginAllowThreads();
17094 result = (wxPrintDialogData *)new wxPrintDialogData();
17095
17096 wxPyEndAllowThreads(__tstate);
17097 if (PyErr_Occurred()) SWIG_fail;
17098 }
17099 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 1);
17100 return resultobj;
17101 fail:
17102 return NULL;
17103 }
17104
17105
17106 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17107 PyObject *resultobj;
17108 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17109 PyObject * obj0 = 0 ;
17110 char *kwnames[] = {
17111 (char *) "self", NULL
17112 };
17113
17114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
17115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17116 {
17117 PyThreadState* __tstate = wxPyBeginAllowThreads();
17118 delete arg1;
17119
17120 wxPyEndAllowThreads(__tstate);
17121 if (PyErr_Occurred()) SWIG_fail;
17122 }
17123 Py_INCREF(Py_None); resultobj = Py_None;
17124 return resultobj;
17125 fail:
17126 return NULL;
17127 }
17128
17129
17130 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17131 PyObject *resultobj;
17132 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17133 int result;
17134 PyObject * obj0 = 0 ;
17135 char *kwnames[] = {
17136 (char *) "self", NULL
17137 };
17138
17139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
17140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17141 {
17142 PyThreadState* __tstate = wxPyBeginAllowThreads();
17143 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
17144
17145 wxPyEndAllowThreads(__tstate);
17146 if (PyErr_Occurred()) SWIG_fail;
17147 }
17148 resultobj = PyInt_FromLong((long)result);
17149 return resultobj;
17150 fail:
17151 return NULL;
17152 }
17153
17154
17155 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17156 PyObject *resultobj;
17157 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17158 int result;
17159 PyObject * obj0 = 0 ;
17160 char *kwnames[] = {
17161 (char *) "self", NULL
17162 };
17163
17164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
17165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17166 {
17167 PyThreadState* __tstate = wxPyBeginAllowThreads();
17168 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
17169
17170 wxPyEndAllowThreads(__tstate);
17171 if (PyErr_Occurred()) SWIG_fail;
17172 }
17173 resultobj = PyInt_FromLong((long)result);
17174 return resultobj;
17175 fail:
17176 return NULL;
17177 }
17178
17179
17180 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17181 PyObject *resultobj;
17182 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17183 int result;
17184 PyObject * obj0 = 0 ;
17185 char *kwnames[] = {
17186 (char *) "self", NULL
17187 };
17188
17189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
17190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17191 {
17192 PyThreadState* __tstate = wxPyBeginAllowThreads();
17193 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
17194
17195 wxPyEndAllowThreads(__tstate);
17196 if (PyErr_Occurred()) SWIG_fail;
17197 }
17198 resultobj = PyInt_FromLong((long)result);
17199 return resultobj;
17200 fail:
17201 return NULL;
17202 }
17203
17204
17205 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17206 PyObject *resultobj;
17207 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17208 int result;
17209 PyObject * obj0 = 0 ;
17210 char *kwnames[] = {
17211 (char *) "self", NULL
17212 };
17213
17214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
17215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17216 {
17217 PyThreadState* __tstate = wxPyBeginAllowThreads();
17218 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
17219
17220 wxPyEndAllowThreads(__tstate);
17221 if (PyErr_Occurred()) SWIG_fail;
17222 }
17223 resultobj = PyInt_FromLong((long)result);
17224 return resultobj;
17225 fail:
17226 return NULL;
17227 }
17228
17229
17230 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17231 PyObject *resultobj;
17232 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17233 int result;
17234 PyObject * obj0 = 0 ;
17235 char *kwnames[] = {
17236 (char *) "self", NULL
17237 };
17238
17239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
17240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17241 {
17242 PyThreadState* __tstate = wxPyBeginAllowThreads();
17243 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
17244
17245 wxPyEndAllowThreads(__tstate);
17246 if (PyErr_Occurred()) SWIG_fail;
17247 }
17248 resultobj = PyInt_FromLong((long)result);
17249 return resultobj;
17250 fail:
17251 return NULL;
17252 }
17253
17254
17255 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
17256 PyObject *resultobj;
17257 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17258 bool result;
17259 PyObject * obj0 = 0 ;
17260 char *kwnames[] = {
17261 (char *) "self", NULL
17262 };
17263
17264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
17265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17266 {
17267 PyThreadState* __tstate = wxPyBeginAllowThreads();
17268 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
17269
17270 wxPyEndAllowThreads(__tstate);
17271 if (PyErr_Occurred()) SWIG_fail;
17272 }
17273 resultobj = PyInt_FromLong((long)result);
17274 return resultobj;
17275 fail:
17276 return NULL;
17277 }
17278
17279
17280 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17281 PyObject *resultobj;
17282 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17283 bool result;
17284 PyObject * obj0 = 0 ;
17285 char *kwnames[] = {
17286 (char *) "self", NULL
17287 };
17288
17289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
17290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17291 {
17292 PyThreadState* __tstate = wxPyBeginAllowThreads();
17293 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
17294
17295 wxPyEndAllowThreads(__tstate);
17296 if (PyErr_Occurred()) SWIG_fail;
17297 }
17298 resultobj = PyInt_FromLong((long)result);
17299 return resultobj;
17300 fail:
17301 return NULL;
17302 }
17303
17304
17305 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17306 PyObject *resultobj;
17307 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17308 bool result;
17309 PyObject * obj0 = 0 ;
17310 char *kwnames[] = {
17311 (char *) "self", NULL
17312 };
17313
17314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
17315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17316 {
17317 PyThreadState* __tstate = wxPyBeginAllowThreads();
17318 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
17319
17320 wxPyEndAllowThreads(__tstate);
17321 if (PyErr_Occurred()) SWIG_fail;
17322 }
17323 resultobj = PyInt_FromLong((long)result);
17324 return resultobj;
17325 fail:
17326 return NULL;
17327 }
17328
17329
17330 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17331 PyObject *resultobj;
17332 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17333 bool result;
17334 PyObject * obj0 = 0 ;
17335 char *kwnames[] = {
17336 (char *) "self", NULL
17337 };
17338
17339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
17340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17341 {
17342 PyThreadState* __tstate = wxPyBeginAllowThreads();
17343 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
17344
17345 wxPyEndAllowThreads(__tstate);
17346 if (PyErr_Occurred()) SWIG_fail;
17347 }
17348 resultobj = PyInt_FromLong((long)result);
17349 return resultobj;
17350 fail:
17351 return NULL;
17352 }
17353
17354
17355 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17356 PyObject *resultobj;
17357 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17358 bool result;
17359 PyObject * obj0 = 0 ;
17360 char *kwnames[] = {
17361 (char *) "self", NULL
17362 };
17363
17364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
17365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17366 {
17367 PyThreadState* __tstate = wxPyBeginAllowThreads();
17368 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
17369
17370 wxPyEndAllowThreads(__tstate);
17371 if (PyErr_Occurred()) SWIG_fail;
17372 }
17373 resultobj = PyInt_FromLong((long)result);
17374 return resultobj;
17375 fail:
17376 return NULL;
17377 }
17378
17379
17380 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17381 PyObject *resultobj;
17382 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17383 int arg2 ;
17384 PyObject * obj0 = 0 ;
17385 char *kwnames[] = {
17386 (char *) "self",(char *) "v", NULL
17387 };
17388
17389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetFromPage",kwnames,&obj0,&arg2)) goto fail;
17390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17391 {
17392 PyThreadState* __tstate = wxPyBeginAllowThreads();
17393 (arg1)->SetFromPage(arg2);
17394
17395 wxPyEndAllowThreads(__tstate);
17396 if (PyErr_Occurred()) SWIG_fail;
17397 }
17398 Py_INCREF(Py_None); resultobj = Py_None;
17399 return resultobj;
17400 fail:
17401 return NULL;
17402 }
17403
17404
17405 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17406 PyObject *resultobj;
17407 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17408 int arg2 ;
17409 PyObject * obj0 = 0 ;
17410 char *kwnames[] = {
17411 (char *) "self",(char *) "v", NULL
17412 };
17413
17414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetToPage",kwnames,&obj0,&arg2)) goto fail;
17415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17416 {
17417 PyThreadState* __tstate = wxPyBeginAllowThreads();
17418 (arg1)->SetToPage(arg2);
17419
17420 wxPyEndAllowThreads(__tstate);
17421 if (PyErr_Occurred()) SWIG_fail;
17422 }
17423 Py_INCREF(Py_None); resultobj = Py_None;
17424 return resultobj;
17425 fail:
17426 return NULL;
17427 }
17428
17429
17430 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17431 PyObject *resultobj;
17432 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17433 int arg2 ;
17434 PyObject * obj0 = 0 ;
17435 char *kwnames[] = {
17436 (char *) "self",(char *) "v", NULL
17437 };
17438
17439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMinPage",kwnames,&obj0,&arg2)) goto fail;
17440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17441 {
17442 PyThreadState* __tstate = wxPyBeginAllowThreads();
17443 (arg1)->SetMinPage(arg2);
17444
17445 wxPyEndAllowThreads(__tstate);
17446 if (PyErr_Occurred()) SWIG_fail;
17447 }
17448 Py_INCREF(Py_None); resultobj = Py_None;
17449 return resultobj;
17450 fail:
17451 return NULL;
17452 }
17453
17454
17455 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17456 PyObject *resultobj;
17457 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17458 int arg2 ;
17459 PyObject * obj0 = 0 ;
17460 char *kwnames[] = {
17461 (char *) "self",(char *) "v", NULL
17462 };
17463
17464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMaxPage",kwnames,&obj0,&arg2)) goto fail;
17465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17466 {
17467 PyThreadState* __tstate = wxPyBeginAllowThreads();
17468 (arg1)->SetMaxPage(arg2);
17469
17470 wxPyEndAllowThreads(__tstate);
17471 if (PyErr_Occurred()) SWIG_fail;
17472 }
17473 Py_INCREF(Py_None); resultobj = Py_None;
17474 return resultobj;
17475 fail:
17476 return NULL;
17477 }
17478
17479
17480 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17481 PyObject *resultobj;
17482 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17483 int arg2 ;
17484 PyObject * obj0 = 0 ;
17485 char *kwnames[] = {
17486 (char *) "self",(char *) "v", NULL
17487 };
17488
17489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
17490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17491 {
17492 PyThreadState* __tstate = wxPyBeginAllowThreads();
17493 (arg1)->SetNoCopies(arg2);
17494
17495 wxPyEndAllowThreads(__tstate);
17496 if (PyErr_Occurred()) SWIG_fail;
17497 }
17498 Py_INCREF(Py_None); resultobj = Py_None;
17499 return resultobj;
17500 fail:
17501 return NULL;
17502 }
17503
17504
17505 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
17506 PyObject *resultobj;
17507 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17508 bool arg2 ;
17509 PyObject * obj0 = 0 ;
17510 PyObject * obj1 = 0 ;
17511 char *kwnames[] = {
17512 (char *) "self",(char *) "flag", NULL
17513 };
17514
17515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
17516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17517 arg2 = PyInt_AsLong(obj1) ? true : false;
17518 if (PyErr_Occurred()) SWIG_fail;
17519 {
17520 PyThreadState* __tstate = wxPyBeginAllowThreads();
17521 (arg1)->SetAllPages(arg2);
17522
17523 wxPyEndAllowThreads(__tstate);
17524 if (PyErr_Occurred()) SWIG_fail;
17525 }
17526 Py_INCREF(Py_None); resultobj = Py_None;
17527 return resultobj;
17528 fail:
17529 return NULL;
17530 }
17531
17532
17533 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17534 PyObject *resultobj;
17535 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17536 bool arg2 ;
17537 PyObject * obj0 = 0 ;
17538 PyObject * obj1 = 0 ;
17539 char *kwnames[] = {
17540 (char *) "self",(char *) "flag", NULL
17541 };
17542
17543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
17544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17545 arg2 = PyInt_AsLong(obj1) ? true : false;
17546 if (PyErr_Occurred()) SWIG_fail;
17547 {
17548 PyThreadState* __tstate = wxPyBeginAllowThreads();
17549 (arg1)->SetSelection(arg2);
17550
17551 wxPyEndAllowThreads(__tstate);
17552 if (PyErr_Occurred()) SWIG_fail;
17553 }
17554 Py_INCREF(Py_None); resultobj = Py_None;
17555 return resultobj;
17556 fail:
17557 return NULL;
17558 }
17559
17560
17561 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17562 PyObject *resultobj;
17563 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17564 bool arg2 ;
17565 PyObject * obj0 = 0 ;
17566 PyObject * obj1 = 0 ;
17567 char *kwnames[] = {
17568 (char *) "self",(char *) "flag", NULL
17569 };
17570
17571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
17572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17573 arg2 = PyInt_AsLong(obj1) ? true : false;
17574 if (PyErr_Occurred()) SWIG_fail;
17575 {
17576 PyThreadState* __tstate = wxPyBeginAllowThreads();
17577 (arg1)->SetCollate(arg2);
17578
17579 wxPyEndAllowThreads(__tstate);
17580 if (PyErr_Occurred()) SWIG_fail;
17581 }
17582 Py_INCREF(Py_None); resultobj = Py_None;
17583 return resultobj;
17584 fail:
17585 return NULL;
17586 }
17587
17588
17589 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17590 PyObject *resultobj;
17591 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17592 bool arg2 ;
17593 PyObject * obj0 = 0 ;
17594 PyObject * obj1 = 0 ;
17595 char *kwnames[] = {
17596 (char *) "self",(char *) "flag", NULL
17597 };
17598
17599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
17600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17601 arg2 = PyInt_AsLong(obj1) ? true : false;
17602 if (PyErr_Occurred()) SWIG_fail;
17603 {
17604 PyThreadState* __tstate = wxPyBeginAllowThreads();
17605 (arg1)->SetPrintToFile(arg2);
17606
17607 wxPyEndAllowThreads(__tstate);
17608 if (PyErr_Occurred()) SWIG_fail;
17609 }
17610 Py_INCREF(Py_None); resultobj = Py_None;
17611 return resultobj;
17612 fail:
17613 return NULL;
17614 }
17615
17616
17617 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17618 PyObject *resultobj;
17619 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17620 bool arg2 ;
17621 PyObject * obj0 = 0 ;
17622 PyObject * obj1 = 0 ;
17623 char *kwnames[] = {
17624 (char *) "self",(char *) "flag", NULL
17625 };
17626
17627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
17628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17629 arg2 = PyInt_AsLong(obj1) ? true : false;
17630 if (PyErr_Occurred()) SWIG_fail;
17631 {
17632 PyThreadState* __tstate = wxPyBeginAllowThreads();
17633 (arg1)->SetSetupDialog(arg2);
17634
17635 wxPyEndAllowThreads(__tstate);
17636 if (PyErr_Occurred()) SWIG_fail;
17637 }
17638 Py_INCREF(Py_None); resultobj = Py_None;
17639 return resultobj;
17640 fail:
17641 return NULL;
17642 }
17643
17644
17645 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17646 PyObject *resultobj;
17647 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17648 bool arg2 ;
17649 PyObject * obj0 = 0 ;
17650 PyObject * obj1 = 0 ;
17651 char *kwnames[] = {
17652 (char *) "self",(char *) "flag", NULL
17653 };
17654
17655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
17656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17657 arg2 = PyInt_AsLong(obj1) ? true : false;
17658 if (PyErr_Occurred()) SWIG_fail;
17659 {
17660 PyThreadState* __tstate = wxPyBeginAllowThreads();
17661 (arg1)->EnablePrintToFile(arg2);
17662
17663 wxPyEndAllowThreads(__tstate);
17664 if (PyErr_Occurred()) SWIG_fail;
17665 }
17666 Py_INCREF(Py_None); resultobj = Py_None;
17667 return resultobj;
17668 fail:
17669 return NULL;
17670 }
17671
17672
17673 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17674 PyObject *resultobj;
17675 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17676 bool arg2 ;
17677 PyObject * obj0 = 0 ;
17678 PyObject * obj1 = 0 ;
17679 char *kwnames[] = {
17680 (char *) "self",(char *) "flag", NULL
17681 };
17682
17683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
17684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17685 arg2 = PyInt_AsLong(obj1) ? true : false;
17686 if (PyErr_Occurred()) SWIG_fail;
17687 {
17688 PyThreadState* __tstate = wxPyBeginAllowThreads();
17689 (arg1)->EnableSelection(arg2);
17690
17691 wxPyEndAllowThreads(__tstate);
17692 if (PyErr_Occurred()) SWIG_fail;
17693 }
17694 Py_INCREF(Py_None); resultobj = Py_None;
17695 return resultobj;
17696 fail:
17697 return NULL;
17698 }
17699
17700
17701 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17702 PyObject *resultobj;
17703 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17704 bool arg2 ;
17705 PyObject * obj0 = 0 ;
17706 PyObject * obj1 = 0 ;
17707 char *kwnames[] = {
17708 (char *) "self",(char *) "flag", NULL
17709 };
17710
17711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
17712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17713 arg2 = PyInt_AsLong(obj1) ? true : false;
17714 if (PyErr_Occurred()) SWIG_fail;
17715 {
17716 PyThreadState* __tstate = wxPyBeginAllowThreads();
17717 (arg1)->EnablePageNumbers(arg2);
17718
17719 wxPyEndAllowThreads(__tstate);
17720 if (PyErr_Occurred()) SWIG_fail;
17721 }
17722 Py_INCREF(Py_None); resultobj = Py_None;
17723 return resultobj;
17724 fail:
17725 return NULL;
17726 }
17727
17728
17729 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17730 PyObject *resultobj;
17731 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17732 bool arg2 ;
17733 PyObject * obj0 = 0 ;
17734 PyObject * obj1 = 0 ;
17735 char *kwnames[] = {
17736 (char *) "self",(char *) "flag", NULL
17737 };
17738
17739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
17740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17741 arg2 = PyInt_AsLong(obj1) ? true : false;
17742 if (PyErr_Occurred()) SWIG_fail;
17743 {
17744 PyThreadState* __tstate = wxPyBeginAllowThreads();
17745 (arg1)->EnableHelp(arg2);
17746
17747 wxPyEndAllowThreads(__tstate);
17748 if (PyErr_Occurred()) SWIG_fail;
17749 }
17750 Py_INCREF(Py_None); resultobj = Py_None;
17751 return resultobj;
17752 fail:
17753 return NULL;
17754 }
17755
17756
17757 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17758 PyObject *resultobj;
17759 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17760 bool result;
17761 PyObject * obj0 = 0 ;
17762 char *kwnames[] = {
17763 (char *) "self", NULL
17764 };
17765
17766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
17767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17768 {
17769 PyThreadState* __tstate = wxPyBeginAllowThreads();
17770 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
17771
17772 wxPyEndAllowThreads(__tstate);
17773 if (PyErr_Occurred()) SWIG_fail;
17774 }
17775 resultobj = PyInt_FromLong((long)result);
17776 return resultobj;
17777 fail:
17778 return NULL;
17779 }
17780
17781
17782 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17783 PyObject *resultobj;
17784 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17785 bool result;
17786 PyObject * obj0 = 0 ;
17787 char *kwnames[] = {
17788 (char *) "self", NULL
17789 };
17790
17791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
17792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17793 {
17794 PyThreadState* __tstate = wxPyBeginAllowThreads();
17795 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
17796
17797 wxPyEndAllowThreads(__tstate);
17798 if (PyErr_Occurred()) SWIG_fail;
17799 }
17800 resultobj = PyInt_FromLong((long)result);
17801 return resultobj;
17802 fail:
17803 return NULL;
17804 }
17805
17806
17807 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17808 PyObject *resultobj;
17809 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17810 bool result;
17811 PyObject * obj0 = 0 ;
17812 char *kwnames[] = {
17813 (char *) "self", NULL
17814 };
17815
17816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
17817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17818 {
17819 PyThreadState* __tstate = wxPyBeginAllowThreads();
17820 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
17821
17822 wxPyEndAllowThreads(__tstate);
17823 if (PyErr_Occurred()) SWIG_fail;
17824 }
17825 resultobj = PyInt_FromLong((long)result);
17826 return resultobj;
17827 fail:
17828 return NULL;
17829 }
17830
17831
17832 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17833 PyObject *resultobj;
17834 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17835 bool result;
17836 PyObject * obj0 = 0 ;
17837 char *kwnames[] = {
17838 (char *) "self", NULL
17839 };
17840
17841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
17842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17843 {
17844 PyThreadState* __tstate = wxPyBeginAllowThreads();
17845 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
17846
17847 wxPyEndAllowThreads(__tstate);
17848 if (PyErr_Occurred()) SWIG_fail;
17849 }
17850 resultobj = PyInt_FromLong((long)result);
17851 return resultobj;
17852 fail:
17853 return NULL;
17854 }
17855
17856
17857 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
17858 PyObject *resultobj;
17859 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17860 bool result;
17861 PyObject * obj0 = 0 ;
17862 char *kwnames[] = {
17863 (char *) "self", NULL
17864 };
17865
17866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
17867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17868 {
17869 PyThreadState* __tstate = wxPyBeginAllowThreads();
17870 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
17871
17872 wxPyEndAllowThreads(__tstate);
17873 if (PyErr_Occurred()) SWIG_fail;
17874 }
17875 resultobj = PyInt_FromLong((long)result);
17876 return resultobj;
17877 fail:
17878 return NULL;
17879 }
17880
17881
17882 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17883 PyObject *resultobj;
17884 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17885 wxPrintData *result;
17886 PyObject * obj0 = 0 ;
17887 char *kwnames[] = {
17888 (char *) "self", NULL
17889 };
17890
17891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
17892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17893 {
17894 PyThreadState* __tstate = wxPyBeginAllowThreads();
17895 {
17896 wxPrintData &_result_ref = (arg1)->GetPrintData();
17897 result = (wxPrintData *) &_result_ref;
17898 }
17899
17900 wxPyEndAllowThreads(__tstate);
17901 if (PyErr_Occurred()) SWIG_fail;
17902 }
17903 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
17904 return resultobj;
17905 fail:
17906 return NULL;
17907 }
17908
17909
17910 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17911 PyObject *resultobj;
17912 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17913 wxPrintData *arg2 = 0 ;
17914 PyObject * obj0 = 0 ;
17915 PyObject * obj1 = 0 ;
17916 char *kwnames[] = {
17917 (char *) "self",(char *) "printData", NULL
17918 };
17919
17920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
17921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17922 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17923 if (arg2 == NULL) {
17924 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17925 }
17926 {
17927 PyThreadState* __tstate = wxPyBeginAllowThreads();
17928 (arg1)->SetPrintData((wxPrintData const &)*arg2);
17929
17930 wxPyEndAllowThreads(__tstate);
17931 if (PyErr_Occurred()) SWIG_fail;
17932 }
17933 Py_INCREF(Py_None); resultobj = Py_None;
17934 return resultobj;
17935 fail:
17936 return NULL;
17937 }
17938
17939
17940 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
17941 PyObject *obj;
17942 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17943 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
17944 Py_INCREF(obj);
17945 return Py_BuildValue((char *)"");
17946 }
17947 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17948 PyObject *resultobj;
17949 wxWindow *arg1 = (wxWindow *) 0 ;
17950 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
17951 wxPrintDialog *result;
17952 PyObject * obj0 = 0 ;
17953 PyObject * obj1 = 0 ;
17954 char *kwnames[] = {
17955 (char *) "parent",(char *) "data", NULL
17956 };
17957
17958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
17959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17960 if (obj1) {
17961 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17962 }
17963 {
17964 PyThreadState* __tstate = wxPyBeginAllowThreads();
17965 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
17966
17967 wxPyEndAllowThreads(__tstate);
17968 if (PyErr_Occurred()) SWIG_fail;
17969 }
17970 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialog, 1);
17971 return resultobj;
17972 fail:
17973 return NULL;
17974 }
17975
17976
17977 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17978 PyObject *resultobj;
17979 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
17980 wxPrintDialogData *result;
17981 PyObject * obj0 = 0 ;
17982 char *kwnames[] = {
17983 (char *) "self", NULL
17984 };
17985
17986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
17987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17988 {
17989 PyThreadState* __tstate = wxPyBeginAllowThreads();
17990 {
17991 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
17992 result = (wxPrintDialogData *) &_result_ref;
17993 }
17994
17995 wxPyEndAllowThreads(__tstate);
17996 if (PyErr_Occurred()) SWIG_fail;
17997 }
17998 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
17999 return resultobj;
18000 fail:
18001 return NULL;
18002 }
18003
18004
18005 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18006 PyObject *resultobj;
18007 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
18008 wxDC *result;
18009 PyObject * obj0 = 0 ;
18010 char *kwnames[] = {
18011 (char *) "self", NULL
18012 };
18013
18014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
18015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18016 {
18017 PyThreadState* __tstate = wxPyBeginAllowThreads();
18018 result = (wxDC *)(arg1)->GetPrintDC();
18019
18020 wxPyEndAllowThreads(__tstate);
18021 if (PyErr_Occurred()) SWIG_fail;
18022 }
18023 {
18024 resultobj = wxPyMake_wxObject(result);
18025 }
18026 return resultobj;
18027 fail:
18028 return NULL;
18029 }
18030
18031
18032 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
18033 PyObject *resultobj;
18034 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
18035 int result;
18036 PyObject * obj0 = 0 ;
18037 char *kwnames[] = {
18038 (char *) "self", NULL
18039 };
18040
18041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
18042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18043 {
18044 PyThreadState* __tstate = wxPyBeginAllowThreads();
18045 result = (int)(arg1)->ShowModal();
18046
18047 wxPyEndAllowThreads(__tstate);
18048 if (PyErr_Occurred()) SWIG_fail;
18049 }
18050 resultobj = PyInt_FromLong((long)result);
18051 return resultobj;
18052 fail:
18053 return NULL;
18054 }
18055
18056
18057 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
18058 PyObject *obj;
18059 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18060 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
18061 Py_INCREF(obj);
18062 return Py_BuildValue((char *)"");
18063 }
18064 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
18065 PyObject *resultobj;
18066 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
18067 wxPrinter *result;
18068 PyObject * obj0 = 0 ;
18069 char *kwnames[] = {
18070 (char *) "data", NULL
18071 };
18072
18073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
18074 if (obj0) {
18075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18076 }
18077 {
18078 PyThreadState* __tstate = wxPyBeginAllowThreads();
18079 result = (wxPrinter *)new wxPrinter(arg1);
18080
18081 wxPyEndAllowThreads(__tstate);
18082 if (PyErr_Occurred()) SWIG_fail;
18083 }
18084 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrinter, 1);
18085 return resultobj;
18086 fail:
18087 return NULL;
18088 }
18089
18090
18091 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
18092 PyObject *resultobj;
18093 wxPrinter *arg1 = (wxPrinter *) 0 ;
18094 PyObject * obj0 = 0 ;
18095 char *kwnames[] = {
18096 (char *) "self", NULL
18097 };
18098
18099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
18100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18101 {
18102 PyThreadState* __tstate = wxPyBeginAllowThreads();
18103 delete arg1;
18104
18105 wxPyEndAllowThreads(__tstate);
18106 if (PyErr_Occurred()) SWIG_fail;
18107 }
18108 Py_INCREF(Py_None); resultobj = Py_None;
18109 return resultobj;
18110 fail:
18111 return NULL;
18112 }
18113
18114
18115 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18116 PyObject *resultobj;
18117 wxPrinter *arg1 = (wxPrinter *) 0 ;
18118 wxWindow *arg2 = (wxWindow *) 0 ;
18119 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
18120 PyObject * obj0 = 0 ;
18121 PyObject * obj1 = 0 ;
18122 PyObject * obj2 = 0 ;
18123 char *kwnames[] = {
18124 (char *) "self",(char *) "parent",(char *) "printout", NULL
18125 };
18126
18127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
18128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18129 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18130 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18131 {
18132 PyThreadState* __tstate = wxPyBeginAllowThreads();
18133 (arg1)->CreateAbortWindow(arg2,arg3);
18134
18135 wxPyEndAllowThreads(__tstate);
18136 if (PyErr_Occurred()) SWIG_fail;
18137 }
18138 Py_INCREF(Py_None); resultobj = Py_None;
18139 return resultobj;
18140 fail:
18141 return NULL;
18142 }
18143
18144
18145 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18146 PyObject *resultobj;
18147 wxPrinter *arg1 = (wxPrinter *) 0 ;
18148 wxPrintDialogData *result;
18149 PyObject * obj0 = 0 ;
18150 char *kwnames[] = {
18151 (char *) "self", NULL
18152 };
18153
18154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
18155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18156 {
18157 PyThreadState* __tstate = wxPyBeginAllowThreads();
18158 {
18159 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
18160 result = (wxPrintDialogData *) &_result_ref;
18161 }
18162
18163 wxPyEndAllowThreads(__tstate);
18164 if (PyErr_Occurred()) SWIG_fail;
18165 }
18166 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
18167 return resultobj;
18168 fail:
18169 return NULL;
18170 }
18171
18172
18173 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
18174 PyObject *resultobj;
18175 wxPrinter *arg1 = (wxPrinter *) 0 ;
18176 wxWindow *arg2 = (wxWindow *) 0 ;
18177 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
18178 int arg4 = (int) True ;
18179 bool result;
18180 PyObject * obj0 = 0 ;
18181 PyObject * obj1 = 0 ;
18182 PyObject * obj2 = 0 ;
18183 char *kwnames[] = {
18184 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
18185 };
18186
18187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:Printer_Print",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
18188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18189 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18190 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18191 {
18192 PyThreadState* __tstate = wxPyBeginAllowThreads();
18193 result = (bool)(arg1)->Print(arg2,arg3,arg4);
18194
18195 wxPyEndAllowThreads(__tstate);
18196 if (PyErr_Occurred()) SWIG_fail;
18197 }
18198 resultobj = PyInt_FromLong((long)result);
18199 return resultobj;
18200 fail:
18201 return NULL;
18202 }
18203
18204
18205 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
18206 PyObject *resultobj;
18207 wxPrinter *arg1 = (wxPrinter *) 0 ;
18208 wxWindow *arg2 = (wxWindow *) 0 ;
18209 wxDC *result;
18210 PyObject * obj0 = 0 ;
18211 PyObject * obj1 = 0 ;
18212 char *kwnames[] = {
18213 (char *) "self",(char *) "parent", NULL
18214 };
18215
18216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
18217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18218 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18219 {
18220 PyThreadState* __tstate = wxPyBeginAllowThreads();
18221 result = (wxDC *)(arg1)->PrintDialog(arg2);
18222
18223 wxPyEndAllowThreads(__tstate);
18224 if (PyErr_Occurred()) SWIG_fail;
18225 }
18226 {
18227 resultobj = wxPyMake_wxObject(result);
18228 }
18229 return resultobj;
18230 fail:
18231 return NULL;
18232 }
18233
18234
18235 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
18236 PyObject *resultobj;
18237 wxPrinter *arg1 = (wxPrinter *) 0 ;
18238 wxWindow *arg2 = (wxWindow *) 0 ;
18239 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
18240 wxString *arg4 = 0 ;
18241 bool temp4 = False ;
18242 PyObject * obj0 = 0 ;
18243 PyObject * obj1 = 0 ;
18244 PyObject * obj2 = 0 ;
18245 PyObject * obj3 = 0 ;
18246 char *kwnames[] = {
18247 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
18248 };
18249
18250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18252 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18253 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18254 {
18255 arg4 = wxString_in_helper(obj3);
18256 if (arg4 == NULL) SWIG_fail;
18257 temp4 = True;
18258 }
18259 {
18260 PyThreadState* __tstate = wxPyBeginAllowThreads();
18261 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
18262
18263 wxPyEndAllowThreads(__tstate);
18264 if (PyErr_Occurred()) SWIG_fail;
18265 }
18266 Py_INCREF(Py_None); resultobj = Py_None;
18267 {
18268 if (temp4)
18269 delete arg4;
18270 }
18271 return resultobj;
18272 fail:
18273 {
18274 if (temp4)
18275 delete arg4;
18276 }
18277 return NULL;
18278 }
18279
18280
18281 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
18282 PyObject *resultobj;
18283 wxPrinter *arg1 = (wxPrinter *) 0 ;
18284 wxWindow *arg2 = (wxWindow *) 0 ;
18285 bool result;
18286 PyObject * obj0 = 0 ;
18287 PyObject * obj1 = 0 ;
18288 char *kwnames[] = {
18289 (char *) "self",(char *) "parent", NULL
18290 };
18291
18292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
18293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18294 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18295 {
18296 PyThreadState* __tstate = wxPyBeginAllowThreads();
18297 result = (bool)(arg1)->Setup(arg2);
18298
18299 wxPyEndAllowThreads(__tstate);
18300 if (PyErr_Occurred()) SWIG_fail;
18301 }
18302 resultobj = PyInt_FromLong((long)result);
18303 return resultobj;
18304 fail:
18305 return NULL;
18306 }
18307
18308
18309 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
18310 PyObject *resultobj;
18311 wxPrinter *arg1 = (wxPrinter *) 0 ;
18312 bool result;
18313 PyObject * obj0 = 0 ;
18314 char *kwnames[] = {
18315 (char *) "self", NULL
18316 };
18317
18318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
18319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18320 {
18321 PyThreadState* __tstate = wxPyBeginAllowThreads();
18322 result = (bool)(arg1)->GetAbort();
18323
18324 wxPyEndAllowThreads(__tstate);
18325 if (PyErr_Occurred()) SWIG_fail;
18326 }
18327 resultobj = PyInt_FromLong((long)result);
18328 return resultobj;
18329 fail:
18330 return NULL;
18331 }
18332
18333
18334 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
18335 PyObject *resultobj;
18336 int result;
18337 char *kwnames[] = {
18338 NULL
18339 };
18340
18341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
18342 {
18343 PyThreadState* __tstate = wxPyBeginAllowThreads();
18344 result = (int)wxPrinter::GetLastError();
18345
18346 wxPyEndAllowThreads(__tstate);
18347 if (PyErr_Occurred()) SWIG_fail;
18348 }
18349 resultobj = PyInt_FromLong((long)result);
18350 return resultobj;
18351 fail:
18352 return NULL;
18353 }
18354
18355
18356 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
18357 PyObject *obj;
18358 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18359 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
18360 Py_INCREF(obj);
18361 return Py_BuildValue((char *)"");
18362 }
18363 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
18364 PyObject *resultobj;
18365 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
18366 wxString *arg1 = (wxString *) &arg1_defvalue ;
18367 wxPyPrintout *result;
18368 bool temp1 = False ;
18369 PyObject * obj0 = 0 ;
18370 char *kwnames[] = {
18371 (char *) "title", NULL
18372 };
18373
18374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
18375 if (obj0) {
18376 {
18377 arg1 = wxString_in_helper(obj0);
18378 if (arg1 == NULL) SWIG_fail;
18379 temp1 = True;
18380 }
18381 }
18382 {
18383 PyThreadState* __tstate = wxPyBeginAllowThreads();
18384 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
18385
18386 wxPyEndAllowThreads(__tstate);
18387 if (PyErr_Occurred()) SWIG_fail;
18388 }
18389 {
18390 resultobj = wxPyMake_wxObject(result);
18391 }
18392 {
18393 if (temp1)
18394 delete arg1;
18395 }
18396 return resultobj;
18397 fail:
18398 {
18399 if (temp1)
18400 delete arg1;
18401 }
18402 return NULL;
18403 }
18404
18405
18406 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18407 PyObject *resultobj;
18408 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18409 PyObject *arg2 = (PyObject *) 0 ;
18410 PyObject *arg3 = (PyObject *) 0 ;
18411 PyObject * obj0 = 0 ;
18412 PyObject * obj1 = 0 ;
18413 PyObject * obj2 = 0 ;
18414 char *kwnames[] = {
18415 (char *) "self",(char *) "self",(char *) "_class", NULL
18416 };
18417
18418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18420 arg2 = obj1;
18421 arg3 = obj2;
18422 {
18423 PyThreadState* __tstate = wxPyBeginAllowThreads();
18424 (arg1)->_setCallbackInfo(arg2,arg3);
18425
18426 wxPyEndAllowThreads(__tstate);
18427 if (PyErr_Occurred()) SWIG_fail;
18428 }
18429 Py_INCREF(Py_None); resultobj = Py_None;
18430 return resultobj;
18431 fail:
18432 return NULL;
18433 }
18434
18435
18436 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
18437 PyObject *resultobj;
18438 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18439 wxString result;
18440 PyObject * obj0 = 0 ;
18441 char *kwnames[] = {
18442 (char *) "self", NULL
18443 };
18444
18445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
18446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18447 {
18448 PyThreadState* __tstate = wxPyBeginAllowThreads();
18449 result = ((wxPyPrintout const *)arg1)->GetTitle();
18450
18451 wxPyEndAllowThreads(__tstate);
18452 if (PyErr_Occurred()) SWIG_fail;
18453 }
18454 {
18455 #if wxUSE_UNICODE
18456 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18457 #else
18458 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18459 #endif
18460 }
18461 return resultobj;
18462 fail:
18463 return NULL;
18464 }
18465
18466
18467 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18468 PyObject *resultobj;
18469 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18470 wxDC *result;
18471 PyObject * obj0 = 0 ;
18472 char *kwnames[] = {
18473 (char *) "self", NULL
18474 };
18475
18476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
18477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18478 {
18479 PyThreadState* __tstate = wxPyBeginAllowThreads();
18480 result = (wxDC *)(arg1)->GetDC();
18481
18482 wxPyEndAllowThreads(__tstate);
18483 if (PyErr_Occurred()) SWIG_fail;
18484 }
18485 {
18486 resultobj = wxPyMake_wxObject(result);
18487 }
18488 return resultobj;
18489 fail:
18490 return NULL;
18491 }
18492
18493
18494 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18495 PyObject *resultobj;
18496 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18497 wxDC *arg2 = (wxDC *) 0 ;
18498 PyObject * obj0 = 0 ;
18499 PyObject * obj1 = 0 ;
18500 char *kwnames[] = {
18501 (char *) "self",(char *) "dc", NULL
18502 };
18503
18504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
18505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18506 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18507 {
18508 PyThreadState* __tstate = wxPyBeginAllowThreads();
18509 (arg1)->SetDC(arg2);
18510
18511 wxPyEndAllowThreads(__tstate);
18512 if (PyErr_Occurred()) SWIG_fail;
18513 }
18514 Py_INCREF(Py_None); resultobj = Py_None;
18515 return resultobj;
18516 fail:
18517 return NULL;
18518 }
18519
18520
18521 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
18522 PyObject *resultobj;
18523 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18524 int arg2 ;
18525 int arg3 ;
18526 PyObject * obj0 = 0 ;
18527 char *kwnames[] = {
18528 (char *) "self",(char *) "w",(char *) "h", NULL
18529 };
18530
18531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizePixels",kwnames,&obj0,&arg2,&arg3)) goto fail;
18532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18533 {
18534 PyThreadState* __tstate = wxPyBeginAllowThreads();
18535 (arg1)->SetPageSizePixels(arg2,arg3);
18536
18537 wxPyEndAllowThreads(__tstate);
18538 if (PyErr_Occurred()) SWIG_fail;
18539 }
18540 Py_INCREF(Py_None); resultobj = Py_None;
18541 return resultobj;
18542 fail:
18543 return NULL;
18544 }
18545
18546
18547 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
18548 PyObject *resultobj;
18549 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18550 int *arg2 = (int *) 0 ;
18551 int *arg3 = (int *) 0 ;
18552 int temp2 ;
18553 int temp3 ;
18554 PyObject * obj0 = 0 ;
18555 char *kwnames[] = {
18556 (char *) "self", NULL
18557 };
18558
18559 arg2 = &temp2;
18560 arg3 = &temp3;
18561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
18562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18563 {
18564 PyThreadState* __tstate = wxPyBeginAllowThreads();
18565 (arg1)->GetPageSizePixels(arg2,arg3);
18566
18567 wxPyEndAllowThreads(__tstate);
18568 if (PyErr_Occurred()) SWIG_fail;
18569 }
18570 Py_INCREF(Py_None); resultobj = Py_None;
18571 {
18572 PyObject *o = PyInt_FromLong((long) (*arg2));
18573 resultobj = t_output_helper(resultobj,o);
18574 }
18575 {
18576 PyObject *o = PyInt_FromLong((long) (*arg3));
18577 resultobj = t_output_helper(resultobj,o);
18578 }
18579 return resultobj;
18580 fail:
18581 return NULL;
18582 }
18583
18584
18585 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18586 PyObject *resultobj;
18587 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18588 int arg2 ;
18589 int arg3 ;
18590 PyObject * obj0 = 0 ;
18591 char *kwnames[] = {
18592 (char *) "self",(char *) "w",(char *) "h", NULL
18593 };
18594
18595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizeMM",kwnames,&obj0,&arg2,&arg3)) goto fail;
18596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18597 {
18598 PyThreadState* __tstate = wxPyBeginAllowThreads();
18599 (arg1)->SetPageSizeMM(arg2,arg3);
18600
18601 wxPyEndAllowThreads(__tstate);
18602 if (PyErr_Occurred()) SWIG_fail;
18603 }
18604 Py_INCREF(Py_None); resultobj = Py_None;
18605 return resultobj;
18606 fail:
18607 return NULL;
18608 }
18609
18610
18611 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18612 PyObject *resultobj;
18613 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18614 int *arg2 = (int *) 0 ;
18615 int *arg3 = (int *) 0 ;
18616 int temp2 ;
18617 int temp3 ;
18618 PyObject * obj0 = 0 ;
18619 char *kwnames[] = {
18620 (char *) "self", NULL
18621 };
18622
18623 arg2 = &temp2;
18624 arg3 = &temp3;
18625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
18626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18627 {
18628 PyThreadState* __tstate = wxPyBeginAllowThreads();
18629 (arg1)->GetPageSizeMM(arg2,arg3);
18630
18631 wxPyEndAllowThreads(__tstate);
18632 if (PyErr_Occurred()) SWIG_fail;
18633 }
18634 Py_INCREF(Py_None); resultobj = Py_None;
18635 {
18636 PyObject *o = PyInt_FromLong((long) (*arg2));
18637 resultobj = t_output_helper(resultobj,o);
18638 }
18639 {
18640 PyObject *o = PyInt_FromLong((long) (*arg3));
18641 resultobj = t_output_helper(resultobj,o);
18642 }
18643 return resultobj;
18644 fail:
18645 return NULL;
18646 }
18647
18648
18649 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18650 PyObject *resultobj;
18651 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18652 int arg2 ;
18653 int arg3 ;
18654 PyObject * obj0 = 0 ;
18655 char *kwnames[] = {
18656 (char *) "self",(char *) "x",(char *) "y", NULL
18657 };
18658
18659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIScreen",kwnames,&obj0,&arg2,&arg3)) goto fail;
18660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18661 {
18662 PyThreadState* __tstate = wxPyBeginAllowThreads();
18663 (arg1)->SetPPIScreen(arg2,arg3);
18664
18665 wxPyEndAllowThreads(__tstate);
18666 if (PyErr_Occurred()) SWIG_fail;
18667 }
18668 Py_INCREF(Py_None); resultobj = Py_None;
18669 return resultobj;
18670 fail:
18671 return NULL;
18672 }
18673
18674
18675 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18676 PyObject *resultobj;
18677 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18678 int *arg2 = (int *) 0 ;
18679 int *arg3 = (int *) 0 ;
18680 int temp2 ;
18681 int temp3 ;
18682 PyObject * obj0 = 0 ;
18683 char *kwnames[] = {
18684 (char *) "self", NULL
18685 };
18686
18687 arg2 = &temp2;
18688 arg3 = &temp3;
18689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
18690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18691 {
18692 PyThreadState* __tstate = wxPyBeginAllowThreads();
18693 (arg1)->GetPPIScreen(arg2,arg3);
18694
18695 wxPyEndAllowThreads(__tstate);
18696 if (PyErr_Occurred()) SWIG_fail;
18697 }
18698 Py_INCREF(Py_None); resultobj = Py_None;
18699 {
18700 PyObject *o = PyInt_FromLong((long) (*arg2));
18701 resultobj = t_output_helper(resultobj,o);
18702 }
18703 {
18704 PyObject *o = PyInt_FromLong((long) (*arg3));
18705 resultobj = t_output_helper(resultobj,o);
18706 }
18707 return resultobj;
18708 fail:
18709 return NULL;
18710 }
18711
18712
18713 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18714 PyObject *resultobj;
18715 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18716 int arg2 ;
18717 int arg3 ;
18718 PyObject * obj0 = 0 ;
18719 char *kwnames[] = {
18720 (char *) "self",(char *) "x",(char *) "y", NULL
18721 };
18722
18723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIPrinter",kwnames,&obj0,&arg2,&arg3)) goto fail;
18724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18725 {
18726 PyThreadState* __tstate = wxPyBeginAllowThreads();
18727 (arg1)->SetPPIPrinter(arg2,arg3);
18728
18729 wxPyEndAllowThreads(__tstate);
18730 if (PyErr_Occurred()) SWIG_fail;
18731 }
18732 Py_INCREF(Py_None); resultobj = Py_None;
18733 return resultobj;
18734 fail:
18735 return NULL;
18736 }
18737
18738
18739 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18740 PyObject *resultobj;
18741 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18742 int *arg2 = (int *) 0 ;
18743 int *arg3 = (int *) 0 ;
18744 int temp2 ;
18745 int temp3 ;
18746 PyObject * obj0 = 0 ;
18747 char *kwnames[] = {
18748 (char *) "self", NULL
18749 };
18750
18751 arg2 = &temp2;
18752 arg3 = &temp3;
18753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
18754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18755 {
18756 PyThreadState* __tstate = wxPyBeginAllowThreads();
18757 (arg1)->GetPPIPrinter(arg2,arg3);
18758
18759 wxPyEndAllowThreads(__tstate);
18760 if (PyErr_Occurred()) SWIG_fail;
18761 }
18762 Py_INCREF(Py_None); resultobj = Py_None;
18763 {
18764 PyObject *o = PyInt_FromLong((long) (*arg2));
18765 resultobj = t_output_helper(resultobj,o);
18766 }
18767 {
18768 PyObject *o = PyInt_FromLong((long) (*arg3));
18769 resultobj = t_output_helper(resultobj,o);
18770 }
18771 return resultobj;
18772 fail:
18773 return NULL;
18774 }
18775
18776
18777 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18778 PyObject *resultobj;
18779 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18780 bool result;
18781 PyObject * obj0 = 0 ;
18782 char *kwnames[] = {
18783 (char *) "self", NULL
18784 };
18785
18786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
18787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18788 {
18789 PyThreadState* __tstate = wxPyBeginAllowThreads();
18790 result = (bool)(arg1)->IsPreview();
18791
18792 wxPyEndAllowThreads(__tstate);
18793 if (PyErr_Occurred()) SWIG_fail;
18794 }
18795 resultobj = PyInt_FromLong((long)result);
18796 return resultobj;
18797 fail:
18798 return NULL;
18799 }
18800
18801
18802 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18803 PyObject *resultobj;
18804 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18805 bool arg2 ;
18806 PyObject * obj0 = 0 ;
18807 PyObject * obj1 = 0 ;
18808 char *kwnames[] = {
18809 (char *) "self",(char *) "p", NULL
18810 };
18811
18812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
18813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18814 arg2 = PyInt_AsLong(obj1) ? true : false;
18815 if (PyErr_Occurred()) SWIG_fail;
18816 {
18817 PyThreadState* __tstate = wxPyBeginAllowThreads();
18818 (arg1)->SetIsPreview(arg2);
18819
18820 wxPyEndAllowThreads(__tstate);
18821 if (PyErr_Occurred()) SWIG_fail;
18822 }
18823 Py_INCREF(Py_None); resultobj = Py_None;
18824 return resultobj;
18825 fail:
18826 return NULL;
18827 }
18828
18829
18830 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
18831 PyObject *resultobj;
18832 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18833 int arg2 ;
18834 int arg3 ;
18835 bool result;
18836 PyObject * obj0 = 0 ;
18837 char *kwnames[] = {
18838 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
18839 };
18840
18841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_base_OnBeginDocument",kwnames,&obj0,&arg2,&arg3)) goto fail;
18842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18843 {
18844 PyThreadState* __tstate = wxPyBeginAllowThreads();
18845 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
18846
18847 wxPyEndAllowThreads(__tstate);
18848 if (PyErr_Occurred()) SWIG_fail;
18849 }
18850 resultobj = PyInt_FromLong((long)result);
18851 return resultobj;
18852 fail:
18853 return NULL;
18854 }
18855
18856
18857 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
18858 PyObject *resultobj;
18859 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18860 PyObject * obj0 = 0 ;
18861 char *kwnames[] = {
18862 (char *) "self", NULL
18863 };
18864
18865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
18866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18867 {
18868 PyThreadState* __tstate = wxPyBeginAllowThreads();
18869 (arg1)->base_OnEndDocument();
18870
18871 wxPyEndAllowThreads(__tstate);
18872 if (PyErr_Occurred()) SWIG_fail;
18873 }
18874 Py_INCREF(Py_None); resultobj = Py_None;
18875 return resultobj;
18876 fail:
18877 return NULL;
18878 }
18879
18880
18881 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18882 PyObject *resultobj;
18883 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18884 PyObject * obj0 = 0 ;
18885 char *kwnames[] = {
18886 (char *) "self", NULL
18887 };
18888
18889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
18890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18891 {
18892 PyThreadState* __tstate = wxPyBeginAllowThreads();
18893 (arg1)->base_OnBeginPrinting();
18894
18895 wxPyEndAllowThreads(__tstate);
18896 if (PyErr_Occurred()) SWIG_fail;
18897 }
18898 Py_INCREF(Py_None); resultobj = Py_None;
18899 return resultobj;
18900 fail:
18901 return NULL;
18902 }
18903
18904
18905 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18906 PyObject *resultobj;
18907 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18908 PyObject * obj0 = 0 ;
18909 char *kwnames[] = {
18910 (char *) "self", NULL
18911 };
18912
18913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
18914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18915 {
18916 PyThreadState* __tstate = wxPyBeginAllowThreads();
18917 (arg1)->base_OnEndPrinting();
18918
18919 wxPyEndAllowThreads(__tstate);
18920 if (PyErr_Occurred()) SWIG_fail;
18921 }
18922 Py_INCREF(Py_None); resultobj = Py_None;
18923 return resultobj;
18924 fail:
18925 return NULL;
18926 }
18927
18928
18929 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18930 PyObject *resultobj;
18931 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18932 PyObject * obj0 = 0 ;
18933 char *kwnames[] = {
18934 (char *) "self", NULL
18935 };
18936
18937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
18938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18939 {
18940 PyThreadState* __tstate = wxPyBeginAllowThreads();
18941 (arg1)->base_OnPreparePrinting();
18942
18943 wxPyEndAllowThreads(__tstate);
18944 if (PyErr_Occurred()) SWIG_fail;
18945 }
18946 Py_INCREF(Py_None); resultobj = Py_None;
18947 return resultobj;
18948 fail:
18949 return NULL;
18950 }
18951
18952
18953 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18954 PyObject *resultobj;
18955 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18956 int arg2 ;
18957 bool result;
18958 PyObject * obj0 = 0 ;
18959 char *kwnames[] = {
18960 (char *) "self",(char *) "page", NULL
18961 };
18962
18963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Printout_base_HasPage",kwnames,&obj0,&arg2)) goto fail;
18964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18965 {
18966 PyThreadState* __tstate = wxPyBeginAllowThreads();
18967 result = (bool)(arg1)->base_HasPage(arg2);
18968
18969 wxPyEndAllowThreads(__tstate);
18970 if (PyErr_Occurred()) SWIG_fail;
18971 }
18972 resultobj = PyInt_FromLong((long)result);
18973 return resultobj;
18974 fail:
18975 return NULL;
18976 }
18977
18978
18979 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18980 PyObject *resultobj;
18981 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18982 int *arg2 = (int *) 0 ;
18983 int *arg3 = (int *) 0 ;
18984 int *arg4 = (int *) 0 ;
18985 int *arg5 = (int *) 0 ;
18986 int temp2 ;
18987 int temp3 ;
18988 int temp4 ;
18989 int temp5 ;
18990 PyObject * obj0 = 0 ;
18991 char *kwnames[] = {
18992 (char *) "self", NULL
18993 };
18994
18995 arg2 = &temp2;
18996 arg3 = &temp3;
18997 arg4 = &temp4;
18998 arg5 = &temp5;
18999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
19000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19001 {
19002 PyThreadState* __tstate = wxPyBeginAllowThreads();
19003 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
19004
19005 wxPyEndAllowThreads(__tstate);
19006 if (PyErr_Occurred()) SWIG_fail;
19007 }
19008 Py_INCREF(Py_None); resultobj = Py_None;
19009 {
19010 PyObject *o = PyInt_FromLong((long) (*arg2));
19011 resultobj = t_output_helper(resultobj,o);
19012 }
19013 {
19014 PyObject *o = PyInt_FromLong((long) (*arg3));
19015 resultobj = t_output_helper(resultobj,o);
19016 }
19017 {
19018 PyObject *o = PyInt_FromLong((long) (*arg4));
19019 resultobj = t_output_helper(resultobj,o);
19020 }
19021 {
19022 PyObject *o = PyInt_FromLong((long) (*arg5));
19023 resultobj = t_output_helper(resultobj,o);
19024 }
19025 return resultobj;
19026 fail:
19027 return NULL;
19028 }
19029
19030
19031 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
19032 PyObject *obj;
19033 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19034 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
19035 Py_INCREF(obj);
19036 return Py_BuildValue((char *)"");
19037 }
19038 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19039 PyObject *resultobj;
19040 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19041 wxWindow *arg2 = (wxWindow *) 0 ;
19042 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19043 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19044 wxSize const &arg4_defvalue = wxDefaultSize ;
19045 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19046 long arg5 = (long) 0 ;
19047 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
19048 wxString *arg6 = (wxString *) &arg6_defvalue ;
19049 wxPreviewCanvas *result;
19050 wxPoint temp3 ;
19051 wxSize temp4 ;
19052 bool temp6 = False ;
19053 PyObject * obj0 = 0 ;
19054 PyObject * obj1 = 0 ;
19055 PyObject * obj2 = 0 ;
19056 PyObject * obj3 = 0 ;
19057 PyObject * obj5 = 0 ;
19058 char *kwnames[] = {
19059 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19060 };
19061
19062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
19063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19064 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19065 if (obj2) {
19066 {
19067 arg3 = &temp3;
19068 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19069 }
19070 }
19071 if (obj3) {
19072 {
19073 arg4 = &temp4;
19074 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19075 }
19076 }
19077 if (obj5) {
19078 {
19079 arg6 = wxString_in_helper(obj5);
19080 if (arg6 == NULL) SWIG_fail;
19081 temp6 = True;
19082 }
19083 }
19084 {
19085 PyThreadState* __tstate = wxPyBeginAllowThreads();
19086 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19087
19088 wxPyEndAllowThreads(__tstate);
19089 if (PyErr_Occurred()) SWIG_fail;
19090 }
19091 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 1);
19092 {
19093 if (temp6)
19094 delete arg6;
19095 }
19096 return resultobj;
19097 fail:
19098 {
19099 if (temp6)
19100 delete arg6;
19101 }
19102 return NULL;
19103 }
19104
19105
19106 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
19107 PyObject *obj;
19108 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19109 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
19110 Py_INCREF(obj);
19111 return Py_BuildValue((char *)"");
19112 }
19113 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19114 PyObject *resultobj;
19115 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19116 wxFrame *arg2 = (wxFrame *) 0 ;
19117 wxString *arg3 = 0 ;
19118 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19119 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19120 wxSize const &arg5_defvalue = wxDefaultSize ;
19121 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19122 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
19123 wxString const &arg7_defvalue = wxPyFrameNameStr ;
19124 wxString *arg7 = (wxString *) &arg7_defvalue ;
19125 wxPreviewFrame *result;
19126 bool temp3 = False ;
19127 wxPoint temp4 ;
19128 wxSize temp5 ;
19129 bool temp7 = False ;
19130 PyObject * obj0 = 0 ;
19131 PyObject * obj1 = 0 ;
19132 PyObject * obj2 = 0 ;
19133 PyObject * obj3 = 0 ;
19134 PyObject * obj4 = 0 ;
19135 PyObject * obj6 = 0 ;
19136 char *kwnames[] = {
19137 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19138 };
19139
19140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
19141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19142 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19143 {
19144 arg3 = wxString_in_helper(obj2);
19145 if (arg3 == NULL) SWIG_fail;
19146 temp3 = True;
19147 }
19148 if (obj3) {
19149 {
19150 arg4 = &temp4;
19151 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19152 }
19153 }
19154 if (obj4) {
19155 {
19156 arg5 = &temp5;
19157 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19158 }
19159 }
19160 if (obj6) {
19161 {
19162 arg7 = wxString_in_helper(obj6);
19163 if (arg7 == NULL) SWIG_fail;
19164 temp7 = True;
19165 }
19166 }
19167 {
19168 PyThreadState* __tstate = wxPyBeginAllowThreads();
19169 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19170
19171 wxPyEndAllowThreads(__tstate);
19172 if (PyErr_Occurred()) SWIG_fail;
19173 }
19174 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewFrame, 1);
19175 {
19176 if (temp3)
19177 delete arg3;
19178 }
19179 {
19180 if (temp7)
19181 delete arg7;
19182 }
19183 return resultobj;
19184 fail:
19185 {
19186 if (temp3)
19187 delete arg3;
19188 }
19189 {
19190 if (temp7)
19191 delete arg7;
19192 }
19193 return NULL;
19194 }
19195
19196
19197 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
19198 PyObject *resultobj;
19199 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19200 PyObject * obj0 = 0 ;
19201 char *kwnames[] = {
19202 (char *) "self", NULL
19203 };
19204
19205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
19206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19207 {
19208 PyThreadState* __tstate = wxPyBeginAllowThreads();
19209 (arg1)->Initialize();
19210
19211 wxPyEndAllowThreads(__tstate);
19212 if (PyErr_Occurred()) SWIG_fail;
19213 }
19214 Py_INCREF(Py_None); resultobj = Py_None;
19215 return resultobj;
19216 fail:
19217 return NULL;
19218 }
19219
19220
19221 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19222 PyObject *resultobj;
19223 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19224 PyObject * obj0 = 0 ;
19225 char *kwnames[] = {
19226 (char *) "self", NULL
19227 };
19228
19229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
19230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19231 {
19232 PyThreadState* __tstate = wxPyBeginAllowThreads();
19233 (arg1)->CreateControlBar();
19234
19235 wxPyEndAllowThreads(__tstate);
19236 if (PyErr_Occurred()) SWIG_fail;
19237 }
19238 Py_INCREF(Py_None); resultobj = Py_None;
19239 return resultobj;
19240 fail:
19241 return NULL;
19242 }
19243
19244
19245 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19246 PyObject *resultobj;
19247 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19248 PyObject * obj0 = 0 ;
19249 char *kwnames[] = {
19250 (char *) "self", NULL
19251 };
19252
19253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
19254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19255 {
19256 PyThreadState* __tstate = wxPyBeginAllowThreads();
19257 (arg1)->CreateCanvas();
19258
19259 wxPyEndAllowThreads(__tstate);
19260 if (PyErr_Occurred()) SWIG_fail;
19261 }
19262 Py_INCREF(Py_None); resultobj = Py_None;
19263 return resultobj;
19264 fail:
19265 return NULL;
19266 }
19267
19268
19269 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19270 PyObject *resultobj;
19271 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19272 wxPreviewControlBar *result;
19273 PyObject * obj0 = 0 ;
19274 char *kwnames[] = {
19275 (char *) "self", NULL
19276 };
19277
19278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
19279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19280 {
19281 PyThreadState* __tstate = wxPyBeginAllowThreads();
19282 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
19283
19284 wxPyEndAllowThreads(__tstate);
19285 if (PyErr_Occurred()) SWIG_fail;
19286 }
19287 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 0);
19288 return resultobj;
19289 fail:
19290 return NULL;
19291 }
19292
19293
19294 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
19295 PyObject *obj;
19296 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19297 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
19298 Py_INCREF(obj);
19299 return Py_BuildValue((char *)"");
19300 }
19301 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19302 PyObject *resultobj;
19303 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19304 long arg2 ;
19305 wxWindow *arg3 = (wxWindow *) 0 ;
19306 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19307 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19308 wxSize const &arg5_defvalue = wxDefaultSize ;
19309 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19310 long arg6 = (long) wxTAB_TRAVERSAL ;
19311 wxString const &arg7_defvalue = wxPyPanelNameStr ;
19312 wxString *arg7 = (wxString *) &arg7_defvalue ;
19313 wxPreviewControlBar *result;
19314 wxPoint temp4 ;
19315 wxSize temp5 ;
19316 bool temp7 = False ;
19317 PyObject * obj0 = 0 ;
19318 PyObject * obj2 = 0 ;
19319 PyObject * obj3 = 0 ;
19320 PyObject * obj4 = 0 ;
19321 PyObject * obj6 = 0 ;
19322 char *kwnames[] = {
19323 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19324 };
19325
19326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
19327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19328 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19329 if (obj3) {
19330 {
19331 arg4 = &temp4;
19332 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19333 }
19334 }
19335 if (obj4) {
19336 {
19337 arg5 = &temp5;
19338 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19339 }
19340 }
19341 if (obj6) {
19342 {
19343 arg7 = wxString_in_helper(obj6);
19344 if (arg7 == NULL) SWIG_fail;
19345 temp7 = True;
19346 }
19347 }
19348 {
19349 PyThreadState* __tstate = wxPyBeginAllowThreads();
19350 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19351
19352 wxPyEndAllowThreads(__tstate);
19353 if (PyErr_Occurred()) SWIG_fail;
19354 }
19355 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 1);
19356 {
19357 if (temp7)
19358 delete arg7;
19359 }
19360 return resultobj;
19361 fail:
19362 {
19363 if (temp7)
19364 delete arg7;
19365 }
19366 return NULL;
19367 }
19368
19369
19370 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19371 PyObject *resultobj;
19372 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19373 int result;
19374 PyObject * obj0 = 0 ;
19375 char *kwnames[] = {
19376 (char *) "self", NULL
19377 };
19378
19379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
19380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19381 {
19382 PyThreadState* __tstate = wxPyBeginAllowThreads();
19383 result = (int)(arg1)->GetZoomControl();
19384
19385 wxPyEndAllowThreads(__tstate);
19386 if (PyErr_Occurred()) SWIG_fail;
19387 }
19388 resultobj = PyInt_FromLong((long)result);
19389 return resultobj;
19390 fail:
19391 return NULL;
19392 }
19393
19394
19395 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19396 PyObject *resultobj;
19397 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19398 int arg2 ;
19399 PyObject * obj0 = 0 ;
19400 char *kwnames[] = {
19401 (char *) "self",(char *) "zoom", NULL
19402 };
19403
19404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PreviewControlBar_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
19405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19406 {
19407 PyThreadState* __tstate = wxPyBeginAllowThreads();
19408 (arg1)->SetZoomControl(arg2);
19409
19410 wxPyEndAllowThreads(__tstate);
19411 if (PyErr_Occurred()) SWIG_fail;
19412 }
19413 Py_INCREF(Py_None); resultobj = Py_None;
19414 return resultobj;
19415 fail:
19416 return NULL;
19417 }
19418
19419
19420 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19421 PyObject *resultobj;
19422 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19423 wxPrintPreview *result;
19424 PyObject * obj0 = 0 ;
19425 char *kwnames[] = {
19426 (char *) "self", NULL
19427 };
19428
19429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
19430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19431 {
19432 PyThreadState* __tstate = wxPyBeginAllowThreads();
19433 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
19434
19435 wxPyEndAllowThreads(__tstate);
19436 if (PyErr_Occurred()) SWIG_fail;
19437 }
19438 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 0);
19439 return resultobj;
19440 fail:
19441 return NULL;
19442 }
19443
19444
19445 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
19446 PyObject *resultobj;
19447 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19448 PyObject * obj0 = 0 ;
19449 char *kwnames[] = {
19450 (char *) "self", NULL
19451 };
19452
19453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
19454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19455 {
19456 PyThreadState* __tstate = wxPyBeginAllowThreads();
19457 (arg1)->OnNext();
19458
19459 wxPyEndAllowThreads(__tstate);
19460 if (PyErr_Occurred()) SWIG_fail;
19461 }
19462 Py_INCREF(Py_None); resultobj = Py_None;
19463 return resultobj;
19464 fail:
19465 return NULL;
19466 }
19467
19468
19469 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
19470 PyObject *resultobj;
19471 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19472 PyObject * obj0 = 0 ;
19473 char *kwnames[] = {
19474 (char *) "self", NULL
19475 };
19476
19477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
19478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19479 {
19480 PyThreadState* __tstate = wxPyBeginAllowThreads();
19481 (arg1)->OnPrevious();
19482
19483 wxPyEndAllowThreads(__tstate);
19484 if (PyErr_Occurred()) SWIG_fail;
19485 }
19486 Py_INCREF(Py_None); resultobj = Py_None;
19487 return resultobj;
19488 fail:
19489 return NULL;
19490 }
19491
19492
19493 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
19494 PyObject *resultobj;
19495 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19496 PyObject * obj0 = 0 ;
19497 char *kwnames[] = {
19498 (char *) "self", NULL
19499 };
19500
19501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
19502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19503 {
19504 PyThreadState* __tstate = wxPyBeginAllowThreads();
19505 (arg1)->OnFirst();
19506
19507 wxPyEndAllowThreads(__tstate);
19508 if (PyErr_Occurred()) SWIG_fail;
19509 }
19510 Py_INCREF(Py_None); resultobj = Py_None;
19511 return resultobj;
19512 fail:
19513 return NULL;
19514 }
19515
19516
19517 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
19518 PyObject *resultobj;
19519 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19520 PyObject * obj0 = 0 ;
19521 char *kwnames[] = {
19522 (char *) "self", NULL
19523 };
19524
19525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
19526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19527 {
19528 PyThreadState* __tstate = wxPyBeginAllowThreads();
19529 (arg1)->OnLast();
19530
19531 wxPyEndAllowThreads(__tstate);
19532 if (PyErr_Occurred()) SWIG_fail;
19533 }
19534 Py_INCREF(Py_None); resultobj = Py_None;
19535 return resultobj;
19536 fail:
19537 return NULL;
19538 }
19539
19540
19541 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
19542 PyObject *resultobj;
19543 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19544 PyObject * obj0 = 0 ;
19545 char *kwnames[] = {
19546 (char *) "self", NULL
19547 };
19548
19549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
19550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19551 {
19552 PyThreadState* __tstate = wxPyBeginAllowThreads();
19553 (arg1)->OnGoto();
19554
19555 wxPyEndAllowThreads(__tstate);
19556 if (PyErr_Occurred()) SWIG_fail;
19557 }
19558 Py_INCREF(Py_None); resultobj = Py_None;
19559 return resultobj;
19560 fail:
19561 return NULL;
19562 }
19563
19564
19565 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
19566 PyObject *obj;
19567 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19568 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
19569 Py_INCREF(obj);
19570 return Py_BuildValue((char *)"");
19571 }
19572 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19573 PyObject *resultobj;
19574 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19575 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19576 wxPrintData *arg3 = (wxPrintData *) NULL ;
19577 wxPrintPreview *result;
19578 PyObject * obj0 = 0 ;
19579 PyObject * obj1 = 0 ;
19580 PyObject * obj2 = 0 ;
19581 char *kwnames[] = {
19582 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19583 };
19584
19585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
19586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19587 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19588 if (obj2) {
19589 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19590 }
19591 {
19592 PyThreadState* __tstate = wxPyBeginAllowThreads();
19593 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
19594
19595 wxPyEndAllowThreads(__tstate);
19596 if (PyErr_Occurred()) SWIG_fail;
19597 }
19598 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 1);
19599 return resultobj;
19600 fail:
19601 return NULL;
19602 }
19603
19604
19605 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19606 PyObject *resultobj;
19607 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19608 int arg2 ;
19609 bool result;
19610 PyObject * obj0 = 0 ;
19611 char *kwnames[] = {
19612 (char *) "self",(char *) "pageNum", NULL
19613 };
19614
19615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
19616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19617 {
19618 PyThreadState* __tstate = wxPyBeginAllowThreads();
19619 result = (bool)(arg1)->SetCurrentPage(arg2);
19620
19621 wxPyEndAllowThreads(__tstate);
19622 if (PyErr_Occurred()) SWIG_fail;
19623 }
19624 resultobj = PyInt_FromLong((long)result);
19625 return resultobj;
19626 fail:
19627 return NULL;
19628 }
19629
19630
19631 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19632 PyObject *resultobj;
19633 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19634 int result;
19635 PyObject * obj0 = 0 ;
19636 char *kwnames[] = {
19637 (char *) "self", NULL
19638 };
19639
19640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
19641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19642 {
19643 PyThreadState* __tstate = wxPyBeginAllowThreads();
19644 result = (int)(arg1)->GetCurrentPage();
19645
19646 wxPyEndAllowThreads(__tstate);
19647 if (PyErr_Occurred()) SWIG_fail;
19648 }
19649 resultobj = PyInt_FromLong((long)result);
19650 return resultobj;
19651 fail:
19652 return NULL;
19653 }
19654
19655
19656 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19657 PyObject *resultobj;
19658 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19659 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19660 PyObject * obj0 = 0 ;
19661 PyObject * obj1 = 0 ;
19662 char *kwnames[] = {
19663 (char *) "self",(char *) "printout", NULL
19664 };
19665
19666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
19667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19668 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19669 {
19670 PyThreadState* __tstate = wxPyBeginAllowThreads();
19671 (arg1)->SetPrintout(arg2);
19672
19673 wxPyEndAllowThreads(__tstate);
19674 if (PyErr_Occurred()) SWIG_fail;
19675 }
19676 Py_INCREF(Py_None); resultobj = Py_None;
19677 return resultobj;
19678 fail:
19679 return NULL;
19680 }
19681
19682
19683 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19684 PyObject *resultobj;
19685 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19686 wxPyPrintout *result;
19687 PyObject * obj0 = 0 ;
19688 char *kwnames[] = {
19689 (char *) "self", NULL
19690 };
19691
19692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
19693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19694 {
19695 PyThreadState* __tstate = wxPyBeginAllowThreads();
19696 result = (wxPyPrintout *)(arg1)->GetPrintout();
19697
19698 wxPyEndAllowThreads(__tstate);
19699 if (PyErr_Occurred()) SWIG_fail;
19700 }
19701 {
19702 resultobj = wxPyMake_wxObject(result);
19703 }
19704 return resultobj;
19705 fail:
19706 return NULL;
19707 }
19708
19709
19710 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
19711 PyObject *resultobj;
19712 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19713 wxPyPrintout *result;
19714 PyObject * obj0 = 0 ;
19715 char *kwnames[] = {
19716 (char *) "self", NULL
19717 };
19718
19719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
19720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19721 {
19722 PyThreadState* __tstate = wxPyBeginAllowThreads();
19723 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
19724
19725 wxPyEndAllowThreads(__tstate);
19726 if (PyErr_Occurred()) SWIG_fail;
19727 }
19728 {
19729 resultobj = wxPyMake_wxObject(result);
19730 }
19731 return resultobj;
19732 fail:
19733 return NULL;
19734 }
19735
19736
19737 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19738 PyObject *resultobj;
19739 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19740 wxFrame *arg2 = (wxFrame *) 0 ;
19741 PyObject * obj0 = 0 ;
19742 PyObject * obj1 = 0 ;
19743 char *kwnames[] = {
19744 (char *) "self",(char *) "frame", NULL
19745 };
19746
19747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
19748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19749 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19750 {
19751 PyThreadState* __tstate = wxPyBeginAllowThreads();
19752 (arg1)->SetFrame(arg2);
19753
19754 wxPyEndAllowThreads(__tstate);
19755 if (PyErr_Occurred()) SWIG_fail;
19756 }
19757 Py_INCREF(Py_None); resultobj = Py_None;
19758 return resultobj;
19759 fail:
19760 return NULL;
19761 }
19762
19763
19764 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19765 PyObject *resultobj;
19766 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19767 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19768 PyObject * obj0 = 0 ;
19769 PyObject * obj1 = 0 ;
19770 char *kwnames[] = {
19771 (char *) "self",(char *) "canvas", NULL
19772 };
19773
19774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
19775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19776 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19777 {
19778 PyThreadState* __tstate = wxPyBeginAllowThreads();
19779 (arg1)->SetCanvas(arg2);
19780
19781 wxPyEndAllowThreads(__tstate);
19782 if (PyErr_Occurred()) SWIG_fail;
19783 }
19784 Py_INCREF(Py_None); resultobj = Py_None;
19785 return resultobj;
19786 fail:
19787 return NULL;
19788 }
19789
19790
19791 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19792 PyObject *resultobj;
19793 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19794 wxFrame *result;
19795 PyObject * obj0 = 0 ;
19796 char *kwnames[] = {
19797 (char *) "self", NULL
19798 };
19799
19800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
19801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19802 {
19803 PyThreadState* __tstate = wxPyBeginAllowThreads();
19804 result = (wxFrame *)(arg1)->GetFrame();
19805
19806 wxPyEndAllowThreads(__tstate);
19807 if (PyErr_Occurred()) SWIG_fail;
19808 }
19809 {
19810 resultobj = wxPyMake_wxObject(result);
19811 }
19812 return resultobj;
19813 fail:
19814 return NULL;
19815 }
19816
19817
19818 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19819 PyObject *resultobj;
19820 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19821 wxPreviewCanvas *result;
19822 PyObject * obj0 = 0 ;
19823 char *kwnames[] = {
19824 (char *) "self", NULL
19825 };
19826
19827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
19828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19829 {
19830 PyThreadState* __tstate = wxPyBeginAllowThreads();
19831 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
19832
19833 wxPyEndAllowThreads(__tstate);
19834 if (PyErr_Occurred()) SWIG_fail;
19835 }
19836 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 0);
19837 return resultobj;
19838 fail:
19839 return NULL;
19840 }
19841
19842
19843 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19844 PyObject *resultobj;
19845 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19846 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19847 wxDC *arg3 = 0 ;
19848 bool result;
19849 PyObject * obj0 = 0 ;
19850 PyObject * obj1 = 0 ;
19851 PyObject * obj2 = 0 ;
19852 char *kwnames[] = {
19853 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19854 };
19855
19856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
19857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19858 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19859 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19860 if (arg3 == NULL) {
19861 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19862 }
19863 {
19864 PyThreadState* __tstate = wxPyBeginAllowThreads();
19865 result = (bool)(arg1)->PaintPage(arg2,*arg3);
19866
19867 wxPyEndAllowThreads(__tstate);
19868 if (PyErr_Occurred()) SWIG_fail;
19869 }
19870 resultobj = PyInt_FromLong((long)result);
19871 return resultobj;
19872 fail:
19873 return NULL;
19874 }
19875
19876
19877 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19878 PyObject *resultobj;
19879 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19880 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19881 wxDC *arg3 = 0 ;
19882 bool result;
19883 PyObject * obj0 = 0 ;
19884 PyObject * obj1 = 0 ;
19885 PyObject * obj2 = 0 ;
19886 char *kwnames[] = {
19887 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19888 };
19889
19890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
19891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19892 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19893 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19894 if (arg3 == NULL) {
19895 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19896 }
19897 {
19898 PyThreadState* __tstate = wxPyBeginAllowThreads();
19899 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
19900
19901 wxPyEndAllowThreads(__tstate);
19902 if (PyErr_Occurred()) SWIG_fail;
19903 }
19904 resultobj = PyInt_FromLong((long)result);
19905 return resultobj;
19906 fail:
19907 return NULL;
19908 }
19909
19910
19911 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19912 PyObject *resultobj;
19913 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19914 int arg2 ;
19915 bool result;
19916 PyObject * obj0 = 0 ;
19917 char *kwnames[] = {
19918 (char *) "self",(char *) "pageNum", NULL
19919 };
19920
19921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_RenderPage",kwnames,&obj0,&arg2)) goto fail;
19922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19923 {
19924 PyThreadState* __tstate = wxPyBeginAllowThreads();
19925 result = (bool)(arg1)->RenderPage(arg2);
19926
19927 wxPyEndAllowThreads(__tstate);
19928 if (PyErr_Occurred()) SWIG_fail;
19929 }
19930 resultobj = PyInt_FromLong((long)result);
19931 return resultobj;
19932 fail:
19933 return NULL;
19934 }
19935
19936
19937 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
19938 PyObject *resultobj;
19939 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19940 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19941 PyObject * obj0 = 0 ;
19942 PyObject * obj1 = 0 ;
19943 char *kwnames[] = {
19944 (char *) "self",(char *) "canvas", NULL
19945 };
19946
19947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
19948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19949 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19950 {
19951 PyThreadState* __tstate = wxPyBeginAllowThreads();
19952 (arg1)->AdjustScrollbars(arg2);
19953
19954 wxPyEndAllowThreads(__tstate);
19955 if (PyErr_Occurred()) SWIG_fail;
19956 }
19957 Py_INCREF(Py_None); resultobj = Py_None;
19958 return resultobj;
19959 fail:
19960 return NULL;
19961 }
19962
19963
19964 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19965 PyObject *resultobj;
19966 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19967 wxPrintDialogData *result;
19968 PyObject * obj0 = 0 ;
19969 char *kwnames[] = {
19970 (char *) "self", NULL
19971 };
19972
19973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
19974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19975 {
19976 PyThreadState* __tstate = wxPyBeginAllowThreads();
19977 {
19978 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
19979 result = (wxPrintDialogData *) &_result_ref;
19980 }
19981
19982 wxPyEndAllowThreads(__tstate);
19983 if (PyErr_Occurred()) SWIG_fail;
19984 }
19985 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
19986 return resultobj;
19987 fail:
19988 return NULL;
19989 }
19990
19991
19992 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
19993 PyObject *resultobj;
19994 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19995 int arg2 ;
19996 PyObject * obj0 = 0 ;
19997 char *kwnames[] = {
19998 (char *) "self",(char *) "percent", NULL
19999 };
20000
20001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetZoom",kwnames,&obj0,&arg2)) goto fail;
20002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20003 {
20004 PyThreadState* __tstate = wxPyBeginAllowThreads();
20005 (arg1)->SetZoom(arg2);
20006
20007 wxPyEndAllowThreads(__tstate);
20008 if (PyErr_Occurred()) SWIG_fail;
20009 }
20010 Py_INCREF(Py_None); resultobj = Py_None;
20011 return resultobj;
20012 fail:
20013 return NULL;
20014 }
20015
20016
20017 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20018 PyObject *resultobj;
20019 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20020 int result;
20021 PyObject * obj0 = 0 ;
20022 char *kwnames[] = {
20023 (char *) "self", NULL
20024 };
20025
20026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
20027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20028 {
20029 PyThreadState* __tstate = wxPyBeginAllowThreads();
20030 result = (int)(arg1)->GetZoom();
20031
20032 wxPyEndAllowThreads(__tstate);
20033 if (PyErr_Occurred()) SWIG_fail;
20034 }
20035 resultobj = PyInt_FromLong((long)result);
20036 return resultobj;
20037 fail:
20038 return NULL;
20039 }
20040
20041
20042 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20043 PyObject *resultobj;
20044 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20045 int result;
20046 PyObject * obj0 = 0 ;
20047 char *kwnames[] = {
20048 (char *) "self", NULL
20049 };
20050
20051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
20052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20053 {
20054 PyThreadState* __tstate = wxPyBeginAllowThreads();
20055 result = (int)(arg1)->GetMaxPage();
20056
20057 wxPyEndAllowThreads(__tstate);
20058 if (PyErr_Occurred()) SWIG_fail;
20059 }
20060 resultobj = PyInt_FromLong((long)result);
20061 return resultobj;
20062 fail:
20063 return NULL;
20064 }
20065
20066
20067 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20068 PyObject *resultobj;
20069 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20070 int result;
20071 PyObject * obj0 = 0 ;
20072 char *kwnames[] = {
20073 (char *) "self", NULL
20074 };
20075
20076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
20077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20078 {
20079 PyThreadState* __tstate = wxPyBeginAllowThreads();
20080 result = (int)(arg1)->GetMinPage();
20081
20082 wxPyEndAllowThreads(__tstate);
20083 if (PyErr_Occurred()) SWIG_fail;
20084 }
20085 resultobj = PyInt_FromLong((long)result);
20086 return resultobj;
20087 fail:
20088 return NULL;
20089 }
20090
20091
20092 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
20093 PyObject *resultobj;
20094 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20095 bool result;
20096 PyObject * obj0 = 0 ;
20097 char *kwnames[] = {
20098 (char *) "self", NULL
20099 };
20100
20101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
20102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20103 {
20104 PyThreadState* __tstate = wxPyBeginAllowThreads();
20105 result = (bool)(arg1)->Ok();
20106
20107 wxPyEndAllowThreads(__tstate);
20108 if (PyErr_Occurred()) SWIG_fail;
20109 }
20110 resultobj = PyInt_FromLong((long)result);
20111 return resultobj;
20112 fail:
20113 return NULL;
20114 }
20115
20116
20117 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
20118 PyObject *resultobj;
20119 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20120 bool arg2 ;
20121 PyObject * obj0 = 0 ;
20122 PyObject * obj1 = 0 ;
20123 char *kwnames[] = {
20124 (char *) "self",(char *) "ok", NULL
20125 };
20126
20127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
20128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20129 arg2 = PyInt_AsLong(obj1) ? true : false;
20130 if (PyErr_Occurred()) SWIG_fail;
20131 {
20132 PyThreadState* __tstate = wxPyBeginAllowThreads();
20133 (arg1)->SetOk(arg2);
20134
20135 wxPyEndAllowThreads(__tstate);
20136 if (PyErr_Occurred()) SWIG_fail;
20137 }
20138 Py_INCREF(Py_None); resultobj = Py_None;
20139 return resultobj;
20140 fail:
20141 return NULL;
20142 }
20143
20144
20145 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
20146 PyObject *resultobj;
20147 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20148 bool arg2 ;
20149 bool result;
20150 PyObject * obj0 = 0 ;
20151 PyObject * obj1 = 0 ;
20152 char *kwnames[] = {
20153 (char *) "self",(char *) "interactive", NULL
20154 };
20155
20156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
20157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20158 arg2 = PyInt_AsLong(obj1) ? true : false;
20159 if (PyErr_Occurred()) SWIG_fail;
20160 {
20161 PyThreadState* __tstate = wxPyBeginAllowThreads();
20162 result = (bool)(arg1)->Print(arg2);
20163
20164 wxPyEndAllowThreads(__tstate);
20165 if (PyErr_Occurred()) SWIG_fail;
20166 }
20167 resultobj = PyInt_FromLong((long)result);
20168 return resultobj;
20169 fail:
20170 return NULL;
20171 }
20172
20173
20174 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
20175 PyObject *resultobj;
20176 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20177 PyObject * obj0 = 0 ;
20178 char *kwnames[] = {
20179 (char *) "self", NULL
20180 };
20181
20182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
20183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20184 {
20185 PyThreadState* __tstate = wxPyBeginAllowThreads();
20186 (arg1)->DetermineScaling();
20187
20188 wxPyEndAllowThreads(__tstate);
20189 if (PyErr_Occurred()) SWIG_fail;
20190 }
20191 Py_INCREF(Py_None); resultobj = Py_None;
20192 return resultobj;
20193 fail:
20194 return NULL;
20195 }
20196
20197
20198 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
20199 PyObject *obj;
20200 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20201 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
20202 Py_INCREF(obj);
20203 return Py_BuildValue((char *)"");
20204 }
20205 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20206 PyObject *resultobj;
20207 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20208 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
20209 wxPrintData *arg3 = (wxPrintData *) NULL ;
20210 wxPyPrintPreview *result;
20211 PyObject * obj0 = 0 ;
20212 PyObject * obj1 = 0 ;
20213 PyObject * obj2 = 0 ;
20214 char *kwnames[] = {
20215 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
20216 };
20217
20218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PyPrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
20219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20220 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20221 if (obj2) {
20222 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20223 }
20224 {
20225 PyThreadState* __tstate = wxPyBeginAllowThreads();
20226 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
20227
20228 wxPyEndAllowThreads(__tstate);
20229 if (PyErr_Occurred()) SWIG_fail;
20230 }
20231 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPrintPreview, 1);
20232 return resultobj;
20233 fail:
20234 return NULL;
20235 }
20236
20237
20238 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20239 PyObject *resultobj;
20240 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20241 PyObject *arg2 = (PyObject *) 0 ;
20242 PyObject *arg3 = (PyObject *) 0 ;
20243 PyObject * obj0 = 0 ;
20244 PyObject * obj1 = 0 ;
20245 PyObject * obj2 = 0 ;
20246 char *kwnames[] = {
20247 (char *) "self",(char *) "self",(char *) "_class", NULL
20248 };
20249
20250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20252 arg2 = obj1;
20253 arg3 = obj2;
20254 {
20255 PyThreadState* __tstate = wxPyBeginAllowThreads();
20256 (arg1)->_setCallbackInfo(arg2,arg3);
20257
20258 wxPyEndAllowThreads(__tstate);
20259 if (PyErr_Occurred()) SWIG_fail;
20260 }
20261 Py_INCREF(Py_None); resultobj = Py_None;
20262 return resultobj;
20263 fail:
20264 return NULL;
20265 }
20266
20267
20268 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20269 PyObject *resultobj;
20270 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20271 int arg2 ;
20272 bool result;
20273 PyObject * obj0 = 0 ;
20274 char *kwnames[] = {
20275 (char *) "self",(char *) "pageNum", NULL
20276 };
20277
20278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
20279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20280 {
20281 PyThreadState* __tstate = wxPyBeginAllowThreads();
20282 result = (bool)(arg1)->base_SetCurrentPage(arg2);
20283
20284 wxPyEndAllowThreads(__tstate);
20285 if (PyErr_Occurred()) SWIG_fail;
20286 }
20287 resultobj = PyInt_FromLong((long)result);
20288 return resultobj;
20289 fail:
20290 return NULL;
20291 }
20292
20293
20294 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20295 PyObject *resultobj;
20296 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20297 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20298 wxDC *arg3 = 0 ;
20299 bool result;
20300 PyObject * obj0 = 0 ;
20301 PyObject * obj1 = 0 ;
20302 PyObject * obj2 = 0 ;
20303 char *kwnames[] = {
20304 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20305 };
20306
20307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20309 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20310 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20311 if (arg3 == NULL) {
20312 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20313 }
20314 {
20315 PyThreadState* __tstate = wxPyBeginAllowThreads();
20316 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
20317
20318 wxPyEndAllowThreads(__tstate);
20319 if (PyErr_Occurred()) SWIG_fail;
20320 }
20321 resultobj = PyInt_FromLong((long)result);
20322 return resultobj;
20323 fail:
20324 return NULL;
20325 }
20326
20327
20328 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20329 PyObject *resultobj;
20330 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20331 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20332 wxDC *arg3 = 0 ;
20333 bool result;
20334 PyObject * obj0 = 0 ;
20335 PyObject * obj1 = 0 ;
20336 PyObject * obj2 = 0 ;
20337 char *kwnames[] = {
20338 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20339 };
20340
20341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20343 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20344 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20345 if (arg3 == NULL) {
20346 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20347 }
20348 {
20349 PyThreadState* __tstate = wxPyBeginAllowThreads();
20350 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
20351
20352 wxPyEndAllowThreads(__tstate);
20353 if (PyErr_Occurred()) SWIG_fail;
20354 }
20355 resultobj = PyInt_FromLong((long)result);
20356 return resultobj;
20357 fail:
20358 return NULL;
20359 }
20360
20361
20362 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20363 PyObject *resultobj;
20364 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20365 int arg2 ;
20366 bool result;
20367 PyObject * obj0 = 0 ;
20368 char *kwnames[] = {
20369 (char *) "self",(char *) "pageNum", NULL
20370 };
20371
20372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_RenderPage",kwnames,&obj0,&arg2)) goto fail;
20373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20374 {
20375 PyThreadState* __tstate = wxPyBeginAllowThreads();
20376 result = (bool)(arg1)->base_RenderPage(arg2);
20377
20378 wxPyEndAllowThreads(__tstate);
20379 if (PyErr_Occurred()) SWIG_fail;
20380 }
20381 resultobj = PyInt_FromLong((long)result);
20382 return resultobj;
20383 fail:
20384 return NULL;
20385 }
20386
20387
20388 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20389 PyObject *resultobj;
20390 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20391 int arg2 ;
20392 PyObject * obj0 = 0 ;
20393 char *kwnames[] = {
20394 (char *) "self",(char *) "percent", NULL
20395 };
20396
20397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetZoom",kwnames,&obj0,&arg2)) goto fail;
20398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20399 {
20400 PyThreadState* __tstate = wxPyBeginAllowThreads();
20401 (arg1)->base_SetZoom(arg2);
20402
20403 wxPyEndAllowThreads(__tstate);
20404 if (PyErr_Occurred()) SWIG_fail;
20405 }
20406 Py_INCREF(Py_None); resultobj = Py_None;
20407 return resultobj;
20408 fail:
20409 return NULL;
20410 }
20411
20412
20413 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
20414 PyObject *resultobj;
20415 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20416 bool arg2 ;
20417 bool result;
20418 PyObject * obj0 = 0 ;
20419 PyObject * obj1 = 0 ;
20420 char *kwnames[] = {
20421 (char *) "self",(char *) "interactive", NULL
20422 };
20423
20424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
20425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20426 arg2 = PyInt_AsLong(obj1) ? true : false;
20427 if (PyErr_Occurred()) SWIG_fail;
20428 {
20429 PyThreadState* __tstate = wxPyBeginAllowThreads();
20430 result = (bool)(arg1)->base_Print(arg2);
20431
20432 wxPyEndAllowThreads(__tstate);
20433 if (PyErr_Occurred()) SWIG_fail;
20434 }
20435 resultobj = PyInt_FromLong((long)result);
20436 return resultobj;
20437 fail:
20438 return NULL;
20439 }
20440
20441
20442 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
20443 PyObject *resultobj;
20444 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20445 PyObject * obj0 = 0 ;
20446 char *kwnames[] = {
20447 (char *) "self", NULL
20448 };
20449
20450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
20451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20452 {
20453 PyThreadState* __tstate = wxPyBeginAllowThreads();
20454 (arg1)->base_DetermineScaling();
20455
20456 wxPyEndAllowThreads(__tstate);
20457 if (PyErr_Occurred()) SWIG_fail;
20458 }
20459 Py_INCREF(Py_None); resultobj = Py_None;
20460 return resultobj;
20461 fail:
20462 return NULL;
20463 }
20464
20465
20466 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
20467 PyObject *obj;
20468 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20469 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
20470 Py_INCREF(obj);
20471 return Py_BuildValue((char *)"");
20472 }
20473 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
20474 PyObject *resultobj;
20475 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20476 wxFrame *arg2 = (wxFrame *) 0 ;
20477 wxString *arg3 = 0 ;
20478 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20479 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20480 wxSize const &arg5_defvalue = wxDefaultSize ;
20481 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20482 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20483 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20484 wxString *arg7 = (wxString *) &arg7_defvalue ;
20485 wxPyPreviewFrame *result;
20486 bool temp3 = False ;
20487 wxPoint temp4 ;
20488 wxSize temp5 ;
20489 bool temp7 = False ;
20490 PyObject * obj0 = 0 ;
20491 PyObject * obj1 = 0 ;
20492 PyObject * obj2 = 0 ;
20493 PyObject * obj3 = 0 ;
20494 PyObject * obj4 = 0 ;
20495 PyObject * obj6 = 0 ;
20496 char *kwnames[] = {
20497 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20498 };
20499
20500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20502 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20503 {
20504 arg3 = wxString_in_helper(obj2);
20505 if (arg3 == NULL) SWIG_fail;
20506 temp3 = True;
20507 }
20508 if (obj3) {
20509 {
20510 arg4 = &temp4;
20511 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20512 }
20513 }
20514 if (obj4) {
20515 {
20516 arg5 = &temp5;
20517 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20518 }
20519 }
20520 if (obj6) {
20521 {
20522 arg7 = wxString_in_helper(obj6);
20523 if (arg7 == NULL) SWIG_fail;
20524 temp7 = True;
20525 }
20526 }
20527 {
20528 PyThreadState* __tstate = wxPyBeginAllowThreads();
20529 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20530
20531 wxPyEndAllowThreads(__tstate);
20532 if (PyErr_Occurred()) SWIG_fail;
20533 }
20534 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewFrame, 1);
20535 {
20536 if (temp3)
20537 delete arg3;
20538 }
20539 {
20540 if (temp7)
20541 delete arg7;
20542 }
20543 return resultobj;
20544 fail:
20545 {
20546 if (temp3)
20547 delete arg3;
20548 }
20549 {
20550 if (temp7)
20551 delete arg7;
20552 }
20553 return NULL;
20554 }
20555
20556
20557 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20558 PyObject *resultobj;
20559 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20560 PyObject *arg2 = (PyObject *) 0 ;
20561 PyObject *arg3 = (PyObject *) 0 ;
20562 PyObject * obj0 = 0 ;
20563 PyObject * obj1 = 0 ;
20564 PyObject * obj2 = 0 ;
20565 char *kwnames[] = {
20566 (char *) "self",(char *) "self",(char *) "_class", NULL
20567 };
20568
20569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20571 arg2 = obj1;
20572 arg3 = obj2;
20573 {
20574 PyThreadState* __tstate = wxPyBeginAllowThreads();
20575 (arg1)->_setCallbackInfo(arg2,arg3);
20576
20577 wxPyEndAllowThreads(__tstate);
20578 if (PyErr_Occurred()) SWIG_fail;
20579 }
20580 Py_INCREF(Py_None); resultobj = Py_None;
20581 return resultobj;
20582 fail:
20583 return NULL;
20584 }
20585
20586
20587 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20588 PyObject *resultobj;
20589 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20590 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20591 PyObject * obj0 = 0 ;
20592 PyObject * obj1 = 0 ;
20593 char *kwnames[] = {
20594 (char *) "self",(char *) "canvas", NULL
20595 };
20596
20597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
20598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20599 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20600 {
20601 PyThreadState* __tstate = wxPyBeginAllowThreads();
20602 (arg1)->SetPreviewCanvas(arg2);
20603
20604 wxPyEndAllowThreads(__tstate);
20605 if (PyErr_Occurred()) SWIG_fail;
20606 }
20607 Py_INCREF(Py_None); resultobj = Py_None;
20608 return resultobj;
20609 fail:
20610 return NULL;
20611 }
20612
20613
20614 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20615 PyObject *resultobj;
20616 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20617 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
20618 PyObject * obj0 = 0 ;
20619 PyObject * obj1 = 0 ;
20620 char *kwnames[] = {
20621 (char *) "self",(char *) "bar", NULL
20622 };
20623
20624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
20625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20626 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20627 {
20628 PyThreadState* __tstate = wxPyBeginAllowThreads();
20629 (arg1)->SetControlBar(arg2);
20630
20631 wxPyEndAllowThreads(__tstate);
20632 if (PyErr_Occurred()) SWIG_fail;
20633 }
20634 Py_INCREF(Py_None); resultobj = Py_None;
20635 return resultobj;
20636 fail:
20637 return NULL;
20638 }
20639
20640
20641 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
20642 PyObject *resultobj;
20643 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20644 PyObject * obj0 = 0 ;
20645 char *kwnames[] = {
20646 (char *) "self", NULL
20647 };
20648
20649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
20650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20651 {
20652 PyThreadState* __tstate = wxPyBeginAllowThreads();
20653 (arg1)->base_Initialize();
20654
20655 wxPyEndAllowThreads(__tstate);
20656 if (PyErr_Occurred()) SWIG_fail;
20657 }
20658 Py_INCREF(Py_None); resultobj = Py_None;
20659 return resultobj;
20660 fail:
20661 return NULL;
20662 }
20663
20664
20665 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20666 PyObject *resultobj;
20667 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20668 PyObject * obj0 = 0 ;
20669 char *kwnames[] = {
20670 (char *) "self", NULL
20671 };
20672
20673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
20674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20675 {
20676 PyThreadState* __tstate = wxPyBeginAllowThreads();
20677 (arg1)->base_CreateCanvas();
20678
20679 wxPyEndAllowThreads(__tstate);
20680 if (PyErr_Occurred()) SWIG_fail;
20681 }
20682 Py_INCREF(Py_None); resultobj = Py_None;
20683 return resultobj;
20684 fail:
20685 return NULL;
20686 }
20687
20688
20689 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20690 PyObject *resultobj;
20691 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20692 PyObject * obj0 = 0 ;
20693 char *kwnames[] = {
20694 (char *) "self", NULL
20695 };
20696
20697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
20698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20699 {
20700 PyThreadState* __tstate = wxPyBeginAllowThreads();
20701 (arg1)->base_CreateControlBar();
20702
20703 wxPyEndAllowThreads(__tstate);
20704 if (PyErr_Occurred()) SWIG_fail;
20705 }
20706 Py_INCREF(Py_None); resultobj = Py_None;
20707 return resultobj;
20708 fail:
20709 return NULL;
20710 }
20711
20712
20713 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
20714 PyObject *obj;
20715 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20716 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
20717 Py_INCREF(obj);
20718 return Py_BuildValue((char *)"");
20719 }
20720 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20721 PyObject *resultobj;
20722 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20723 long arg2 ;
20724 wxWindow *arg3 = (wxWindow *) 0 ;
20725 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20726 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20727 wxSize const &arg5_defvalue = wxDefaultSize ;
20728 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20729 long arg6 = (long) 0 ;
20730 wxString const &arg7_defvalue = wxPyPanelNameStr ;
20731 wxString *arg7 = (wxString *) &arg7_defvalue ;
20732 wxPyPreviewControlBar *result;
20733 wxPoint temp4 ;
20734 wxSize temp5 ;
20735 bool temp7 = False ;
20736 PyObject * obj0 = 0 ;
20737 PyObject * obj2 = 0 ;
20738 PyObject * obj3 = 0 ;
20739 PyObject * obj4 = 0 ;
20740 PyObject * obj6 = 0 ;
20741 char *kwnames[] = {
20742 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20743 };
20744
20745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PyPreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20747 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20748 if (obj3) {
20749 {
20750 arg4 = &temp4;
20751 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20752 }
20753 }
20754 if (obj4) {
20755 {
20756 arg5 = &temp5;
20757 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20758 }
20759 }
20760 if (obj6) {
20761 {
20762 arg7 = wxString_in_helper(obj6);
20763 if (arg7 == NULL) SWIG_fail;
20764 temp7 = True;
20765 }
20766 }
20767 {
20768 PyThreadState* __tstate = wxPyBeginAllowThreads();
20769 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20770
20771 wxPyEndAllowThreads(__tstate);
20772 if (PyErr_Occurred()) SWIG_fail;
20773 }
20774 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewControlBar, 1);
20775 {
20776 if (temp7)
20777 delete arg7;
20778 }
20779 return resultobj;
20780 fail:
20781 {
20782 if (temp7)
20783 delete arg7;
20784 }
20785 return NULL;
20786 }
20787
20788
20789 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20790 PyObject *resultobj;
20791 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20792 PyObject *arg2 = (PyObject *) 0 ;
20793 PyObject *arg3 = (PyObject *) 0 ;
20794 PyObject * obj0 = 0 ;
20795 PyObject * obj1 = 0 ;
20796 PyObject * obj2 = 0 ;
20797 char *kwnames[] = {
20798 (char *) "self",(char *) "self",(char *) "_class", NULL
20799 };
20800
20801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20803 arg2 = obj1;
20804 arg3 = obj2;
20805 {
20806 PyThreadState* __tstate = wxPyBeginAllowThreads();
20807 (arg1)->_setCallbackInfo(arg2,arg3);
20808
20809 wxPyEndAllowThreads(__tstate);
20810 if (PyErr_Occurred()) SWIG_fail;
20811 }
20812 Py_INCREF(Py_None); resultobj = Py_None;
20813 return resultobj;
20814 fail:
20815 return NULL;
20816 }
20817
20818
20819 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20820 PyObject *resultobj;
20821 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20822 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
20823 PyObject * obj0 = 0 ;
20824 PyObject * obj1 = 0 ;
20825 char *kwnames[] = {
20826 (char *) "self",(char *) "preview", NULL
20827 };
20828
20829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
20830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20831 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20832 {
20833 PyThreadState* __tstate = wxPyBeginAllowThreads();
20834 (arg1)->SetPrintPreview(arg2);
20835
20836 wxPyEndAllowThreads(__tstate);
20837 if (PyErr_Occurred()) SWIG_fail;
20838 }
20839 Py_INCREF(Py_None); resultobj = Py_None;
20840 return resultobj;
20841 fail:
20842 return NULL;
20843 }
20844
20845
20846 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
20847 PyObject *resultobj;
20848 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20849 PyObject * obj0 = 0 ;
20850 char *kwnames[] = {
20851 (char *) "self", NULL
20852 };
20853
20854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
20855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20856 {
20857 PyThreadState* __tstate = wxPyBeginAllowThreads();
20858 (arg1)->base_CreateButtons();
20859
20860 wxPyEndAllowThreads(__tstate);
20861 if (PyErr_Occurred()) SWIG_fail;
20862 }
20863 Py_INCREF(Py_None); resultobj = Py_None;
20864 return resultobj;
20865 fail:
20866 return NULL;
20867 }
20868
20869
20870 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
20871 PyObject *resultobj;
20872 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20873 int arg2 ;
20874 PyObject * obj0 = 0 ;
20875 char *kwnames[] = {
20876 (char *) "self",(char *) "zoom", NULL
20877 };
20878
20879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
20880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20881 {
20882 PyThreadState* __tstate = wxPyBeginAllowThreads();
20883 (arg1)->base_SetZoomControl(arg2);
20884
20885 wxPyEndAllowThreads(__tstate);
20886 if (PyErr_Occurred()) SWIG_fail;
20887 }
20888 Py_INCREF(Py_None); resultobj = Py_None;
20889 return resultobj;
20890 fail:
20891 return NULL;
20892 }
20893
20894
20895 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
20896 PyObject *obj;
20897 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20898 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
20899 Py_INCREF(obj);
20900 return Py_BuildValue((char *)"");
20901 }
20902 static PyMethodDef SwigMethods[] = {
20903 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
20904 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
20905 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
20906 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
20907 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
20908 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20909 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20910 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
20911 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
20912 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
20913 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
20914 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
20915 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
20916 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
20917 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
20918 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
20919 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
20920 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
20921 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
20922 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
20923 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
20924 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
20925 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
20926 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
20927 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
20928 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
20929 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
20930 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
20931 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
20932 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
20933 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
20934 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
20935 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
20936 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
20937 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
20938 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
20939 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
20940 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
20941 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
20942 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
20943 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
20944 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
20945 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
20946 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
20947 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
20948 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
20949 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
20950 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
20951 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
20952 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
20953 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
20954 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
20955 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
20956 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
20957 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
20958 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
20959 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
20960 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
20961 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
20962 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
20963 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
20964 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
20965 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
20966 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
20967 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
20968 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
20969 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
20970 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
20971 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
20972 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
20973 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
20974 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20975 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
20976 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS },
20977 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
20978 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
20979 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
20980 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
20981 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
20982 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
20983 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
20984 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
20985 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
20986 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
20987 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
20988 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
20989 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
20990 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
20991 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
20992 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
20993 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
20994 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
20995 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
20996 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
20997 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
20998 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
20999 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
21000 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
21001 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
21002 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
21003 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
21004 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
21005 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
21006 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
21007 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
21008 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
21009 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
21010 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
21011 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
21012 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
21013 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
21014 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
21015 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
21016 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
21017 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
21018 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
21019 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
21020 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
21021 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
21022 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
21023 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
21024 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
21025 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
21026 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
21027 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
21028 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
21029 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
21030 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
21031 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
21032 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
21033 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
21034 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
21035 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
21036 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
21037 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
21038 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
21039 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
21040 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
21041 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
21042 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
21043 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
21044 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
21045 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
21046 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
21047 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
21048 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
21049 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
21050 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
21051 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
21052 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
21053 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
21054 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
21055 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
21056 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
21057 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
21058 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
21059 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
21060 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
21061 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
21062 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
21063 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
21064 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
21065 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
21066 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
21067 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
21068 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
21069 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
21070 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
21071 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
21072 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
21073 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21074 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21075 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
21076 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
21077 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21078 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21079 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
21080 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
21081 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
21082 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
21083 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21084 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21085 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
21086 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
21087 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
21088 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
21089 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
21090 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
21091 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
21092 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21093 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
21094 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
21095 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21096 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
21097 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
21098 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
21099 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
21100 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
21101 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
21102 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
21103 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
21104 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
21105 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
21106 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
21107 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
21108 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
21109 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
21110 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21111 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
21112 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
21113 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
21114 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
21115 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
21116 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
21117 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
21118 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
21119 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
21120 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21121 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
21122 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
21123 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
21124 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
21125 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
21126 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
21127 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
21128 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
21129 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
21130 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
21131 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
21132 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
21133 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
21134 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
21135 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
21136 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
21137 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
21138 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21139 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
21140 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
21141 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
21142 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
21143 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
21144 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
21145 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
21146 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
21147 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
21148 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
21149 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
21150 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
21151 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
21152 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
21153 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
21154 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
21155 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
21156 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
21157 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
21158 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
21159 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
21160 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
21161 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
21162 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
21163 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
21164 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21165 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
21166 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
21167 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
21168 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
21169 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
21170 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
21171 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS },
21172 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
21173 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
21174 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
21175 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
21176 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
21177 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
21178 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
21179 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
21180 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
21181 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
21182 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
21183 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
21184 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
21185 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
21186 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
21187 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
21188 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
21189 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
21190 { (char *)"ColourDialog_ShowModal", (PyCFunction) _wrap_ColourDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21191 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
21192 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
21193 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
21194 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
21195 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
21196 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
21197 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
21198 { (char *)"DirDialog_ShowModal", (PyCFunction) _wrap_DirDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21199 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
21200 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
21201 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
21202 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
21203 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
21204 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
21205 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
21206 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
21207 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
21208 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
21209 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
21210 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
21211 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
21212 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
21213 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
21214 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
21215 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
21216 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
21217 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
21218 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
21219 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
21220 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
21221 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
21222 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
21223 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
21224 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
21225 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
21226 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction) _wrap_SingleChoiceDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21227 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
21228 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
21229 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
21230 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
21231 { (char *)"TextEntryDialog_ShowModal", (PyCFunction) _wrap_TextEntryDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21232 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
21233 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
21234 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
21235 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
21236 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
21237 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
21238 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
21239 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
21240 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
21241 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
21242 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
21243 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
21244 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
21245 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
21246 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
21247 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
21248 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
21249 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
21250 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
21251 { (char *)"FontDialog_ShowModal", (PyCFunction) _wrap_FontDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21252 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
21253 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
21254 { (char *)"MessageDialog_ShowModal", (PyCFunction) _wrap_MessageDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21255 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
21256 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
21257 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
21258 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
21259 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
21260 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
21261 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21262 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
21263 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
21264 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
21265 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21266 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
21267 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
21268 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
21269 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
21270 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
21271 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
21272 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
21273 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
21274 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
21275 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
21276 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
21277 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
21278 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21279 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21280 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
21281 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
21282 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
21283 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
21284 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21285 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21286 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
21287 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
21288 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
21289 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
21290 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
21291 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
21292 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
21293 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
21294 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
21295 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
21296 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21297 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21298 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
21299 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
21300 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
21301 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
21302 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
21303 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21304 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21305 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
21306 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
21307 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
21308 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21309 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21310 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21311 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21312 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21313 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21314 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21315 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21316 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21317 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21318 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21319 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21320 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21321 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
21322 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21323 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21324 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21325 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21326 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21327 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
21328 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
21329 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21330 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21331 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21332 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21333 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21334 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21335 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21336 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21337 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21338 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21339 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21340 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21341 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21342 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
21343 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21344 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21345 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21346 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21347 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21348 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
21349 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
21350 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
21351 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21352 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21353 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21354 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
21355 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
21356 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
21357 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
21358 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21359 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21360 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
21361 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21362 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21363 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21364 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
21365 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
21366 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
21367 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21368 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21369 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
21370 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21371 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21372 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21373 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
21374 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21375 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21376 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21377 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21378 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21379 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
21380 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21381 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21382 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21383 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
21384 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21385 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21386 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21387 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
21388 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21389 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21390 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
21391 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
21392 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
21393 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21394 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21395 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21396 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
21397 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
21398 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
21399 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
21400 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21401 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
21402 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
21403 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
21404 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
21405 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21406 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21407 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21408 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21409 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21410 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21411 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21412 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21413 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21414 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21415 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21416 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21417 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21418 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21419 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21420 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21421 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21422 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21423 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21424 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
21425 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
21426 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
21427 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21428 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
21429 { (char *)"new_PrintDialogData", (PyCFunction) _wrap_new_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21430 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21431 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
21432 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
21433 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21434 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21435 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21436 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
21437 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
21438 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21439 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21440 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21441 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
21442 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
21443 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
21444 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
21445 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21446 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
21447 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
21448 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21449 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21450 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21451 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21452 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
21453 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21454 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21455 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21456 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
21457 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21458 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21459 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21460 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21461 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21462 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
21463 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21464 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21465 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
21466 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21467 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
21468 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
21469 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
21470 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
21471 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21472 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
21473 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21474 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
21475 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
21476 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
21477 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
21478 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
21479 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
21480 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21481 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
21482 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
21483 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
21484 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
21485 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
21486 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21487 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21488 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21489 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21490 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21491 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21492 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
21493 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
21494 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
21495 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
21496 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
21497 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
21498 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
21499 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
21500 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
21501 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
21502 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21503 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
21504 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
21505 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
21506 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21507 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21508 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
21509 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
21510 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21511 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
21512 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21513 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21514 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
21515 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
21516 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
21517 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
21518 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
21519 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
21520 { (char *)"new_PrintPreview", (PyCFunction) _wrap_new_PrintPreview, METH_VARARGS | METH_KEYWORDS },
21521 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21522 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21523 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
21524 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
21525 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
21526 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
21527 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
21528 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
21529 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
21530 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
21531 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21532 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
21533 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
21534 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21535 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
21536 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
21537 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21538 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21539 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
21540 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
21541 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
21542 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21543 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
21544 { (char *)"new_PyPrintPreview", (PyCFunction) _wrap_new_PyPrintPreview, METH_VARARGS | METH_KEYWORDS },
21545 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21546 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21547 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
21548 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21549 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
21550 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
21551 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
21552 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21553 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
21554 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
21555 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21556 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21557 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
21558 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
21559 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21560 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21561 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
21562 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21563 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21564 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21565 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
21566 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21567 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
21568 { NULL, NULL }
21569 };
21570
21571
21572 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21573
21574 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
21575 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21576 }
21577 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
21578 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
21579 }
21580 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
21581 return (void *)((wxEvent *) ((wxMenuEvent *) x));
21582 }
21583 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
21584 return (void *)((wxEvent *) ((wxCloseEvent *) x));
21585 }
21586 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
21587 return (void *)((wxEvent *) ((wxMouseEvent *) x));
21588 }
21589 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
21590 return (void *)((wxEvent *) ((wxEraseEvent *) x));
21591 }
21592 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
21593 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
21594 }
21595 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
21596 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
21597 }
21598 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
21599 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
21600 }
21601 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
21602 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
21603 }
21604 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
21605 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
21606 }
21607 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
21608 return (void *)((wxEvent *) ((wxPyEvent *) x));
21609 }
21610 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
21611 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
21612 }
21613 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
21614 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
21615 }
21616 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
21617 return (void *)((wxEvent *) ((wxIdleEvent *) x));
21618 }
21619 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
21620 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
21621 }
21622 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
21623 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
21624 }
21625 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
21626 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
21627 }
21628 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
21629 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
21630 }
21631 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
21632 return (void *)((wxEvent *) ((wxActivateEvent *) x));
21633 }
21634 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
21635 return (void *)((wxEvent *) ((wxSizeEvent *) x));
21636 }
21637 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
21638 return (void *)((wxEvent *) ((wxMoveEvent *) x));
21639 }
21640 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
21641 return (void *)((wxEvent *) ((wxPaintEvent *) x));
21642 }
21643 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
21644 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
21645 }
21646 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
21647 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
21648 }
21649 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
21650 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
21651 }
21652 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
21653 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
21654 }
21655 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
21656 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21657 }
21658 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
21659 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
21660 }
21661 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
21662 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
21663 }
21664 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
21665 return (void *)((wxEvent *) ((wxFocusEvent *) x));
21666 }
21667 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
21668 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
21669 }
21670 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
21671 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
21672 }
21673 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
21674 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
21675 }
21676 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
21677 return (void *)((wxEvent *) ((wxShowEvent *) x));
21678 }
21679 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
21680 return (void *)((wxEvent *) ((wxCommandEvent *) x));
21681 }
21682 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
21683 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
21684 }
21685 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
21686 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21687 }
21688 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
21689 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
21690 }
21691 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
21692 return (void *)((wxEvent *) ((wxKeyEvent *) x));
21693 }
21694 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
21695 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
21696 }
21697 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
21698 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
21699 }
21700 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
21701 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
21702 }
21703 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
21704 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
21705 }
21706 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
21707 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
21708 }
21709 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
21710 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
21711 }
21712 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
21713 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
21714 }
21715 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
21716 return (void *)((wxEvtHandler *) ((wxValidator *) x));
21717 }
21718 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
21719 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
21720 }
21721 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
21722 return (void *)((wxEvtHandler *) ((wxMenu *) x));
21723 }
21724 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
21725 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
21726 }
21727 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
21728 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
21729 }
21730 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
21731 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
21732 }
21733 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
21734 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
21735 }
21736 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
21737 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
21738 }
21739 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
21740 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
21741 }
21742 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
21743 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
21744 }
21745 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
21746 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
21747 }
21748 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
21749 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
21750 }
21751 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
21752 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
21753 }
21754 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
21755 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
21756 }
21757 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
21758 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
21759 }
21760 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
21761 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
21762 }
21763 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
21764 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
21765 }
21766 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
21767 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
21768 }
21769 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
21770 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
21771 }
21772 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
21773 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
21774 }
21775 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
21776 return (void *)((wxEvtHandler *) ((wxWindow *) x));
21777 }
21778 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
21779 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
21780 }
21781 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
21782 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
21783 }
21784 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
21785 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
21786 }
21787 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
21788 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
21789 }
21790 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
21791 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
21792 }
21793 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
21794 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21795 }
21796 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
21797 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
21798 }
21799 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
21800 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
21801 }
21802 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
21803 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
21804 }
21805 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
21806 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
21807 }
21808 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
21809 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
21810 }
21811 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
21812 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
21813 }
21814 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
21815 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
21816 }
21817 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
21818 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
21819 }
21820 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
21821 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
21822 }
21823 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
21824 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
21825 }
21826 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
21827 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
21828 }
21829 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
21830 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
21831 }
21832 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
21833 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
21834 }
21835 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
21836 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
21837 }
21838 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
21839 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
21840 }
21841 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
21842 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
21843 }
21844 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
21845 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
21846 }
21847 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
21848 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
21849 }
21850 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
21851 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
21852 }
21853 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
21854 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
21855 }
21856 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
21857 return (void *)((wxFrame *) ((wxProgressDialog *) x));
21858 }
21859 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
21860 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
21861 }
21862 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
21863 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21864 }
21865 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
21866 return (void *)((wxFrame *) ((wxMiniFrame *) x));
21867 }
21868 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
21869 return (void *)((wxFrame *) ((wxSplashScreen *) x));
21870 }
21871 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
21872 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
21873 }
21874 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
21875 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
21876 }
21877 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
21878 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
21879 }
21880 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
21881 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
21882 }
21883 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
21884 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21885 }
21886 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
21887 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
21888 }
21889 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
21890 return (void *)((wxObject *) ((wxSizerItem *) x));
21891 }
21892 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
21893 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
21894 }
21895 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
21896 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
21897 }
21898 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
21899 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
21900 }
21901 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
21902 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
21903 }
21904 static void *_p_wxSizerTo_p_wxObject(void *x) {
21905 return (void *)((wxObject *) ((wxSizer *) x));
21906 }
21907 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
21908 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
21909 }
21910 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
21911 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
21912 }
21913 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
21914 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
21915 }
21916 static void *_p_wxEventTo_p_wxObject(void *x) {
21917 return (void *)((wxObject *) ((wxEvent *) x));
21918 }
21919 static void *_p_wxFontDataTo_p_wxObject(void *x) {
21920 return (void *)((wxObject *) ((wxFontData *) x));
21921 }
21922 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
21923 return (void *)((wxObject *) ((wxPrintData *) x));
21924 }
21925 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
21926 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
21927 }
21928 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
21929 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
21930 }
21931 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
21932 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
21933 }
21934 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
21935 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
21936 }
21937 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
21938 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
21939 }
21940 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
21941 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
21942 }
21943 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
21944 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
21945 }
21946 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
21947 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
21948 }
21949 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
21950 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
21951 }
21952 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
21953 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
21954 }
21955 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
21956 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21957 }
21958 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
21959 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
21960 }
21961 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
21962 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
21963 }
21964 static void *_p_wxControlTo_p_wxObject(void *x) {
21965 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
21966 }
21967 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
21968 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
21969 }
21970 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
21971 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
21972 }
21973 static void *_p_wxFSFileTo_p_wxObject(void *x) {
21974 return (void *)((wxObject *) ((wxFSFile *) x));
21975 }
21976 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
21977 return (void *)((wxObject *) ((wxFindReplaceData *) x));
21978 }
21979 static void *_p_wxPySizerTo_p_wxObject(void *x) {
21980 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
21981 }
21982 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
21983 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
21984 }
21985 static void *_p_wxColourDataTo_p_wxObject(void *x) {
21986 return (void *)((wxObject *) ((wxColourData *) x));
21987 }
21988 static void *_p_wxPyEventTo_p_wxObject(void *x) {
21989 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
21990 }
21991 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
21992 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
21993 }
21994 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
21995 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
21996 }
21997 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
21998 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
21999 }
22000 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
22001 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
22002 }
22003 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
22004 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
22005 }
22006 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
22007 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
22008 }
22009 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
22010 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
22011 }
22012 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
22013 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
22014 }
22015 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
22016 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
22017 }
22018 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
22019 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
22020 }
22021 static void *_p_wxShowEventTo_p_wxObject(void *x) {
22022 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
22023 }
22024 static void *_p_wxPrinterTo_p_wxObject(void *x) {
22025 return (void *)((wxObject *) ((wxPrinter *) x));
22026 }
22027 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
22028 return (void *)((wxObject *) ((wxMenuItem *) x));
22029 }
22030 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
22031 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
22032 }
22033 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
22034 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
22035 }
22036 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
22037 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
22038 }
22039 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
22040 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
22041 }
22042 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
22043 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
22044 }
22045 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
22046 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
22047 }
22048 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
22049 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
22050 }
22051 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
22052 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
22053 }
22054 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
22055 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
22056 }
22057 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
22058 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
22059 }
22060 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
22061 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
22062 }
22063 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
22064 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
22065 }
22066 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
22067 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
22068 }
22069 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
22070 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
22071 }
22072 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
22073 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
22074 }
22075 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
22076 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
22077 }
22078 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
22079 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
22080 }
22081 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
22082 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
22083 }
22084 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
22085 return (void *)((wxObject *) ((wxImageHandler *) x));
22086 }
22087 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
22088 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
22089 }
22090 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
22091 return (void *)((wxObject *) ((wxEvtHandler *) x));
22092 }
22093 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
22094 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
22095 }
22096 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
22097 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22098 }
22099 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
22100 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22101 }
22102 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
22103 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
22104 }
22105 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
22106 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
22107 }
22108 static void *_p_wxImageTo_p_wxObject(void *x) {
22109 return (void *)((wxObject *) ((wxImage *) x));
22110 }
22111 static void *_p_wxFrameTo_p_wxObject(void *x) {
22112 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
22113 }
22114 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
22115 return (void *)((wxObject *) ((wxPyPrintout *) x));
22116 }
22117 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
22118 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
22119 }
22120 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
22121 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
22122 }
22123 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
22124 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
22125 }
22126 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
22127 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
22128 }
22129 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
22130 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22131 }
22132 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
22133 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
22134 }
22135 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
22136 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
22137 }
22138 static void *_p_wxWindowTo_p_wxObject(void *x) {
22139 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
22140 }
22141 static void *_p_wxMenuTo_p_wxObject(void *x) {
22142 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
22143 }
22144 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
22145 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
22146 }
22147 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
22148 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
22149 }
22150 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
22151 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
22152 }
22153 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
22154 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
22155 }
22156 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
22157 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
22158 }
22159 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
22160 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
22161 }
22162 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
22163 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
22164 }
22165 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
22166 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
22167 }
22168 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
22169 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22170 }
22171 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
22172 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22173 }
22174 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
22175 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
22176 }
22177 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
22178 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
22179 }
22180 static void *_p_wxSashEventTo_p_wxObject(void *x) {
22181 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
22182 }
22183 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
22184 return (void *)((wxObject *) ((wxPrintPreview *) x));
22185 }
22186 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
22187 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
22188 }
22189 static void *_p_wxPanelTo_p_wxObject(void *x) {
22190 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
22191 }
22192 static void *_p_wxDialogTo_p_wxObject(void *x) {
22193 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
22194 }
22195 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
22196 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
22197 }
22198 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
22199 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
22200 }
22201 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
22202 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
22203 }
22204 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
22205 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22206 }
22207 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
22208 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22209 }
22210 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
22211 return (void *)((wxObject *) ((wxFileSystem *) x));
22212 }
22213 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
22214 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
22215 }
22216 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
22217 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
22218 }
22219 static void *_p_wxPyAppTo_p_wxObject(void *x) {
22220 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
22221 }
22222 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
22223 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
22224 }
22225 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
22226 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
22227 }
22228 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
22229 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
22230 }
22231 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
22232 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
22233 }
22234 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
22235 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
22236 }
22237 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
22238 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
22239 }
22240 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
22241 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22242 }
22243 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
22244 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
22245 }
22246 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
22247 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
22248 }
22249 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
22250 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
22251 }
22252 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
22253 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
22254 }
22255 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
22256 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
22257 }
22258 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
22259 return (void *)((wxObject *) ((wxPrintDialogData *) x));
22260 }
22261 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
22262 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
22263 }
22264 static void *_p_wxValidatorTo_p_wxObject(void *x) {
22265 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
22266 }
22267 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
22268 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22269 }
22270 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
22271 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
22272 }
22273 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
22274 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22275 }
22276 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
22277 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22278 }
22279 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
22280 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22281 }
22282 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
22283 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
22284 }
22285 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
22286 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
22287 }
22288 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
22289 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
22290 }
22291 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
22292 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
22293 }
22294 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
22295 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
22296 }
22297 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
22298 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
22299 }
22300 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
22301 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
22302 }
22303 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
22304 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
22305 }
22306 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
22307 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
22308 }
22309 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
22310 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
22311 }
22312 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
22313 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
22314 }
22315 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
22316 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
22317 }
22318 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
22319 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
22320 }
22321 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
22322 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
22323 }
22324 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
22325 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
22326 }
22327 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
22328 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
22329 }
22330 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22331 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
22332 }
22333 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22334 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
22335 }
22336 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
22337 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
22338 }
22339 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22340 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
22341 }
22342 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22343 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22344 }
22345 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
22346 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
22347 }
22348 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
22349 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
22350 }
22351 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
22352 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
22353 }
22354 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
22355 return (void *)((wxWindow *) ((wxMenuBar *) x));
22356 }
22357 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
22358 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
22359 }
22360 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
22361 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
22362 }
22363 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
22364 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
22365 }
22366 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
22367 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
22368 }
22369 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
22370 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
22371 }
22372 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
22373 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
22374 }
22375 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
22376 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
22377 }
22378 static void *_p_wxPanelTo_p_wxWindow(void *x) {
22379 return (void *)((wxWindow *) ((wxPanel *) x));
22380 }
22381 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
22382 return (void *)((wxWindow *) ((wxStatusBar *) x));
22383 }
22384 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
22385 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
22386 }
22387 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
22388 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
22389 }
22390 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
22391 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22392 }
22393 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
22394 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22395 }
22396 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
22397 return (void *)((wxWindow *) ((wxPopupWindow *) x));
22398 }
22399 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
22400 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
22401 }
22402 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
22403 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
22404 }
22405 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
22406 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
22407 }
22408 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
22409 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
22410 }
22411 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
22412 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
22413 }
22414 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
22415 return (void *)((wxWindow *) ((wxSashWindow *) x));
22416 }
22417 static void *_p_wxControlTo_p_wxWindow(void *x) {
22418 return (void *)((wxWindow *) ((wxControl *) x));
22419 }
22420 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
22421 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
22422 }
22423 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
22424 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22425 }
22426 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
22427 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
22428 }
22429 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
22430 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
22431 }
22432 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
22433 return (void *)((wxWindow *) ((wxPyWindow *) x));
22434 }
22435 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
22436 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
22437 }
22438 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
22439 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22440 }
22441 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
22442 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22443 }
22444 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
22445 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
22446 }
22447 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
22448 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22449 }
22450 static void *_p_wxFrameTo_p_wxWindow(void *x) {
22451 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
22452 }
22453 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
22454 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
22455 }
22456 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
22457 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
22458 }
22459 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
22460 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
22461 }
22462 static void *_p_wxDialogTo_p_wxWindow(void *x) {
22463 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
22464 }
22465 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
22466 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22467 }
22468 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
22469 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22470 }
22471 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
22472 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
22473 }
22474 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
22475 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
22476 }
22477 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
22478 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
22479 }
22480 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
22481 return (void *)((wxDialog *) ((wxColourDialog *) x));
22482 }
22483 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
22484 return (void *)((wxDialog *) ((wxDirDialog *) x));
22485 }
22486 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
22487 return (void *)((wxDialog *) ((wxFontDialog *) x));
22488 }
22489 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
22490 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
22491 }
22492 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
22493 return (void *)((wxDialog *) ((wxPrintDialog *) x));
22494 }
22495 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
22496 return (void *)((wxDialog *) ((wxFileDialog *) x));
22497 }
22498 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
22499 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
22500 }
22501 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
22502 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
22503 }
22504 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
22505 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
22506 }
22507 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
22508 return (void *)((wxDialog *) ((wxMessageDialog *) x));
22509 }
22510 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
22511 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
22512 }
22513 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
22514 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
22515 }
22516 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
22517 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
22518 }
22519 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
22520 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22521 }
22522 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
22523 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22524 }
22525 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
22526 return (void *)((wxPanel *) ((wxPyPanel *) x));
22527 }
22528 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
22529 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
22530 }
22531 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
22532 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
22533 }
22534 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
22535 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22536 }
22537 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
22538 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
22539 }
22540 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
22541 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
22542 }
22543 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
22544 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
22545 }
22546 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
22547 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
22548 }
22549 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
22550 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
22551 }
22552 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
22553 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22554 }
22555 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
22556 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
22557 }
22558 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
22559 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
22560 }
22561 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
22562 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
22563 }
22564 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
22565 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
22566 }
22567 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
22568 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
22569 }
22570 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
22571 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22572 }
22573 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
22574 static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame},{0}};
22575 static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
22576 static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
22577 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
22578 static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
22579 static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
22580 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}};
22581 static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
22582 static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
22583 static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
22584 static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
22585 static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
22586 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
22587 static swig_type_info _swigt__p_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
22588 static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
22589 static swig_type_info _swigt__p_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
22590 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
22591 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
22592 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
22593 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
22594 static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
22595 static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
22596 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent},{"_p_wxNotifyEvent"},{0}};
22597 static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
22598 static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
22599 static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
22600 static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
22601 static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
22602 static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
22603 static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
22604 static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
22605 static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
22606 static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
22607 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
22608 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}};
22609 static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
22610 static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
22611 static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox},{0}};
22612 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
22613 static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
22614 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}};
22615 static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
22616 static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
22617 static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
22618 static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
22619 static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
22620 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
22621 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}};
22622 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
22623 static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
22624 static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
22625 static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
22626 static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
22627 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}};
22628 static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow},{0}};
22629 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}};
22630 static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow},{0}};
22631 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}};
22632 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}};
22633 static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}};
22634 static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
22635 static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
22636 static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview},{0}};
22637 static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
22638 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
22639 static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
22640 static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
22641 static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
22642 static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
22643 static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
22644 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}};
22645 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}};
22646 static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
22647 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
22648 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}};
22649 static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar},{0}};
22650 static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
22651 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
22652 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
22653 static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
22654 static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
22655
22656 static swig_type_info *swig_types_initial[] = {
22657 _swigt__p_wxQueryLayoutInfoEvent,
22658 _swigt__p_wxPreviewFrame,
22659 _swigt__p_wxPyPreviewFrame,
22660 _swigt__p_wxPyPanel,
22661 _swigt__p_wxMenu,
22662 _swigt__p_wxPrintData,
22663 _swigt__p_wxFontData,
22664 _swigt__p_wxEvent,
22665 _swigt__p_wxTaskBarIcon,
22666 _swigt__p_wxIconBundle,
22667 _swigt__p_wxLayoutAlgorithm,
22668 _swigt__p_wxFindDialogEvent,
22669 _swigt__p_wxPreviewCanvas,
22670 _swigt__p_wxFont,
22671 _swigt__p_wxSplitterEvent,
22672 _swigt__p_wxRegion,
22673 _swigt__p_wxFindReplaceData,
22674 _swigt__p_int,
22675 _swigt__p_wxSize,
22676 _swigt__p_wxDC,
22677 _swigt__p_wxIcon,
22678 _swigt__p_wxMDIChildFrame,
22679 _swigt__p_wxColourData,
22680 _swigt__p_wxNotifyEvent,
22681 _swigt__p_wxPyWindow,
22682 _swigt__p_wxSplashScreen,
22683 _swigt__p_wxFindReplaceDialog,
22684 _swigt__p_wxProgressDialog,
22685 _swigt__p_wxMessageDialog,
22686 _swigt__p_wxTextEntryDialog,
22687 _swigt__p_wxSingleChoiceDialog,
22688 _swigt__p_wxMultiChoiceDialog,
22689 _swigt__p_wxFileDialog,
22690 _swigt__p_wxPrinter,
22691 _swigt__p_wxArrayInt,
22692 _swigt__p_wxEvtHandler,
22693 _swigt__p_wxCalculateLayoutEvent,
22694 _swigt__p_wxPyHtmlListBox,
22695 _swigt__p_wxPyVListBox,
22696 _swigt__p_wxRect,
22697 _swigt__p_wxMiniFrame,
22698 _swigt__p_wxFrame,
22699 _swigt__p_wxPyPrintout,
22700 _swigt__p_wxTaskBarIconEvent,
22701 _swigt__p_wxScrollWinEvent,
22702 _swigt__p_wxStatusBar,
22703 _swigt__p_wxMDIParentFrame,
22704 _swigt__p_wxPoint,
22705 _swigt__p_wxObject,
22706 _swigt__p_unsigned_long,
22707 _swigt__p_wxMDIClientWindow,
22708 _swigt__p_wxTipWindow,
22709 _swigt__p_wxSashLayoutWindow,
22710 _swigt__p_wxSplitterWindow,
22711 _swigt__p_wxPyVScrolledWindow,
22712 _swigt__p_wxPyPopupTransientWindow,
22713 _swigt__p_wxPopupWindow,
22714 _swigt__p_wxSashWindow,
22715 _swigt__p_wxTopLevelWindow,
22716 _swigt__p_wxWindow,
22717 _swigt__p_wxScrolledWindow,
22718 _swigt__p_wxSplashScreenWindow,
22719 _swigt__p_wxMenuBar,
22720 _swigt__p_wxPrintPreview,
22721 _swigt__p_wxSashEvent,
22722 _swigt__p_wxString,
22723 _swigt__p_wxPyPrintPreview,
22724 _swigt__p_wxPageSetupDialog,
22725 _swigt__p_wxFontDialog,
22726 _swigt__p_wxDirDialog,
22727 _swigt__p_wxColourDialog,
22728 _swigt__p_wxDialog,
22729 _swigt__p_wxPanel,
22730 _swigt__p_wxPrintDialog,
22731 _swigt__p_wxBitmap,
22732 _swigt__p_wxCommandEvent,
22733 _swigt__p_wxPreviewControlBar,
22734 _swigt__p_wxPyPreviewControlBar,
22735 _swigt__p_wxColour,
22736 _swigt__p_wxToolBar,
22737 _swigt__p_wxPrintDialogData,
22738 _swigt__p_wxPageSetupDialogData,
22739 0
22740 };
22741
22742
22743 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22744
22745 static swig_const_info swig_const_table[] = {
22746 { SWIG_PY_INT, (char *)"FULLSCREEN_NOMENUBAR", (long) wxFULLSCREEN_NOMENUBAR, 0, 0, 0},
22747 { SWIG_PY_INT, (char *)"FULLSCREEN_NOTOOLBAR", (long) wxFULLSCREEN_NOTOOLBAR, 0, 0, 0},
22748 { SWIG_PY_INT, (char *)"FULLSCREEN_NOSTATUSBAR", (long) wxFULLSCREEN_NOSTATUSBAR, 0, 0, 0},
22749 { SWIG_PY_INT, (char *)"FULLSCREEN_NOBORDER", (long) wxFULLSCREEN_NOBORDER, 0, 0, 0},
22750 { SWIG_PY_INT, (char *)"FULLSCREEN_NOCAPTION", (long) wxFULLSCREEN_NOCAPTION, 0, 0, 0},
22751 { SWIG_PY_INT, (char *)"FULLSCREEN_ALL", (long) wxFULLSCREEN_ALL, 0, 0, 0},
22752 { SWIG_PY_INT, (char *)"TOPLEVEL_EX_DIALOG", (long) wxTOPLEVEL_EX_DIALOG, 0, 0, 0},
22753 { SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_PARENT", (long) wxSPLASH_CENTRE_ON_PARENT, 0, 0, 0},
22754 { SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_SCREEN", (long) wxSPLASH_CENTRE_ON_SCREEN, 0, 0, 0},
22755 { SWIG_PY_INT, (char *)"SPLASH_NO_CENTRE", (long) wxSPLASH_NO_CENTRE, 0, 0, 0},
22756 { SWIG_PY_INT, (char *)"SPLASH_TIMEOUT", (long) wxSPLASH_TIMEOUT, 0, 0, 0},
22757 { SWIG_PY_INT, (char *)"SPLASH_NO_TIMEOUT", (long) wxSPLASH_NO_TIMEOUT, 0, 0, 0},
22758 { SWIG_PY_INT, (char *)"SP_NOBORDER", (long) wxSP_NOBORDER, 0, 0, 0},
22759 { SWIG_PY_INT, (char *)"SP_NOSASH", (long) wxSP_NOSASH, 0, 0, 0},
22760 { SWIG_PY_INT, (char *)"SP_PERMIT_UNSPLIT", (long) wxSP_PERMIT_UNSPLIT, 0, 0, 0},
22761 { SWIG_PY_INT, (char *)"SP_LIVE_UPDATE", (long) wxSP_LIVE_UPDATE, 0, 0, 0},
22762 { SWIG_PY_INT, (char *)"SP_3DSASH", (long) wxSP_3DSASH, 0, 0, 0},
22763 { SWIG_PY_INT, (char *)"SP_3DBORDER", (long) wxSP_3DBORDER, 0, 0, 0},
22764 { SWIG_PY_INT, (char *)"SP_BORDER", (long) wxSP_BORDER, 0, 0, 0},
22765 { SWIG_PY_INT, (char *)"SP_3D", (long) wxSP_3D, 0, 0, 0},
22766 { SWIG_PY_INT, (char *)"SPLIT_HORIZONTAL", (long) wxSPLIT_HORIZONTAL, 0, 0, 0},
22767 { SWIG_PY_INT, (char *)"SPLIT_VERTICAL", (long) wxSPLIT_VERTICAL, 0, 0, 0},
22768 { SWIG_PY_INT, (char *)"SPLIT_DRAG_NONE", (long) wxSPLIT_DRAG_NONE, 0, 0, 0},
22769 { SWIG_PY_INT, (char *)"SPLIT_DRAG_DRAGGING", (long) wxSPLIT_DRAG_DRAGGING, 0, 0, 0},
22770 { SWIG_PY_INT, (char *)"SPLIT_DRAG_LEFT_DOWN", (long) wxSPLIT_DRAG_LEFT_DOWN, 0, 0, 0},
22771 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, 0, 0, 0},
22772 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 0, 0, 0},
22773 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", (long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 0, 0, 0},
22774 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_UNSPLIT", (long) wxEVT_COMMAND_SPLITTER_UNSPLIT, 0, 0, 0},
22775 { SWIG_PY_INT, (char *)"SASH_DRAG_NONE", (long) wxSASH_DRAG_NONE, 0, 0, 0},
22776 { SWIG_PY_INT, (char *)"SASH_DRAG_DRAGGING", (long) wxSASH_DRAG_DRAGGING, 0, 0, 0},
22777 { SWIG_PY_INT, (char *)"SASH_DRAG_LEFT_DOWN", (long) wxSASH_DRAG_LEFT_DOWN, 0, 0, 0},
22778 { SWIG_PY_INT, (char *)"SW_NOBORDER", (long) wxSW_NOBORDER, 0, 0, 0},
22779 { SWIG_PY_INT, (char *)"SW_BORDER", (long) wxSW_BORDER, 0, 0, 0},
22780 { SWIG_PY_INT, (char *)"SW_3DSASH", (long) wxSW_3DSASH, 0, 0, 0},
22781 { SWIG_PY_INT, (char *)"SW_3DBORDER", (long) wxSW_3DBORDER, 0, 0, 0},
22782 { SWIG_PY_INT, (char *)"SW_3D", (long) wxSW_3D, 0, 0, 0},
22783 { SWIG_PY_INT, (char *)"SASH_TOP", (long) wxSASH_TOP, 0, 0, 0},
22784 { SWIG_PY_INT, (char *)"SASH_RIGHT", (long) wxSASH_RIGHT, 0, 0, 0},
22785 { SWIG_PY_INT, (char *)"SASH_BOTTOM", (long) wxSASH_BOTTOM, 0, 0, 0},
22786 { SWIG_PY_INT, (char *)"SASH_LEFT", (long) wxSASH_LEFT, 0, 0, 0},
22787 { SWIG_PY_INT, (char *)"SASH_NONE", (long) wxSASH_NONE, 0, 0, 0},
22788 { SWIG_PY_INT, (char *)"SASH_STATUS_OK", (long) wxSASH_STATUS_OK, 0, 0, 0},
22789 { SWIG_PY_INT, (char *)"SASH_STATUS_OUT_OF_RANGE", (long) wxSASH_STATUS_OUT_OF_RANGE, 0, 0, 0},
22790 { SWIG_PY_INT, (char *)"wxEVT_SASH_DRAGGED", (long) wxEVT_SASH_DRAGGED, 0, 0, 0},
22791 { SWIG_PY_INT, (char *)"LAYOUT_HORIZONTAL", (long) wxLAYOUT_HORIZONTAL, 0, 0, 0},
22792 { SWIG_PY_INT, (char *)"LAYOUT_VERTICAL", (long) wxLAYOUT_VERTICAL, 0, 0, 0},
22793 { SWIG_PY_INT, (char *)"LAYOUT_NONE", (long) wxLAYOUT_NONE, 0, 0, 0},
22794 { SWIG_PY_INT, (char *)"LAYOUT_TOP", (long) wxLAYOUT_TOP, 0, 0, 0},
22795 { SWIG_PY_INT, (char *)"LAYOUT_LEFT", (long) wxLAYOUT_LEFT, 0, 0, 0},
22796 { SWIG_PY_INT, (char *)"LAYOUT_RIGHT", (long) wxLAYOUT_RIGHT, 0, 0, 0},
22797 { SWIG_PY_INT, (char *)"LAYOUT_BOTTOM", (long) wxLAYOUT_BOTTOM, 0, 0, 0},
22798 { SWIG_PY_INT, (char *)"LAYOUT_LENGTH_Y", (long) wxLAYOUT_LENGTH_Y, 0, 0, 0},
22799 { SWIG_PY_INT, (char *)"LAYOUT_LENGTH_X", (long) wxLAYOUT_LENGTH_X, 0, 0, 0},
22800 { SWIG_PY_INT, (char *)"LAYOUT_MRU_LENGTH", (long) wxLAYOUT_MRU_LENGTH, 0, 0, 0},
22801 { SWIG_PY_INT, (char *)"LAYOUT_QUERY", (long) wxLAYOUT_QUERY, 0, 0, 0},
22802 { SWIG_PY_INT, (char *)"wxEVT_QUERY_LAYOUT_INFO", (long) wxEVT_QUERY_LAYOUT_INFO, 0, 0, 0},
22803 { SWIG_PY_INT, (char *)"wxEVT_CALCULATE_LAYOUT", (long) wxEVT_CALCULATE_LAYOUT, 0, 0, 0},
22804 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_MOVE", (long) wxEVT_TASKBAR_MOVE, 0, 0, 0},
22805 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DOWN", (long) wxEVT_TASKBAR_LEFT_DOWN, 0, 0, 0},
22806 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_UP", (long) wxEVT_TASKBAR_LEFT_UP, 0, 0, 0},
22807 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DOWN", (long) wxEVT_TASKBAR_RIGHT_DOWN, 0, 0, 0},
22808 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_UP", (long) wxEVT_TASKBAR_RIGHT_UP, 0, 0, 0},
22809 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DCLICK", (long) wxEVT_TASKBAR_LEFT_DCLICK, 0, 0, 0},
22810 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DCLICK", (long) wxEVT_TASKBAR_RIGHT_DCLICK, 0, 0, 0},
22811 { SWIG_PY_INT, (char *)"CHOICEDLG_STYLE", (long) wxCHOICEDLG_STYLE, 0, 0, 0},
22812 { SWIG_PY_INT, (char *)"FR_DOWN", (long) wxFR_DOWN, 0, 0, 0},
22813 { SWIG_PY_INT, (char *)"FR_WHOLEWORD", (long) wxFR_WHOLEWORD, 0, 0, 0},
22814 { SWIG_PY_INT, (char *)"FR_MATCHCASE", (long) wxFR_MATCHCASE, 0, 0, 0},
22815 { SWIG_PY_INT, (char *)"FR_REPLACEDIALOG", (long) wxFR_REPLACEDIALOG, 0, 0, 0},
22816 { SWIG_PY_INT, (char *)"FR_NOUPDOWN", (long) wxFR_NOUPDOWN, 0, 0, 0},
22817 { SWIG_PY_INT, (char *)"FR_NOMATCHCASE", (long) wxFR_NOMATCHCASE, 0, 0, 0},
22818 { SWIG_PY_INT, (char *)"FR_NOWHOLEWORD", (long) wxFR_NOWHOLEWORD, 0, 0, 0},
22819 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND", (long) wxEVT_COMMAND_FIND, 0, 0, 0},
22820 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_NEXT", (long) wxEVT_COMMAND_FIND_NEXT, 0, 0, 0},
22821 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE", (long) wxEVT_COMMAND_FIND_REPLACE, 0, 0, 0},
22822 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE_ALL", (long) wxEVT_COMMAND_FIND_REPLACE_ALL, 0, 0, 0},
22823 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_CLOSE", (long) wxEVT_COMMAND_FIND_CLOSE, 0, 0, 0},
22824 { SWIG_PY_INT, (char *)"IDM_WINDOWTILE", (long) 4001, 0, 0, 0},
22825 { SWIG_PY_INT, (char *)"IDM_WINDOWTILEHOR", (long) 4001, 0, 0, 0},
22826 { SWIG_PY_INT, (char *)"IDM_WINDOWCASCADE", (long) 4002, 0, 0, 0},
22827 { SWIG_PY_INT, (char *)"IDM_WINDOWICONS", (long) 4003, 0, 0, 0},
22828 { SWIG_PY_INT, (char *)"IDM_WINDOWNEXT", (long) 4004, 0, 0, 0},
22829 { SWIG_PY_INT, (char *)"IDM_WINDOWTILEVERT", (long) 4005, 0, 0, 0},
22830 { SWIG_PY_INT, (char *)"FIRST_MDI_CHILD", (long) 4100, 0, 0, 0},
22831 { SWIG_PY_INT, (char *)"LAST_MDI_CHILD", (long) 4600, 0, 0, 0},
22832 { SWIG_PY_INT, (char *)"PRINT_MODE_NONE", (long) wxPRINT_MODE_NONE, 0, 0, 0},
22833 { SWIG_PY_INT, (char *)"PRINT_MODE_PREVIEW", (long) wxPRINT_MODE_PREVIEW, 0, 0, 0},
22834 { SWIG_PY_INT, (char *)"PRINT_MODE_FILE", (long) wxPRINT_MODE_FILE, 0, 0, 0},
22835 { SWIG_PY_INT, (char *)"PRINT_MODE_PRINTER", (long) wxPRINT_MODE_PRINTER, 0, 0, 0},
22836 { SWIG_PY_INT, (char *)"PRINTER_NO_ERROR", (long) wxPRINTER_NO_ERROR, 0, 0, 0},
22837 { SWIG_PY_INT, (char *)"PRINTER_CANCELLED", (long) wxPRINTER_CANCELLED, 0, 0, 0},
22838 { SWIG_PY_INT, (char *)"PRINTER_ERROR", (long) wxPRINTER_ERROR, 0, 0, 0},
22839 { SWIG_PY_INT, (char *)"PREVIEW_PRINT", (long) wxPREVIEW_PRINT, 0, 0, 0},
22840 { SWIG_PY_INT, (char *)"PREVIEW_PREVIOUS", (long) wxPREVIEW_PREVIOUS, 0, 0, 0},
22841 { SWIG_PY_INT, (char *)"PREVIEW_NEXT", (long) wxPREVIEW_NEXT, 0, 0, 0},
22842 { SWIG_PY_INT, (char *)"PREVIEW_ZOOM", (long) wxPREVIEW_ZOOM, 0, 0, 0},
22843 { SWIG_PY_INT, (char *)"PREVIEW_FIRST", (long) wxPREVIEW_FIRST, 0, 0, 0},
22844 { SWIG_PY_INT, (char *)"PREVIEW_LAST", (long) wxPREVIEW_LAST, 0, 0, 0},
22845 { SWIG_PY_INT, (char *)"PREVIEW_GOTO", (long) wxPREVIEW_GOTO, 0, 0, 0},
22846 { SWIG_PY_INT, (char *)"PREVIEW_DEFAULT", (long) wxPREVIEW_DEFAULT, 0, 0, 0},
22847 { SWIG_PY_INT, (char *)"ID_PREVIEW_CLOSE", (long) wxID_PREVIEW_CLOSE, 0, 0, 0},
22848 { SWIG_PY_INT, (char *)"ID_PREVIEW_NEXT", (long) wxID_PREVIEW_NEXT, 0, 0, 0},
22849 { SWIG_PY_INT, (char *)"ID_PREVIEW_PREVIOUS", (long) wxID_PREVIEW_PREVIOUS, 0, 0, 0},
22850 { SWIG_PY_INT, (char *)"ID_PREVIEW_PRINT", (long) wxID_PREVIEW_PRINT, 0, 0, 0},
22851 { SWIG_PY_INT, (char *)"ID_PREVIEW_ZOOM", (long) wxID_PREVIEW_ZOOM, 0, 0, 0},
22852 { SWIG_PY_INT, (char *)"ID_PREVIEW_FIRST", (long) wxID_PREVIEW_FIRST, 0, 0, 0},
22853 { SWIG_PY_INT, (char *)"ID_PREVIEW_LAST", (long) wxID_PREVIEW_LAST, 0, 0, 0},
22854 { SWIG_PY_INT, (char *)"ID_PREVIEW_GOTO", (long) wxID_PREVIEW_GOTO, 0, 0, 0},
22855 {0}};
22856
22857 #ifdef __cplusplus
22858 }
22859 #endif
22860
22861 #ifdef __cplusplus
22862 extern "C"
22863 #endif
22864 SWIGEXPORT(void) SWIG_init(void) {
22865 static PyObject *SWIG_globals = 0;
22866 static int typeinit = 0;
22867 PyObject *m, *d;
22868 int i;
22869 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
22870 m = Py_InitModule((char *) SWIG_name, SwigMethods);
22871 d = PyModule_GetDict(m);
22872
22873 if (!typeinit) {
22874 for (i = 0; swig_types_initial[i]; i++) {
22875 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
22876 }
22877 typeinit = 1;
22878 }
22879 SWIG_InstallConstants(d,swig_const_table);
22880
22881 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
22882 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
22883 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
22884 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
22885 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
22886 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
22887 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
22888 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
22889 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
22890 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
22891 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
22892 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
22893 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
22894 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
22895 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
22896 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
22897
22898 // Map renamed classes back to their common name for OOR
22899 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
22900 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
22901 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
22902
22903 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
22904 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
22905 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
22906 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
22907 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
22908 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
22909 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
22910 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
22911 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
22912 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
22913 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
22914 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
22915 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
22916 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
22917 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
22918 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
22919 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
22920 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
22921 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
22922 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
22923
22924 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
22925
22926 }
22927