]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/windows_wrap.cpp
Cosmetic cleanup (-1 -> wxID_ANY, TRUE->true).
[wxWidgets.git] / wxPython / src / msw / windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.20
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48
49
50 /***********************************************************************
51 * common.swg for wxPython
52 *
53 * Include only the function prototypes and such from SWIG's common.swg,
54 * but not the runtime functions themselves. This helps keep the
55 * wrapper files clean of unnecessary stuff that is in the libpy.c file
56 * anyway.
57 *
58 ************************************************************************/
59
60 #include <string.h>
61
62 #if defined(_WIN32) || defined(__WIN32__)
63 # if defined(_MSC_VER)
64 # if defined(STATIC_LINKED)
65 # define SWIGEXPORT(a) a
66 # define SWIGIMPORT(a) extern a
67 # else
68 # define SWIGEXPORT(a) __declspec(dllexport) a
69 # define SWIGIMPORT(a) extern a
70 # endif
71 # else
72 # if defined(__BORLANDC__)
73 # define SWIGEXPORT(a) a _export
74 # define SWIGIMPORT(a) a _export
75 # else
76 # define SWIGEXPORT(a) a
77 # define SWIGIMPORT(a) a
78 # endif
79 # endif
80 #else
81 # define SWIGEXPORT(a) a
82 # define SWIGIMPORT(a) a
83 #endif
84
85 #ifdef SWIG_GLOBAL
86 #define SWIGRUNTIME(a) SWIGEXPORT(a)
87 #else
88 #define SWIGRUNTIME(a) static a
89 #endif
90
91
92 #ifdef __cplusplus
93 extern "C" {
94 #endif
95
96 typedef void *(*swig_converter_func)(void *);
97 typedef struct swig_type_info *(*swig_dycast_func)(void **);
98
99 typedef struct swig_type_info {
100 const char *name;
101 swig_converter_func converter;
102 const char *str;
103 void *clientdata;
104 swig_dycast_func dcast;
105 struct swig_type_info *next;
106 struct swig_type_info *prev;
107 } swig_type_info;
108
109
110 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
111 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
112 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
113 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
114 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
115 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
116 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
117
118
119 #ifdef __cplusplus
120 }
121
122 #endif
123
124 /***********************************************************************
125 * pyrun.swg for wxPython
126 *
127 * Include only the function prototypes and such from SWIG's pyrun.swg,
128 * but not the runtime functions themselves. This helps keep the
129 * wrapper files clean of unnecessary stuff that is in the libpy.c file
130 * anyway.
131 *
132 ************************************************************************/
133
134
135 #include "Python.h"
136
137 #ifdef __cplusplus
138 extern "C" {
139 #endif
140
141 #define SWIG_PY_INT 1
142 #define SWIG_PY_FLOAT 2
143 #define SWIG_PY_STRING 3
144 #define SWIG_PY_POINTER 4
145 #define SWIG_PY_BINARY 5
146
147 /* Flags for pointer conversion */
148
149 #define SWIG_POINTER_EXCEPTION 0x1
150 #define SWIG_POINTER_DISOWN 0x2
151
152 /* Exception handling in wrappers */
153 #define SWIG_fail goto fail
154
155 /* Constant information structure */
156 typedef struct swig_const_info {
157 int type;
158 char *name;
159 long lvalue;
160 double dvalue;
161 void *pvalue;
162 swig_type_info **ptype;
163 } swig_const_info;
164
165
166
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_PackData(c, ptr, sz) \
183 SWIG_Python_PackData(c, ptr, sz)
184 #define SWIG_UnpackData(c, ptr, sz) \
185 SWIG_Python_UnpackData(c, ptr, sz)
186 #define SWIG_NewPackedObj(ptr, sz, type) \
187 SWIG_Python_NewPackedObj(ptr, sz, type)
188 #define SWIG_InstallConstants(d, constants) \
189 SWIG_Python_InstallConstants(d, constants)
190
191
192 SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
193 SWIGEXPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
194 SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
195
196 SWIGEXPORT(PyObject *) SWIG_Python_newvarlink(void);
197 SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
198 SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
199 SWIGEXPORT(char *) SWIG_Python_PackData(char *c, void *, int);
200 SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c, void *, int);
201 SWIGEXPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
202 SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
203
204
205 /* Contract support */
206
207 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
208
209
210 #ifdef __cplusplus
211 }
212 #endif
213
214
215
216 /* -------- TYPES TABLE (BEGIN) -------- */
217
218 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
219 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
220 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
221 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[3]
222 #define SWIGTYPE_p_wxPyPanel swig_types[4]
223 #define SWIGTYPE_p_wxMenu swig_types[5]
224 #define SWIGTYPE_p_wxPrintData swig_types[6]
225 #define SWIGTYPE_p_wxFontData swig_types[7]
226 #define SWIGTYPE_p_wxEvent swig_types[8]
227 #define SWIGTYPE_p_wxTaskBarIcon swig_types[9]
228 #define SWIGTYPE_p_wxIconBundle swig_types[10]
229 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
230 #define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
231 #define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
232 #define SWIGTYPE_p_wxFont swig_types[14]
233 #define SWIGTYPE_p_wxSplitterEvent swig_types[15]
234 #define SWIGTYPE_p_wxRegion swig_types[16]
235 #define SWIGTYPE_p_wxFindReplaceData swig_types[17]
236 #define SWIGTYPE_p_int swig_types[18]
237 #define SWIGTYPE_p_wxSize swig_types[19]
238 #define SWIGTYPE_p_wxDC swig_types[20]
239 #define SWIGTYPE_p_wxIcon swig_types[21]
240 #define SWIGTYPE_p_wxMDIChildFrame swig_types[22]
241 #define SWIGTYPE_p_wxColourData swig_types[23]
242 #define SWIGTYPE_p_wxNotifyEvent swig_types[24]
243 #define SWIGTYPE_p_wxPyWindow swig_types[25]
244 #define SWIGTYPE_p_wxSplashScreen swig_types[26]
245 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[27]
246 #define SWIGTYPE_p_wxProgressDialog swig_types[28]
247 #define SWIGTYPE_p_wxMessageDialog swig_types[29]
248 #define SWIGTYPE_p_wxTextEntryDialog swig_types[30]
249 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[31]
250 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[32]
251 #define SWIGTYPE_p_wxFileDialog swig_types[33]
252 #define SWIGTYPE_p_wxPrinter swig_types[34]
253 #define SWIGTYPE_p_wxMenuItem swig_types[35]
254 #define SWIGTYPE_p_wxArrayInt swig_types[36]
255 #define SWIGTYPE_p_wxEvtHandler swig_types[37]
256 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[38]
257 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[39]
258 #define SWIGTYPE_p_wxPyVListBox swig_types[40]
259 #define SWIGTYPE_p_wxRect swig_types[41]
260 #define SWIGTYPE_p_wxAcceleratorTable swig_types[42]
261 #define SWIGTYPE_p_wxMiniFrame swig_types[43]
262 #define SWIGTYPE_p_wxFrame swig_types[44]
263 #define SWIGTYPE_p_wxPyPrintout swig_types[45]
264 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[46]
265 #define SWIGTYPE_p_wxScrollWinEvent swig_types[47]
266 #define SWIGTYPE_p_wxStatusBar swig_types[48]
267 #define SWIGTYPE_p_wxMDIParentFrame swig_types[49]
268 #define SWIGTYPE_p_wxPoint swig_types[50]
269 #define SWIGTYPE_p_wxObject swig_types[51]
270 #define SWIGTYPE_p_unsigned_long swig_types[52]
271 #define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
272 #define SWIGTYPE_p_wxTipWindow swig_types[54]
273 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[55]
274 #define SWIGTYPE_p_wxSplitterWindow swig_types[56]
275 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[57]
276 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[58]
277 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[59]
278 #define SWIGTYPE_p_wxPopupWindow swig_types[60]
279 #define SWIGTYPE_p_wxSashWindow swig_types[61]
280 #define SWIGTYPE_p_wxTopLevelWindow swig_types[62]
281 #define SWIGTYPE_p_wxWindow swig_types[63]
282 #define SWIGTYPE_p_wxScrolledWindow swig_types[64]
283 #define SWIGTYPE_p_wxMenuBar swig_types[65]
284 #define SWIGTYPE_p_wxPrintPreview swig_types[66]
285 #define SWIGTYPE_p_wxSashEvent swig_types[67]
286 #define SWIGTYPE_p_wxString swig_types[68]
287 #define SWIGTYPE_p_wxPyPrintPreview swig_types[69]
288 #define SWIGTYPE_p_wxFontDialog swig_types[70]
289 #define SWIGTYPE_p_wxDirDialog swig_types[71]
290 #define SWIGTYPE_p_wxColourDialog swig_types[72]
291 #define SWIGTYPE_p_wxDialog swig_types[73]
292 #define SWIGTYPE_p_wxPanel swig_types[74]
293 #define SWIGTYPE_p_wxPageSetupDialog swig_types[75]
294 #define SWIGTYPE_p_wxPrintDialog swig_types[76]
295 #define SWIGTYPE_p_wxBitmap swig_types[77]
296 #define SWIGTYPE_p_wxCommandEvent swig_types[78]
297 #define SWIGTYPE_p_wxPrintQuality swig_types[79]
298 #define SWIGTYPE_p_wxPreviewControlBar swig_types[80]
299 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[81]
300 #define SWIGTYPE_p_wxColour swig_types[82]
301 #define SWIGTYPE_p_wxToolBar swig_types[83]
302 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[84]
303 #define SWIGTYPE_p_wxPrintDialogData swig_types[85]
304 static swig_type_info *swig_types[87];
305
306 /* -------- TYPES TABLE (END) -------- */
307
308
309 /*-----------------------------------------------
310 @(target):= _windows.so
311 ------------------------------------------------*/
312 #define SWIG_init init_windows
313
314 #define SWIG_name "_windows"
315
316 #include "wx/wxPython/wxPython.h"
317 #include "wx/wxPython/pyclasses.h"
318
319 DECLARE_DEF_STRING(PanelNameStr);
320 DECLARE_DEF_STRING(EmptyString);
321
322
323
324
325
326 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
327 PyObject* o2;
328 PyObject* o3;
329
330 if (!target) {
331 target = o;
332 } else if (target == Py_None) {
333 Py_DECREF(Py_None);
334 target = o;
335 } else {
336 if (!PyTuple_Check(target)) {
337 o2 = target;
338 target = PyTuple_New(1);
339 PyTuple_SetItem(target, 0, o2);
340 }
341 o3 = PyTuple_New(1);
342 PyTuple_SetItem(o3, 0, o);
343
344 o2 = target;
345 target = PySequence_Concat(o2, o3);
346 Py_DECREF(o2);
347 Py_DECREF(o3);
348 }
349 return target;
350 }
351
352
353 // Put some wx default wxChar* values into wxStrings.
354 DECLARE_DEF_STRING(FrameNameStr);
355 DECLARE_DEF_STRING(DialogNameStr);
356 DECLARE_DEF_STRING(StatusLineNameStr);
357 DECLARE_DEF_STRING(ToolBarNameStr);
358
359 bool wxDialog_IsModalShowing(wxDialog *self){
360
361
362
363 return self->IsModalShowing();
364
365 }
366
367
368
369 static const wxChar* wxSplitterNameStr = wxT("splitter");
370 DECLARE_DEF_STRING(SplitterNameStr);
371
372
373 static const wxChar* wxSashNameStr = wxT("sashWindow");
374 DECLARE_DEF_STRING(SashNameStr);
375 static const wxChar* wxSashLayoutNameStr = wxT("layoutWindow");
376 DECLARE_DEF_STRING(SashLayoutNameStr);
377
378
379 #include <wx/popupwin.h>
380
381
382 class wxPyPopupTransientWindow : public wxPopupTransientWindow
383 {
384 public:
385 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
386 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
387 : wxPopupTransientWindow(parent, style) {}
388
389 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
390 DEC_PYCALLBACK__(OnDismiss);
391 DEC_PYCALLBACK_BOOL_(CanDismiss);
392 PYPRIVATE;
393 };
394
395
396 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
397 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
398 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
399
400
401 #include <wx/tipwin.h>
402
403 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const *text,int maxLength,wxRect *rectBound){
404 wxString tmp = *text;
405 return new wxTipWindow(parent, tmp, maxLength, NULL, rectBound);
406 }
407
408 #include <wx/tipwin.h>
409
410
411 #include <wx/vscroll.h>
412
413
414 class wxPyVScrolledWindow : public wxVScrolledWindow
415 {
416 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
417 public:
418 wxPyVScrolledWindow() : wxVScrolledWindow() {}
419
420 wxPyVScrolledWindow(wxWindow *parent,
421 wxWindowID id = wxID_ANY,
422 const wxPoint& pos = wxDefaultPosition,
423 const wxSize& size = wxDefaultSize,
424 long style = 0,
425 const wxString& name = wxPyPanelNameStr)
426 : wxVScrolledWindow(parent, id, pos, size, style, name)
427 {}
428
429 // Overridable virtuals
430
431 // this function must be overridden in the derived class and it should
432 // return the height of the given line in pixels
433 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
434
435
436 // this function doesn't have to be overridden but it may be useful to do
437 // it if calculating the lines heights is a relatively expensive operation
438 // as it gives the user code a possibility to calculate several of them at
439 // once
440 //
441 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
442 // shouldn't rely on the latter being called for all lines in the interval
443 // specified here. It is also possible that OnGetLineHeight() will be
444 // called for the lines outside of this interval, so this is really just a
445 // hint, not a promise.
446 //
447 // finally note that lineMin is inclusive, while lineMax is exclusive, as
448 // usual
449 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
450
451
452 // when the number of lines changes, we try to estimate the total height
453 // of all lines which is a rather expensive operation in terms of lines
454 // access, so if the user code may estimate the average height
455 // better/faster than we do, it should override this function to implement
456 // its own logic
457 //
458 // this function should return the best guess for the total height it may
459 // make
460 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
461
462
463 // Also expose some other interesting protected methods
464
465
466 // find the index of the line we need to show at the top of the window such
467 // that the last (fully or partially) visible line is the given one
468 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
469 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
470
471 // get the total height of the lines between lineMin (inclusive) and
472 // lineMax (exclusive)
473 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
474 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
475
476
477 PYPRIVATE;
478 };
479
480 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
481
482 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
483 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
484 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
485
486
487 #include <wx/vlbox.h>
488 DECLARE_DEF_STRING(VListBoxNameStr);
489
490
491 class wxPyVListBox : public wxVListBox
492 {
493 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
494 public:
495 wxPyVListBox() : wxVListBox() {}
496
497 wxPyVListBox(wxWindow *parent,
498 wxWindowID id = wxID_ANY,
499 const wxPoint& pos = wxDefaultPosition,
500 const wxSize& size = wxDefaultSize,
501 long style = 0,
502 const wxString& name = wxPyVListBoxNameStr)
503 : wxVListBox(parent, id, pos, size, style, name)
504 {}
505
506 // Overridable virtuals
507
508 // the derived class must implement this function to actually draw the item
509 // with the given index on the provided DC
510 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
511 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
512
513
514 // the derived class must implement this method to return the height of the
515 // specified item
516 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
517 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
518
519
520 // this method may be used to draw separators between the lines; note that
521 // the rectangle may be modified, typically to deflate it a bit before
522 // passing to OnDrawItem()
523 //
524 // the base class version doesn't do anything
525 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
526 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
527
528
529 // this method is used to draw the items background and, maybe, a border
530 // around it
531 //
532 // the base class version implements a reasonable default behaviour which
533 // consists in drawing the selected item with the standard background
534 // colour and drawing a border around the item if it is either selected or
535 // current
536 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
537 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
538
539
540 PYPRIVATE;
541 };
542
543 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
544
545 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
546 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
547 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
548 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
549
550
551
552 #include <wx/htmllbox.h>
553
554
555 class wxPyHtmlListBox : public wxHtmlListBox
556 {
557 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
558 public:
559 wxPyHtmlListBox() : wxHtmlListBox() {}
560
561 wxPyHtmlListBox(wxWindow *parent,
562 wxWindowID id = wxID_ANY,
563 const wxPoint& pos = wxDefaultPosition,
564 const wxSize& size = wxDefaultSize,
565 long style = 0,
566 const wxString& name = wxPyVListBoxNameStr)
567 : wxHtmlListBox(parent, id, pos, size, style, name)
568 {}
569
570 // Overridable virtuals
571
572 // this method must be implemented in the derived class and should return
573 // the body (i.e. without <html>) of the HTML for the given item
574 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
575
576 // this function may be overridden to decorate HTML returned by OnGetItem()
577 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
578
579 // TODO:
580 // // this method allows to customize the selection appearance: it may be used
581 // // to specify the colour of the text which normally has the given colour
582 // // colFg when it is inside the selection
583 // //
584 // // by default, the original colour is not used at all and all text has the
585 // // same (default for this system) colour inside selection
586 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
587
588 // // this is the same as GetSelectedTextColour() but allows to customize the
589 // // background colour -- this is even more rarely used as you can change it
590 // // globally using SetSelectionBackground()
591 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
592
593
594 PYPRIVATE;
595 };
596
597
598 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
599
600 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
601 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
602
603
604
605
606
607 #ifdef __WXMAC__
608 // implement dummy classes and such for wxMac
609
610 class wxTaskBarIcon : public wxEvtHandler
611 {
612 public:
613 wxTaskBarIcon() { PyErr_SetNone(PyExc_NotImplementedError); }
614 };
615
616
617 class wxTaskBarIconEvent : public wxEvent
618 {
619 public:
620 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
621 { PyErr_SetNone(PyExc_NotImplementedError); }
622 virtual wxEvent* Clone() const { return NULL; }
623 };
624
625 enum {
626 wxEVT_TASKBAR_MOVE = 0,
627 wxEVT_TASKBAR_LEFT_DOWN = 0,
628 wxEVT_TASKBAR_LEFT_UP = 0,
629 wxEVT_TASKBAR_RIGHT_DOWN = 0,
630 wxEVT_TASKBAR_RIGHT_UP = 0,
631 wxEVT_TASKBAR_LEFT_DCLICK = 0,
632 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
633 };
634 #endif
635
636
637
638 DECLARE_DEF_STRING(FileSelectorPromptStr);
639 DECLARE_DEF_STRING(DirSelectorPromptStr);
640 DECLARE_DEF_STRING(DirDialogNameStr);
641 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr);
642 DECLARE_DEF_STRING(GetTextFromUserPromptStr);
643 DECLARE_DEF_STRING(MessageBoxCaptionStr);
644
645
646 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
647 wxArrayString arr;
648 self->GetFilenames(arr);
649 return wxArrayString2PyList_helper(arr);
650 }
651 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
652 wxArrayString arr;
653 self->GetPaths(arr);
654 return wxArrayString2PyList_helper(arr);
655 }
656 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
657 return wxArrayInt2PyList_helper(self->GetSelections());
658 }
659 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
660 return new wxSingleChoiceDialog(parent, message, caption,
661 choices, choices_array, NULL, style, pos);
662 }
663
664 #include <wx/mdi.h>
665
666 // C++ version of Python aware wxWindow
667 class wxPyWindow : public wxWindow
668 {
669 DECLARE_DYNAMIC_CLASS(wxPyWindow)
670 public:
671 wxPyWindow() : wxWindow() {}
672 wxPyWindow(wxWindow* parent, const wxWindowID id,
673 const wxPoint& pos = wxDefaultPosition,
674 const wxSize& size = wxDefaultSize,
675 long style = 0,
676 const wxString& name = wxPyPanelNameStr)
677 : wxWindow(parent, id, pos, size, style, name) {}
678
679
680 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
681 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
682 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
683 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
684
685 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
686 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
687 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
688
689 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
690 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
691
692 DEC_PYCALLBACK__(InitDialog);
693 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
694 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
695 DEC_PYCALLBACK_BOOL_(Validate);
696
697 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
698 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
699 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
700
701 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
702 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
703
704 PYPRIVATE;
705 };
706
707 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
708
709 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
710 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
711 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
712 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
713
714 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
715 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
716 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
717
718 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
719 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
720
721 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
722 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
723 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
724 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
725
726 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
727 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
728 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
729
730 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
731 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
732
733
734 // C++ version of Python aware wxPanel
735 class wxPyPanel : public wxPanel
736 {
737 DECLARE_DYNAMIC_CLASS(wxPyPanel)
738 public:
739 wxPyPanel() : wxPanel() {}
740 wxPyPanel(wxWindow* parent, const wxWindowID id,
741 const wxPoint& pos = wxDefaultPosition,
742 const wxSize& size = wxDefaultSize,
743 long style = 0,
744 const wxString& name = wxPyPanelNameStr)
745 : wxPanel(parent, id, pos, size, style, name) {}
746
747
748 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
749 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
750 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
751 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
752
753 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
754 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
755 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
756
757 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
758 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
759
760 DEC_PYCALLBACK__(InitDialog);
761 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
762 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
763 DEC_PYCALLBACK_BOOL_(Validate);
764
765 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
766 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
767 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
768
769 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
770 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
771
772 PYPRIVATE;
773 };
774
775 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
776
777 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
778 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
779 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
780 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
781
782 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
783 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
784 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
785
786 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
787 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
788
789 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
790 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
791 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
792 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
793
794 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
795 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
796 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
797
798 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
799 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
800
801
802
803 #include "wx/wxPython/printfw.h"
804
805 static const wxChar* wxPrintoutTitleStr = wxT("Printout");
806 DECLARE_DEF_STRING(PrintoutTitleStr);
807 static const wxChar* wxPreviewCanvasNameStr = wxT("previewcanvas");
808 DECLARE_DEF_STRING(PreviewCanvasNameStr);
809
810
811
812
813
814 // Since this one would be tough and ugly to do with the Macros...
815 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
816 bool hadErr = False;
817 bool found;
818
819 wxPyBeginBlockThreads();
820 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
821 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
822 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
823 PyObject* val;
824
825 val = PyTuple_GetItem(result, 0);
826 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
827 else hadErr = True;
828
829 val = PyTuple_GetItem(result, 1);
830 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
831 else hadErr = True;
832
833 val = PyTuple_GetItem(result, 2);
834 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
835 else hadErr = True;
836
837 val = PyTuple_GetItem(result, 3);
838 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
839 else hadErr = True;
840 }
841 else
842 hadErr = True;
843
844 if (hadErr) {
845 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
846 PyErr_Print();
847 }
848 Py_DECREF(result);
849 }
850 wxPyEndBlockThreads();
851 if (! found)
852 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
853 }
854
855 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
856 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
857 }
858
859
860 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
861 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
862 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
863 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
864 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
865 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
866 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
867
868
869
870
871
872 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
873 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
874 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
875
876
877 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
878 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
879 bool rval=False; \
880 bool found; \
881 wxPyBeginBlockThreads(); \
882 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
883 PyObject* win = wxPyMake_wxObject(a); \
884 PyObject* dc = wxPyMake_wxObject(&b); \
885 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
886 Py_DECREF(win); \
887 Py_DECREF(dc); \
888 } \
889 wxPyEndBlockThreads(); \
890 if (! found) \
891 rval = PCLASS::CBNAME(a, b); \
892 return rval; \
893 } \
894 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
895 return PCLASS::CBNAME(a, b); \
896 }
897
898
899
900
901 class wxPyPrintPreview : public wxPrintPreview
902 {
903 DECLARE_CLASS(wxPyPrintPreview)
904 public:
905 wxPyPrintPreview(wxPyPrintout* printout,
906 wxPyPrintout* printoutForPrinting,
907 wxPrintData* data=NULL)
908 : wxPrintPreview(printout, printoutForPrinting, data)
909 {}
910
911 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
912 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
913 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
914 DEC_PYCALLBACK_BOOL_INT(RenderPage);
915 DEC_PYCALLBACK_VOID_INT(SetZoom);
916 DEC_PYCALLBACK_BOOL_BOOL(Print);
917 DEC_PYCALLBACK_VOID_(DetermineScaling);
918
919 PYPRIVATE;
920 };
921
922 // Stupid renamed classes... Fix this in 2.5...
923 #if defined(__WXMSW__)
924 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
925 #elif defined(__WXMAC__)
926 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
927 #else
928 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
929 #endif
930
931 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
932 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
933 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
934 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
935 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
936 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
937 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
938
939
940 class wxPyPreviewFrame : public wxPreviewFrame
941 {
942 DECLARE_CLASS(wxPyPreviewFrame);
943 public:
944 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
945 const wxString& title,
946 const wxPoint& pos = wxDefaultPosition,
947 const wxSize& size = wxDefaultSize,
948 long style = wxDEFAULT_FRAME_STYLE,
949 const wxString& name = wxPyFrameNameStr)
950 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
951 {}
952
953 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
954 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
955
956 DEC_PYCALLBACK_VOID_(Initialize);
957 DEC_PYCALLBACK_VOID_(CreateCanvas);
958 DEC_PYCALLBACK_VOID_(CreateControlBar);
959
960 PYPRIVATE;
961 };
962
963 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
964
965 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
966 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
967 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
968
969
970 class wxPyPreviewControlBar : public wxPreviewControlBar
971 {
972 DECLARE_CLASS(wxPyPreviewControlBar);
973 public:
974 wxPyPreviewControlBar(wxPrintPreview *preview,
975 long buttons,
976 wxWindow *parent,
977 const wxPoint& pos = wxDefaultPosition,
978 const wxSize& size = wxDefaultSize,
979 long style = 0,
980 const wxString& name = wxPyPanelNameStr)
981 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
982 {}
983
984 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
985
986 DEC_PYCALLBACK_VOID_(CreateButtons);
987 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
988
989 PYPRIVATE;
990 };
991
992 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
993 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
994 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
995
996 #ifdef __cplusplus
997 extern "C" {
998 #endif
999 static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
1000 PyObject *resultobj;
1001 wxWindow *arg1 = (wxWindow *) 0 ;
1002 int arg2 = (int) (int)-1 ;
1003 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1004 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1005 wxSize const &arg4_defvalue = wxDefaultSize ;
1006 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1007 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1008 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1009 wxString *arg6 = (wxString *) &arg6_defvalue ;
1010 wxPanel *result;
1011 wxPoint temp3 ;
1012 wxSize temp4 ;
1013 bool temp6 = False ;
1014 PyObject * obj0 = 0 ;
1015 PyObject * obj2 = 0 ;
1016 PyObject * obj3 = 0 ;
1017 PyObject * obj5 = 0 ;
1018 char *kwnames[] = {
1019 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1020 };
1021
1022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_Panel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
1023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1024 if (obj2) {
1025 {
1026 arg3 = &temp3;
1027 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1028 }
1029 }
1030 if (obj3) {
1031 {
1032 arg4 = &temp4;
1033 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1034 }
1035 }
1036 if (obj5) {
1037 {
1038 arg6 = wxString_in_helper(obj5);
1039 if (arg6 == NULL) SWIG_fail;
1040 temp6 = True;
1041 }
1042 }
1043 {
1044 PyThreadState* __tstate = wxPyBeginAllowThreads();
1045 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1046
1047 wxPyEndAllowThreads(__tstate);
1048 if (PyErr_Occurred()) SWIG_fail;
1049 }
1050 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1051 {
1052 if (temp6)
1053 delete arg6;
1054 }
1055 return resultobj;
1056 fail:
1057 {
1058 if (temp6)
1059 delete arg6;
1060 }
1061 return NULL;
1062 }
1063
1064
1065 static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1066 PyObject *resultobj;
1067 wxPanel *result;
1068 char *kwnames[] = {
1069 NULL
1070 };
1071
1072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1073 {
1074 PyThreadState* __tstate = wxPyBeginAllowThreads();
1075 result = (wxPanel *)new wxPanel();
1076
1077 wxPyEndAllowThreads(__tstate);
1078 if (PyErr_Occurred()) SWIG_fail;
1079 }
1080 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1081 return resultobj;
1082 fail:
1083 return NULL;
1084 }
1085
1086
1087 static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1088 PyObject *resultobj;
1089 wxPanel *arg1 = (wxPanel *) 0 ;
1090 wxWindow *arg2 = (wxWindow *) 0 ;
1091 int arg3 ;
1092 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1093 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1094 wxSize const &arg5_defvalue = wxDefaultSize ;
1095 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1096 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1097 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1098 wxString *arg7 = (wxString *) &arg7_defvalue ;
1099 bool result;
1100 wxPoint temp4 ;
1101 wxSize temp5 ;
1102 bool temp7 = False ;
1103 PyObject * obj0 = 0 ;
1104 PyObject * obj1 = 0 ;
1105 PyObject * obj3 = 0 ;
1106 PyObject * obj4 = 0 ;
1107 PyObject * obj6 = 0 ;
1108 char *kwnames[] = {
1109 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1110 };
1111
1112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Panel_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1114 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1115 if (obj3) {
1116 {
1117 arg4 = &temp4;
1118 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1119 }
1120 }
1121 if (obj4) {
1122 {
1123 arg5 = &temp5;
1124 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1125 }
1126 }
1127 if (obj6) {
1128 {
1129 arg7 = wxString_in_helper(obj6);
1130 if (arg7 == NULL) SWIG_fail;
1131 temp7 = True;
1132 }
1133 }
1134 {
1135 PyThreadState* __tstate = wxPyBeginAllowThreads();
1136 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1137
1138 wxPyEndAllowThreads(__tstate);
1139 if (PyErr_Occurred()) SWIG_fail;
1140 }
1141 resultobj = PyInt_FromLong((long)result);
1142 {
1143 if (temp7)
1144 delete arg7;
1145 }
1146 return resultobj;
1147 fail:
1148 {
1149 if (temp7)
1150 delete arg7;
1151 }
1152 return NULL;
1153 }
1154
1155
1156 static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1157 PyObject *resultobj;
1158 wxPanel *arg1 = (wxPanel *) 0 ;
1159 PyObject * obj0 = 0 ;
1160 char *kwnames[] = {
1161 (char *) "self", NULL
1162 };
1163
1164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1166 {
1167 PyThreadState* __tstate = wxPyBeginAllowThreads();
1168 (arg1)->InitDialog();
1169
1170 wxPyEndAllowThreads(__tstate);
1171 if (PyErr_Occurred()) SWIG_fail;
1172 }
1173 Py_INCREF(Py_None); resultobj = Py_None;
1174 return resultobj;
1175 fail:
1176 return NULL;
1177 }
1178
1179
1180 static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1181 PyObject *obj;
1182 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1183 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1184 Py_INCREF(obj);
1185 return Py_BuildValue((char *)"");
1186 }
1187 static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1188 PyObject *resultobj;
1189 wxWindow *arg1 = (wxWindow *) 0 ;
1190 int arg2 = (int) (int)-1 ;
1191 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1192 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1193 wxSize const &arg4_defvalue = wxDefaultSize ;
1194 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1195 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1196 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1197 wxString *arg6 = (wxString *) &arg6_defvalue ;
1198 wxScrolledWindow *result;
1199 wxPoint temp3 ;
1200 wxSize temp4 ;
1201 bool temp6 = False ;
1202 PyObject * obj0 = 0 ;
1203 PyObject * obj2 = 0 ;
1204 PyObject * obj3 = 0 ;
1205 PyObject * obj5 = 0 ;
1206 char *kwnames[] = {
1207 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1208 };
1209
1210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_ScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
1211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1212 if (obj2) {
1213 {
1214 arg3 = &temp3;
1215 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1216 }
1217 }
1218 if (obj3) {
1219 {
1220 arg4 = &temp4;
1221 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1222 }
1223 }
1224 if (obj5) {
1225 {
1226 arg6 = wxString_in_helper(obj5);
1227 if (arg6 == NULL) SWIG_fail;
1228 temp6 = True;
1229 }
1230 }
1231 {
1232 PyThreadState* __tstate = wxPyBeginAllowThreads();
1233 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1234
1235 wxPyEndAllowThreads(__tstate);
1236 if (PyErr_Occurred()) SWIG_fail;
1237 }
1238 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1239 {
1240 if (temp6)
1241 delete arg6;
1242 }
1243 return resultobj;
1244 fail:
1245 {
1246 if (temp6)
1247 delete arg6;
1248 }
1249 return NULL;
1250 }
1251
1252
1253 static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1254 PyObject *resultobj;
1255 wxScrolledWindow *result;
1256 char *kwnames[] = {
1257 NULL
1258 };
1259
1260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1261 {
1262 PyThreadState* __tstate = wxPyBeginAllowThreads();
1263 result = (wxScrolledWindow *)new wxScrolledWindow();
1264
1265 wxPyEndAllowThreads(__tstate);
1266 if (PyErr_Occurred()) SWIG_fail;
1267 }
1268 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1269 return resultobj;
1270 fail:
1271 return NULL;
1272 }
1273
1274
1275 static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1276 PyObject *resultobj;
1277 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1278 wxWindow *arg2 = (wxWindow *) 0 ;
1279 int arg3 = (int) (int)-1 ;
1280 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1281 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1282 wxSize const &arg5_defvalue = wxDefaultSize ;
1283 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1284 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1285 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1286 wxString *arg7 = (wxString *) &arg7_defvalue ;
1287 bool result;
1288 wxPoint temp4 ;
1289 wxSize temp5 ;
1290 bool temp7 = False ;
1291 PyObject * obj0 = 0 ;
1292 PyObject * obj1 = 0 ;
1293 PyObject * obj3 = 0 ;
1294 PyObject * obj4 = 0 ;
1295 PyObject * obj6 = 0 ;
1296 char *kwnames[] = {
1297 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1298 };
1299
1300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1302 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1303 if (obj3) {
1304 {
1305 arg4 = &temp4;
1306 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1307 }
1308 }
1309 if (obj4) {
1310 {
1311 arg5 = &temp5;
1312 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1313 }
1314 }
1315 if (obj6) {
1316 {
1317 arg7 = wxString_in_helper(obj6);
1318 if (arg7 == NULL) SWIG_fail;
1319 temp7 = True;
1320 }
1321 }
1322 {
1323 PyThreadState* __tstate = wxPyBeginAllowThreads();
1324 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1325
1326 wxPyEndAllowThreads(__tstate);
1327 if (PyErr_Occurred()) SWIG_fail;
1328 }
1329 resultobj = PyInt_FromLong((long)result);
1330 {
1331 if (temp7)
1332 delete arg7;
1333 }
1334 return resultobj;
1335 fail:
1336 {
1337 if (temp7)
1338 delete arg7;
1339 }
1340 return NULL;
1341 }
1342
1343
1344 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1345 PyObject *resultobj;
1346 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1347 int arg2 ;
1348 int arg3 ;
1349 int arg4 ;
1350 int arg5 ;
1351 int arg6 = (int) 0 ;
1352 int arg7 = (int) 0 ;
1353 bool arg8 = (bool) False ;
1354 PyObject * obj0 = 0 ;
1355 PyObject * obj7 = 0 ;
1356 char *kwnames[] = {
1357 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1358 };
1359
1360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|iiO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7,&obj7)) goto fail;
1361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1362 if (obj7) {
1363 arg8 = PyInt_AsLong(obj7) ? true : false;
1364 if (PyErr_Occurred()) SWIG_fail;
1365 }
1366 {
1367 PyThreadState* __tstate = wxPyBeginAllowThreads();
1368 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1369
1370 wxPyEndAllowThreads(__tstate);
1371 if (PyErr_Occurred()) SWIG_fail;
1372 }
1373 Py_INCREF(Py_None); resultobj = Py_None;
1374 return resultobj;
1375 fail:
1376 return NULL;
1377 }
1378
1379
1380 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1381 PyObject *resultobj;
1382 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1383 int arg2 ;
1384 int arg3 ;
1385 PyObject * obj0 = 0 ;
1386 char *kwnames[] = {
1387 (char *) "self",(char *) "x",(char *) "y", NULL
1388 };
1389
1390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_Scroll",kwnames,&obj0,&arg2,&arg3)) goto fail;
1391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1392 {
1393 PyThreadState* __tstate = wxPyBeginAllowThreads();
1394 (arg1)->Scroll(arg2,arg3);
1395
1396 wxPyEndAllowThreads(__tstate);
1397 if (PyErr_Occurred()) SWIG_fail;
1398 }
1399 Py_INCREF(Py_None); resultobj = Py_None;
1400 return resultobj;
1401 fail:
1402 return NULL;
1403 }
1404
1405
1406 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1407 PyObject *resultobj;
1408 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1409 int arg2 ;
1410 int result;
1411 PyObject * obj0 = 0 ;
1412 char *kwnames[] = {
1413 (char *) "self",(char *) "orient", NULL
1414 };
1415
1416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&arg2)) goto fail;
1417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1418 {
1419 PyThreadState* __tstate = wxPyBeginAllowThreads();
1420 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1421
1422 wxPyEndAllowThreads(__tstate);
1423 if (PyErr_Occurred()) SWIG_fail;
1424 }
1425 resultobj = PyInt_FromLong((long)result);
1426 return resultobj;
1427 fail:
1428 return NULL;
1429 }
1430
1431
1432 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1433 PyObject *resultobj;
1434 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1435 int arg2 ;
1436 int arg3 ;
1437 PyObject * obj0 = 0 ;
1438 char *kwnames[] = {
1439 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1440 };
1441
1442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
1443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1444 {
1445 PyThreadState* __tstate = wxPyBeginAllowThreads();
1446 (arg1)->SetScrollPageSize(arg2,arg3);
1447
1448 wxPyEndAllowThreads(__tstate);
1449 if (PyErr_Occurred()) SWIG_fail;
1450 }
1451 Py_INCREF(Py_None); resultobj = Py_None;
1452 return resultobj;
1453 fail:
1454 return NULL;
1455 }
1456
1457
1458 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1459 PyObject *resultobj;
1460 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1461 int arg2 ;
1462 int arg3 ;
1463 PyObject * obj0 = 0 ;
1464 char *kwnames[] = {
1465 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1466 };
1467
1468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollRate",kwnames,&obj0,&arg2,&arg3)) goto fail;
1469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1470 {
1471 PyThreadState* __tstate = wxPyBeginAllowThreads();
1472 (arg1)->SetScrollRate(arg2,arg3);
1473
1474 wxPyEndAllowThreads(__tstate);
1475 if (PyErr_Occurred()) SWIG_fail;
1476 }
1477 Py_INCREF(Py_None); resultobj = Py_None;
1478 return resultobj;
1479 fail:
1480 return NULL;
1481 }
1482
1483
1484 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1485 PyObject *resultobj;
1486 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1487 int *arg2 = (int *) 0 ;
1488 int *arg3 = (int *) 0 ;
1489 int temp2 ;
1490 int temp3 ;
1491 PyObject * obj0 = 0 ;
1492 char *kwnames[] = {
1493 (char *) "self", NULL
1494 };
1495
1496 arg2 = &temp2;
1497 arg3 = &temp3;
1498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1500 {
1501 PyThreadState* __tstate = wxPyBeginAllowThreads();
1502 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1503
1504 wxPyEndAllowThreads(__tstate);
1505 if (PyErr_Occurred()) SWIG_fail;
1506 }
1507 Py_INCREF(Py_None); resultobj = Py_None;
1508 {
1509 PyObject *o = PyInt_FromLong((long) (*arg2));
1510 resultobj = t_output_helper(resultobj,o);
1511 }
1512 {
1513 PyObject *o = PyInt_FromLong((long) (*arg3));
1514 resultobj = t_output_helper(resultobj,o);
1515 }
1516 return resultobj;
1517 fail:
1518 return NULL;
1519 }
1520
1521
1522 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1523 PyObject *resultobj;
1524 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1525 bool arg2 ;
1526 bool arg3 ;
1527 PyObject * obj0 = 0 ;
1528 PyObject * obj1 = 0 ;
1529 PyObject * obj2 = 0 ;
1530 char *kwnames[] = {
1531 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1532 };
1533
1534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1536 arg2 = PyInt_AsLong(obj1) ? true : false;
1537 if (PyErr_Occurred()) SWIG_fail;
1538 arg3 = PyInt_AsLong(obj2) ? true : false;
1539 if (PyErr_Occurred()) SWIG_fail;
1540 {
1541 PyThreadState* __tstate = wxPyBeginAllowThreads();
1542 (arg1)->EnableScrolling(arg2,arg3);
1543
1544 wxPyEndAllowThreads(__tstate);
1545 if (PyErr_Occurred()) SWIG_fail;
1546 }
1547 Py_INCREF(Py_None); resultobj = Py_None;
1548 return resultobj;
1549 fail:
1550 return NULL;
1551 }
1552
1553
1554 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1555 PyObject *resultobj;
1556 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1557 int *arg2 = (int *) 0 ;
1558 int *arg3 = (int *) 0 ;
1559 int temp2 ;
1560 int temp3 ;
1561 PyObject * obj0 = 0 ;
1562 char *kwnames[] = {
1563 (char *) "self", NULL
1564 };
1565
1566 arg2 = &temp2;
1567 arg3 = &temp3;
1568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1570 {
1571 PyThreadState* __tstate = wxPyBeginAllowThreads();
1572 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1573
1574 wxPyEndAllowThreads(__tstate);
1575 if (PyErr_Occurred()) SWIG_fail;
1576 }
1577 Py_INCREF(Py_None); resultobj = Py_None;
1578 {
1579 PyObject *o = PyInt_FromLong((long) (*arg2));
1580 resultobj = t_output_helper(resultobj,o);
1581 }
1582 {
1583 PyObject *o = PyInt_FromLong((long) (*arg3));
1584 resultobj = t_output_helper(resultobj,o);
1585 }
1586 return resultobj;
1587 fail:
1588 return NULL;
1589 }
1590
1591
1592 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
1593 PyObject *resultobj;
1594 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1595 double arg2 ;
1596 double arg3 ;
1597 PyObject * obj0 = 0 ;
1598 char *kwnames[] = {
1599 (char *) "self",(char *) "xs",(char *) "ys", NULL
1600 };
1601
1602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ScrolledWindow_SetScale",kwnames,&obj0,&arg2,&arg3)) goto fail;
1603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1604 {
1605 PyThreadState* __tstate = wxPyBeginAllowThreads();
1606 (arg1)->SetScale(arg2,arg3);
1607
1608 wxPyEndAllowThreads(__tstate);
1609 if (PyErr_Occurred()) SWIG_fail;
1610 }
1611 Py_INCREF(Py_None); resultobj = Py_None;
1612 return resultobj;
1613 fail:
1614 return NULL;
1615 }
1616
1617
1618 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
1619 PyObject *resultobj;
1620 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1621 double result;
1622 PyObject * obj0 = 0 ;
1623 char *kwnames[] = {
1624 (char *) "self", NULL
1625 };
1626
1627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
1628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1629 {
1630 PyThreadState* __tstate = wxPyBeginAllowThreads();
1631 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
1632
1633 wxPyEndAllowThreads(__tstate);
1634 if (PyErr_Occurred()) SWIG_fail;
1635 }
1636 resultobj = PyFloat_FromDouble(result);
1637 return resultobj;
1638 fail:
1639 return NULL;
1640 }
1641
1642
1643 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
1644 PyObject *resultobj;
1645 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1646 double result;
1647 PyObject * obj0 = 0 ;
1648 char *kwnames[] = {
1649 (char *) "self", NULL
1650 };
1651
1652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
1653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1654 {
1655 PyThreadState* __tstate = wxPyBeginAllowThreads();
1656 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
1657
1658 wxPyEndAllowThreads(__tstate);
1659 if (PyErr_Occurred()) SWIG_fail;
1660 }
1661 resultobj = PyFloat_FromDouble(result);
1662 return resultobj;
1663 fail:
1664 return NULL;
1665 }
1666
1667
1668 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1669 PyObject *resultobj;
1670 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1671 int arg2 ;
1672 int arg3 ;
1673 int *arg4 = (int *) 0 ;
1674 int *arg5 = (int *) 0 ;
1675 int temp4 ;
1676 int temp5 ;
1677 PyObject * obj0 = 0 ;
1678
1679 arg4 = &temp4;
1680 arg5 = &temp5;
1681 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcScrolledPosition",&obj0,&arg2,&arg3)) goto fail;
1682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1683 {
1684 PyThreadState* __tstate = wxPyBeginAllowThreads();
1685 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
1686
1687 wxPyEndAllowThreads(__tstate);
1688 if (PyErr_Occurred()) SWIG_fail;
1689 }
1690 Py_INCREF(Py_None); resultobj = Py_None;
1691 {
1692 PyObject *o = PyInt_FromLong((long) (*arg4));
1693 resultobj = t_output_helper(resultobj,o);
1694 }
1695 {
1696 PyObject *o = PyInt_FromLong((long) (*arg5));
1697 resultobj = t_output_helper(resultobj,o);
1698 }
1699 return resultobj;
1700 fail:
1701 return NULL;
1702 }
1703
1704
1705 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1706 PyObject *resultobj;
1707 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1708 wxPoint *arg2 = 0 ;
1709 wxPoint result;
1710 wxPoint temp2 ;
1711 PyObject * obj0 = 0 ;
1712 PyObject * obj1 = 0 ;
1713
1714 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
1715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1716 {
1717 arg2 = &temp2;
1718 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1719 }
1720 {
1721 PyThreadState* __tstate = wxPyBeginAllowThreads();
1722 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
1723
1724 wxPyEndAllowThreads(__tstate);
1725 if (PyErr_Occurred()) SWIG_fail;
1726 }
1727 {
1728 wxPoint * resultptr;
1729 resultptr = new wxPoint((wxPoint &) result);
1730 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
1731 }
1732 return resultobj;
1733 fail:
1734 return NULL;
1735 }
1736
1737
1738 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
1739 int argc;
1740 PyObject *argv[4];
1741 int ii;
1742
1743 argc = PyObject_Length(args);
1744 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1745 argv[ii] = PyTuple_GetItem(args,ii);
1746 }
1747 if (argc == 2) {
1748 int _v;
1749 {
1750 void *ptr;
1751 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1752 _v = 0;
1753 PyErr_Clear();
1754 } else {
1755 _v = 1;
1756 }
1757 }
1758 if (_v) {
1759 {
1760 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1761 }
1762 if (_v) {
1763 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
1764 }
1765 }
1766 }
1767 if (argc == 3) {
1768 int _v;
1769 {
1770 void *ptr;
1771 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1772 _v = 0;
1773 PyErr_Clear();
1774 } else {
1775 _v = 1;
1776 }
1777 }
1778 if (_v) {
1779 {
1780 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1781 }
1782 if (_v) {
1783 {
1784 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1785 }
1786 if (_v) {
1787 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
1788 }
1789 }
1790 }
1791 }
1792
1793 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
1794 return NULL;
1795 }
1796
1797
1798 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1799 PyObject *resultobj;
1800 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1801 int arg2 ;
1802 int arg3 ;
1803 int *arg4 = (int *) 0 ;
1804 int *arg5 = (int *) 0 ;
1805 int temp4 ;
1806 int temp5 ;
1807 PyObject * obj0 = 0 ;
1808
1809 arg4 = &temp4;
1810 arg5 = &temp5;
1811 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcUnscrolledPosition",&obj0,&arg2,&arg3)) goto fail;
1812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1813 {
1814 PyThreadState* __tstate = wxPyBeginAllowThreads();
1815 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
1816
1817 wxPyEndAllowThreads(__tstate);
1818 if (PyErr_Occurred()) SWIG_fail;
1819 }
1820 Py_INCREF(Py_None); resultobj = Py_None;
1821 {
1822 PyObject *o = PyInt_FromLong((long) (*arg4));
1823 resultobj = t_output_helper(resultobj,o);
1824 }
1825 {
1826 PyObject *o = PyInt_FromLong((long) (*arg5));
1827 resultobj = t_output_helper(resultobj,o);
1828 }
1829 return resultobj;
1830 fail:
1831 return NULL;
1832 }
1833
1834
1835 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1836 PyObject *resultobj;
1837 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1838 wxPoint *arg2 = 0 ;
1839 wxPoint result;
1840 wxPoint temp2 ;
1841 PyObject * obj0 = 0 ;
1842 PyObject * obj1 = 0 ;
1843
1844 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
1845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1846 {
1847 arg2 = &temp2;
1848 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1849 }
1850 {
1851 PyThreadState* __tstate = wxPyBeginAllowThreads();
1852 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
1853
1854 wxPyEndAllowThreads(__tstate);
1855 if (PyErr_Occurred()) SWIG_fail;
1856 }
1857 {
1858 wxPoint * resultptr;
1859 resultptr = new wxPoint((wxPoint &) result);
1860 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
1861 }
1862 return resultobj;
1863 fail:
1864 return NULL;
1865 }
1866
1867
1868 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
1869 int argc;
1870 PyObject *argv[4];
1871 int ii;
1872
1873 argc = PyObject_Length(args);
1874 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1875 argv[ii] = PyTuple_GetItem(args,ii);
1876 }
1877 if (argc == 2) {
1878 int _v;
1879 {
1880 void *ptr;
1881 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1882 _v = 0;
1883 PyErr_Clear();
1884 } else {
1885 _v = 1;
1886 }
1887 }
1888 if (_v) {
1889 {
1890 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1891 }
1892 if (_v) {
1893 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
1894 }
1895 }
1896 }
1897 if (argc == 3) {
1898 int _v;
1899 {
1900 void *ptr;
1901 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1902 _v = 0;
1903 PyErr_Clear();
1904 } else {
1905 _v = 1;
1906 }
1907 }
1908 if (_v) {
1909 {
1910 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1911 }
1912 if (_v) {
1913 {
1914 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1915 }
1916 if (_v) {
1917 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
1918 }
1919 }
1920 }
1921 }
1922
1923 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
1924 return NULL;
1925 }
1926
1927
1928 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1929 PyObject *resultobj;
1930 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1931 PyObject * obj0 = 0 ;
1932 char *kwnames[] = {
1933 (char *) "self", NULL
1934 };
1935
1936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
1937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1938 {
1939 PyThreadState* __tstate = wxPyBeginAllowThreads();
1940 (arg1)->AdjustScrollbars();
1941
1942 wxPyEndAllowThreads(__tstate);
1943 if (PyErr_Occurred()) SWIG_fail;
1944 }
1945 Py_INCREF(Py_None); resultobj = Py_None;
1946 return resultobj;
1947 fail:
1948 return NULL;
1949 }
1950
1951
1952 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
1953 PyObject *resultobj;
1954 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1955 wxScrollWinEvent *arg2 = 0 ;
1956 int result;
1957 PyObject * obj0 = 0 ;
1958 PyObject * obj1 = 0 ;
1959 char *kwnames[] = {
1960 (char *) "self",(char *) "event", NULL
1961 };
1962
1963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
1964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1965 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1966 if (arg2 == NULL) {
1967 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1968 }
1969 {
1970 PyThreadState* __tstate = wxPyBeginAllowThreads();
1971 result = (int)(arg1)->CalcScrollInc(*arg2);
1972
1973 wxPyEndAllowThreads(__tstate);
1974 if (PyErr_Occurred()) SWIG_fail;
1975 }
1976 resultobj = PyInt_FromLong((long)result);
1977 return resultobj;
1978 fail:
1979 return NULL;
1980 }
1981
1982
1983 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1984 PyObject *resultobj;
1985 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1986 wxWindow *arg2 = (wxWindow *) 0 ;
1987 PyObject * obj0 = 0 ;
1988 PyObject * obj1 = 0 ;
1989 char *kwnames[] = {
1990 (char *) "self",(char *) "target", NULL
1991 };
1992
1993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
1994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1995 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1996 {
1997 PyThreadState* __tstate = wxPyBeginAllowThreads();
1998 (arg1)->SetTargetWindow(arg2);
1999
2000 wxPyEndAllowThreads(__tstate);
2001 if (PyErr_Occurred()) SWIG_fail;
2002 }
2003 Py_INCREF(Py_None); resultobj = Py_None;
2004 return resultobj;
2005 fail:
2006 return NULL;
2007 }
2008
2009
2010 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2011 PyObject *resultobj;
2012 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2013 wxWindow *result;
2014 PyObject * obj0 = 0 ;
2015 char *kwnames[] = {
2016 (char *) "self", NULL
2017 };
2018
2019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2021 {
2022 PyThreadState* __tstate = wxPyBeginAllowThreads();
2023 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2024
2025 wxPyEndAllowThreads(__tstate);
2026 if (PyErr_Occurred()) SWIG_fail;
2027 }
2028 {
2029 resultobj = wxPyMake_wxObject(result);
2030 }
2031 return resultobj;
2032 fail:
2033 return NULL;
2034 }
2035
2036
2037 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2038 PyObject *resultobj;
2039 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2040 wxRect *arg2 = 0 ;
2041 wxRect temp2 ;
2042 PyObject * obj0 = 0 ;
2043 PyObject * obj1 = 0 ;
2044 char *kwnames[] = {
2045 (char *) "self",(char *) "rect", NULL
2046 };
2047
2048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2050 {
2051 arg2 = &temp2;
2052 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2053 }
2054 {
2055 PyThreadState* __tstate = wxPyBeginAllowThreads();
2056 (arg1)->SetTargetRect((wxRect const &)*arg2);
2057
2058 wxPyEndAllowThreads(__tstate);
2059 if (PyErr_Occurred()) SWIG_fail;
2060 }
2061 Py_INCREF(Py_None); resultobj = Py_None;
2062 return resultobj;
2063 fail:
2064 return NULL;
2065 }
2066
2067
2068 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2069 PyObject *resultobj;
2070 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2071 wxRect result;
2072 PyObject * obj0 = 0 ;
2073 char *kwnames[] = {
2074 (char *) "self", NULL
2075 };
2076
2077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2079 {
2080 PyThreadState* __tstate = wxPyBeginAllowThreads();
2081 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2082
2083 wxPyEndAllowThreads(__tstate);
2084 if (PyErr_Occurred()) SWIG_fail;
2085 }
2086 {
2087 wxRect * resultptr;
2088 resultptr = new wxRect((wxRect &) result);
2089 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
2090 }
2091 return resultobj;
2092 fail:
2093 return NULL;
2094 }
2095
2096
2097 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2098 PyObject *obj;
2099 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2100 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2101 Py_INCREF(obj);
2102 return Py_BuildValue((char *)"");
2103 }
2104 static PyObject *_wrap_new_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
2105 PyObject *resultobj;
2106 int arg1 = (int) 0 ;
2107 int arg2 = (int) 0 ;
2108 int arg3 = (int) 0 ;
2109 wxMenuItem *arg4 = (wxMenuItem *) NULL ;
2110 wxAcceleratorEntry *result;
2111 PyObject * obj3 = 0 ;
2112 char *kwnames[] = {
2113 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
2114 };
2115
2116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiiO:new_AcceleratorEntry",kwnames,&arg1,&arg2,&arg3,&obj3)) goto fail;
2117 if (obj3) {
2118 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2119 }
2120 {
2121 PyThreadState* __tstate = wxPyBeginAllowThreads();
2122 result = (wxAcceleratorEntry *)new wxAcceleratorEntry(arg1,arg2,arg3,arg4);
2123
2124 wxPyEndAllowThreads(__tstate);
2125 if (PyErr_Occurred()) SWIG_fail;
2126 }
2127 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorEntry, 1);
2128 return resultobj;
2129 fail:
2130 return NULL;
2131 }
2132
2133
2134 static PyObject *_wrap_delete_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
2135 PyObject *resultobj;
2136 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2137 PyObject * obj0 = 0 ;
2138 char *kwnames[] = {
2139 (char *) "self", NULL
2140 };
2141
2142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorEntry",kwnames,&obj0)) goto fail;
2143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2144 {
2145 PyThreadState* __tstate = wxPyBeginAllowThreads();
2146 delete arg1;
2147
2148 wxPyEndAllowThreads(__tstate);
2149 if (PyErr_Occurred()) SWIG_fail;
2150 }
2151 Py_INCREF(Py_None); resultobj = Py_None;
2152 return resultobj;
2153 fail:
2154 return NULL;
2155 }
2156
2157
2158 static PyObject *_wrap_AcceleratorEntry_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2159 PyObject *resultobj;
2160 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2161 int arg2 ;
2162 int arg3 ;
2163 int arg4 ;
2164 wxMenuItem *arg5 = (wxMenuItem *) NULL ;
2165 PyObject * obj0 = 0 ;
2166 PyObject * obj4 = 0 ;
2167 char *kwnames[] = {
2168 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
2169 };
2170
2171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii|O:AcceleratorEntry_Set",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
2172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2173 if (obj4) {
2174 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2175 }
2176 {
2177 PyThreadState* __tstate = wxPyBeginAllowThreads();
2178 (arg1)->Set(arg2,arg3,arg4,arg5);
2179
2180 wxPyEndAllowThreads(__tstate);
2181 if (PyErr_Occurred()) SWIG_fail;
2182 }
2183 Py_INCREF(Py_None); resultobj = Py_None;
2184 return resultobj;
2185 fail:
2186 return NULL;
2187 }
2188
2189
2190 static PyObject *_wrap_AcceleratorEntry_SetMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
2191 PyObject *resultobj;
2192 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2193 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
2194 PyObject * obj0 = 0 ;
2195 PyObject * obj1 = 0 ;
2196 char *kwnames[] = {
2197 (char *) "self",(char *) "item", NULL
2198 };
2199
2200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames,&obj0,&obj1)) goto fail;
2201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2202 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2203 {
2204 PyThreadState* __tstate = wxPyBeginAllowThreads();
2205 (arg1)->SetMenuItem(arg2);
2206
2207 wxPyEndAllowThreads(__tstate);
2208 if (PyErr_Occurred()) SWIG_fail;
2209 }
2210 Py_INCREF(Py_None); resultobj = Py_None;
2211 return resultobj;
2212 fail:
2213 return NULL;
2214 }
2215
2216
2217 static PyObject *_wrap_AcceleratorEntry_GetMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
2218 PyObject *resultobj;
2219 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2220 wxMenuItem *result;
2221 PyObject * obj0 = 0 ;
2222 char *kwnames[] = {
2223 (char *) "self", NULL
2224 };
2225
2226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames,&obj0)) goto fail;
2227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2228 {
2229 PyThreadState* __tstate = wxPyBeginAllowThreads();
2230 result = (wxMenuItem *)((wxAcceleratorEntry const *)arg1)->GetMenuItem();
2231
2232 wxPyEndAllowThreads(__tstate);
2233 if (PyErr_Occurred()) SWIG_fail;
2234 }
2235 {
2236 resultobj = wxPyMake_wxObject(result);
2237 }
2238 return resultobj;
2239 fail:
2240 return NULL;
2241 }
2242
2243
2244 static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
2245 PyObject *resultobj;
2246 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2247 int result;
2248 PyObject * obj0 = 0 ;
2249 char *kwnames[] = {
2250 (char *) "self", NULL
2251 };
2252
2253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetFlags",kwnames,&obj0)) goto fail;
2254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2255 {
2256 PyThreadState* __tstate = wxPyBeginAllowThreads();
2257 result = (int)(arg1)->GetFlags();
2258
2259 wxPyEndAllowThreads(__tstate);
2260 if (PyErr_Occurred()) SWIG_fail;
2261 }
2262 resultobj = PyInt_FromLong((long)result);
2263 return resultobj;
2264 fail:
2265 return NULL;
2266 }
2267
2268
2269 static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
2270 PyObject *resultobj;
2271 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2272 int result;
2273 PyObject * obj0 = 0 ;
2274 char *kwnames[] = {
2275 (char *) "self", NULL
2276 };
2277
2278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames,&obj0)) goto fail;
2279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2280 {
2281 PyThreadState* __tstate = wxPyBeginAllowThreads();
2282 result = (int)(arg1)->GetKeyCode();
2283
2284 wxPyEndAllowThreads(__tstate);
2285 if (PyErr_Occurred()) SWIG_fail;
2286 }
2287 resultobj = PyInt_FromLong((long)result);
2288 return resultobj;
2289 fail:
2290 return NULL;
2291 }
2292
2293
2294 static PyObject *_wrap_AcceleratorEntry_GetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
2295 PyObject *resultobj;
2296 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2297 int result;
2298 PyObject * obj0 = 0 ;
2299 char *kwnames[] = {
2300 (char *) "self", NULL
2301 };
2302
2303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetCommand",kwnames,&obj0)) goto fail;
2304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2305 {
2306 PyThreadState* __tstate = wxPyBeginAllowThreads();
2307 result = (int)(arg1)->GetCommand();
2308
2309 wxPyEndAllowThreads(__tstate);
2310 if (PyErr_Occurred()) SWIG_fail;
2311 }
2312 resultobj = PyInt_FromLong((long)result);
2313 return resultobj;
2314 fail:
2315 return NULL;
2316 }
2317
2318
2319 static PyObject * AcceleratorEntry_swigregister(PyObject *self, PyObject *args) {
2320 PyObject *obj;
2321 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2322 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry, obj);
2323 Py_INCREF(obj);
2324 return Py_BuildValue((char *)"");
2325 }
2326 static PyObject *_wrap_new_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
2327 PyObject *resultobj;
2328 int arg1 ;
2329 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
2330 wxAcceleratorTable *result;
2331 PyObject * obj0 = 0 ;
2332 char *kwnames[] = {
2333 (char *) "n", NULL
2334 };
2335
2336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_AcceleratorTable",kwnames,&obj0)) goto fail;
2337 {
2338 arg2 = wxAcceleratorEntry_LIST_helper(obj0);
2339 if (arg2) arg1 = PyList_Size(obj0);
2340 else arg1 = 0;
2341 }
2342 {
2343 PyThreadState* __tstate = wxPyBeginAllowThreads();
2344 result = (wxAcceleratorTable *)new wxAcceleratorTable(arg1,(wxAcceleratorEntry const *)arg2);
2345
2346 wxPyEndAllowThreads(__tstate);
2347 if (PyErr_Occurred()) SWIG_fail;
2348 }
2349 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorTable, 1);
2350 {
2351 delete [] arg2;
2352 }
2353 return resultobj;
2354 fail:
2355 {
2356 delete [] arg2;
2357 }
2358 return NULL;
2359 }
2360
2361
2362 static PyObject *_wrap_delete_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
2363 PyObject *resultobj;
2364 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
2365 PyObject * obj0 = 0 ;
2366 char *kwnames[] = {
2367 (char *) "self", NULL
2368 };
2369
2370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorTable",kwnames,&obj0)) goto fail;
2371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorTable,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2372 {
2373 PyThreadState* __tstate = wxPyBeginAllowThreads();
2374 delete arg1;
2375
2376 wxPyEndAllowThreads(__tstate);
2377 if (PyErr_Occurred()) SWIG_fail;
2378 }
2379 Py_INCREF(Py_None); resultobj = Py_None;
2380 return resultobj;
2381 fail:
2382 return NULL;
2383 }
2384
2385
2386 static PyObject *_wrap_AcceleratorTable_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
2387 PyObject *resultobj;
2388 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
2389 bool result;
2390 PyObject * obj0 = 0 ;
2391 char *kwnames[] = {
2392 (char *) "self", NULL
2393 };
2394
2395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorTable_Ok",kwnames,&obj0)) goto fail;
2396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorTable,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2397 {
2398 PyThreadState* __tstate = wxPyBeginAllowThreads();
2399 result = (bool)((wxAcceleratorTable const *)arg1)->Ok();
2400
2401 wxPyEndAllowThreads(__tstate);
2402 if (PyErr_Occurred()) SWIG_fail;
2403 }
2404 resultobj = PyInt_FromLong((long)result);
2405 return resultobj;
2406 fail:
2407 return NULL;
2408 }
2409
2410
2411 static PyObject * AcceleratorTable_swigregister(PyObject *self, PyObject *args) {
2412 PyObject *obj;
2413 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2414 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable, obj);
2415 Py_INCREF(obj);
2416 return Py_BuildValue((char *)"");
2417 }
2418 static int _wrap_NullAcceleratorTable_set(PyObject *_val) {
2419 PyErr_SetString(PyExc_TypeError,"Variable NullAcceleratorTable is read-only.");
2420 return 1;
2421 }
2422
2423
2424 static PyObject *_wrap_NullAcceleratorTable_get() {
2425 PyObject *pyobj;
2426
2427 pyobj = SWIG_NewPointerObj((void *) &wxNullAcceleratorTable, SWIGTYPE_p_wxAcceleratorTable, 0);
2428 return pyobj;
2429 }
2430
2431
2432 static PyObject *_wrap_GetAccelFromString(PyObject *self, PyObject *args, PyObject *kwargs) {
2433 PyObject *resultobj;
2434 wxString *arg1 = 0 ;
2435 wxAcceleratorEntry *result;
2436 bool temp1 = False ;
2437 PyObject * obj0 = 0 ;
2438 char *kwnames[] = {
2439 (char *) "label", NULL
2440 };
2441
2442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetAccelFromString",kwnames,&obj0)) goto fail;
2443 {
2444 arg1 = wxString_in_helper(obj0);
2445 if (arg1 == NULL) SWIG_fail;
2446 temp1 = True;
2447 }
2448 {
2449 PyThreadState* __tstate = wxPyBeginAllowThreads();
2450 result = (wxAcceleratorEntry *)wxGetAccelFromString((wxString const &)*arg1);
2451
2452 wxPyEndAllowThreads(__tstate);
2453 if (PyErr_Occurred()) SWIG_fail;
2454 }
2455 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorEntry, 0);
2456 {
2457 if (temp1)
2458 delete arg1;
2459 }
2460 return resultobj;
2461 fail:
2462 {
2463 if (temp1)
2464 delete arg1;
2465 }
2466 return NULL;
2467 }
2468
2469
2470 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2471 PyObject *resultobj;
2472 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2473 bool arg2 = (bool) True ;
2474 PyObject * obj0 = 0 ;
2475 PyObject * obj1 = 0 ;
2476 char *kwnames[] = {
2477 (char *) "self",(char *) "maximize", NULL
2478 };
2479
2480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2482 if (obj1) {
2483 arg2 = PyInt_AsLong(obj1) ? true : false;
2484 if (PyErr_Occurred()) SWIG_fail;
2485 }
2486 {
2487 PyThreadState* __tstate = wxPyBeginAllowThreads();
2488 (arg1)->Maximize(arg2);
2489
2490 wxPyEndAllowThreads(__tstate);
2491 if (PyErr_Occurred()) SWIG_fail;
2492 }
2493 Py_INCREF(Py_None); resultobj = Py_None;
2494 return resultobj;
2495 fail:
2496 return NULL;
2497 }
2498
2499
2500 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2501 PyObject *resultobj;
2502 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2503 PyObject * obj0 = 0 ;
2504 char *kwnames[] = {
2505 (char *) "self", NULL
2506 };
2507
2508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2510 {
2511 PyThreadState* __tstate = wxPyBeginAllowThreads();
2512 (arg1)->Restore();
2513
2514 wxPyEndAllowThreads(__tstate);
2515 if (PyErr_Occurred()) SWIG_fail;
2516 }
2517 Py_INCREF(Py_None); resultobj = Py_None;
2518 return resultobj;
2519 fail:
2520 return NULL;
2521 }
2522
2523
2524 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2525 PyObject *resultobj;
2526 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2527 bool arg2 = (bool) True ;
2528 PyObject * obj0 = 0 ;
2529 PyObject * obj1 = 0 ;
2530 char *kwnames[] = {
2531 (char *) "self",(char *) "iconize", NULL
2532 };
2533
2534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2536 if (obj1) {
2537 arg2 = PyInt_AsLong(obj1) ? true : false;
2538 if (PyErr_Occurred()) SWIG_fail;
2539 }
2540 {
2541 PyThreadState* __tstate = wxPyBeginAllowThreads();
2542 (arg1)->Iconize(arg2);
2543
2544 wxPyEndAllowThreads(__tstate);
2545 if (PyErr_Occurred()) SWIG_fail;
2546 }
2547 Py_INCREF(Py_None); resultobj = Py_None;
2548 return resultobj;
2549 fail:
2550 return NULL;
2551 }
2552
2553
2554 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2555 PyObject *resultobj;
2556 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2557 bool result;
2558 PyObject * obj0 = 0 ;
2559 char *kwnames[] = {
2560 (char *) "self", NULL
2561 };
2562
2563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2565 {
2566 PyThreadState* __tstate = wxPyBeginAllowThreads();
2567 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2568
2569 wxPyEndAllowThreads(__tstate);
2570 if (PyErr_Occurred()) SWIG_fail;
2571 }
2572 resultobj = PyInt_FromLong((long)result);
2573 return resultobj;
2574 fail:
2575 return NULL;
2576 }
2577
2578
2579 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2580 PyObject *resultobj;
2581 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2582 bool result;
2583 PyObject * obj0 = 0 ;
2584 char *kwnames[] = {
2585 (char *) "self", NULL
2586 };
2587
2588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2590 {
2591 PyThreadState* __tstate = wxPyBeginAllowThreads();
2592 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2593
2594 wxPyEndAllowThreads(__tstate);
2595 if (PyErr_Occurred()) SWIG_fail;
2596 }
2597 resultobj = PyInt_FromLong((long)result);
2598 return resultobj;
2599 fail:
2600 return NULL;
2601 }
2602
2603
2604 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2605 PyObject *resultobj;
2606 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2607 wxIcon result;
2608 PyObject * obj0 = 0 ;
2609 char *kwnames[] = {
2610 (char *) "self", NULL
2611 };
2612
2613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2615 {
2616 PyThreadState* __tstate = wxPyBeginAllowThreads();
2617 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2618
2619 wxPyEndAllowThreads(__tstate);
2620 if (PyErr_Occurred()) SWIG_fail;
2621 }
2622 {
2623 wxIcon * resultptr;
2624 resultptr = new wxIcon((wxIcon &) result);
2625 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
2626 }
2627 return resultobj;
2628 fail:
2629 return NULL;
2630 }
2631
2632
2633 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2634 PyObject *resultobj;
2635 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2636 wxIcon *arg2 = 0 ;
2637 PyObject * obj0 = 0 ;
2638 PyObject * obj1 = 0 ;
2639 char *kwnames[] = {
2640 (char *) "self",(char *) "icon", NULL
2641 };
2642
2643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2645 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2646 if (arg2 == NULL) {
2647 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2648 }
2649 {
2650 PyThreadState* __tstate = wxPyBeginAllowThreads();
2651 (arg1)->SetIcon((wxIcon const &)*arg2);
2652
2653 wxPyEndAllowThreads(__tstate);
2654 if (PyErr_Occurred()) SWIG_fail;
2655 }
2656 Py_INCREF(Py_None); resultobj = Py_None;
2657 return resultobj;
2658 fail:
2659 return NULL;
2660 }
2661
2662
2663 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2664 PyObject *resultobj;
2665 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2666 wxIconBundle *arg2 = 0 ;
2667 PyObject * obj0 = 0 ;
2668 PyObject * obj1 = 0 ;
2669 char *kwnames[] = {
2670 (char *) "self",(char *) "icons", NULL
2671 };
2672
2673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2675 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIconBundle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2676 if (arg2 == NULL) {
2677 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2678 }
2679 {
2680 PyThreadState* __tstate = wxPyBeginAllowThreads();
2681 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2682
2683 wxPyEndAllowThreads(__tstate);
2684 if (PyErr_Occurred()) SWIG_fail;
2685 }
2686 Py_INCREF(Py_None); resultobj = Py_None;
2687 return resultobj;
2688 fail:
2689 return NULL;
2690 }
2691
2692
2693 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2694 PyObject *resultobj;
2695 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2696 bool arg2 ;
2697 long arg3 = (long) wxFULLSCREEN_ALL ;
2698 bool result;
2699 PyObject * obj0 = 0 ;
2700 PyObject * obj1 = 0 ;
2701 char *kwnames[] = {
2702 (char *) "self",(char *) "show",(char *) "style", NULL
2703 };
2704
2705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&arg3)) goto fail;
2706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2707 arg2 = PyInt_AsLong(obj1) ? true : false;
2708 if (PyErr_Occurred()) SWIG_fail;
2709 {
2710 PyThreadState* __tstate = wxPyBeginAllowThreads();
2711 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2712
2713 wxPyEndAllowThreads(__tstate);
2714 if (PyErr_Occurred()) SWIG_fail;
2715 }
2716 resultobj = PyInt_FromLong((long)result);
2717 return resultobj;
2718 fail:
2719 return NULL;
2720 }
2721
2722
2723 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2724 PyObject *resultobj;
2725 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2726 bool result;
2727 PyObject * obj0 = 0 ;
2728 char *kwnames[] = {
2729 (char *) "self", NULL
2730 };
2731
2732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2734 {
2735 PyThreadState* __tstate = wxPyBeginAllowThreads();
2736 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2737
2738 wxPyEndAllowThreads(__tstate);
2739 if (PyErr_Occurred()) SWIG_fail;
2740 }
2741 resultobj = PyInt_FromLong((long)result);
2742 return resultobj;
2743 fail:
2744 return NULL;
2745 }
2746
2747
2748 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2749 PyObject *resultobj;
2750 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2751 wxString *arg2 = 0 ;
2752 bool temp2 = False ;
2753 PyObject * obj0 = 0 ;
2754 PyObject * obj1 = 0 ;
2755 char *kwnames[] = {
2756 (char *) "self",(char *) "title", NULL
2757 };
2758
2759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2761 {
2762 arg2 = wxString_in_helper(obj1);
2763 if (arg2 == NULL) SWIG_fail;
2764 temp2 = True;
2765 }
2766 {
2767 PyThreadState* __tstate = wxPyBeginAllowThreads();
2768 (arg1)->SetTitle((wxString const &)*arg2);
2769
2770 wxPyEndAllowThreads(__tstate);
2771 if (PyErr_Occurred()) SWIG_fail;
2772 }
2773 Py_INCREF(Py_None); resultobj = Py_None;
2774 {
2775 if (temp2)
2776 delete arg2;
2777 }
2778 return resultobj;
2779 fail:
2780 {
2781 if (temp2)
2782 delete arg2;
2783 }
2784 return NULL;
2785 }
2786
2787
2788 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2789 PyObject *resultobj;
2790 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2791 wxString result;
2792 PyObject * obj0 = 0 ;
2793 char *kwnames[] = {
2794 (char *) "self", NULL
2795 };
2796
2797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2799 {
2800 PyThreadState* __tstate = wxPyBeginAllowThreads();
2801 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2802
2803 wxPyEndAllowThreads(__tstate);
2804 if (PyErr_Occurred()) SWIG_fail;
2805 }
2806 {
2807 #if wxUSE_UNICODE
2808 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2809 #else
2810 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2811 #endif
2812 }
2813 return resultobj;
2814 fail:
2815 return NULL;
2816 }
2817
2818
2819 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2820 PyObject *resultobj;
2821 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2822 wxRegion *arg2 = 0 ;
2823 bool result;
2824 PyObject * obj0 = 0 ;
2825 PyObject * obj1 = 0 ;
2826 char *kwnames[] = {
2827 (char *) "self",(char *) "region", NULL
2828 };
2829
2830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2832 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2833 if (arg2 == NULL) {
2834 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2835 }
2836 {
2837 PyThreadState* __tstate = wxPyBeginAllowThreads();
2838 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2839
2840 wxPyEndAllowThreads(__tstate);
2841 if (PyErr_Occurred()) SWIG_fail;
2842 }
2843 resultobj = PyInt_FromLong((long)result);
2844 return resultobj;
2845 fail:
2846 return NULL;
2847 }
2848
2849
2850 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
2851 PyObject *obj;
2852 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2853 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
2854 Py_INCREF(obj);
2855 return Py_BuildValue((char *)"");
2856 }
2857 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
2858 PyObject *resultobj;
2859 wxWindow *arg1 = (wxWindow *) 0 ;
2860 int arg2 ;
2861 wxString *arg3 = 0 ;
2862 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2863 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2864 wxSize const &arg5_defvalue = wxDefaultSize ;
2865 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2866 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
2867 wxString const &arg7_defvalue = wxPyFrameNameStr ;
2868 wxString *arg7 = (wxString *) &arg7_defvalue ;
2869 wxFrame *result;
2870 bool temp3 = False ;
2871 wxPoint temp4 ;
2872 wxSize temp5 ;
2873 bool temp7 = False ;
2874 PyObject * obj0 = 0 ;
2875 PyObject * obj2 = 0 ;
2876 PyObject * obj3 = 0 ;
2877 PyObject * obj4 = 0 ;
2878 PyObject * obj6 = 0 ;
2879 char *kwnames[] = {
2880 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2881 };
2882
2883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Frame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
2884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2885 {
2886 arg3 = wxString_in_helper(obj2);
2887 if (arg3 == NULL) SWIG_fail;
2888 temp3 = True;
2889 }
2890 if (obj3) {
2891 {
2892 arg4 = &temp4;
2893 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2894 }
2895 }
2896 if (obj4) {
2897 {
2898 arg5 = &temp5;
2899 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2900 }
2901 }
2902 if (obj6) {
2903 {
2904 arg7 = wxString_in_helper(obj6);
2905 if (arg7 == NULL) SWIG_fail;
2906 temp7 = True;
2907 }
2908 }
2909 {
2910 PyThreadState* __tstate = wxPyBeginAllowThreads();
2911 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2912
2913 wxPyEndAllowThreads(__tstate);
2914 if (PyErr_Occurred()) SWIG_fail;
2915 }
2916 {
2917 resultobj = wxPyMake_wxObject(result);
2918 }
2919 {
2920 if (temp3)
2921 delete arg3;
2922 }
2923 {
2924 if (temp7)
2925 delete arg7;
2926 }
2927 return resultobj;
2928 fail:
2929 {
2930 if (temp3)
2931 delete arg3;
2932 }
2933 {
2934 if (temp7)
2935 delete arg7;
2936 }
2937 return NULL;
2938 }
2939
2940
2941 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
2942 PyObject *resultobj;
2943 wxFrame *result;
2944 char *kwnames[] = {
2945 NULL
2946 };
2947
2948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
2949 {
2950 PyThreadState* __tstate = wxPyBeginAllowThreads();
2951 result = (wxFrame *)new wxFrame();
2952
2953 wxPyEndAllowThreads(__tstate);
2954 if (PyErr_Occurred()) SWIG_fail;
2955 }
2956 {
2957 resultobj = wxPyMake_wxObject(result);
2958 }
2959 return resultobj;
2960 fail:
2961 return NULL;
2962 }
2963
2964
2965 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2966 PyObject *resultobj;
2967 wxFrame *arg1 = (wxFrame *) 0 ;
2968 wxWindow *arg2 = (wxWindow *) 0 ;
2969 int arg3 ;
2970 wxString *arg4 = 0 ;
2971 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2972 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2973 wxSize const &arg6_defvalue = wxDefaultSize ;
2974 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2975 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
2976 wxString const &arg8_defvalue = wxPyFrameNameStr ;
2977 wxString *arg8 = (wxString *) &arg8_defvalue ;
2978 bool result;
2979 bool temp4 = False ;
2980 wxPoint temp5 ;
2981 wxSize temp6 ;
2982 bool temp8 = False ;
2983 PyObject * obj0 = 0 ;
2984 PyObject * obj1 = 0 ;
2985 PyObject * obj3 = 0 ;
2986 PyObject * obj4 = 0 ;
2987 PyObject * obj5 = 0 ;
2988 PyObject * obj7 = 0 ;
2989 char *kwnames[] = {
2990 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2991 };
2992
2993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Frame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
2994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2995 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2996 {
2997 arg4 = wxString_in_helper(obj3);
2998 if (arg4 == NULL) SWIG_fail;
2999 temp4 = True;
3000 }
3001 if (obj4) {
3002 {
3003 arg5 = &temp5;
3004 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3005 }
3006 }
3007 if (obj5) {
3008 {
3009 arg6 = &temp6;
3010 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3011 }
3012 }
3013 if (obj7) {
3014 {
3015 arg8 = wxString_in_helper(obj7);
3016 if (arg8 == NULL) SWIG_fail;
3017 temp8 = True;
3018 }
3019 }
3020 {
3021 PyThreadState* __tstate = wxPyBeginAllowThreads();
3022 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3023
3024 wxPyEndAllowThreads(__tstate);
3025 if (PyErr_Occurred()) SWIG_fail;
3026 }
3027 resultobj = PyInt_FromLong((long)result);
3028 {
3029 if (temp4)
3030 delete arg4;
3031 }
3032 {
3033 if (temp8)
3034 delete arg8;
3035 }
3036 return resultobj;
3037 fail:
3038 {
3039 if (temp4)
3040 delete arg4;
3041 }
3042 {
3043 if (temp8)
3044 delete arg8;
3045 }
3046 return NULL;
3047 }
3048
3049
3050 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
3051 PyObject *resultobj;
3052 wxFrame *arg1 = (wxFrame *) 0 ;
3053 wxPoint result;
3054 PyObject * obj0 = 0 ;
3055 char *kwnames[] = {
3056 (char *) "self", NULL
3057 };
3058
3059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3061 {
3062 PyThreadState* __tstate = wxPyBeginAllowThreads();
3063 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3064
3065 wxPyEndAllowThreads(__tstate);
3066 if (PyErr_Occurred()) SWIG_fail;
3067 }
3068 {
3069 wxPoint * resultptr;
3070 resultptr = new wxPoint((wxPoint &) result);
3071 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
3072 }
3073 return resultobj;
3074 fail:
3075 return NULL;
3076 }
3077
3078
3079 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3080 PyObject *resultobj;
3081 wxFrame *arg1 = (wxFrame *) 0 ;
3082 PyObject * obj0 = 0 ;
3083 char *kwnames[] = {
3084 (char *) "self", NULL
3085 };
3086
3087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3089 {
3090 PyThreadState* __tstate = wxPyBeginAllowThreads();
3091 (arg1)->SendSizeEvent();
3092
3093 wxPyEndAllowThreads(__tstate);
3094 if (PyErr_Occurred()) SWIG_fail;
3095 }
3096 Py_INCREF(Py_None); resultobj = Py_None;
3097 return resultobj;
3098 fail:
3099 return NULL;
3100 }
3101
3102
3103 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3104 PyObject *resultobj;
3105 wxFrame *arg1 = (wxFrame *) 0 ;
3106 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3107 PyObject * obj0 = 0 ;
3108 PyObject * obj1 = 0 ;
3109 char *kwnames[] = {
3110 (char *) "self",(char *) "menubar", NULL
3111 };
3112
3113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3115 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3116 {
3117 PyThreadState* __tstate = wxPyBeginAllowThreads();
3118 (arg1)->SetMenuBar(arg2);
3119
3120 wxPyEndAllowThreads(__tstate);
3121 if (PyErr_Occurred()) SWIG_fail;
3122 }
3123 Py_INCREF(Py_None); resultobj = Py_None;
3124 return resultobj;
3125 fail:
3126 return NULL;
3127 }
3128
3129
3130 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3131 PyObject *resultobj;
3132 wxFrame *arg1 = (wxFrame *) 0 ;
3133 wxMenuBar *result;
3134 PyObject * obj0 = 0 ;
3135 char *kwnames[] = {
3136 (char *) "self", NULL
3137 };
3138
3139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3141 {
3142 PyThreadState* __tstate = wxPyBeginAllowThreads();
3143 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3144
3145 wxPyEndAllowThreads(__tstate);
3146 if (PyErr_Occurred()) SWIG_fail;
3147 }
3148 {
3149 resultobj = wxPyMake_wxObject(result);
3150 }
3151 return resultobj;
3152 fail:
3153 return NULL;
3154 }
3155
3156
3157 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3158 PyObject *resultobj;
3159 wxFrame *arg1 = (wxFrame *) 0 ;
3160 int arg2 ;
3161 bool result;
3162 PyObject * obj0 = 0 ;
3163 char *kwnames[] = {
3164 (char *) "self",(char *) "winid", NULL
3165 };
3166
3167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_ProcessCommand",kwnames,&obj0,&arg2)) goto fail;
3168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3169 {
3170 PyThreadState* __tstate = wxPyBeginAllowThreads();
3171 result = (bool)(arg1)->ProcessCommand(arg2);
3172
3173 wxPyEndAllowThreads(__tstate);
3174 if (PyErr_Occurred()) SWIG_fail;
3175 }
3176 resultobj = PyInt_FromLong((long)result);
3177 return resultobj;
3178 fail:
3179 return NULL;
3180 }
3181
3182
3183 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3184 PyObject *resultobj;
3185 wxFrame *arg1 = (wxFrame *) 0 ;
3186 int arg2 = (int) 1 ;
3187 long arg3 = (long) wxST_SIZEGRIP ;
3188 int arg4 = (int) 0 ;
3189 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3190 wxString *arg5 = (wxString *) &arg5_defvalue ;
3191 wxStatusBar *result;
3192 bool temp5 = False ;
3193 PyObject * obj0 = 0 ;
3194 PyObject * obj4 = 0 ;
3195 char *kwnames[] = {
3196 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3197 };
3198
3199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iliO:Frame_CreateStatusBar",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
3200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3201 if (obj4) {
3202 {
3203 arg5 = wxString_in_helper(obj4);
3204 if (arg5 == NULL) SWIG_fail;
3205 temp5 = True;
3206 }
3207 }
3208 {
3209 PyThreadState* __tstate = wxPyBeginAllowThreads();
3210 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3211
3212 wxPyEndAllowThreads(__tstate);
3213 if (PyErr_Occurred()) SWIG_fail;
3214 }
3215 {
3216 resultobj = wxPyMake_wxObject(result);
3217 }
3218 {
3219 if (temp5)
3220 delete arg5;
3221 }
3222 return resultobj;
3223 fail:
3224 {
3225 if (temp5)
3226 delete arg5;
3227 }
3228 return NULL;
3229 }
3230
3231
3232 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3233 PyObject *resultobj;
3234 wxFrame *arg1 = (wxFrame *) 0 ;
3235 wxStatusBar *result;
3236 PyObject * obj0 = 0 ;
3237 char *kwnames[] = {
3238 (char *) "self", NULL
3239 };
3240
3241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3243 {
3244 PyThreadState* __tstate = wxPyBeginAllowThreads();
3245 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3246
3247 wxPyEndAllowThreads(__tstate);
3248 if (PyErr_Occurred()) SWIG_fail;
3249 }
3250 {
3251 resultobj = wxPyMake_wxObject(result);
3252 }
3253 return resultobj;
3254 fail:
3255 return NULL;
3256 }
3257
3258
3259 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3260 PyObject *resultobj;
3261 wxFrame *arg1 = (wxFrame *) 0 ;
3262 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3263 PyObject * obj0 = 0 ;
3264 PyObject * obj1 = 0 ;
3265 char *kwnames[] = {
3266 (char *) "self",(char *) "statBar", NULL
3267 };
3268
3269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3271 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3272 {
3273 PyThreadState* __tstate = wxPyBeginAllowThreads();
3274 (arg1)->SetStatusBar(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 *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3287 PyObject *resultobj;
3288 wxFrame *arg1 = (wxFrame *) 0 ;
3289 wxString *arg2 = 0 ;
3290 int arg3 = (int) 0 ;
3291 bool temp2 = False ;
3292 PyObject * obj0 = 0 ;
3293 PyObject * obj1 = 0 ;
3294 char *kwnames[] = {
3295 (char *) "self",(char *) "text",(char *) "number", NULL
3296 };
3297
3298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
3299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3300 {
3301 arg2 = wxString_in_helper(obj1);
3302 if (arg2 == NULL) SWIG_fail;
3303 temp2 = True;
3304 }
3305 {
3306 PyThreadState* __tstate = wxPyBeginAllowThreads();
3307 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3308
3309 wxPyEndAllowThreads(__tstate);
3310 if (PyErr_Occurred()) SWIG_fail;
3311 }
3312 Py_INCREF(Py_None); resultobj = Py_None;
3313 {
3314 if (temp2)
3315 delete arg2;
3316 }
3317 return resultobj;
3318 fail:
3319 {
3320 if (temp2)
3321 delete arg2;
3322 }
3323 return NULL;
3324 }
3325
3326
3327 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3328 PyObject *resultobj;
3329 wxFrame *arg1 = (wxFrame *) 0 ;
3330 int arg2 ;
3331 int *arg3 = (int *) 0 ;
3332 PyObject * obj0 = 0 ;
3333 PyObject * obj1 = 0 ;
3334 char *kwnames[] = {
3335 (char *) "self",(char *) "widths", NULL
3336 };
3337
3338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3340 {
3341 arg2 = PyList_Size(obj1);
3342 arg3 = int_LIST_helper(obj1);
3343 if (arg3 == NULL) SWIG_fail;
3344 }
3345 {
3346 PyThreadState* __tstate = wxPyBeginAllowThreads();
3347 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3348
3349 wxPyEndAllowThreads(__tstate);
3350 if (PyErr_Occurred()) SWIG_fail;
3351 }
3352 Py_INCREF(Py_None); resultobj = Py_None;
3353 {
3354 if (arg3) delete [] arg3;
3355 }
3356 return resultobj;
3357 fail:
3358 {
3359 if (arg3) delete [] arg3;
3360 }
3361 return NULL;
3362 }
3363
3364
3365 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3366 PyObject *resultobj;
3367 wxFrame *arg1 = (wxFrame *) 0 ;
3368 wxString *arg2 = 0 ;
3369 int arg3 = (int) 0 ;
3370 bool temp2 = False ;
3371 PyObject * obj0 = 0 ;
3372 PyObject * obj1 = 0 ;
3373 char *kwnames[] = {
3374 (char *) "self",(char *) "text",(char *) "number", NULL
3375 };
3376
3377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
3378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3379 {
3380 arg2 = wxString_in_helper(obj1);
3381 if (arg2 == NULL) SWIG_fail;
3382 temp2 = True;
3383 }
3384 {
3385 PyThreadState* __tstate = wxPyBeginAllowThreads();
3386 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3387
3388 wxPyEndAllowThreads(__tstate);
3389 if (PyErr_Occurred()) SWIG_fail;
3390 }
3391 Py_INCREF(Py_None); resultobj = Py_None;
3392 {
3393 if (temp2)
3394 delete arg2;
3395 }
3396 return resultobj;
3397 fail:
3398 {
3399 if (temp2)
3400 delete arg2;
3401 }
3402 return NULL;
3403 }
3404
3405
3406 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3407 PyObject *resultobj;
3408 wxFrame *arg1 = (wxFrame *) 0 ;
3409 int arg2 = (int) 0 ;
3410 PyObject * obj0 = 0 ;
3411 char *kwnames[] = {
3412 (char *) "self",(char *) "number", NULL
3413 };
3414
3415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Frame_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
3416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3417 {
3418 PyThreadState* __tstate = wxPyBeginAllowThreads();
3419 (arg1)->PopStatusText(arg2);
3420
3421 wxPyEndAllowThreads(__tstate);
3422 if (PyErr_Occurred()) SWIG_fail;
3423 }
3424 Py_INCREF(Py_None); resultobj = Py_None;
3425 return resultobj;
3426 fail:
3427 return NULL;
3428 }
3429
3430
3431 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3432 PyObject *resultobj;
3433 wxFrame *arg1 = (wxFrame *) 0 ;
3434 int arg2 ;
3435 PyObject * obj0 = 0 ;
3436 char *kwnames[] = {
3437 (char *) "self",(char *) "n", NULL
3438 };
3439
3440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_SetStatusBarPane",kwnames,&obj0,&arg2)) goto fail;
3441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3442 {
3443 PyThreadState* __tstate = wxPyBeginAllowThreads();
3444 (arg1)->SetStatusBarPane(arg2);
3445
3446 wxPyEndAllowThreads(__tstate);
3447 if (PyErr_Occurred()) SWIG_fail;
3448 }
3449 Py_INCREF(Py_None); resultobj = Py_None;
3450 return resultobj;
3451 fail:
3452 return NULL;
3453 }
3454
3455
3456 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3457 PyObject *resultobj;
3458 wxFrame *arg1 = (wxFrame *) 0 ;
3459 int result;
3460 PyObject * obj0 = 0 ;
3461 char *kwnames[] = {
3462 (char *) "self", NULL
3463 };
3464
3465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3467 {
3468 PyThreadState* __tstate = wxPyBeginAllowThreads();
3469 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3470
3471 wxPyEndAllowThreads(__tstate);
3472 if (PyErr_Occurred()) SWIG_fail;
3473 }
3474 resultobj = PyInt_FromLong((long)result);
3475 return resultobj;
3476 fail:
3477 return NULL;
3478 }
3479
3480
3481 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3482 PyObject *resultobj;
3483 wxFrame *arg1 = (wxFrame *) 0 ;
3484 long arg2 = (long) -1 ;
3485 int arg3 = (int) -1 ;
3486 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3487 wxString *arg4 = (wxString *) &arg4_defvalue ;
3488 wxToolBar *result;
3489 bool temp4 = False ;
3490 PyObject * obj0 = 0 ;
3491 PyObject * obj3 = 0 ;
3492 char *kwnames[] = {
3493 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3494 };
3495
3496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|liO:Frame_CreateToolBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
3497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3498 if (obj3) {
3499 {
3500 arg4 = wxString_in_helper(obj3);
3501 if (arg4 == NULL) SWIG_fail;
3502 temp4 = True;
3503 }
3504 }
3505 {
3506 PyThreadState* __tstate = wxPyBeginAllowThreads();
3507 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3508
3509 wxPyEndAllowThreads(__tstate);
3510 if (PyErr_Occurred()) SWIG_fail;
3511 }
3512 {
3513 resultobj = wxPyMake_wxObject(result);
3514 }
3515 {
3516 if (temp4)
3517 delete arg4;
3518 }
3519 return resultobj;
3520 fail:
3521 {
3522 if (temp4)
3523 delete arg4;
3524 }
3525 return NULL;
3526 }
3527
3528
3529 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3530 PyObject *resultobj;
3531 wxFrame *arg1 = (wxFrame *) 0 ;
3532 wxToolBar *result;
3533 PyObject * obj0 = 0 ;
3534 char *kwnames[] = {
3535 (char *) "self", NULL
3536 };
3537
3538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3540 {
3541 PyThreadState* __tstate = wxPyBeginAllowThreads();
3542 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3543
3544 wxPyEndAllowThreads(__tstate);
3545 if (PyErr_Occurred()) SWIG_fail;
3546 }
3547 {
3548 resultobj = wxPyMake_wxObject(result);
3549 }
3550 return resultobj;
3551 fail:
3552 return NULL;
3553 }
3554
3555
3556 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3557 PyObject *resultobj;
3558 wxFrame *arg1 = (wxFrame *) 0 ;
3559 wxToolBar *arg2 = (wxToolBar *) 0 ;
3560 PyObject * obj0 = 0 ;
3561 PyObject * obj1 = 0 ;
3562 char *kwnames[] = {
3563 (char *) "self",(char *) "toolbar", NULL
3564 };
3565
3566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3568 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3569 {
3570 PyThreadState* __tstate = wxPyBeginAllowThreads();
3571 (arg1)->SetToolBar(arg2);
3572
3573 wxPyEndAllowThreads(__tstate);
3574 if (PyErr_Occurred()) SWIG_fail;
3575 }
3576 Py_INCREF(Py_None); resultobj = Py_None;
3577 return resultobj;
3578 fail:
3579 return NULL;
3580 }
3581
3582
3583 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3584 PyObject *resultobj;
3585 wxFrame *arg1 = (wxFrame *) 0 ;
3586 wxString *arg2 = 0 ;
3587 bool arg3 ;
3588 bool temp2 = False ;
3589 PyObject * obj0 = 0 ;
3590 PyObject * obj1 = 0 ;
3591 PyObject * obj2 = 0 ;
3592 char *kwnames[] = {
3593 (char *) "self",(char *) "text",(char *) "show", NULL
3594 };
3595
3596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3598 {
3599 arg2 = wxString_in_helper(obj1);
3600 if (arg2 == NULL) SWIG_fail;
3601 temp2 = True;
3602 }
3603 arg3 = PyInt_AsLong(obj2) ? true : false;
3604 if (PyErr_Occurred()) SWIG_fail;
3605 {
3606 PyThreadState* __tstate = wxPyBeginAllowThreads();
3607 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3608
3609 wxPyEndAllowThreads(__tstate);
3610 if (PyErr_Occurred()) SWIG_fail;
3611 }
3612 Py_INCREF(Py_None); resultobj = Py_None;
3613 {
3614 if (temp2)
3615 delete arg2;
3616 }
3617 return resultobj;
3618 fail:
3619 {
3620 if (temp2)
3621 delete arg2;
3622 }
3623 return NULL;
3624 }
3625
3626
3627 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3628 PyObject *resultobj;
3629 wxFrame *arg1 = (wxFrame *) 0 ;
3630 wxMenu *arg2 = (wxMenu *) NULL ;
3631 PyObject * obj0 = 0 ;
3632 PyObject * obj1 = 0 ;
3633 char *kwnames[] = {
3634 (char *) "self",(char *) "menu", NULL
3635 };
3636
3637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3639 if (obj1) {
3640 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3641 }
3642 {
3643 PyThreadState* __tstate = wxPyBeginAllowThreads();
3644 (arg1)->DoMenuUpdates(arg2);
3645
3646 wxPyEndAllowThreads(__tstate);
3647 if (PyErr_Occurred()) SWIG_fail;
3648 }
3649 Py_INCREF(Py_None); resultobj = Py_None;
3650 return resultobj;
3651 fail:
3652 return NULL;
3653 }
3654
3655
3656 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3657 PyObject *obj;
3658 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3659 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3660 Py_INCREF(obj);
3661 return Py_BuildValue((char *)"");
3662 }
3663 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3664 PyObject *resultobj;
3665 wxWindow *arg1 = (wxWindow *) 0 ;
3666 int arg2 ;
3667 wxString *arg3 = 0 ;
3668 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3669 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3670 wxSize const &arg5_defvalue = wxDefaultSize ;
3671 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3672 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3673 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3674 wxString *arg7 = (wxString *) &arg7_defvalue ;
3675 wxDialog *result;
3676 bool temp3 = False ;
3677 wxPoint temp4 ;
3678 wxSize temp5 ;
3679 bool temp7 = False ;
3680 PyObject * obj0 = 0 ;
3681 PyObject * obj2 = 0 ;
3682 PyObject * obj3 = 0 ;
3683 PyObject * obj4 = 0 ;
3684 PyObject * obj6 = 0 ;
3685 char *kwnames[] = {
3686 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3687 };
3688
3689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Dialog",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3691 {
3692 arg3 = wxString_in_helper(obj2);
3693 if (arg3 == NULL) SWIG_fail;
3694 temp3 = True;
3695 }
3696 if (obj3) {
3697 {
3698 arg4 = &temp4;
3699 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3700 }
3701 }
3702 if (obj4) {
3703 {
3704 arg5 = &temp5;
3705 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3706 }
3707 }
3708 if (obj6) {
3709 {
3710 arg7 = wxString_in_helper(obj6);
3711 if (arg7 == NULL) SWIG_fail;
3712 temp7 = True;
3713 }
3714 }
3715 {
3716 PyThreadState* __tstate = wxPyBeginAllowThreads();
3717 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3718
3719 wxPyEndAllowThreads(__tstate);
3720 if (PyErr_Occurred()) SWIG_fail;
3721 }
3722 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3723 {
3724 if (temp3)
3725 delete arg3;
3726 }
3727 {
3728 if (temp7)
3729 delete arg7;
3730 }
3731 return resultobj;
3732 fail:
3733 {
3734 if (temp3)
3735 delete arg3;
3736 }
3737 {
3738 if (temp7)
3739 delete arg7;
3740 }
3741 return NULL;
3742 }
3743
3744
3745 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3746 PyObject *resultobj;
3747 wxDialog *result;
3748 char *kwnames[] = {
3749 NULL
3750 };
3751
3752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
3753 {
3754 PyThreadState* __tstate = wxPyBeginAllowThreads();
3755 result = (wxDialog *)new wxDialog();
3756
3757 wxPyEndAllowThreads(__tstate);
3758 if (PyErr_Occurred()) SWIG_fail;
3759 }
3760 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3761 return resultobj;
3762 fail:
3763 return NULL;
3764 }
3765
3766
3767 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3768 PyObject *resultobj;
3769 wxDialog *arg1 = (wxDialog *) 0 ;
3770 wxWindow *arg2 = (wxWindow *) 0 ;
3771 int arg3 ;
3772 wxString *arg4 = 0 ;
3773 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3774 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3775 wxSize const &arg6_defvalue = wxDefaultSize ;
3776 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3777 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
3778 wxString const &arg8_defvalue = wxPyDialogNameStr ;
3779 wxString *arg8 = (wxString *) &arg8_defvalue ;
3780 bool result;
3781 bool temp4 = False ;
3782 wxPoint temp5 ;
3783 wxSize temp6 ;
3784 bool temp8 = False ;
3785 PyObject * obj0 = 0 ;
3786 PyObject * obj1 = 0 ;
3787 PyObject * obj3 = 0 ;
3788 PyObject * obj4 = 0 ;
3789 PyObject * obj5 = 0 ;
3790 PyObject * obj7 = 0 ;
3791 char *kwnames[] = {
3792 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3793 };
3794
3795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Dialog_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3797 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3798 {
3799 arg4 = wxString_in_helper(obj3);
3800 if (arg4 == NULL) SWIG_fail;
3801 temp4 = True;
3802 }
3803 if (obj4) {
3804 {
3805 arg5 = &temp5;
3806 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3807 }
3808 }
3809 if (obj5) {
3810 {
3811 arg6 = &temp6;
3812 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3813 }
3814 }
3815 if (obj7) {
3816 {
3817 arg8 = wxString_in_helper(obj7);
3818 if (arg8 == NULL) SWIG_fail;
3819 temp8 = True;
3820 }
3821 }
3822 {
3823 PyThreadState* __tstate = wxPyBeginAllowThreads();
3824 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3825
3826 wxPyEndAllowThreads(__tstate);
3827 if (PyErr_Occurred()) SWIG_fail;
3828 }
3829 resultobj = PyInt_FromLong((long)result);
3830 {
3831 if (temp4)
3832 delete arg4;
3833 }
3834 {
3835 if (temp8)
3836 delete arg8;
3837 }
3838 return resultobj;
3839 fail:
3840 {
3841 if (temp4)
3842 delete arg4;
3843 }
3844 {
3845 if (temp8)
3846 delete arg8;
3847 }
3848 return NULL;
3849 }
3850
3851
3852 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3853 PyObject *resultobj;
3854 wxDialog *arg1 = (wxDialog *) 0 ;
3855 int arg2 ;
3856 PyObject * obj0 = 0 ;
3857 char *kwnames[] = {
3858 (char *) "self",(char *) "returnCode", NULL
3859 };
3860
3861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_SetReturnCode",kwnames,&obj0,&arg2)) goto fail;
3862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3863 {
3864 PyThreadState* __tstate = wxPyBeginAllowThreads();
3865 (arg1)->SetReturnCode(arg2);
3866
3867 wxPyEndAllowThreads(__tstate);
3868 if (PyErr_Occurred()) SWIG_fail;
3869 }
3870 Py_INCREF(Py_None); resultobj = Py_None;
3871 return resultobj;
3872 fail:
3873 return NULL;
3874 }
3875
3876
3877 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3878 PyObject *resultobj;
3879 wxDialog *arg1 = (wxDialog *) 0 ;
3880 int result;
3881 PyObject * obj0 = 0 ;
3882 char *kwnames[] = {
3883 (char *) "self", NULL
3884 };
3885
3886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
3887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3888 {
3889 PyThreadState* __tstate = wxPyBeginAllowThreads();
3890 result = (int)((wxDialog const *)arg1)->GetReturnCode();
3891
3892 wxPyEndAllowThreads(__tstate);
3893 if (PyErr_Occurred()) SWIG_fail;
3894 }
3895 resultobj = PyInt_FromLong((long)result);
3896 return resultobj;
3897 fail:
3898 return NULL;
3899 }
3900
3901
3902 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3903 PyObject *resultobj;
3904 wxDialog *arg1 = (wxDialog *) 0 ;
3905 wxString *arg2 = 0 ;
3906 wxSizer *result;
3907 bool temp2 = False ;
3908 PyObject * obj0 = 0 ;
3909 PyObject * obj1 = 0 ;
3910 char *kwnames[] = {
3911 (char *) "self",(char *) "message", NULL
3912 };
3913
3914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
3915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3916 {
3917 arg2 = wxString_in_helper(obj1);
3918 if (arg2 == NULL) SWIG_fail;
3919 temp2 = True;
3920 }
3921 {
3922 PyThreadState* __tstate = wxPyBeginAllowThreads();
3923 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
3924
3925 wxPyEndAllowThreads(__tstate);
3926 if (PyErr_Occurred()) SWIG_fail;
3927 }
3928 {
3929 resultobj = wxPyMake_wxSizer(result);
3930 }
3931 {
3932 if (temp2)
3933 delete arg2;
3934 }
3935 return resultobj;
3936 fail:
3937 {
3938 if (temp2)
3939 delete arg2;
3940 }
3941 return NULL;
3942 }
3943
3944
3945 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3946 PyObject *resultobj;
3947 wxDialog *arg1 = (wxDialog *) 0 ;
3948 long arg2 ;
3949 wxSizer *result;
3950 PyObject * obj0 = 0 ;
3951 char *kwnames[] = {
3952 (char *) "self",(char *) "flags", NULL
3953 };
3954
3955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Dialog_CreateButtonSizer",kwnames,&obj0,&arg2)) goto fail;
3956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3957 {
3958 PyThreadState* __tstate = wxPyBeginAllowThreads();
3959 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
3960
3961 wxPyEndAllowThreads(__tstate);
3962 if (PyErr_Occurred()) SWIG_fail;
3963 }
3964 {
3965 resultobj = wxPyMake_wxSizer(result);
3966 }
3967 return resultobj;
3968 fail:
3969 return NULL;
3970 }
3971
3972
3973 static PyObject *_wrap_Dialog_SetModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3974 PyObject *resultobj;
3975 wxDialog *arg1 = (wxDialog *) 0 ;
3976 bool arg2 ;
3977 PyObject * obj0 = 0 ;
3978 PyObject * obj1 = 0 ;
3979 char *kwnames[] = {
3980 (char *) "self",(char *) "flag", NULL
3981 };
3982
3983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetModal",kwnames,&obj0,&obj1)) goto fail;
3984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3985 arg2 = PyInt_AsLong(obj1) ? true : false;
3986 if (PyErr_Occurred()) SWIG_fail;
3987 {
3988 PyThreadState* __tstate = wxPyBeginAllowThreads();
3989 (arg1)->SetModal(arg2);
3990
3991 wxPyEndAllowThreads(__tstate);
3992 if (PyErr_Occurred()) SWIG_fail;
3993 }
3994 Py_INCREF(Py_None); resultobj = Py_None;
3995 return resultobj;
3996 fail:
3997 return NULL;
3998 }
3999
4000
4001 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4002 PyObject *resultobj;
4003 wxDialog *arg1 = (wxDialog *) 0 ;
4004 bool result;
4005 PyObject * obj0 = 0 ;
4006 char *kwnames[] = {
4007 (char *) "self", NULL
4008 };
4009
4010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4012 {
4013 PyThreadState* __tstate = wxPyBeginAllowThreads();
4014 result = (bool)((wxDialog const *)arg1)->IsModal();
4015
4016 wxPyEndAllowThreads(__tstate);
4017 if (PyErr_Occurred()) SWIG_fail;
4018 }
4019 resultobj = PyInt_FromLong((long)result);
4020 return resultobj;
4021 fail:
4022 return NULL;
4023 }
4024
4025
4026 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4027 PyObject *resultobj;
4028 wxDialog *arg1 = (wxDialog *) 0 ;
4029 int result;
4030 PyObject * obj0 = 0 ;
4031 char *kwnames[] = {
4032 (char *) "self", NULL
4033 };
4034
4035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4037 {
4038 PyThreadState* __tstate = wxPyBeginAllowThreads();
4039 result = (int)(arg1)->ShowModal();
4040
4041 wxPyEndAllowThreads(__tstate);
4042 if (PyErr_Occurred()) SWIG_fail;
4043 }
4044 resultobj = PyInt_FromLong((long)result);
4045 return resultobj;
4046 fail:
4047 return NULL;
4048 }
4049
4050
4051 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4052 PyObject *resultobj;
4053 wxDialog *arg1 = (wxDialog *) 0 ;
4054 int arg2 ;
4055 PyObject * obj0 = 0 ;
4056 char *kwnames[] = {
4057 (char *) "self",(char *) "retCode", NULL
4058 };
4059
4060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_EndModal",kwnames,&obj0,&arg2)) goto fail;
4061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4062 {
4063 PyThreadState* __tstate = wxPyBeginAllowThreads();
4064 (arg1)->EndModal(arg2);
4065
4066 wxPyEndAllowThreads(__tstate);
4067 if (PyErr_Occurred()) SWIG_fail;
4068 }
4069 Py_INCREF(Py_None); resultobj = Py_None;
4070 return resultobj;
4071 fail:
4072 return NULL;
4073 }
4074
4075
4076 static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) {
4077 PyObject *resultobj;
4078 wxDialog *arg1 = (wxDialog *) 0 ;
4079 bool result;
4080 PyObject * obj0 = 0 ;
4081 char *kwnames[] = {
4082 (char *) "self", NULL
4083 };
4084
4085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
4086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4087 {
4088 PyThreadState* __tstate = wxPyBeginAllowThreads();
4089 result = (bool)wxDialog_IsModalShowing(arg1);
4090
4091 wxPyEndAllowThreads(__tstate);
4092 if (PyErr_Occurred()) SWIG_fail;
4093 }
4094 resultobj = PyInt_FromLong((long)result);
4095 return resultobj;
4096 fail:
4097 return NULL;
4098 }
4099
4100
4101 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4102 PyObject *obj;
4103 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4104 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4105 Py_INCREF(obj);
4106 return Py_BuildValue((char *)"");
4107 }
4108 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4109 PyObject *resultobj;
4110 wxWindow *arg1 = (wxWindow *) 0 ;
4111 int arg2 ;
4112 wxString *arg3 = 0 ;
4113 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4114 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4115 wxSize const &arg5_defvalue = wxDefaultSize ;
4116 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4117 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4118 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4119 wxString *arg7 = (wxString *) &arg7_defvalue ;
4120 wxMiniFrame *result;
4121 bool temp3 = False ;
4122 wxPoint temp4 ;
4123 wxSize temp5 ;
4124 bool temp7 = False ;
4125 PyObject * obj0 = 0 ;
4126 PyObject * obj2 = 0 ;
4127 PyObject * obj3 = 0 ;
4128 PyObject * obj4 = 0 ;
4129 PyObject * obj6 = 0 ;
4130 char *kwnames[] = {
4131 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4132 };
4133
4134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MiniFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
4135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4136 {
4137 arg3 = wxString_in_helper(obj2);
4138 if (arg3 == NULL) SWIG_fail;
4139 temp3 = True;
4140 }
4141 if (obj3) {
4142 {
4143 arg4 = &temp4;
4144 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4145 }
4146 }
4147 if (obj4) {
4148 {
4149 arg5 = &temp5;
4150 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4151 }
4152 }
4153 if (obj6) {
4154 {
4155 arg7 = wxString_in_helper(obj6);
4156 if (arg7 == NULL) SWIG_fail;
4157 temp7 = True;
4158 }
4159 }
4160 {
4161 PyThreadState* __tstate = wxPyBeginAllowThreads();
4162 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4163
4164 wxPyEndAllowThreads(__tstate);
4165 if (PyErr_Occurred()) SWIG_fail;
4166 }
4167 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
4168 {
4169 if (temp3)
4170 delete arg3;
4171 }
4172 {
4173 if (temp7)
4174 delete arg7;
4175 }
4176 return resultobj;
4177 fail:
4178 {
4179 if (temp3)
4180 delete arg3;
4181 }
4182 {
4183 if (temp7)
4184 delete arg7;
4185 }
4186 return NULL;
4187 }
4188
4189
4190 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4191 PyObject *resultobj;
4192 wxMiniFrame *result;
4193 char *kwnames[] = {
4194 NULL
4195 };
4196
4197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4198 {
4199 PyThreadState* __tstate = wxPyBeginAllowThreads();
4200 result = (wxMiniFrame *)new wxMiniFrame();
4201
4202 wxPyEndAllowThreads(__tstate);
4203 if (PyErr_Occurred()) SWIG_fail;
4204 }
4205 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
4206 return resultobj;
4207 fail:
4208 return NULL;
4209 }
4210
4211
4212 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4213 PyObject *resultobj;
4214 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4215 wxWindow *arg2 = (wxWindow *) 0 ;
4216 int arg3 ;
4217 wxString *arg4 = 0 ;
4218 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4219 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4220 wxSize const &arg6_defvalue = wxDefaultSize ;
4221 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4222 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4223 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4224 wxString *arg8 = (wxString *) &arg8_defvalue ;
4225 bool result;
4226 bool temp4 = False ;
4227 wxPoint temp5 ;
4228 wxSize temp6 ;
4229 bool temp8 = False ;
4230 PyObject * obj0 = 0 ;
4231 PyObject * obj1 = 0 ;
4232 PyObject * obj3 = 0 ;
4233 PyObject * obj4 = 0 ;
4234 PyObject * obj5 = 0 ;
4235 PyObject * obj7 = 0 ;
4236 char *kwnames[] = {
4237 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4238 };
4239
4240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MiniFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMiniFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4242 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4243 {
4244 arg4 = wxString_in_helper(obj3);
4245 if (arg4 == NULL) SWIG_fail;
4246 temp4 = True;
4247 }
4248 if (obj4) {
4249 {
4250 arg5 = &temp5;
4251 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4252 }
4253 }
4254 if (obj5) {
4255 {
4256 arg6 = &temp6;
4257 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4258 }
4259 }
4260 if (obj7) {
4261 {
4262 arg8 = wxString_in_helper(obj7);
4263 if (arg8 == NULL) SWIG_fail;
4264 temp8 = True;
4265 }
4266 }
4267 {
4268 PyThreadState* __tstate = wxPyBeginAllowThreads();
4269 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4270
4271 wxPyEndAllowThreads(__tstate);
4272 if (PyErr_Occurred()) SWIG_fail;
4273 }
4274 resultobj = PyInt_FromLong((long)result);
4275 {
4276 if (temp4)
4277 delete arg4;
4278 }
4279 {
4280 if (temp8)
4281 delete arg8;
4282 }
4283 return resultobj;
4284 fail:
4285 {
4286 if (temp4)
4287 delete arg4;
4288 }
4289 {
4290 if (temp8)
4291 delete arg8;
4292 }
4293 return NULL;
4294 }
4295
4296
4297 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4298 PyObject *obj;
4299 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4300 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4301 Py_INCREF(obj);
4302 return Py_BuildValue((char *)"");
4303 }
4304 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4305 PyObject *resultobj;
4306 wxBitmap *arg1 = 0 ;
4307 wxWindow *arg2 = (wxWindow *) 0 ;
4308 int arg3 ;
4309 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4310 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4311 wxSize const &arg5_defvalue = wxDefaultSize ;
4312 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4313 long arg6 = (long) wxNO_BORDER ;
4314 wxSplashScreenWindow *result;
4315 wxPoint temp4 ;
4316 wxSize temp5 ;
4317 PyObject * obj0 = 0 ;
4318 PyObject * obj1 = 0 ;
4319 PyObject * obj3 = 0 ;
4320 PyObject * obj4 = 0 ;
4321 char *kwnames[] = {
4322 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4323 };
4324
4325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOl:new_SplashScreenWindow",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
4326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4327 if (arg1 == NULL) {
4328 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4329 }
4330 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4331 if (obj3) {
4332 {
4333 arg4 = &temp4;
4334 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4335 }
4336 }
4337 if (obj4) {
4338 {
4339 arg5 = &temp5;
4340 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4341 }
4342 }
4343 {
4344 PyThreadState* __tstate = wxPyBeginAllowThreads();
4345 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4346
4347 wxPyEndAllowThreads(__tstate);
4348 if (PyErr_Occurred()) SWIG_fail;
4349 }
4350 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 1);
4351 return resultobj;
4352 fail:
4353 return NULL;
4354 }
4355
4356
4357 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4358 PyObject *resultobj;
4359 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4360 wxBitmap *arg2 = 0 ;
4361 PyObject * obj0 = 0 ;
4362 PyObject * obj1 = 0 ;
4363 char *kwnames[] = {
4364 (char *) "self",(char *) "bitmap", NULL
4365 };
4366
4367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4369 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4370 if (arg2 == NULL) {
4371 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4372 }
4373 {
4374 PyThreadState* __tstate = wxPyBeginAllowThreads();
4375 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4376
4377 wxPyEndAllowThreads(__tstate);
4378 if (PyErr_Occurred()) SWIG_fail;
4379 }
4380 Py_INCREF(Py_None); resultobj = Py_None;
4381 return resultobj;
4382 fail:
4383 return NULL;
4384 }
4385
4386
4387 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4388 PyObject *resultobj;
4389 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4390 wxBitmap *result;
4391 PyObject * obj0 = 0 ;
4392 char *kwnames[] = {
4393 (char *) "self", NULL
4394 };
4395
4396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4398 {
4399 PyThreadState* __tstate = wxPyBeginAllowThreads();
4400 {
4401 wxBitmap &_result_ref = (arg1)->GetBitmap();
4402 result = (wxBitmap *) &_result_ref;
4403 }
4404
4405 wxPyEndAllowThreads(__tstate);
4406 if (PyErr_Occurred()) SWIG_fail;
4407 }
4408 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
4409 return resultobj;
4410 fail:
4411 return NULL;
4412 }
4413
4414
4415 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4416 PyObject *obj;
4417 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4418 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4419 Py_INCREF(obj);
4420 return Py_BuildValue((char *)"");
4421 }
4422 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4423 PyObject *resultobj;
4424 wxBitmap *arg1 = 0 ;
4425 long arg2 ;
4426 int arg3 ;
4427 wxWindow *arg4 = (wxWindow *) 0 ;
4428 int arg5 ;
4429 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4430 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4431 wxSize const &arg7_defvalue = wxDefaultSize ;
4432 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4433 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4434 wxSplashScreen *result;
4435 wxPoint temp6 ;
4436 wxSize temp7 ;
4437 PyObject * obj0 = 0 ;
4438 PyObject * obj3 = 0 ;
4439 PyObject * obj5 = 0 ;
4440 PyObject * obj6 = 0 ;
4441 char *kwnames[] = {
4442 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4443 };
4444
4445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliOi|OOl:new_SplashScreen",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5,&obj5,&obj6,&arg8)) goto fail;
4446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4447 if (arg1 == NULL) {
4448 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4449 }
4450 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4451 if (obj5) {
4452 {
4453 arg6 = &temp6;
4454 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4455 }
4456 }
4457 if (obj6) {
4458 {
4459 arg7 = &temp7;
4460 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4461 }
4462 }
4463 {
4464 PyThreadState* __tstate = wxPyBeginAllowThreads();
4465 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4466
4467 wxPyEndAllowThreads(__tstate);
4468 if (PyErr_Occurred()) SWIG_fail;
4469 }
4470 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreen, 1);
4471 return resultobj;
4472 fail:
4473 return NULL;
4474 }
4475
4476
4477 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4478 PyObject *resultobj;
4479 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4480 long result;
4481 PyObject * obj0 = 0 ;
4482 char *kwnames[] = {
4483 (char *) "self", NULL
4484 };
4485
4486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4488 {
4489 PyThreadState* __tstate = wxPyBeginAllowThreads();
4490 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4491
4492 wxPyEndAllowThreads(__tstate);
4493 if (PyErr_Occurred()) SWIG_fail;
4494 }
4495 resultobj = PyInt_FromLong((long)result);
4496 return resultobj;
4497 fail:
4498 return NULL;
4499 }
4500
4501
4502 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4503 PyObject *resultobj;
4504 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4505 wxSplashScreenWindow *result;
4506 PyObject * obj0 = 0 ;
4507 char *kwnames[] = {
4508 (char *) "self", NULL
4509 };
4510
4511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4513 {
4514 PyThreadState* __tstate = wxPyBeginAllowThreads();
4515 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4516
4517 wxPyEndAllowThreads(__tstate);
4518 if (PyErr_Occurred()) SWIG_fail;
4519 }
4520 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 0);
4521 return resultobj;
4522 fail:
4523 return NULL;
4524 }
4525
4526
4527 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4528 PyObject *resultobj;
4529 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4530 int result;
4531 PyObject * obj0 = 0 ;
4532 char *kwnames[] = {
4533 (char *) "self", NULL
4534 };
4535
4536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4538 {
4539 PyThreadState* __tstate = wxPyBeginAllowThreads();
4540 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4541
4542 wxPyEndAllowThreads(__tstate);
4543 if (PyErr_Occurred()) SWIG_fail;
4544 }
4545 resultobj = PyInt_FromLong((long)result);
4546 return resultobj;
4547 fail:
4548 return NULL;
4549 }
4550
4551
4552 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4553 PyObject *obj;
4554 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4555 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4556 Py_INCREF(obj);
4557 return Py_BuildValue((char *)"");
4558 }
4559 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4560 PyObject *resultobj;
4561 wxWindow *arg1 = (wxWindow *) 0 ;
4562 int arg2 = (int) -1 ;
4563 long arg3 = (long) wxST_SIZEGRIP ;
4564 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4565 wxString *arg4 = (wxString *) &arg4_defvalue ;
4566 wxStatusBar *result;
4567 bool temp4 = False ;
4568 PyObject * obj0 = 0 ;
4569 PyObject * obj3 = 0 ;
4570 char *kwnames[] = {
4571 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4572 };
4573
4574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ilO:new_StatusBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
4575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4576 if (obj3) {
4577 {
4578 arg4 = wxString_in_helper(obj3);
4579 if (arg4 == NULL) SWIG_fail;
4580 temp4 = True;
4581 }
4582 }
4583 {
4584 PyThreadState* __tstate = wxPyBeginAllowThreads();
4585 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4586
4587 wxPyEndAllowThreads(__tstate);
4588 if (PyErr_Occurred()) SWIG_fail;
4589 }
4590 {
4591 resultobj = wxPyMake_wxObject(result);
4592 }
4593 {
4594 if (temp4)
4595 delete arg4;
4596 }
4597 return resultobj;
4598 fail:
4599 {
4600 if (temp4)
4601 delete arg4;
4602 }
4603 return NULL;
4604 }
4605
4606
4607 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4608 PyObject *resultobj;
4609 wxStatusBar *result;
4610 char *kwnames[] = {
4611 NULL
4612 };
4613
4614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4615 {
4616 PyThreadState* __tstate = wxPyBeginAllowThreads();
4617 result = (wxStatusBar *)new wxStatusBar();
4618
4619 wxPyEndAllowThreads(__tstate);
4620 if (PyErr_Occurred()) SWIG_fail;
4621 }
4622 {
4623 resultobj = wxPyMake_wxObject(result);
4624 }
4625 return resultobj;
4626 fail:
4627 return NULL;
4628 }
4629
4630
4631 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4632 PyObject *resultobj;
4633 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4634 wxWindow *arg2 = (wxWindow *) 0 ;
4635 int arg3 ;
4636 long arg4 = (long) wxST_SIZEGRIP ;
4637 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4638 wxString *arg5 = (wxString *) &arg5_defvalue ;
4639 bool result;
4640 bool temp5 = False ;
4641 PyObject * obj0 = 0 ;
4642 PyObject * obj1 = 0 ;
4643 PyObject * obj4 = 0 ;
4644 char *kwnames[] = {
4645 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4646 };
4647
4648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|lO:StatusBar_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
4649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4650 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4651 if (obj4) {
4652 {
4653 arg5 = wxString_in_helper(obj4);
4654 if (arg5 == NULL) SWIG_fail;
4655 temp5 = True;
4656 }
4657 }
4658 {
4659 PyThreadState* __tstate = wxPyBeginAllowThreads();
4660 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4661
4662 wxPyEndAllowThreads(__tstate);
4663 if (PyErr_Occurred()) SWIG_fail;
4664 }
4665 resultobj = PyInt_FromLong((long)result);
4666 {
4667 if (temp5)
4668 delete arg5;
4669 }
4670 return resultobj;
4671 fail:
4672 {
4673 if (temp5)
4674 delete arg5;
4675 }
4676 return NULL;
4677 }
4678
4679
4680 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4681 PyObject *resultobj;
4682 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4683 int arg2 = (int) 1 ;
4684 PyObject * obj0 = 0 ;
4685 char *kwnames[] = {
4686 (char *) "self",(char *) "number", NULL
4687 };
4688
4689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_SetFieldsCount",kwnames,&obj0,&arg2)) goto fail;
4690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4691 {
4692 PyThreadState* __tstate = wxPyBeginAllowThreads();
4693 (arg1)->SetFieldsCount(arg2);
4694
4695 wxPyEndAllowThreads(__tstate);
4696 if (PyErr_Occurred()) SWIG_fail;
4697 }
4698 Py_INCREF(Py_None); resultobj = Py_None;
4699 return resultobj;
4700 fail:
4701 return NULL;
4702 }
4703
4704
4705 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4706 PyObject *resultobj;
4707 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4708 int result;
4709 PyObject * obj0 = 0 ;
4710 char *kwnames[] = {
4711 (char *) "self", NULL
4712 };
4713
4714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
4715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4716 {
4717 PyThreadState* __tstate = wxPyBeginAllowThreads();
4718 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
4719
4720 wxPyEndAllowThreads(__tstate);
4721 if (PyErr_Occurred()) SWIG_fail;
4722 }
4723 resultobj = PyInt_FromLong((long)result);
4724 return resultobj;
4725 fail:
4726 return NULL;
4727 }
4728
4729
4730 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4731 PyObject *resultobj;
4732 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4733 wxString *arg2 = 0 ;
4734 int arg3 = (int) 0 ;
4735 bool temp2 = False ;
4736 PyObject * obj0 = 0 ;
4737 PyObject * obj1 = 0 ;
4738 char *kwnames[] = {
4739 (char *) "self",(char *) "text",(char *) "number", NULL
4740 };
4741
4742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4744 {
4745 arg2 = wxString_in_helper(obj1);
4746 if (arg2 == NULL) SWIG_fail;
4747 temp2 = True;
4748 }
4749 {
4750 PyThreadState* __tstate = wxPyBeginAllowThreads();
4751 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
4752
4753 wxPyEndAllowThreads(__tstate);
4754 if (PyErr_Occurred()) SWIG_fail;
4755 }
4756 Py_INCREF(Py_None); resultobj = Py_None;
4757 {
4758 if (temp2)
4759 delete arg2;
4760 }
4761 return resultobj;
4762 fail:
4763 {
4764 if (temp2)
4765 delete arg2;
4766 }
4767 return NULL;
4768 }
4769
4770
4771 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4772 PyObject *resultobj;
4773 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4774 int arg2 = (int) 0 ;
4775 wxString result;
4776 PyObject * obj0 = 0 ;
4777 char *kwnames[] = {
4778 (char *) "self",(char *) "number", NULL
4779 };
4780
4781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_GetStatusText",kwnames,&obj0,&arg2)) goto fail;
4782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4783 {
4784 PyThreadState* __tstate = wxPyBeginAllowThreads();
4785 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
4786
4787 wxPyEndAllowThreads(__tstate);
4788 if (PyErr_Occurred()) SWIG_fail;
4789 }
4790 {
4791 #if wxUSE_UNICODE
4792 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4793 #else
4794 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4795 #endif
4796 }
4797 return resultobj;
4798 fail:
4799 return NULL;
4800 }
4801
4802
4803 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4804 PyObject *resultobj;
4805 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4806 wxString *arg2 = 0 ;
4807 int arg3 = (int) 0 ;
4808 bool temp2 = False ;
4809 PyObject * obj0 = 0 ;
4810 PyObject * obj1 = 0 ;
4811 char *kwnames[] = {
4812 (char *) "self",(char *) "text",(char *) "number", NULL
4813 };
4814
4815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4817 {
4818 arg2 = wxString_in_helper(obj1);
4819 if (arg2 == NULL) SWIG_fail;
4820 temp2 = True;
4821 }
4822 {
4823 PyThreadState* __tstate = wxPyBeginAllowThreads();
4824 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
4825
4826 wxPyEndAllowThreads(__tstate);
4827 if (PyErr_Occurred()) SWIG_fail;
4828 }
4829 Py_INCREF(Py_None); resultobj = Py_None;
4830 {
4831 if (temp2)
4832 delete arg2;
4833 }
4834 return resultobj;
4835 fail:
4836 {
4837 if (temp2)
4838 delete arg2;
4839 }
4840 return NULL;
4841 }
4842
4843
4844 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4845 PyObject *resultobj;
4846 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4847 int arg2 = (int) 0 ;
4848 PyObject * obj0 = 0 ;
4849 char *kwnames[] = {
4850 (char *) "self",(char *) "number", NULL
4851 };
4852
4853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
4854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4855 {
4856 PyThreadState* __tstate = wxPyBeginAllowThreads();
4857 (arg1)->PopStatusText(arg2);
4858
4859 wxPyEndAllowThreads(__tstate);
4860 if (PyErr_Occurred()) SWIG_fail;
4861 }
4862 Py_INCREF(Py_None); resultobj = Py_None;
4863 return resultobj;
4864 fail:
4865 return NULL;
4866 }
4867
4868
4869 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
4870 PyObject *resultobj;
4871 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4872 int arg2 ;
4873 int *arg3 = (int *) 0 ;
4874 PyObject * obj0 = 0 ;
4875 PyObject * obj1 = 0 ;
4876 char *kwnames[] = {
4877 (char *) "self",(char *) "widths", NULL
4878 };
4879
4880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
4881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4882 {
4883 arg2 = PyList_Size(obj1);
4884 arg3 = int_LIST_helper(obj1);
4885 if (arg3 == NULL) SWIG_fail;
4886 }
4887 {
4888 PyThreadState* __tstate = wxPyBeginAllowThreads();
4889 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
4890
4891 wxPyEndAllowThreads(__tstate);
4892 if (PyErr_Occurred()) SWIG_fail;
4893 }
4894 Py_INCREF(Py_None); resultobj = Py_None;
4895 {
4896 if (arg3) delete [] arg3;
4897 }
4898 return resultobj;
4899 fail:
4900 {
4901 if (arg3) delete [] arg3;
4902 }
4903 return NULL;
4904 }
4905
4906
4907 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4908 PyObject *resultobj;
4909 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4910 int arg2 ;
4911 wxRect *arg3 = 0 ;
4912 bool result;
4913 wxRect temp3 ;
4914 PyObject * obj0 = 0 ;
4915 PyObject * obj2 = 0 ;
4916 char *kwnames[] = {
4917 (char *) "self",(char *) "i",(char *) "rect", NULL
4918 };
4919
4920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StatusBar_GetFieldRect",kwnames,&obj0,&arg2,&obj2)) goto fail;
4921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4922 {
4923 arg3 = &temp3;
4924 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
4925 }
4926 {
4927 PyThreadState* __tstate = wxPyBeginAllowThreads();
4928 result = (bool)((wxStatusBar const *)arg1)->GetFieldRect(arg2,*arg3);
4929
4930 wxPyEndAllowThreads(__tstate);
4931 if (PyErr_Occurred()) SWIG_fail;
4932 }
4933 resultobj = PyInt_FromLong((long)result);
4934 return resultobj;
4935 fail:
4936 return NULL;
4937 }
4938
4939
4940 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
4941 PyObject *resultobj;
4942 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4943 int arg2 ;
4944 PyObject * obj0 = 0 ;
4945 char *kwnames[] = {
4946 (char *) "self",(char *) "height", NULL
4947 };
4948
4949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_SetMinHeight",kwnames,&obj0,&arg2)) goto fail;
4950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4951 {
4952 PyThreadState* __tstate = wxPyBeginAllowThreads();
4953 (arg1)->SetMinHeight(arg2);
4954
4955 wxPyEndAllowThreads(__tstate);
4956 if (PyErr_Occurred()) SWIG_fail;
4957 }
4958 Py_INCREF(Py_None); resultobj = Py_None;
4959 return resultobj;
4960 fail:
4961 return NULL;
4962 }
4963
4964
4965 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
4966 PyObject *resultobj;
4967 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4968 int result;
4969 PyObject * obj0 = 0 ;
4970 char *kwnames[] = {
4971 (char *) "self", NULL
4972 };
4973
4974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
4975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4976 {
4977 PyThreadState* __tstate = wxPyBeginAllowThreads();
4978 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
4979
4980 wxPyEndAllowThreads(__tstate);
4981 if (PyErr_Occurred()) SWIG_fail;
4982 }
4983 resultobj = PyInt_FromLong((long)result);
4984 return resultobj;
4985 fail:
4986 return NULL;
4987 }
4988
4989
4990 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
4991 PyObject *resultobj;
4992 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4993 int result;
4994 PyObject * obj0 = 0 ;
4995 char *kwnames[] = {
4996 (char *) "self", NULL
4997 };
4998
4999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5001 {
5002 PyThreadState* __tstate = wxPyBeginAllowThreads();
5003 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5004
5005 wxPyEndAllowThreads(__tstate);
5006 if (PyErr_Occurred()) SWIG_fail;
5007 }
5008 resultobj = PyInt_FromLong((long)result);
5009 return resultobj;
5010 fail:
5011 return NULL;
5012 }
5013
5014
5015 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
5016 PyObject *obj;
5017 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5018 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5019 Py_INCREF(obj);
5020 return Py_BuildValue((char *)"");
5021 }
5022 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5023 PyObject *resultobj;
5024 wxWindow *arg1 = (wxWindow *) 0 ;
5025 int arg2 ;
5026 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5027 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5028 wxSize const &arg4_defvalue = wxDefaultSize ;
5029 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5030 long arg5 = (long) wxSP_3D ;
5031 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5032 wxString *arg6 = (wxString *) &arg6_defvalue ;
5033 wxSplitterWindow *result;
5034 wxPoint temp3 ;
5035 wxSize temp4 ;
5036 bool temp6 = False ;
5037 PyObject * obj0 = 0 ;
5038 PyObject * obj2 = 0 ;
5039 PyObject * obj3 = 0 ;
5040 PyObject * obj5 = 0 ;
5041 char *kwnames[] = {
5042 (char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
5043 };
5044
5045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SplitterWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
5046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5047 if (obj2) {
5048 {
5049 arg3 = &temp3;
5050 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5051 }
5052 }
5053 if (obj3) {
5054 {
5055 arg4 = &temp4;
5056 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5057 }
5058 }
5059 if (obj5) {
5060 {
5061 arg6 = wxString_in_helper(obj5);
5062 if (arg6 == NULL) SWIG_fail;
5063 temp6 = True;
5064 }
5065 }
5066 {
5067 PyThreadState* __tstate = wxPyBeginAllowThreads();
5068 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5069
5070 wxPyEndAllowThreads(__tstate);
5071 if (PyErr_Occurred()) SWIG_fail;
5072 }
5073 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
5074 {
5075 if (temp6)
5076 delete arg6;
5077 }
5078 return resultobj;
5079 fail:
5080 {
5081 if (temp6)
5082 delete arg6;
5083 }
5084 return NULL;
5085 }
5086
5087
5088 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5089 PyObject *resultobj;
5090 wxSplitterWindow *result;
5091 char *kwnames[] = {
5092 NULL
5093 };
5094
5095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5096 {
5097 PyThreadState* __tstate = wxPyBeginAllowThreads();
5098 result = (wxSplitterWindow *)new wxSplitterWindow();
5099
5100 wxPyEndAllowThreads(__tstate);
5101 if (PyErr_Occurred()) SWIG_fail;
5102 }
5103 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
5104 return resultobj;
5105 fail:
5106 return NULL;
5107 }
5108
5109
5110 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5111 PyObject *resultobj;
5112 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5113 wxWindow *arg2 = (wxWindow *) 0 ;
5114 int arg3 ;
5115 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5116 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5117 wxSize const &arg5_defvalue = wxDefaultSize ;
5118 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5119 long arg6 = (long) wxSP_3D ;
5120 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5121 wxString *arg7 = (wxString *) &arg7_defvalue ;
5122 bool result;
5123 wxPoint temp4 ;
5124 wxSize temp5 ;
5125 bool temp7 = False ;
5126 PyObject * obj0 = 0 ;
5127 PyObject * obj1 = 0 ;
5128 PyObject * obj3 = 0 ;
5129 PyObject * obj4 = 0 ;
5130 PyObject * obj6 = 0 ;
5131 char *kwnames[] = {
5132 (char *) "self",(char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
5133 };
5134
5135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SplitterWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
5136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5137 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5138 if (obj3) {
5139 {
5140 arg4 = &temp4;
5141 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5142 }
5143 }
5144 if (obj4) {
5145 {
5146 arg5 = &temp5;
5147 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5148 }
5149 }
5150 if (obj6) {
5151 {
5152 arg7 = wxString_in_helper(obj6);
5153 if (arg7 == NULL) SWIG_fail;
5154 temp7 = True;
5155 }
5156 }
5157 {
5158 PyThreadState* __tstate = wxPyBeginAllowThreads();
5159 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5160
5161 wxPyEndAllowThreads(__tstate);
5162 if (PyErr_Occurred()) SWIG_fail;
5163 }
5164 resultobj = PyInt_FromLong((long)result);
5165 {
5166 if (temp7)
5167 delete arg7;
5168 }
5169 return resultobj;
5170 fail:
5171 {
5172 if (temp7)
5173 delete arg7;
5174 }
5175 return NULL;
5176 }
5177
5178
5179 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5180 PyObject *resultobj;
5181 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5182 wxWindow *result;
5183 PyObject * obj0 = 0 ;
5184 char *kwnames[] = {
5185 (char *) "self", NULL
5186 };
5187
5188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5190 {
5191 PyThreadState* __tstate = wxPyBeginAllowThreads();
5192 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5193
5194 wxPyEndAllowThreads(__tstate);
5195 if (PyErr_Occurred()) SWIG_fail;
5196 }
5197 {
5198 resultobj = wxPyMake_wxObject(result);
5199 }
5200 return resultobj;
5201 fail:
5202 return NULL;
5203 }
5204
5205
5206 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5207 PyObject *resultobj;
5208 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5209 wxWindow *result;
5210 PyObject * obj0 = 0 ;
5211 char *kwnames[] = {
5212 (char *) "self", NULL
5213 };
5214
5215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5217 {
5218 PyThreadState* __tstate = wxPyBeginAllowThreads();
5219 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5220
5221 wxPyEndAllowThreads(__tstate);
5222 if (PyErr_Occurred()) SWIG_fail;
5223 }
5224 {
5225 resultobj = wxPyMake_wxObject(result);
5226 }
5227 return resultobj;
5228 fail:
5229 return NULL;
5230 }
5231
5232
5233 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5234 PyObject *resultobj;
5235 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5236 int arg2 ;
5237 PyObject * obj0 = 0 ;
5238 char *kwnames[] = {
5239 (char *) "self",(char *) "mode", NULL
5240 };
5241
5242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSplitMode",kwnames,&obj0,&arg2)) goto fail;
5243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5244 {
5245 PyThreadState* __tstate = wxPyBeginAllowThreads();
5246 (arg1)->SetSplitMode(arg2);
5247
5248 wxPyEndAllowThreads(__tstate);
5249 if (PyErr_Occurred()) SWIG_fail;
5250 }
5251 Py_INCREF(Py_None); resultobj = Py_None;
5252 return resultobj;
5253 fail:
5254 return NULL;
5255 }
5256
5257
5258 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5259 PyObject *resultobj;
5260 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5261 int result;
5262 PyObject * obj0 = 0 ;
5263 char *kwnames[] = {
5264 (char *) "self", NULL
5265 };
5266
5267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5269 {
5270 PyThreadState* __tstate = wxPyBeginAllowThreads();
5271 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5272
5273 wxPyEndAllowThreads(__tstate);
5274 if (PyErr_Occurred()) SWIG_fail;
5275 }
5276 resultobj = PyInt_FromLong((long)result);
5277 return resultobj;
5278 fail:
5279 return NULL;
5280 }
5281
5282
5283 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5284 PyObject *resultobj;
5285 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5286 wxWindow *arg2 = (wxWindow *) 0 ;
5287 PyObject * obj0 = 0 ;
5288 PyObject * obj1 = 0 ;
5289 char *kwnames[] = {
5290 (char *) "self",(char *) "window", NULL
5291 };
5292
5293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5295 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5296 {
5297 PyThreadState* __tstate = wxPyBeginAllowThreads();
5298 (arg1)->Initialize(arg2);
5299
5300 wxPyEndAllowThreads(__tstate);
5301 if (PyErr_Occurred()) SWIG_fail;
5302 }
5303 Py_INCREF(Py_None); resultobj = Py_None;
5304 return resultobj;
5305 fail:
5306 return NULL;
5307 }
5308
5309
5310 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5311 PyObject *resultobj;
5312 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5313 wxWindow *arg2 = (wxWindow *) 0 ;
5314 wxWindow *arg3 = (wxWindow *) 0 ;
5315 int arg4 = (int) 0 ;
5316 bool result;
5317 PyObject * obj0 = 0 ;
5318 PyObject * obj1 = 0 ;
5319 PyObject * obj2 = 0 ;
5320 char *kwnames[] = {
5321 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5322 };
5323
5324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
5325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5326 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5327 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5328 {
5329 PyThreadState* __tstate = wxPyBeginAllowThreads();
5330 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5331
5332 wxPyEndAllowThreads(__tstate);
5333 if (PyErr_Occurred()) SWIG_fail;
5334 }
5335 resultobj = PyInt_FromLong((long)result);
5336 return resultobj;
5337 fail:
5338 return NULL;
5339 }
5340
5341
5342 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5343 PyObject *resultobj;
5344 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5345 wxWindow *arg2 = (wxWindow *) 0 ;
5346 wxWindow *arg3 = (wxWindow *) 0 ;
5347 int arg4 = (int) 0 ;
5348 bool result;
5349 PyObject * obj0 = 0 ;
5350 PyObject * obj1 = 0 ;
5351 PyObject * obj2 = 0 ;
5352 char *kwnames[] = {
5353 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5354 };
5355
5356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
5357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5358 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5359 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5360 {
5361 PyThreadState* __tstate = wxPyBeginAllowThreads();
5362 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5363
5364 wxPyEndAllowThreads(__tstate);
5365 if (PyErr_Occurred()) SWIG_fail;
5366 }
5367 resultobj = PyInt_FromLong((long)result);
5368 return resultobj;
5369 fail:
5370 return NULL;
5371 }
5372
5373
5374 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5375 PyObject *resultobj;
5376 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5377 wxWindow *arg2 = (wxWindow *) NULL ;
5378 bool result;
5379 PyObject * obj0 = 0 ;
5380 PyObject * obj1 = 0 ;
5381 char *kwnames[] = {
5382 (char *) "self",(char *) "toRemove", NULL
5383 };
5384
5385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5387 if (obj1) {
5388 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5389 }
5390 {
5391 PyThreadState* __tstate = wxPyBeginAllowThreads();
5392 result = (bool)(arg1)->Unsplit(arg2);
5393
5394 wxPyEndAllowThreads(__tstate);
5395 if (PyErr_Occurred()) SWIG_fail;
5396 }
5397 resultobj = PyInt_FromLong((long)result);
5398 return resultobj;
5399 fail:
5400 return NULL;
5401 }
5402
5403
5404 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5405 PyObject *resultobj;
5406 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5407 wxWindow *arg2 = (wxWindow *) 0 ;
5408 wxWindow *arg3 = (wxWindow *) 0 ;
5409 bool result;
5410 PyObject * obj0 = 0 ;
5411 PyObject * obj1 = 0 ;
5412 PyObject * obj2 = 0 ;
5413 char *kwnames[] = {
5414 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5415 };
5416
5417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5419 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5420 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5421 {
5422 PyThreadState* __tstate = wxPyBeginAllowThreads();
5423 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5424
5425 wxPyEndAllowThreads(__tstate);
5426 if (PyErr_Occurred()) SWIG_fail;
5427 }
5428 resultobj = PyInt_FromLong((long)result);
5429 return resultobj;
5430 fail:
5431 return NULL;
5432 }
5433
5434
5435 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5436 PyObject *resultobj;
5437 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5438 bool result;
5439 PyObject * obj0 = 0 ;
5440 char *kwnames[] = {
5441 (char *) "self", NULL
5442 };
5443
5444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5446 {
5447 PyThreadState* __tstate = wxPyBeginAllowThreads();
5448 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5449
5450 wxPyEndAllowThreads(__tstate);
5451 if (PyErr_Occurred()) SWIG_fail;
5452 }
5453 resultobj = PyInt_FromLong((long)result);
5454 return resultobj;
5455 fail:
5456 return NULL;
5457 }
5458
5459
5460 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5461 PyObject *resultobj;
5462 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5463 int arg2 ;
5464 PyObject * obj0 = 0 ;
5465 char *kwnames[] = {
5466 (char *) "self",(char *) "width", NULL
5467 };
5468
5469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSashSize",kwnames,&obj0,&arg2)) goto fail;
5470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5471 {
5472 PyThreadState* __tstate = wxPyBeginAllowThreads();
5473 (arg1)->SetSashSize(arg2);
5474
5475 wxPyEndAllowThreads(__tstate);
5476 if (PyErr_Occurred()) SWIG_fail;
5477 }
5478 Py_INCREF(Py_None); resultobj = Py_None;
5479 return resultobj;
5480 fail:
5481 return NULL;
5482 }
5483
5484
5485 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5486 PyObject *resultobj;
5487 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5488 int arg2 ;
5489 PyObject * obj0 = 0 ;
5490 char *kwnames[] = {
5491 (char *) "self",(char *) "width", NULL
5492 };
5493
5494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetBorderSize",kwnames,&obj0,&arg2)) goto fail;
5495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5496 {
5497 PyThreadState* __tstate = wxPyBeginAllowThreads();
5498 (arg1)->SetBorderSize(arg2);
5499
5500 wxPyEndAllowThreads(__tstate);
5501 if (PyErr_Occurred()) SWIG_fail;
5502 }
5503 Py_INCREF(Py_None); resultobj = Py_None;
5504 return resultobj;
5505 fail:
5506 return NULL;
5507 }
5508
5509
5510 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5511 PyObject *resultobj;
5512 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5513 int result;
5514 PyObject * obj0 = 0 ;
5515 char *kwnames[] = {
5516 (char *) "self", NULL
5517 };
5518
5519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
5520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5521 {
5522 PyThreadState* __tstate = wxPyBeginAllowThreads();
5523 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
5524
5525 wxPyEndAllowThreads(__tstate);
5526 if (PyErr_Occurred()) SWIG_fail;
5527 }
5528 resultobj = PyInt_FromLong((long)result);
5529 return resultobj;
5530 fail:
5531 return NULL;
5532 }
5533
5534
5535 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5536 PyObject *resultobj;
5537 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5538 int result;
5539 PyObject * obj0 = 0 ;
5540 char *kwnames[] = {
5541 (char *) "self", NULL
5542 };
5543
5544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
5545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5546 {
5547 PyThreadState* __tstate = wxPyBeginAllowThreads();
5548 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
5549
5550 wxPyEndAllowThreads(__tstate);
5551 if (PyErr_Occurred()) SWIG_fail;
5552 }
5553 resultobj = PyInt_FromLong((long)result);
5554 return resultobj;
5555 fail:
5556 return NULL;
5557 }
5558
5559
5560 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5561 PyObject *resultobj;
5562 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5563 int arg2 ;
5564 bool arg3 = (bool) True ;
5565 PyObject * obj0 = 0 ;
5566 PyObject * obj2 = 0 ;
5567 char *kwnames[] = {
5568 (char *) "self",(char *) "position",(char *) "redraw", NULL
5569 };
5570
5571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
5572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5573 if (obj2) {
5574 arg3 = PyInt_AsLong(obj2) ? true : false;
5575 if (PyErr_Occurred()) SWIG_fail;
5576 }
5577 {
5578 PyThreadState* __tstate = wxPyBeginAllowThreads();
5579 (arg1)->SetSashPosition(arg2,arg3);
5580
5581 wxPyEndAllowThreads(__tstate);
5582 if (PyErr_Occurred()) SWIG_fail;
5583 }
5584 Py_INCREF(Py_None); resultobj = Py_None;
5585 return resultobj;
5586 fail:
5587 return NULL;
5588 }
5589
5590
5591 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5592 PyObject *resultobj;
5593 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5594 int result;
5595 PyObject * obj0 = 0 ;
5596 char *kwnames[] = {
5597 (char *) "self", NULL
5598 };
5599
5600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
5601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5602 {
5603 PyThreadState* __tstate = wxPyBeginAllowThreads();
5604 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
5605
5606 wxPyEndAllowThreads(__tstate);
5607 if (PyErr_Occurred()) SWIG_fail;
5608 }
5609 resultobj = PyInt_FromLong((long)result);
5610 return resultobj;
5611 fail:
5612 return NULL;
5613 }
5614
5615
5616 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5617 PyObject *resultobj;
5618 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5619 int arg2 ;
5620 PyObject * obj0 = 0 ;
5621 char *kwnames[] = {
5622 (char *) "self",(char *) "min", NULL
5623 };
5624
5625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&arg2)) goto fail;
5626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5627 {
5628 PyThreadState* __tstate = wxPyBeginAllowThreads();
5629 (arg1)->SetMinimumPaneSize(arg2);
5630
5631 wxPyEndAllowThreads(__tstate);
5632 if (PyErr_Occurred()) SWIG_fail;
5633 }
5634 Py_INCREF(Py_None); resultobj = Py_None;
5635 return resultobj;
5636 fail:
5637 return NULL;
5638 }
5639
5640
5641 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5642 PyObject *resultobj;
5643 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5644 int result;
5645 PyObject * obj0 = 0 ;
5646 char *kwnames[] = {
5647 (char *) "self", NULL
5648 };
5649
5650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
5651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5652 {
5653 PyThreadState* __tstate = wxPyBeginAllowThreads();
5654 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
5655
5656 wxPyEndAllowThreads(__tstate);
5657 if (PyErr_Occurred()) SWIG_fail;
5658 }
5659 resultobj = PyInt_FromLong((long)result);
5660 return resultobj;
5661 fail:
5662 return NULL;
5663 }
5664
5665
5666 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5667 PyObject *resultobj;
5668 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5669 int arg2 ;
5670 int arg3 ;
5671 int arg4 = (int) 5 ;
5672 bool result;
5673 PyObject * obj0 = 0 ;
5674 char *kwnames[] = {
5675 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5676 };
5677
5678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SplitterWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
5679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5680 {
5681 PyThreadState* __tstate = wxPyBeginAllowThreads();
5682 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
5683
5684 wxPyEndAllowThreads(__tstate);
5685 if (PyErr_Occurred()) SWIG_fail;
5686 }
5687 resultobj = PyInt_FromLong((long)result);
5688 return resultobj;
5689 fail:
5690 return NULL;
5691 }
5692
5693
5694 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
5695 PyObject *resultobj;
5696 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5697 PyObject * obj0 = 0 ;
5698 char *kwnames[] = {
5699 (char *) "self", NULL
5700 };
5701
5702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
5703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5704 {
5705 PyThreadState* __tstate = wxPyBeginAllowThreads();
5706 (arg1)->SizeWindows();
5707
5708 wxPyEndAllowThreads(__tstate);
5709 if (PyErr_Occurred()) SWIG_fail;
5710 }
5711 Py_INCREF(Py_None); resultobj = Py_None;
5712 return resultobj;
5713 fail:
5714 return NULL;
5715 }
5716
5717
5718 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5719 PyObject *resultobj;
5720 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5721 bool arg2 ;
5722 PyObject * obj0 = 0 ;
5723 PyObject * obj1 = 0 ;
5724 char *kwnames[] = {
5725 (char *) "self",(char *) "needUpdating", NULL
5726 };
5727
5728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
5729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5730 arg2 = PyInt_AsLong(obj1) ? true : false;
5731 if (PyErr_Occurred()) SWIG_fail;
5732 {
5733 PyThreadState* __tstate = wxPyBeginAllowThreads();
5734 (arg1)->SetNeedUpdating(arg2);
5735
5736 wxPyEndAllowThreads(__tstate);
5737 if (PyErr_Occurred()) SWIG_fail;
5738 }
5739 Py_INCREF(Py_None); resultobj = Py_None;
5740 return resultobj;
5741 fail:
5742 return NULL;
5743 }
5744
5745
5746 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5747 PyObject *resultobj;
5748 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5749 bool result;
5750 PyObject * obj0 = 0 ;
5751 char *kwnames[] = {
5752 (char *) "self", NULL
5753 };
5754
5755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
5756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5757 {
5758 PyThreadState* __tstate = wxPyBeginAllowThreads();
5759 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
5760
5761 wxPyEndAllowThreads(__tstate);
5762 if (PyErr_Occurred()) SWIG_fail;
5763 }
5764 resultobj = PyInt_FromLong((long)result);
5765 return resultobj;
5766 fail:
5767 return NULL;
5768 }
5769
5770
5771 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
5772 PyObject *obj;
5773 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5774 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
5775 Py_INCREF(obj);
5776 return Py_BuildValue((char *)"");
5777 }
5778 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5779 PyObject *resultobj;
5780 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
5781 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
5782 wxSplitterEvent *result;
5783 PyObject * obj1 = 0 ;
5784 char *kwnames[] = {
5785 (char *) "type",(char *) "splitter", NULL
5786 };
5787
5788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_SplitterEvent",kwnames,&arg1,&obj1)) goto fail;
5789 if (obj1) {
5790 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5791 }
5792 {
5793 PyThreadState* __tstate = wxPyBeginAllowThreads();
5794 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
5795
5796 wxPyEndAllowThreads(__tstate);
5797 if (PyErr_Occurred()) SWIG_fail;
5798 }
5799 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterEvent, 1);
5800 return resultobj;
5801 fail:
5802 return NULL;
5803 }
5804
5805
5806 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5807 PyObject *resultobj;
5808 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5809 int arg2 ;
5810 PyObject * obj0 = 0 ;
5811 char *kwnames[] = {
5812 (char *) "self",(char *) "pos", NULL
5813 };
5814
5815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterEvent_SetSashPosition",kwnames,&obj0,&arg2)) goto fail;
5816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5817 {
5818 PyThreadState* __tstate = wxPyBeginAllowThreads();
5819 (arg1)->SetSashPosition(arg2);
5820
5821 wxPyEndAllowThreads(__tstate);
5822 if (PyErr_Occurred()) SWIG_fail;
5823 }
5824 Py_INCREF(Py_None); resultobj = Py_None;
5825 return resultobj;
5826 fail:
5827 return NULL;
5828 }
5829
5830
5831 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5832 PyObject *resultobj;
5833 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5834 int result;
5835 PyObject * obj0 = 0 ;
5836 char *kwnames[] = {
5837 (char *) "self", NULL
5838 };
5839
5840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
5841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5842 {
5843 PyThreadState* __tstate = wxPyBeginAllowThreads();
5844 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
5845
5846 wxPyEndAllowThreads(__tstate);
5847 if (PyErr_Occurred()) SWIG_fail;
5848 }
5849 resultobj = PyInt_FromLong((long)result);
5850 return resultobj;
5851 fail:
5852 return NULL;
5853 }
5854
5855
5856 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
5857 PyObject *resultobj;
5858 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5859 wxWindow *result;
5860 PyObject * obj0 = 0 ;
5861 char *kwnames[] = {
5862 (char *) "self", NULL
5863 };
5864
5865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
5866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5867 {
5868 PyThreadState* __tstate = wxPyBeginAllowThreads();
5869 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
5870
5871 wxPyEndAllowThreads(__tstate);
5872 if (PyErr_Occurred()) SWIG_fail;
5873 }
5874 {
5875 resultobj = wxPyMake_wxObject(result);
5876 }
5877 return resultobj;
5878 fail:
5879 return NULL;
5880 }
5881
5882
5883 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
5884 PyObject *resultobj;
5885 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5886 int result;
5887 PyObject * obj0 = 0 ;
5888 char *kwnames[] = {
5889 (char *) "self", NULL
5890 };
5891
5892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
5893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5894 {
5895 PyThreadState* __tstate = wxPyBeginAllowThreads();
5896 result = (int)((wxSplitterEvent const *)arg1)->GetX();
5897
5898 wxPyEndAllowThreads(__tstate);
5899 if (PyErr_Occurred()) SWIG_fail;
5900 }
5901 resultobj = PyInt_FromLong((long)result);
5902 return resultobj;
5903 fail:
5904 return NULL;
5905 }
5906
5907
5908 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
5909 PyObject *resultobj;
5910 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5911 int result;
5912 PyObject * obj0 = 0 ;
5913 char *kwnames[] = {
5914 (char *) "self", NULL
5915 };
5916
5917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
5918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5919 {
5920 PyThreadState* __tstate = wxPyBeginAllowThreads();
5921 result = (int)((wxSplitterEvent const *)arg1)->GetY();
5922
5923 wxPyEndAllowThreads(__tstate);
5924 if (PyErr_Occurred()) SWIG_fail;
5925 }
5926 resultobj = PyInt_FromLong((long)result);
5927 return resultobj;
5928 fail:
5929 return NULL;
5930 }
5931
5932
5933 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
5934 PyObject *obj;
5935 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5936 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
5937 Py_INCREF(obj);
5938 return Py_BuildValue((char *)"");
5939 }
5940 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5941 PyObject *resultobj;
5942 wxWindow *arg1 = (wxWindow *) 0 ;
5943 int arg2 ;
5944 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5945 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5946 wxSize const &arg4_defvalue = wxDefaultSize ;
5947 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5948 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
5949 wxString const &arg6_defvalue = wxPySashNameStr ;
5950 wxString *arg6 = (wxString *) &arg6_defvalue ;
5951 wxSashWindow *result;
5952 wxPoint temp3 ;
5953 wxSize temp4 ;
5954 bool temp6 = False ;
5955 PyObject * obj0 = 0 ;
5956 PyObject * obj2 = 0 ;
5957 PyObject * obj3 = 0 ;
5958 PyObject * obj5 = 0 ;
5959 char *kwnames[] = {
5960 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5961 };
5962
5963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
5964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5965 if (obj2) {
5966 {
5967 arg3 = &temp3;
5968 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5969 }
5970 }
5971 if (obj3) {
5972 {
5973 arg4 = &temp4;
5974 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5975 }
5976 }
5977 if (obj5) {
5978 {
5979 arg6 = wxString_in_helper(obj5);
5980 if (arg6 == NULL) SWIG_fail;
5981 temp6 = True;
5982 }
5983 }
5984 {
5985 PyThreadState* __tstate = wxPyBeginAllowThreads();
5986 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5987
5988 wxPyEndAllowThreads(__tstate);
5989 if (PyErr_Occurred()) SWIG_fail;
5990 }
5991 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
5992 {
5993 if (temp6)
5994 delete arg6;
5995 }
5996 return resultobj;
5997 fail:
5998 {
5999 if (temp6)
6000 delete arg6;
6001 }
6002 return NULL;
6003 }
6004
6005
6006 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6007 PyObject *resultobj;
6008 wxSashWindow *result;
6009 char *kwnames[] = {
6010 NULL
6011 };
6012
6013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6014 {
6015 PyThreadState* __tstate = wxPyBeginAllowThreads();
6016 result = (wxSashWindow *)new wxSashWindow();
6017
6018 wxPyEndAllowThreads(__tstate);
6019 if (PyErr_Occurred()) SWIG_fail;
6020 }
6021 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
6022 return resultobj;
6023 fail:
6024 return NULL;
6025 }
6026
6027
6028 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6029 PyObject *resultobj;
6030 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6031 wxWindow *arg2 = (wxWindow *) 0 ;
6032 int arg3 ;
6033 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6034 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6035 wxSize const &arg5_defvalue = wxDefaultSize ;
6036 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6037 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6038 wxString const &arg7_defvalue = wxPySashNameStr ;
6039 wxString *arg7 = (wxString *) &arg7_defvalue ;
6040 bool result;
6041 wxPoint temp4 ;
6042 wxSize temp5 ;
6043 bool temp7 = False ;
6044 PyObject * obj0 = 0 ;
6045 PyObject * obj1 = 0 ;
6046 PyObject * obj3 = 0 ;
6047 PyObject * obj4 = 0 ;
6048 PyObject * obj6 = 0 ;
6049 char *kwnames[] = {
6050 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6051 };
6052
6053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
6054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6055 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6056 if (obj3) {
6057 {
6058 arg4 = &temp4;
6059 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6060 }
6061 }
6062 if (obj4) {
6063 {
6064 arg5 = &temp5;
6065 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6066 }
6067 }
6068 if (obj6) {
6069 {
6070 arg7 = wxString_in_helper(obj6);
6071 if (arg7 == NULL) SWIG_fail;
6072 temp7 = True;
6073 }
6074 }
6075 {
6076 PyThreadState* __tstate = wxPyBeginAllowThreads();
6077 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6078
6079 wxPyEndAllowThreads(__tstate);
6080 if (PyErr_Occurred()) SWIG_fail;
6081 }
6082 resultobj = PyInt_FromLong((long)result);
6083 {
6084 if (temp7)
6085 delete arg7;
6086 }
6087 return resultobj;
6088 fail:
6089 {
6090 if (temp7)
6091 delete arg7;
6092 }
6093 return NULL;
6094 }
6095
6096
6097 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6098 PyObject *resultobj;
6099 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6100 int arg2 ;
6101 bool arg3 ;
6102 PyObject * obj0 = 0 ;
6103 PyObject * obj2 = 0 ;
6104 char *kwnames[] = {
6105 (char *) "self",(char *) "edge",(char *) "sash", NULL
6106 };
6107
6108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashVisible",kwnames,&obj0,&arg2,&obj2)) goto fail;
6109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6110 arg3 = PyInt_AsLong(obj2) ? true : false;
6111 if (PyErr_Occurred()) SWIG_fail;
6112 {
6113 PyThreadState* __tstate = wxPyBeginAllowThreads();
6114 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6115
6116 wxPyEndAllowThreads(__tstate);
6117 if (PyErr_Occurred()) SWIG_fail;
6118 }
6119 Py_INCREF(Py_None); resultobj = Py_None;
6120 return resultobj;
6121 fail:
6122 return NULL;
6123 }
6124
6125
6126 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6127 PyObject *resultobj;
6128 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6129 int arg2 ;
6130 bool result;
6131 PyObject * obj0 = 0 ;
6132 char *kwnames[] = {
6133 (char *) "self",(char *) "edge", NULL
6134 };
6135
6136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetSashVisible",kwnames,&obj0,&arg2)) goto fail;
6137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6138 {
6139 PyThreadState* __tstate = wxPyBeginAllowThreads();
6140 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6141
6142 wxPyEndAllowThreads(__tstate);
6143 if (PyErr_Occurred()) SWIG_fail;
6144 }
6145 resultobj = PyInt_FromLong((long)result);
6146 return resultobj;
6147 fail:
6148 return NULL;
6149 }
6150
6151
6152 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6153 PyObject *resultobj;
6154 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6155 int arg2 ;
6156 bool arg3 ;
6157 PyObject * obj0 = 0 ;
6158 PyObject * obj2 = 0 ;
6159 char *kwnames[] = {
6160 (char *) "self",(char *) "edge",(char *) "border", NULL
6161 };
6162
6163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashBorder",kwnames,&obj0,&arg2,&obj2)) goto fail;
6164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6165 arg3 = PyInt_AsLong(obj2) ? true : false;
6166 if (PyErr_Occurred()) SWIG_fail;
6167 {
6168 PyThreadState* __tstate = wxPyBeginAllowThreads();
6169 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
6170
6171 wxPyEndAllowThreads(__tstate);
6172 if (PyErr_Occurred()) SWIG_fail;
6173 }
6174 Py_INCREF(Py_None); resultobj = Py_None;
6175 return resultobj;
6176 fail:
6177 return NULL;
6178 }
6179
6180
6181 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6182 PyObject *resultobj;
6183 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6184 int arg2 ;
6185 bool result;
6186 PyObject * obj0 = 0 ;
6187 char *kwnames[] = {
6188 (char *) "self",(char *) "edge", NULL
6189 };
6190
6191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_HasBorder",kwnames,&obj0,&arg2)) goto fail;
6192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6193 {
6194 PyThreadState* __tstate = wxPyBeginAllowThreads();
6195 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
6196
6197 wxPyEndAllowThreads(__tstate);
6198 if (PyErr_Occurred()) SWIG_fail;
6199 }
6200 resultobj = PyInt_FromLong((long)result);
6201 return resultobj;
6202 fail:
6203 return NULL;
6204 }
6205
6206
6207 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
6208 PyObject *resultobj;
6209 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6210 int arg2 ;
6211 int result;
6212 PyObject * obj0 = 0 ;
6213 char *kwnames[] = {
6214 (char *) "self",(char *) "edge", NULL
6215 };
6216
6217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetEdgeMargin",kwnames,&obj0,&arg2)) goto fail;
6218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6219 {
6220 PyThreadState* __tstate = wxPyBeginAllowThreads();
6221 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
6222
6223 wxPyEndAllowThreads(__tstate);
6224 if (PyErr_Occurred()) SWIG_fail;
6225 }
6226 resultobj = PyInt_FromLong((long)result);
6227 return resultobj;
6228 fail:
6229 return NULL;
6230 }
6231
6232
6233 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6234 PyObject *resultobj;
6235 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6236 int arg2 ;
6237 PyObject * obj0 = 0 ;
6238 char *kwnames[] = {
6239 (char *) "self",(char *) "width", NULL
6240 };
6241
6242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&arg2)) goto fail;
6243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6244 {
6245 PyThreadState* __tstate = wxPyBeginAllowThreads();
6246 (arg1)->SetDefaultBorderSize(arg2);
6247
6248 wxPyEndAllowThreads(__tstate);
6249 if (PyErr_Occurred()) SWIG_fail;
6250 }
6251 Py_INCREF(Py_None); resultobj = Py_None;
6252 return resultobj;
6253 fail:
6254 return NULL;
6255 }
6256
6257
6258 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6259 PyObject *resultobj;
6260 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6261 int result;
6262 PyObject * obj0 = 0 ;
6263 char *kwnames[] = {
6264 (char *) "self", NULL
6265 };
6266
6267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
6268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6269 {
6270 PyThreadState* __tstate = wxPyBeginAllowThreads();
6271 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
6272
6273 wxPyEndAllowThreads(__tstate);
6274 if (PyErr_Occurred()) SWIG_fail;
6275 }
6276 resultobj = PyInt_FromLong((long)result);
6277 return resultobj;
6278 fail:
6279 return NULL;
6280 }
6281
6282
6283 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6284 PyObject *resultobj;
6285 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6286 int arg2 ;
6287 PyObject * obj0 = 0 ;
6288 char *kwnames[] = {
6289 (char *) "self",(char *) "width", NULL
6290 };
6291
6292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetExtraBorderSize",kwnames,&obj0,&arg2)) goto fail;
6293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6294 {
6295 PyThreadState* __tstate = wxPyBeginAllowThreads();
6296 (arg1)->SetExtraBorderSize(arg2);
6297
6298 wxPyEndAllowThreads(__tstate);
6299 if (PyErr_Occurred()) SWIG_fail;
6300 }
6301 Py_INCREF(Py_None); resultobj = Py_None;
6302 return resultobj;
6303 fail:
6304 return NULL;
6305 }
6306
6307
6308 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6309 PyObject *resultobj;
6310 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6311 int result;
6312 PyObject * obj0 = 0 ;
6313 char *kwnames[] = {
6314 (char *) "self", NULL
6315 };
6316
6317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
6318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6319 {
6320 PyThreadState* __tstate = wxPyBeginAllowThreads();
6321 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
6322
6323 wxPyEndAllowThreads(__tstate);
6324 if (PyErr_Occurred()) SWIG_fail;
6325 }
6326 resultobj = PyInt_FromLong((long)result);
6327 return resultobj;
6328 fail:
6329 return NULL;
6330 }
6331
6332
6333 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6334 PyObject *resultobj;
6335 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6336 int arg2 ;
6337 PyObject * obj0 = 0 ;
6338 char *kwnames[] = {
6339 (char *) "self",(char *) "min", NULL
6340 };
6341
6342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeX",kwnames,&obj0,&arg2)) goto fail;
6343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6344 {
6345 PyThreadState* __tstate = wxPyBeginAllowThreads();
6346 (arg1)->SetMinimumSizeX(arg2);
6347
6348 wxPyEndAllowThreads(__tstate);
6349 if (PyErr_Occurred()) SWIG_fail;
6350 }
6351 Py_INCREF(Py_None); resultobj = Py_None;
6352 return resultobj;
6353 fail:
6354 return NULL;
6355 }
6356
6357
6358 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6359 PyObject *resultobj;
6360 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6361 int arg2 ;
6362 PyObject * obj0 = 0 ;
6363 char *kwnames[] = {
6364 (char *) "self",(char *) "min", NULL
6365 };
6366
6367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeY",kwnames,&obj0,&arg2)) goto fail;
6368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6369 {
6370 PyThreadState* __tstate = wxPyBeginAllowThreads();
6371 (arg1)->SetMinimumSizeY(arg2);
6372
6373 wxPyEndAllowThreads(__tstate);
6374 if (PyErr_Occurred()) SWIG_fail;
6375 }
6376 Py_INCREF(Py_None); resultobj = Py_None;
6377 return resultobj;
6378 fail:
6379 return NULL;
6380 }
6381
6382
6383 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6384 PyObject *resultobj;
6385 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6386 int result;
6387 PyObject * obj0 = 0 ;
6388 char *kwnames[] = {
6389 (char *) "self", NULL
6390 };
6391
6392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
6393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6394 {
6395 PyThreadState* __tstate = wxPyBeginAllowThreads();
6396 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
6397
6398 wxPyEndAllowThreads(__tstate);
6399 if (PyErr_Occurred()) SWIG_fail;
6400 }
6401 resultobj = PyInt_FromLong((long)result);
6402 return resultobj;
6403 fail:
6404 return NULL;
6405 }
6406
6407
6408 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6409 PyObject *resultobj;
6410 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6411 int result;
6412 PyObject * obj0 = 0 ;
6413 char *kwnames[] = {
6414 (char *) "self", NULL
6415 };
6416
6417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
6418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6419 {
6420 PyThreadState* __tstate = wxPyBeginAllowThreads();
6421 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
6422
6423 wxPyEndAllowThreads(__tstate);
6424 if (PyErr_Occurred()) SWIG_fail;
6425 }
6426 resultobj = PyInt_FromLong((long)result);
6427 return resultobj;
6428 fail:
6429 return NULL;
6430 }
6431
6432
6433 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6434 PyObject *resultobj;
6435 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6436 int arg2 ;
6437 PyObject * obj0 = 0 ;
6438 char *kwnames[] = {
6439 (char *) "self",(char *) "max", NULL
6440 };
6441
6442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeX",kwnames,&obj0,&arg2)) goto fail;
6443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6444 {
6445 PyThreadState* __tstate = wxPyBeginAllowThreads();
6446 (arg1)->SetMaximumSizeX(arg2);
6447
6448 wxPyEndAllowThreads(__tstate);
6449 if (PyErr_Occurred()) SWIG_fail;
6450 }
6451 Py_INCREF(Py_None); resultobj = Py_None;
6452 return resultobj;
6453 fail:
6454 return NULL;
6455 }
6456
6457
6458 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6459 PyObject *resultobj;
6460 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6461 int arg2 ;
6462 PyObject * obj0 = 0 ;
6463 char *kwnames[] = {
6464 (char *) "self",(char *) "max", NULL
6465 };
6466
6467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeY",kwnames,&obj0,&arg2)) goto fail;
6468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6469 {
6470 PyThreadState* __tstate = wxPyBeginAllowThreads();
6471 (arg1)->SetMaximumSizeY(arg2);
6472
6473 wxPyEndAllowThreads(__tstate);
6474 if (PyErr_Occurred()) SWIG_fail;
6475 }
6476 Py_INCREF(Py_None); resultobj = Py_None;
6477 return resultobj;
6478 fail:
6479 return NULL;
6480 }
6481
6482
6483 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6484 PyObject *resultobj;
6485 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6486 int result;
6487 PyObject * obj0 = 0 ;
6488 char *kwnames[] = {
6489 (char *) "self", NULL
6490 };
6491
6492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
6493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6494 {
6495 PyThreadState* __tstate = wxPyBeginAllowThreads();
6496 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
6497
6498 wxPyEndAllowThreads(__tstate);
6499 if (PyErr_Occurred()) SWIG_fail;
6500 }
6501 resultobj = PyInt_FromLong((long)result);
6502 return resultobj;
6503 fail:
6504 return NULL;
6505 }
6506
6507
6508 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6509 PyObject *resultobj;
6510 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6511 int result;
6512 PyObject * obj0 = 0 ;
6513 char *kwnames[] = {
6514 (char *) "self", NULL
6515 };
6516
6517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
6518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6519 {
6520 PyThreadState* __tstate = wxPyBeginAllowThreads();
6521 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
6522
6523 wxPyEndAllowThreads(__tstate);
6524 if (PyErr_Occurred()) SWIG_fail;
6525 }
6526 resultobj = PyInt_FromLong((long)result);
6527 return resultobj;
6528 fail:
6529 return NULL;
6530 }
6531
6532
6533 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6534 PyObject *resultobj;
6535 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6536 int arg2 ;
6537 int arg3 ;
6538 int arg4 = (int) 2 ;
6539 int result;
6540 PyObject * obj0 = 0 ;
6541 char *kwnames[] = {
6542 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6543 };
6544
6545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SashWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
6546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6547 {
6548 PyThreadState* __tstate = wxPyBeginAllowThreads();
6549 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
6550
6551 wxPyEndAllowThreads(__tstate);
6552 if (PyErr_Occurred()) SWIG_fail;
6553 }
6554 resultobj = PyInt_FromLong((long)result);
6555 return resultobj;
6556 fail:
6557 return NULL;
6558 }
6559
6560
6561 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6562 PyObject *resultobj;
6563 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6564 PyObject * obj0 = 0 ;
6565 char *kwnames[] = {
6566 (char *) "self", NULL
6567 };
6568
6569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
6570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6571 {
6572 PyThreadState* __tstate = wxPyBeginAllowThreads();
6573 (arg1)->SizeWindows();
6574
6575 wxPyEndAllowThreads(__tstate);
6576 if (PyErr_Occurred()) SWIG_fail;
6577 }
6578 Py_INCREF(Py_None); resultobj = Py_None;
6579 return resultobj;
6580 fail:
6581 return NULL;
6582 }
6583
6584
6585 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
6586 PyObject *obj;
6587 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6588 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
6589 Py_INCREF(obj);
6590 return Py_BuildValue((char *)"");
6591 }
6592 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6593 PyObject *resultobj;
6594 int arg1 = (int) 0 ;
6595 int arg2 = (int) wxSASH_NONE ;
6596 wxSashEvent *result;
6597 char *kwnames[] = {
6598 (char *) "id",(char *) "edge", NULL
6599 };
6600
6601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_SashEvent",kwnames,&arg1,&arg2)) goto fail;
6602 {
6603 PyThreadState* __tstate = wxPyBeginAllowThreads();
6604 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
6605
6606 wxPyEndAllowThreads(__tstate);
6607 if (PyErr_Occurred()) SWIG_fail;
6608 }
6609 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashEvent, 1);
6610 return resultobj;
6611 fail:
6612 return NULL;
6613 }
6614
6615
6616 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6617 PyObject *resultobj;
6618 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6619 int arg2 ;
6620 PyObject * obj0 = 0 ;
6621 char *kwnames[] = {
6622 (char *) "self",(char *) "edge", NULL
6623 };
6624
6625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetEdge",kwnames,&obj0,&arg2)) goto fail;
6626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6627 {
6628 PyThreadState* __tstate = wxPyBeginAllowThreads();
6629 (arg1)->SetEdge((wxSashEdgePosition )arg2);
6630
6631 wxPyEndAllowThreads(__tstate);
6632 if (PyErr_Occurred()) SWIG_fail;
6633 }
6634 Py_INCREF(Py_None); resultobj = Py_None;
6635 return resultobj;
6636 fail:
6637 return NULL;
6638 }
6639
6640
6641 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6642 PyObject *resultobj;
6643 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6644 int result;
6645 PyObject * obj0 = 0 ;
6646 char *kwnames[] = {
6647 (char *) "self", NULL
6648 };
6649
6650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
6651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6652 {
6653 PyThreadState* __tstate = wxPyBeginAllowThreads();
6654 result = (int)((wxSashEvent const *)arg1)->GetEdge();
6655
6656 wxPyEndAllowThreads(__tstate);
6657 if (PyErr_Occurred()) SWIG_fail;
6658 }
6659 resultobj = PyInt_FromLong((long)result);
6660 return resultobj;
6661 fail:
6662 return NULL;
6663 }
6664
6665
6666 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6667 PyObject *resultobj;
6668 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6669 wxRect *arg2 = 0 ;
6670 wxRect temp2 ;
6671 PyObject * obj0 = 0 ;
6672 PyObject * obj1 = 0 ;
6673 char *kwnames[] = {
6674 (char *) "self",(char *) "rect", NULL
6675 };
6676
6677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
6678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6679 {
6680 arg2 = &temp2;
6681 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6682 }
6683 {
6684 PyThreadState* __tstate = wxPyBeginAllowThreads();
6685 (arg1)->SetDragRect((wxRect const &)*arg2);
6686
6687 wxPyEndAllowThreads(__tstate);
6688 if (PyErr_Occurred()) SWIG_fail;
6689 }
6690 Py_INCREF(Py_None); resultobj = Py_None;
6691 return resultobj;
6692 fail:
6693 return NULL;
6694 }
6695
6696
6697 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6698 PyObject *resultobj;
6699 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6700 wxRect result;
6701 PyObject * obj0 = 0 ;
6702 char *kwnames[] = {
6703 (char *) "self", NULL
6704 };
6705
6706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
6707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6708 {
6709 PyThreadState* __tstate = wxPyBeginAllowThreads();
6710 result = ((wxSashEvent const *)arg1)->GetDragRect();
6711
6712 wxPyEndAllowThreads(__tstate);
6713 if (PyErr_Occurred()) SWIG_fail;
6714 }
6715 {
6716 wxRect * resultptr;
6717 resultptr = new wxRect((wxRect &) result);
6718 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
6719 }
6720 return resultobj;
6721 fail:
6722 return NULL;
6723 }
6724
6725
6726 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6727 PyObject *resultobj;
6728 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6729 int arg2 ;
6730 PyObject * obj0 = 0 ;
6731 char *kwnames[] = {
6732 (char *) "self",(char *) "status", NULL
6733 };
6734
6735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetDragStatus",kwnames,&obj0,&arg2)) goto fail;
6736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6737 {
6738 PyThreadState* __tstate = wxPyBeginAllowThreads();
6739 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
6740
6741 wxPyEndAllowThreads(__tstate);
6742 if (PyErr_Occurred()) SWIG_fail;
6743 }
6744 Py_INCREF(Py_None); resultobj = Py_None;
6745 return resultobj;
6746 fail:
6747 return NULL;
6748 }
6749
6750
6751 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6752 PyObject *resultobj;
6753 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6754 int result;
6755 PyObject * obj0 = 0 ;
6756 char *kwnames[] = {
6757 (char *) "self", NULL
6758 };
6759
6760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
6761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6762 {
6763 PyThreadState* __tstate = wxPyBeginAllowThreads();
6764 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
6765
6766 wxPyEndAllowThreads(__tstate);
6767 if (PyErr_Occurred()) SWIG_fail;
6768 }
6769 resultobj = PyInt_FromLong((long)result);
6770 return resultobj;
6771 fail:
6772 return NULL;
6773 }
6774
6775
6776 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
6777 PyObject *obj;
6778 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6779 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
6780 Py_INCREF(obj);
6781 return Py_BuildValue((char *)"");
6782 }
6783 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6784 PyObject *resultobj;
6785 int arg1 = (int) 0 ;
6786 wxQueryLayoutInfoEvent *result;
6787 char *kwnames[] = {
6788 (char *) "id", NULL
6789 };
6790
6791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_QueryLayoutInfoEvent",kwnames,&arg1)) goto fail;
6792 {
6793 PyThreadState* __tstate = wxPyBeginAllowThreads();
6794 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
6795
6796 wxPyEndAllowThreads(__tstate);
6797 if (PyErr_Occurred()) SWIG_fail;
6798 }
6799 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
6800 return resultobj;
6801 fail:
6802 return NULL;
6803 }
6804
6805
6806 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6807 PyObject *resultobj;
6808 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6809 int arg2 ;
6810 PyObject * obj0 = 0 ;
6811 char *kwnames[] = {
6812 (char *) "self",(char *) "length", NULL
6813 };
6814
6815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&arg2)) goto fail;
6816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6817 {
6818 PyThreadState* __tstate = wxPyBeginAllowThreads();
6819 (arg1)->SetRequestedLength(arg2);
6820
6821 wxPyEndAllowThreads(__tstate);
6822 if (PyErr_Occurred()) SWIG_fail;
6823 }
6824 Py_INCREF(Py_None); resultobj = Py_None;
6825 return resultobj;
6826 fail:
6827 return NULL;
6828 }
6829
6830
6831 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6832 PyObject *resultobj;
6833 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6834 int result;
6835 PyObject * obj0 = 0 ;
6836 char *kwnames[] = {
6837 (char *) "self", NULL
6838 };
6839
6840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
6841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6842 {
6843 PyThreadState* __tstate = wxPyBeginAllowThreads();
6844 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
6845
6846 wxPyEndAllowThreads(__tstate);
6847 if (PyErr_Occurred()) SWIG_fail;
6848 }
6849 resultobj = PyInt_FromLong((long)result);
6850 return resultobj;
6851 fail:
6852 return NULL;
6853 }
6854
6855
6856 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6857 PyObject *resultobj;
6858 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6859 int arg2 ;
6860 PyObject * obj0 = 0 ;
6861 char *kwnames[] = {
6862 (char *) "self",(char *) "flags", NULL
6863 };
6864
6865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6867 {
6868 PyThreadState* __tstate = wxPyBeginAllowThreads();
6869 (arg1)->SetFlags(arg2);
6870
6871 wxPyEndAllowThreads(__tstate);
6872 if (PyErr_Occurred()) SWIG_fail;
6873 }
6874 Py_INCREF(Py_None); resultobj = Py_None;
6875 return resultobj;
6876 fail:
6877 return NULL;
6878 }
6879
6880
6881 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6882 PyObject *resultobj;
6883 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6884 int result;
6885 PyObject * obj0 = 0 ;
6886 char *kwnames[] = {
6887 (char *) "self", NULL
6888 };
6889
6890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
6891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6892 {
6893 PyThreadState* __tstate = wxPyBeginAllowThreads();
6894 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
6895
6896 wxPyEndAllowThreads(__tstate);
6897 if (PyErr_Occurred()) SWIG_fail;
6898 }
6899 resultobj = PyInt_FromLong((long)result);
6900 return resultobj;
6901 fail:
6902 return NULL;
6903 }
6904
6905
6906 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6907 PyObject *resultobj;
6908 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6909 wxSize *arg2 = 0 ;
6910 wxSize temp2 ;
6911 PyObject * obj0 = 0 ;
6912 PyObject * obj1 = 0 ;
6913 char *kwnames[] = {
6914 (char *) "self",(char *) "size", NULL
6915 };
6916
6917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
6918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6919 {
6920 arg2 = &temp2;
6921 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
6922 }
6923 {
6924 PyThreadState* __tstate = wxPyBeginAllowThreads();
6925 (arg1)->SetSize((wxSize const &)*arg2);
6926
6927 wxPyEndAllowThreads(__tstate);
6928 if (PyErr_Occurred()) SWIG_fail;
6929 }
6930 Py_INCREF(Py_None); resultobj = Py_None;
6931 return resultobj;
6932 fail:
6933 return NULL;
6934 }
6935
6936
6937 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6938 PyObject *resultobj;
6939 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6940 wxSize result;
6941 PyObject * obj0 = 0 ;
6942 char *kwnames[] = {
6943 (char *) "self", NULL
6944 };
6945
6946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
6947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6948 {
6949 PyThreadState* __tstate = wxPyBeginAllowThreads();
6950 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
6951
6952 wxPyEndAllowThreads(__tstate);
6953 if (PyErr_Occurred()) SWIG_fail;
6954 }
6955 {
6956 wxSize * resultptr;
6957 resultptr = new wxSize((wxSize &) result);
6958 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
6959 }
6960 return resultobj;
6961 fail:
6962 return NULL;
6963 }
6964
6965
6966 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6967 PyObject *resultobj;
6968 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6969 int arg2 ;
6970 PyObject * obj0 = 0 ;
6971 char *kwnames[] = {
6972 (char *) "self",(char *) "orient", NULL
6973 };
6974
6975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
6976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6977 {
6978 PyThreadState* __tstate = wxPyBeginAllowThreads();
6979 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
6980
6981 wxPyEndAllowThreads(__tstate);
6982 if (PyErr_Occurred()) SWIG_fail;
6983 }
6984 Py_INCREF(Py_None); resultobj = Py_None;
6985 return resultobj;
6986 fail:
6987 return NULL;
6988 }
6989
6990
6991 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6992 PyObject *resultobj;
6993 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6994 int result;
6995 PyObject * obj0 = 0 ;
6996 char *kwnames[] = {
6997 (char *) "self", NULL
6998 };
6999
7000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
7001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7002 {
7003 PyThreadState* __tstate = wxPyBeginAllowThreads();
7004 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
7005
7006 wxPyEndAllowThreads(__tstate);
7007 if (PyErr_Occurred()) SWIG_fail;
7008 }
7009 resultobj = PyInt_FromLong((long)result);
7010 return resultobj;
7011 fail:
7012 return NULL;
7013 }
7014
7015
7016 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7017 PyObject *resultobj;
7018 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7019 int arg2 ;
7020 PyObject * obj0 = 0 ;
7021 char *kwnames[] = {
7022 (char *) "self",(char *) "align", NULL
7023 };
7024
7025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
7026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7027 {
7028 PyThreadState* __tstate = wxPyBeginAllowThreads();
7029 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7030
7031 wxPyEndAllowThreads(__tstate);
7032 if (PyErr_Occurred()) SWIG_fail;
7033 }
7034 Py_INCREF(Py_None); resultobj = Py_None;
7035 return resultobj;
7036 fail:
7037 return NULL;
7038 }
7039
7040
7041 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7042 PyObject *resultobj;
7043 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7044 int result;
7045 PyObject * obj0 = 0 ;
7046 char *kwnames[] = {
7047 (char *) "self", NULL
7048 };
7049
7050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
7051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7052 {
7053 PyThreadState* __tstate = wxPyBeginAllowThreads();
7054 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
7055
7056 wxPyEndAllowThreads(__tstate);
7057 if (PyErr_Occurred()) SWIG_fail;
7058 }
7059 resultobj = PyInt_FromLong((long)result);
7060 return resultobj;
7061 fail:
7062 return NULL;
7063 }
7064
7065
7066 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
7067 PyObject *obj;
7068 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7069 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
7070 Py_INCREF(obj);
7071 return Py_BuildValue((char *)"");
7072 }
7073 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7074 PyObject *resultobj;
7075 int arg1 = (int) 0 ;
7076 wxCalculateLayoutEvent *result;
7077 char *kwnames[] = {
7078 (char *) "id", NULL
7079 };
7080
7081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_CalculateLayoutEvent",kwnames,&arg1)) goto fail;
7082 {
7083 PyThreadState* __tstate = wxPyBeginAllowThreads();
7084 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
7085
7086 wxPyEndAllowThreads(__tstate);
7087 if (PyErr_Occurred()) SWIG_fail;
7088 }
7089 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCalculateLayoutEvent, 1);
7090 return resultobj;
7091 fail:
7092 return NULL;
7093 }
7094
7095
7096 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7097 PyObject *resultobj;
7098 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7099 int arg2 ;
7100 PyObject * obj0 = 0 ;
7101 char *kwnames[] = {
7102 (char *) "self",(char *) "flags", NULL
7103 };
7104
7105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
7106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7107 {
7108 PyThreadState* __tstate = wxPyBeginAllowThreads();
7109 (arg1)->SetFlags(arg2);
7110
7111 wxPyEndAllowThreads(__tstate);
7112 if (PyErr_Occurred()) SWIG_fail;
7113 }
7114 Py_INCREF(Py_None); resultobj = Py_None;
7115 return resultobj;
7116 fail:
7117 return NULL;
7118 }
7119
7120
7121 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7122 PyObject *resultobj;
7123 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7124 int result;
7125 PyObject * obj0 = 0 ;
7126 char *kwnames[] = {
7127 (char *) "self", NULL
7128 };
7129
7130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
7131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7132 {
7133 PyThreadState* __tstate = wxPyBeginAllowThreads();
7134 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
7135
7136 wxPyEndAllowThreads(__tstate);
7137 if (PyErr_Occurred()) SWIG_fail;
7138 }
7139 resultobj = PyInt_FromLong((long)result);
7140 return resultobj;
7141 fail:
7142 return NULL;
7143 }
7144
7145
7146 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7147 PyObject *resultobj;
7148 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7149 wxRect *arg2 = 0 ;
7150 wxRect temp2 ;
7151 PyObject * obj0 = 0 ;
7152 PyObject * obj1 = 0 ;
7153 char *kwnames[] = {
7154 (char *) "self",(char *) "rect", NULL
7155 };
7156
7157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
7158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7159 {
7160 arg2 = &temp2;
7161 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7162 }
7163 {
7164 PyThreadState* __tstate = wxPyBeginAllowThreads();
7165 (arg1)->SetRect((wxRect const &)*arg2);
7166
7167 wxPyEndAllowThreads(__tstate);
7168 if (PyErr_Occurred()) SWIG_fail;
7169 }
7170 Py_INCREF(Py_None); resultobj = Py_None;
7171 return resultobj;
7172 fail:
7173 return NULL;
7174 }
7175
7176
7177 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7178 PyObject *resultobj;
7179 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7180 wxRect result;
7181 PyObject * obj0 = 0 ;
7182 char *kwnames[] = {
7183 (char *) "self", NULL
7184 };
7185
7186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
7187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7188 {
7189 PyThreadState* __tstate = wxPyBeginAllowThreads();
7190 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
7191
7192 wxPyEndAllowThreads(__tstate);
7193 if (PyErr_Occurred()) SWIG_fail;
7194 }
7195 {
7196 wxRect * resultptr;
7197 resultptr = new wxRect((wxRect &) result);
7198 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
7199 }
7200 return resultobj;
7201 fail:
7202 return NULL;
7203 }
7204
7205
7206 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
7207 PyObject *obj;
7208 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7209 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
7210 Py_INCREF(obj);
7211 return Py_BuildValue((char *)"");
7212 }
7213 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7214 PyObject *resultobj;
7215 wxWindow *arg1 = (wxWindow *) 0 ;
7216 int arg2 ;
7217 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7218 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7219 wxSize const &arg4_defvalue = wxDefaultSize ;
7220 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7221 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7222 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
7223 wxString *arg6 = (wxString *) &arg6_defvalue ;
7224 wxSashLayoutWindow *result;
7225 wxPoint temp3 ;
7226 wxSize temp4 ;
7227 bool temp6 = False ;
7228 PyObject * obj0 = 0 ;
7229 PyObject * obj2 = 0 ;
7230 PyObject * obj3 = 0 ;
7231 PyObject * obj5 = 0 ;
7232 char *kwnames[] = {
7233 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7234 };
7235
7236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashLayoutWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
7237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7238 if (obj2) {
7239 {
7240 arg3 = &temp3;
7241 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7242 }
7243 }
7244 if (obj3) {
7245 {
7246 arg4 = &temp4;
7247 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7248 }
7249 }
7250 if (obj5) {
7251 {
7252 arg6 = wxString_in_helper(obj5);
7253 if (arg6 == NULL) SWIG_fail;
7254 temp6 = True;
7255 }
7256 }
7257 {
7258 PyThreadState* __tstate = wxPyBeginAllowThreads();
7259 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7260
7261 wxPyEndAllowThreads(__tstate);
7262 if (PyErr_Occurred()) SWIG_fail;
7263 }
7264 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
7265 {
7266 if (temp6)
7267 delete arg6;
7268 }
7269 return resultobj;
7270 fail:
7271 {
7272 if (temp6)
7273 delete arg6;
7274 }
7275 return NULL;
7276 }
7277
7278
7279 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7280 PyObject *resultobj;
7281 wxSashLayoutWindow *result;
7282 char *kwnames[] = {
7283 NULL
7284 };
7285
7286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
7287 {
7288 PyThreadState* __tstate = wxPyBeginAllowThreads();
7289 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
7290
7291 wxPyEndAllowThreads(__tstate);
7292 if (PyErr_Occurred()) SWIG_fail;
7293 }
7294 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
7295 return resultobj;
7296 fail:
7297 return NULL;
7298 }
7299
7300
7301 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7302 PyObject *resultobj;
7303 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7304 wxWindow *arg2 = (wxWindow *) 0 ;
7305 int arg3 ;
7306 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7307 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7308 wxSize const &arg5_defvalue = wxDefaultSize ;
7309 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7310 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7311 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
7312 wxString *arg7 = (wxString *) &arg7_defvalue ;
7313 bool result;
7314 wxPoint temp4 ;
7315 wxSize temp5 ;
7316 bool temp7 = False ;
7317 PyObject * obj0 = 0 ;
7318 PyObject * obj1 = 0 ;
7319 PyObject * obj3 = 0 ;
7320 PyObject * obj4 = 0 ;
7321 PyObject * obj6 = 0 ;
7322 char *kwnames[] = {
7323 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7324 };
7325
7326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
7327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7328 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7329 if (obj3) {
7330 {
7331 arg4 = &temp4;
7332 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7333 }
7334 }
7335 if (obj4) {
7336 {
7337 arg5 = &temp5;
7338 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7339 }
7340 }
7341 if (obj6) {
7342 {
7343 arg7 = wxString_in_helper(obj6);
7344 if (arg7 == NULL) SWIG_fail;
7345 temp7 = True;
7346 }
7347 }
7348 {
7349 PyThreadState* __tstate = wxPyBeginAllowThreads();
7350 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7351
7352 wxPyEndAllowThreads(__tstate);
7353 if (PyErr_Occurred()) SWIG_fail;
7354 }
7355 resultobj = PyInt_FromLong((long)result);
7356 {
7357 if (temp7)
7358 delete arg7;
7359 }
7360 return resultobj;
7361 fail:
7362 {
7363 if (temp7)
7364 delete arg7;
7365 }
7366 return NULL;
7367 }
7368
7369
7370 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7371 PyObject *resultobj;
7372 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7373 int result;
7374 PyObject * obj0 = 0 ;
7375 char *kwnames[] = {
7376 (char *) "self", NULL
7377 };
7378
7379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
7380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7381 {
7382 PyThreadState* __tstate = wxPyBeginAllowThreads();
7383 result = (int)(arg1)->GetAlignment();
7384
7385 wxPyEndAllowThreads(__tstate);
7386 if (PyErr_Occurred()) SWIG_fail;
7387 }
7388 resultobj = PyInt_FromLong((long)result);
7389 return resultobj;
7390 fail:
7391 return NULL;
7392 }
7393
7394
7395 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7396 PyObject *resultobj;
7397 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7398 int result;
7399 PyObject * obj0 = 0 ;
7400 char *kwnames[] = {
7401 (char *) "self", NULL
7402 };
7403
7404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
7405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7406 {
7407 PyThreadState* __tstate = wxPyBeginAllowThreads();
7408 result = (int)(arg1)->GetOrientation();
7409
7410 wxPyEndAllowThreads(__tstate);
7411 if (PyErr_Occurred()) SWIG_fail;
7412 }
7413 resultobj = PyInt_FromLong((long)result);
7414 return resultobj;
7415 fail:
7416 return NULL;
7417 }
7418
7419
7420 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7421 PyObject *resultobj;
7422 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7423 int arg2 ;
7424 PyObject * obj0 = 0 ;
7425 char *kwnames[] = {
7426 (char *) "self",(char *) "alignment", NULL
7427 };
7428
7429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
7430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7431 {
7432 PyThreadState* __tstate = wxPyBeginAllowThreads();
7433 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7434
7435 wxPyEndAllowThreads(__tstate);
7436 if (PyErr_Occurred()) SWIG_fail;
7437 }
7438 Py_INCREF(Py_None); resultobj = Py_None;
7439 return resultobj;
7440 fail:
7441 return NULL;
7442 }
7443
7444
7445 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7446 PyObject *resultobj;
7447 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7448 wxSize *arg2 = 0 ;
7449 wxSize temp2 ;
7450 PyObject * obj0 = 0 ;
7451 PyObject * obj1 = 0 ;
7452 char *kwnames[] = {
7453 (char *) "self",(char *) "size", NULL
7454 };
7455
7456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
7457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7458 {
7459 arg2 = &temp2;
7460 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7461 }
7462 {
7463 PyThreadState* __tstate = wxPyBeginAllowThreads();
7464 (arg1)->SetDefaultSize((wxSize const &)*arg2);
7465
7466 wxPyEndAllowThreads(__tstate);
7467 if (PyErr_Occurred()) SWIG_fail;
7468 }
7469 Py_INCREF(Py_None); resultobj = Py_None;
7470 return resultobj;
7471 fail:
7472 return NULL;
7473 }
7474
7475
7476 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7477 PyObject *resultobj;
7478 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7479 int arg2 ;
7480 PyObject * obj0 = 0 ;
7481 char *kwnames[] = {
7482 (char *) "self",(char *) "orientation", NULL
7483 };
7484
7485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
7486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7487 {
7488 PyThreadState* __tstate = wxPyBeginAllowThreads();
7489 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7490
7491 wxPyEndAllowThreads(__tstate);
7492 if (PyErr_Occurred()) SWIG_fail;
7493 }
7494 Py_INCREF(Py_None); resultobj = Py_None;
7495 return resultobj;
7496 fail:
7497 return NULL;
7498 }
7499
7500
7501 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
7502 PyObject *obj;
7503 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7504 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
7505 Py_INCREF(obj);
7506 return Py_BuildValue((char *)"");
7507 }
7508 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7509 PyObject *resultobj;
7510 wxLayoutAlgorithm *result;
7511 char *kwnames[] = {
7512 NULL
7513 };
7514
7515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
7516 {
7517 PyThreadState* __tstate = wxPyBeginAllowThreads();
7518 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
7519
7520 wxPyEndAllowThreads(__tstate);
7521 if (PyErr_Occurred()) SWIG_fail;
7522 }
7523 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutAlgorithm, 1);
7524 return resultobj;
7525 fail:
7526 return NULL;
7527 }
7528
7529
7530 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7531 PyObject *resultobj;
7532 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7533 PyObject * obj0 = 0 ;
7534 char *kwnames[] = {
7535 (char *) "self", NULL
7536 };
7537
7538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
7539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7540 {
7541 PyThreadState* __tstate = wxPyBeginAllowThreads();
7542 delete arg1;
7543
7544 wxPyEndAllowThreads(__tstate);
7545 if (PyErr_Occurred()) SWIG_fail;
7546 }
7547 Py_INCREF(Py_None); resultobj = Py_None;
7548 return resultobj;
7549 fail:
7550 return NULL;
7551 }
7552
7553
7554 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7555 PyObject *resultobj;
7556 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7557 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
7558 wxRect *arg3 = (wxRect *) NULL ;
7559 bool result;
7560 PyObject * obj0 = 0 ;
7561 PyObject * obj1 = 0 ;
7562 PyObject * obj2 = 0 ;
7563 char *kwnames[] = {
7564 (char *) "self",(char *) "frame",(char *) "rect", NULL
7565 };
7566
7567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7569 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7570 if (obj2) {
7571 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7572 }
7573 {
7574 PyThreadState* __tstate = wxPyBeginAllowThreads();
7575 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
7576
7577 wxPyEndAllowThreads(__tstate);
7578 if (PyErr_Occurred()) SWIG_fail;
7579 }
7580 resultobj = PyInt_FromLong((long)result);
7581 return resultobj;
7582 fail:
7583 return NULL;
7584 }
7585
7586
7587 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7588 PyObject *resultobj;
7589 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7590 wxFrame *arg2 = (wxFrame *) 0 ;
7591 wxWindow *arg3 = (wxWindow *) NULL ;
7592 bool result;
7593 PyObject * obj0 = 0 ;
7594 PyObject * obj1 = 0 ;
7595 PyObject * obj2 = 0 ;
7596 char *kwnames[] = {
7597 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
7598 };
7599
7600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7602 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7603 if (obj2) {
7604 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7605 }
7606 {
7607 PyThreadState* __tstate = wxPyBeginAllowThreads();
7608 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
7609
7610 wxPyEndAllowThreads(__tstate);
7611 if (PyErr_Occurred()) SWIG_fail;
7612 }
7613 resultobj = PyInt_FromLong((long)result);
7614 return resultobj;
7615 fail:
7616 return NULL;
7617 }
7618
7619
7620 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7621 PyObject *resultobj;
7622 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7623 wxWindow *arg2 = (wxWindow *) 0 ;
7624 wxWindow *arg3 = (wxWindow *) NULL ;
7625 bool result;
7626 PyObject * obj0 = 0 ;
7627 PyObject * obj1 = 0 ;
7628 PyObject * obj2 = 0 ;
7629 char *kwnames[] = {
7630 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
7631 };
7632
7633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
7634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7635 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7636 if (obj2) {
7637 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7638 }
7639 {
7640 PyThreadState* __tstate = wxPyBeginAllowThreads();
7641 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
7642
7643 wxPyEndAllowThreads(__tstate);
7644 if (PyErr_Occurred()) SWIG_fail;
7645 }
7646 resultobj = PyInt_FromLong((long)result);
7647 return resultobj;
7648 fail:
7649 return NULL;
7650 }
7651
7652
7653 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
7654 PyObject *obj;
7655 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7656 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
7657 Py_INCREF(obj);
7658 return Py_BuildValue((char *)"");
7659 }
7660 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7661 PyObject *resultobj;
7662 wxWindow *arg1 = (wxWindow *) 0 ;
7663 int arg2 = (int) wxBORDER_NONE ;
7664 wxPopupWindow *result;
7665 PyObject * obj0 = 0 ;
7666 char *kwnames[] = {
7667 (char *) "parent",(char *) "flags", NULL
7668 };
7669
7670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupWindow",kwnames,&obj0,&arg2)) goto fail;
7671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7672 {
7673 PyThreadState* __tstate = wxPyBeginAllowThreads();
7674 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
7675
7676 wxPyEndAllowThreads(__tstate);
7677 if (PyErr_Occurred()) SWIG_fail;
7678 }
7679 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7680 return resultobj;
7681 fail:
7682 return NULL;
7683 }
7684
7685
7686 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7687 PyObject *resultobj;
7688 wxPopupWindow *result;
7689 char *kwnames[] = {
7690 NULL
7691 };
7692
7693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
7694 {
7695 PyThreadState* __tstate = wxPyBeginAllowThreads();
7696 result = (wxPopupWindow *)new wxPopupWindow();
7697
7698 wxPyEndAllowThreads(__tstate);
7699 if (PyErr_Occurred()) SWIG_fail;
7700 }
7701 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7702 return resultobj;
7703 fail:
7704 return NULL;
7705 }
7706
7707
7708 static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7709 PyObject *resultobj;
7710 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
7711 wxWindow *arg2 = (wxWindow *) 0 ;
7712 int arg3 = (int) wxBORDER_NONE ;
7713 bool result;
7714 PyObject * obj0 = 0 ;
7715 PyObject * obj1 = 0 ;
7716 char *kwnames[] = {
7717 (char *) "self",(char *) "parent",(char *) "flags", NULL
7718 };
7719
7720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:PopupWindow_Create",kwnames,&obj0,&obj1,&arg3)) goto fail;
7721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7722 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7723 {
7724 PyThreadState* __tstate = wxPyBeginAllowThreads();
7725 result = (bool)(arg1)->Create(arg2,arg3);
7726
7727 wxPyEndAllowThreads(__tstate);
7728 if (PyErr_Occurred()) SWIG_fail;
7729 }
7730 resultobj = PyInt_FromLong((long)result);
7731 return resultobj;
7732 fail:
7733 return NULL;
7734 }
7735
7736
7737 static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
7738 PyObject *resultobj;
7739 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
7740 wxPoint *arg2 = 0 ;
7741 wxSize *arg3 = 0 ;
7742 wxPoint temp2 ;
7743 wxSize temp3 ;
7744 PyObject * obj0 = 0 ;
7745 PyObject * obj1 = 0 ;
7746 PyObject * obj2 = 0 ;
7747 char *kwnames[] = {
7748 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
7749 };
7750
7751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
7752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7753 {
7754 arg2 = &temp2;
7755 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7756 }
7757 {
7758 arg3 = &temp3;
7759 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
7760 }
7761 {
7762 PyThreadState* __tstate = wxPyBeginAllowThreads();
7763 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
7764
7765 wxPyEndAllowThreads(__tstate);
7766 if (PyErr_Occurred()) SWIG_fail;
7767 }
7768 Py_INCREF(Py_None); resultobj = Py_None;
7769 return resultobj;
7770 fail:
7771 return NULL;
7772 }
7773
7774
7775 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
7776 PyObject *obj;
7777 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7778 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
7779 Py_INCREF(obj);
7780 return Py_BuildValue((char *)"");
7781 }
7782 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7783 PyObject *resultobj;
7784 wxWindow *arg1 = (wxWindow *) 0 ;
7785 int arg2 = (int) wxBORDER_NONE ;
7786 wxPyPopupTransientWindow *result;
7787 PyObject * obj0 = 0 ;
7788 char *kwnames[] = {
7789 (char *) "parent",(char *) "style", NULL
7790 };
7791
7792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupTransientWindow",kwnames,&obj0,&arg2)) goto fail;
7793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7794 {
7795 PyThreadState* __tstate = wxPyBeginAllowThreads();
7796 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
7797
7798 wxPyEndAllowThreads(__tstate);
7799 if (PyErr_Occurred()) SWIG_fail;
7800 }
7801 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7802 return resultobj;
7803 fail:
7804 return NULL;
7805 }
7806
7807
7808 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7809 PyObject *resultobj;
7810 wxPyPopupTransientWindow *result;
7811 char *kwnames[] = {
7812 NULL
7813 };
7814
7815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
7816 {
7817 PyThreadState* __tstate = wxPyBeginAllowThreads();
7818 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
7819
7820 wxPyEndAllowThreads(__tstate);
7821 if (PyErr_Occurred()) SWIG_fail;
7822 }
7823 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7824 return resultobj;
7825 fail:
7826 return NULL;
7827 }
7828
7829
7830 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7831 PyObject *resultobj;
7832 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7833 PyObject *arg2 = (PyObject *) 0 ;
7834 PyObject *arg3 = (PyObject *) 0 ;
7835 PyObject * obj0 = 0 ;
7836 PyObject * obj1 = 0 ;
7837 PyObject * obj2 = 0 ;
7838 char *kwnames[] = {
7839 (char *) "self",(char *) "self",(char *) "_class", NULL
7840 };
7841
7842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7844 arg2 = obj1;
7845 arg3 = obj2;
7846 {
7847 PyThreadState* __tstate = wxPyBeginAllowThreads();
7848 (arg1)->_setCallbackInfo(arg2,arg3);
7849
7850 wxPyEndAllowThreads(__tstate);
7851 if (PyErr_Occurred()) SWIG_fail;
7852 }
7853 Py_INCREF(Py_None); resultobj = Py_None;
7854 return resultobj;
7855 fail:
7856 return NULL;
7857 }
7858
7859
7860 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
7861 PyObject *resultobj;
7862 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7863 wxWindow *arg2 = (wxWindow *) NULL ;
7864 PyObject * obj0 = 0 ;
7865 PyObject * obj1 = 0 ;
7866 char *kwnames[] = {
7867 (char *) "self",(char *) "focus", NULL
7868 };
7869
7870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
7871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7872 if (obj1) {
7873 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7874 }
7875 {
7876 PyThreadState* __tstate = wxPyBeginAllowThreads();
7877 (arg1)->Popup(arg2);
7878
7879 wxPyEndAllowThreads(__tstate);
7880 if (PyErr_Occurred()) SWIG_fail;
7881 }
7882 Py_INCREF(Py_None); resultobj = Py_None;
7883 return resultobj;
7884 fail:
7885 return NULL;
7886 }
7887
7888
7889 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
7890 PyObject *resultobj;
7891 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7892 PyObject * obj0 = 0 ;
7893 char *kwnames[] = {
7894 (char *) "self", NULL
7895 };
7896
7897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
7898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7899 {
7900 PyThreadState* __tstate = wxPyBeginAllowThreads();
7901 (arg1)->Dismiss();
7902
7903 wxPyEndAllowThreads(__tstate);
7904 if (PyErr_Occurred()) SWIG_fail;
7905 }
7906 Py_INCREF(Py_None); resultobj = Py_None;
7907 return resultobj;
7908 fail:
7909 return NULL;
7910 }
7911
7912
7913 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
7914 PyObject *obj;
7915 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7916 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
7917 Py_INCREF(obj);
7918 return Py_BuildValue((char *)"");
7919 }
7920 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7921 PyObject *resultobj;
7922 wxWindow *arg1 = (wxWindow *) 0 ;
7923 wxString *arg2 = (wxString *) 0 ;
7924 int arg3 = (int) 100 ;
7925 wxRect *arg4 = (wxRect *) NULL ;
7926 wxTipWindow *result;
7927 PyObject * obj0 = 0 ;
7928 PyObject * obj1 = 0 ;
7929 PyObject * obj3 = 0 ;
7930 char *kwnames[] = {
7931 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
7932 };
7933
7934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iO:new_TipWindow",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
7935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7936 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7937 if (obj3) {
7938 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7939 }
7940 {
7941 PyThreadState* __tstate = wxPyBeginAllowThreads();
7942 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const *)arg2,arg3,arg4);
7943
7944 wxPyEndAllowThreads(__tstate);
7945 if (PyErr_Occurred()) SWIG_fail;
7946 }
7947 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipWindow, 1);
7948 return resultobj;
7949 fail:
7950 return NULL;
7951 }
7952
7953
7954 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7955 PyObject *resultobj;
7956 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7957 wxRect *arg2 = 0 ;
7958 wxRect temp2 ;
7959 PyObject * obj0 = 0 ;
7960 PyObject * obj1 = 0 ;
7961 char *kwnames[] = {
7962 (char *) "self",(char *) "rectBound", NULL
7963 };
7964
7965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
7966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7967 {
7968 arg2 = &temp2;
7969 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7970 }
7971 {
7972 PyThreadState* __tstate = wxPyBeginAllowThreads();
7973 (arg1)->SetBoundingRect((wxRect const &)*arg2);
7974
7975 wxPyEndAllowThreads(__tstate);
7976 if (PyErr_Occurred()) SWIG_fail;
7977 }
7978 Py_INCREF(Py_None); resultobj = Py_None;
7979 return resultobj;
7980 fail:
7981 return NULL;
7982 }
7983
7984
7985 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
7986 PyObject *resultobj;
7987 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7988 PyObject * obj0 = 0 ;
7989 char *kwnames[] = {
7990 (char *) "self", NULL
7991 };
7992
7993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
7994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7995 {
7996 PyThreadState* __tstate = wxPyBeginAllowThreads();
7997 (arg1)->Close();
7998
7999 wxPyEndAllowThreads(__tstate);
8000 if (PyErr_Occurred()) SWIG_fail;
8001 }
8002 Py_INCREF(Py_None); resultobj = Py_None;
8003 return resultobj;
8004 fail:
8005 return NULL;
8006 }
8007
8008
8009 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
8010 PyObject *obj;
8011 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8012 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
8013 Py_INCREF(obj);
8014 return Py_BuildValue((char *)"");
8015 }
8016 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8017 PyObject *resultobj;
8018 wxWindow *arg1 = (wxWindow *) 0 ;
8019 int arg2 = (int) wxID_ANY ;
8020 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8021 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8022 wxSize const &arg4_defvalue = wxDefaultSize ;
8023 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8024 long arg5 = (long) 0 ;
8025 wxString const &arg6_defvalue = wxPyPanelNameStr ;
8026 wxString *arg6 = (wxString *) &arg6_defvalue ;
8027 wxPyVScrolledWindow *result;
8028 wxPoint temp3 ;
8029 wxSize temp4 ;
8030 bool temp6 = False ;
8031 PyObject * obj0 = 0 ;
8032 PyObject * obj2 = 0 ;
8033 PyObject * obj3 = 0 ;
8034 PyObject * obj5 = 0 ;
8035 char *kwnames[] = {
8036 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8037 };
8038
8039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8041 if (obj2) {
8042 {
8043 arg3 = &temp3;
8044 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8045 }
8046 }
8047 if (obj3) {
8048 {
8049 arg4 = &temp4;
8050 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8051 }
8052 }
8053 if (obj5) {
8054 {
8055 arg6 = wxString_in_helper(obj5);
8056 if (arg6 == NULL) SWIG_fail;
8057 temp6 = True;
8058 }
8059 }
8060 {
8061 PyThreadState* __tstate = wxPyBeginAllowThreads();
8062 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8063
8064 wxPyEndAllowThreads(__tstate);
8065 if (PyErr_Occurred()) SWIG_fail;
8066 }
8067 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
8068 {
8069 if (temp6)
8070 delete arg6;
8071 }
8072 return resultobj;
8073 fail:
8074 {
8075 if (temp6)
8076 delete arg6;
8077 }
8078 return NULL;
8079 }
8080
8081
8082 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8083 PyObject *resultobj;
8084 wxPyVScrolledWindow *result;
8085 char *kwnames[] = {
8086 NULL
8087 };
8088
8089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
8090 {
8091 PyThreadState* __tstate = wxPyBeginAllowThreads();
8092 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
8093
8094 wxPyEndAllowThreads(__tstate);
8095 if (PyErr_Occurred()) SWIG_fail;
8096 }
8097 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
8098 return resultobj;
8099 fail:
8100 return NULL;
8101 }
8102
8103
8104 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8105 PyObject *resultobj;
8106 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8107 PyObject *arg2 = (PyObject *) 0 ;
8108 PyObject *arg3 = (PyObject *) 0 ;
8109 PyObject * obj0 = 0 ;
8110 PyObject * obj1 = 0 ;
8111 PyObject * obj2 = 0 ;
8112 char *kwnames[] = {
8113 (char *) "self",(char *) "self",(char *) "_class", NULL
8114 };
8115
8116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8118 arg2 = obj1;
8119 arg3 = obj2;
8120 {
8121 PyThreadState* __tstate = wxPyBeginAllowThreads();
8122 (arg1)->_setCallbackInfo(arg2,arg3);
8123
8124 wxPyEndAllowThreads(__tstate);
8125 if (PyErr_Occurred()) SWIG_fail;
8126 }
8127 Py_INCREF(Py_None); resultobj = Py_None;
8128 return resultobj;
8129 fail:
8130 return NULL;
8131 }
8132
8133
8134 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8135 PyObject *resultobj;
8136 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8137 wxWindow *arg2 = (wxWindow *) 0 ;
8138 int arg3 = (int) wxID_ANY ;
8139 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8140 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8141 wxSize const &arg5_defvalue = wxDefaultSize ;
8142 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8143 long arg6 = (long) 0 ;
8144 wxString const &arg7_defvalue = wxPyPanelNameStr ;
8145 wxString *arg7 = (wxString *) &arg7_defvalue ;
8146 bool result;
8147 wxPoint temp4 ;
8148 wxSize temp5 ;
8149 bool temp7 = False ;
8150 PyObject * obj0 = 0 ;
8151 PyObject * obj1 = 0 ;
8152 PyObject * obj3 = 0 ;
8153 PyObject * obj4 = 0 ;
8154 PyObject * obj6 = 0 ;
8155 char *kwnames[] = {
8156 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8157 };
8158
8159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8161 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8162 if (obj3) {
8163 {
8164 arg4 = &temp4;
8165 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8166 }
8167 }
8168 if (obj4) {
8169 {
8170 arg5 = &temp5;
8171 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8172 }
8173 }
8174 if (obj6) {
8175 {
8176 arg7 = wxString_in_helper(obj6);
8177 if (arg7 == NULL) SWIG_fail;
8178 temp7 = True;
8179 }
8180 }
8181 {
8182 PyThreadState* __tstate = wxPyBeginAllowThreads();
8183 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8184
8185 wxPyEndAllowThreads(__tstate);
8186 if (PyErr_Occurred()) SWIG_fail;
8187 }
8188 resultobj = PyInt_FromLong((long)result);
8189 {
8190 if (temp7)
8191 delete arg7;
8192 }
8193 return resultobj;
8194 fail:
8195 {
8196 if (temp7)
8197 delete arg7;
8198 }
8199 return NULL;
8200 }
8201
8202
8203 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8204 PyObject *resultobj;
8205 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8206 size_t arg2 ;
8207 PyObject * obj0 = 0 ;
8208 PyObject * obj1 = 0 ;
8209 char *kwnames[] = {
8210 (char *) "self",(char *) "count", NULL
8211 };
8212
8213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",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 (arg1)->SetLineCount(arg2);
8220
8221 wxPyEndAllowThreads(__tstate);
8222 if (PyErr_Occurred()) SWIG_fail;
8223 }
8224 Py_INCREF(Py_None); resultobj = Py_None;
8225 return resultobj;
8226 fail:
8227 return NULL;
8228 }
8229
8230
8231 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8232 PyObject *resultobj;
8233 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8234 size_t arg2 ;
8235 bool result;
8236 PyObject * obj0 = 0 ;
8237 PyObject * obj1 = 0 ;
8238 char *kwnames[] = {
8239 (char *) "self",(char *) "line", NULL
8240 };
8241
8242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
8243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8244 arg2 = (size_t) PyInt_AsLong(obj1);
8245 if (PyErr_Occurred()) SWIG_fail;
8246 {
8247 PyThreadState* __tstate = wxPyBeginAllowThreads();
8248 result = (bool)(arg1)->ScrollToLine(arg2);
8249
8250 wxPyEndAllowThreads(__tstate);
8251 if (PyErr_Occurred()) SWIG_fail;
8252 }
8253 resultobj = PyInt_FromLong((long)result);
8254 return resultobj;
8255 fail:
8256 return NULL;
8257 }
8258
8259
8260 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8261 PyObject *resultobj;
8262 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8263 int arg2 ;
8264 bool result;
8265 PyObject * obj0 = 0 ;
8266 char *kwnames[] = {
8267 (char *) "self",(char *) "lines", NULL
8268 };
8269
8270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollLines",kwnames,&obj0,&arg2)) goto fail;
8271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8272 {
8273 PyThreadState* __tstate = wxPyBeginAllowThreads();
8274 result = (bool)(arg1)->ScrollLines(arg2);
8275
8276 wxPyEndAllowThreads(__tstate);
8277 if (PyErr_Occurred()) SWIG_fail;
8278 }
8279 resultobj = PyInt_FromLong((long)result);
8280 return resultobj;
8281 fail:
8282 return NULL;
8283 }
8284
8285
8286 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
8287 PyObject *resultobj;
8288 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8289 int arg2 ;
8290 bool result;
8291 PyObject * obj0 = 0 ;
8292 char *kwnames[] = {
8293 (char *) "self",(char *) "pages", NULL
8294 };
8295
8296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollPages",kwnames,&obj0,&arg2)) goto fail;
8297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8298 {
8299 PyThreadState* __tstate = wxPyBeginAllowThreads();
8300 result = (bool)(arg1)->ScrollPages(arg2);
8301
8302 wxPyEndAllowThreads(__tstate);
8303 if (PyErr_Occurred()) SWIG_fail;
8304 }
8305 resultobj = PyInt_FromLong((long)result);
8306 return resultobj;
8307 fail:
8308 return NULL;
8309 }
8310
8311
8312 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8313 PyObject *resultobj;
8314 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8315 size_t arg2 ;
8316 PyObject * obj0 = 0 ;
8317 PyObject * obj1 = 0 ;
8318 char *kwnames[] = {
8319 (char *) "self",(char *) "line", NULL
8320 };
8321
8322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
8323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8324 arg2 = (size_t) PyInt_AsLong(obj1);
8325 if (PyErr_Occurred()) SWIG_fail;
8326 {
8327 PyThreadState* __tstate = wxPyBeginAllowThreads();
8328 (arg1)->RefreshLine(arg2);
8329
8330 wxPyEndAllowThreads(__tstate);
8331 if (PyErr_Occurred()) SWIG_fail;
8332 }
8333 Py_INCREF(Py_None); resultobj = Py_None;
8334 return resultobj;
8335 fail:
8336 return NULL;
8337 }
8338
8339
8340 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8341 PyObject *resultobj;
8342 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8343 size_t arg2 ;
8344 size_t arg3 ;
8345 PyObject * obj0 = 0 ;
8346 PyObject * obj1 = 0 ;
8347 PyObject * obj2 = 0 ;
8348 char *kwnames[] = {
8349 (char *) "self",(char *) "from",(char *) "to", NULL
8350 };
8351
8352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
8353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8354 arg2 = (size_t) PyInt_AsLong(obj1);
8355 if (PyErr_Occurred()) SWIG_fail;
8356 arg3 = (size_t) PyInt_AsLong(obj2);
8357 if (PyErr_Occurred()) SWIG_fail;
8358 {
8359 PyThreadState* __tstate = wxPyBeginAllowThreads();
8360 (arg1)->RefreshLines(arg2,arg3);
8361
8362 wxPyEndAllowThreads(__tstate);
8363 if (PyErr_Occurred()) SWIG_fail;
8364 }
8365 Py_INCREF(Py_None); resultobj = Py_None;
8366 return resultobj;
8367 fail:
8368 return NULL;
8369 }
8370
8371
8372 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
8373 PyObject *resultobj;
8374 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8375 int arg2 ;
8376 int arg3 ;
8377 int result;
8378 PyObject * obj0 = 0 ;
8379 char *kwnames[] = {
8380 (char *) "self",(char *) "x",(char *) "y", NULL
8381 };
8382
8383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VScrolledWindow_HitTestXT",kwnames,&obj0,&arg2,&arg3)) goto fail;
8384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8385 {
8386 PyThreadState* __tstate = wxPyBeginAllowThreads();
8387 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
8388
8389 wxPyEndAllowThreads(__tstate);
8390 if (PyErr_Occurred()) SWIG_fail;
8391 }
8392 resultobj = PyInt_FromLong((long)result);
8393 return resultobj;
8394 fail:
8395 return NULL;
8396 }
8397
8398
8399 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8400 PyObject *resultobj;
8401 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8402 wxPoint *arg2 = 0 ;
8403 int result;
8404 wxPoint temp2 ;
8405 PyObject * obj0 = 0 ;
8406 PyObject * obj1 = 0 ;
8407 char *kwnames[] = {
8408 (char *) "self",(char *) "pt", NULL
8409 };
8410
8411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
8412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8413 {
8414 arg2 = &temp2;
8415 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8416 }
8417 {
8418 PyThreadState* __tstate = wxPyBeginAllowThreads();
8419 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
8420
8421 wxPyEndAllowThreads(__tstate);
8422 if (PyErr_Occurred()) SWIG_fail;
8423 }
8424 resultobj = PyInt_FromLong((long)result);
8425 return resultobj;
8426 fail:
8427 return NULL;
8428 }
8429
8430
8431 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8432 PyObject *resultobj;
8433 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8434 PyObject * obj0 = 0 ;
8435 char *kwnames[] = {
8436 (char *) "self", NULL
8437 };
8438
8439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
8440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8441 {
8442 PyThreadState* __tstate = wxPyBeginAllowThreads();
8443 (arg1)->RefreshAll();
8444
8445 wxPyEndAllowThreads(__tstate);
8446 if (PyErr_Occurred()) SWIG_fail;
8447 }
8448 Py_INCREF(Py_None); resultobj = Py_None;
8449 return resultobj;
8450 fail:
8451 return NULL;
8452 }
8453
8454
8455 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8456 PyObject *resultobj;
8457 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8458 size_t result;
8459 PyObject * obj0 = 0 ;
8460 char *kwnames[] = {
8461 (char *) "self", NULL
8462 };
8463
8464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
8465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8466 {
8467 PyThreadState* __tstate = wxPyBeginAllowThreads();
8468 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
8469
8470 wxPyEndAllowThreads(__tstate);
8471 if (PyErr_Occurred()) SWIG_fail;
8472 }
8473 resultobj = PyInt_FromLong((long)result);
8474 return resultobj;
8475 fail:
8476 return NULL;
8477 }
8478
8479
8480 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8481 PyObject *resultobj;
8482 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8483 size_t result;
8484 PyObject * obj0 = 0 ;
8485 char *kwnames[] = {
8486 (char *) "self", NULL
8487 };
8488
8489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
8490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8491 {
8492 PyThreadState* __tstate = wxPyBeginAllowThreads();
8493 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
8494
8495 wxPyEndAllowThreads(__tstate);
8496 if (PyErr_Occurred()) SWIG_fail;
8497 }
8498 resultobj = PyInt_FromLong((long)result);
8499 return resultobj;
8500 fail:
8501 return NULL;
8502 }
8503
8504
8505 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8506 PyObject *resultobj;
8507 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8508 size_t result;
8509 PyObject * obj0 = 0 ;
8510 char *kwnames[] = {
8511 (char *) "self", NULL
8512 };
8513
8514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
8515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8516 {
8517 PyThreadState* __tstate = wxPyBeginAllowThreads();
8518 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
8519
8520 wxPyEndAllowThreads(__tstate);
8521 if (PyErr_Occurred()) SWIG_fail;
8522 }
8523 resultobj = PyInt_FromLong((long)result);
8524 return resultobj;
8525 fail:
8526 return NULL;
8527 }
8528
8529
8530 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8531 PyObject *resultobj;
8532 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8533 size_t arg2 ;
8534 bool result;
8535 PyObject * obj0 = 0 ;
8536 PyObject * obj1 = 0 ;
8537 char *kwnames[] = {
8538 (char *) "self",(char *) "line", NULL
8539 };
8540
8541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
8542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8543 arg2 = (size_t) PyInt_AsLong(obj1);
8544 if (PyErr_Occurred()) SWIG_fail;
8545 {
8546 PyThreadState* __tstate = wxPyBeginAllowThreads();
8547 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
8548
8549 wxPyEndAllowThreads(__tstate);
8550 if (PyErr_Occurred()) SWIG_fail;
8551 }
8552 resultobj = PyInt_FromLong((long)result);
8553 return resultobj;
8554 fail:
8555 return NULL;
8556 }
8557
8558
8559 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
8560 PyObject *obj;
8561 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8562 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
8563 Py_INCREF(obj);
8564 return Py_BuildValue((char *)"");
8565 }
8566 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8567 PyObject *resultobj;
8568 wxWindow *arg1 = (wxWindow *) 0 ;
8569 int arg2 = (int) wxID_ANY ;
8570 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8571 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8572 wxSize const &arg4_defvalue = wxDefaultSize ;
8573 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8574 long arg5 = (long) 0 ;
8575 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
8576 wxString *arg6 = (wxString *) &arg6_defvalue ;
8577 wxPyVListBox *result;
8578 wxPoint temp3 ;
8579 wxSize temp4 ;
8580 bool temp6 = False ;
8581 PyObject * obj0 = 0 ;
8582 PyObject * obj2 = 0 ;
8583 PyObject * obj3 = 0 ;
8584 PyObject * obj5 = 0 ;
8585 char *kwnames[] = {
8586 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8587 };
8588
8589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8591 if (obj2) {
8592 {
8593 arg3 = &temp3;
8594 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8595 }
8596 }
8597 if (obj3) {
8598 {
8599 arg4 = &temp4;
8600 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8601 }
8602 }
8603 if (obj5) {
8604 {
8605 arg6 = wxString_in_helper(obj5);
8606 if (arg6 == NULL) SWIG_fail;
8607 temp6 = True;
8608 }
8609 }
8610 {
8611 PyThreadState* __tstate = wxPyBeginAllowThreads();
8612 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8613
8614 wxPyEndAllowThreads(__tstate);
8615 if (PyErr_Occurred()) SWIG_fail;
8616 }
8617 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8618 {
8619 if (temp6)
8620 delete arg6;
8621 }
8622 return resultobj;
8623 fail:
8624 {
8625 if (temp6)
8626 delete arg6;
8627 }
8628 return NULL;
8629 }
8630
8631
8632 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8633 PyObject *resultobj;
8634 wxPyVListBox *result;
8635 char *kwnames[] = {
8636 NULL
8637 };
8638
8639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
8640 {
8641 PyThreadState* __tstate = wxPyBeginAllowThreads();
8642 result = (wxPyVListBox *)new wxPyVListBox();
8643
8644 wxPyEndAllowThreads(__tstate);
8645 if (PyErr_Occurred()) SWIG_fail;
8646 }
8647 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8648 return resultobj;
8649 fail:
8650 return NULL;
8651 }
8652
8653
8654 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8655 PyObject *resultobj;
8656 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8657 PyObject *arg2 = (PyObject *) 0 ;
8658 PyObject *arg3 = (PyObject *) 0 ;
8659 PyObject * obj0 = 0 ;
8660 PyObject * obj1 = 0 ;
8661 PyObject * obj2 = 0 ;
8662 char *kwnames[] = {
8663 (char *) "self",(char *) "self",(char *) "_class", NULL
8664 };
8665
8666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8668 arg2 = obj1;
8669 arg3 = obj2;
8670 {
8671 PyThreadState* __tstate = wxPyBeginAllowThreads();
8672 (arg1)->_setCallbackInfo(arg2,arg3);
8673
8674 wxPyEndAllowThreads(__tstate);
8675 if (PyErr_Occurred()) SWIG_fail;
8676 }
8677 Py_INCREF(Py_None); resultobj = Py_None;
8678 return resultobj;
8679 fail:
8680 return NULL;
8681 }
8682
8683
8684 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8685 PyObject *resultobj;
8686 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8687 wxWindow *arg2 = (wxWindow *) 0 ;
8688 int arg3 = (int) wxID_ANY ;
8689 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8690 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8691 wxSize const &arg5_defvalue = wxDefaultSize ;
8692 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8693 long arg6 = (long) 0 ;
8694 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
8695 wxString *arg7 = (wxString *) &arg7_defvalue ;
8696 bool result;
8697 wxPoint temp4 ;
8698 wxSize temp5 ;
8699 bool temp7 = False ;
8700 PyObject * obj0 = 0 ;
8701 PyObject * obj1 = 0 ;
8702 PyObject * obj3 = 0 ;
8703 PyObject * obj4 = 0 ;
8704 PyObject * obj6 = 0 ;
8705 char *kwnames[] = {
8706 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8707 };
8708
8709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8711 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8712 if (obj3) {
8713 {
8714 arg4 = &temp4;
8715 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8716 }
8717 }
8718 if (obj4) {
8719 {
8720 arg5 = &temp5;
8721 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8722 }
8723 }
8724 if (obj6) {
8725 {
8726 arg7 = wxString_in_helper(obj6);
8727 if (arg7 == NULL) SWIG_fail;
8728 temp7 = True;
8729 }
8730 }
8731 {
8732 PyThreadState* __tstate = wxPyBeginAllowThreads();
8733 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8734
8735 wxPyEndAllowThreads(__tstate);
8736 if (PyErr_Occurred()) SWIG_fail;
8737 }
8738 resultobj = PyInt_FromLong((long)result);
8739 {
8740 if (temp7)
8741 delete arg7;
8742 }
8743 return resultobj;
8744 fail:
8745 {
8746 if (temp7)
8747 delete arg7;
8748 }
8749 return NULL;
8750 }
8751
8752
8753 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8754 PyObject *resultobj;
8755 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8756 size_t result;
8757 PyObject * obj0 = 0 ;
8758 char *kwnames[] = {
8759 (char *) "self", NULL
8760 };
8761
8762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
8763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8764 {
8765 PyThreadState* __tstate = wxPyBeginAllowThreads();
8766 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
8767
8768 wxPyEndAllowThreads(__tstate);
8769 if (PyErr_Occurred()) SWIG_fail;
8770 }
8771 resultobj = PyInt_FromLong((long)result);
8772 return resultobj;
8773 fail:
8774 return NULL;
8775 }
8776
8777
8778 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8779 PyObject *resultobj;
8780 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8781 bool result;
8782 PyObject * obj0 = 0 ;
8783 char *kwnames[] = {
8784 (char *) "self", NULL
8785 };
8786
8787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
8788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8789 {
8790 PyThreadState* __tstate = wxPyBeginAllowThreads();
8791 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
8792
8793 wxPyEndAllowThreads(__tstate);
8794 if (PyErr_Occurred()) SWIG_fail;
8795 }
8796 resultobj = PyInt_FromLong((long)result);
8797 return resultobj;
8798 fail:
8799 return NULL;
8800 }
8801
8802
8803 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8804 PyObject *resultobj;
8805 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8806 int result;
8807 PyObject * obj0 = 0 ;
8808 char *kwnames[] = {
8809 (char *) "self", NULL
8810 };
8811
8812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
8813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8814 {
8815 PyThreadState* __tstate = wxPyBeginAllowThreads();
8816 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
8817
8818 wxPyEndAllowThreads(__tstate);
8819 if (PyErr_Occurred()) SWIG_fail;
8820 }
8821 resultobj = PyInt_FromLong((long)result);
8822 return resultobj;
8823 fail:
8824 return NULL;
8825 }
8826
8827
8828 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
8829 PyObject *resultobj;
8830 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8831 size_t arg2 ;
8832 bool result;
8833 PyObject * obj0 = 0 ;
8834 PyObject * obj1 = 0 ;
8835 char *kwnames[] = {
8836 (char *) "self",(char *) "item", NULL
8837 };
8838
8839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
8840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8841 arg2 = (size_t) PyInt_AsLong(obj1);
8842 if (PyErr_Occurred()) SWIG_fail;
8843 {
8844 PyThreadState* __tstate = wxPyBeginAllowThreads();
8845 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
8846
8847 wxPyEndAllowThreads(__tstate);
8848 if (PyErr_Occurred()) SWIG_fail;
8849 }
8850 resultobj = PyInt_FromLong((long)result);
8851 return resultobj;
8852 fail:
8853 return NULL;
8854 }
8855
8856
8857 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8858 PyObject *resultobj;
8859 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8860 size_t arg2 ;
8861 bool result;
8862 PyObject * obj0 = 0 ;
8863 PyObject * obj1 = 0 ;
8864 char *kwnames[] = {
8865 (char *) "self",(char *) "item", NULL
8866 };
8867
8868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
8869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8870 arg2 = (size_t) PyInt_AsLong(obj1);
8871 if (PyErr_Occurred()) SWIG_fail;
8872 {
8873 PyThreadState* __tstate = wxPyBeginAllowThreads();
8874 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
8875
8876 wxPyEndAllowThreads(__tstate);
8877 if (PyErr_Occurred()) SWIG_fail;
8878 }
8879 resultobj = PyInt_FromLong((long)result);
8880 return resultobj;
8881 fail:
8882 return NULL;
8883 }
8884
8885
8886 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8887 PyObject *resultobj;
8888 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8889 size_t result;
8890 PyObject * obj0 = 0 ;
8891 char *kwnames[] = {
8892 (char *) "self", NULL
8893 };
8894
8895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
8896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8897 {
8898 PyThreadState* __tstate = wxPyBeginAllowThreads();
8899 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
8900
8901 wxPyEndAllowThreads(__tstate);
8902 if (PyErr_Occurred()) SWIG_fail;
8903 }
8904 resultobj = PyInt_FromLong((long)result);
8905 return resultobj;
8906 fail:
8907 return NULL;
8908 }
8909
8910
8911 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8912 PyObject *resultobj;
8913 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8914 unsigned long *arg2 = 0 ;
8915 int result;
8916 PyObject * obj0 = 0 ;
8917 PyObject * obj1 = 0 ;
8918 char *kwnames[] = {
8919 (char *) "self",(char *) "cookie", NULL
8920 };
8921
8922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
8923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8924 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8925 if (arg2 == NULL) {
8926 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8927 }
8928 {
8929 PyThreadState* __tstate = wxPyBeginAllowThreads();
8930 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
8931
8932 wxPyEndAllowThreads(__tstate);
8933 if (PyErr_Occurred()) SWIG_fail;
8934 }
8935 resultobj = PyInt_FromLong((long)result);
8936 return resultobj;
8937 fail:
8938 return NULL;
8939 }
8940
8941
8942 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8943 PyObject *resultobj;
8944 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8945 unsigned long *arg2 = 0 ;
8946 int result;
8947 PyObject * obj0 = 0 ;
8948 PyObject * obj1 = 0 ;
8949 char *kwnames[] = {
8950 (char *) "self",(char *) "cookie", NULL
8951 };
8952
8953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
8954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8955 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8956 if (arg2 == NULL) {
8957 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8958 }
8959 {
8960 PyThreadState* __tstate = wxPyBeginAllowThreads();
8961 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
8962
8963 wxPyEndAllowThreads(__tstate);
8964 if (PyErr_Occurred()) SWIG_fail;
8965 }
8966 resultobj = PyInt_FromLong((long)result);
8967 return resultobj;
8968 fail:
8969 return NULL;
8970 }
8971
8972
8973 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
8974 PyObject *resultobj;
8975 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8976 wxPoint result;
8977 PyObject * obj0 = 0 ;
8978 char *kwnames[] = {
8979 (char *) "self", NULL
8980 };
8981
8982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
8983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8984 {
8985 PyThreadState* __tstate = wxPyBeginAllowThreads();
8986 result = ((wxPyVListBox const *)arg1)->GetMargins();
8987
8988 wxPyEndAllowThreads(__tstate);
8989 if (PyErr_Occurred()) SWIG_fail;
8990 }
8991 {
8992 wxPoint * resultptr;
8993 resultptr = new wxPoint((wxPoint &) result);
8994 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
8995 }
8996 return resultobj;
8997 fail:
8998 return NULL;
8999 }
9000
9001
9002 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9003 PyObject *resultobj;
9004 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9005 wxColour *result;
9006 PyObject * obj0 = 0 ;
9007 char *kwnames[] = {
9008 (char *) "self", NULL
9009 };
9010
9011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
9012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9013 {
9014 PyThreadState* __tstate = wxPyBeginAllowThreads();
9015 {
9016 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
9017 result = (wxColour *) &_result_ref;
9018 }
9019
9020 wxPyEndAllowThreads(__tstate);
9021 if (PyErr_Occurred()) SWIG_fail;
9022 }
9023 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
9024 return resultobj;
9025 fail:
9026 return NULL;
9027 }
9028
9029
9030 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9031 PyObject *resultobj;
9032 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9033 size_t arg2 ;
9034 PyObject * obj0 = 0 ;
9035 PyObject * obj1 = 0 ;
9036 char *kwnames[] = {
9037 (char *) "self",(char *) "count", NULL
9038 };
9039
9040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9042 arg2 = (size_t) PyInt_AsLong(obj1);
9043 if (PyErr_Occurred()) SWIG_fail;
9044 {
9045 PyThreadState* __tstate = wxPyBeginAllowThreads();
9046 (arg1)->SetItemCount(arg2);
9047
9048 wxPyEndAllowThreads(__tstate);
9049 if (PyErr_Occurred()) SWIG_fail;
9050 }
9051 Py_INCREF(Py_None); resultobj = Py_None;
9052 return resultobj;
9053 fail:
9054 return NULL;
9055 }
9056
9057
9058 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
9059 PyObject *resultobj;
9060 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9061 PyObject * obj0 = 0 ;
9062 char *kwnames[] = {
9063 (char *) "self", NULL
9064 };
9065
9066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
9067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9068 {
9069 PyThreadState* __tstate = wxPyBeginAllowThreads();
9070 (arg1)->Clear();
9071
9072 wxPyEndAllowThreads(__tstate);
9073 if (PyErr_Occurred()) SWIG_fail;
9074 }
9075 Py_INCREF(Py_None); resultobj = Py_None;
9076 return resultobj;
9077 fail:
9078 return NULL;
9079 }
9080
9081
9082 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9083 PyObject *resultobj;
9084 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9085 int arg2 ;
9086 PyObject * obj0 = 0 ;
9087 char *kwnames[] = {
9088 (char *) "self",(char *) "selection", NULL
9089 };
9090
9091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VListBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
9092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9093 {
9094 PyThreadState* __tstate = wxPyBeginAllowThreads();
9095 (arg1)->SetSelection(arg2);
9096
9097 wxPyEndAllowThreads(__tstate);
9098 if (PyErr_Occurred()) SWIG_fail;
9099 }
9100 Py_INCREF(Py_None); resultobj = Py_None;
9101 return resultobj;
9102 fail:
9103 return NULL;
9104 }
9105
9106
9107 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
9108 PyObject *resultobj;
9109 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9110 size_t arg2 ;
9111 bool arg3 = (bool) True ;
9112 bool result;
9113 PyObject * obj0 = 0 ;
9114 PyObject * obj1 = 0 ;
9115 PyObject * obj2 = 0 ;
9116 char *kwnames[] = {
9117 (char *) "self",(char *) "item",(char *) "select", NULL
9118 };
9119
9120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
9121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9122 arg2 = (size_t) PyInt_AsLong(obj1);
9123 if (PyErr_Occurred()) SWIG_fail;
9124 if (obj2) {
9125 arg3 = PyInt_AsLong(obj2) ? true : false;
9126 if (PyErr_Occurred()) SWIG_fail;
9127 }
9128 {
9129 PyThreadState* __tstate = wxPyBeginAllowThreads();
9130 result = (bool)(arg1)->Select(arg2,arg3);
9131
9132 wxPyEndAllowThreads(__tstate);
9133 if (PyErr_Occurred()) SWIG_fail;
9134 }
9135 resultobj = PyInt_FromLong((long)result);
9136 return resultobj;
9137 fail:
9138 return NULL;
9139 }
9140
9141
9142 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9143 PyObject *resultobj;
9144 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9145 size_t arg2 ;
9146 size_t arg3 ;
9147 bool result;
9148 PyObject * obj0 = 0 ;
9149 PyObject * obj1 = 0 ;
9150 PyObject * obj2 = 0 ;
9151 char *kwnames[] = {
9152 (char *) "self",(char *) "from",(char *) "to", NULL
9153 };
9154
9155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
9156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9157 arg2 = (size_t) PyInt_AsLong(obj1);
9158 if (PyErr_Occurred()) SWIG_fail;
9159 arg3 = (size_t) PyInt_AsLong(obj2);
9160 if (PyErr_Occurred()) SWIG_fail;
9161 {
9162 PyThreadState* __tstate = wxPyBeginAllowThreads();
9163 result = (bool)(arg1)->SelectRange(arg2,arg3);
9164
9165 wxPyEndAllowThreads(__tstate);
9166 if (PyErr_Occurred()) SWIG_fail;
9167 }
9168 resultobj = PyInt_FromLong((long)result);
9169 return resultobj;
9170 fail:
9171 return NULL;
9172 }
9173
9174
9175 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
9176 PyObject *resultobj;
9177 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9178 size_t arg2 ;
9179 PyObject * obj0 = 0 ;
9180 PyObject * obj1 = 0 ;
9181 char *kwnames[] = {
9182 (char *) "self",(char *) "item", NULL
9183 };
9184
9185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
9186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9187 arg2 = (size_t) PyInt_AsLong(obj1);
9188 if (PyErr_Occurred()) SWIG_fail;
9189 {
9190 PyThreadState* __tstate = wxPyBeginAllowThreads();
9191 (arg1)->Toggle(arg2);
9192
9193 wxPyEndAllowThreads(__tstate);
9194 if (PyErr_Occurred()) SWIG_fail;
9195 }
9196 Py_INCREF(Py_None); resultobj = Py_None;
9197 return resultobj;
9198 fail:
9199 return NULL;
9200 }
9201
9202
9203 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9204 PyObject *resultobj;
9205 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9206 bool result;
9207 PyObject * obj0 = 0 ;
9208 char *kwnames[] = {
9209 (char *) "self", NULL
9210 };
9211
9212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
9213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9214 {
9215 PyThreadState* __tstate = wxPyBeginAllowThreads();
9216 result = (bool)(arg1)->SelectAll();
9217
9218 wxPyEndAllowThreads(__tstate);
9219 if (PyErr_Occurred()) SWIG_fail;
9220 }
9221 resultobj = PyInt_FromLong((long)result);
9222 return resultobj;
9223 fail:
9224 return NULL;
9225 }
9226
9227
9228 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9229 PyObject *resultobj;
9230 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9231 bool result;
9232 PyObject * obj0 = 0 ;
9233 char *kwnames[] = {
9234 (char *) "self", NULL
9235 };
9236
9237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
9238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9239 {
9240 PyThreadState* __tstate = wxPyBeginAllowThreads();
9241 result = (bool)(arg1)->DeselectAll();
9242
9243 wxPyEndAllowThreads(__tstate);
9244 if (PyErr_Occurred()) SWIG_fail;
9245 }
9246 resultobj = PyInt_FromLong((long)result);
9247 return resultobj;
9248 fail:
9249 return NULL;
9250 }
9251
9252
9253 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9254 PyObject *resultobj;
9255 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9256 wxPoint *arg2 = 0 ;
9257 wxPoint temp2 ;
9258 PyObject * obj0 = 0 ;
9259 PyObject * obj1 = 0 ;
9260 char *kwnames[] = {
9261 (char *) "self",(char *) "pt", NULL
9262 };
9263
9264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
9265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9266 {
9267 arg2 = &temp2;
9268 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9269 }
9270 {
9271 PyThreadState* __tstate = wxPyBeginAllowThreads();
9272 (arg1)->SetMargins((wxPoint const &)*arg2);
9273
9274 wxPyEndAllowThreads(__tstate);
9275 if (PyErr_Occurred()) SWIG_fail;
9276 }
9277 Py_INCREF(Py_None); resultobj = Py_None;
9278 return resultobj;
9279 fail:
9280 return NULL;
9281 }
9282
9283
9284 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
9285 PyObject *resultobj;
9286 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9287 int arg2 ;
9288 int arg3 ;
9289 PyObject * obj0 = 0 ;
9290 char *kwnames[] = {
9291 (char *) "self",(char *) "x",(char *) "y", NULL
9292 };
9293
9294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VListBox_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
9295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9296 {
9297 PyThreadState* __tstate = wxPyBeginAllowThreads();
9298 (arg1)->SetMargins(arg2,arg3);
9299
9300 wxPyEndAllowThreads(__tstate);
9301 if (PyErr_Occurred()) SWIG_fail;
9302 }
9303 Py_INCREF(Py_None); resultobj = Py_None;
9304 return resultobj;
9305 fail:
9306 return NULL;
9307 }
9308
9309
9310 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9311 PyObject *resultobj;
9312 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9313 wxColour *arg2 = 0 ;
9314 wxColour temp2 ;
9315 PyObject * obj0 = 0 ;
9316 PyObject * obj1 = 0 ;
9317 char *kwnames[] = {
9318 (char *) "self",(char *) "col", NULL
9319 };
9320
9321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
9322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9323 {
9324 arg2 = &temp2;
9325 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9326 }
9327 {
9328 PyThreadState* __tstate = wxPyBeginAllowThreads();
9329 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
9330
9331 wxPyEndAllowThreads(__tstate);
9332 if (PyErr_Occurred()) SWIG_fail;
9333 }
9334 Py_INCREF(Py_None); resultobj = Py_None;
9335 return resultobj;
9336 fail:
9337 return NULL;
9338 }
9339
9340
9341 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
9342 PyObject *obj;
9343 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9344 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
9345 Py_INCREF(obj);
9346 return Py_BuildValue((char *)"");
9347 }
9348 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9349 PyObject *resultobj;
9350 wxWindow *arg1 = (wxWindow *) 0 ;
9351 int arg2 = (int) wxID_ANY ;
9352 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9353 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9354 wxSize const &arg4_defvalue = wxDefaultSize ;
9355 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9356 long arg5 = (long) 0 ;
9357 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9358 wxString *arg6 = (wxString *) &arg6_defvalue ;
9359 wxPyHtmlListBox *result;
9360 wxPoint temp3 ;
9361 wxSize temp4 ;
9362 bool temp6 = False ;
9363 PyObject * obj0 = 0 ;
9364 PyObject * obj2 = 0 ;
9365 PyObject * obj3 = 0 ;
9366 PyObject * obj5 = 0 ;
9367 char *kwnames[] = {
9368 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9369 };
9370
9371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_HtmlListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
9372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9373 if (obj2) {
9374 {
9375 arg3 = &temp3;
9376 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9377 }
9378 }
9379 if (obj3) {
9380 {
9381 arg4 = &temp4;
9382 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9383 }
9384 }
9385 if (obj5) {
9386 {
9387 arg6 = wxString_in_helper(obj5);
9388 if (arg6 == NULL) SWIG_fail;
9389 temp6 = True;
9390 }
9391 }
9392 {
9393 PyThreadState* __tstate = wxPyBeginAllowThreads();
9394 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9395
9396 wxPyEndAllowThreads(__tstate);
9397 if (PyErr_Occurred()) SWIG_fail;
9398 }
9399 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
9400 {
9401 if (temp6)
9402 delete arg6;
9403 }
9404 return resultobj;
9405 fail:
9406 {
9407 if (temp6)
9408 delete arg6;
9409 }
9410 return NULL;
9411 }
9412
9413
9414 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9415 PyObject *resultobj;
9416 wxPyHtmlListBox *result;
9417 char *kwnames[] = {
9418 NULL
9419 };
9420
9421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
9422 {
9423 PyThreadState* __tstate = wxPyBeginAllowThreads();
9424 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
9425
9426 wxPyEndAllowThreads(__tstate);
9427 if (PyErr_Occurred()) SWIG_fail;
9428 }
9429 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
9430 return resultobj;
9431 fail:
9432 return NULL;
9433 }
9434
9435
9436 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9437 PyObject *resultobj;
9438 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9439 PyObject *arg2 = (PyObject *) 0 ;
9440 PyObject *arg3 = (PyObject *) 0 ;
9441 PyObject * obj0 = 0 ;
9442 PyObject * obj1 = 0 ;
9443 PyObject * obj2 = 0 ;
9444 char *kwnames[] = {
9445 (char *) "self",(char *) "self",(char *) "_class", NULL
9446 };
9447
9448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9450 arg2 = obj1;
9451 arg3 = obj2;
9452 {
9453 PyThreadState* __tstate = wxPyBeginAllowThreads();
9454 (arg1)->_setCallbackInfo(arg2,arg3);
9455
9456 wxPyEndAllowThreads(__tstate);
9457 if (PyErr_Occurred()) SWIG_fail;
9458 }
9459 Py_INCREF(Py_None); resultobj = Py_None;
9460 return resultobj;
9461 fail:
9462 return NULL;
9463 }
9464
9465
9466 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9467 PyObject *resultobj;
9468 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9469 wxWindow *arg2 = (wxWindow *) 0 ;
9470 int arg3 = (int) wxID_ANY ;
9471 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9472 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9473 wxSize const &arg5_defvalue = wxDefaultSize ;
9474 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9475 long arg6 = (long) 0 ;
9476 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9477 wxString *arg7 = (wxString *) &arg7_defvalue ;
9478 bool result;
9479 wxPoint temp4 ;
9480 wxSize temp5 ;
9481 bool temp7 = False ;
9482 PyObject * obj0 = 0 ;
9483 PyObject * obj1 = 0 ;
9484 PyObject * obj3 = 0 ;
9485 PyObject * obj4 = 0 ;
9486 PyObject * obj6 = 0 ;
9487 char *kwnames[] = {
9488 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9489 };
9490
9491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:HtmlListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
9492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9493 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9494 if (obj3) {
9495 {
9496 arg4 = &temp4;
9497 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9498 }
9499 }
9500 if (obj4) {
9501 {
9502 arg5 = &temp5;
9503 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9504 }
9505 }
9506 if (obj6) {
9507 {
9508 arg7 = wxString_in_helper(obj6);
9509 if (arg7 == NULL) SWIG_fail;
9510 temp7 = True;
9511 }
9512 }
9513 {
9514 PyThreadState* __tstate = wxPyBeginAllowThreads();
9515 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9516
9517 wxPyEndAllowThreads(__tstate);
9518 if (PyErr_Occurred()) SWIG_fail;
9519 }
9520 resultobj = PyInt_FromLong((long)result);
9521 {
9522 if (temp7)
9523 delete arg7;
9524 }
9525 return resultobj;
9526 fail:
9527 {
9528 if (temp7)
9529 delete arg7;
9530 }
9531 return NULL;
9532 }
9533
9534
9535 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9536 PyObject *resultobj;
9537 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9538 PyObject * obj0 = 0 ;
9539 char *kwnames[] = {
9540 (char *) "self", NULL
9541 };
9542
9543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
9544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9545 {
9546 PyThreadState* __tstate = wxPyBeginAllowThreads();
9547 (arg1)->RefreshAll();
9548
9549 wxPyEndAllowThreads(__tstate);
9550 if (PyErr_Occurred()) SWIG_fail;
9551 }
9552 Py_INCREF(Py_None); resultobj = Py_None;
9553 return resultobj;
9554 fail:
9555 return NULL;
9556 }
9557
9558
9559 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9560 PyObject *resultobj;
9561 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9562 size_t arg2 ;
9563 PyObject * obj0 = 0 ;
9564 PyObject * obj1 = 0 ;
9565 char *kwnames[] = {
9566 (char *) "self",(char *) "count", NULL
9567 };
9568
9569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9571 arg2 = (size_t) PyInt_AsLong(obj1);
9572 if (PyErr_Occurred()) SWIG_fail;
9573 {
9574 PyThreadState* __tstate = wxPyBeginAllowThreads();
9575 (arg1)->SetItemCount(arg2);
9576
9577 wxPyEndAllowThreads(__tstate);
9578 if (PyErr_Occurred()) SWIG_fail;
9579 }
9580 Py_INCREF(Py_None); resultobj = Py_None;
9581 return resultobj;
9582 fail:
9583 return NULL;
9584 }
9585
9586
9587 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
9588 PyObject *obj;
9589 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9590 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
9591 Py_INCREF(obj);
9592 return Py_BuildValue((char *)"");
9593 }
9594 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9595 PyObject *resultobj;
9596 wxTaskBarIcon *result;
9597 char *kwnames[] = {
9598 NULL
9599 };
9600
9601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
9602 {
9603 PyThreadState* __tstate = wxPyBeginAllowThreads();
9604 result = (wxTaskBarIcon *)new wxTaskBarIcon();
9605
9606 wxPyEndAllowThreads(__tstate);
9607 if (PyErr_Occurred()) SWIG_fail;
9608 }
9609 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIcon, 1);
9610 return resultobj;
9611 fail:
9612 return NULL;
9613 }
9614
9615
9616 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9617 PyObject *resultobj;
9618 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9619 PyObject * obj0 = 0 ;
9620 char *kwnames[] = {
9621 (char *) "self", NULL
9622 };
9623
9624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
9625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9626 {
9627 PyThreadState* __tstate = wxPyBeginAllowThreads();
9628 delete arg1;
9629
9630 wxPyEndAllowThreads(__tstate);
9631 if (PyErr_Occurred()) SWIG_fail;
9632 }
9633 Py_INCREF(Py_None); resultobj = Py_None;
9634 return resultobj;
9635 fail:
9636 return NULL;
9637 }
9638
9639
9640 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
9641 PyObject *resultobj;
9642 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9643 bool result;
9644 PyObject * obj0 = 0 ;
9645 char *kwnames[] = {
9646 (char *) "self", NULL
9647 };
9648
9649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
9650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9651 {
9652 PyThreadState* __tstate = wxPyBeginAllowThreads();
9653 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
9654
9655 wxPyEndAllowThreads(__tstate);
9656 if (PyErr_Occurred()) SWIG_fail;
9657 }
9658 resultobj = PyInt_FromLong((long)result);
9659 return resultobj;
9660 fail:
9661 return NULL;
9662 }
9663
9664
9665 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
9666 PyObject *resultobj;
9667 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9668 bool result;
9669 PyObject * obj0 = 0 ;
9670 char *kwnames[] = {
9671 (char *) "self", NULL
9672 };
9673
9674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
9675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9676 {
9677 PyThreadState* __tstate = wxPyBeginAllowThreads();
9678 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
9679
9680 wxPyEndAllowThreads(__tstate);
9681 if (PyErr_Occurred()) SWIG_fail;
9682 }
9683 resultobj = PyInt_FromLong((long)result);
9684 return resultobj;
9685 fail:
9686 return NULL;
9687 }
9688
9689
9690 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9691 PyObject *resultobj;
9692 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9693 wxIcon *arg2 = 0 ;
9694 wxString const &arg3_defvalue = wxPyEmptyString ;
9695 wxString *arg3 = (wxString *) &arg3_defvalue ;
9696 bool result;
9697 bool temp3 = False ;
9698 PyObject * obj0 = 0 ;
9699 PyObject * obj1 = 0 ;
9700 PyObject * obj2 = 0 ;
9701 char *kwnames[] = {
9702 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
9703 };
9704
9705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
9706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9707 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9708 if (arg2 == NULL) {
9709 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9710 }
9711 if (obj2) {
9712 {
9713 arg3 = wxString_in_helper(obj2);
9714 if (arg3 == NULL) SWIG_fail;
9715 temp3 = True;
9716 }
9717 }
9718 {
9719 PyThreadState* __tstate = wxPyBeginAllowThreads();
9720 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
9721
9722 wxPyEndAllowThreads(__tstate);
9723 if (PyErr_Occurred()) SWIG_fail;
9724 }
9725 resultobj = PyInt_FromLong((long)result);
9726 {
9727 if (temp3)
9728 delete arg3;
9729 }
9730 return resultobj;
9731 fail:
9732 {
9733 if (temp3)
9734 delete arg3;
9735 }
9736 return NULL;
9737 }
9738
9739
9740 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9741 PyObject *resultobj;
9742 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9743 bool result;
9744 PyObject * obj0 = 0 ;
9745 char *kwnames[] = {
9746 (char *) "self", NULL
9747 };
9748
9749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
9750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9751 {
9752 PyThreadState* __tstate = wxPyBeginAllowThreads();
9753 result = (bool)(arg1)->RemoveIcon();
9754
9755 wxPyEndAllowThreads(__tstate);
9756 if (PyErr_Occurred()) SWIG_fail;
9757 }
9758 resultobj = PyInt_FromLong((long)result);
9759 return resultobj;
9760 fail:
9761 return NULL;
9762 }
9763
9764
9765 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
9766 PyObject *resultobj;
9767 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9768 wxMenu *arg2 = (wxMenu *) 0 ;
9769 bool result;
9770 PyObject * obj0 = 0 ;
9771 PyObject * obj1 = 0 ;
9772 char *kwnames[] = {
9773 (char *) "self",(char *) "menu", NULL
9774 };
9775
9776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
9777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9778 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9779 {
9780 PyThreadState* __tstate = wxPyBeginAllowThreads();
9781 result = (bool)(arg1)->PopupMenu(arg2);
9782
9783 wxPyEndAllowThreads(__tstate);
9784 if (PyErr_Occurred()) SWIG_fail;
9785 }
9786 resultobj = PyInt_FromLong((long)result);
9787 return resultobj;
9788 fail:
9789 return NULL;
9790 }
9791
9792
9793 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
9794 PyObject *obj;
9795 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9796 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
9797 Py_INCREF(obj);
9798 return Py_BuildValue((char *)"");
9799 }
9800 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9801 PyObject *resultobj;
9802 wxEventType arg1 ;
9803 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
9804 wxTaskBarIconEvent *result;
9805 PyObject * obj1 = 0 ;
9806 char *kwnames[] = {
9807 (char *) "evtType",(char *) "tbIcon", NULL
9808 };
9809
9810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iO:new_TaskBarIconEvent",kwnames,&arg1,&obj1)) goto fail;
9811 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9812 {
9813 PyThreadState* __tstate = wxPyBeginAllowThreads();
9814 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
9815
9816 wxPyEndAllowThreads(__tstate);
9817 if (PyErr_Occurred()) SWIG_fail;
9818 }
9819 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIconEvent, 1);
9820 return resultobj;
9821 fail:
9822 return NULL;
9823 }
9824
9825
9826 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
9827 PyObject *obj;
9828 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9829 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
9830 Py_INCREF(obj);
9831 return Py_BuildValue((char *)"");
9832 }
9833 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9834 PyObject *resultobj;
9835 wxColourData *result;
9836 char *kwnames[] = {
9837 NULL
9838 };
9839
9840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
9841 {
9842 PyThreadState* __tstate = wxPyBeginAllowThreads();
9843 result = (wxColourData *)new wxColourData();
9844
9845 wxPyEndAllowThreads(__tstate);
9846 if (PyErr_Occurred()) SWIG_fail;
9847 }
9848 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 1);
9849 return resultobj;
9850 fail:
9851 return NULL;
9852 }
9853
9854
9855 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9856 PyObject *resultobj;
9857 wxColourData *arg1 = (wxColourData *) 0 ;
9858 PyObject * obj0 = 0 ;
9859 char *kwnames[] = {
9860 (char *) "self", NULL
9861 };
9862
9863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
9864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9865 {
9866 PyThreadState* __tstate = wxPyBeginAllowThreads();
9867 delete arg1;
9868
9869 wxPyEndAllowThreads(__tstate);
9870 if (PyErr_Occurred()) SWIG_fail;
9871 }
9872 Py_INCREF(Py_None); resultobj = Py_None;
9873 return resultobj;
9874 fail:
9875 return NULL;
9876 }
9877
9878
9879 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9880 PyObject *resultobj;
9881 wxColourData *arg1 = (wxColourData *) 0 ;
9882 bool result;
9883 PyObject * obj0 = 0 ;
9884 char *kwnames[] = {
9885 (char *) "self", NULL
9886 };
9887
9888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
9889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9890 {
9891 PyThreadState* __tstate = wxPyBeginAllowThreads();
9892 result = (bool)(arg1)->GetChooseFull();
9893
9894 wxPyEndAllowThreads(__tstate);
9895 if (PyErr_Occurred()) SWIG_fail;
9896 }
9897 resultobj = PyInt_FromLong((long)result);
9898 return resultobj;
9899 fail:
9900 return NULL;
9901 }
9902
9903
9904 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9905 PyObject *resultobj;
9906 wxColourData *arg1 = (wxColourData *) 0 ;
9907 wxColour result;
9908 PyObject * obj0 = 0 ;
9909 char *kwnames[] = {
9910 (char *) "self", NULL
9911 };
9912
9913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
9914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9915 {
9916 PyThreadState* __tstate = wxPyBeginAllowThreads();
9917 result = (arg1)->GetColour();
9918
9919 wxPyEndAllowThreads(__tstate);
9920 if (PyErr_Occurred()) SWIG_fail;
9921 }
9922 {
9923 wxColour * resultptr;
9924 resultptr = new wxColour((wxColour &) result);
9925 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9926 }
9927 return resultobj;
9928 fail:
9929 return NULL;
9930 }
9931
9932
9933 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9934 PyObject *resultobj;
9935 wxColourData *arg1 = (wxColourData *) 0 ;
9936 int arg2 ;
9937 wxColour result;
9938 PyObject * obj0 = 0 ;
9939 char *kwnames[] = {
9940 (char *) "self",(char *) "i", NULL
9941 };
9942
9943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_GetCustomColour",kwnames,&obj0,&arg2)) goto fail;
9944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9945 {
9946 PyThreadState* __tstate = wxPyBeginAllowThreads();
9947 result = (arg1)->GetCustomColour(arg2);
9948
9949 wxPyEndAllowThreads(__tstate);
9950 if (PyErr_Occurred()) SWIG_fail;
9951 }
9952 {
9953 wxColour * resultptr;
9954 resultptr = new wxColour((wxColour &) result);
9955 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9956 }
9957 return resultobj;
9958 fail:
9959 return NULL;
9960 }
9961
9962
9963 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9964 PyObject *resultobj;
9965 wxColourData *arg1 = (wxColourData *) 0 ;
9966 int arg2 ;
9967 PyObject * obj0 = 0 ;
9968 char *kwnames[] = {
9969 (char *) "self",(char *) "flag", NULL
9970 };
9971
9972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_SetChooseFull",kwnames,&obj0,&arg2)) goto fail;
9973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9974 {
9975 PyThreadState* __tstate = wxPyBeginAllowThreads();
9976 (arg1)->SetChooseFull(arg2);
9977
9978 wxPyEndAllowThreads(__tstate);
9979 if (PyErr_Occurred()) SWIG_fail;
9980 }
9981 Py_INCREF(Py_None); resultobj = Py_None;
9982 return resultobj;
9983 fail:
9984 return NULL;
9985 }
9986
9987
9988 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9989 PyObject *resultobj;
9990 wxColourData *arg1 = (wxColourData *) 0 ;
9991 wxColour *arg2 = 0 ;
9992 wxColour temp2 ;
9993 PyObject * obj0 = 0 ;
9994 PyObject * obj1 = 0 ;
9995 char *kwnames[] = {
9996 (char *) "self",(char *) "colour", NULL
9997 };
9998
9999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
10000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10001 {
10002 arg2 = &temp2;
10003 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10004 }
10005 {
10006 PyThreadState* __tstate = wxPyBeginAllowThreads();
10007 (arg1)->SetColour((wxColour const &)*arg2);
10008
10009 wxPyEndAllowThreads(__tstate);
10010 if (PyErr_Occurred()) SWIG_fail;
10011 }
10012 Py_INCREF(Py_None); resultobj = Py_None;
10013 return resultobj;
10014 fail:
10015 return NULL;
10016 }
10017
10018
10019 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10020 PyObject *resultobj;
10021 wxColourData *arg1 = (wxColourData *) 0 ;
10022 int arg2 ;
10023 wxColour *arg3 = 0 ;
10024 wxColour temp3 ;
10025 PyObject * obj0 = 0 ;
10026 PyObject * obj2 = 0 ;
10027 char *kwnames[] = {
10028 (char *) "self",(char *) "i",(char *) "colour", NULL
10029 };
10030
10031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ColourData_SetCustomColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
10032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10033 {
10034 arg3 = &temp3;
10035 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10036 }
10037 {
10038 PyThreadState* __tstate = wxPyBeginAllowThreads();
10039 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
10040
10041 wxPyEndAllowThreads(__tstate);
10042 if (PyErr_Occurred()) SWIG_fail;
10043 }
10044 Py_INCREF(Py_None); resultobj = Py_None;
10045 return resultobj;
10046 fail:
10047 return NULL;
10048 }
10049
10050
10051 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
10052 PyObject *obj;
10053 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10054 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
10055 Py_INCREF(obj);
10056 return Py_BuildValue((char *)"");
10057 }
10058 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10059 PyObject *resultobj;
10060 wxWindow *arg1 = (wxWindow *) 0 ;
10061 wxColourData *arg2 = (wxColourData *) NULL ;
10062 wxColourDialog *result;
10063 PyObject * obj0 = 0 ;
10064 PyObject * obj1 = 0 ;
10065 char *kwnames[] = {
10066 (char *) "parent",(char *) "data", NULL
10067 };
10068
10069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
10070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10071 if (obj1) {
10072 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10073 }
10074 {
10075 PyThreadState* __tstate = wxPyBeginAllowThreads();
10076 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
10077
10078 wxPyEndAllowThreads(__tstate);
10079 if (PyErr_Occurred()) SWIG_fail;
10080 }
10081 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourDialog, 1);
10082 return resultobj;
10083 fail:
10084 return NULL;
10085 }
10086
10087
10088 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10089 PyObject *resultobj;
10090 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
10091 wxColourData *result;
10092 PyObject * obj0 = 0 ;
10093 char *kwnames[] = {
10094 (char *) "self", NULL
10095 };
10096
10097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
10098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10099 {
10100 PyThreadState* __tstate = wxPyBeginAllowThreads();
10101 {
10102 wxColourData &_result_ref = (arg1)->GetColourData();
10103 result = (wxColourData *) &_result_ref;
10104 }
10105
10106 wxPyEndAllowThreads(__tstate);
10107 if (PyErr_Occurred()) SWIG_fail;
10108 }
10109 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 0);
10110 return resultobj;
10111 fail:
10112 return NULL;
10113 }
10114
10115
10116 static PyObject *_wrap_ColourDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
10117 PyObject *resultobj;
10118 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
10119 int result;
10120 PyObject * obj0 = 0 ;
10121 char *kwnames[] = {
10122 (char *) "self", NULL
10123 };
10124
10125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_ShowModal",kwnames,&obj0)) goto fail;
10126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10127 {
10128 PyThreadState* __tstate = wxPyBeginAllowThreads();
10129 result = (int)(arg1)->ShowModal();
10130
10131 wxPyEndAllowThreads(__tstate);
10132 if (PyErr_Occurred()) SWIG_fail;
10133 }
10134 resultobj = PyInt_FromLong((long)result);
10135 return resultobj;
10136 fail:
10137 return NULL;
10138 }
10139
10140
10141 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
10142 PyObject *obj;
10143 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10144 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
10145 Py_INCREF(obj);
10146 return Py_BuildValue((char *)"");
10147 }
10148 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10149 PyObject *resultobj;
10150 wxWindow *arg1 = (wxWindow *) 0 ;
10151 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
10152 wxString *arg2 = (wxString *) &arg2_defvalue ;
10153 wxString const &arg3_defvalue = wxPyEmptyString ;
10154 wxString *arg3 = (wxString *) &arg3_defvalue ;
10155 long arg4 = (long) 0 ;
10156 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10157 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10158 wxSize const &arg6_defvalue = wxDefaultSize ;
10159 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10160 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
10161 wxString *arg7 = (wxString *) &arg7_defvalue ;
10162 wxDirDialog *result;
10163 bool temp2 = False ;
10164 bool temp3 = False ;
10165 wxPoint temp5 ;
10166 wxSize temp6 ;
10167 bool temp7 = False ;
10168 PyObject * obj0 = 0 ;
10169 PyObject * obj1 = 0 ;
10170 PyObject * obj2 = 0 ;
10171 PyObject * obj4 = 0 ;
10172 PyObject * obj5 = 0 ;
10173 PyObject * obj6 = 0 ;
10174 char *kwnames[] = {
10175 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
10176 };
10177
10178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOlOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&obj5,&obj6)) goto fail;
10179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10180 if (obj1) {
10181 {
10182 arg2 = wxString_in_helper(obj1);
10183 if (arg2 == NULL) SWIG_fail;
10184 temp2 = True;
10185 }
10186 }
10187 if (obj2) {
10188 {
10189 arg3 = wxString_in_helper(obj2);
10190 if (arg3 == NULL) SWIG_fail;
10191 temp3 = True;
10192 }
10193 }
10194 if (obj4) {
10195 {
10196 arg5 = &temp5;
10197 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10198 }
10199 }
10200 if (obj5) {
10201 {
10202 arg6 = &temp6;
10203 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10204 }
10205 }
10206 if (obj6) {
10207 {
10208 arg7 = wxString_in_helper(obj6);
10209 if (arg7 == NULL) SWIG_fail;
10210 temp7 = True;
10211 }
10212 }
10213 {
10214 PyThreadState* __tstate = wxPyBeginAllowThreads();
10215 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
10216
10217 wxPyEndAllowThreads(__tstate);
10218 if (PyErr_Occurred()) SWIG_fail;
10219 }
10220 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirDialog, 1);
10221 {
10222 if (temp2)
10223 delete arg2;
10224 }
10225 {
10226 if (temp3)
10227 delete arg3;
10228 }
10229 {
10230 if (temp7)
10231 delete arg7;
10232 }
10233 return resultobj;
10234 fail:
10235 {
10236 if (temp2)
10237 delete arg2;
10238 }
10239 {
10240 if (temp3)
10241 delete arg3;
10242 }
10243 {
10244 if (temp7)
10245 delete arg7;
10246 }
10247 return NULL;
10248 }
10249
10250
10251 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10252 PyObject *resultobj;
10253 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10254 wxString result;
10255 PyObject * obj0 = 0 ;
10256 char *kwnames[] = {
10257 (char *) "self", NULL
10258 };
10259
10260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
10261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10262 {
10263 PyThreadState* __tstate = wxPyBeginAllowThreads();
10264 result = (arg1)->GetPath();
10265
10266 wxPyEndAllowThreads(__tstate);
10267 if (PyErr_Occurred()) SWIG_fail;
10268 }
10269 {
10270 #if wxUSE_UNICODE
10271 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10272 #else
10273 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10274 #endif
10275 }
10276 return resultobj;
10277 fail:
10278 return NULL;
10279 }
10280
10281
10282 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10283 PyObject *resultobj;
10284 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10285 wxString result;
10286 PyObject * obj0 = 0 ;
10287 char *kwnames[] = {
10288 (char *) "self", NULL
10289 };
10290
10291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
10292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10293 {
10294 PyThreadState* __tstate = wxPyBeginAllowThreads();
10295 result = (arg1)->GetMessage();
10296
10297 wxPyEndAllowThreads(__tstate);
10298 if (PyErr_Occurred()) SWIG_fail;
10299 }
10300 {
10301 #if wxUSE_UNICODE
10302 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10303 #else
10304 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10305 #endif
10306 }
10307 return resultobj;
10308 fail:
10309 return NULL;
10310 }
10311
10312
10313 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10314 PyObject *resultobj;
10315 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10316 long result;
10317 PyObject * obj0 = 0 ;
10318 char *kwnames[] = {
10319 (char *) "self", NULL
10320 };
10321
10322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
10323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10324 {
10325 PyThreadState* __tstate = wxPyBeginAllowThreads();
10326 result = (long)(arg1)->GetStyle();
10327
10328 wxPyEndAllowThreads(__tstate);
10329 if (PyErr_Occurred()) SWIG_fail;
10330 }
10331 resultobj = PyInt_FromLong((long)result);
10332 return resultobj;
10333 fail:
10334 return NULL;
10335 }
10336
10337
10338 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10339 PyObject *resultobj;
10340 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10341 wxString *arg2 = 0 ;
10342 bool temp2 = False ;
10343 PyObject * obj0 = 0 ;
10344 PyObject * obj1 = 0 ;
10345 char *kwnames[] = {
10346 (char *) "self",(char *) "message", NULL
10347 };
10348
10349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
10350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10351 {
10352 arg2 = wxString_in_helper(obj1);
10353 if (arg2 == NULL) SWIG_fail;
10354 temp2 = True;
10355 }
10356 {
10357 PyThreadState* __tstate = wxPyBeginAllowThreads();
10358 (arg1)->SetMessage((wxString const &)*arg2);
10359
10360 wxPyEndAllowThreads(__tstate);
10361 if (PyErr_Occurred()) SWIG_fail;
10362 }
10363 Py_INCREF(Py_None); resultobj = Py_None;
10364 {
10365 if (temp2)
10366 delete arg2;
10367 }
10368 return resultobj;
10369 fail:
10370 {
10371 if (temp2)
10372 delete arg2;
10373 }
10374 return NULL;
10375 }
10376
10377
10378 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10379 PyObject *resultobj;
10380 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10381 wxString *arg2 = 0 ;
10382 bool temp2 = False ;
10383 PyObject * obj0 = 0 ;
10384 PyObject * obj1 = 0 ;
10385 char *kwnames[] = {
10386 (char *) "self",(char *) "path", NULL
10387 };
10388
10389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
10390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10391 {
10392 arg2 = wxString_in_helper(obj1);
10393 if (arg2 == NULL) SWIG_fail;
10394 temp2 = True;
10395 }
10396 {
10397 PyThreadState* __tstate = wxPyBeginAllowThreads();
10398 (arg1)->SetPath((wxString const &)*arg2);
10399
10400 wxPyEndAllowThreads(__tstate);
10401 if (PyErr_Occurred()) SWIG_fail;
10402 }
10403 Py_INCREF(Py_None); resultobj = Py_None;
10404 {
10405 if (temp2)
10406 delete arg2;
10407 }
10408 return resultobj;
10409 fail:
10410 {
10411 if (temp2)
10412 delete arg2;
10413 }
10414 return NULL;
10415 }
10416
10417
10418 static PyObject *_wrap_DirDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
10419 PyObject *resultobj;
10420 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10421 int result;
10422 PyObject * obj0 = 0 ;
10423 char *kwnames[] = {
10424 (char *) "self", NULL
10425 };
10426
10427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_ShowModal",kwnames,&obj0)) goto fail;
10428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10429 {
10430 PyThreadState* __tstate = wxPyBeginAllowThreads();
10431 result = (int)(arg1)->ShowModal();
10432
10433 wxPyEndAllowThreads(__tstate);
10434 if (PyErr_Occurred()) SWIG_fail;
10435 }
10436 resultobj = PyInt_FromLong((long)result);
10437 return resultobj;
10438 fail:
10439 return NULL;
10440 }
10441
10442
10443 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
10444 PyObject *obj;
10445 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10446 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
10447 Py_INCREF(obj);
10448 return Py_BuildValue((char *)"");
10449 }
10450 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10451 PyObject *resultobj;
10452 wxWindow *arg1 = (wxWindow *) 0 ;
10453 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
10454 wxString *arg2 = (wxString *) &arg2_defvalue ;
10455 wxString const &arg3_defvalue = wxPyEmptyString ;
10456 wxString *arg3 = (wxString *) &arg3_defvalue ;
10457 wxString const &arg4_defvalue = wxPyEmptyString ;
10458 wxString *arg4 = (wxString *) &arg4_defvalue ;
10459 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
10460 wxString *arg5 = (wxString *) &arg5_defvalue ;
10461 long arg6 = (long) 0 ;
10462 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10463 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10464 wxFileDialog *result;
10465 bool temp2 = False ;
10466 bool temp3 = False ;
10467 bool temp4 = False ;
10468 bool temp5 = False ;
10469 wxPoint temp7 ;
10470 PyObject * obj0 = 0 ;
10471 PyObject * obj1 = 0 ;
10472 PyObject * obj2 = 0 ;
10473 PyObject * obj3 = 0 ;
10474 PyObject * obj4 = 0 ;
10475 PyObject * obj6 = 0 ;
10476 char *kwnames[] = {
10477 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
10478 };
10479
10480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOlO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
10481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10482 if (obj1) {
10483 {
10484 arg2 = wxString_in_helper(obj1);
10485 if (arg2 == NULL) SWIG_fail;
10486 temp2 = True;
10487 }
10488 }
10489 if (obj2) {
10490 {
10491 arg3 = wxString_in_helper(obj2);
10492 if (arg3 == NULL) SWIG_fail;
10493 temp3 = True;
10494 }
10495 }
10496 if (obj3) {
10497 {
10498 arg4 = wxString_in_helper(obj3);
10499 if (arg4 == NULL) SWIG_fail;
10500 temp4 = True;
10501 }
10502 }
10503 if (obj4) {
10504 {
10505 arg5 = wxString_in_helper(obj4);
10506 if (arg5 == NULL) SWIG_fail;
10507 temp5 = True;
10508 }
10509 }
10510 if (obj6) {
10511 {
10512 arg7 = &temp7;
10513 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10514 }
10515 }
10516 {
10517 PyThreadState* __tstate = wxPyBeginAllowThreads();
10518 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
10519
10520 wxPyEndAllowThreads(__tstate);
10521 if (PyErr_Occurred()) SWIG_fail;
10522 }
10523 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDialog, 1);
10524 {
10525 if (temp2)
10526 delete arg2;
10527 }
10528 {
10529 if (temp3)
10530 delete arg3;
10531 }
10532 {
10533 if (temp4)
10534 delete arg4;
10535 }
10536 {
10537 if (temp5)
10538 delete arg5;
10539 }
10540 return resultobj;
10541 fail:
10542 {
10543 if (temp2)
10544 delete arg2;
10545 }
10546 {
10547 if (temp3)
10548 delete arg3;
10549 }
10550 {
10551 if (temp4)
10552 delete arg4;
10553 }
10554 {
10555 if (temp5)
10556 delete arg5;
10557 }
10558 return NULL;
10559 }
10560
10561
10562 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10563 PyObject *resultobj;
10564 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10565 wxString *arg2 = 0 ;
10566 bool temp2 = False ;
10567 PyObject * obj0 = 0 ;
10568 PyObject * obj1 = 0 ;
10569 char *kwnames[] = {
10570 (char *) "self",(char *) "message", NULL
10571 };
10572
10573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
10574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10575 {
10576 arg2 = wxString_in_helper(obj1);
10577 if (arg2 == NULL) SWIG_fail;
10578 temp2 = True;
10579 }
10580 {
10581 PyThreadState* __tstate = wxPyBeginAllowThreads();
10582 (arg1)->SetMessage((wxString const &)*arg2);
10583
10584 wxPyEndAllowThreads(__tstate);
10585 if (PyErr_Occurred()) SWIG_fail;
10586 }
10587 Py_INCREF(Py_None); resultobj = Py_None;
10588 {
10589 if (temp2)
10590 delete arg2;
10591 }
10592 return resultobj;
10593 fail:
10594 {
10595 if (temp2)
10596 delete arg2;
10597 }
10598 return NULL;
10599 }
10600
10601
10602 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10603 PyObject *resultobj;
10604 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10605 wxString *arg2 = 0 ;
10606 bool temp2 = False ;
10607 PyObject * obj0 = 0 ;
10608 PyObject * obj1 = 0 ;
10609 char *kwnames[] = {
10610 (char *) "self",(char *) "path", NULL
10611 };
10612
10613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
10614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10615 {
10616 arg2 = wxString_in_helper(obj1);
10617 if (arg2 == NULL) SWIG_fail;
10618 temp2 = True;
10619 }
10620 {
10621 PyThreadState* __tstate = wxPyBeginAllowThreads();
10622 (arg1)->SetPath((wxString const &)*arg2);
10623
10624 wxPyEndAllowThreads(__tstate);
10625 if (PyErr_Occurred()) SWIG_fail;
10626 }
10627 Py_INCREF(Py_None); resultobj = Py_None;
10628 {
10629 if (temp2)
10630 delete arg2;
10631 }
10632 return resultobj;
10633 fail:
10634 {
10635 if (temp2)
10636 delete arg2;
10637 }
10638 return NULL;
10639 }
10640
10641
10642 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10643 PyObject *resultobj;
10644 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10645 wxString *arg2 = 0 ;
10646 bool temp2 = False ;
10647 PyObject * obj0 = 0 ;
10648 PyObject * obj1 = 0 ;
10649 char *kwnames[] = {
10650 (char *) "self",(char *) "dir", NULL
10651 };
10652
10653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
10654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10655 {
10656 arg2 = wxString_in_helper(obj1);
10657 if (arg2 == NULL) SWIG_fail;
10658 temp2 = True;
10659 }
10660 {
10661 PyThreadState* __tstate = wxPyBeginAllowThreads();
10662 (arg1)->SetDirectory((wxString const &)*arg2);
10663
10664 wxPyEndAllowThreads(__tstate);
10665 if (PyErr_Occurred()) SWIG_fail;
10666 }
10667 Py_INCREF(Py_None); resultobj = Py_None;
10668 {
10669 if (temp2)
10670 delete arg2;
10671 }
10672 return resultobj;
10673 fail:
10674 {
10675 if (temp2)
10676 delete arg2;
10677 }
10678 return NULL;
10679 }
10680
10681
10682 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10683 PyObject *resultobj;
10684 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10685 wxString *arg2 = 0 ;
10686 bool temp2 = False ;
10687 PyObject * obj0 = 0 ;
10688 PyObject * obj1 = 0 ;
10689 char *kwnames[] = {
10690 (char *) "self",(char *) "name", NULL
10691 };
10692
10693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
10694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10695 {
10696 arg2 = wxString_in_helper(obj1);
10697 if (arg2 == NULL) SWIG_fail;
10698 temp2 = True;
10699 }
10700 {
10701 PyThreadState* __tstate = wxPyBeginAllowThreads();
10702 (arg1)->SetFilename((wxString const &)*arg2);
10703
10704 wxPyEndAllowThreads(__tstate);
10705 if (PyErr_Occurred()) SWIG_fail;
10706 }
10707 Py_INCREF(Py_None); resultobj = Py_None;
10708 {
10709 if (temp2)
10710 delete arg2;
10711 }
10712 return resultobj;
10713 fail:
10714 {
10715 if (temp2)
10716 delete arg2;
10717 }
10718 return NULL;
10719 }
10720
10721
10722 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10723 PyObject *resultobj;
10724 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10725 wxString *arg2 = 0 ;
10726 bool temp2 = False ;
10727 PyObject * obj0 = 0 ;
10728 PyObject * obj1 = 0 ;
10729 char *kwnames[] = {
10730 (char *) "self",(char *) "wildCard", NULL
10731 };
10732
10733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
10734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10735 {
10736 arg2 = wxString_in_helper(obj1);
10737 if (arg2 == NULL) SWIG_fail;
10738 temp2 = True;
10739 }
10740 {
10741 PyThreadState* __tstate = wxPyBeginAllowThreads();
10742 (arg1)->SetWildcard((wxString const &)*arg2);
10743
10744 wxPyEndAllowThreads(__tstate);
10745 if (PyErr_Occurred()) SWIG_fail;
10746 }
10747 Py_INCREF(Py_None); resultobj = Py_None;
10748 {
10749 if (temp2)
10750 delete arg2;
10751 }
10752 return resultobj;
10753 fail:
10754 {
10755 if (temp2)
10756 delete arg2;
10757 }
10758 return NULL;
10759 }
10760
10761
10762 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10763 PyObject *resultobj;
10764 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10765 long arg2 ;
10766 PyObject * obj0 = 0 ;
10767 char *kwnames[] = {
10768 (char *) "self",(char *) "style", NULL
10769 };
10770
10771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:FileDialog_SetStyle",kwnames,&obj0,&arg2)) goto fail;
10772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10773 {
10774 PyThreadState* __tstate = wxPyBeginAllowThreads();
10775 (arg1)->SetStyle(arg2);
10776
10777 wxPyEndAllowThreads(__tstate);
10778 if (PyErr_Occurred()) SWIG_fail;
10779 }
10780 Py_INCREF(Py_None); resultobj = Py_None;
10781 return resultobj;
10782 fail:
10783 return NULL;
10784 }
10785
10786
10787 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10788 PyObject *resultobj;
10789 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10790 int arg2 ;
10791 PyObject * obj0 = 0 ;
10792 char *kwnames[] = {
10793 (char *) "self",(char *) "filterIndex", NULL
10794 };
10795
10796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileDialog_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
10797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10798 {
10799 PyThreadState* __tstate = wxPyBeginAllowThreads();
10800 (arg1)->SetFilterIndex(arg2);
10801
10802 wxPyEndAllowThreads(__tstate);
10803 if (PyErr_Occurred()) SWIG_fail;
10804 }
10805 Py_INCREF(Py_None); resultobj = Py_None;
10806 return resultobj;
10807 fail:
10808 return NULL;
10809 }
10810
10811
10812 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10813 PyObject *resultobj;
10814 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10815 wxString result;
10816 PyObject * obj0 = 0 ;
10817 char *kwnames[] = {
10818 (char *) "self", NULL
10819 };
10820
10821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
10822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10823 {
10824 PyThreadState* __tstate = wxPyBeginAllowThreads();
10825 result = ((wxFileDialog const *)arg1)->GetMessage();
10826
10827 wxPyEndAllowThreads(__tstate);
10828 if (PyErr_Occurred()) SWIG_fail;
10829 }
10830 {
10831 #if wxUSE_UNICODE
10832 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10833 #else
10834 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10835 #endif
10836 }
10837 return resultobj;
10838 fail:
10839 return NULL;
10840 }
10841
10842
10843 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10844 PyObject *resultobj;
10845 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10846 wxString result;
10847 PyObject * obj0 = 0 ;
10848 char *kwnames[] = {
10849 (char *) "self", NULL
10850 };
10851
10852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
10853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10854 {
10855 PyThreadState* __tstate = wxPyBeginAllowThreads();
10856 result = ((wxFileDialog const *)arg1)->GetPath();
10857
10858 wxPyEndAllowThreads(__tstate);
10859 if (PyErr_Occurred()) SWIG_fail;
10860 }
10861 {
10862 #if wxUSE_UNICODE
10863 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10864 #else
10865 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10866 #endif
10867 }
10868 return resultobj;
10869 fail:
10870 return NULL;
10871 }
10872
10873
10874 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10875 PyObject *resultobj;
10876 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10877 wxString result;
10878 PyObject * obj0 = 0 ;
10879 char *kwnames[] = {
10880 (char *) "self", NULL
10881 };
10882
10883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
10884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10885 {
10886 PyThreadState* __tstate = wxPyBeginAllowThreads();
10887 result = ((wxFileDialog const *)arg1)->GetDirectory();
10888
10889 wxPyEndAllowThreads(__tstate);
10890 if (PyErr_Occurred()) SWIG_fail;
10891 }
10892 {
10893 #if wxUSE_UNICODE
10894 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10895 #else
10896 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10897 #endif
10898 }
10899 return resultobj;
10900 fail:
10901 return NULL;
10902 }
10903
10904
10905 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10906 PyObject *resultobj;
10907 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10908 wxString result;
10909 PyObject * obj0 = 0 ;
10910 char *kwnames[] = {
10911 (char *) "self", NULL
10912 };
10913
10914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
10915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10916 {
10917 PyThreadState* __tstate = wxPyBeginAllowThreads();
10918 result = ((wxFileDialog const *)arg1)->GetFilename();
10919
10920 wxPyEndAllowThreads(__tstate);
10921 if (PyErr_Occurred()) SWIG_fail;
10922 }
10923 {
10924 #if wxUSE_UNICODE
10925 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10926 #else
10927 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10928 #endif
10929 }
10930 return resultobj;
10931 fail:
10932 return NULL;
10933 }
10934
10935
10936 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10937 PyObject *resultobj;
10938 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10939 wxString result;
10940 PyObject * obj0 = 0 ;
10941 char *kwnames[] = {
10942 (char *) "self", NULL
10943 };
10944
10945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
10946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10947 {
10948 PyThreadState* __tstate = wxPyBeginAllowThreads();
10949 result = ((wxFileDialog const *)arg1)->GetWildcard();
10950
10951 wxPyEndAllowThreads(__tstate);
10952 if (PyErr_Occurred()) SWIG_fail;
10953 }
10954 {
10955 #if wxUSE_UNICODE
10956 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10957 #else
10958 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10959 #endif
10960 }
10961 return resultobj;
10962 fail:
10963 return NULL;
10964 }
10965
10966
10967 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10968 PyObject *resultobj;
10969 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10970 long result;
10971 PyObject * obj0 = 0 ;
10972 char *kwnames[] = {
10973 (char *) "self", NULL
10974 };
10975
10976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
10977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10978 {
10979 PyThreadState* __tstate = wxPyBeginAllowThreads();
10980 result = (long)((wxFileDialog const *)arg1)->GetStyle();
10981
10982 wxPyEndAllowThreads(__tstate);
10983 if (PyErr_Occurred()) SWIG_fail;
10984 }
10985 resultobj = PyInt_FromLong((long)result);
10986 return resultobj;
10987 fail:
10988 return NULL;
10989 }
10990
10991
10992 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10993 PyObject *resultobj;
10994 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10995 int result;
10996 PyObject * obj0 = 0 ;
10997 char *kwnames[] = {
10998 (char *) "self", NULL
10999 };
11000
11001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
11002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11003 {
11004 PyThreadState* __tstate = wxPyBeginAllowThreads();
11005 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
11006
11007 wxPyEndAllowThreads(__tstate);
11008 if (PyErr_Occurred()) SWIG_fail;
11009 }
11010 resultobj = PyInt_FromLong((long)result);
11011 return resultobj;
11012 fail:
11013 return NULL;
11014 }
11015
11016
11017 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
11018 PyObject *resultobj;
11019 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11020 PyObject *result;
11021 PyObject * obj0 = 0 ;
11022 char *kwnames[] = {
11023 (char *) "self", NULL
11024 };
11025
11026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
11027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11028 {
11029 PyThreadState* __tstate = wxPyBeginAllowThreads();
11030 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
11031
11032 wxPyEndAllowThreads(__tstate);
11033 if (PyErr_Occurred()) SWIG_fail;
11034 }
11035 resultobj = result;
11036 return resultobj;
11037 fail:
11038 return NULL;
11039 }
11040
11041
11042 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
11043 PyObject *resultobj;
11044 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11045 PyObject *result;
11046 PyObject * obj0 = 0 ;
11047 char *kwnames[] = {
11048 (char *) "self", NULL
11049 };
11050
11051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
11052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11053 {
11054 PyThreadState* __tstate = wxPyBeginAllowThreads();
11055 result = (PyObject *)wxFileDialog_GetPaths(arg1);
11056
11057 wxPyEndAllowThreads(__tstate);
11058 if (PyErr_Occurred()) SWIG_fail;
11059 }
11060 resultobj = result;
11061 return resultobj;
11062 fail:
11063 return NULL;
11064 }
11065
11066
11067 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
11068 PyObject *obj;
11069 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11070 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
11071 Py_INCREF(obj);
11072 return Py_BuildValue((char *)"");
11073 }
11074 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11075 PyObject *resultobj;
11076 wxWindow *arg1 = (wxWindow *) 0 ;
11077 wxString *arg2 = 0 ;
11078 wxString *arg3 = 0 ;
11079 int arg4 ;
11080 wxString *arg5 = (wxString *) 0 ;
11081 long arg6 = (long) wxCHOICEDLG_STYLE ;
11082 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11083 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11084 wxMultiChoiceDialog *result;
11085 bool temp2 = False ;
11086 bool temp3 = False ;
11087 wxPoint temp7 ;
11088 PyObject * obj0 = 0 ;
11089 PyObject * obj1 = 0 ;
11090 PyObject * obj2 = 0 ;
11091 PyObject * obj4 = 0 ;
11092 PyObject * obj6 = 0 ;
11093 char *kwnames[] = {
11094 (char *) "parent",(char *) "message",(char *) "caption",(char *) "LCOUNT",(char *) "choices",(char *) "style",(char *) "pos", NULL
11095 };
11096
11097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiO|lO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&arg6,&obj6)) goto fail;
11098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11099 {
11100 arg2 = wxString_in_helper(obj1);
11101 if (arg2 == NULL) SWIG_fail;
11102 temp2 = True;
11103 }
11104 {
11105 arg3 = wxString_in_helper(obj2);
11106 if (arg3 == NULL) SWIG_fail;
11107 temp3 = True;
11108 }
11109 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11110 if (obj6) {
11111 {
11112 arg7 = &temp7;
11113 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11114 }
11115 }
11116 {
11117 PyThreadState* __tstate = wxPyBeginAllowThreads();
11118 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
11119
11120 wxPyEndAllowThreads(__tstate);
11121 if (PyErr_Occurred()) SWIG_fail;
11122 }
11123 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMultiChoiceDialog, 1);
11124 {
11125 if (temp2)
11126 delete arg2;
11127 }
11128 {
11129 if (temp3)
11130 delete arg3;
11131 }
11132 return resultobj;
11133 fail:
11134 {
11135 if (temp2)
11136 delete arg2;
11137 }
11138 {
11139 if (temp3)
11140 delete arg3;
11141 }
11142 return NULL;
11143 }
11144
11145
11146 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
11147 PyObject *resultobj;
11148 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
11149 wxArrayInt *arg2 = 0 ;
11150 PyObject * obj0 = 0 ;
11151 PyObject * obj1 = 0 ;
11152 char *kwnames[] = {
11153 (char *) "self",(char *) "selections", NULL
11154 };
11155
11156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
11157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11158 {
11159 if (! PySequence_Check(obj1)) {
11160 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
11161 SWIG_fail;
11162 }
11163 arg2 = new wxArrayInt;
11164 int i, len=PySequence_Length(obj1);
11165 for (i=0; i<len; i++) {
11166 PyObject* item = PySequence_GetItem(obj1, i);
11167 PyObject* number = PyNumber_Int(item);
11168 arg2->Add(PyInt_AS_LONG(number));
11169 Py_DECREF(item);
11170 Py_DECREF(number);
11171 }
11172 }
11173 {
11174 PyThreadState* __tstate = wxPyBeginAllowThreads();
11175 (arg1)->SetSelections((wxArrayInt const &)*arg2);
11176
11177 wxPyEndAllowThreads(__tstate);
11178 if (PyErr_Occurred()) SWIG_fail;
11179 }
11180 Py_INCREF(Py_None); resultobj = Py_None;
11181 {
11182 if (arg2) delete arg2;
11183 }
11184 return resultobj;
11185 fail:
11186 {
11187 if (arg2) delete arg2;
11188 }
11189 return NULL;
11190 }
11191
11192
11193 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
11194 PyObject *resultobj;
11195 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
11196 PyObject *result;
11197 PyObject * obj0 = 0 ;
11198 char *kwnames[] = {
11199 (char *) "self", NULL
11200 };
11201
11202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
11203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11204 {
11205 PyThreadState* __tstate = wxPyBeginAllowThreads();
11206 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
11207
11208 wxPyEndAllowThreads(__tstate);
11209 if (PyErr_Occurred()) SWIG_fail;
11210 }
11211 resultobj = result;
11212 return resultobj;
11213 fail:
11214 return NULL;
11215 }
11216
11217
11218 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
11219 PyObject *obj;
11220 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11221 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
11222 Py_INCREF(obj);
11223 return Py_BuildValue((char *)"");
11224 }
11225 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11226 PyObject *resultobj;
11227 wxWindow *arg1 = (wxWindow *) 0 ;
11228 wxString *arg2 = 0 ;
11229 wxString *arg3 = 0 ;
11230 int arg4 ;
11231 wxString *arg5 = (wxString *) 0 ;
11232 long arg6 = (long) wxCHOICEDLG_STYLE ;
11233 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11234 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11235 wxSingleChoiceDialog *result;
11236 bool temp2 = False ;
11237 bool temp3 = False ;
11238 wxPoint temp6 ;
11239 PyObject * obj0 = 0 ;
11240 PyObject * obj1 = 0 ;
11241 PyObject * obj2 = 0 ;
11242 PyObject * obj3 = 0 ;
11243 PyObject * obj5 = 0 ;
11244 char *kwnames[] = {
11245 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11246 };
11247
11248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|lO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&obj5)) goto fail;
11249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11250 {
11251 arg2 = wxString_in_helper(obj1);
11252 if (arg2 == NULL) SWIG_fail;
11253 temp2 = True;
11254 }
11255 {
11256 arg3 = wxString_in_helper(obj2);
11257 if (arg3 == NULL) SWIG_fail;
11258 temp3 = True;
11259 }
11260 {
11261 arg4 = PyList_Size(obj3);
11262 arg5 = wxString_LIST_helper(obj3);
11263 if (arg5 == NULL) SWIG_fail;
11264 }
11265 if (obj5) {
11266 {
11267 arg7 = &temp6;
11268 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
11269 }
11270 }
11271 {
11272 PyThreadState* __tstate = wxPyBeginAllowThreads();
11273 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
11274
11275 wxPyEndAllowThreads(__tstate);
11276 if (PyErr_Occurred()) SWIG_fail;
11277 }
11278 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleChoiceDialog, 1);
11279 {
11280 if (temp2)
11281 delete arg2;
11282 }
11283 {
11284 if (temp3)
11285 delete arg3;
11286 }
11287 {
11288 if (arg5) delete [] arg5;
11289 }
11290 return resultobj;
11291 fail:
11292 {
11293 if (temp2)
11294 delete arg2;
11295 }
11296 {
11297 if (temp3)
11298 delete arg3;
11299 }
11300 {
11301 if (arg5) delete [] arg5;
11302 }
11303 return NULL;
11304 }
11305
11306
11307 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11308 PyObject *resultobj;
11309 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11310 int result;
11311 PyObject * obj0 = 0 ;
11312 char *kwnames[] = {
11313 (char *) "self", NULL
11314 };
11315
11316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
11317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11318 {
11319 PyThreadState* __tstate = wxPyBeginAllowThreads();
11320 result = (int)(arg1)->GetSelection();
11321
11322 wxPyEndAllowThreads(__tstate);
11323 if (PyErr_Occurred()) SWIG_fail;
11324 }
11325 resultobj = PyInt_FromLong((long)result);
11326 return resultobj;
11327 fail:
11328 return NULL;
11329 }
11330
11331
11332 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11333 PyObject *resultobj;
11334 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11335 wxString result;
11336 PyObject * obj0 = 0 ;
11337 char *kwnames[] = {
11338 (char *) "self", NULL
11339 };
11340
11341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
11342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11343 {
11344 PyThreadState* __tstate = wxPyBeginAllowThreads();
11345 result = (arg1)->GetStringSelection();
11346
11347 wxPyEndAllowThreads(__tstate);
11348 if (PyErr_Occurred()) SWIG_fail;
11349 }
11350 {
11351 #if wxUSE_UNICODE
11352 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11353 #else
11354 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11355 #endif
11356 }
11357 return resultobj;
11358 fail:
11359 return NULL;
11360 }
11361
11362
11363 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11364 PyObject *resultobj;
11365 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11366 int arg2 ;
11367 PyObject * obj0 = 0 ;
11368 char *kwnames[] = {
11369 (char *) "self",(char *) "sel", NULL
11370 };
11371
11372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SingleChoiceDialog_SetSelection",kwnames,&obj0,&arg2)) goto fail;
11373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11374 {
11375 PyThreadState* __tstate = wxPyBeginAllowThreads();
11376 (arg1)->SetSelection(arg2);
11377
11378 wxPyEndAllowThreads(__tstate);
11379 if (PyErr_Occurred()) SWIG_fail;
11380 }
11381 Py_INCREF(Py_None); resultobj = Py_None;
11382 return resultobj;
11383 fail:
11384 return NULL;
11385 }
11386
11387
11388 static PyObject *_wrap_SingleChoiceDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11389 PyObject *resultobj;
11390 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11391 int result;
11392 PyObject * obj0 = 0 ;
11393 char *kwnames[] = {
11394 (char *) "self", NULL
11395 };
11396
11397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_ShowModal",kwnames,&obj0)) goto fail;
11398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11399 {
11400 PyThreadState* __tstate = wxPyBeginAllowThreads();
11401 result = (int)(arg1)->ShowModal();
11402
11403 wxPyEndAllowThreads(__tstate);
11404 if (PyErr_Occurred()) SWIG_fail;
11405 }
11406 resultobj = PyInt_FromLong((long)result);
11407 return resultobj;
11408 fail:
11409 return NULL;
11410 }
11411
11412
11413 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
11414 PyObject *obj;
11415 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11416 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
11417 Py_INCREF(obj);
11418 return Py_BuildValue((char *)"");
11419 }
11420 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11421 PyObject *resultobj;
11422 wxWindow *arg1 = (wxWindow *) 0 ;
11423 wxString *arg2 = 0 ;
11424 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
11425 wxString *arg3 = (wxString *) &arg3_defvalue ;
11426 wxString const &arg4_defvalue = wxPyEmptyString ;
11427 wxString *arg4 = (wxString *) &arg4_defvalue ;
11428 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
11429 wxPoint const &arg6_defvalue = wxDefaultPosition ;
11430 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
11431 wxTextEntryDialog *result;
11432 bool temp2 = False ;
11433 bool temp3 = False ;
11434 bool temp4 = False ;
11435 wxPoint temp6 ;
11436 PyObject * obj0 = 0 ;
11437 PyObject * obj1 = 0 ;
11438 PyObject * obj2 = 0 ;
11439 PyObject * obj3 = 0 ;
11440 PyObject * obj5 = 0 ;
11441 char *kwnames[] = {
11442 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
11443 };
11444
11445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
11446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11447 {
11448 arg2 = wxString_in_helper(obj1);
11449 if (arg2 == NULL) SWIG_fail;
11450 temp2 = True;
11451 }
11452 if (obj2) {
11453 {
11454 arg3 = wxString_in_helper(obj2);
11455 if (arg3 == NULL) SWIG_fail;
11456 temp3 = True;
11457 }
11458 }
11459 if (obj3) {
11460 {
11461 arg4 = wxString_in_helper(obj3);
11462 if (arg4 == NULL) SWIG_fail;
11463 temp4 = True;
11464 }
11465 }
11466 if (obj5) {
11467 {
11468 arg6 = &temp6;
11469 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
11470 }
11471 }
11472 {
11473 PyThreadState* __tstate = wxPyBeginAllowThreads();
11474 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
11475
11476 wxPyEndAllowThreads(__tstate);
11477 if (PyErr_Occurred()) SWIG_fail;
11478 }
11479 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextEntryDialog, 1);
11480 {
11481 if (temp2)
11482 delete arg2;
11483 }
11484 {
11485 if (temp3)
11486 delete arg3;
11487 }
11488 {
11489 if (temp4)
11490 delete arg4;
11491 }
11492 return resultobj;
11493 fail:
11494 {
11495 if (temp2)
11496 delete arg2;
11497 }
11498 {
11499 if (temp3)
11500 delete arg3;
11501 }
11502 {
11503 if (temp4)
11504 delete arg4;
11505 }
11506 return NULL;
11507 }
11508
11509
11510 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11511 PyObject *resultobj;
11512 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11513 wxString result;
11514 PyObject * obj0 = 0 ;
11515 char *kwnames[] = {
11516 (char *) "self", NULL
11517 };
11518
11519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
11520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11521 {
11522 PyThreadState* __tstate = wxPyBeginAllowThreads();
11523 result = (arg1)->GetValue();
11524
11525 wxPyEndAllowThreads(__tstate);
11526 if (PyErr_Occurred()) SWIG_fail;
11527 }
11528 {
11529 #if wxUSE_UNICODE
11530 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11531 #else
11532 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11533 #endif
11534 }
11535 return resultobj;
11536 fail:
11537 return NULL;
11538 }
11539
11540
11541 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11542 PyObject *resultobj;
11543 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11544 wxString *arg2 = 0 ;
11545 bool temp2 = False ;
11546 PyObject * obj0 = 0 ;
11547 PyObject * obj1 = 0 ;
11548 char *kwnames[] = {
11549 (char *) "self",(char *) "value", NULL
11550 };
11551
11552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
11553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11554 {
11555 arg2 = wxString_in_helper(obj1);
11556 if (arg2 == NULL) SWIG_fail;
11557 temp2 = True;
11558 }
11559 {
11560 PyThreadState* __tstate = wxPyBeginAllowThreads();
11561 (arg1)->SetValue((wxString const &)*arg2);
11562
11563 wxPyEndAllowThreads(__tstate);
11564 if (PyErr_Occurred()) SWIG_fail;
11565 }
11566 Py_INCREF(Py_None); resultobj = Py_None;
11567 {
11568 if (temp2)
11569 delete arg2;
11570 }
11571 return resultobj;
11572 fail:
11573 {
11574 if (temp2)
11575 delete arg2;
11576 }
11577 return NULL;
11578 }
11579
11580
11581 static PyObject *_wrap_TextEntryDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11582 PyObject *resultobj;
11583 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11584 int result;
11585 PyObject * obj0 = 0 ;
11586 char *kwnames[] = {
11587 (char *) "self", NULL
11588 };
11589
11590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_ShowModal",kwnames,&obj0)) goto fail;
11591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11592 {
11593 PyThreadState* __tstate = wxPyBeginAllowThreads();
11594 result = (int)(arg1)->ShowModal();
11595
11596 wxPyEndAllowThreads(__tstate);
11597 if (PyErr_Occurred()) SWIG_fail;
11598 }
11599 resultobj = PyInt_FromLong((long)result);
11600 return resultobj;
11601 fail:
11602 return NULL;
11603 }
11604
11605
11606 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
11607 PyObject *obj;
11608 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11609 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
11610 Py_INCREF(obj);
11611 return Py_BuildValue((char *)"");
11612 }
11613 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11614 PyObject *resultobj;
11615 wxFontData *result;
11616 char *kwnames[] = {
11617 NULL
11618 };
11619
11620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
11621 {
11622 PyThreadState* __tstate = wxPyBeginAllowThreads();
11623 result = (wxFontData *)new wxFontData();
11624
11625 wxPyEndAllowThreads(__tstate);
11626 if (PyErr_Occurred()) SWIG_fail;
11627 }
11628 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 1);
11629 return resultobj;
11630 fail:
11631 return NULL;
11632 }
11633
11634
11635 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11636 PyObject *resultobj;
11637 wxFontData *arg1 = (wxFontData *) 0 ;
11638 PyObject * obj0 = 0 ;
11639 char *kwnames[] = {
11640 (char *) "self", NULL
11641 };
11642
11643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
11644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11645 {
11646 PyThreadState* __tstate = wxPyBeginAllowThreads();
11647 delete arg1;
11648
11649 wxPyEndAllowThreads(__tstate);
11650 if (PyErr_Occurred()) SWIG_fail;
11651 }
11652 Py_INCREF(Py_None); resultobj = Py_None;
11653 return resultobj;
11654 fail:
11655 return NULL;
11656 }
11657
11658
11659 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11660 PyObject *resultobj;
11661 wxFontData *arg1 = (wxFontData *) 0 ;
11662 bool arg2 ;
11663 PyObject * obj0 = 0 ;
11664 PyObject * obj1 = 0 ;
11665 char *kwnames[] = {
11666 (char *) "self",(char *) "enable", NULL
11667 };
11668
11669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
11670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11671 arg2 = PyInt_AsLong(obj1) ? true : false;
11672 if (PyErr_Occurred()) SWIG_fail;
11673 {
11674 PyThreadState* __tstate = wxPyBeginAllowThreads();
11675 (arg1)->EnableEffects(arg2);
11676
11677 wxPyEndAllowThreads(__tstate);
11678 if (PyErr_Occurred()) SWIG_fail;
11679 }
11680 Py_INCREF(Py_None); resultobj = Py_None;
11681 return resultobj;
11682 fail:
11683 return NULL;
11684 }
11685
11686
11687 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11688 PyObject *resultobj;
11689 wxFontData *arg1 = (wxFontData *) 0 ;
11690 bool result;
11691 PyObject * obj0 = 0 ;
11692 char *kwnames[] = {
11693 (char *) "self", NULL
11694 };
11695
11696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
11697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11698 {
11699 PyThreadState* __tstate = wxPyBeginAllowThreads();
11700 result = (bool)(arg1)->GetAllowSymbols();
11701
11702 wxPyEndAllowThreads(__tstate);
11703 if (PyErr_Occurred()) SWIG_fail;
11704 }
11705 resultobj = PyInt_FromLong((long)result);
11706 return resultobj;
11707 fail:
11708 return NULL;
11709 }
11710
11711
11712 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11713 PyObject *resultobj;
11714 wxFontData *arg1 = (wxFontData *) 0 ;
11715 wxColour result;
11716 PyObject * obj0 = 0 ;
11717 char *kwnames[] = {
11718 (char *) "self", NULL
11719 };
11720
11721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
11722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11723 {
11724 PyThreadState* __tstate = wxPyBeginAllowThreads();
11725 result = (arg1)->GetColour();
11726
11727 wxPyEndAllowThreads(__tstate);
11728 if (PyErr_Occurred()) SWIG_fail;
11729 }
11730 {
11731 wxColour * resultptr;
11732 resultptr = new wxColour((wxColour &) result);
11733 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
11734 }
11735 return resultobj;
11736 fail:
11737 return NULL;
11738 }
11739
11740
11741 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11742 PyObject *resultobj;
11743 wxFontData *arg1 = (wxFontData *) 0 ;
11744 wxFont result;
11745 PyObject * obj0 = 0 ;
11746 char *kwnames[] = {
11747 (char *) "self", NULL
11748 };
11749
11750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
11751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11752 {
11753 PyThreadState* __tstate = wxPyBeginAllowThreads();
11754 result = (arg1)->GetChosenFont();
11755
11756 wxPyEndAllowThreads(__tstate);
11757 if (PyErr_Occurred()) SWIG_fail;
11758 }
11759 {
11760 wxFont * resultptr;
11761 resultptr = new wxFont((wxFont &) result);
11762 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11763 }
11764 return resultobj;
11765 fail:
11766 return NULL;
11767 }
11768
11769
11770 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11771 PyObject *resultobj;
11772 wxFontData *arg1 = (wxFontData *) 0 ;
11773 bool result;
11774 PyObject * obj0 = 0 ;
11775 char *kwnames[] = {
11776 (char *) "self", NULL
11777 };
11778
11779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
11780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11781 {
11782 PyThreadState* __tstate = wxPyBeginAllowThreads();
11783 result = (bool)(arg1)->GetEnableEffects();
11784
11785 wxPyEndAllowThreads(__tstate);
11786 if (PyErr_Occurred()) SWIG_fail;
11787 }
11788 resultobj = PyInt_FromLong((long)result);
11789 return resultobj;
11790 fail:
11791 return NULL;
11792 }
11793
11794
11795 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11796 PyObject *resultobj;
11797 wxFontData *arg1 = (wxFontData *) 0 ;
11798 wxFont result;
11799 PyObject * obj0 = 0 ;
11800 char *kwnames[] = {
11801 (char *) "self", NULL
11802 };
11803
11804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
11805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11806 {
11807 PyThreadState* __tstate = wxPyBeginAllowThreads();
11808 result = (arg1)->GetInitialFont();
11809
11810 wxPyEndAllowThreads(__tstate);
11811 if (PyErr_Occurred()) SWIG_fail;
11812 }
11813 {
11814 wxFont * resultptr;
11815 resultptr = new wxFont((wxFont &) result);
11816 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11817 }
11818 return resultobj;
11819 fail:
11820 return NULL;
11821 }
11822
11823
11824 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11825 PyObject *resultobj;
11826 wxFontData *arg1 = (wxFontData *) 0 ;
11827 bool result;
11828 PyObject * obj0 = 0 ;
11829 char *kwnames[] = {
11830 (char *) "self", NULL
11831 };
11832
11833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
11834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11835 {
11836 PyThreadState* __tstate = wxPyBeginAllowThreads();
11837 result = (bool)(arg1)->GetShowHelp();
11838
11839 wxPyEndAllowThreads(__tstate);
11840 if (PyErr_Occurred()) SWIG_fail;
11841 }
11842 resultobj = PyInt_FromLong((long)result);
11843 return resultobj;
11844 fail:
11845 return NULL;
11846 }
11847
11848
11849 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11850 PyObject *resultobj;
11851 wxFontData *arg1 = (wxFontData *) 0 ;
11852 bool arg2 ;
11853 PyObject * obj0 = 0 ;
11854 PyObject * obj1 = 0 ;
11855 char *kwnames[] = {
11856 (char *) "self",(char *) "allowSymbols", NULL
11857 };
11858
11859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
11860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11861 arg2 = PyInt_AsLong(obj1) ? true : false;
11862 if (PyErr_Occurred()) SWIG_fail;
11863 {
11864 PyThreadState* __tstate = wxPyBeginAllowThreads();
11865 (arg1)->SetAllowSymbols(arg2);
11866
11867 wxPyEndAllowThreads(__tstate);
11868 if (PyErr_Occurred()) SWIG_fail;
11869 }
11870 Py_INCREF(Py_None); resultobj = Py_None;
11871 return resultobj;
11872 fail:
11873 return NULL;
11874 }
11875
11876
11877 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11878 PyObject *resultobj;
11879 wxFontData *arg1 = (wxFontData *) 0 ;
11880 wxFont *arg2 = 0 ;
11881 PyObject * obj0 = 0 ;
11882 PyObject * obj1 = 0 ;
11883 char *kwnames[] = {
11884 (char *) "self",(char *) "font", NULL
11885 };
11886
11887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
11888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11889 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11890 if (arg2 == NULL) {
11891 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11892 }
11893 {
11894 PyThreadState* __tstate = wxPyBeginAllowThreads();
11895 (arg1)->SetChosenFont((wxFont const &)*arg2);
11896
11897 wxPyEndAllowThreads(__tstate);
11898 if (PyErr_Occurred()) SWIG_fail;
11899 }
11900 Py_INCREF(Py_None); resultobj = Py_None;
11901 return resultobj;
11902 fail:
11903 return NULL;
11904 }
11905
11906
11907 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11908 PyObject *resultobj;
11909 wxFontData *arg1 = (wxFontData *) 0 ;
11910 wxColour *arg2 = 0 ;
11911 wxColour temp2 ;
11912 PyObject * obj0 = 0 ;
11913 PyObject * obj1 = 0 ;
11914 char *kwnames[] = {
11915 (char *) "self",(char *) "colour", NULL
11916 };
11917
11918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11920 {
11921 arg2 = &temp2;
11922 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11923 }
11924 {
11925 PyThreadState* __tstate = wxPyBeginAllowThreads();
11926 (arg1)->SetColour((wxColour const &)*arg2);
11927
11928 wxPyEndAllowThreads(__tstate);
11929 if (PyErr_Occurred()) SWIG_fail;
11930 }
11931 Py_INCREF(Py_None); resultobj = Py_None;
11932 return resultobj;
11933 fail:
11934 return NULL;
11935 }
11936
11937
11938 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11939 PyObject *resultobj;
11940 wxFontData *arg1 = (wxFontData *) 0 ;
11941 wxFont *arg2 = 0 ;
11942 PyObject * obj0 = 0 ;
11943 PyObject * obj1 = 0 ;
11944 char *kwnames[] = {
11945 (char *) "self",(char *) "font", NULL
11946 };
11947
11948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
11949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11950 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11951 if (arg2 == NULL) {
11952 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11953 }
11954 {
11955 PyThreadState* __tstate = wxPyBeginAllowThreads();
11956 (arg1)->SetInitialFont((wxFont const &)*arg2);
11957
11958 wxPyEndAllowThreads(__tstate);
11959 if (PyErr_Occurred()) SWIG_fail;
11960 }
11961 Py_INCREF(Py_None); resultobj = Py_None;
11962 return resultobj;
11963 fail:
11964 return NULL;
11965 }
11966
11967
11968 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11969 PyObject *resultobj;
11970 wxFontData *arg1 = (wxFontData *) 0 ;
11971 int arg2 ;
11972 int arg3 ;
11973 PyObject * obj0 = 0 ;
11974 char *kwnames[] = {
11975 (char *) "self",(char *) "min",(char *) "max", NULL
11976 };
11977
11978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:FontData_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
11979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11980 {
11981 PyThreadState* __tstate = wxPyBeginAllowThreads();
11982 (arg1)->SetRange(arg2,arg3);
11983
11984 wxPyEndAllowThreads(__tstate);
11985 if (PyErr_Occurred()) SWIG_fail;
11986 }
11987 Py_INCREF(Py_None); resultobj = Py_None;
11988 return resultobj;
11989 fail:
11990 return NULL;
11991 }
11992
11993
11994 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11995 PyObject *resultobj;
11996 wxFontData *arg1 = (wxFontData *) 0 ;
11997 bool arg2 ;
11998 PyObject * obj0 = 0 ;
11999 PyObject * obj1 = 0 ;
12000 char *kwnames[] = {
12001 (char *) "self",(char *) "showHelp", NULL
12002 };
12003
12004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
12005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12006 arg2 = PyInt_AsLong(obj1) ? true : false;
12007 if (PyErr_Occurred()) SWIG_fail;
12008 {
12009 PyThreadState* __tstate = wxPyBeginAllowThreads();
12010 (arg1)->SetShowHelp(arg2);
12011
12012 wxPyEndAllowThreads(__tstate);
12013 if (PyErr_Occurred()) SWIG_fail;
12014 }
12015 Py_INCREF(Py_None); resultobj = Py_None;
12016 return resultobj;
12017 fail:
12018 return NULL;
12019 }
12020
12021
12022 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
12023 PyObject *obj;
12024 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12025 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
12026 Py_INCREF(obj);
12027 return Py_BuildValue((char *)"");
12028 }
12029 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12030 PyObject *resultobj;
12031 wxWindow *arg1 = (wxWindow *) 0 ;
12032 wxFontData *arg2 = 0 ;
12033 wxFontDialog *result;
12034 PyObject * obj0 = 0 ;
12035 PyObject * obj1 = 0 ;
12036 char *kwnames[] = {
12037 (char *) "parent",(char *) "data", NULL
12038 };
12039
12040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
12041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12042 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12043 if (arg2 == NULL) {
12044 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12045 }
12046 {
12047 PyThreadState* __tstate = wxPyBeginAllowThreads();
12048 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
12049
12050 wxPyEndAllowThreads(__tstate);
12051 if (PyErr_Occurred()) SWIG_fail;
12052 }
12053 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontDialog, 1);
12054 return resultobj;
12055 fail:
12056 return NULL;
12057 }
12058
12059
12060 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12061 PyObject *resultobj;
12062 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
12063 wxFontData *result;
12064 PyObject * obj0 = 0 ;
12065 char *kwnames[] = {
12066 (char *) "self", NULL
12067 };
12068
12069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
12070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12071 {
12072 PyThreadState* __tstate = wxPyBeginAllowThreads();
12073 {
12074 wxFontData &_result_ref = (arg1)->GetFontData();
12075 result = (wxFontData *) &_result_ref;
12076 }
12077
12078 wxPyEndAllowThreads(__tstate);
12079 if (PyErr_Occurred()) SWIG_fail;
12080 }
12081 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 0);
12082 return resultobj;
12083 fail:
12084 return NULL;
12085 }
12086
12087
12088 static PyObject *_wrap_FontDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
12089 PyObject *resultobj;
12090 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
12091 int result;
12092 PyObject * obj0 = 0 ;
12093 char *kwnames[] = {
12094 (char *) "self", NULL
12095 };
12096
12097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_ShowModal",kwnames,&obj0)) goto fail;
12098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12099 {
12100 PyThreadState* __tstate = wxPyBeginAllowThreads();
12101 result = (int)(arg1)->ShowModal();
12102
12103 wxPyEndAllowThreads(__tstate);
12104 if (PyErr_Occurred()) SWIG_fail;
12105 }
12106 resultobj = PyInt_FromLong((long)result);
12107 return resultobj;
12108 fail:
12109 return NULL;
12110 }
12111
12112
12113 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
12114 PyObject *obj;
12115 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12116 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
12117 Py_INCREF(obj);
12118 return Py_BuildValue((char *)"");
12119 }
12120 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12121 PyObject *resultobj;
12122 wxWindow *arg1 = (wxWindow *) 0 ;
12123 wxString *arg2 = 0 ;
12124 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
12125 wxString *arg3 = (wxString *) &arg3_defvalue ;
12126 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
12127 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12128 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12129 wxMessageDialog *result;
12130 bool temp2 = False ;
12131 bool temp3 = False ;
12132 wxPoint temp5 ;
12133 PyObject * obj0 = 0 ;
12134 PyObject * obj1 = 0 ;
12135 PyObject * obj2 = 0 ;
12136 PyObject * obj4 = 0 ;
12137 char *kwnames[] = {
12138 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
12139 };
12140
12141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OlO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4)) goto fail;
12142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12143 {
12144 arg2 = wxString_in_helper(obj1);
12145 if (arg2 == NULL) SWIG_fail;
12146 temp2 = True;
12147 }
12148 if (obj2) {
12149 {
12150 arg3 = wxString_in_helper(obj2);
12151 if (arg3 == NULL) SWIG_fail;
12152 temp3 = True;
12153 }
12154 }
12155 if (obj4) {
12156 {
12157 arg5 = &temp5;
12158 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12159 }
12160 }
12161 {
12162 PyThreadState* __tstate = wxPyBeginAllowThreads();
12163 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
12164
12165 wxPyEndAllowThreads(__tstate);
12166 if (PyErr_Occurred()) SWIG_fail;
12167 }
12168 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMessageDialog, 1);
12169 {
12170 if (temp2)
12171 delete arg2;
12172 }
12173 {
12174 if (temp3)
12175 delete arg3;
12176 }
12177 return resultobj;
12178 fail:
12179 {
12180 if (temp2)
12181 delete arg2;
12182 }
12183 {
12184 if (temp3)
12185 delete arg3;
12186 }
12187 return NULL;
12188 }
12189
12190
12191 static PyObject *_wrap_MessageDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
12192 PyObject *resultobj;
12193 wxMessageDialog *arg1 = (wxMessageDialog *) 0 ;
12194 int result;
12195 PyObject * obj0 = 0 ;
12196 char *kwnames[] = {
12197 (char *) "self", NULL
12198 };
12199
12200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MessageDialog_ShowModal",kwnames,&obj0)) goto fail;
12201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMessageDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12202 {
12203 PyThreadState* __tstate = wxPyBeginAllowThreads();
12204 result = (int)(arg1)->ShowModal();
12205
12206 wxPyEndAllowThreads(__tstate);
12207 if (PyErr_Occurred()) SWIG_fail;
12208 }
12209 resultobj = PyInt_FromLong((long)result);
12210 return resultobj;
12211 fail:
12212 return NULL;
12213 }
12214
12215
12216 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
12217 PyObject *obj;
12218 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12219 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
12220 Py_INCREF(obj);
12221 return Py_BuildValue((char *)"");
12222 }
12223 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12224 PyObject *resultobj;
12225 wxString *arg1 = 0 ;
12226 wxString *arg2 = 0 ;
12227 int arg3 = (int) 100 ;
12228 wxWindow *arg4 = (wxWindow *) NULL ;
12229 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
12230 wxProgressDialog *result;
12231 bool temp1 = False ;
12232 bool temp2 = False ;
12233 PyObject * obj0 = 0 ;
12234 PyObject * obj1 = 0 ;
12235 PyObject * obj3 = 0 ;
12236 char *kwnames[] = {
12237 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
12238 };
12239
12240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOi:new_ProgressDialog",kwnames,&obj0,&obj1,&arg3,&obj3,&arg5)) goto fail;
12241 {
12242 arg1 = wxString_in_helper(obj0);
12243 if (arg1 == NULL) SWIG_fail;
12244 temp1 = True;
12245 }
12246 {
12247 arg2 = wxString_in_helper(obj1);
12248 if (arg2 == NULL) SWIG_fail;
12249 temp2 = True;
12250 }
12251 if (obj3) {
12252 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12253 }
12254 {
12255 PyThreadState* __tstate = wxPyBeginAllowThreads();
12256 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
12257
12258 wxPyEndAllowThreads(__tstate);
12259 if (PyErr_Occurred()) SWIG_fail;
12260 }
12261 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProgressDialog, 1);
12262 {
12263 if (temp1)
12264 delete arg1;
12265 }
12266 {
12267 if (temp2)
12268 delete arg2;
12269 }
12270 return resultobj;
12271 fail:
12272 {
12273 if (temp1)
12274 delete arg1;
12275 }
12276 {
12277 if (temp2)
12278 delete arg2;
12279 }
12280 return NULL;
12281 }
12282
12283
12284 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
12285 PyObject *resultobj;
12286 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
12287 int arg2 ;
12288 wxString const &arg3_defvalue = wxPyEmptyString ;
12289 wxString *arg3 = (wxString *) &arg3_defvalue ;
12290 bool result;
12291 bool temp3 = False ;
12292 PyObject * obj0 = 0 ;
12293 PyObject * obj2 = 0 ;
12294 char *kwnames[] = {
12295 (char *) "self",(char *) "value",(char *) "newmsg", NULL
12296 };
12297
12298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ProgressDialog_Update",kwnames,&obj0,&arg2,&obj2)) goto fail;
12299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12300 if (obj2) {
12301 {
12302 arg3 = wxString_in_helper(obj2);
12303 if (arg3 == NULL) SWIG_fail;
12304 temp3 = True;
12305 }
12306 }
12307 {
12308 PyThreadState* __tstate = wxPyBeginAllowThreads();
12309 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
12310
12311 wxPyEndAllowThreads(__tstate);
12312 if (PyErr_Occurred()) SWIG_fail;
12313 }
12314 resultobj = PyInt_FromLong((long)result);
12315 {
12316 if (temp3)
12317 delete arg3;
12318 }
12319 return resultobj;
12320 fail:
12321 {
12322 if (temp3)
12323 delete arg3;
12324 }
12325 return NULL;
12326 }
12327
12328
12329 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
12330 PyObject *resultobj;
12331 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
12332 PyObject * obj0 = 0 ;
12333 char *kwnames[] = {
12334 (char *) "self", NULL
12335 };
12336
12337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
12338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12339 {
12340 PyThreadState* __tstate = wxPyBeginAllowThreads();
12341 (arg1)->Resume();
12342
12343 wxPyEndAllowThreads(__tstate);
12344 if (PyErr_Occurred()) SWIG_fail;
12345 }
12346 Py_INCREF(Py_None); resultobj = Py_None;
12347 return resultobj;
12348 fail:
12349 return NULL;
12350 }
12351
12352
12353 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
12354 PyObject *obj;
12355 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12356 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
12357 Py_INCREF(obj);
12358 return Py_BuildValue((char *)"");
12359 }
12360 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12361 PyObject *resultobj;
12362 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12363 int arg2 = (int) 0 ;
12364 wxFindDialogEvent *result;
12365 char *kwnames[] = {
12366 (char *) "commandType",(char *) "id", NULL
12367 };
12368
12369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_FindDialogEvent",kwnames,&arg1,&arg2)) goto fail;
12370 {
12371 PyThreadState* __tstate = wxPyBeginAllowThreads();
12372 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
12373
12374 wxPyEndAllowThreads(__tstate);
12375 if (PyErr_Occurred()) SWIG_fail;
12376 }
12377 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindDialogEvent, 1);
12378 return resultobj;
12379 fail:
12380 return NULL;
12381 }
12382
12383
12384 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12385 PyObject *resultobj;
12386 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12387 int result;
12388 PyObject * obj0 = 0 ;
12389 char *kwnames[] = {
12390 (char *) "self", NULL
12391 };
12392
12393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
12394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12395 {
12396 PyThreadState* __tstate = wxPyBeginAllowThreads();
12397 result = (int)(arg1)->GetFlags();
12398
12399 wxPyEndAllowThreads(__tstate);
12400 if (PyErr_Occurred()) SWIG_fail;
12401 }
12402 resultobj = PyInt_FromLong((long)result);
12403 return resultobj;
12404 fail:
12405 return NULL;
12406 }
12407
12408
12409 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12410 PyObject *resultobj;
12411 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12412 wxString result;
12413 PyObject * obj0 = 0 ;
12414 char *kwnames[] = {
12415 (char *) "self", NULL
12416 };
12417
12418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
12419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12420 {
12421 PyThreadState* __tstate = wxPyBeginAllowThreads();
12422 result = (arg1)->GetFindString();
12423
12424 wxPyEndAllowThreads(__tstate);
12425 if (PyErr_Occurred()) SWIG_fail;
12426 }
12427 {
12428 #if wxUSE_UNICODE
12429 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12430 #else
12431 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12432 #endif
12433 }
12434 return resultobj;
12435 fail:
12436 return NULL;
12437 }
12438
12439
12440 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12441 PyObject *resultobj;
12442 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12443 wxString *result;
12444 PyObject * obj0 = 0 ;
12445 char *kwnames[] = {
12446 (char *) "self", NULL
12447 };
12448
12449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
12450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12451 {
12452 PyThreadState* __tstate = wxPyBeginAllowThreads();
12453 {
12454 wxString const &_result_ref = (arg1)->GetReplaceString();
12455 result = (wxString *) &_result_ref;
12456 }
12457
12458 wxPyEndAllowThreads(__tstate);
12459 if (PyErr_Occurred()) SWIG_fail;
12460 }
12461 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
12462 return resultobj;
12463 fail:
12464 return NULL;
12465 }
12466
12467
12468 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12469 PyObject *resultobj;
12470 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12471 wxFindReplaceDialog *result;
12472 PyObject * obj0 = 0 ;
12473 char *kwnames[] = {
12474 (char *) "self", NULL
12475 };
12476
12477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
12478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12479 {
12480 PyThreadState* __tstate = wxPyBeginAllowThreads();
12481 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
12482
12483 wxPyEndAllowThreads(__tstate);
12484 if (PyErr_Occurred()) SWIG_fail;
12485 }
12486 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 0);
12487 return resultobj;
12488 fail:
12489 return NULL;
12490 }
12491
12492
12493 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12494 PyObject *resultobj;
12495 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12496 int arg2 ;
12497 PyObject * obj0 = 0 ;
12498 char *kwnames[] = {
12499 (char *) "self",(char *) "flags", NULL
12500 };
12501
12502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindDialogEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12504 {
12505 PyThreadState* __tstate = wxPyBeginAllowThreads();
12506 (arg1)->SetFlags(arg2);
12507
12508 wxPyEndAllowThreads(__tstate);
12509 if (PyErr_Occurred()) SWIG_fail;
12510 }
12511 Py_INCREF(Py_None); resultobj = Py_None;
12512 return resultobj;
12513 fail:
12514 return NULL;
12515 }
12516
12517
12518 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12519 PyObject *resultobj;
12520 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12521 wxString *arg2 = 0 ;
12522 bool temp2 = False ;
12523 PyObject * obj0 = 0 ;
12524 PyObject * obj1 = 0 ;
12525 char *kwnames[] = {
12526 (char *) "self",(char *) "str", NULL
12527 };
12528
12529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12531 {
12532 arg2 = wxString_in_helper(obj1);
12533 if (arg2 == NULL) SWIG_fail;
12534 temp2 = True;
12535 }
12536 {
12537 PyThreadState* __tstate = wxPyBeginAllowThreads();
12538 (arg1)->SetFindString((wxString const &)*arg2);
12539
12540 wxPyEndAllowThreads(__tstate);
12541 if (PyErr_Occurred()) SWIG_fail;
12542 }
12543 Py_INCREF(Py_None); resultobj = Py_None;
12544 {
12545 if (temp2)
12546 delete arg2;
12547 }
12548 return resultobj;
12549 fail:
12550 {
12551 if (temp2)
12552 delete arg2;
12553 }
12554 return NULL;
12555 }
12556
12557
12558 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12559 PyObject *resultobj;
12560 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12561 wxString *arg2 = 0 ;
12562 bool temp2 = False ;
12563 PyObject * obj0 = 0 ;
12564 PyObject * obj1 = 0 ;
12565 char *kwnames[] = {
12566 (char *) "self",(char *) "str", NULL
12567 };
12568
12569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12571 {
12572 arg2 = wxString_in_helper(obj1);
12573 if (arg2 == NULL) SWIG_fail;
12574 temp2 = True;
12575 }
12576 {
12577 PyThreadState* __tstate = wxPyBeginAllowThreads();
12578 (arg1)->SetReplaceString((wxString const &)*arg2);
12579
12580 wxPyEndAllowThreads(__tstate);
12581 if (PyErr_Occurred()) SWIG_fail;
12582 }
12583 Py_INCREF(Py_None); resultobj = Py_None;
12584 {
12585 if (temp2)
12586 delete arg2;
12587 }
12588 return resultobj;
12589 fail:
12590 {
12591 if (temp2)
12592 delete arg2;
12593 }
12594 return NULL;
12595 }
12596
12597
12598 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
12599 PyObject *obj;
12600 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12601 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
12602 Py_INCREF(obj);
12603 return Py_BuildValue((char *)"");
12604 }
12605 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12606 PyObject *resultobj;
12607 int arg1 = (int) 0 ;
12608 wxFindReplaceData *result;
12609 char *kwnames[] = {
12610 (char *) "flags", NULL
12611 };
12612
12613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_FindReplaceData",kwnames,&arg1)) goto fail;
12614 {
12615 PyThreadState* __tstate = wxPyBeginAllowThreads();
12616 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
12617
12618 wxPyEndAllowThreads(__tstate);
12619 if (PyErr_Occurred()) SWIG_fail;
12620 }
12621 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 1);
12622 return resultobj;
12623 fail:
12624 return NULL;
12625 }
12626
12627
12628 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12629 PyObject *resultobj;
12630 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12631 PyObject * obj0 = 0 ;
12632 char *kwnames[] = {
12633 (char *) "self", NULL
12634 };
12635
12636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
12637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12638 {
12639 PyThreadState* __tstate = wxPyBeginAllowThreads();
12640 delete arg1;
12641
12642 wxPyEndAllowThreads(__tstate);
12643 if (PyErr_Occurred()) SWIG_fail;
12644 }
12645 Py_INCREF(Py_None); resultobj = Py_None;
12646 return resultobj;
12647 fail:
12648 return NULL;
12649 }
12650
12651
12652 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12653 PyObject *resultobj;
12654 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12655 wxString *result;
12656 PyObject * obj0 = 0 ;
12657 char *kwnames[] = {
12658 (char *) "self", NULL
12659 };
12660
12661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
12662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12663 {
12664 PyThreadState* __tstate = wxPyBeginAllowThreads();
12665 {
12666 wxString const &_result_ref = (arg1)->GetFindString();
12667 result = (wxString *) &_result_ref;
12668 }
12669
12670 wxPyEndAllowThreads(__tstate);
12671 if (PyErr_Occurred()) SWIG_fail;
12672 }
12673 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
12674 return resultobj;
12675 fail:
12676 return NULL;
12677 }
12678
12679
12680 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12681 PyObject *resultobj;
12682 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12683 wxString *result;
12684 PyObject * obj0 = 0 ;
12685 char *kwnames[] = {
12686 (char *) "self", NULL
12687 };
12688
12689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
12690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12691 {
12692 PyThreadState* __tstate = wxPyBeginAllowThreads();
12693 {
12694 wxString const &_result_ref = (arg1)->GetReplaceString();
12695 result = (wxString *) &_result_ref;
12696 }
12697
12698 wxPyEndAllowThreads(__tstate);
12699 if (PyErr_Occurred()) SWIG_fail;
12700 }
12701 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
12702 return resultobj;
12703 fail:
12704 return NULL;
12705 }
12706
12707
12708 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12709 PyObject *resultobj;
12710 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12711 int result;
12712 PyObject * obj0 = 0 ;
12713 char *kwnames[] = {
12714 (char *) "self", NULL
12715 };
12716
12717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
12718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12719 {
12720 PyThreadState* __tstate = wxPyBeginAllowThreads();
12721 result = (int)(arg1)->GetFlags();
12722
12723 wxPyEndAllowThreads(__tstate);
12724 if (PyErr_Occurred()) SWIG_fail;
12725 }
12726 resultobj = PyInt_FromLong((long)result);
12727 return resultobj;
12728 fail:
12729 return NULL;
12730 }
12731
12732
12733 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12734 PyObject *resultobj;
12735 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12736 int arg2 ;
12737 PyObject * obj0 = 0 ;
12738 char *kwnames[] = {
12739 (char *) "self",(char *) "flags", NULL
12740 };
12741
12742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindReplaceData_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12744 {
12745 PyThreadState* __tstate = wxPyBeginAllowThreads();
12746 (arg1)->SetFlags(arg2);
12747
12748 wxPyEndAllowThreads(__tstate);
12749 if (PyErr_Occurred()) SWIG_fail;
12750 }
12751 Py_INCREF(Py_None); resultobj = Py_None;
12752 return resultobj;
12753 fail:
12754 return NULL;
12755 }
12756
12757
12758 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12759 PyObject *resultobj;
12760 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12761 wxString *arg2 = 0 ;
12762 bool temp2 = False ;
12763 PyObject * obj0 = 0 ;
12764 PyObject * obj1 = 0 ;
12765 char *kwnames[] = {
12766 (char *) "self",(char *) "str", NULL
12767 };
12768
12769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12771 {
12772 arg2 = wxString_in_helper(obj1);
12773 if (arg2 == NULL) SWIG_fail;
12774 temp2 = True;
12775 }
12776 {
12777 PyThreadState* __tstate = wxPyBeginAllowThreads();
12778 (arg1)->SetFindString((wxString const &)*arg2);
12779
12780 wxPyEndAllowThreads(__tstate);
12781 if (PyErr_Occurred()) SWIG_fail;
12782 }
12783 Py_INCREF(Py_None); resultobj = Py_None;
12784 {
12785 if (temp2)
12786 delete arg2;
12787 }
12788 return resultobj;
12789 fail:
12790 {
12791 if (temp2)
12792 delete arg2;
12793 }
12794 return NULL;
12795 }
12796
12797
12798 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12799 PyObject *resultobj;
12800 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12801 wxString *arg2 = 0 ;
12802 bool temp2 = False ;
12803 PyObject * obj0 = 0 ;
12804 PyObject * obj1 = 0 ;
12805 char *kwnames[] = {
12806 (char *) "self",(char *) "str", NULL
12807 };
12808
12809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12811 {
12812 arg2 = wxString_in_helper(obj1);
12813 if (arg2 == NULL) SWIG_fail;
12814 temp2 = True;
12815 }
12816 {
12817 PyThreadState* __tstate = wxPyBeginAllowThreads();
12818 (arg1)->SetReplaceString((wxString const &)*arg2);
12819
12820 wxPyEndAllowThreads(__tstate);
12821 if (PyErr_Occurred()) SWIG_fail;
12822 }
12823 Py_INCREF(Py_None); resultobj = Py_None;
12824 {
12825 if (temp2)
12826 delete arg2;
12827 }
12828 return resultobj;
12829 fail:
12830 {
12831 if (temp2)
12832 delete arg2;
12833 }
12834 return NULL;
12835 }
12836
12837
12838 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
12839 PyObject *obj;
12840 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12841 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
12842 Py_INCREF(obj);
12843 return Py_BuildValue((char *)"");
12844 }
12845 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12846 PyObject *resultobj;
12847 wxWindow *arg1 = (wxWindow *) 0 ;
12848 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12849 wxString *arg3 = 0 ;
12850 int arg4 = (int) 0 ;
12851 wxFindReplaceDialog *result;
12852 bool temp3 = False ;
12853 PyObject * obj0 = 0 ;
12854 PyObject * obj1 = 0 ;
12855 PyObject * obj2 = 0 ;
12856 char *kwnames[] = {
12857 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12858 };
12859
12860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
12861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12862 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12863 {
12864 arg3 = wxString_in_helper(obj2);
12865 if (arg3 == NULL) SWIG_fail;
12866 temp3 = True;
12867 }
12868 {
12869 PyThreadState* __tstate = wxPyBeginAllowThreads();
12870 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
12871
12872 wxPyEndAllowThreads(__tstate);
12873 if (PyErr_Occurred()) SWIG_fail;
12874 }
12875 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12876 {
12877 if (temp3)
12878 delete arg3;
12879 }
12880 return resultobj;
12881 fail:
12882 {
12883 if (temp3)
12884 delete arg3;
12885 }
12886 return NULL;
12887 }
12888
12889
12890 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12891 PyObject *resultobj;
12892 wxFindReplaceDialog *result;
12893 char *kwnames[] = {
12894 NULL
12895 };
12896
12897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
12898 {
12899 PyThreadState* __tstate = wxPyBeginAllowThreads();
12900 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
12901
12902 wxPyEndAllowThreads(__tstate);
12903 if (PyErr_Occurred()) SWIG_fail;
12904 }
12905 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12906 return resultobj;
12907 fail:
12908 return NULL;
12909 }
12910
12911
12912 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12913 PyObject *resultobj;
12914 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12915 wxWindow *arg2 = (wxWindow *) 0 ;
12916 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
12917 wxString *arg4 = 0 ;
12918 int arg5 = (int) 0 ;
12919 bool result;
12920 bool temp4 = False ;
12921 PyObject * obj0 = 0 ;
12922 PyObject * obj1 = 0 ;
12923 PyObject * obj2 = 0 ;
12924 PyObject * obj3 = 0 ;
12925 char *kwnames[] = {
12926 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12927 };
12928
12929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|i:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
12930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12931 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12932 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12933 {
12934 arg4 = wxString_in_helper(obj3);
12935 if (arg4 == NULL) SWIG_fail;
12936 temp4 = True;
12937 }
12938 {
12939 PyThreadState* __tstate = wxPyBeginAllowThreads();
12940 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
12941
12942 wxPyEndAllowThreads(__tstate);
12943 if (PyErr_Occurred()) SWIG_fail;
12944 }
12945 resultobj = PyInt_FromLong((long)result);
12946 {
12947 if (temp4)
12948 delete arg4;
12949 }
12950 return resultobj;
12951 fail:
12952 {
12953 if (temp4)
12954 delete arg4;
12955 }
12956 return NULL;
12957 }
12958
12959
12960 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12961 PyObject *resultobj;
12962 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12963 wxFindReplaceData *result;
12964 PyObject * obj0 = 0 ;
12965 char *kwnames[] = {
12966 (char *) "self", NULL
12967 };
12968
12969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
12970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12971 {
12972 PyThreadState* __tstate = wxPyBeginAllowThreads();
12973 result = (wxFindReplaceData *)(arg1)->GetData();
12974
12975 wxPyEndAllowThreads(__tstate);
12976 if (PyErr_Occurred()) SWIG_fail;
12977 }
12978 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 0);
12979 return resultobj;
12980 fail:
12981 return NULL;
12982 }
12983
12984
12985 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12986 PyObject *resultobj;
12987 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12988 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12989 PyObject * obj0 = 0 ;
12990 PyObject * obj1 = 0 ;
12991 char *kwnames[] = {
12992 (char *) "self",(char *) "data", NULL
12993 };
12994
12995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
12996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12997 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12998 {
12999 PyThreadState* __tstate = wxPyBeginAllowThreads();
13000 (arg1)->SetData(arg2);
13001
13002 wxPyEndAllowThreads(__tstate);
13003 if (PyErr_Occurred()) SWIG_fail;
13004 }
13005 Py_INCREF(Py_None); resultobj = Py_None;
13006 return resultobj;
13007 fail:
13008 return NULL;
13009 }
13010
13011
13012 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
13013 PyObject *obj;
13014 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13015 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
13016 Py_INCREF(obj);
13017 return Py_BuildValue((char *)"");
13018 }
13019 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13020 PyObject *resultobj;
13021 wxWindow *arg1 = (wxWindow *) 0 ;
13022 int arg2 ;
13023 wxString *arg3 = 0 ;
13024 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13025 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13026 wxSize const &arg5_defvalue = wxDefaultSize ;
13027 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13028 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
13029 wxString const &arg7_defvalue = wxPyFrameNameStr ;
13030 wxString *arg7 = (wxString *) &arg7_defvalue ;
13031 wxMDIParentFrame *result;
13032 bool temp3 = False ;
13033 wxPoint temp4 ;
13034 wxSize temp5 ;
13035 bool temp7 = False ;
13036 PyObject * obj0 = 0 ;
13037 PyObject * obj2 = 0 ;
13038 PyObject * obj3 = 0 ;
13039 PyObject * obj4 = 0 ;
13040 PyObject * obj6 = 0 ;
13041 char *kwnames[] = {
13042 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13043 };
13044
13045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIParentFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
13046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13047 {
13048 arg3 = wxString_in_helper(obj2);
13049 if (arg3 == NULL) SWIG_fail;
13050 temp3 = True;
13051 }
13052 if (obj3) {
13053 {
13054 arg4 = &temp4;
13055 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13056 }
13057 }
13058 if (obj4) {
13059 {
13060 arg5 = &temp5;
13061 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13062 }
13063 }
13064 if (obj6) {
13065 {
13066 arg7 = wxString_in_helper(obj6);
13067 if (arg7 == NULL) SWIG_fail;
13068 temp7 = True;
13069 }
13070 }
13071 {
13072 PyThreadState* __tstate = wxPyBeginAllowThreads();
13073 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13074
13075 wxPyEndAllowThreads(__tstate);
13076 if (PyErr_Occurred()) SWIG_fail;
13077 }
13078 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
13079 {
13080 if (temp3)
13081 delete arg3;
13082 }
13083 {
13084 if (temp7)
13085 delete arg7;
13086 }
13087 return resultobj;
13088 fail:
13089 {
13090 if (temp3)
13091 delete arg3;
13092 }
13093 {
13094 if (temp7)
13095 delete arg7;
13096 }
13097 return NULL;
13098 }
13099
13100
13101 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13102 PyObject *resultobj;
13103 wxMDIParentFrame *result;
13104 char *kwnames[] = {
13105 NULL
13106 };
13107
13108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
13109 {
13110 PyThreadState* __tstate = wxPyBeginAllowThreads();
13111 result = (wxMDIParentFrame *)new wxMDIParentFrame();
13112
13113 wxPyEndAllowThreads(__tstate);
13114 if (PyErr_Occurred()) SWIG_fail;
13115 }
13116 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
13117 return resultobj;
13118 fail:
13119 return NULL;
13120 }
13121
13122
13123 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13124 PyObject *resultobj;
13125 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13126 wxWindow *arg2 = (wxWindow *) 0 ;
13127 int arg3 ;
13128 wxString *arg4 = 0 ;
13129 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13130 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13131 wxSize const &arg6_defvalue = wxDefaultSize ;
13132 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13133 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
13134 wxString const &arg8_defvalue = wxPyFrameNameStr ;
13135 wxString *arg8 = (wxString *) &arg8_defvalue ;
13136 bool result;
13137 bool temp4 = False ;
13138 wxPoint temp5 ;
13139 wxSize temp6 ;
13140 bool temp8 = False ;
13141 PyObject * obj0 = 0 ;
13142 PyObject * obj1 = 0 ;
13143 PyObject * obj3 = 0 ;
13144 PyObject * obj4 = 0 ;
13145 PyObject * obj5 = 0 ;
13146 PyObject * obj7 = 0 ;
13147 char *kwnames[] = {
13148 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13149 };
13150
13151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
13152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13153 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13154 {
13155 arg4 = wxString_in_helper(obj3);
13156 if (arg4 == NULL) SWIG_fail;
13157 temp4 = True;
13158 }
13159 if (obj4) {
13160 {
13161 arg5 = &temp5;
13162 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13163 }
13164 }
13165 if (obj5) {
13166 {
13167 arg6 = &temp6;
13168 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13169 }
13170 }
13171 if (obj7) {
13172 {
13173 arg8 = wxString_in_helper(obj7);
13174 if (arg8 == NULL) SWIG_fail;
13175 temp8 = True;
13176 }
13177 }
13178 {
13179 PyThreadState* __tstate = wxPyBeginAllowThreads();
13180 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
13181
13182 wxPyEndAllowThreads(__tstate);
13183 if (PyErr_Occurred()) SWIG_fail;
13184 }
13185 resultobj = PyInt_FromLong((long)result);
13186 {
13187 if (temp4)
13188 delete arg4;
13189 }
13190 {
13191 if (temp8)
13192 delete arg8;
13193 }
13194 return resultobj;
13195 fail:
13196 {
13197 if (temp4)
13198 delete arg4;
13199 }
13200 {
13201 if (temp8)
13202 delete arg8;
13203 }
13204 return NULL;
13205 }
13206
13207
13208 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
13209 PyObject *resultobj;
13210 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13211 PyObject * obj0 = 0 ;
13212 char *kwnames[] = {
13213 (char *) "self", NULL
13214 };
13215
13216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
13217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13218 {
13219 PyThreadState* __tstate = wxPyBeginAllowThreads();
13220 (arg1)->ActivateNext();
13221
13222 wxPyEndAllowThreads(__tstate);
13223 if (PyErr_Occurred()) SWIG_fail;
13224 }
13225 Py_INCREF(Py_None); resultobj = Py_None;
13226 return resultobj;
13227 fail:
13228 return NULL;
13229 }
13230
13231
13232 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
13233 PyObject *resultobj;
13234 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13235 PyObject * obj0 = 0 ;
13236 char *kwnames[] = {
13237 (char *) "self", NULL
13238 };
13239
13240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
13241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13242 {
13243 PyThreadState* __tstate = wxPyBeginAllowThreads();
13244 (arg1)->ActivatePrevious();
13245
13246 wxPyEndAllowThreads(__tstate);
13247 if (PyErr_Occurred()) SWIG_fail;
13248 }
13249 Py_INCREF(Py_None); resultobj = Py_None;
13250 return resultobj;
13251 fail:
13252 return NULL;
13253 }
13254
13255
13256 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
13257 PyObject *resultobj;
13258 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13259 PyObject * obj0 = 0 ;
13260 char *kwnames[] = {
13261 (char *) "self", NULL
13262 };
13263
13264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
13265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13266 {
13267 PyThreadState* __tstate = wxPyBeginAllowThreads();
13268 (arg1)->ArrangeIcons();
13269
13270 wxPyEndAllowThreads(__tstate);
13271 if (PyErr_Occurred()) SWIG_fail;
13272 }
13273 Py_INCREF(Py_None); resultobj = Py_None;
13274 return resultobj;
13275 fail:
13276 return NULL;
13277 }
13278
13279
13280 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
13281 PyObject *resultobj;
13282 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13283 PyObject * obj0 = 0 ;
13284 char *kwnames[] = {
13285 (char *) "self", NULL
13286 };
13287
13288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
13289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13290 {
13291 PyThreadState* __tstate = wxPyBeginAllowThreads();
13292 (arg1)->Cascade();
13293
13294 wxPyEndAllowThreads(__tstate);
13295 if (PyErr_Occurred()) SWIG_fail;
13296 }
13297 Py_INCREF(Py_None); resultobj = Py_None;
13298 return resultobj;
13299 fail:
13300 return NULL;
13301 }
13302
13303
13304 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
13305 PyObject *resultobj;
13306 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13307 wxMDIChildFrame *result;
13308 PyObject * obj0 = 0 ;
13309 char *kwnames[] = {
13310 (char *) "self", NULL
13311 };
13312
13313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
13314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13315 {
13316 PyThreadState* __tstate = wxPyBeginAllowThreads();
13317 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
13318
13319 wxPyEndAllowThreads(__tstate);
13320 if (PyErr_Occurred()) SWIG_fail;
13321 }
13322 {
13323 resultobj = wxPyMake_wxObject(result);
13324 }
13325 return resultobj;
13326 fail:
13327 return NULL;
13328 }
13329
13330
13331 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13332 PyObject *resultobj;
13333 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13334 wxMDIClientWindow *result;
13335 PyObject * obj0 = 0 ;
13336 char *kwnames[] = {
13337 (char *) "self", NULL
13338 };
13339
13340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
13341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13342 {
13343 PyThreadState* __tstate = wxPyBeginAllowThreads();
13344 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
13345
13346 wxPyEndAllowThreads(__tstate);
13347 if (PyErr_Occurred()) SWIG_fail;
13348 }
13349 {
13350 resultobj = wxPyMake_wxObject(result);
13351 }
13352 return resultobj;
13353 fail:
13354 return NULL;
13355 }
13356
13357
13358 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
13359 PyObject *resultobj;
13360 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13361 wxWindow *result;
13362 PyObject * obj0 = 0 ;
13363 char *kwnames[] = {
13364 (char *) "self", NULL
13365 };
13366
13367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
13368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13369 {
13370 PyThreadState* __tstate = wxPyBeginAllowThreads();
13371 result = (wxWindow *)(arg1)->GetToolBar();
13372
13373 wxPyEndAllowThreads(__tstate);
13374 if (PyErr_Occurred()) SWIG_fail;
13375 }
13376 {
13377 resultobj = wxPyMake_wxObject(result);
13378 }
13379 return resultobj;
13380 fail:
13381 return NULL;
13382 }
13383
13384
13385 static PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
13386 PyObject *resultobj;
13387 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13388 wxMenu *result;
13389 PyObject * obj0 = 0 ;
13390 char *kwnames[] = {
13391 (char *) "self", NULL
13392 };
13393
13394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames,&obj0)) goto fail;
13395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13396 {
13397 PyThreadState* __tstate = wxPyBeginAllowThreads();
13398 result = (wxMenu *)(arg1)->GetWindowMenu();
13399
13400 wxPyEndAllowThreads(__tstate);
13401 if (PyErr_Occurred()) SWIG_fail;
13402 }
13403 {
13404 resultobj = wxPyMake_wxObject(result);
13405 }
13406 return resultobj;
13407 fail:
13408 return NULL;
13409 }
13410
13411
13412 static PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
13413 PyObject *resultobj;
13414 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13415 wxMenu *arg2 = (wxMenu *) 0 ;
13416 PyObject * obj0 = 0 ;
13417 PyObject * obj1 = 0 ;
13418 char *kwnames[] = {
13419 (char *) "self",(char *) "menu", NULL
13420 };
13421
13422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) goto fail;
13423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13424 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13425 {
13426 PyThreadState* __tstate = wxPyBeginAllowThreads();
13427 (arg1)->SetWindowMenu(arg2);
13428
13429 wxPyEndAllowThreads(__tstate);
13430 if (PyErr_Occurred()) SWIG_fail;
13431 }
13432 Py_INCREF(Py_None); resultobj = Py_None;
13433 return resultobj;
13434 fail:
13435 return NULL;
13436 }
13437
13438
13439 static PyObject *_wrap_MDIParentFrame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
13440 PyObject *resultobj;
13441 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13442 wxToolBar *arg2 = (wxToolBar *) 0 ;
13443 PyObject * obj0 = 0 ;
13444 PyObject * obj1 = 0 ;
13445 char *kwnames[] = {
13446 (char *) "self",(char *) "toolbar", NULL
13447 };
13448
13449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
13450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13451 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13452 {
13453 PyThreadState* __tstate = wxPyBeginAllowThreads();
13454 (arg1)->SetToolBar(arg2);
13455
13456 wxPyEndAllowThreads(__tstate);
13457 if (PyErr_Occurred()) SWIG_fail;
13458 }
13459 Py_INCREF(Py_None); resultobj = Py_None;
13460 return resultobj;
13461 fail:
13462 return NULL;
13463 }
13464
13465
13466 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
13467 PyObject *resultobj;
13468 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13469 PyObject * obj0 = 0 ;
13470 char *kwnames[] = {
13471 (char *) "self", NULL
13472 };
13473
13474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
13475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13476 {
13477 PyThreadState* __tstate = wxPyBeginAllowThreads();
13478 (arg1)->Tile();
13479
13480 wxPyEndAllowThreads(__tstate);
13481 if (PyErr_Occurred()) SWIG_fail;
13482 }
13483 Py_INCREF(Py_None); resultobj = Py_None;
13484 return resultobj;
13485 fail:
13486 return NULL;
13487 }
13488
13489
13490 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
13491 PyObject *obj;
13492 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13493 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
13494 Py_INCREF(obj);
13495 return Py_BuildValue((char *)"");
13496 }
13497 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13498 PyObject *resultobj;
13499 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13500 int arg2 ;
13501 wxString *arg3 = 0 ;
13502 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13503 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13504 wxSize const &arg5_defvalue = wxDefaultSize ;
13505 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13506 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
13507 wxString const &arg7_defvalue = wxPyFrameNameStr ;
13508 wxString *arg7 = (wxString *) &arg7_defvalue ;
13509 wxMDIChildFrame *result;
13510 bool temp3 = False ;
13511 wxPoint temp4 ;
13512 wxSize temp5 ;
13513 bool temp7 = False ;
13514 PyObject * obj0 = 0 ;
13515 PyObject * obj2 = 0 ;
13516 PyObject * obj3 = 0 ;
13517 PyObject * obj4 = 0 ;
13518 PyObject * obj6 = 0 ;
13519 char *kwnames[] = {
13520 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13521 };
13522
13523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIChildFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
13524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13525 {
13526 arg3 = wxString_in_helper(obj2);
13527 if (arg3 == NULL) SWIG_fail;
13528 temp3 = True;
13529 }
13530 if (obj3) {
13531 {
13532 arg4 = &temp4;
13533 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13534 }
13535 }
13536 if (obj4) {
13537 {
13538 arg5 = &temp5;
13539 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13540 }
13541 }
13542 if (obj6) {
13543 {
13544 arg7 = wxString_in_helper(obj6);
13545 if (arg7 == NULL) SWIG_fail;
13546 temp7 = True;
13547 }
13548 }
13549 {
13550 PyThreadState* __tstate = wxPyBeginAllowThreads();
13551 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13552
13553 wxPyEndAllowThreads(__tstate);
13554 if (PyErr_Occurred()) SWIG_fail;
13555 }
13556 {
13557 resultobj = wxPyMake_wxObject(result);
13558 }
13559 {
13560 if (temp3)
13561 delete arg3;
13562 }
13563 {
13564 if (temp7)
13565 delete arg7;
13566 }
13567 return resultobj;
13568 fail:
13569 {
13570 if (temp3)
13571 delete arg3;
13572 }
13573 {
13574 if (temp7)
13575 delete arg7;
13576 }
13577 return NULL;
13578 }
13579
13580
13581 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13582 PyObject *resultobj;
13583 wxMDIChildFrame *result;
13584 char *kwnames[] = {
13585 NULL
13586 };
13587
13588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
13589 {
13590 PyThreadState* __tstate = wxPyBeginAllowThreads();
13591 result = (wxMDIChildFrame *)new wxMDIChildFrame();
13592
13593 wxPyEndAllowThreads(__tstate);
13594 if (PyErr_Occurred()) SWIG_fail;
13595 }
13596 {
13597 resultobj = wxPyMake_wxObject(result);
13598 }
13599 return resultobj;
13600 fail:
13601 return NULL;
13602 }
13603
13604
13605 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13606 PyObject *resultobj;
13607 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13608 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13609 int arg3 ;
13610 wxString *arg4 = 0 ;
13611 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13612 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13613 wxSize const &arg6_defvalue = wxDefaultSize ;
13614 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13615 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
13616 wxString const &arg8_defvalue = wxPyFrameNameStr ;
13617 wxString *arg8 = (wxString *) &arg8_defvalue ;
13618 bool result;
13619 bool temp4 = False ;
13620 wxPoint temp5 ;
13621 wxSize temp6 ;
13622 bool temp8 = False ;
13623 PyObject * obj0 = 0 ;
13624 PyObject * obj1 = 0 ;
13625 PyObject * obj3 = 0 ;
13626 PyObject * obj4 = 0 ;
13627 PyObject * obj5 = 0 ;
13628 PyObject * obj7 = 0 ;
13629 char *kwnames[] = {
13630 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13631 };
13632
13633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
13634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13635 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13636 {
13637 arg4 = wxString_in_helper(obj3);
13638 if (arg4 == NULL) SWIG_fail;
13639 temp4 = True;
13640 }
13641 if (obj4) {
13642 {
13643 arg5 = &temp5;
13644 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13645 }
13646 }
13647 if (obj5) {
13648 {
13649 arg6 = &temp6;
13650 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13651 }
13652 }
13653 if (obj7) {
13654 {
13655 arg8 = wxString_in_helper(obj7);
13656 if (arg8 == NULL) SWIG_fail;
13657 temp8 = True;
13658 }
13659 }
13660 {
13661 PyThreadState* __tstate = wxPyBeginAllowThreads();
13662 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
13663
13664 wxPyEndAllowThreads(__tstate);
13665 if (PyErr_Occurred()) SWIG_fail;
13666 }
13667 resultobj = PyInt_FromLong((long)result);
13668 {
13669 if (temp4)
13670 delete arg4;
13671 }
13672 {
13673 if (temp8)
13674 delete arg8;
13675 }
13676 return resultobj;
13677 fail:
13678 {
13679 if (temp4)
13680 delete arg4;
13681 }
13682 {
13683 if (temp8)
13684 delete arg8;
13685 }
13686 return NULL;
13687 }
13688
13689
13690 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
13691 PyObject *resultobj;
13692 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13693 PyObject * obj0 = 0 ;
13694 char *kwnames[] = {
13695 (char *) "self", NULL
13696 };
13697
13698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
13699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13700 {
13701 PyThreadState* __tstate = wxPyBeginAllowThreads();
13702 (arg1)->Activate();
13703
13704 wxPyEndAllowThreads(__tstate);
13705 if (PyErr_Occurred()) SWIG_fail;
13706 }
13707 Py_INCREF(Py_None); resultobj = Py_None;
13708 return resultobj;
13709 fail:
13710 return NULL;
13711 }
13712
13713
13714 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
13715 PyObject *resultobj;
13716 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13717 bool arg2 ;
13718 PyObject * obj0 = 0 ;
13719 PyObject * obj1 = 0 ;
13720 char *kwnames[] = {
13721 (char *) "self",(char *) "maximize", NULL
13722 };
13723
13724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
13725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13726 arg2 = PyInt_AsLong(obj1) ? true : false;
13727 if (PyErr_Occurred()) SWIG_fail;
13728 {
13729 PyThreadState* __tstate = wxPyBeginAllowThreads();
13730 (arg1)->Maximize(arg2);
13731
13732 wxPyEndAllowThreads(__tstate);
13733 if (PyErr_Occurred()) SWIG_fail;
13734 }
13735 Py_INCREF(Py_None); resultobj = Py_None;
13736 return resultobj;
13737 fail:
13738 return NULL;
13739 }
13740
13741
13742 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
13743 PyObject *resultobj;
13744 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13745 PyObject * obj0 = 0 ;
13746 char *kwnames[] = {
13747 (char *) "self", NULL
13748 };
13749
13750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
13751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13752 {
13753 PyThreadState* __tstate = wxPyBeginAllowThreads();
13754 (arg1)->Restore();
13755
13756 wxPyEndAllowThreads(__tstate);
13757 if (PyErr_Occurred()) SWIG_fail;
13758 }
13759 Py_INCREF(Py_None); resultobj = Py_None;
13760 return resultobj;
13761 fail:
13762 return NULL;
13763 }
13764
13765
13766 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
13767 PyObject *obj;
13768 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13769 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
13770 Py_INCREF(obj);
13771 return Py_BuildValue((char *)"");
13772 }
13773 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13774 PyObject *resultobj;
13775 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13776 long arg2 = (long) 0 ;
13777 wxMDIClientWindow *result;
13778 PyObject * obj0 = 0 ;
13779 char *kwnames[] = {
13780 (char *) "parent",(char *) "style", NULL
13781 };
13782
13783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:new_MDIClientWindow",kwnames,&obj0,&arg2)) goto fail;
13784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13785 {
13786 PyThreadState* __tstate = wxPyBeginAllowThreads();
13787 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
13788
13789 wxPyEndAllowThreads(__tstate);
13790 if (PyErr_Occurred()) SWIG_fail;
13791 }
13792 {
13793 resultobj = wxPyMake_wxObject(result);
13794 }
13795 return resultobj;
13796 fail:
13797 return NULL;
13798 }
13799
13800
13801 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13802 PyObject *resultobj;
13803 wxMDIClientWindow *result;
13804 char *kwnames[] = {
13805 NULL
13806 };
13807
13808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
13809 {
13810 PyThreadState* __tstate = wxPyBeginAllowThreads();
13811 result = (wxMDIClientWindow *)new wxMDIClientWindow();
13812
13813 wxPyEndAllowThreads(__tstate);
13814 if (PyErr_Occurred()) SWIG_fail;
13815 }
13816 {
13817 resultobj = wxPyMake_wxObject(result);
13818 }
13819 return resultobj;
13820 fail:
13821 return NULL;
13822 }
13823
13824
13825 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13826 PyObject *resultobj;
13827 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
13828 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13829 long arg3 = (long) 0 ;
13830 bool result;
13831 PyObject * obj0 = 0 ;
13832 PyObject * obj1 = 0 ;
13833 char *kwnames[] = {
13834 (char *) "self",(char *) "parent",(char *) "style", NULL
13835 };
13836
13837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:MDIClientWindow_Create",kwnames,&obj0,&obj1,&arg3)) goto fail;
13838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIClientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13839 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13840 {
13841 PyThreadState* __tstate = wxPyBeginAllowThreads();
13842 result = (bool)(arg1)->Create(arg2,arg3);
13843
13844 wxPyEndAllowThreads(__tstate);
13845 if (PyErr_Occurred()) SWIG_fail;
13846 }
13847 resultobj = PyInt_FromLong((long)result);
13848 return resultobj;
13849 fail:
13850 return NULL;
13851 }
13852
13853
13854 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
13855 PyObject *obj;
13856 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13857 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
13858 Py_INCREF(obj);
13859 return Py_BuildValue((char *)"");
13860 }
13861 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13862 PyObject *resultobj;
13863 wxWindow *arg1 = (wxWindow *) 0 ;
13864 int arg2 ;
13865 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13866 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13867 wxSize const &arg4_defvalue = wxDefaultSize ;
13868 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13869 long arg5 = (long) 0 ;
13870 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13871 wxString *arg6 = (wxString *) &arg6_defvalue ;
13872 wxPyWindow *result;
13873 wxPoint temp3 ;
13874 wxSize temp4 ;
13875 bool temp6 = False ;
13876 PyObject * obj0 = 0 ;
13877 PyObject * obj2 = 0 ;
13878 PyObject * obj3 = 0 ;
13879 PyObject * obj5 = 0 ;
13880 char *kwnames[] = {
13881 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13882 };
13883
13884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
13885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13886 if (obj2) {
13887 {
13888 arg3 = &temp3;
13889 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13890 }
13891 }
13892 if (obj3) {
13893 {
13894 arg4 = &temp4;
13895 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13896 }
13897 }
13898 if (obj5) {
13899 {
13900 arg6 = wxString_in_helper(obj5);
13901 if (arg6 == NULL) SWIG_fail;
13902 temp6 = True;
13903 }
13904 }
13905 {
13906 PyThreadState* __tstate = wxPyBeginAllowThreads();
13907 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13908
13909 wxPyEndAllowThreads(__tstate);
13910 if (PyErr_Occurred()) SWIG_fail;
13911 }
13912 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyWindow, 1);
13913 {
13914 if (temp6)
13915 delete arg6;
13916 }
13917 return resultobj;
13918 fail:
13919 {
13920 if (temp6)
13921 delete arg6;
13922 }
13923 return NULL;
13924 }
13925
13926
13927 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
13928 PyObject *resultobj;
13929 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13930 PyObject *arg2 = (PyObject *) 0 ;
13931 PyObject *arg3 = (PyObject *) 0 ;
13932 PyObject * obj0 = 0 ;
13933 PyObject * obj1 = 0 ;
13934 PyObject * obj2 = 0 ;
13935 char *kwnames[] = {
13936 (char *) "self",(char *) "self",(char *) "_class", NULL
13937 };
13938
13939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
13940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13941 arg2 = obj1;
13942 arg3 = obj2;
13943 {
13944 PyThreadState* __tstate = wxPyBeginAllowThreads();
13945 (arg1)->_setCallbackInfo(arg2,arg3);
13946
13947 wxPyEndAllowThreads(__tstate);
13948 if (PyErr_Occurred()) SWIG_fail;
13949 }
13950 Py_INCREF(Py_None); resultobj = Py_None;
13951 return resultobj;
13952 fail:
13953 return NULL;
13954 }
13955
13956
13957 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13958 PyObject *resultobj;
13959 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13960 int arg2 ;
13961 int arg3 ;
13962 int arg4 ;
13963 int arg5 ;
13964 PyObject * obj0 = 0 ;
13965 char *kwnames[] = {
13966 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13967 };
13968
13969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyWindow_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13971 {
13972 PyThreadState* __tstate = wxPyBeginAllowThreads();
13973 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
13974
13975 wxPyEndAllowThreads(__tstate);
13976 if (PyErr_Occurred()) SWIG_fail;
13977 }
13978 Py_INCREF(Py_None); resultobj = Py_None;
13979 return resultobj;
13980 fail:
13981 return NULL;
13982 }
13983
13984
13985 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13986 PyObject *resultobj;
13987 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13988 int arg2 ;
13989 int arg3 ;
13990 int arg4 ;
13991 int arg5 ;
13992 int arg6 = (int) wxSIZE_AUTO ;
13993 PyObject * obj0 = 0 ;
13994 char *kwnames[] = {
13995 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
13996 };
13997
13998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyWindow_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
13999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14000 {
14001 PyThreadState* __tstate = wxPyBeginAllowThreads();
14002 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
14003
14004 wxPyEndAllowThreads(__tstate);
14005 if (PyErr_Occurred()) SWIG_fail;
14006 }
14007 Py_INCREF(Py_None); resultobj = Py_None;
14008 return resultobj;
14009 fail:
14010 return NULL;
14011 }
14012
14013
14014 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14015 PyObject *resultobj;
14016 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14017 int arg2 ;
14018 int arg3 ;
14019 PyObject * obj0 = 0 ;
14020 char *kwnames[] = {
14021 (char *) "self",(char *) "width",(char *) "height", NULL
14022 };
14023
14024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14026 {
14027 PyThreadState* __tstate = wxPyBeginAllowThreads();
14028 (arg1)->base_DoSetClientSize(arg2,arg3);
14029
14030 wxPyEndAllowThreads(__tstate);
14031 if (PyErr_Occurred()) SWIG_fail;
14032 }
14033 Py_INCREF(Py_None); resultobj = Py_None;
14034 return resultobj;
14035 fail:
14036 return NULL;
14037 }
14038
14039
14040 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14041 PyObject *resultobj;
14042 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14043 int arg2 ;
14044 int arg3 ;
14045 PyObject * obj0 = 0 ;
14046 char *kwnames[] = {
14047 (char *) "self",(char *) "x",(char *) "y", NULL
14048 };
14049
14050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14052 {
14053 PyThreadState* __tstate = wxPyBeginAllowThreads();
14054 (arg1)->base_DoSetVirtualSize(arg2,arg3);
14055
14056 wxPyEndAllowThreads(__tstate);
14057 if (PyErr_Occurred()) SWIG_fail;
14058 }
14059 Py_INCREF(Py_None); resultobj = Py_None;
14060 return resultobj;
14061 fail:
14062 return NULL;
14063 }
14064
14065
14066 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14067 PyObject *resultobj;
14068 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14069 int *arg2 = (int *) 0 ;
14070 int *arg3 = (int *) 0 ;
14071 int temp2 ;
14072 int temp3 ;
14073 PyObject * obj0 = 0 ;
14074 char *kwnames[] = {
14075 (char *) "self", NULL
14076 };
14077
14078 arg2 = &temp2;
14079 arg3 = &temp3;
14080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
14081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14082 {
14083 PyThreadState* __tstate = wxPyBeginAllowThreads();
14084 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
14085
14086 wxPyEndAllowThreads(__tstate);
14087 if (PyErr_Occurred()) SWIG_fail;
14088 }
14089 Py_INCREF(Py_None); resultobj = Py_None;
14090 {
14091 PyObject *o = PyInt_FromLong((long) (*arg2));
14092 resultobj = t_output_helper(resultobj,o);
14093 }
14094 {
14095 PyObject *o = PyInt_FromLong((long) (*arg3));
14096 resultobj = t_output_helper(resultobj,o);
14097 }
14098 return resultobj;
14099 fail:
14100 return NULL;
14101 }
14102
14103
14104 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14105 PyObject *resultobj;
14106 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14107 int *arg2 = (int *) 0 ;
14108 int *arg3 = (int *) 0 ;
14109 int temp2 ;
14110 int temp3 ;
14111 PyObject * obj0 = 0 ;
14112 char *kwnames[] = {
14113 (char *) "self", NULL
14114 };
14115
14116 arg2 = &temp2;
14117 arg3 = &temp3;
14118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
14119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14120 {
14121 PyThreadState* __tstate = wxPyBeginAllowThreads();
14122 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
14123
14124 wxPyEndAllowThreads(__tstate);
14125 if (PyErr_Occurred()) SWIG_fail;
14126 }
14127 Py_INCREF(Py_None); resultobj = Py_None;
14128 {
14129 PyObject *o = PyInt_FromLong((long) (*arg2));
14130 resultobj = t_output_helper(resultobj,o);
14131 }
14132 {
14133 PyObject *o = PyInt_FromLong((long) (*arg3));
14134 resultobj = t_output_helper(resultobj,o);
14135 }
14136 return resultobj;
14137 fail:
14138 return NULL;
14139 }
14140
14141
14142 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14143 PyObject *resultobj;
14144 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14145 int *arg2 = (int *) 0 ;
14146 int *arg3 = (int *) 0 ;
14147 int temp2 ;
14148 int temp3 ;
14149 PyObject * obj0 = 0 ;
14150 char *kwnames[] = {
14151 (char *) "self", NULL
14152 };
14153
14154 arg2 = &temp2;
14155 arg3 = &temp3;
14156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
14157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14158 {
14159 PyThreadState* __tstate = wxPyBeginAllowThreads();
14160 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
14161
14162 wxPyEndAllowThreads(__tstate);
14163 if (PyErr_Occurred()) SWIG_fail;
14164 }
14165 Py_INCREF(Py_None); resultobj = Py_None;
14166 {
14167 PyObject *o = PyInt_FromLong((long) (*arg2));
14168 resultobj = t_output_helper(resultobj,o);
14169 }
14170 {
14171 PyObject *o = PyInt_FromLong((long) (*arg3));
14172 resultobj = t_output_helper(resultobj,o);
14173 }
14174 return resultobj;
14175 fail:
14176 return NULL;
14177 }
14178
14179
14180 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14181 PyObject *resultobj;
14182 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14183 wxSize result;
14184 PyObject * obj0 = 0 ;
14185 char *kwnames[] = {
14186 (char *) "self", NULL
14187 };
14188
14189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
14190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14191 {
14192 PyThreadState* __tstate = wxPyBeginAllowThreads();
14193 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
14194
14195 wxPyEndAllowThreads(__tstate);
14196 if (PyErr_Occurred()) SWIG_fail;
14197 }
14198 {
14199 wxSize * resultptr;
14200 resultptr = new wxSize((wxSize &) result);
14201 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14202 }
14203 return resultobj;
14204 fail:
14205 return NULL;
14206 }
14207
14208
14209 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14210 PyObject *resultobj;
14211 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14212 wxSize result;
14213 PyObject * obj0 = 0 ;
14214 char *kwnames[] = {
14215 (char *) "self", NULL
14216 };
14217
14218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
14219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14220 {
14221 PyThreadState* __tstate = wxPyBeginAllowThreads();
14222 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
14223
14224 wxPyEndAllowThreads(__tstate);
14225 if (PyErr_Occurred()) SWIG_fail;
14226 }
14227 {
14228 wxSize * resultptr;
14229 resultptr = new wxSize((wxSize &) result);
14230 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14231 }
14232 return resultobj;
14233 fail:
14234 return NULL;
14235 }
14236
14237
14238 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14239 PyObject *resultobj;
14240 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14241 PyObject * obj0 = 0 ;
14242 char *kwnames[] = {
14243 (char *) "self", NULL
14244 };
14245
14246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
14247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14248 {
14249 PyThreadState* __tstate = wxPyBeginAllowThreads();
14250 (arg1)->base_InitDialog();
14251
14252 wxPyEndAllowThreads(__tstate);
14253 if (PyErr_Occurred()) SWIG_fail;
14254 }
14255 Py_INCREF(Py_None); resultobj = Py_None;
14256 return resultobj;
14257 fail:
14258 return NULL;
14259 }
14260
14261
14262 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14263 PyObject *resultobj;
14264 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14265 bool result;
14266 PyObject * obj0 = 0 ;
14267 char *kwnames[] = {
14268 (char *) "self", NULL
14269 };
14270
14271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
14272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14273 {
14274 PyThreadState* __tstate = wxPyBeginAllowThreads();
14275 result = (bool)(arg1)->base_TransferDataToWindow();
14276
14277 wxPyEndAllowThreads(__tstate);
14278 if (PyErr_Occurred()) SWIG_fail;
14279 }
14280 resultobj = PyInt_FromLong((long)result);
14281 return resultobj;
14282 fail:
14283 return NULL;
14284 }
14285
14286
14287 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14288 PyObject *resultobj;
14289 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14290 bool result;
14291 PyObject * obj0 = 0 ;
14292 char *kwnames[] = {
14293 (char *) "self", NULL
14294 };
14295
14296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
14297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14298 {
14299 PyThreadState* __tstate = wxPyBeginAllowThreads();
14300 result = (bool)(arg1)->base_TransferDataFromWindow();
14301
14302 wxPyEndAllowThreads(__tstate);
14303 if (PyErr_Occurred()) SWIG_fail;
14304 }
14305 resultobj = PyInt_FromLong((long)result);
14306 return resultobj;
14307 fail:
14308 return NULL;
14309 }
14310
14311
14312 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
14313 PyObject *resultobj;
14314 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14315 bool result;
14316 PyObject * obj0 = 0 ;
14317 char *kwnames[] = {
14318 (char *) "self", NULL
14319 };
14320
14321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
14322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14323 {
14324 PyThreadState* __tstate = wxPyBeginAllowThreads();
14325 result = (bool)(arg1)->base_Validate();
14326
14327 wxPyEndAllowThreads(__tstate);
14328 if (PyErr_Occurred()) SWIG_fail;
14329 }
14330 resultobj = PyInt_FromLong((long)result);
14331 return resultobj;
14332 fail:
14333 return NULL;
14334 }
14335
14336
14337 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
14338 PyObject *resultobj;
14339 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14340 bool result;
14341 PyObject * obj0 = 0 ;
14342 char *kwnames[] = {
14343 (char *) "self", NULL
14344 };
14345
14346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
14347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14348 {
14349 PyThreadState* __tstate = wxPyBeginAllowThreads();
14350 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
14351
14352 wxPyEndAllowThreads(__tstate);
14353 if (PyErr_Occurred()) SWIG_fail;
14354 }
14355 resultobj = PyInt_FromLong((long)result);
14356 return resultobj;
14357 fail:
14358 return NULL;
14359 }
14360
14361
14362 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
14363 PyObject *resultobj;
14364 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14365 bool result;
14366 PyObject * obj0 = 0 ;
14367 char *kwnames[] = {
14368 (char *) "self", NULL
14369 };
14370
14371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
14372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14373 {
14374 PyThreadState* __tstate = wxPyBeginAllowThreads();
14375 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
14376
14377 wxPyEndAllowThreads(__tstate);
14378 if (PyErr_Occurred()) SWIG_fail;
14379 }
14380 resultobj = PyInt_FromLong((long)result);
14381 return resultobj;
14382 fail:
14383 return NULL;
14384 }
14385
14386
14387 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14388 PyObject *resultobj;
14389 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14390 wxSize result;
14391 PyObject * obj0 = 0 ;
14392 char *kwnames[] = {
14393 (char *) "self", NULL
14394 };
14395
14396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
14397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14398 {
14399 PyThreadState* __tstate = wxPyBeginAllowThreads();
14400 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
14401
14402 wxPyEndAllowThreads(__tstate);
14403 if (PyErr_Occurred()) SWIG_fail;
14404 }
14405 {
14406 wxSize * resultptr;
14407 resultptr = new wxSize((wxSize &) result);
14408 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14409 }
14410 return resultobj;
14411 fail:
14412 return NULL;
14413 }
14414
14415
14416 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14417 PyObject *resultobj;
14418 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14419 wxWindow *arg2 = (wxWindow *) 0 ;
14420 PyObject * obj0 = 0 ;
14421 PyObject * obj1 = 0 ;
14422 char *kwnames[] = {
14423 (char *) "self",(char *) "child", NULL
14424 };
14425
14426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
14427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14428 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14429 {
14430 PyThreadState* __tstate = wxPyBeginAllowThreads();
14431 (arg1)->base_AddChild(arg2);
14432
14433 wxPyEndAllowThreads(__tstate);
14434 if (PyErr_Occurred()) SWIG_fail;
14435 }
14436 Py_INCREF(Py_None); resultobj = Py_None;
14437 return resultobj;
14438 fail:
14439 return NULL;
14440 }
14441
14442
14443 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14444 PyObject *resultobj;
14445 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14446 wxWindow *arg2 = (wxWindow *) 0 ;
14447 PyObject * obj0 = 0 ;
14448 PyObject * obj1 = 0 ;
14449 char *kwnames[] = {
14450 (char *) "self",(char *) "child", NULL
14451 };
14452
14453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
14454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14455 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14456 {
14457 PyThreadState* __tstate = wxPyBeginAllowThreads();
14458 (arg1)->base_RemoveChild(arg2);
14459
14460 wxPyEndAllowThreads(__tstate);
14461 if (PyErr_Occurred()) SWIG_fail;
14462 }
14463 Py_INCREF(Py_None); resultobj = Py_None;
14464 return resultobj;
14465 fail:
14466 return NULL;
14467 }
14468
14469
14470 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
14471 PyObject *obj;
14472 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14473 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
14474 Py_INCREF(obj);
14475 return Py_BuildValue((char *)"");
14476 }
14477 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
14478 PyObject *resultobj;
14479 wxWindow *arg1 = (wxWindow *) 0 ;
14480 int arg2 ;
14481 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14482 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14483 wxSize const &arg4_defvalue = wxDefaultSize ;
14484 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14485 long arg5 = (long) 0 ;
14486 wxString const &arg6_defvalue = wxPyPanelNameStr ;
14487 wxString *arg6 = (wxString *) &arg6_defvalue ;
14488 wxPyPanel *result;
14489 wxPoint temp3 ;
14490 wxSize temp4 ;
14491 bool temp6 = False ;
14492 PyObject * obj0 = 0 ;
14493 PyObject * obj2 = 0 ;
14494 PyObject * obj3 = 0 ;
14495 PyObject * obj5 = 0 ;
14496 char *kwnames[] = {
14497 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14498 };
14499
14500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyPanel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
14501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14502 if (obj2) {
14503 {
14504 arg3 = &temp3;
14505 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14506 }
14507 }
14508 if (obj3) {
14509 {
14510 arg4 = &temp4;
14511 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14512 }
14513 }
14514 if (obj5) {
14515 {
14516 arg6 = wxString_in_helper(obj5);
14517 if (arg6 == NULL) SWIG_fail;
14518 temp6 = True;
14519 }
14520 }
14521 {
14522 PyThreadState* __tstate = wxPyBeginAllowThreads();
14523 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14524
14525 wxPyEndAllowThreads(__tstate);
14526 if (PyErr_Occurred()) SWIG_fail;
14527 }
14528 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPanel, 1);
14529 {
14530 if (temp6)
14531 delete arg6;
14532 }
14533 return resultobj;
14534 fail:
14535 {
14536 if (temp6)
14537 delete arg6;
14538 }
14539 return NULL;
14540 }
14541
14542
14543 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14544 PyObject *resultobj;
14545 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14546 PyObject *arg2 = (PyObject *) 0 ;
14547 PyObject *arg3 = (PyObject *) 0 ;
14548 PyObject * obj0 = 0 ;
14549 PyObject * obj1 = 0 ;
14550 PyObject * obj2 = 0 ;
14551 char *kwnames[] = {
14552 (char *) "self",(char *) "self",(char *) "_class", NULL
14553 };
14554
14555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14557 arg2 = obj1;
14558 arg3 = obj2;
14559 {
14560 PyThreadState* __tstate = wxPyBeginAllowThreads();
14561 (arg1)->_setCallbackInfo(arg2,arg3);
14562
14563 wxPyEndAllowThreads(__tstate);
14564 if (PyErr_Occurred()) SWIG_fail;
14565 }
14566 Py_INCREF(Py_None); resultobj = Py_None;
14567 return resultobj;
14568 fail:
14569 return NULL;
14570 }
14571
14572
14573 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14574 PyObject *resultobj;
14575 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14576 int arg2 ;
14577 int arg3 ;
14578 int arg4 ;
14579 int arg5 ;
14580 PyObject * obj0 = 0 ;
14581 char *kwnames[] = {
14582 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14583 };
14584
14585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyPanel_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14587 {
14588 PyThreadState* __tstate = wxPyBeginAllowThreads();
14589 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
14590
14591 wxPyEndAllowThreads(__tstate);
14592 if (PyErr_Occurred()) SWIG_fail;
14593 }
14594 Py_INCREF(Py_None); resultobj = Py_None;
14595 return resultobj;
14596 fail:
14597 return NULL;
14598 }
14599
14600
14601 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14602 PyObject *resultobj;
14603 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14604 int arg2 ;
14605 int arg3 ;
14606 int arg4 ;
14607 int arg5 ;
14608 int arg6 = (int) wxSIZE_AUTO ;
14609 PyObject * obj0 = 0 ;
14610 char *kwnames[] = {
14611 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14612 };
14613
14614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyPanel_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
14615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14616 {
14617 PyThreadState* __tstate = wxPyBeginAllowThreads();
14618 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
14619
14620 wxPyEndAllowThreads(__tstate);
14621 if (PyErr_Occurred()) SWIG_fail;
14622 }
14623 Py_INCREF(Py_None); resultobj = Py_None;
14624 return resultobj;
14625 fail:
14626 return NULL;
14627 }
14628
14629
14630 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14631 PyObject *resultobj;
14632 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14633 int arg2 ;
14634 int arg3 ;
14635 PyObject * obj0 = 0 ;
14636 char *kwnames[] = {
14637 (char *) "self",(char *) "width",(char *) "height", NULL
14638 };
14639
14640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14642 {
14643 PyThreadState* __tstate = wxPyBeginAllowThreads();
14644 (arg1)->base_DoSetClientSize(arg2,arg3);
14645
14646 wxPyEndAllowThreads(__tstate);
14647 if (PyErr_Occurred()) SWIG_fail;
14648 }
14649 Py_INCREF(Py_None); resultobj = Py_None;
14650 return resultobj;
14651 fail:
14652 return NULL;
14653 }
14654
14655
14656 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14657 PyObject *resultobj;
14658 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14659 int arg2 ;
14660 int arg3 ;
14661 PyObject * obj0 = 0 ;
14662 char *kwnames[] = {
14663 (char *) "self",(char *) "x",(char *) "y", NULL
14664 };
14665
14666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14668 {
14669 PyThreadState* __tstate = wxPyBeginAllowThreads();
14670 (arg1)->base_DoSetVirtualSize(arg2,arg3);
14671
14672 wxPyEndAllowThreads(__tstate);
14673 if (PyErr_Occurred()) SWIG_fail;
14674 }
14675 Py_INCREF(Py_None); resultobj = Py_None;
14676 return resultobj;
14677 fail:
14678 return NULL;
14679 }
14680
14681
14682 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14683 PyObject *resultobj;
14684 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14685 int *arg2 = (int *) 0 ;
14686 int *arg3 = (int *) 0 ;
14687 int temp2 ;
14688 int temp3 ;
14689 PyObject * obj0 = 0 ;
14690 char *kwnames[] = {
14691 (char *) "self", NULL
14692 };
14693
14694 arg2 = &temp2;
14695 arg3 = &temp3;
14696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
14697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14698 {
14699 PyThreadState* __tstate = wxPyBeginAllowThreads();
14700 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
14701
14702 wxPyEndAllowThreads(__tstate);
14703 if (PyErr_Occurred()) SWIG_fail;
14704 }
14705 Py_INCREF(Py_None); resultobj = Py_None;
14706 {
14707 PyObject *o = PyInt_FromLong((long) (*arg2));
14708 resultobj = t_output_helper(resultobj,o);
14709 }
14710 {
14711 PyObject *o = PyInt_FromLong((long) (*arg3));
14712 resultobj = t_output_helper(resultobj,o);
14713 }
14714 return resultobj;
14715 fail:
14716 return NULL;
14717 }
14718
14719
14720 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14721 PyObject *resultobj;
14722 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14723 int *arg2 = (int *) 0 ;
14724 int *arg3 = (int *) 0 ;
14725 int temp2 ;
14726 int temp3 ;
14727 PyObject * obj0 = 0 ;
14728 char *kwnames[] = {
14729 (char *) "self", NULL
14730 };
14731
14732 arg2 = &temp2;
14733 arg3 = &temp3;
14734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
14735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14736 {
14737 PyThreadState* __tstate = wxPyBeginAllowThreads();
14738 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
14739
14740 wxPyEndAllowThreads(__tstate);
14741 if (PyErr_Occurred()) SWIG_fail;
14742 }
14743 Py_INCREF(Py_None); resultobj = Py_None;
14744 {
14745 PyObject *o = PyInt_FromLong((long) (*arg2));
14746 resultobj = t_output_helper(resultobj,o);
14747 }
14748 {
14749 PyObject *o = PyInt_FromLong((long) (*arg3));
14750 resultobj = t_output_helper(resultobj,o);
14751 }
14752 return resultobj;
14753 fail:
14754 return NULL;
14755 }
14756
14757
14758 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14759 PyObject *resultobj;
14760 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14761 int *arg2 = (int *) 0 ;
14762 int *arg3 = (int *) 0 ;
14763 int temp2 ;
14764 int temp3 ;
14765 PyObject * obj0 = 0 ;
14766 char *kwnames[] = {
14767 (char *) "self", NULL
14768 };
14769
14770 arg2 = &temp2;
14771 arg3 = &temp3;
14772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
14773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14774 {
14775 PyThreadState* __tstate = wxPyBeginAllowThreads();
14776 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
14777
14778 wxPyEndAllowThreads(__tstate);
14779 if (PyErr_Occurred()) SWIG_fail;
14780 }
14781 Py_INCREF(Py_None); resultobj = Py_None;
14782 {
14783 PyObject *o = PyInt_FromLong((long) (*arg2));
14784 resultobj = t_output_helper(resultobj,o);
14785 }
14786 {
14787 PyObject *o = PyInt_FromLong((long) (*arg3));
14788 resultobj = t_output_helper(resultobj,o);
14789 }
14790 return resultobj;
14791 fail:
14792 return NULL;
14793 }
14794
14795
14796 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14797 PyObject *resultobj;
14798 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14799 wxSize result;
14800 PyObject * obj0 = 0 ;
14801 char *kwnames[] = {
14802 (char *) "self", NULL
14803 };
14804
14805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
14806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14807 {
14808 PyThreadState* __tstate = wxPyBeginAllowThreads();
14809 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
14810
14811 wxPyEndAllowThreads(__tstate);
14812 if (PyErr_Occurred()) SWIG_fail;
14813 }
14814 {
14815 wxSize * resultptr;
14816 resultptr = new wxSize((wxSize &) result);
14817 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14818 }
14819 return resultobj;
14820 fail:
14821 return NULL;
14822 }
14823
14824
14825 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14826 PyObject *resultobj;
14827 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14828 wxSize result;
14829 PyObject * obj0 = 0 ;
14830 char *kwnames[] = {
14831 (char *) "self", NULL
14832 };
14833
14834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
14835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14836 {
14837 PyThreadState* __tstate = wxPyBeginAllowThreads();
14838 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
14839
14840 wxPyEndAllowThreads(__tstate);
14841 if (PyErr_Occurred()) SWIG_fail;
14842 }
14843 {
14844 wxSize * resultptr;
14845 resultptr = new wxSize((wxSize &) result);
14846 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14847 }
14848 return resultobj;
14849 fail:
14850 return NULL;
14851 }
14852
14853
14854 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14855 PyObject *resultobj;
14856 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14857 PyObject * obj0 = 0 ;
14858 char *kwnames[] = {
14859 (char *) "self", NULL
14860 };
14861
14862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
14863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14864 {
14865 PyThreadState* __tstate = wxPyBeginAllowThreads();
14866 (arg1)->base_InitDialog();
14867
14868 wxPyEndAllowThreads(__tstate);
14869 if (PyErr_Occurred()) SWIG_fail;
14870 }
14871 Py_INCREF(Py_None); resultobj = Py_None;
14872 return resultobj;
14873 fail:
14874 return NULL;
14875 }
14876
14877
14878 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14879 PyObject *resultobj;
14880 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14881 bool result;
14882 PyObject * obj0 = 0 ;
14883 char *kwnames[] = {
14884 (char *) "self", NULL
14885 };
14886
14887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
14888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14889 {
14890 PyThreadState* __tstate = wxPyBeginAllowThreads();
14891 result = (bool)(arg1)->base_TransferDataToWindow();
14892
14893 wxPyEndAllowThreads(__tstate);
14894 if (PyErr_Occurred()) SWIG_fail;
14895 }
14896 resultobj = PyInt_FromLong((long)result);
14897 return resultobj;
14898 fail:
14899 return NULL;
14900 }
14901
14902
14903 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14904 PyObject *resultobj;
14905 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14906 bool result;
14907 PyObject * obj0 = 0 ;
14908 char *kwnames[] = {
14909 (char *) "self", NULL
14910 };
14911
14912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
14913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14914 {
14915 PyThreadState* __tstate = wxPyBeginAllowThreads();
14916 result = (bool)(arg1)->base_TransferDataFromWindow();
14917
14918 wxPyEndAllowThreads(__tstate);
14919 if (PyErr_Occurred()) SWIG_fail;
14920 }
14921 resultobj = PyInt_FromLong((long)result);
14922 return resultobj;
14923 fail:
14924 return NULL;
14925 }
14926
14927
14928 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
14929 PyObject *resultobj;
14930 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14931 bool result;
14932 PyObject * obj0 = 0 ;
14933 char *kwnames[] = {
14934 (char *) "self", NULL
14935 };
14936
14937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
14938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14939 {
14940 PyThreadState* __tstate = wxPyBeginAllowThreads();
14941 result = (bool)(arg1)->base_Validate();
14942
14943 wxPyEndAllowThreads(__tstate);
14944 if (PyErr_Occurred()) SWIG_fail;
14945 }
14946 resultobj = PyInt_FromLong((long)result);
14947 return resultobj;
14948 fail:
14949 return NULL;
14950 }
14951
14952
14953 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
14954 PyObject *resultobj;
14955 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14956 bool result;
14957 PyObject * obj0 = 0 ;
14958 char *kwnames[] = {
14959 (char *) "self", NULL
14960 };
14961
14962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
14963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14964 {
14965 PyThreadState* __tstate = wxPyBeginAllowThreads();
14966 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
14967
14968 wxPyEndAllowThreads(__tstate);
14969 if (PyErr_Occurred()) SWIG_fail;
14970 }
14971 resultobj = PyInt_FromLong((long)result);
14972 return resultobj;
14973 fail:
14974 return NULL;
14975 }
14976
14977
14978 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
14979 PyObject *resultobj;
14980 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14981 bool result;
14982 PyObject * obj0 = 0 ;
14983 char *kwnames[] = {
14984 (char *) "self", NULL
14985 };
14986
14987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
14988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14989 {
14990 PyThreadState* __tstate = wxPyBeginAllowThreads();
14991 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
14992
14993 wxPyEndAllowThreads(__tstate);
14994 if (PyErr_Occurred()) SWIG_fail;
14995 }
14996 resultobj = PyInt_FromLong((long)result);
14997 return resultobj;
14998 fail:
14999 return NULL;
15000 }
15001
15002
15003 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15004 PyObject *resultobj;
15005 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15006 wxSize result;
15007 PyObject * obj0 = 0 ;
15008 char *kwnames[] = {
15009 (char *) "self", NULL
15010 };
15011
15012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
15013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15014 {
15015 PyThreadState* __tstate = wxPyBeginAllowThreads();
15016 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
15017
15018 wxPyEndAllowThreads(__tstate);
15019 if (PyErr_Occurred()) SWIG_fail;
15020 }
15021 {
15022 wxSize * resultptr;
15023 resultptr = new wxSize((wxSize &) result);
15024 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15025 }
15026 return resultobj;
15027 fail:
15028 return NULL;
15029 }
15030
15031
15032 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15033 PyObject *resultobj;
15034 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15035 wxWindow *arg2 = (wxWindow *) 0 ;
15036 PyObject * obj0 = 0 ;
15037 PyObject * obj1 = 0 ;
15038 char *kwnames[] = {
15039 (char *) "self",(char *) "child", NULL
15040 };
15041
15042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15044 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15045 {
15046 PyThreadState* __tstate = wxPyBeginAllowThreads();
15047 (arg1)->base_AddChild(arg2);
15048
15049 wxPyEndAllowThreads(__tstate);
15050 if (PyErr_Occurred()) SWIG_fail;
15051 }
15052 Py_INCREF(Py_None); resultobj = Py_None;
15053 return resultobj;
15054 fail:
15055 return NULL;
15056 }
15057
15058
15059 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15060 PyObject *resultobj;
15061 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15062 wxWindow *arg2 = (wxWindow *) 0 ;
15063 PyObject * obj0 = 0 ;
15064 PyObject * obj1 = 0 ;
15065 char *kwnames[] = {
15066 (char *) "self",(char *) "child", NULL
15067 };
15068
15069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15071 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15072 {
15073 PyThreadState* __tstate = wxPyBeginAllowThreads();
15074 (arg1)->base_RemoveChild(arg2);
15075
15076 wxPyEndAllowThreads(__tstate);
15077 if (PyErr_Occurred()) SWIG_fail;
15078 }
15079 Py_INCREF(Py_None); resultobj = Py_None;
15080 return resultobj;
15081 fail:
15082 return NULL;
15083 }
15084
15085
15086 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
15087 PyObject *obj;
15088 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15089 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
15090 Py_INCREF(obj);
15091 return Py_BuildValue((char *)"");
15092 }
15093 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
15094 PyObject *resultobj;
15095 wxPrintData *result;
15096 char *kwnames[] = {
15097 NULL
15098 };
15099
15100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
15101 {
15102 PyThreadState* __tstate = wxPyBeginAllowThreads();
15103 result = (wxPrintData *)new wxPrintData();
15104
15105 wxPyEndAllowThreads(__tstate);
15106 if (PyErr_Occurred()) SWIG_fail;
15107 }
15108 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 1);
15109 return resultobj;
15110 fail:
15111 return NULL;
15112 }
15113
15114
15115 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
15116 PyObject *resultobj;
15117 wxPrintData *arg1 = (wxPrintData *) 0 ;
15118 PyObject * obj0 = 0 ;
15119 char *kwnames[] = {
15120 (char *) "self", NULL
15121 };
15122
15123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
15124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15125 {
15126 PyThreadState* __tstate = wxPyBeginAllowThreads();
15127 delete arg1;
15128
15129 wxPyEndAllowThreads(__tstate);
15130 if (PyErr_Occurred()) SWIG_fail;
15131 }
15132 Py_INCREF(Py_None); resultobj = Py_None;
15133 return resultobj;
15134 fail:
15135 return NULL;
15136 }
15137
15138
15139 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
15140 PyObject *resultobj;
15141 wxPrintData *arg1 = (wxPrintData *) 0 ;
15142 int result;
15143 PyObject * obj0 = 0 ;
15144 char *kwnames[] = {
15145 (char *) "self", NULL
15146 };
15147
15148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
15149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15150 {
15151 PyThreadState* __tstate = wxPyBeginAllowThreads();
15152 result = (int)(arg1)->GetNoCopies();
15153
15154 wxPyEndAllowThreads(__tstate);
15155 if (PyErr_Occurred()) SWIG_fail;
15156 }
15157 resultobj = PyInt_FromLong((long)result);
15158 return resultobj;
15159 fail:
15160 return NULL;
15161 }
15162
15163
15164 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
15165 PyObject *resultobj;
15166 wxPrintData *arg1 = (wxPrintData *) 0 ;
15167 bool result;
15168 PyObject * obj0 = 0 ;
15169 char *kwnames[] = {
15170 (char *) "self", NULL
15171 };
15172
15173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
15174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15175 {
15176 PyThreadState* __tstate = wxPyBeginAllowThreads();
15177 result = (bool)(arg1)->GetCollate();
15178
15179 wxPyEndAllowThreads(__tstate);
15180 if (PyErr_Occurred()) SWIG_fail;
15181 }
15182 resultobj = PyInt_FromLong((long)result);
15183 return resultobj;
15184 fail:
15185 return NULL;
15186 }
15187
15188
15189 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
15190 PyObject *resultobj;
15191 wxPrintData *arg1 = (wxPrintData *) 0 ;
15192 int result;
15193 PyObject * obj0 = 0 ;
15194 char *kwnames[] = {
15195 (char *) "self", NULL
15196 };
15197
15198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
15199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15200 {
15201 PyThreadState* __tstate = wxPyBeginAllowThreads();
15202 result = (int)(arg1)->GetOrientation();
15203
15204 wxPyEndAllowThreads(__tstate);
15205 if (PyErr_Occurred()) SWIG_fail;
15206 }
15207 resultobj = PyInt_FromLong((long)result);
15208 return resultobj;
15209 fail:
15210 return NULL;
15211 }
15212
15213
15214 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
15215 PyObject *resultobj;
15216 wxPrintData *arg1 = (wxPrintData *) 0 ;
15217 bool result;
15218 PyObject * obj0 = 0 ;
15219 char *kwnames[] = {
15220 (char *) "self", NULL
15221 };
15222
15223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
15224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15225 {
15226 PyThreadState* __tstate = wxPyBeginAllowThreads();
15227 result = (bool)(arg1)->Ok();
15228
15229 wxPyEndAllowThreads(__tstate);
15230 if (PyErr_Occurred()) SWIG_fail;
15231 }
15232 resultobj = PyInt_FromLong((long)result);
15233 return resultobj;
15234 fail:
15235 return NULL;
15236 }
15237
15238
15239 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
15240 PyObject *resultobj;
15241 wxPrintData *arg1 = (wxPrintData *) 0 ;
15242 wxString *result;
15243 PyObject * obj0 = 0 ;
15244 char *kwnames[] = {
15245 (char *) "self", NULL
15246 };
15247
15248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
15249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15250 {
15251 PyThreadState* __tstate = wxPyBeginAllowThreads();
15252 {
15253 wxString const &_result_ref = (arg1)->GetPrinterName();
15254 result = (wxString *) &_result_ref;
15255 }
15256
15257 wxPyEndAllowThreads(__tstate);
15258 if (PyErr_Occurred()) SWIG_fail;
15259 }
15260 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15261 return resultobj;
15262 fail:
15263 return NULL;
15264 }
15265
15266
15267 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15268 PyObject *resultobj;
15269 wxPrintData *arg1 = (wxPrintData *) 0 ;
15270 bool result;
15271 PyObject * obj0 = 0 ;
15272 char *kwnames[] = {
15273 (char *) "self", NULL
15274 };
15275
15276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
15277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15278 {
15279 PyThreadState* __tstate = wxPyBeginAllowThreads();
15280 result = (bool)(arg1)->GetColour();
15281
15282 wxPyEndAllowThreads(__tstate);
15283 if (PyErr_Occurred()) SWIG_fail;
15284 }
15285 resultobj = PyInt_FromLong((long)result);
15286 return resultobj;
15287 fail:
15288 return NULL;
15289 }
15290
15291
15292 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
15293 PyObject *resultobj;
15294 wxPrintData *arg1 = (wxPrintData *) 0 ;
15295 int result;
15296 PyObject * obj0 = 0 ;
15297 char *kwnames[] = {
15298 (char *) "self", NULL
15299 };
15300
15301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
15302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15303 {
15304 PyThreadState* __tstate = wxPyBeginAllowThreads();
15305 result = (int)(arg1)->GetDuplex();
15306
15307 wxPyEndAllowThreads(__tstate);
15308 if (PyErr_Occurred()) SWIG_fail;
15309 }
15310 resultobj = PyInt_FromLong((long)result);
15311 return resultobj;
15312 fail:
15313 return NULL;
15314 }
15315
15316
15317 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
15318 PyObject *resultobj;
15319 wxPrintData *arg1 = (wxPrintData *) 0 ;
15320 int result;
15321 PyObject * obj0 = 0 ;
15322 char *kwnames[] = {
15323 (char *) "self", NULL
15324 };
15325
15326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
15327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15328 {
15329 PyThreadState* __tstate = wxPyBeginAllowThreads();
15330 result = (int)(arg1)->GetPaperId();
15331
15332 wxPyEndAllowThreads(__tstate);
15333 if (PyErr_Occurred()) SWIG_fail;
15334 }
15335 resultobj = PyInt_FromLong((long)result);
15336 return resultobj;
15337 fail:
15338 return NULL;
15339 }
15340
15341
15342 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15343 PyObject *resultobj;
15344 wxPrintData *arg1 = (wxPrintData *) 0 ;
15345 wxSize *result;
15346 PyObject * obj0 = 0 ;
15347 char *kwnames[] = {
15348 (char *) "self", NULL
15349 };
15350
15351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
15352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15353 {
15354 PyThreadState* __tstate = wxPyBeginAllowThreads();
15355 {
15356 wxSize const &_result_ref = (arg1)->GetPaperSize();
15357 result = (wxSize *) &_result_ref;
15358 }
15359
15360 wxPyEndAllowThreads(__tstate);
15361 if (PyErr_Occurred()) SWIG_fail;
15362 }
15363 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
15364 return resultobj;
15365 fail:
15366 return NULL;
15367 }
15368
15369
15370 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
15371 PyObject *resultobj;
15372 wxPrintData *arg1 = (wxPrintData *) 0 ;
15373 wxPrintQuality result;
15374 PyObject * obj0 = 0 ;
15375 char *kwnames[] = {
15376 (char *) "self", NULL
15377 };
15378
15379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
15380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15381 {
15382 PyThreadState* __tstate = wxPyBeginAllowThreads();
15383 result = (arg1)->GetQuality();
15384
15385 wxPyEndAllowThreads(__tstate);
15386 if (PyErr_Occurred()) SWIG_fail;
15387 }
15388 {
15389 wxPrintQuality * resultptr;
15390 resultptr = new wxPrintQuality((wxPrintQuality &) result);
15391 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPrintQuality, 1);
15392 }
15393 return resultobj;
15394 fail:
15395 return NULL;
15396 }
15397
15398
15399 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
15400 PyObject *resultobj;
15401 wxPrintData *arg1 = (wxPrintData *) 0 ;
15402 int arg2 ;
15403 PyObject * obj0 = 0 ;
15404 char *kwnames[] = {
15405 (char *) "self",(char *) "v", NULL
15406 };
15407
15408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
15409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15410 {
15411 PyThreadState* __tstate = wxPyBeginAllowThreads();
15412 (arg1)->SetNoCopies(arg2);
15413
15414 wxPyEndAllowThreads(__tstate);
15415 if (PyErr_Occurred()) SWIG_fail;
15416 }
15417 Py_INCREF(Py_None); resultobj = Py_None;
15418 return resultobj;
15419 fail:
15420 return NULL;
15421 }
15422
15423
15424 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
15425 PyObject *resultobj;
15426 wxPrintData *arg1 = (wxPrintData *) 0 ;
15427 bool arg2 ;
15428 PyObject * obj0 = 0 ;
15429 PyObject * obj1 = 0 ;
15430 char *kwnames[] = {
15431 (char *) "self",(char *) "flag", NULL
15432 };
15433
15434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
15435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15436 arg2 = PyInt_AsLong(obj1) ? true : false;
15437 if (PyErr_Occurred()) SWIG_fail;
15438 {
15439 PyThreadState* __tstate = wxPyBeginAllowThreads();
15440 (arg1)->SetCollate(arg2);
15441
15442 wxPyEndAllowThreads(__tstate);
15443 if (PyErr_Occurred()) SWIG_fail;
15444 }
15445 Py_INCREF(Py_None); resultobj = Py_None;
15446 return resultobj;
15447 fail:
15448 return NULL;
15449 }
15450
15451
15452 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
15453 PyObject *resultobj;
15454 wxPrintData *arg1 = (wxPrintData *) 0 ;
15455 int arg2 ;
15456 PyObject * obj0 = 0 ;
15457 char *kwnames[] = {
15458 (char *) "self",(char *) "orient", NULL
15459 };
15460
15461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
15462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15463 {
15464 PyThreadState* __tstate = wxPyBeginAllowThreads();
15465 (arg1)->SetOrientation(arg2);
15466
15467 wxPyEndAllowThreads(__tstate);
15468 if (PyErr_Occurred()) SWIG_fail;
15469 }
15470 Py_INCREF(Py_None); resultobj = Py_None;
15471 return resultobj;
15472 fail:
15473 return NULL;
15474 }
15475
15476
15477 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
15478 PyObject *resultobj;
15479 wxPrintData *arg1 = (wxPrintData *) 0 ;
15480 wxString *arg2 = 0 ;
15481 bool temp2 = False ;
15482 PyObject * obj0 = 0 ;
15483 PyObject * obj1 = 0 ;
15484 char *kwnames[] = {
15485 (char *) "self",(char *) "name", NULL
15486 };
15487
15488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
15489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15490 {
15491 arg2 = wxString_in_helper(obj1);
15492 if (arg2 == NULL) SWIG_fail;
15493 temp2 = True;
15494 }
15495 {
15496 PyThreadState* __tstate = wxPyBeginAllowThreads();
15497 (arg1)->SetPrinterName((wxString const &)*arg2);
15498
15499 wxPyEndAllowThreads(__tstate);
15500 if (PyErr_Occurred()) SWIG_fail;
15501 }
15502 Py_INCREF(Py_None); resultobj = Py_None;
15503 {
15504 if (temp2)
15505 delete arg2;
15506 }
15507 return resultobj;
15508 fail:
15509 {
15510 if (temp2)
15511 delete arg2;
15512 }
15513 return NULL;
15514 }
15515
15516
15517 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15518 PyObject *resultobj;
15519 wxPrintData *arg1 = (wxPrintData *) 0 ;
15520 bool arg2 ;
15521 PyObject * obj0 = 0 ;
15522 PyObject * obj1 = 0 ;
15523 char *kwnames[] = {
15524 (char *) "self",(char *) "colour", NULL
15525 };
15526
15527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15529 arg2 = PyInt_AsLong(obj1) ? true : false;
15530 if (PyErr_Occurred()) SWIG_fail;
15531 {
15532 PyThreadState* __tstate = wxPyBeginAllowThreads();
15533 (arg1)->SetColour(arg2);
15534
15535 wxPyEndAllowThreads(__tstate);
15536 if (PyErr_Occurred()) SWIG_fail;
15537 }
15538 Py_INCREF(Py_None); resultobj = Py_None;
15539 return resultobj;
15540 fail:
15541 return NULL;
15542 }
15543
15544
15545 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
15546 PyObject *resultobj;
15547 wxPrintData *arg1 = (wxPrintData *) 0 ;
15548 int arg2 ;
15549 PyObject * obj0 = 0 ;
15550 char *kwnames[] = {
15551 (char *) "self",(char *) "duplex", NULL
15552 };
15553
15554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetDuplex",kwnames,&obj0,&arg2)) goto fail;
15555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15556 {
15557 PyThreadState* __tstate = wxPyBeginAllowThreads();
15558 (arg1)->SetDuplex((wxDuplexMode )arg2);
15559
15560 wxPyEndAllowThreads(__tstate);
15561 if (PyErr_Occurred()) SWIG_fail;
15562 }
15563 Py_INCREF(Py_None); resultobj = Py_None;
15564 return resultobj;
15565 fail:
15566 return NULL;
15567 }
15568
15569
15570 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
15571 PyObject *resultobj;
15572 wxPrintData *arg1 = (wxPrintData *) 0 ;
15573 int arg2 ;
15574 PyObject * obj0 = 0 ;
15575 char *kwnames[] = {
15576 (char *) "self",(char *) "sizeId", NULL
15577 };
15578
15579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
15580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15581 {
15582 PyThreadState* __tstate = wxPyBeginAllowThreads();
15583 (arg1)->SetPaperId((wxPaperSize )arg2);
15584
15585 wxPyEndAllowThreads(__tstate);
15586 if (PyErr_Occurred()) SWIG_fail;
15587 }
15588 Py_INCREF(Py_None); resultobj = Py_None;
15589 return resultobj;
15590 fail:
15591 return NULL;
15592 }
15593
15594
15595 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15596 PyObject *resultobj;
15597 wxPrintData *arg1 = (wxPrintData *) 0 ;
15598 wxSize *arg2 = 0 ;
15599 wxSize temp2 ;
15600 PyObject * obj0 = 0 ;
15601 PyObject * obj1 = 0 ;
15602 char *kwnames[] = {
15603 (char *) "self",(char *) "sz", NULL
15604 };
15605
15606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
15607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15608 {
15609 arg2 = &temp2;
15610 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15611 }
15612 {
15613 PyThreadState* __tstate = wxPyBeginAllowThreads();
15614 (arg1)->SetPaperSize((wxSize const &)*arg2);
15615
15616 wxPyEndAllowThreads(__tstate);
15617 if (PyErr_Occurred()) SWIG_fail;
15618 }
15619 Py_INCREF(Py_None); resultobj = Py_None;
15620 return resultobj;
15621 fail:
15622 return NULL;
15623 }
15624
15625
15626 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
15627 PyObject *resultobj;
15628 wxPrintData *arg1 = (wxPrintData *) 0 ;
15629 wxPrintQuality arg2 ;
15630 wxPrintQuality *argp2 ;
15631 PyObject * obj0 = 0 ;
15632 PyObject * obj1 = 0 ;
15633 char *kwnames[] = {
15634 (char *) "self",(char *) "quality", NULL
15635 };
15636
15637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
15638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15639 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxPrintQuality,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
15640 arg2 = *argp2;
15641 {
15642 PyThreadState* __tstate = wxPyBeginAllowThreads();
15643 (arg1)->SetQuality(arg2);
15644
15645 wxPyEndAllowThreads(__tstate);
15646 if (PyErr_Occurred()) SWIG_fail;
15647 }
15648 Py_INCREF(Py_None); resultobj = Py_None;
15649 return resultobj;
15650 fail:
15651 return NULL;
15652 }
15653
15654
15655 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15656 PyObject *resultobj;
15657 wxPrintData *arg1 = (wxPrintData *) 0 ;
15658 wxString *result;
15659 PyObject * obj0 = 0 ;
15660 char *kwnames[] = {
15661 (char *) "self", NULL
15662 };
15663
15664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
15665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15666 {
15667 PyThreadState* __tstate = wxPyBeginAllowThreads();
15668 {
15669 wxString const &_result_ref = (arg1)->GetPrinterCommand();
15670 result = (wxString *) &_result_ref;
15671 }
15672
15673 wxPyEndAllowThreads(__tstate);
15674 if (PyErr_Occurred()) SWIG_fail;
15675 }
15676 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15677 return resultobj;
15678 fail:
15679 return NULL;
15680 }
15681
15682
15683 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15684 PyObject *resultobj;
15685 wxPrintData *arg1 = (wxPrintData *) 0 ;
15686 wxString *result;
15687 PyObject * obj0 = 0 ;
15688 char *kwnames[] = {
15689 (char *) "self", NULL
15690 };
15691
15692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
15693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15694 {
15695 PyThreadState* __tstate = wxPyBeginAllowThreads();
15696 {
15697 wxString const &_result_ref = (arg1)->GetPrinterOptions();
15698 result = (wxString *) &_result_ref;
15699 }
15700
15701 wxPyEndAllowThreads(__tstate);
15702 if (PyErr_Occurred()) SWIG_fail;
15703 }
15704 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15705 return resultobj;
15706 fail:
15707 return NULL;
15708 }
15709
15710
15711 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15712 PyObject *resultobj;
15713 wxPrintData *arg1 = (wxPrintData *) 0 ;
15714 wxString *result;
15715 PyObject * obj0 = 0 ;
15716 char *kwnames[] = {
15717 (char *) "self", NULL
15718 };
15719
15720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
15721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15722 {
15723 PyThreadState* __tstate = wxPyBeginAllowThreads();
15724 {
15725 wxString const &_result_ref = (arg1)->GetPreviewCommand();
15726 result = (wxString *) &_result_ref;
15727 }
15728
15729 wxPyEndAllowThreads(__tstate);
15730 if (PyErr_Occurred()) SWIG_fail;
15731 }
15732 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15733 return resultobj;
15734 fail:
15735 return NULL;
15736 }
15737
15738
15739 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
15740 PyObject *resultobj;
15741 wxPrintData *arg1 = (wxPrintData *) 0 ;
15742 wxString *result;
15743 PyObject * obj0 = 0 ;
15744 char *kwnames[] = {
15745 (char *) "self", NULL
15746 };
15747
15748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
15749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15750 {
15751 PyThreadState* __tstate = wxPyBeginAllowThreads();
15752 {
15753 wxString const &_result_ref = (arg1)->GetFilename();
15754 result = (wxString *) &_result_ref;
15755 }
15756
15757 wxPyEndAllowThreads(__tstate);
15758 if (PyErr_Occurred()) SWIG_fail;
15759 }
15760 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15761 return resultobj;
15762 fail:
15763 return NULL;
15764 }
15765
15766
15767 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
15768 PyObject *resultobj;
15769 wxPrintData *arg1 = (wxPrintData *) 0 ;
15770 wxString *result;
15771 PyObject * obj0 = 0 ;
15772 char *kwnames[] = {
15773 (char *) "self", NULL
15774 };
15775
15776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
15777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15778 {
15779 PyThreadState* __tstate = wxPyBeginAllowThreads();
15780 {
15781 wxString const &_result_ref = (arg1)->GetFontMetricPath();
15782 result = (wxString *) &_result_ref;
15783 }
15784
15785 wxPyEndAllowThreads(__tstate);
15786 if (PyErr_Occurred()) SWIG_fail;
15787 }
15788 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15789 return resultobj;
15790 fail:
15791 return NULL;
15792 }
15793
15794
15795 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
15796 PyObject *resultobj;
15797 wxPrintData *arg1 = (wxPrintData *) 0 ;
15798 double result;
15799 PyObject * obj0 = 0 ;
15800 char *kwnames[] = {
15801 (char *) "self", NULL
15802 };
15803
15804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
15805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15806 {
15807 PyThreadState* __tstate = wxPyBeginAllowThreads();
15808 result = (double)(arg1)->GetPrinterScaleX();
15809
15810 wxPyEndAllowThreads(__tstate);
15811 if (PyErr_Occurred()) SWIG_fail;
15812 }
15813 resultobj = PyFloat_FromDouble(result);
15814 return resultobj;
15815 fail:
15816 return NULL;
15817 }
15818
15819
15820 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
15821 PyObject *resultobj;
15822 wxPrintData *arg1 = (wxPrintData *) 0 ;
15823 double result;
15824 PyObject * obj0 = 0 ;
15825 char *kwnames[] = {
15826 (char *) "self", NULL
15827 };
15828
15829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
15830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15831 {
15832 PyThreadState* __tstate = wxPyBeginAllowThreads();
15833 result = (double)(arg1)->GetPrinterScaleY();
15834
15835 wxPyEndAllowThreads(__tstate);
15836 if (PyErr_Occurred()) SWIG_fail;
15837 }
15838 resultobj = PyFloat_FromDouble(result);
15839 return resultobj;
15840 fail:
15841 return NULL;
15842 }
15843
15844
15845 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
15846 PyObject *resultobj;
15847 wxPrintData *arg1 = (wxPrintData *) 0 ;
15848 long result;
15849 PyObject * obj0 = 0 ;
15850 char *kwnames[] = {
15851 (char *) "self", NULL
15852 };
15853
15854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
15855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15856 {
15857 PyThreadState* __tstate = wxPyBeginAllowThreads();
15858 result = (long)(arg1)->GetPrinterTranslateX();
15859
15860 wxPyEndAllowThreads(__tstate);
15861 if (PyErr_Occurred()) SWIG_fail;
15862 }
15863 resultobj = PyInt_FromLong((long)result);
15864 return resultobj;
15865 fail:
15866 return NULL;
15867 }
15868
15869
15870 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
15871 PyObject *resultobj;
15872 wxPrintData *arg1 = (wxPrintData *) 0 ;
15873 long result;
15874 PyObject * obj0 = 0 ;
15875 char *kwnames[] = {
15876 (char *) "self", NULL
15877 };
15878
15879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
15880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15881 {
15882 PyThreadState* __tstate = wxPyBeginAllowThreads();
15883 result = (long)(arg1)->GetPrinterTranslateY();
15884
15885 wxPyEndAllowThreads(__tstate);
15886 if (PyErr_Occurred()) SWIG_fail;
15887 }
15888 resultobj = PyInt_FromLong((long)result);
15889 return resultobj;
15890 fail:
15891 return NULL;
15892 }
15893
15894
15895 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
15896 PyObject *resultobj;
15897 wxPrintData *arg1 = (wxPrintData *) 0 ;
15898 int result;
15899 PyObject * obj0 = 0 ;
15900 char *kwnames[] = {
15901 (char *) "self", NULL
15902 };
15903
15904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
15905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15906 {
15907 PyThreadState* __tstate = wxPyBeginAllowThreads();
15908 result = (int)(arg1)->GetPrintMode();
15909
15910 wxPyEndAllowThreads(__tstate);
15911 if (PyErr_Occurred()) SWIG_fail;
15912 }
15913 resultobj = PyInt_FromLong((long)result);
15914 return resultobj;
15915 fail:
15916 return NULL;
15917 }
15918
15919
15920 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15921 PyObject *resultobj;
15922 wxPrintData *arg1 = (wxPrintData *) 0 ;
15923 wxString *arg2 = 0 ;
15924 bool temp2 = False ;
15925 PyObject * obj0 = 0 ;
15926 PyObject * obj1 = 0 ;
15927 char *kwnames[] = {
15928 (char *) "self",(char *) "command", NULL
15929 };
15930
15931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
15932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15933 {
15934 arg2 = wxString_in_helper(obj1);
15935 if (arg2 == NULL) SWIG_fail;
15936 temp2 = True;
15937 }
15938 {
15939 PyThreadState* __tstate = wxPyBeginAllowThreads();
15940 (arg1)->SetPrinterCommand((wxString const &)*arg2);
15941
15942 wxPyEndAllowThreads(__tstate);
15943 if (PyErr_Occurred()) SWIG_fail;
15944 }
15945 Py_INCREF(Py_None); resultobj = Py_None;
15946 {
15947 if (temp2)
15948 delete arg2;
15949 }
15950 return resultobj;
15951 fail:
15952 {
15953 if (temp2)
15954 delete arg2;
15955 }
15956 return NULL;
15957 }
15958
15959
15960 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15961 PyObject *resultobj;
15962 wxPrintData *arg1 = (wxPrintData *) 0 ;
15963 wxString *arg2 = 0 ;
15964 bool temp2 = False ;
15965 PyObject * obj0 = 0 ;
15966 PyObject * obj1 = 0 ;
15967 char *kwnames[] = {
15968 (char *) "self",(char *) "options", NULL
15969 };
15970
15971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
15972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15973 {
15974 arg2 = wxString_in_helper(obj1);
15975 if (arg2 == NULL) SWIG_fail;
15976 temp2 = True;
15977 }
15978 {
15979 PyThreadState* __tstate = wxPyBeginAllowThreads();
15980 (arg1)->SetPrinterOptions((wxString const &)*arg2);
15981
15982 wxPyEndAllowThreads(__tstate);
15983 if (PyErr_Occurred()) SWIG_fail;
15984 }
15985 Py_INCREF(Py_None); resultobj = Py_None;
15986 {
15987 if (temp2)
15988 delete arg2;
15989 }
15990 return resultobj;
15991 fail:
15992 {
15993 if (temp2)
15994 delete arg2;
15995 }
15996 return NULL;
15997 }
15998
15999
16000 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
16001 PyObject *resultobj;
16002 wxPrintData *arg1 = (wxPrintData *) 0 ;
16003 wxString *arg2 = 0 ;
16004 bool temp2 = False ;
16005 PyObject * obj0 = 0 ;
16006 PyObject * obj1 = 0 ;
16007 char *kwnames[] = {
16008 (char *) "self",(char *) "command", NULL
16009 };
16010
16011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
16012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16013 {
16014 arg2 = wxString_in_helper(obj1);
16015 if (arg2 == NULL) SWIG_fail;
16016 temp2 = True;
16017 }
16018 {
16019 PyThreadState* __tstate = wxPyBeginAllowThreads();
16020 (arg1)->SetPreviewCommand((wxString const &)*arg2);
16021
16022 wxPyEndAllowThreads(__tstate);
16023 if (PyErr_Occurred()) SWIG_fail;
16024 }
16025 Py_INCREF(Py_None); resultobj = Py_None;
16026 {
16027 if (temp2)
16028 delete arg2;
16029 }
16030 return resultobj;
16031 fail:
16032 {
16033 if (temp2)
16034 delete arg2;
16035 }
16036 return NULL;
16037 }
16038
16039
16040 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
16041 PyObject *resultobj;
16042 wxPrintData *arg1 = (wxPrintData *) 0 ;
16043 wxString *arg2 = 0 ;
16044 bool temp2 = False ;
16045 PyObject * obj0 = 0 ;
16046 PyObject * obj1 = 0 ;
16047 char *kwnames[] = {
16048 (char *) "self",(char *) "filename", NULL
16049 };
16050
16051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
16052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16053 {
16054 arg2 = wxString_in_helper(obj1);
16055 if (arg2 == NULL) SWIG_fail;
16056 temp2 = True;
16057 }
16058 {
16059 PyThreadState* __tstate = wxPyBeginAllowThreads();
16060 (arg1)->SetFilename((wxString const &)*arg2);
16061
16062 wxPyEndAllowThreads(__tstate);
16063 if (PyErr_Occurred()) SWIG_fail;
16064 }
16065 Py_INCREF(Py_None); resultobj = Py_None;
16066 {
16067 if (temp2)
16068 delete arg2;
16069 }
16070 return resultobj;
16071 fail:
16072 {
16073 if (temp2)
16074 delete arg2;
16075 }
16076 return NULL;
16077 }
16078
16079
16080 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
16081 PyObject *resultobj;
16082 wxPrintData *arg1 = (wxPrintData *) 0 ;
16083 wxString *arg2 = 0 ;
16084 bool temp2 = False ;
16085 PyObject * obj0 = 0 ;
16086 PyObject * obj1 = 0 ;
16087 char *kwnames[] = {
16088 (char *) "self",(char *) "path", NULL
16089 };
16090
16091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
16092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16093 {
16094 arg2 = wxString_in_helper(obj1);
16095 if (arg2 == NULL) SWIG_fail;
16096 temp2 = True;
16097 }
16098 {
16099 PyThreadState* __tstate = wxPyBeginAllowThreads();
16100 (arg1)->SetFontMetricPath((wxString const &)*arg2);
16101
16102 wxPyEndAllowThreads(__tstate);
16103 if (PyErr_Occurred()) SWIG_fail;
16104 }
16105 Py_INCREF(Py_None); resultobj = Py_None;
16106 {
16107 if (temp2)
16108 delete arg2;
16109 }
16110 return resultobj;
16111 fail:
16112 {
16113 if (temp2)
16114 delete arg2;
16115 }
16116 return NULL;
16117 }
16118
16119
16120 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
16121 PyObject *resultobj;
16122 wxPrintData *arg1 = (wxPrintData *) 0 ;
16123 double arg2 ;
16124 PyObject * obj0 = 0 ;
16125 char *kwnames[] = {
16126 (char *) "self",(char *) "x", NULL
16127 };
16128
16129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleX",kwnames,&obj0,&arg2)) goto fail;
16130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16131 {
16132 PyThreadState* __tstate = wxPyBeginAllowThreads();
16133 (arg1)->SetPrinterScaleX(arg2);
16134
16135 wxPyEndAllowThreads(__tstate);
16136 if (PyErr_Occurred()) SWIG_fail;
16137 }
16138 Py_INCREF(Py_None); resultobj = Py_None;
16139 return resultobj;
16140 fail:
16141 return NULL;
16142 }
16143
16144
16145 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
16146 PyObject *resultobj;
16147 wxPrintData *arg1 = (wxPrintData *) 0 ;
16148 double arg2 ;
16149 PyObject * obj0 = 0 ;
16150 char *kwnames[] = {
16151 (char *) "self",(char *) "y", NULL
16152 };
16153
16154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleY",kwnames,&obj0,&arg2)) goto fail;
16155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16156 {
16157 PyThreadState* __tstate = wxPyBeginAllowThreads();
16158 (arg1)->SetPrinterScaleY(arg2);
16159
16160 wxPyEndAllowThreads(__tstate);
16161 if (PyErr_Occurred()) SWIG_fail;
16162 }
16163 Py_INCREF(Py_None); resultobj = Py_None;
16164 return resultobj;
16165 fail:
16166 return NULL;
16167 }
16168
16169
16170 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
16171 PyObject *resultobj;
16172 wxPrintData *arg1 = (wxPrintData *) 0 ;
16173 double arg2 ;
16174 double arg3 ;
16175 PyObject * obj0 = 0 ;
16176 char *kwnames[] = {
16177 (char *) "self",(char *) "x",(char *) "y", NULL
16178 };
16179
16180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PrintData_SetPrinterScaling",kwnames,&obj0,&arg2,&arg3)) goto fail;
16181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16182 {
16183 PyThreadState* __tstate = wxPyBeginAllowThreads();
16184 (arg1)->SetPrinterScaling(arg2,arg3);
16185
16186 wxPyEndAllowThreads(__tstate);
16187 if (PyErr_Occurred()) SWIG_fail;
16188 }
16189 Py_INCREF(Py_None); resultobj = Py_None;
16190 return resultobj;
16191 fail:
16192 return NULL;
16193 }
16194
16195
16196 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
16197 PyObject *resultobj;
16198 wxPrintData *arg1 = (wxPrintData *) 0 ;
16199 long arg2 ;
16200 PyObject * obj0 = 0 ;
16201 char *kwnames[] = {
16202 (char *) "self",(char *) "x", NULL
16203 };
16204
16205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateX",kwnames,&obj0,&arg2)) goto fail;
16206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16207 {
16208 PyThreadState* __tstate = wxPyBeginAllowThreads();
16209 (arg1)->SetPrinterTranslateX(arg2);
16210
16211 wxPyEndAllowThreads(__tstate);
16212 if (PyErr_Occurred()) SWIG_fail;
16213 }
16214 Py_INCREF(Py_None); resultobj = Py_None;
16215 return resultobj;
16216 fail:
16217 return NULL;
16218 }
16219
16220
16221 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
16222 PyObject *resultobj;
16223 wxPrintData *arg1 = (wxPrintData *) 0 ;
16224 long arg2 ;
16225 PyObject * obj0 = 0 ;
16226 char *kwnames[] = {
16227 (char *) "self",(char *) "y", NULL
16228 };
16229
16230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateY",kwnames,&obj0,&arg2)) goto fail;
16231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16232 {
16233 PyThreadState* __tstate = wxPyBeginAllowThreads();
16234 (arg1)->SetPrinterTranslateY(arg2);
16235
16236 wxPyEndAllowThreads(__tstate);
16237 if (PyErr_Occurred()) SWIG_fail;
16238 }
16239 Py_INCREF(Py_None); resultobj = Py_None;
16240 return resultobj;
16241 fail:
16242 return NULL;
16243 }
16244
16245
16246 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
16247 PyObject *resultobj;
16248 wxPrintData *arg1 = (wxPrintData *) 0 ;
16249 long arg2 ;
16250 long arg3 ;
16251 PyObject * obj0 = 0 ;
16252 char *kwnames[] = {
16253 (char *) "self",(char *) "x",(char *) "y", NULL
16254 };
16255
16256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:PrintData_SetPrinterTranslation",kwnames,&obj0,&arg2,&arg3)) goto fail;
16257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16258 {
16259 PyThreadState* __tstate = wxPyBeginAllowThreads();
16260 (arg1)->SetPrinterTranslation(arg2,arg3);
16261
16262 wxPyEndAllowThreads(__tstate);
16263 if (PyErr_Occurred()) SWIG_fail;
16264 }
16265 Py_INCREF(Py_None); resultobj = Py_None;
16266 return resultobj;
16267 fail:
16268 return NULL;
16269 }
16270
16271
16272 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
16273 PyObject *resultobj;
16274 wxPrintData *arg1 = (wxPrintData *) 0 ;
16275 int arg2 ;
16276 PyObject * obj0 = 0 ;
16277 char *kwnames[] = {
16278 (char *) "self",(char *) "printMode", NULL
16279 };
16280
16281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPrintMode",kwnames,&obj0,&arg2)) goto fail;
16282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16283 {
16284 PyThreadState* __tstate = wxPyBeginAllowThreads();
16285 (arg1)->SetPrintMode((wxPrintMode )arg2);
16286
16287 wxPyEndAllowThreads(__tstate);
16288 if (PyErr_Occurred()) SWIG_fail;
16289 }
16290 Py_INCREF(Py_None); resultobj = Py_None;
16291 return resultobj;
16292 fail:
16293 return NULL;
16294 }
16295
16296
16297 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
16298 PyObject *obj;
16299 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16300 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
16301 Py_INCREF(obj);
16302 return Py_BuildValue((char *)"");
16303 }
16304 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16305 PyObject *resultobj;
16306 wxPageSetupDialogData *result;
16307 char *kwnames[] = {
16308 NULL
16309 };
16310
16311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
16312 {
16313 PyThreadState* __tstate = wxPyBeginAllowThreads();
16314 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
16315
16316 wxPyEndAllowThreads(__tstate);
16317 if (PyErr_Occurred()) SWIG_fail;
16318 }
16319 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 1);
16320 return resultobj;
16321 fail:
16322 return NULL;
16323 }
16324
16325
16326 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16327 PyObject *resultobj;
16328 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16329 PyObject * obj0 = 0 ;
16330 char *kwnames[] = {
16331 (char *) "self", NULL
16332 };
16333
16334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
16335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16336 {
16337 PyThreadState* __tstate = wxPyBeginAllowThreads();
16338 delete arg1;
16339
16340 wxPyEndAllowThreads(__tstate);
16341 if (PyErr_Occurred()) SWIG_fail;
16342 }
16343 Py_INCREF(Py_None); resultobj = Py_None;
16344 return resultobj;
16345 fail:
16346 return NULL;
16347 }
16348
16349
16350 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16351 PyObject *resultobj;
16352 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16353 bool arg2 ;
16354 PyObject * obj0 = 0 ;
16355 PyObject * obj1 = 0 ;
16356 char *kwnames[] = {
16357 (char *) "self",(char *) "flag", NULL
16358 };
16359
16360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
16361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16362 arg2 = PyInt_AsLong(obj1) ? true : false;
16363 if (PyErr_Occurred()) SWIG_fail;
16364 {
16365 PyThreadState* __tstate = wxPyBeginAllowThreads();
16366 (arg1)->EnableHelp(arg2);
16367
16368 wxPyEndAllowThreads(__tstate);
16369 if (PyErr_Occurred()) SWIG_fail;
16370 }
16371 Py_INCREF(Py_None); resultobj = Py_None;
16372 return resultobj;
16373 fail:
16374 return NULL;
16375 }
16376
16377
16378 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16379 PyObject *resultobj;
16380 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16381 bool arg2 ;
16382 PyObject * obj0 = 0 ;
16383 PyObject * obj1 = 0 ;
16384 char *kwnames[] = {
16385 (char *) "self",(char *) "flag", NULL
16386 };
16387
16388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
16389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16390 arg2 = PyInt_AsLong(obj1) ? true : false;
16391 if (PyErr_Occurred()) SWIG_fail;
16392 {
16393 PyThreadState* __tstate = wxPyBeginAllowThreads();
16394 (arg1)->EnableMargins(arg2);
16395
16396 wxPyEndAllowThreads(__tstate);
16397 if (PyErr_Occurred()) SWIG_fail;
16398 }
16399 Py_INCREF(Py_None); resultobj = Py_None;
16400 return resultobj;
16401 fail:
16402 return NULL;
16403 }
16404
16405
16406 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16407 PyObject *resultobj;
16408 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16409 bool arg2 ;
16410 PyObject * obj0 = 0 ;
16411 PyObject * obj1 = 0 ;
16412 char *kwnames[] = {
16413 (char *) "self",(char *) "flag", NULL
16414 };
16415
16416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
16417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16418 arg2 = PyInt_AsLong(obj1) ? true : false;
16419 if (PyErr_Occurred()) SWIG_fail;
16420 {
16421 PyThreadState* __tstate = wxPyBeginAllowThreads();
16422 (arg1)->EnableOrientation(arg2);
16423
16424 wxPyEndAllowThreads(__tstate);
16425 if (PyErr_Occurred()) SWIG_fail;
16426 }
16427 Py_INCREF(Py_None); resultobj = Py_None;
16428 return resultobj;
16429 fail:
16430 return NULL;
16431 }
16432
16433
16434 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
16435 PyObject *resultobj;
16436 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16437 bool arg2 ;
16438 PyObject * obj0 = 0 ;
16439 PyObject * obj1 = 0 ;
16440 char *kwnames[] = {
16441 (char *) "self",(char *) "flag", NULL
16442 };
16443
16444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
16445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16446 arg2 = PyInt_AsLong(obj1) ? true : false;
16447 if (PyErr_Occurred()) SWIG_fail;
16448 {
16449 PyThreadState* __tstate = wxPyBeginAllowThreads();
16450 (arg1)->EnablePaper(arg2);
16451
16452 wxPyEndAllowThreads(__tstate);
16453 if (PyErr_Occurred()) SWIG_fail;
16454 }
16455 Py_INCREF(Py_None); resultobj = Py_None;
16456 return resultobj;
16457 fail:
16458 return NULL;
16459 }
16460
16461
16462 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16463 PyObject *resultobj;
16464 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16465 bool arg2 ;
16466 PyObject * obj0 = 0 ;
16467 PyObject * obj1 = 0 ;
16468 char *kwnames[] = {
16469 (char *) "self",(char *) "flag", NULL
16470 };
16471
16472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
16473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16474 arg2 = PyInt_AsLong(obj1) ? true : false;
16475 if (PyErr_Occurred()) SWIG_fail;
16476 {
16477 PyThreadState* __tstate = wxPyBeginAllowThreads();
16478 (arg1)->EnablePrinter(arg2);
16479
16480 wxPyEndAllowThreads(__tstate);
16481 if (PyErr_Occurred()) SWIG_fail;
16482 }
16483 Py_INCREF(Py_None); resultobj = Py_None;
16484 return resultobj;
16485 fail:
16486 return NULL;
16487 }
16488
16489
16490 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16491 PyObject *resultobj;
16492 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16493 bool result;
16494 PyObject * obj0 = 0 ;
16495 char *kwnames[] = {
16496 (char *) "self", NULL
16497 };
16498
16499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
16500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16501 {
16502 PyThreadState* __tstate = wxPyBeginAllowThreads();
16503 result = (bool)(arg1)->GetDefaultMinMargins();
16504
16505 wxPyEndAllowThreads(__tstate);
16506 if (PyErr_Occurred()) SWIG_fail;
16507 }
16508 resultobj = PyInt_FromLong((long)result);
16509 return resultobj;
16510 fail:
16511 return NULL;
16512 }
16513
16514
16515 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16516 PyObject *resultobj;
16517 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16518 bool result;
16519 PyObject * obj0 = 0 ;
16520 char *kwnames[] = {
16521 (char *) "self", NULL
16522 };
16523
16524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
16525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16526 {
16527 PyThreadState* __tstate = wxPyBeginAllowThreads();
16528 result = (bool)(arg1)->GetEnableMargins();
16529
16530 wxPyEndAllowThreads(__tstate);
16531 if (PyErr_Occurred()) SWIG_fail;
16532 }
16533 resultobj = PyInt_FromLong((long)result);
16534 return resultobj;
16535 fail:
16536 return NULL;
16537 }
16538
16539
16540 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16541 PyObject *resultobj;
16542 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16543 bool result;
16544 PyObject * obj0 = 0 ;
16545 char *kwnames[] = {
16546 (char *) "self", NULL
16547 };
16548
16549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
16550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16551 {
16552 PyThreadState* __tstate = wxPyBeginAllowThreads();
16553 result = (bool)(arg1)->GetEnableOrientation();
16554
16555 wxPyEndAllowThreads(__tstate);
16556 if (PyErr_Occurred()) SWIG_fail;
16557 }
16558 resultobj = PyInt_FromLong((long)result);
16559 return resultobj;
16560 fail:
16561 return NULL;
16562 }
16563
16564
16565 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
16566 PyObject *resultobj;
16567 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16568 bool result;
16569 PyObject * obj0 = 0 ;
16570 char *kwnames[] = {
16571 (char *) "self", NULL
16572 };
16573
16574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
16575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16576 {
16577 PyThreadState* __tstate = wxPyBeginAllowThreads();
16578 result = (bool)(arg1)->GetEnablePaper();
16579
16580 wxPyEndAllowThreads(__tstate);
16581 if (PyErr_Occurred()) SWIG_fail;
16582 }
16583 resultobj = PyInt_FromLong((long)result);
16584 return resultobj;
16585 fail:
16586 return NULL;
16587 }
16588
16589
16590 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16591 PyObject *resultobj;
16592 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16593 bool result;
16594 PyObject * obj0 = 0 ;
16595 char *kwnames[] = {
16596 (char *) "self", NULL
16597 };
16598
16599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
16600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16601 {
16602 PyThreadState* __tstate = wxPyBeginAllowThreads();
16603 result = (bool)(arg1)->GetEnablePrinter();
16604
16605 wxPyEndAllowThreads(__tstate);
16606 if (PyErr_Occurred()) SWIG_fail;
16607 }
16608 resultobj = PyInt_FromLong((long)result);
16609 return resultobj;
16610 fail:
16611 return NULL;
16612 }
16613
16614
16615 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16616 PyObject *resultobj;
16617 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16618 bool result;
16619 PyObject * obj0 = 0 ;
16620 char *kwnames[] = {
16621 (char *) "self", NULL
16622 };
16623
16624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
16625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16626 {
16627 PyThreadState* __tstate = wxPyBeginAllowThreads();
16628 result = (bool)(arg1)->GetEnableHelp();
16629
16630 wxPyEndAllowThreads(__tstate);
16631 if (PyErr_Occurred()) SWIG_fail;
16632 }
16633 resultobj = PyInt_FromLong((long)result);
16634 return resultobj;
16635 fail:
16636 return NULL;
16637 }
16638
16639
16640 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16641 PyObject *resultobj;
16642 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16643 bool result;
16644 PyObject * obj0 = 0 ;
16645 char *kwnames[] = {
16646 (char *) "self", NULL
16647 };
16648
16649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
16650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16651 {
16652 PyThreadState* __tstate = wxPyBeginAllowThreads();
16653 result = (bool)(arg1)->GetDefaultInfo();
16654
16655 wxPyEndAllowThreads(__tstate);
16656 if (PyErr_Occurred()) SWIG_fail;
16657 }
16658 resultobj = PyInt_FromLong((long)result);
16659 return resultobj;
16660 fail:
16661 return NULL;
16662 }
16663
16664
16665 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16666 PyObject *resultobj;
16667 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16668 wxPoint result;
16669 PyObject * obj0 = 0 ;
16670 char *kwnames[] = {
16671 (char *) "self", NULL
16672 };
16673
16674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
16675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16676 {
16677 PyThreadState* __tstate = wxPyBeginAllowThreads();
16678 result = (arg1)->GetMarginTopLeft();
16679
16680 wxPyEndAllowThreads(__tstate);
16681 if (PyErr_Occurred()) SWIG_fail;
16682 }
16683 {
16684 wxPoint * resultptr;
16685 resultptr = new wxPoint((wxPoint &) result);
16686 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16687 }
16688 return resultobj;
16689 fail:
16690 return NULL;
16691 }
16692
16693
16694 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16695 PyObject *resultobj;
16696 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16697 wxPoint result;
16698 PyObject * obj0 = 0 ;
16699 char *kwnames[] = {
16700 (char *) "self", NULL
16701 };
16702
16703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
16704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16705 {
16706 PyThreadState* __tstate = wxPyBeginAllowThreads();
16707 result = (arg1)->GetMarginBottomRight();
16708
16709 wxPyEndAllowThreads(__tstate);
16710 if (PyErr_Occurred()) SWIG_fail;
16711 }
16712 {
16713 wxPoint * resultptr;
16714 resultptr = new wxPoint((wxPoint &) result);
16715 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16716 }
16717 return resultobj;
16718 fail:
16719 return NULL;
16720 }
16721
16722
16723 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16724 PyObject *resultobj;
16725 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16726 wxPoint result;
16727 PyObject * obj0 = 0 ;
16728 char *kwnames[] = {
16729 (char *) "self", NULL
16730 };
16731
16732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
16733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16734 {
16735 PyThreadState* __tstate = wxPyBeginAllowThreads();
16736 result = (arg1)->GetMinMarginTopLeft();
16737
16738 wxPyEndAllowThreads(__tstate);
16739 if (PyErr_Occurred()) SWIG_fail;
16740 }
16741 {
16742 wxPoint * resultptr;
16743 resultptr = new wxPoint((wxPoint &) result);
16744 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16745 }
16746 return resultobj;
16747 fail:
16748 return NULL;
16749 }
16750
16751
16752 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16753 PyObject *resultobj;
16754 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16755 wxPoint result;
16756 PyObject * obj0 = 0 ;
16757 char *kwnames[] = {
16758 (char *) "self", NULL
16759 };
16760
16761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
16762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16763 {
16764 PyThreadState* __tstate = wxPyBeginAllowThreads();
16765 result = (arg1)->GetMinMarginBottomRight();
16766
16767 wxPyEndAllowThreads(__tstate);
16768 if (PyErr_Occurred()) SWIG_fail;
16769 }
16770 {
16771 wxPoint * resultptr;
16772 resultptr = new wxPoint((wxPoint &) result);
16773 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16774 }
16775 return resultobj;
16776 fail:
16777 return NULL;
16778 }
16779
16780
16781 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16782 PyObject *resultobj;
16783 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16784 int result;
16785 PyObject * obj0 = 0 ;
16786 char *kwnames[] = {
16787 (char *) "self", NULL
16788 };
16789
16790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
16791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16792 {
16793 PyThreadState* __tstate = wxPyBeginAllowThreads();
16794 result = (int)(arg1)->GetPaperId();
16795
16796 wxPyEndAllowThreads(__tstate);
16797 if (PyErr_Occurred()) SWIG_fail;
16798 }
16799 resultobj = PyInt_FromLong((long)result);
16800 return resultobj;
16801 fail:
16802 return NULL;
16803 }
16804
16805
16806 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16807 PyObject *resultobj;
16808 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16809 wxSize result;
16810 PyObject * obj0 = 0 ;
16811 char *kwnames[] = {
16812 (char *) "self", NULL
16813 };
16814
16815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
16816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16817 {
16818 PyThreadState* __tstate = wxPyBeginAllowThreads();
16819 result = (arg1)->GetPaperSize();
16820
16821 wxPyEndAllowThreads(__tstate);
16822 if (PyErr_Occurred()) SWIG_fail;
16823 }
16824 {
16825 wxSize * resultptr;
16826 resultptr = new wxSize((wxSize &) result);
16827 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16828 }
16829 return resultobj;
16830 fail:
16831 return NULL;
16832 }
16833
16834
16835 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16836 PyObject *resultobj;
16837 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16838 wxPrintData *result;
16839 PyObject * obj0 = 0 ;
16840 char *kwnames[] = {
16841 (char *) "self", NULL
16842 };
16843
16844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
16845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16846 {
16847 PyThreadState* __tstate = wxPyBeginAllowThreads();
16848 {
16849 wxPrintData &_result_ref = (arg1)->GetPrintData();
16850 result = (wxPrintData *) &_result_ref;
16851 }
16852
16853 wxPyEndAllowThreads(__tstate);
16854 if (PyErr_Occurred()) SWIG_fail;
16855 }
16856 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
16857 return resultobj;
16858 fail:
16859 return NULL;
16860 }
16861
16862
16863 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
16864 PyObject *resultobj;
16865 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16866 bool result;
16867 PyObject * obj0 = 0 ;
16868 char *kwnames[] = {
16869 (char *) "self", NULL
16870 };
16871
16872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
16873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16874 {
16875 PyThreadState* __tstate = wxPyBeginAllowThreads();
16876 result = (bool)(arg1)->Ok();
16877
16878 wxPyEndAllowThreads(__tstate);
16879 if (PyErr_Occurred()) SWIG_fail;
16880 }
16881 resultobj = PyInt_FromLong((long)result);
16882 return resultobj;
16883 fail:
16884 return NULL;
16885 }
16886
16887
16888 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16889 PyObject *resultobj;
16890 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16891 bool arg2 ;
16892 PyObject * obj0 = 0 ;
16893 PyObject * obj1 = 0 ;
16894 char *kwnames[] = {
16895 (char *) "self",(char *) "flag", NULL
16896 };
16897
16898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
16899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16900 arg2 = PyInt_AsLong(obj1) ? true : false;
16901 if (PyErr_Occurred()) SWIG_fail;
16902 {
16903 PyThreadState* __tstate = wxPyBeginAllowThreads();
16904 (arg1)->SetDefaultInfo(arg2);
16905
16906 wxPyEndAllowThreads(__tstate);
16907 if (PyErr_Occurred()) SWIG_fail;
16908 }
16909 Py_INCREF(Py_None); resultobj = Py_None;
16910 return resultobj;
16911 fail:
16912 return NULL;
16913 }
16914
16915
16916 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16917 PyObject *resultobj;
16918 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16919 bool arg2 ;
16920 PyObject * obj0 = 0 ;
16921 PyObject * obj1 = 0 ;
16922 char *kwnames[] = {
16923 (char *) "self",(char *) "flag", NULL
16924 };
16925
16926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
16927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16928 arg2 = PyInt_AsLong(obj1) ? true : false;
16929 if (PyErr_Occurred()) SWIG_fail;
16930 {
16931 PyThreadState* __tstate = wxPyBeginAllowThreads();
16932 (arg1)->SetDefaultMinMargins(arg2);
16933
16934 wxPyEndAllowThreads(__tstate);
16935 if (PyErr_Occurred()) SWIG_fail;
16936 }
16937 Py_INCREF(Py_None); resultobj = Py_None;
16938 return resultobj;
16939 fail:
16940 return NULL;
16941 }
16942
16943
16944 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16945 PyObject *resultobj;
16946 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16947 wxPoint *arg2 = 0 ;
16948 wxPoint temp2 ;
16949 PyObject * obj0 = 0 ;
16950 PyObject * obj1 = 0 ;
16951 char *kwnames[] = {
16952 (char *) "self",(char *) "pt", NULL
16953 };
16954
16955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
16956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16957 {
16958 arg2 = &temp2;
16959 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16960 }
16961 {
16962 PyThreadState* __tstate = wxPyBeginAllowThreads();
16963 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
16964
16965 wxPyEndAllowThreads(__tstate);
16966 if (PyErr_Occurred()) SWIG_fail;
16967 }
16968 Py_INCREF(Py_None); resultobj = Py_None;
16969 return resultobj;
16970 fail:
16971 return NULL;
16972 }
16973
16974
16975 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16976 PyObject *resultobj;
16977 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16978 wxPoint *arg2 = 0 ;
16979 wxPoint temp2 ;
16980 PyObject * obj0 = 0 ;
16981 PyObject * obj1 = 0 ;
16982 char *kwnames[] = {
16983 (char *) "self",(char *) "pt", NULL
16984 };
16985
16986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
16987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16988 {
16989 arg2 = &temp2;
16990 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16991 }
16992 {
16993 PyThreadState* __tstate = wxPyBeginAllowThreads();
16994 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
16995
16996 wxPyEndAllowThreads(__tstate);
16997 if (PyErr_Occurred()) SWIG_fail;
16998 }
16999 Py_INCREF(Py_None); resultobj = Py_None;
17000 return resultobj;
17001 fail:
17002 return NULL;
17003 }
17004
17005
17006 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
17007 PyObject *resultobj;
17008 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17009 wxPoint *arg2 = 0 ;
17010 wxPoint temp2 ;
17011 PyObject * obj0 = 0 ;
17012 PyObject * obj1 = 0 ;
17013 char *kwnames[] = {
17014 (char *) "self",(char *) "pt", NULL
17015 };
17016
17017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
17018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17019 {
17020 arg2 = &temp2;
17021 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17022 }
17023 {
17024 PyThreadState* __tstate = wxPyBeginAllowThreads();
17025 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
17026
17027 wxPyEndAllowThreads(__tstate);
17028 if (PyErr_Occurred()) SWIG_fail;
17029 }
17030 Py_INCREF(Py_None); resultobj = Py_None;
17031 return resultobj;
17032 fail:
17033 return NULL;
17034 }
17035
17036
17037 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
17038 PyObject *resultobj;
17039 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17040 wxPoint *arg2 = 0 ;
17041 wxPoint temp2 ;
17042 PyObject * obj0 = 0 ;
17043 PyObject * obj1 = 0 ;
17044 char *kwnames[] = {
17045 (char *) "self",(char *) "pt", NULL
17046 };
17047
17048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
17049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17050 {
17051 arg2 = &temp2;
17052 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17053 }
17054 {
17055 PyThreadState* __tstate = wxPyBeginAllowThreads();
17056 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
17057
17058 wxPyEndAllowThreads(__tstate);
17059 if (PyErr_Occurred()) SWIG_fail;
17060 }
17061 Py_INCREF(Py_None); resultobj = Py_None;
17062 return resultobj;
17063 fail:
17064 return NULL;
17065 }
17066
17067
17068 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
17069 PyObject *resultobj;
17070 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17071 int arg2 ;
17072 PyObject * obj0 = 0 ;
17073 char *kwnames[] = {
17074 (char *) "self",(char *) "id", NULL
17075 };
17076
17077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PageSetupDialogData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
17078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17079 {
17080 PyThreadState* __tstate = wxPyBeginAllowThreads();
17081 (arg1)->SetPaperId((wxPaperSize )arg2);
17082
17083 wxPyEndAllowThreads(__tstate);
17084 if (PyErr_Occurred()) SWIG_fail;
17085 }
17086 Py_INCREF(Py_None); resultobj = Py_None;
17087 return resultobj;
17088 fail:
17089 return NULL;
17090 }
17091
17092
17093 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17094 PyObject *resultobj;
17095 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17096 wxSize *arg2 = 0 ;
17097 wxSize temp2 ;
17098 PyObject * obj0 = 0 ;
17099 PyObject * obj1 = 0 ;
17100 char *kwnames[] = {
17101 (char *) "self",(char *) "size", NULL
17102 };
17103
17104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
17105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17106 {
17107 arg2 = &temp2;
17108 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17109 }
17110 {
17111 PyThreadState* __tstate = wxPyBeginAllowThreads();
17112 (arg1)->SetPaperSize((wxSize const &)*arg2);
17113
17114 wxPyEndAllowThreads(__tstate);
17115 if (PyErr_Occurred()) SWIG_fail;
17116 }
17117 Py_INCREF(Py_None); resultobj = Py_None;
17118 return resultobj;
17119 fail:
17120 return NULL;
17121 }
17122
17123
17124 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17125 PyObject *resultobj;
17126 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17127 wxPrintData *arg2 = 0 ;
17128 PyObject * obj0 = 0 ;
17129 PyObject * obj1 = 0 ;
17130 char *kwnames[] = {
17131 (char *) "self",(char *) "printData", NULL
17132 };
17133
17134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
17135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17136 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17137 if (arg2 == NULL) {
17138 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17139 }
17140 {
17141 PyThreadState* __tstate = wxPyBeginAllowThreads();
17142 (arg1)->SetPrintData((wxPrintData const &)*arg2);
17143
17144 wxPyEndAllowThreads(__tstate);
17145 if (PyErr_Occurred()) SWIG_fail;
17146 }
17147 Py_INCREF(Py_None); resultobj = Py_None;
17148 return resultobj;
17149 fail:
17150 return NULL;
17151 }
17152
17153
17154 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
17155 PyObject *obj;
17156 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17157 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
17158 Py_INCREF(obj);
17159 return Py_BuildValue((char *)"");
17160 }
17161 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17162 PyObject *resultobj;
17163 wxWindow *arg1 = (wxWindow *) 0 ;
17164 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
17165 wxPageSetupDialog *result;
17166 PyObject * obj0 = 0 ;
17167 PyObject * obj1 = 0 ;
17168 char *kwnames[] = {
17169 (char *) "parent",(char *) "data", NULL
17170 };
17171
17172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
17173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17174 if (obj1) {
17175 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17176 }
17177 {
17178 PyThreadState* __tstate = wxPyBeginAllowThreads();
17179 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
17180
17181 wxPyEndAllowThreads(__tstate);
17182 if (PyErr_Occurred()) SWIG_fail;
17183 }
17184 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialog, 1);
17185 return resultobj;
17186 fail:
17187 return NULL;
17188 }
17189
17190
17191 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
17192 PyObject *resultobj;
17193 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
17194 wxPageSetupDialogData *result;
17195 PyObject * obj0 = 0 ;
17196 char *kwnames[] = {
17197 (char *) "self", NULL
17198 };
17199
17200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
17201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17202 {
17203 PyThreadState* __tstate = wxPyBeginAllowThreads();
17204 {
17205 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
17206 result = (wxPageSetupDialogData *) &_result_ref;
17207 }
17208
17209 wxPyEndAllowThreads(__tstate);
17210 if (PyErr_Occurred()) SWIG_fail;
17211 }
17212 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 0);
17213 return resultobj;
17214 fail:
17215 return NULL;
17216 }
17217
17218
17219 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
17220 PyObject *resultobj;
17221 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
17222 int result;
17223 PyObject * obj0 = 0 ;
17224 char *kwnames[] = {
17225 (char *) "self", NULL
17226 };
17227
17228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
17229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17230 {
17231 PyThreadState* __tstate = wxPyBeginAllowThreads();
17232 result = (int)(arg1)->ShowModal();
17233
17234 wxPyEndAllowThreads(__tstate);
17235 if (PyErr_Occurred()) SWIG_fail;
17236 }
17237 resultobj = PyInt_FromLong((long)result);
17238 return resultobj;
17239 fail:
17240 return NULL;
17241 }
17242
17243
17244 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
17245 PyObject *obj;
17246 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17247 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
17248 Py_INCREF(obj);
17249 return Py_BuildValue((char *)"");
17250 }
17251 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17252 PyObject *resultobj;
17253 wxPrintDialogData *result;
17254 char *kwnames[] = {
17255 NULL
17256 };
17257
17258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintDialogData",kwnames)) goto fail;
17259 {
17260 PyThreadState* __tstate = wxPyBeginAllowThreads();
17261 result = (wxPrintDialogData *)new wxPrintDialogData();
17262
17263 wxPyEndAllowThreads(__tstate);
17264 if (PyErr_Occurred()) SWIG_fail;
17265 }
17266 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 1);
17267 return resultobj;
17268 fail:
17269 return NULL;
17270 }
17271
17272
17273 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17274 PyObject *resultobj;
17275 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17276 PyObject * obj0 = 0 ;
17277 char *kwnames[] = {
17278 (char *) "self", NULL
17279 };
17280
17281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
17282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17283 {
17284 PyThreadState* __tstate = wxPyBeginAllowThreads();
17285 delete arg1;
17286
17287 wxPyEndAllowThreads(__tstate);
17288 if (PyErr_Occurred()) SWIG_fail;
17289 }
17290 Py_INCREF(Py_None); resultobj = Py_None;
17291 return resultobj;
17292 fail:
17293 return NULL;
17294 }
17295
17296
17297 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17298 PyObject *resultobj;
17299 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17300 int result;
17301 PyObject * obj0 = 0 ;
17302 char *kwnames[] = {
17303 (char *) "self", NULL
17304 };
17305
17306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
17307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17308 {
17309 PyThreadState* __tstate = wxPyBeginAllowThreads();
17310 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
17311
17312 wxPyEndAllowThreads(__tstate);
17313 if (PyErr_Occurred()) SWIG_fail;
17314 }
17315 resultobj = PyInt_FromLong((long)result);
17316 return resultobj;
17317 fail:
17318 return NULL;
17319 }
17320
17321
17322 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17323 PyObject *resultobj;
17324 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17325 int result;
17326 PyObject * obj0 = 0 ;
17327 char *kwnames[] = {
17328 (char *) "self", NULL
17329 };
17330
17331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
17332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17333 {
17334 PyThreadState* __tstate = wxPyBeginAllowThreads();
17335 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
17336
17337 wxPyEndAllowThreads(__tstate);
17338 if (PyErr_Occurred()) SWIG_fail;
17339 }
17340 resultobj = PyInt_FromLong((long)result);
17341 return resultobj;
17342 fail:
17343 return NULL;
17344 }
17345
17346
17347 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17348 PyObject *resultobj;
17349 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17350 int result;
17351 PyObject * obj0 = 0 ;
17352 char *kwnames[] = {
17353 (char *) "self", NULL
17354 };
17355
17356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
17357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17358 {
17359 PyThreadState* __tstate = wxPyBeginAllowThreads();
17360 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
17361
17362 wxPyEndAllowThreads(__tstate);
17363 if (PyErr_Occurred()) SWIG_fail;
17364 }
17365 resultobj = PyInt_FromLong((long)result);
17366 return resultobj;
17367 fail:
17368 return NULL;
17369 }
17370
17371
17372 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17373 PyObject *resultobj;
17374 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17375 int result;
17376 PyObject * obj0 = 0 ;
17377 char *kwnames[] = {
17378 (char *) "self", NULL
17379 };
17380
17381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
17382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17383 {
17384 PyThreadState* __tstate = wxPyBeginAllowThreads();
17385 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
17386
17387 wxPyEndAllowThreads(__tstate);
17388 if (PyErr_Occurred()) SWIG_fail;
17389 }
17390 resultobj = PyInt_FromLong((long)result);
17391 return resultobj;
17392 fail:
17393 return NULL;
17394 }
17395
17396
17397 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17398 PyObject *resultobj;
17399 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17400 int result;
17401 PyObject * obj0 = 0 ;
17402 char *kwnames[] = {
17403 (char *) "self", NULL
17404 };
17405
17406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
17407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17408 {
17409 PyThreadState* __tstate = wxPyBeginAllowThreads();
17410 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
17411
17412 wxPyEndAllowThreads(__tstate);
17413 if (PyErr_Occurred()) SWIG_fail;
17414 }
17415 resultobj = PyInt_FromLong((long)result);
17416 return resultobj;
17417 fail:
17418 return NULL;
17419 }
17420
17421
17422 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
17423 PyObject *resultobj;
17424 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17425 bool result;
17426 PyObject * obj0 = 0 ;
17427 char *kwnames[] = {
17428 (char *) "self", NULL
17429 };
17430
17431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
17432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17433 {
17434 PyThreadState* __tstate = wxPyBeginAllowThreads();
17435 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
17436
17437 wxPyEndAllowThreads(__tstate);
17438 if (PyErr_Occurred()) SWIG_fail;
17439 }
17440 resultobj = PyInt_FromLong((long)result);
17441 return resultobj;
17442 fail:
17443 return NULL;
17444 }
17445
17446
17447 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17448 PyObject *resultobj;
17449 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17450 bool result;
17451 PyObject * obj0 = 0 ;
17452 char *kwnames[] = {
17453 (char *) "self", NULL
17454 };
17455
17456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
17457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17458 {
17459 PyThreadState* __tstate = wxPyBeginAllowThreads();
17460 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
17461
17462 wxPyEndAllowThreads(__tstate);
17463 if (PyErr_Occurred()) SWIG_fail;
17464 }
17465 resultobj = PyInt_FromLong((long)result);
17466 return resultobj;
17467 fail:
17468 return NULL;
17469 }
17470
17471
17472 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17473 PyObject *resultobj;
17474 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17475 bool result;
17476 PyObject * obj0 = 0 ;
17477 char *kwnames[] = {
17478 (char *) "self", NULL
17479 };
17480
17481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
17482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17483 {
17484 PyThreadState* __tstate = wxPyBeginAllowThreads();
17485 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
17486
17487 wxPyEndAllowThreads(__tstate);
17488 if (PyErr_Occurred()) SWIG_fail;
17489 }
17490 resultobj = PyInt_FromLong((long)result);
17491 return resultobj;
17492 fail:
17493 return NULL;
17494 }
17495
17496
17497 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17498 PyObject *resultobj;
17499 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17500 bool result;
17501 PyObject * obj0 = 0 ;
17502 char *kwnames[] = {
17503 (char *) "self", NULL
17504 };
17505
17506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
17507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17508 {
17509 PyThreadState* __tstate = wxPyBeginAllowThreads();
17510 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
17511
17512 wxPyEndAllowThreads(__tstate);
17513 if (PyErr_Occurred()) SWIG_fail;
17514 }
17515 resultobj = PyInt_FromLong((long)result);
17516 return resultobj;
17517 fail:
17518 return NULL;
17519 }
17520
17521
17522 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17523 PyObject *resultobj;
17524 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17525 bool result;
17526 PyObject * obj0 = 0 ;
17527 char *kwnames[] = {
17528 (char *) "self", NULL
17529 };
17530
17531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
17532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17533 {
17534 PyThreadState* __tstate = wxPyBeginAllowThreads();
17535 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
17536
17537 wxPyEndAllowThreads(__tstate);
17538 if (PyErr_Occurred()) SWIG_fail;
17539 }
17540 resultobj = PyInt_FromLong((long)result);
17541 return resultobj;
17542 fail:
17543 return NULL;
17544 }
17545
17546
17547 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17548 PyObject *resultobj;
17549 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17550 int arg2 ;
17551 PyObject * obj0 = 0 ;
17552 char *kwnames[] = {
17553 (char *) "self",(char *) "v", NULL
17554 };
17555
17556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetFromPage",kwnames,&obj0,&arg2)) goto fail;
17557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17558 {
17559 PyThreadState* __tstate = wxPyBeginAllowThreads();
17560 (arg1)->SetFromPage(arg2);
17561
17562 wxPyEndAllowThreads(__tstate);
17563 if (PyErr_Occurred()) SWIG_fail;
17564 }
17565 Py_INCREF(Py_None); resultobj = Py_None;
17566 return resultobj;
17567 fail:
17568 return NULL;
17569 }
17570
17571
17572 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17573 PyObject *resultobj;
17574 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17575 int arg2 ;
17576 PyObject * obj0 = 0 ;
17577 char *kwnames[] = {
17578 (char *) "self",(char *) "v", NULL
17579 };
17580
17581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetToPage",kwnames,&obj0,&arg2)) goto fail;
17582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17583 {
17584 PyThreadState* __tstate = wxPyBeginAllowThreads();
17585 (arg1)->SetToPage(arg2);
17586
17587 wxPyEndAllowThreads(__tstate);
17588 if (PyErr_Occurred()) SWIG_fail;
17589 }
17590 Py_INCREF(Py_None); resultobj = Py_None;
17591 return resultobj;
17592 fail:
17593 return NULL;
17594 }
17595
17596
17597 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17598 PyObject *resultobj;
17599 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17600 int arg2 ;
17601 PyObject * obj0 = 0 ;
17602 char *kwnames[] = {
17603 (char *) "self",(char *) "v", NULL
17604 };
17605
17606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMinPage",kwnames,&obj0,&arg2)) goto fail;
17607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17608 {
17609 PyThreadState* __tstate = wxPyBeginAllowThreads();
17610 (arg1)->SetMinPage(arg2);
17611
17612 wxPyEndAllowThreads(__tstate);
17613 if (PyErr_Occurred()) SWIG_fail;
17614 }
17615 Py_INCREF(Py_None); resultobj = Py_None;
17616 return resultobj;
17617 fail:
17618 return NULL;
17619 }
17620
17621
17622 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17623 PyObject *resultobj;
17624 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17625 int arg2 ;
17626 PyObject * obj0 = 0 ;
17627 char *kwnames[] = {
17628 (char *) "self",(char *) "v", NULL
17629 };
17630
17631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMaxPage",kwnames,&obj0,&arg2)) goto fail;
17632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17633 {
17634 PyThreadState* __tstate = wxPyBeginAllowThreads();
17635 (arg1)->SetMaxPage(arg2);
17636
17637 wxPyEndAllowThreads(__tstate);
17638 if (PyErr_Occurred()) SWIG_fail;
17639 }
17640 Py_INCREF(Py_None); resultobj = Py_None;
17641 return resultobj;
17642 fail:
17643 return NULL;
17644 }
17645
17646
17647 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17648 PyObject *resultobj;
17649 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17650 int arg2 ;
17651 PyObject * obj0 = 0 ;
17652 char *kwnames[] = {
17653 (char *) "self",(char *) "v", NULL
17654 };
17655
17656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
17657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17658 {
17659 PyThreadState* __tstate = wxPyBeginAllowThreads();
17660 (arg1)->SetNoCopies(arg2);
17661
17662 wxPyEndAllowThreads(__tstate);
17663 if (PyErr_Occurred()) SWIG_fail;
17664 }
17665 Py_INCREF(Py_None); resultobj = Py_None;
17666 return resultobj;
17667 fail:
17668 return NULL;
17669 }
17670
17671
17672 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
17673 PyObject *resultobj;
17674 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17675 bool arg2 ;
17676 PyObject * obj0 = 0 ;
17677 PyObject * obj1 = 0 ;
17678 char *kwnames[] = {
17679 (char *) "self",(char *) "flag", NULL
17680 };
17681
17682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
17683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17684 arg2 = PyInt_AsLong(obj1) ? true : false;
17685 if (PyErr_Occurred()) SWIG_fail;
17686 {
17687 PyThreadState* __tstate = wxPyBeginAllowThreads();
17688 (arg1)->SetAllPages(arg2);
17689
17690 wxPyEndAllowThreads(__tstate);
17691 if (PyErr_Occurred()) SWIG_fail;
17692 }
17693 Py_INCREF(Py_None); resultobj = Py_None;
17694 return resultobj;
17695 fail:
17696 return NULL;
17697 }
17698
17699
17700 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17701 PyObject *resultobj;
17702 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17703 bool arg2 ;
17704 PyObject * obj0 = 0 ;
17705 PyObject * obj1 = 0 ;
17706 char *kwnames[] = {
17707 (char *) "self",(char *) "flag", NULL
17708 };
17709
17710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
17711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17712 arg2 = PyInt_AsLong(obj1) ? true : false;
17713 if (PyErr_Occurred()) SWIG_fail;
17714 {
17715 PyThreadState* __tstate = wxPyBeginAllowThreads();
17716 (arg1)->SetSelection(arg2);
17717
17718 wxPyEndAllowThreads(__tstate);
17719 if (PyErr_Occurred()) SWIG_fail;
17720 }
17721 Py_INCREF(Py_None); resultobj = Py_None;
17722 return resultobj;
17723 fail:
17724 return NULL;
17725 }
17726
17727
17728 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17729 PyObject *resultobj;
17730 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17731 bool arg2 ;
17732 PyObject * obj0 = 0 ;
17733 PyObject * obj1 = 0 ;
17734 char *kwnames[] = {
17735 (char *) "self",(char *) "flag", NULL
17736 };
17737
17738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
17739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17740 arg2 = PyInt_AsLong(obj1) ? true : false;
17741 if (PyErr_Occurred()) SWIG_fail;
17742 {
17743 PyThreadState* __tstate = wxPyBeginAllowThreads();
17744 (arg1)->SetCollate(arg2);
17745
17746 wxPyEndAllowThreads(__tstate);
17747 if (PyErr_Occurred()) SWIG_fail;
17748 }
17749 Py_INCREF(Py_None); resultobj = Py_None;
17750 return resultobj;
17751 fail:
17752 return NULL;
17753 }
17754
17755
17756 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17757 PyObject *resultobj;
17758 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17759 bool arg2 ;
17760 PyObject * obj0 = 0 ;
17761 PyObject * obj1 = 0 ;
17762 char *kwnames[] = {
17763 (char *) "self",(char *) "flag", NULL
17764 };
17765
17766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
17767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17768 arg2 = PyInt_AsLong(obj1) ? true : false;
17769 if (PyErr_Occurred()) SWIG_fail;
17770 {
17771 PyThreadState* __tstate = wxPyBeginAllowThreads();
17772 (arg1)->SetPrintToFile(arg2);
17773
17774 wxPyEndAllowThreads(__tstate);
17775 if (PyErr_Occurred()) SWIG_fail;
17776 }
17777 Py_INCREF(Py_None); resultobj = Py_None;
17778 return resultobj;
17779 fail:
17780 return NULL;
17781 }
17782
17783
17784 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17785 PyObject *resultobj;
17786 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17787 bool arg2 ;
17788 PyObject * obj0 = 0 ;
17789 PyObject * obj1 = 0 ;
17790 char *kwnames[] = {
17791 (char *) "self",(char *) "flag", NULL
17792 };
17793
17794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
17795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17796 arg2 = PyInt_AsLong(obj1) ? true : false;
17797 if (PyErr_Occurred()) SWIG_fail;
17798 {
17799 PyThreadState* __tstate = wxPyBeginAllowThreads();
17800 (arg1)->SetSetupDialog(arg2);
17801
17802 wxPyEndAllowThreads(__tstate);
17803 if (PyErr_Occurred()) SWIG_fail;
17804 }
17805 Py_INCREF(Py_None); resultobj = Py_None;
17806 return resultobj;
17807 fail:
17808 return NULL;
17809 }
17810
17811
17812 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17813 PyObject *resultobj;
17814 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17815 bool arg2 ;
17816 PyObject * obj0 = 0 ;
17817 PyObject * obj1 = 0 ;
17818 char *kwnames[] = {
17819 (char *) "self",(char *) "flag", NULL
17820 };
17821
17822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
17823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17824 arg2 = PyInt_AsLong(obj1) ? true : false;
17825 if (PyErr_Occurred()) SWIG_fail;
17826 {
17827 PyThreadState* __tstate = wxPyBeginAllowThreads();
17828 (arg1)->EnablePrintToFile(arg2);
17829
17830 wxPyEndAllowThreads(__tstate);
17831 if (PyErr_Occurred()) SWIG_fail;
17832 }
17833 Py_INCREF(Py_None); resultobj = Py_None;
17834 return resultobj;
17835 fail:
17836 return NULL;
17837 }
17838
17839
17840 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17841 PyObject *resultobj;
17842 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17843 bool arg2 ;
17844 PyObject * obj0 = 0 ;
17845 PyObject * obj1 = 0 ;
17846 char *kwnames[] = {
17847 (char *) "self",(char *) "flag", NULL
17848 };
17849
17850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
17851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17852 arg2 = PyInt_AsLong(obj1) ? true : false;
17853 if (PyErr_Occurred()) SWIG_fail;
17854 {
17855 PyThreadState* __tstate = wxPyBeginAllowThreads();
17856 (arg1)->EnableSelection(arg2);
17857
17858 wxPyEndAllowThreads(__tstate);
17859 if (PyErr_Occurred()) SWIG_fail;
17860 }
17861 Py_INCREF(Py_None); resultobj = Py_None;
17862 return resultobj;
17863 fail:
17864 return NULL;
17865 }
17866
17867
17868 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17869 PyObject *resultobj;
17870 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17871 bool arg2 ;
17872 PyObject * obj0 = 0 ;
17873 PyObject * obj1 = 0 ;
17874 char *kwnames[] = {
17875 (char *) "self",(char *) "flag", NULL
17876 };
17877
17878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
17879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17880 arg2 = PyInt_AsLong(obj1) ? true : false;
17881 if (PyErr_Occurred()) SWIG_fail;
17882 {
17883 PyThreadState* __tstate = wxPyBeginAllowThreads();
17884 (arg1)->EnablePageNumbers(arg2);
17885
17886 wxPyEndAllowThreads(__tstate);
17887 if (PyErr_Occurred()) SWIG_fail;
17888 }
17889 Py_INCREF(Py_None); resultobj = Py_None;
17890 return resultobj;
17891 fail:
17892 return NULL;
17893 }
17894
17895
17896 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17897 PyObject *resultobj;
17898 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17899 bool arg2 ;
17900 PyObject * obj0 = 0 ;
17901 PyObject * obj1 = 0 ;
17902 char *kwnames[] = {
17903 (char *) "self",(char *) "flag", NULL
17904 };
17905
17906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
17907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17908 arg2 = PyInt_AsLong(obj1) ? true : false;
17909 if (PyErr_Occurred()) SWIG_fail;
17910 {
17911 PyThreadState* __tstate = wxPyBeginAllowThreads();
17912 (arg1)->EnableHelp(arg2);
17913
17914 wxPyEndAllowThreads(__tstate);
17915 if (PyErr_Occurred()) SWIG_fail;
17916 }
17917 Py_INCREF(Py_None); resultobj = Py_None;
17918 return resultobj;
17919 fail:
17920 return NULL;
17921 }
17922
17923
17924 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17925 PyObject *resultobj;
17926 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17927 bool result;
17928 PyObject * obj0 = 0 ;
17929 char *kwnames[] = {
17930 (char *) "self", NULL
17931 };
17932
17933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
17934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17935 {
17936 PyThreadState* __tstate = wxPyBeginAllowThreads();
17937 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
17938
17939 wxPyEndAllowThreads(__tstate);
17940 if (PyErr_Occurred()) SWIG_fail;
17941 }
17942 resultobj = PyInt_FromLong((long)result);
17943 return resultobj;
17944 fail:
17945 return NULL;
17946 }
17947
17948
17949 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17950 PyObject *resultobj;
17951 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17952 bool result;
17953 PyObject * obj0 = 0 ;
17954 char *kwnames[] = {
17955 (char *) "self", NULL
17956 };
17957
17958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
17959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17960 {
17961 PyThreadState* __tstate = wxPyBeginAllowThreads();
17962 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
17963
17964 wxPyEndAllowThreads(__tstate);
17965 if (PyErr_Occurred()) SWIG_fail;
17966 }
17967 resultobj = PyInt_FromLong((long)result);
17968 return resultobj;
17969 fail:
17970 return NULL;
17971 }
17972
17973
17974 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17975 PyObject *resultobj;
17976 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17977 bool result;
17978 PyObject * obj0 = 0 ;
17979 char *kwnames[] = {
17980 (char *) "self", NULL
17981 };
17982
17983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
17984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17985 {
17986 PyThreadState* __tstate = wxPyBeginAllowThreads();
17987 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
17988
17989 wxPyEndAllowThreads(__tstate);
17990 if (PyErr_Occurred()) SWIG_fail;
17991 }
17992 resultobj = PyInt_FromLong((long)result);
17993 return resultobj;
17994 fail:
17995 return NULL;
17996 }
17997
17998
17999 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
18000 PyObject *resultobj;
18001 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18002 bool result;
18003 PyObject * obj0 = 0 ;
18004 char *kwnames[] = {
18005 (char *) "self", NULL
18006 };
18007
18008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
18009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18010 {
18011 PyThreadState* __tstate = wxPyBeginAllowThreads();
18012 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
18013
18014 wxPyEndAllowThreads(__tstate);
18015 if (PyErr_Occurred()) SWIG_fail;
18016 }
18017 resultobj = PyInt_FromLong((long)result);
18018 return resultobj;
18019 fail:
18020 return NULL;
18021 }
18022
18023
18024 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
18025 PyObject *resultobj;
18026 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18027 bool result;
18028 PyObject * obj0 = 0 ;
18029 char *kwnames[] = {
18030 (char *) "self", NULL
18031 };
18032
18033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
18034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18035 {
18036 PyThreadState* __tstate = wxPyBeginAllowThreads();
18037 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
18038
18039 wxPyEndAllowThreads(__tstate);
18040 if (PyErr_Occurred()) SWIG_fail;
18041 }
18042 resultobj = PyInt_FromLong((long)result);
18043 return resultobj;
18044 fail:
18045 return NULL;
18046 }
18047
18048
18049 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
18050 PyObject *resultobj;
18051 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18052 wxPrintData *result;
18053 PyObject * obj0 = 0 ;
18054 char *kwnames[] = {
18055 (char *) "self", NULL
18056 };
18057
18058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
18059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18060 {
18061 PyThreadState* __tstate = wxPyBeginAllowThreads();
18062 {
18063 wxPrintData &_result_ref = (arg1)->GetPrintData();
18064 result = (wxPrintData *) &_result_ref;
18065 }
18066
18067 wxPyEndAllowThreads(__tstate);
18068 if (PyErr_Occurred()) SWIG_fail;
18069 }
18070 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
18071 return resultobj;
18072 fail:
18073 return NULL;
18074 }
18075
18076
18077 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
18078 PyObject *resultobj;
18079 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18080 wxPrintData *arg2 = 0 ;
18081 PyObject * obj0 = 0 ;
18082 PyObject * obj1 = 0 ;
18083 char *kwnames[] = {
18084 (char *) "self",(char *) "printData", NULL
18085 };
18086
18087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
18088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18089 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18090 if (arg2 == NULL) {
18091 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18092 }
18093 {
18094 PyThreadState* __tstate = wxPyBeginAllowThreads();
18095 (arg1)->SetPrintData((wxPrintData const &)*arg2);
18096
18097 wxPyEndAllowThreads(__tstate);
18098 if (PyErr_Occurred()) SWIG_fail;
18099 }
18100 Py_INCREF(Py_None); resultobj = Py_None;
18101 return resultobj;
18102 fail:
18103 return NULL;
18104 }
18105
18106
18107 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
18108 PyObject *obj;
18109 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18110 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
18111 Py_INCREF(obj);
18112 return Py_BuildValue((char *)"");
18113 }
18114 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
18115 PyObject *resultobj;
18116 wxWindow *arg1 = (wxWindow *) 0 ;
18117 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
18118 wxPrintDialog *result;
18119 PyObject * obj0 = 0 ;
18120 PyObject * obj1 = 0 ;
18121 char *kwnames[] = {
18122 (char *) "parent",(char *) "data", NULL
18123 };
18124
18125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
18126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18127 if (obj1) {
18128 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18129 }
18130 {
18131 PyThreadState* __tstate = wxPyBeginAllowThreads();
18132 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
18133
18134 wxPyEndAllowThreads(__tstate);
18135 if (PyErr_Occurred()) SWIG_fail;
18136 }
18137 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialog, 1);
18138 return resultobj;
18139 fail:
18140 return NULL;
18141 }
18142
18143
18144 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18145 PyObject *resultobj;
18146 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
18147 wxPrintDialogData *result;
18148 PyObject * obj0 = 0 ;
18149 char *kwnames[] = {
18150 (char *) "self", NULL
18151 };
18152
18153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
18154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18155 {
18156 PyThreadState* __tstate = wxPyBeginAllowThreads();
18157 {
18158 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
18159 result = (wxPrintDialogData *) &_result_ref;
18160 }
18161
18162 wxPyEndAllowThreads(__tstate);
18163 if (PyErr_Occurred()) SWIG_fail;
18164 }
18165 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
18166 return resultobj;
18167 fail:
18168 return NULL;
18169 }
18170
18171
18172 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18173 PyObject *resultobj;
18174 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
18175 wxDC *result;
18176 PyObject * obj0 = 0 ;
18177 char *kwnames[] = {
18178 (char *) "self", NULL
18179 };
18180
18181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
18182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18183 {
18184 PyThreadState* __tstate = wxPyBeginAllowThreads();
18185 result = (wxDC *)(arg1)->GetPrintDC();
18186
18187 wxPyEndAllowThreads(__tstate);
18188 if (PyErr_Occurred()) SWIG_fail;
18189 }
18190 {
18191 resultobj = wxPyMake_wxObject(result);
18192 }
18193 return resultobj;
18194 fail:
18195 return NULL;
18196 }
18197
18198
18199 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
18200 PyObject *resultobj;
18201 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
18202 int result;
18203 PyObject * obj0 = 0 ;
18204 char *kwnames[] = {
18205 (char *) "self", NULL
18206 };
18207
18208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
18209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18210 {
18211 PyThreadState* __tstate = wxPyBeginAllowThreads();
18212 result = (int)(arg1)->ShowModal();
18213
18214 wxPyEndAllowThreads(__tstate);
18215 if (PyErr_Occurred()) SWIG_fail;
18216 }
18217 resultobj = PyInt_FromLong((long)result);
18218 return resultobj;
18219 fail:
18220 return NULL;
18221 }
18222
18223
18224 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
18225 PyObject *obj;
18226 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18227 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
18228 Py_INCREF(obj);
18229 return Py_BuildValue((char *)"");
18230 }
18231 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
18232 PyObject *resultobj;
18233 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
18234 wxPrinter *result;
18235 PyObject * obj0 = 0 ;
18236 char *kwnames[] = {
18237 (char *) "data", NULL
18238 };
18239
18240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
18241 if (obj0) {
18242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18243 }
18244 {
18245 PyThreadState* __tstate = wxPyBeginAllowThreads();
18246 result = (wxPrinter *)new wxPrinter(arg1);
18247
18248 wxPyEndAllowThreads(__tstate);
18249 if (PyErr_Occurred()) SWIG_fail;
18250 }
18251 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrinter, 1);
18252 return resultobj;
18253 fail:
18254 return NULL;
18255 }
18256
18257
18258 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
18259 PyObject *resultobj;
18260 wxPrinter *arg1 = (wxPrinter *) 0 ;
18261 PyObject * obj0 = 0 ;
18262 char *kwnames[] = {
18263 (char *) "self", NULL
18264 };
18265
18266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
18267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18268 {
18269 PyThreadState* __tstate = wxPyBeginAllowThreads();
18270 delete arg1;
18271
18272 wxPyEndAllowThreads(__tstate);
18273 if (PyErr_Occurred()) SWIG_fail;
18274 }
18275 Py_INCREF(Py_None); resultobj = Py_None;
18276 return resultobj;
18277 fail:
18278 return NULL;
18279 }
18280
18281
18282 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18283 PyObject *resultobj;
18284 wxPrinter *arg1 = (wxPrinter *) 0 ;
18285 wxWindow *arg2 = (wxWindow *) 0 ;
18286 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
18287 PyObject * obj0 = 0 ;
18288 PyObject * obj1 = 0 ;
18289 PyObject * obj2 = 0 ;
18290 char *kwnames[] = {
18291 (char *) "self",(char *) "parent",(char *) "printout", NULL
18292 };
18293
18294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
18295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18296 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18297 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18298 {
18299 PyThreadState* __tstate = wxPyBeginAllowThreads();
18300 (arg1)->CreateAbortWindow(arg2,arg3);
18301
18302 wxPyEndAllowThreads(__tstate);
18303 if (PyErr_Occurred()) SWIG_fail;
18304 }
18305 Py_INCREF(Py_None); resultobj = Py_None;
18306 return resultobj;
18307 fail:
18308 return NULL;
18309 }
18310
18311
18312 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18313 PyObject *resultobj;
18314 wxPrinter *arg1 = (wxPrinter *) 0 ;
18315 wxPrintDialogData *result;
18316 PyObject * obj0 = 0 ;
18317 char *kwnames[] = {
18318 (char *) "self", NULL
18319 };
18320
18321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
18322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18323 {
18324 PyThreadState* __tstate = wxPyBeginAllowThreads();
18325 {
18326 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
18327 result = (wxPrintDialogData *) &_result_ref;
18328 }
18329
18330 wxPyEndAllowThreads(__tstate);
18331 if (PyErr_Occurred()) SWIG_fail;
18332 }
18333 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
18334 return resultobj;
18335 fail:
18336 return NULL;
18337 }
18338
18339
18340 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
18341 PyObject *resultobj;
18342 wxPrinter *arg1 = (wxPrinter *) 0 ;
18343 wxWindow *arg2 = (wxWindow *) 0 ;
18344 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
18345 int arg4 = (int) True ;
18346 bool result;
18347 PyObject * obj0 = 0 ;
18348 PyObject * obj1 = 0 ;
18349 PyObject * obj2 = 0 ;
18350 char *kwnames[] = {
18351 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
18352 };
18353
18354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:Printer_Print",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
18355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18356 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18357 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18358 {
18359 PyThreadState* __tstate = wxPyBeginAllowThreads();
18360 result = (bool)(arg1)->Print(arg2,arg3,arg4);
18361
18362 wxPyEndAllowThreads(__tstate);
18363 if (PyErr_Occurred()) SWIG_fail;
18364 }
18365 resultobj = PyInt_FromLong((long)result);
18366 return resultobj;
18367 fail:
18368 return NULL;
18369 }
18370
18371
18372 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
18373 PyObject *resultobj;
18374 wxPrinter *arg1 = (wxPrinter *) 0 ;
18375 wxWindow *arg2 = (wxWindow *) 0 ;
18376 wxDC *result;
18377 PyObject * obj0 = 0 ;
18378 PyObject * obj1 = 0 ;
18379 char *kwnames[] = {
18380 (char *) "self",(char *) "parent", NULL
18381 };
18382
18383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
18384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18385 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18386 {
18387 PyThreadState* __tstate = wxPyBeginAllowThreads();
18388 result = (wxDC *)(arg1)->PrintDialog(arg2);
18389
18390 wxPyEndAllowThreads(__tstate);
18391 if (PyErr_Occurred()) SWIG_fail;
18392 }
18393 {
18394 resultobj = wxPyMake_wxObject(result);
18395 }
18396 return resultobj;
18397 fail:
18398 return NULL;
18399 }
18400
18401
18402 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
18403 PyObject *resultobj;
18404 wxPrinter *arg1 = (wxPrinter *) 0 ;
18405 wxWindow *arg2 = (wxWindow *) 0 ;
18406 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
18407 wxString *arg4 = 0 ;
18408 bool temp4 = False ;
18409 PyObject * obj0 = 0 ;
18410 PyObject * obj1 = 0 ;
18411 PyObject * obj2 = 0 ;
18412 PyObject * obj3 = 0 ;
18413 char *kwnames[] = {
18414 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
18415 };
18416
18417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18419 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18420 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18421 {
18422 arg4 = wxString_in_helper(obj3);
18423 if (arg4 == NULL) SWIG_fail;
18424 temp4 = True;
18425 }
18426 {
18427 PyThreadState* __tstate = wxPyBeginAllowThreads();
18428 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
18429
18430 wxPyEndAllowThreads(__tstate);
18431 if (PyErr_Occurred()) SWIG_fail;
18432 }
18433 Py_INCREF(Py_None); resultobj = Py_None;
18434 {
18435 if (temp4)
18436 delete arg4;
18437 }
18438 return resultobj;
18439 fail:
18440 {
18441 if (temp4)
18442 delete arg4;
18443 }
18444 return NULL;
18445 }
18446
18447
18448 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
18449 PyObject *resultobj;
18450 wxPrinter *arg1 = (wxPrinter *) 0 ;
18451 wxWindow *arg2 = (wxWindow *) 0 ;
18452 bool result;
18453 PyObject * obj0 = 0 ;
18454 PyObject * obj1 = 0 ;
18455 char *kwnames[] = {
18456 (char *) "self",(char *) "parent", NULL
18457 };
18458
18459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
18460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18461 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18462 {
18463 PyThreadState* __tstate = wxPyBeginAllowThreads();
18464 result = (bool)(arg1)->Setup(arg2);
18465
18466 wxPyEndAllowThreads(__tstate);
18467 if (PyErr_Occurred()) SWIG_fail;
18468 }
18469 resultobj = PyInt_FromLong((long)result);
18470 return resultobj;
18471 fail:
18472 return NULL;
18473 }
18474
18475
18476 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
18477 PyObject *resultobj;
18478 wxPrinter *arg1 = (wxPrinter *) 0 ;
18479 bool result;
18480 PyObject * obj0 = 0 ;
18481 char *kwnames[] = {
18482 (char *) "self", NULL
18483 };
18484
18485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
18486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18487 {
18488 PyThreadState* __tstate = wxPyBeginAllowThreads();
18489 result = (bool)(arg1)->GetAbort();
18490
18491 wxPyEndAllowThreads(__tstate);
18492 if (PyErr_Occurred()) SWIG_fail;
18493 }
18494 resultobj = PyInt_FromLong((long)result);
18495 return resultobj;
18496 fail:
18497 return NULL;
18498 }
18499
18500
18501 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
18502 PyObject *resultobj;
18503 int result;
18504 char *kwnames[] = {
18505 NULL
18506 };
18507
18508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
18509 {
18510 PyThreadState* __tstate = wxPyBeginAllowThreads();
18511 result = (int)wxPrinter::GetLastError();
18512
18513 wxPyEndAllowThreads(__tstate);
18514 if (PyErr_Occurred()) SWIG_fail;
18515 }
18516 resultobj = PyInt_FromLong((long)result);
18517 return resultobj;
18518 fail:
18519 return NULL;
18520 }
18521
18522
18523 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
18524 PyObject *obj;
18525 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18526 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
18527 Py_INCREF(obj);
18528 return Py_BuildValue((char *)"");
18529 }
18530 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
18531 PyObject *resultobj;
18532 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
18533 wxString *arg1 = (wxString *) &arg1_defvalue ;
18534 wxPyPrintout *result;
18535 bool temp1 = False ;
18536 PyObject * obj0 = 0 ;
18537 char *kwnames[] = {
18538 (char *) "title", NULL
18539 };
18540
18541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
18542 if (obj0) {
18543 {
18544 arg1 = wxString_in_helper(obj0);
18545 if (arg1 == NULL) SWIG_fail;
18546 temp1 = True;
18547 }
18548 }
18549 {
18550 PyThreadState* __tstate = wxPyBeginAllowThreads();
18551 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
18552
18553 wxPyEndAllowThreads(__tstate);
18554 if (PyErr_Occurred()) SWIG_fail;
18555 }
18556 {
18557 resultobj = wxPyMake_wxObject(result);
18558 }
18559 {
18560 if (temp1)
18561 delete arg1;
18562 }
18563 return resultobj;
18564 fail:
18565 {
18566 if (temp1)
18567 delete arg1;
18568 }
18569 return NULL;
18570 }
18571
18572
18573 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18574 PyObject *resultobj;
18575 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18576 PyObject *arg2 = (PyObject *) 0 ;
18577 PyObject *arg3 = (PyObject *) 0 ;
18578 PyObject * obj0 = 0 ;
18579 PyObject * obj1 = 0 ;
18580 PyObject * obj2 = 0 ;
18581 char *kwnames[] = {
18582 (char *) "self",(char *) "self",(char *) "_class", NULL
18583 };
18584
18585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18587 arg2 = obj1;
18588 arg3 = obj2;
18589 {
18590 PyThreadState* __tstate = wxPyBeginAllowThreads();
18591 (arg1)->_setCallbackInfo(arg2,arg3);
18592
18593 wxPyEndAllowThreads(__tstate);
18594 if (PyErr_Occurred()) SWIG_fail;
18595 }
18596 Py_INCREF(Py_None); resultobj = Py_None;
18597 return resultobj;
18598 fail:
18599 return NULL;
18600 }
18601
18602
18603 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
18604 PyObject *resultobj;
18605 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18606 wxString result;
18607 PyObject * obj0 = 0 ;
18608 char *kwnames[] = {
18609 (char *) "self", NULL
18610 };
18611
18612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
18613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18614 {
18615 PyThreadState* __tstate = wxPyBeginAllowThreads();
18616 result = ((wxPyPrintout const *)arg1)->GetTitle();
18617
18618 wxPyEndAllowThreads(__tstate);
18619 if (PyErr_Occurred()) SWIG_fail;
18620 }
18621 {
18622 #if wxUSE_UNICODE
18623 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18624 #else
18625 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18626 #endif
18627 }
18628 return resultobj;
18629 fail:
18630 return NULL;
18631 }
18632
18633
18634 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18635 PyObject *resultobj;
18636 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18637 wxDC *result;
18638 PyObject * obj0 = 0 ;
18639 char *kwnames[] = {
18640 (char *) "self", NULL
18641 };
18642
18643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
18644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18645 {
18646 PyThreadState* __tstate = wxPyBeginAllowThreads();
18647 result = (wxDC *)(arg1)->GetDC();
18648
18649 wxPyEndAllowThreads(__tstate);
18650 if (PyErr_Occurred()) SWIG_fail;
18651 }
18652 {
18653 resultobj = wxPyMake_wxObject(result);
18654 }
18655 return resultobj;
18656 fail:
18657 return NULL;
18658 }
18659
18660
18661 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18662 PyObject *resultobj;
18663 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18664 wxDC *arg2 = (wxDC *) 0 ;
18665 PyObject * obj0 = 0 ;
18666 PyObject * obj1 = 0 ;
18667 char *kwnames[] = {
18668 (char *) "self",(char *) "dc", NULL
18669 };
18670
18671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
18672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18673 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18674 {
18675 PyThreadState* __tstate = wxPyBeginAllowThreads();
18676 (arg1)->SetDC(arg2);
18677
18678 wxPyEndAllowThreads(__tstate);
18679 if (PyErr_Occurred()) SWIG_fail;
18680 }
18681 Py_INCREF(Py_None); resultobj = Py_None;
18682 return resultobj;
18683 fail:
18684 return NULL;
18685 }
18686
18687
18688 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
18689 PyObject *resultobj;
18690 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18691 int *arg2 = (int *) 0 ;
18692 int *arg3 = (int *) 0 ;
18693 int temp2 ;
18694 int temp3 ;
18695 PyObject * obj0 = 0 ;
18696 char *kwnames[] = {
18697 (char *) "self", NULL
18698 };
18699
18700 arg2 = &temp2;
18701 arg3 = &temp3;
18702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
18703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18704 {
18705 PyThreadState* __tstate = wxPyBeginAllowThreads();
18706 (arg1)->GetPageSizePixels(arg2,arg3);
18707
18708 wxPyEndAllowThreads(__tstate);
18709 if (PyErr_Occurred()) SWIG_fail;
18710 }
18711 Py_INCREF(Py_None); resultobj = Py_None;
18712 {
18713 PyObject *o = PyInt_FromLong((long) (*arg2));
18714 resultobj = t_output_helper(resultobj,o);
18715 }
18716 {
18717 PyObject *o = PyInt_FromLong((long) (*arg3));
18718 resultobj = t_output_helper(resultobj,o);
18719 }
18720 return resultobj;
18721 fail:
18722 return NULL;
18723 }
18724
18725
18726 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
18727 PyObject *resultobj;
18728 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18729 int arg2 ;
18730 int arg3 ;
18731 PyObject * obj0 = 0 ;
18732 char *kwnames[] = {
18733 (char *) "self",(char *) "w",(char *) "h", NULL
18734 };
18735
18736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizePixels",kwnames,&obj0,&arg2,&arg3)) goto fail;
18737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18738 {
18739 PyThreadState* __tstate = wxPyBeginAllowThreads();
18740 (arg1)->SetPageSizePixels(arg2,arg3);
18741
18742 wxPyEndAllowThreads(__tstate);
18743 if (PyErr_Occurred()) SWIG_fail;
18744 }
18745 Py_INCREF(Py_None); resultobj = Py_None;
18746 return resultobj;
18747 fail:
18748 return NULL;
18749 }
18750
18751
18752 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18753 PyObject *resultobj;
18754 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18755 int arg2 ;
18756 int arg3 ;
18757 PyObject * obj0 = 0 ;
18758 char *kwnames[] = {
18759 (char *) "self",(char *) "w",(char *) "h", NULL
18760 };
18761
18762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizeMM",kwnames,&obj0,&arg2,&arg3)) goto fail;
18763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18764 {
18765 PyThreadState* __tstate = wxPyBeginAllowThreads();
18766 (arg1)->SetPageSizeMM(arg2,arg3);
18767
18768 wxPyEndAllowThreads(__tstate);
18769 if (PyErr_Occurred()) SWIG_fail;
18770 }
18771 Py_INCREF(Py_None); resultobj = Py_None;
18772 return resultobj;
18773 fail:
18774 return NULL;
18775 }
18776
18777
18778 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18779 PyObject *resultobj;
18780 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18781 int *arg2 = (int *) 0 ;
18782 int *arg3 = (int *) 0 ;
18783 int temp2 ;
18784 int temp3 ;
18785 PyObject * obj0 = 0 ;
18786 char *kwnames[] = {
18787 (char *) "self", NULL
18788 };
18789
18790 arg2 = &temp2;
18791 arg3 = &temp3;
18792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
18793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18794 {
18795 PyThreadState* __tstate = wxPyBeginAllowThreads();
18796 (arg1)->GetPageSizeMM(arg2,arg3);
18797
18798 wxPyEndAllowThreads(__tstate);
18799 if (PyErr_Occurred()) SWIG_fail;
18800 }
18801 Py_INCREF(Py_None); resultobj = Py_None;
18802 {
18803 PyObject *o = PyInt_FromLong((long) (*arg2));
18804 resultobj = t_output_helper(resultobj,o);
18805 }
18806 {
18807 PyObject *o = PyInt_FromLong((long) (*arg3));
18808 resultobj = t_output_helper(resultobj,o);
18809 }
18810 return resultobj;
18811 fail:
18812 return NULL;
18813 }
18814
18815
18816 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18817 PyObject *resultobj;
18818 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18819 int arg2 ;
18820 int arg3 ;
18821 PyObject * obj0 = 0 ;
18822 char *kwnames[] = {
18823 (char *) "self",(char *) "x",(char *) "y", NULL
18824 };
18825
18826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIScreen",kwnames,&obj0,&arg2,&arg3)) goto fail;
18827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18828 {
18829 PyThreadState* __tstate = wxPyBeginAllowThreads();
18830 (arg1)->SetPPIScreen(arg2,arg3);
18831
18832 wxPyEndAllowThreads(__tstate);
18833 if (PyErr_Occurred()) SWIG_fail;
18834 }
18835 Py_INCREF(Py_None); resultobj = Py_None;
18836 return resultobj;
18837 fail:
18838 return NULL;
18839 }
18840
18841
18842 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18843 PyObject *resultobj;
18844 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18845 int *arg2 = (int *) 0 ;
18846 int *arg3 = (int *) 0 ;
18847 int temp2 ;
18848 int temp3 ;
18849 PyObject * obj0 = 0 ;
18850 char *kwnames[] = {
18851 (char *) "self", NULL
18852 };
18853
18854 arg2 = &temp2;
18855 arg3 = &temp3;
18856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
18857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18858 {
18859 PyThreadState* __tstate = wxPyBeginAllowThreads();
18860 (arg1)->GetPPIScreen(arg2,arg3);
18861
18862 wxPyEndAllowThreads(__tstate);
18863 if (PyErr_Occurred()) SWIG_fail;
18864 }
18865 Py_INCREF(Py_None); resultobj = Py_None;
18866 {
18867 PyObject *o = PyInt_FromLong((long) (*arg2));
18868 resultobj = t_output_helper(resultobj,o);
18869 }
18870 {
18871 PyObject *o = PyInt_FromLong((long) (*arg3));
18872 resultobj = t_output_helper(resultobj,o);
18873 }
18874 return resultobj;
18875 fail:
18876 return NULL;
18877 }
18878
18879
18880 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18881 PyObject *resultobj;
18882 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18883 int arg2 ;
18884 int arg3 ;
18885 PyObject * obj0 = 0 ;
18886 char *kwnames[] = {
18887 (char *) "self",(char *) "x",(char *) "y", NULL
18888 };
18889
18890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIPrinter",kwnames,&obj0,&arg2,&arg3)) goto fail;
18891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18892 {
18893 PyThreadState* __tstate = wxPyBeginAllowThreads();
18894 (arg1)->SetPPIPrinter(arg2,arg3);
18895
18896 wxPyEndAllowThreads(__tstate);
18897 if (PyErr_Occurred()) SWIG_fail;
18898 }
18899 Py_INCREF(Py_None); resultobj = Py_None;
18900 return resultobj;
18901 fail:
18902 return NULL;
18903 }
18904
18905
18906 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18907 PyObject *resultobj;
18908 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18909 int *arg2 = (int *) 0 ;
18910 int *arg3 = (int *) 0 ;
18911 int temp2 ;
18912 int temp3 ;
18913 PyObject * obj0 = 0 ;
18914 char *kwnames[] = {
18915 (char *) "self", NULL
18916 };
18917
18918 arg2 = &temp2;
18919 arg3 = &temp3;
18920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
18921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18922 {
18923 PyThreadState* __tstate = wxPyBeginAllowThreads();
18924 (arg1)->GetPPIPrinter(arg2,arg3);
18925
18926 wxPyEndAllowThreads(__tstate);
18927 if (PyErr_Occurred()) SWIG_fail;
18928 }
18929 Py_INCREF(Py_None); resultobj = Py_None;
18930 {
18931 PyObject *o = PyInt_FromLong((long) (*arg2));
18932 resultobj = t_output_helper(resultobj,o);
18933 }
18934 {
18935 PyObject *o = PyInt_FromLong((long) (*arg3));
18936 resultobj = t_output_helper(resultobj,o);
18937 }
18938 return resultobj;
18939 fail:
18940 return NULL;
18941 }
18942
18943
18944 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18945 PyObject *resultobj;
18946 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18947 bool result;
18948 PyObject * obj0 = 0 ;
18949 char *kwnames[] = {
18950 (char *) "self", NULL
18951 };
18952
18953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
18954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18955 {
18956 PyThreadState* __tstate = wxPyBeginAllowThreads();
18957 result = (bool)(arg1)->IsPreview();
18958
18959 wxPyEndAllowThreads(__tstate);
18960 if (PyErr_Occurred()) SWIG_fail;
18961 }
18962 resultobj = PyInt_FromLong((long)result);
18963 return resultobj;
18964 fail:
18965 return NULL;
18966 }
18967
18968
18969 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18970 PyObject *resultobj;
18971 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18972 bool arg2 ;
18973 PyObject * obj0 = 0 ;
18974 PyObject * obj1 = 0 ;
18975 char *kwnames[] = {
18976 (char *) "self",(char *) "p", NULL
18977 };
18978
18979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
18980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18981 arg2 = PyInt_AsLong(obj1) ? true : false;
18982 if (PyErr_Occurred()) SWIG_fail;
18983 {
18984 PyThreadState* __tstate = wxPyBeginAllowThreads();
18985 (arg1)->SetIsPreview(arg2);
18986
18987 wxPyEndAllowThreads(__tstate);
18988 if (PyErr_Occurred()) SWIG_fail;
18989 }
18990 Py_INCREF(Py_None); resultobj = Py_None;
18991 return resultobj;
18992 fail:
18993 return NULL;
18994 }
18995
18996
18997 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
18998 PyObject *resultobj;
18999 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19000 int arg2 ;
19001 int arg3 ;
19002 bool result;
19003 PyObject * obj0 = 0 ;
19004 char *kwnames[] = {
19005 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
19006 };
19007
19008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_base_OnBeginDocument",kwnames,&obj0,&arg2,&arg3)) goto fail;
19009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19010 {
19011 PyThreadState* __tstate = wxPyBeginAllowThreads();
19012 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
19013
19014 wxPyEndAllowThreads(__tstate);
19015 if (PyErr_Occurred()) SWIG_fail;
19016 }
19017 resultobj = PyInt_FromLong((long)result);
19018 return resultobj;
19019 fail:
19020 return NULL;
19021 }
19022
19023
19024 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
19025 PyObject *resultobj;
19026 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19027 PyObject * obj0 = 0 ;
19028 char *kwnames[] = {
19029 (char *) "self", NULL
19030 };
19031
19032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
19033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19034 {
19035 PyThreadState* __tstate = wxPyBeginAllowThreads();
19036 (arg1)->base_OnEndDocument();
19037
19038 wxPyEndAllowThreads(__tstate);
19039 if (PyErr_Occurred()) SWIG_fail;
19040 }
19041 Py_INCREF(Py_None); resultobj = Py_None;
19042 return resultobj;
19043 fail:
19044 return NULL;
19045 }
19046
19047
19048 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
19049 PyObject *resultobj;
19050 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19051 PyObject * obj0 = 0 ;
19052 char *kwnames[] = {
19053 (char *) "self", NULL
19054 };
19055
19056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
19057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19058 {
19059 PyThreadState* __tstate = wxPyBeginAllowThreads();
19060 (arg1)->base_OnBeginPrinting();
19061
19062 wxPyEndAllowThreads(__tstate);
19063 if (PyErr_Occurred()) SWIG_fail;
19064 }
19065 Py_INCREF(Py_None); resultobj = Py_None;
19066 return resultobj;
19067 fail:
19068 return NULL;
19069 }
19070
19071
19072 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
19073 PyObject *resultobj;
19074 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19075 PyObject * obj0 = 0 ;
19076 char *kwnames[] = {
19077 (char *) "self", NULL
19078 };
19079
19080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
19081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19082 {
19083 PyThreadState* __tstate = wxPyBeginAllowThreads();
19084 (arg1)->base_OnEndPrinting();
19085
19086 wxPyEndAllowThreads(__tstate);
19087 if (PyErr_Occurred()) SWIG_fail;
19088 }
19089 Py_INCREF(Py_None); resultobj = Py_None;
19090 return resultobj;
19091 fail:
19092 return NULL;
19093 }
19094
19095
19096 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
19097 PyObject *resultobj;
19098 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19099 PyObject * obj0 = 0 ;
19100 char *kwnames[] = {
19101 (char *) "self", NULL
19102 };
19103
19104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
19105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19106 {
19107 PyThreadState* __tstate = wxPyBeginAllowThreads();
19108 (arg1)->base_OnPreparePrinting();
19109
19110 wxPyEndAllowThreads(__tstate);
19111 if (PyErr_Occurred()) SWIG_fail;
19112 }
19113 Py_INCREF(Py_None); resultobj = Py_None;
19114 return resultobj;
19115 fail:
19116 return NULL;
19117 }
19118
19119
19120 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19121 PyObject *resultobj;
19122 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19123 int *arg2 = (int *) 0 ;
19124 int *arg3 = (int *) 0 ;
19125 int *arg4 = (int *) 0 ;
19126 int *arg5 = (int *) 0 ;
19127 int temp2 ;
19128 int temp3 ;
19129 int temp4 ;
19130 int temp5 ;
19131 PyObject * obj0 = 0 ;
19132 char *kwnames[] = {
19133 (char *) "self", NULL
19134 };
19135
19136 arg2 = &temp2;
19137 arg3 = &temp3;
19138 arg4 = &temp4;
19139 arg5 = &temp5;
19140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
19141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19142 {
19143 PyThreadState* __tstate = wxPyBeginAllowThreads();
19144 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
19145
19146 wxPyEndAllowThreads(__tstate);
19147 if (PyErr_Occurred()) SWIG_fail;
19148 }
19149 Py_INCREF(Py_None); resultobj = Py_None;
19150 {
19151 PyObject *o = PyInt_FromLong((long) (*arg2));
19152 resultobj = t_output_helper(resultobj,o);
19153 }
19154 {
19155 PyObject *o = PyInt_FromLong((long) (*arg3));
19156 resultobj = t_output_helper(resultobj,o);
19157 }
19158 {
19159 PyObject *o = PyInt_FromLong((long) (*arg4));
19160 resultobj = t_output_helper(resultobj,o);
19161 }
19162 {
19163 PyObject *o = PyInt_FromLong((long) (*arg5));
19164 resultobj = t_output_helper(resultobj,o);
19165 }
19166 return resultobj;
19167 fail:
19168 return NULL;
19169 }
19170
19171
19172 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19173 PyObject *resultobj;
19174 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19175 int arg2 ;
19176 bool result;
19177 PyObject * obj0 = 0 ;
19178 char *kwnames[] = {
19179 (char *) "self",(char *) "page", NULL
19180 };
19181
19182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Printout_base_HasPage",kwnames,&obj0,&arg2)) goto fail;
19183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19184 {
19185 PyThreadState* __tstate = wxPyBeginAllowThreads();
19186 result = (bool)(arg1)->base_HasPage(arg2);
19187
19188 wxPyEndAllowThreads(__tstate);
19189 if (PyErr_Occurred()) SWIG_fail;
19190 }
19191 resultobj = PyInt_FromLong((long)result);
19192 return resultobj;
19193 fail:
19194 return NULL;
19195 }
19196
19197
19198 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
19199 PyObject *obj;
19200 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19201 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
19202 Py_INCREF(obj);
19203 return Py_BuildValue((char *)"");
19204 }
19205 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19206 PyObject *resultobj;
19207 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19208 wxWindow *arg2 = (wxWindow *) 0 ;
19209 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19210 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19211 wxSize const &arg4_defvalue = wxDefaultSize ;
19212 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19213 long arg5 = (long) 0 ;
19214 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
19215 wxString *arg6 = (wxString *) &arg6_defvalue ;
19216 wxPreviewCanvas *result;
19217 wxPoint temp3 ;
19218 wxSize temp4 ;
19219 bool temp6 = False ;
19220 PyObject * obj0 = 0 ;
19221 PyObject * obj1 = 0 ;
19222 PyObject * obj2 = 0 ;
19223 PyObject * obj3 = 0 ;
19224 PyObject * obj5 = 0 ;
19225 char *kwnames[] = {
19226 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19227 };
19228
19229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
19230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19231 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19232 if (obj2) {
19233 {
19234 arg3 = &temp3;
19235 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19236 }
19237 }
19238 if (obj3) {
19239 {
19240 arg4 = &temp4;
19241 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19242 }
19243 }
19244 if (obj5) {
19245 {
19246 arg6 = wxString_in_helper(obj5);
19247 if (arg6 == NULL) SWIG_fail;
19248 temp6 = True;
19249 }
19250 }
19251 {
19252 PyThreadState* __tstate = wxPyBeginAllowThreads();
19253 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19254
19255 wxPyEndAllowThreads(__tstate);
19256 if (PyErr_Occurred()) SWIG_fail;
19257 }
19258 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 1);
19259 {
19260 if (temp6)
19261 delete arg6;
19262 }
19263 return resultobj;
19264 fail:
19265 {
19266 if (temp6)
19267 delete arg6;
19268 }
19269 return NULL;
19270 }
19271
19272
19273 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
19274 PyObject *obj;
19275 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19276 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
19277 Py_INCREF(obj);
19278 return Py_BuildValue((char *)"");
19279 }
19280 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19281 PyObject *resultobj;
19282 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19283 wxFrame *arg2 = (wxFrame *) 0 ;
19284 wxString *arg3 = 0 ;
19285 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19286 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19287 wxSize const &arg5_defvalue = wxDefaultSize ;
19288 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19289 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
19290 wxString const &arg7_defvalue = wxPyFrameNameStr ;
19291 wxString *arg7 = (wxString *) &arg7_defvalue ;
19292 wxPreviewFrame *result;
19293 bool temp3 = False ;
19294 wxPoint temp4 ;
19295 wxSize temp5 ;
19296 bool temp7 = False ;
19297 PyObject * obj0 = 0 ;
19298 PyObject * obj1 = 0 ;
19299 PyObject * obj2 = 0 ;
19300 PyObject * obj3 = 0 ;
19301 PyObject * obj4 = 0 ;
19302 PyObject * obj6 = 0 ;
19303 char *kwnames[] = {
19304 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19305 };
19306
19307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
19308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19309 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19310 {
19311 arg3 = wxString_in_helper(obj2);
19312 if (arg3 == NULL) SWIG_fail;
19313 temp3 = True;
19314 }
19315 if (obj3) {
19316 {
19317 arg4 = &temp4;
19318 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19319 }
19320 }
19321 if (obj4) {
19322 {
19323 arg5 = &temp5;
19324 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19325 }
19326 }
19327 if (obj6) {
19328 {
19329 arg7 = wxString_in_helper(obj6);
19330 if (arg7 == NULL) SWIG_fail;
19331 temp7 = True;
19332 }
19333 }
19334 {
19335 PyThreadState* __tstate = wxPyBeginAllowThreads();
19336 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19337
19338 wxPyEndAllowThreads(__tstate);
19339 if (PyErr_Occurred()) SWIG_fail;
19340 }
19341 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewFrame, 1);
19342 {
19343 if (temp3)
19344 delete arg3;
19345 }
19346 {
19347 if (temp7)
19348 delete arg7;
19349 }
19350 return resultobj;
19351 fail:
19352 {
19353 if (temp3)
19354 delete arg3;
19355 }
19356 {
19357 if (temp7)
19358 delete arg7;
19359 }
19360 return NULL;
19361 }
19362
19363
19364 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
19365 PyObject *resultobj;
19366 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19367 PyObject * obj0 = 0 ;
19368 char *kwnames[] = {
19369 (char *) "self", NULL
19370 };
19371
19372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
19373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19374 {
19375 PyThreadState* __tstate = wxPyBeginAllowThreads();
19376 (arg1)->Initialize();
19377
19378 wxPyEndAllowThreads(__tstate);
19379 if (PyErr_Occurred()) SWIG_fail;
19380 }
19381 Py_INCREF(Py_None); resultobj = Py_None;
19382 return resultobj;
19383 fail:
19384 return NULL;
19385 }
19386
19387
19388 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19389 PyObject *resultobj;
19390 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19391 PyObject * obj0 = 0 ;
19392 char *kwnames[] = {
19393 (char *) "self", NULL
19394 };
19395
19396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
19397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19398 {
19399 PyThreadState* __tstate = wxPyBeginAllowThreads();
19400 (arg1)->CreateControlBar();
19401
19402 wxPyEndAllowThreads(__tstate);
19403 if (PyErr_Occurred()) SWIG_fail;
19404 }
19405 Py_INCREF(Py_None); resultobj = Py_None;
19406 return resultobj;
19407 fail:
19408 return NULL;
19409 }
19410
19411
19412 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19413 PyObject *resultobj;
19414 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19415 PyObject * obj0 = 0 ;
19416 char *kwnames[] = {
19417 (char *) "self", NULL
19418 };
19419
19420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
19421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19422 {
19423 PyThreadState* __tstate = wxPyBeginAllowThreads();
19424 (arg1)->CreateCanvas();
19425
19426 wxPyEndAllowThreads(__tstate);
19427 if (PyErr_Occurred()) SWIG_fail;
19428 }
19429 Py_INCREF(Py_None); resultobj = Py_None;
19430 return resultobj;
19431 fail:
19432 return NULL;
19433 }
19434
19435
19436 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19437 PyObject *resultobj;
19438 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19439 wxPreviewControlBar *result;
19440 PyObject * obj0 = 0 ;
19441 char *kwnames[] = {
19442 (char *) "self", NULL
19443 };
19444
19445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
19446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19447 {
19448 PyThreadState* __tstate = wxPyBeginAllowThreads();
19449 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
19450
19451 wxPyEndAllowThreads(__tstate);
19452 if (PyErr_Occurred()) SWIG_fail;
19453 }
19454 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 0);
19455 return resultobj;
19456 fail:
19457 return NULL;
19458 }
19459
19460
19461 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
19462 PyObject *obj;
19463 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19464 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
19465 Py_INCREF(obj);
19466 return Py_BuildValue((char *)"");
19467 }
19468 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19469 PyObject *resultobj;
19470 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19471 long arg2 ;
19472 wxWindow *arg3 = (wxWindow *) 0 ;
19473 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19474 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19475 wxSize const &arg5_defvalue = wxDefaultSize ;
19476 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19477 long arg6 = (long) wxTAB_TRAVERSAL ;
19478 wxString const &arg7_defvalue = wxPyPanelNameStr ;
19479 wxString *arg7 = (wxString *) &arg7_defvalue ;
19480 wxPreviewControlBar *result;
19481 wxPoint temp4 ;
19482 wxSize temp5 ;
19483 bool temp7 = False ;
19484 PyObject * obj0 = 0 ;
19485 PyObject * obj2 = 0 ;
19486 PyObject * obj3 = 0 ;
19487 PyObject * obj4 = 0 ;
19488 PyObject * obj6 = 0 ;
19489 char *kwnames[] = {
19490 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19491 };
19492
19493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
19494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19495 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19496 if (obj3) {
19497 {
19498 arg4 = &temp4;
19499 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19500 }
19501 }
19502 if (obj4) {
19503 {
19504 arg5 = &temp5;
19505 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19506 }
19507 }
19508 if (obj6) {
19509 {
19510 arg7 = wxString_in_helper(obj6);
19511 if (arg7 == NULL) SWIG_fail;
19512 temp7 = True;
19513 }
19514 }
19515 {
19516 PyThreadState* __tstate = wxPyBeginAllowThreads();
19517 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19518
19519 wxPyEndAllowThreads(__tstate);
19520 if (PyErr_Occurred()) SWIG_fail;
19521 }
19522 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 1);
19523 {
19524 if (temp7)
19525 delete arg7;
19526 }
19527 return resultobj;
19528 fail:
19529 {
19530 if (temp7)
19531 delete arg7;
19532 }
19533 return NULL;
19534 }
19535
19536
19537 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19538 PyObject *resultobj;
19539 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19540 int result;
19541 PyObject * obj0 = 0 ;
19542 char *kwnames[] = {
19543 (char *) "self", NULL
19544 };
19545
19546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
19547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19548 {
19549 PyThreadState* __tstate = wxPyBeginAllowThreads();
19550 result = (int)(arg1)->GetZoomControl();
19551
19552 wxPyEndAllowThreads(__tstate);
19553 if (PyErr_Occurred()) SWIG_fail;
19554 }
19555 resultobj = PyInt_FromLong((long)result);
19556 return resultobj;
19557 fail:
19558 return NULL;
19559 }
19560
19561
19562 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19563 PyObject *resultobj;
19564 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19565 int arg2 ;
19566 PyObject * obj0 = 0 ;
19567 char *kwnames[] = {
19568 (char *) "self",(char *) "zoom", NULL
19569 };
19570
19571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PreviewControlBar_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
19572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19573 {
19574 PyThreadState* __tstate = wxPyBeginAllowThreads();
19575 (arg1)->SetZoomControl(arg2);
19576
19577 wxPyEndAllowThreads(__tstate);
19578 if (PyErr_Occurred()) SWIG_fail;
19579 }
19580 Py_INCREF(Py_None); resultobj = Py_None;
19581 return resultobj;
19582 fail:
19583 return NULL;
19584 }
19585
19586
19587 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19588 PyObject *resultobj;
19589 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19590 wxPrintPreview *result;
19591 PyObject * obj0 = 0 ;
19592 char *kwnames[] = {
19593 (char *) "self", NULL
19594 };
19595
19596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
19597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19598 {
19599 PyThreadState* __tstate = wxPyBeginAllowThreads();
19600 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
19601
19602 wxPyEndAllowThreads(__tstate);
19603 if (PyErr_Occurred()) SWIG_fail;
19604 }
19605 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 0);
19606 return resultobj;
19607 fail:
19608 return NULL;
19609 }
19610
19611
19612 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
19613 PyObject *resultobj;
19614 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19615 PyObject * obj0 = 0 ;
19616 char *kwnames[] = {
19617 (char *) "self", NULL
19618 };
19619
19620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
19621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19622 {
19623 PyThreadState* __tstate = wxPyBeginAllowThreads();
19624 (arg1)->OnNext();
19625
19626 wxPyEndAllowThreads(__tstate);
19627 if (PyErr_Occurred()) SWIG_fail;
19628 }
19629 Py_INCREF(Py_None); resultobj = Py_None;
19630 return resultobj;
19631 fail:
19632 return NULL;
19633 }
19634
19635
19636 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
19637 PyObject *resultobj;
19638 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19639 PyObject * obj0 = 0 ;
19640 char *kwnames[] = {
19641 (char *) "self", NULL
19642 };
19643
19644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
19645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19646 {
19647 PyThreadState* __tstate = wxPyBeginAllowThreads();
19648 (arg1)->OnPrevious();
19649
19650 wxPyEndAllowThreads(__tstate);
19651 if (PyErr_Occurred()) SWIG_fail;
19652 }
19653 Py_INCREF(Py_None); resultobj = Py_None;
19654 return resultobj;
19655 fail:
19656 return NULL;
19657 }
19658
19659
19660 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
19661 PyObject *resultobj;
19662 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19663 PyObject * obj0 = 0 ;
19664 char *kwnames[] = {
19665 (char *) "self", NULL
19666 };
19667
19668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
19669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19670 {
19671 PyThreadState* __tstate = wxPyBeginAllowThreads();
19672 (arg1)->OnFirst();
19673
19674 wxPyEndAllowThreads(__tstate);
19675 if (PyErr_Occurred()) SWIG_fail;
19676 }
19677 Py_INCREF(Py_None); resultobj = Py_None;
19678 return resultobj;
19679 fail:
19680 return NULL;
19681 }
19682
19683
19684 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
19685 PyObject *resultobj;
19686 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19687 PyObject * obj0 = 0 ;
19688 char *kwnames[] = {
19689 (char *) "self", NULL
19690 };
19691
19692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
19693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19694 {
19695 PyThreadState* __tstate = wxPyBeginAllowThreads();
19696 (arg1)->OnLast();
19697
19698 wxPyEndAllowThreads(__tstate);
19699 if (PyErr_Occurred()) SWIG_fail;
19700 }
19701 Py_INCREF(Py_None); resultobj = Py_None;
19702 return resultobj;
19703 fail:
19704 return NULL;
19705 }
19706
19707
19708 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
19709 PyObject *resultobj;
19710 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19711 PyObject * obj0 = 0 ;
19712 char *kwnames[] = {
19713 (char *) "self", NULL
19714 };
19715
19716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
19717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19718 {
19719 PyThreadState* __tstate = wxPyBeginAllowThreads();
19720 (arg1)->OnGoto();
19721
19722 wxPyEndAllowThreads(__tstate);
19723 if (PyErr_Occurred()) SWIG_fail;
19724 }
19725 Py_INCREF(Py_None); resultobj = Py_None;
19726 return resultobj;
19727 fail:
19728 return NULL;
19729 }
19730
19731
19732 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
19733 PyObject *obj;
19734 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19735 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
19736 Py_INCREF(obj);
19737 return Py_BuildValue((char *)"");
19738 }
19739 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19740 PyObject *resultobj;
19741 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19742 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19743 wxPrintData *arg3 = (wxPrintData *) NULL ;
19744 wxPrintPreview *result;
19745 PyObject * obj0 = 0 ;
19746 PyObject * obj1 = 0 ;
19747 PyObject * obj2 = 0 ;
19748 char *kwnames[] = {
19749 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19750 };
19751
19752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
19753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19754 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19755 if (obj2) {
19756 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19757 }
19758 {
19759 PyThreadState* __tstate = wxPyBeginAllowThreads();
19760 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
19761
19762 wxPyEndAllowThreads(__tstate);
19763 if (PyErr_Occurred()) SWIG_fail;
19764 }
19765 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 1);
19766 return resultobj;
19767 fail:
19768 return NULL;
19769 }
19770
19771
19772 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19773 PyObject *resultobj;
19774 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19775 int arg2 ;
19776 bool result;
19777 PyObject * obj0 = 0 ;
19778 char *kwnames[] = {
19779 (char *) "self",(char *) "pageNum", NULL
19780 };
19781
19782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
19783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19784 {
19785 PyThreadState* __tstate = wxPyBeginAllowThreads();
19786 result = (bool)(arg1)->SetCurrentPage(arg2);
19787
19788 wxPyEndAllowThreads(__tstate);
19789 if (PyErr_Occurred()) SWIG_fail;
19790 }
19791 resultobj = PyInt_FromLong((long)result);
19792 return resultobj;
19793 fail:
19794 return NULL;
19795 }
19796
19797
19798 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19799 PyObject *resultobj;
19800 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19801 int result;
19802 PyObject * obj0 = 0 ;
19803 char *kwnames[] = {
19804 (char *) "self", NULL
19805 };
19806
19807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
19808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19809 {
19810 PyThreadState* __tstate = wxPyBeginAllowThreads();
19811 result = (int)(arg1)->GetCurrentPage();
19812
19813 wxPyEndAllowThreads(__tstate);
19814 if (PyErr_Occurred()) SWIG_fail;
19815 }
19816 resultobj = PyInt_FromLong((long)result);
19817 return resultobj;
19818 fail:
19819 return NULL;
19820 }
19821
19822
19823 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19824 PyObject *resultobj;
19825 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19826 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19827 PyObject * obj0 = 0 ;
19828 PyObject * obj1 = 0 ;
19829 char *kwnames[] = {
19830 (char *) "self",(char *) "printout", NULL
19831 };
19832
19833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
19834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19835 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19836 {
19837 PyThreadState* __tstate = wxPyBeginAllowThreads();
19838 (arg1)->SetPrintout(arg2);
19839
19840 wxPyEndAllowThreads(__tstate);
19841 if (PyErr_Occurred()) SWIG_fail;
19842 }
19843 Py_INCREF(Py_None); resultobj = Py_None;
19844 return resultobj;
19845 fail:
19846 return NULL;
19847 }
19848
19849
19850 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19851 PyObject *resultobj;
19852 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19853 wxPyPrintout *result;
19854 PyObject * obj0 = 0 ;
19855 char *kwnames[] = {
19856 (char *) "self", NULL
19857 };
19858
19859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
19860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19861 {
19862 PyThreadState* __tstate = wxPyBeginAllowThreads();
19863 result = (wxPyPrintout *)(arg1)->GetPrintout();
19864
19865 wxPyEndAllowThreads(__tstate);
19866 if (PyErr_Occurred()) SWIG_fail;
19867 }
19868 {
19869 resultobj = wxPyMake_wxObject(result);
19870 }
19871 return resultobj;
19872 fail:
19873 return NULL;
19874 }
19875
19876
19877 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
19878 PyObject *resultobj;
19879 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19880 wxPyPrintout *result;
19881 PyObject * obj0 = 0 ;
19882 char *kwnames[] = {
19883 (char *) "self", NULL
19884 };
19885
19886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
19887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19888 {
19889 PyThreadState* __tstate = wxPyBeginAllowThreads();
19890 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
19891
19892 wxPyEndAllowThreads(__tstate);
19893 if (PyErr_Occurred()) SWIG_fail;
19894 }
19895 {
19896 resultobj = wxPyMake_wxObject(result);
19897 }
19898 return resultobj;
19899 fail:
19900 return NULL;
19901 }
19902
19903
19904 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19905 PyObject *resultobj;
19906 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19907 wxFrame *arg2 = (wxFrame *) 0 ;
19908 PyObject * obj0 = 0 ;
19909 PyObject * obj1 = 0 ;
19910 char *kwnames[] = {
19911 (char *) "self",(char *) "frame", NULL
19912 };
19913
19914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
19915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19916 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19917 {
19918 PyThreadState* __tstate = wxPyBeginAllowThreads();
19919 (arg1)->SetFrame(arg2);
19920
19921 wxPyEndAllowThreads(__tstate);
19922 if (PyErr_Occurred()) SWIG_fail;
19923 }
19924 Py_INCREF(Py_None); resultobj = Py_None;
19925 return resultobj;
19926 fail:
19927 return NULL;
19928 }
19929
19930
19931 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19932 PyObject *resultobj;
19933 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19934 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19935 PyObject * obj0 = 0 ;
19936 PyObject * obj1 = 0 ;
19937 char *kwnames[] = {
19938 (char *) "self",(char *) "canvas", NULL
19939 };
19940
19941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
19942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19943 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19944 {
19945 PyThreadState* __tstate = wxPyBeginAllowThreads();
19946 (arg1)->SetCanvas(arg2);
19947
19948 wxPyEndAllowThreads(__tstate);
19949 if (PyErr_Occurred()) SWIG_fail;
19950 }
19951 Py_INCREF(Py_None); resultobj = Py_None;
19952 return resultobj;
19953 fail:
19954 return NULL;
19955 }
19956
19957
19958 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19959 PyObject *resultobj;
19960 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19961 wxFrame *result;
19962 PyObject * obj0 = 0 ;
19963 char *kwnames[] = {
19964 (char *) "self", NULL
19965 };
19966
19967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
19968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19969 {
19970 PyThreadState* __tstate = wxPyBeginAllowThreads();
19971 result = (wxFrame *)(arg1)->GetFrame();
19972
19973 wxPyEndAllowThreads(__tstate);
19974 if (PyErr_Occurred()) SWIG_fail;
19975 }
19976 {
19977 resultobj = wxPyMake_wxObject(result);
19978 }
19979 return resultobj;
19980 fail:
19981 return NULL;
19982 }
19983
19984
19985 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19986 PyObject *resultobj;
19987 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19988 wxPreviewCanvas *result;
19989 PyObject * obj0 = 0 ;
19990 char *kwnames[] = {
19991 (char *) "self", NULL
19992 };
19993
19994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
19995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19996 {
19997 PyThreadState* __tstate = wxPyBeginAllowThreads();
19998 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
19999
20000 wxPyEndAllowThreads(__tstate);
20001 if (PyErr_Occurred()) SWIG_fail;
20002 }
20003 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 0);
20004 return resultobj;
20005 fail:
20006 return NULL;
20007 }
20008
20009
20010 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20011 PyObject *resultobj;
20012 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20013 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20014 wxDC *arg3 = 0 ;
20015 bool result;
20016 PyObject * obj0 = 0 ;
20017 PyObject * obj1 = 0 ;
20018 PyObject * obj2 = 0 ;
20019 char *kwnames[] = {
20020 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20021 };
20022
20023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20025 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20026 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20027 if (arg3 == NULL) {
20028 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20029 }
20030 {
20031 PyThreadState* __tstate = wxPyBeginAllowThreads();
20032 result = (bool)(arg1)->PaintPage(arg2,*arg3);
20033
20034 wxPyEndAllowThreads(__tstate);
20035 if (PyErr_Occurred()) SWIG_fail;
20036 }
20037 resultobj = PyInt_FromLong((long)result);
20038 return resultobj;
20039 fail:
20040 return NULL;
20041 }
20042
20043
20044 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20045 PyObject *resultobj;
20046 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20047 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20048 wxDC *arg3 = 0 ;
20049 bool result;
20050 PyObject * obj0 = 0 ;
20051 PyObject * obj1 = 0 ;
20052 PyObject * obj2 = 0 ;
20053 char *kwnames[] = {
20054 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20055 };
20056
20057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20059 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20060 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20061 if (arg3 == NULL) {
20062 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20063 }
20064 {
20065 PyThreadState* __tstate = wxPyBeginAllowThreads();
20066 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
20067
20068 wxPyEndAllowThreads(__tstate);
20069 if (PyErr_Occurred()) SWIG_fail;
20070 }
20071 resultobj = PyInt_FromLong((long)result);
20072 return resultobj;
20073 fail:
20074 return NULL;
20075 }
20076
20077
20078 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20079 PyObject *resultobj;
20080 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20081 int arg2 ;
20082 bool result;
20083 PyObject * obj0 = 0 ;
20084 char *kwnames[] = {
20085 (char *) "self",(char *) "pageNum", NULL
20086 };
20087
20088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_RenderPage",kwnames,&obj0,&arg2)) goto fail;
20089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20090 {
20091 PyThreadState* __tstate = wxPyBeginAllowThreads();
20092 result = (bool)(arg1)->RenderPage(arg2);
20093
20094 wxPyEndAllowThreads(__tstate);
20095 if (PyErr_Occurred()) SWIG_fail;
20096 }
20097 resultobj = PyInt_FromLong((long)result);
20098 return resultobj;
20099 fail:
20100 return NULL;
20101 }
20102
20103
20104 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
20105 PyObject *resultobj;
20106 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20107 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20108 PyObject * obj0 = 0 ;
20109 PyObject * obj1 = 0 ;
20110 char *kwnames[] = {
20111 (char *) "self",(char *) "canvas", NULL
20112 };
20113
20114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
20115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20116 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20117 {
20118 PyThreadState* __tstate = wxPyBeginAllowThreads();
20119 (arg1)->AdjustScrollbars(arg2);
20120
20121 wxPyEndAllowThreads(__tstate);
20122 if (PyErr_Occurred()) SWIG_fail;
20123 }
20124 Py_INCREF(Py_None); resultobj = Py_None;
20125 return resultobj;
20126 fail:
20127 return NULL;
20128 }
20129
20130
20131 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20132 PyObject *resultobj;
20133 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20134 wxPrintDialogData *result;
20135 PyObject * obj0 = 0 ;
20136 char *kwnames[] = {
20137 (char *) "self", NULL
20138 };
20139
20140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
20141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20142 {
20143 PyThreadState* __tstate = wxPyBeginAllowThreads();
20144 {
20145 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
20146 result = (wxPrintDialogData *) &_result_ref;
20147 }
20148
20149 wxPyEndAllowThreads(__tstate);
20150 if (PyErr_Occurred()) SWIG_fail;
20151 }
20152 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
20153 return resultobj;
20154 fail:
20155 return NULL;
20156 }
20157
20158
20159 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20160 PyObject *resultobj;
20161 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20162 int arg2 ;
20163 PyObject * obj0 = 0 ;
20164 char *kwnames[] = {
20165 (char *) "self",(char *) "percent", NULL
20166 };
20167
20168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetZoom",kwnames,&obj0,&arg2)) goto fail;
20169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20170 {
20171 PyThreadState* __tstate = wxPyBeginAllowThreads();
20172 (arg1)->SetZoom(arg2);
20173
20174 wxPyEndAllowThreads(__tstate);
20175 if (PyErr_Occurred()) SWIG_fail;
20176 }
20177 Py_INCREF(Py_None); resultobj = Py_None;
20178 return resultobj;
20179 fail:
20180 return NULL;
20181 }
20182
20183
20184 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20185 PyObject *resultobj;
20186 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20187 int result;
20188 PyObject * obj0 = 0 ;
20189 char *kwnames[] = {
20190 (char *) "self", NULL
20191 };
20192
20193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
20194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20195 {
20196 PyThreadState* __tstate = wxPyBeginAllowThreads();
20197 result = (int)(arg1)->GetZoom();
20198
20199 wxPyEndAllowThreads(__tstate);
20200 if (PyErr_Occurred()) SWIG_fail;
20201 }
20202 resultobj = PyInt_FromLong((long)result);
20203 return resultobj;
20204 fail:
20205 return NULL;
20206 }
20207
20208
20209 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20210 PyObject *resultobj;
20211 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20212 int result;
20213 PyObject * obj0 = 0 ;
20214 char *kwnames[] = {
20215 (char *) "self", NULL
20216 };
20217
20218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
20219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20220 {
20221 PyThreadState* __tstate = wxPyBeginAllowThreads();
20222 result = (int)(arg1)->GetMaxPage();
20223
20224 wxPyEndAllowThreads(__tstate);
20225 if (PyErr_Occurred()) SWIG_fail;
20226 }
20227 resultobj = PyInt_FromLong((long)result);
20228 return resultobj;
20229 fail:
20230 return NULL;
20231 }
20232
20233
20234 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20235 PyObject *resultobj;
20236 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20237 int result;
20238 PyObject * obj0 = 0 ;
20239 char *kwnames[] = {
20240 (char *) "self", NULL
20241 };
20242
20243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
20244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20245 {
20246 PyThreadState* __tstate = wxPyBeginAllowThreads();
20247 result = (int)(arg1)->GetMinPage();
20248
20249 wxPyEndAllowThreads(__tstate);
20250 if (PyErr_Occurred()) SWIG_fail;
20251 }
20252 resultobj = PyInt_FromLong((long)result);
20253 return resultobj;
20254 fail:
20255 return NULL;
20256 }
20257
20258
20259 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
20260 PyObject *resultobj;
20261 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20262 bool result;
20263 PyObject * obj0 = 0 ;
20264 char *kwnames[] = {
20265 (char *) "self", NULL
20266 };
20267
20268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
20269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20270 {
20271 PyThreadState* __tstate = wxPyBeginAllowThreads();
20272 result = (bool)(arg1)->Ok();
20273
20274 wxPyEndAllowThreads(__tstate);
20275 if (PyErr_Occurred()) SWIG_fail;
20276 }
20277 resultobj = PyInt_FromLong((long)result);
20278 return resultobj;
20279 fail:
20280 return NULL;
20281 }
20282
20283
20284 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
20285 PyObject *resultobj;
20286 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20287 bool arg2 ;
20288 PyObject * obj0 = 0 ;
20289 PyObject * obj1 = 0 ;
20290 char *kwnames[] = {
20291 (char *) "self",(char *) "ok", NULL
20292 };
20293
20294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
20295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20296 arg2 = PyInt_AsLong(obj1) ? true : false;
20297 if (PyErr_Occurred()) SWIG_fail;
20298 {
20299 PyThreadState* __tstate = wxPyBeginAllowThreads();
20300 (arg1)->SetOk(arg2);
20301
20302 wxPyEndAllowThreads(__tstate);
20303 if (PyErr_Occurred()) SWIG_fail;
20304 }
20305 Py_INCREF(Py_None); resultobj = Py_None;
20306 return resultobj;
20307 fail:
20308 return NULL;
20309 }
20310
20311
20312 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
20313 PyObject *resultobj;
20314 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20315 bool arg2 ;
20316 bool result;
20317 PyObject * obj0 = 0 ;
20318 PyObject * obj1 = 0 ;
20319 char *kwnames[] = {
20320 (char *) "self",(char *) "interactive", NULL
20321 };
20322
20323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
20324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20325 arg2 = PyInt_AsLong(obj1) ? true : false;
20326 if (PyErr_Occurred()) SWIG_fail;
20327 {
20328 PyThreadState* __tstate = wxPyBeginAllowThreads();
20329 result = (bool)(arg1)->Print(arg2);
20330
20331 wxPyEndAllowThreads(__tstate);
20332 if (PyErr_Occurred()) SWIG_fail;
20333 }
20334 resultobj = PyInt_FromLong((long)result);
20335 return resultobj;
20336 fail:
20337 return NULL;
20338 }
20339
20340
20341 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
20342 PyObject *resultobj;
20343 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20344 PyObject * obj0 = 0 ;
20345 char *kwnames[] = {
20346 (char *) "self", NULL
20347 };
20348
20349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
20350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20351 {
20352 PyThreadState* __tstate = wxPyBeginAllowThreads();
20353 (arg1)->DetermineScaling();
20354
20355 wxPyEndAllowThreads(__tstate);
20356 if (PyErr_Occurred()) SWIG_fail;
20357 }
20358 Py_INCREF(Py_None); resultobj = Py_None;
20359 return resultobj;
20360 fail:
20361 return NULL;
20362 }
20363
20364
20365 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
20366 PyObject *obj;
20367 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20368 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
20369 Py_INCREF(obj);
20370 return Py_BuildValue((char *)"");
20371 }
20372 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20373 PyObject *resultobj;
20374 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20375 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
20376 wxPrintData *arg3 = (wxPrintData *) NULL ;
20377 wxPyPrintPreview *result;
20378 PyObject * obj0 = 0 ;
20379 PyObject * obj1 = 0 ;
20380 PyObject * obj2 = 0 ;
20381 char *kwnames[] = {
20382 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
20383 };
20384
20385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PyPrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
20386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20387 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20388 if (obj2) {
20389 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20390 }
20391 {
20392 PyThreadState* __tstate = wxPyBeginAllowThreads();
20393 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
20394
20395 wxPyEndAllowThreads(__tstate);
20396 if (PyErr_Occurred()) SWIG_fail;
20397 }
20398 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPrintPreview, 1);
20399 return resultobj;
20400 fail:
20401 return NULL;
20402 }
20403
20404
20405 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20406 PyObject *resultobj;
20407 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20408 PyObject *arg2 = (PyObject *) 0 ;
20409 PyObject *arg3 = (PyObject *) 0 ;
20410 PyObject * obj0 = 0 ;
20411 PyObject * obj1 = 0 ;
20412 PyObject * obj2 = 0 ;
20413 char *kwnames[] = {
20414 (char *) "self",(char *) "self",(char *) "_class", NULL
20415 };
20416
20417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20419 arg2 = obj1;
20420 arg3 = obj2;
20421 {
20422 PyThreadState* __tstate = wxPyBeginAllowThreads();
20423 (arg1)->_setCallbackInfo(arg2,arg3);
20424
20425 wxPyEndAllowThreads(__tstate);
20426 if (PyErr_Occurred()) SWIG_fail;
20427 }
20428 Py_INCREF(Py_None); resultobj = Py_None;
20429 return resultobj;
20430 fail:
20431 return NULL;
20432 }
20433
20434
20435 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20436 PyObject *resultobj;
20437 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20438 int arg2 ;
20439 bool result;
20440 PyObject * obj0 = 0 ;
20441 char *kwnames[] = {
20442 (char *) "self",(char *) "pageNum", NULL
20443 };
20444
20445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
20446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20447 {
20448 PyThreadState* __tstate = wxPyBeginAllowThreads();
20449 result = (bool)(arg1)->base_SetCurrentPage(arg2);
20450
20451 wxPyEndAllowThreads(__tstate);
20452 if (PyErr_Occurred()) SWIG_fail;
20453 }
20454 resultobj = PyInt_FromLong((long)result);
20455 return resultobj;
20456 fail:
20457 return NULL;
20458 }
20459
20460
20461 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20462 PyObject *resultobj;
20463 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20464 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20465 wxDC *arg3 = 0 ;
20466 bool result;
20467 PyObject * obj0 = 0 ;
20468 PyObject * obj1 = 0 ;
20469 PyObject * obj2 = 0 ;
20470 char *kwnames[] = {
20471 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20472 };
20473
20474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20476 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20477 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20478 if (arg3 == NULL) {
20479 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20480 }
20481 {
20482 PyThreadState* __tstate = wxPyBeginAllowThreads();
20483 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
20484
20485 wxPyEndAllowThreads(__tstate);
20486 if (PyErr_Occurred()) SWIG_fail;
20487 }
20488 resultobj = PyInt_FromLong((long)result);
20489 return resultobj;
20490 fail:
20491 return NULL;
20492 }
20493
20494
20495 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20496 PyObject *resultobj;
20497 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20498 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20499 wxDC *arg3 = 0 ;
20500 bool result;
20501 PyObject * obj0 = 0 ;
20502 PyObject * obj1 = 0 ;
20503 PyObject * obj2 = 0 ;
20504 char *kwnames[] = {
20505 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20506 };
20507
20508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20510 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20511 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20512 if (arg3 == NULL) {
20513 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20514 }
20515 {
20516 PyThreadState* __tstate = wxPyBeginAllowThreads();
20517 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
20518
20519 wxPyEndAllowThreads(__tstate);
20520 if (PyErr_Occurred()) SWIG_fail;
20521 }
20522 resultobj = PyInt_FromLong((long)result);
20523 return resultobj;
20524 fail:
20525 return NULL;
20526 }
20527
20528
20529 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20530 PyObject *resultobj;
20531 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20532 int arg2 ;
20533 bool result;
20534 PyObject * obj0 = 0 ;
20535 char *kwnames[] = {
20536 (char *) "self",(char *) "pageNum", NULL
20537 };
20538
20539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_RenderPage",kwnames,&obj0,&arg2)) goto fail;
20540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20541 {
20542 PyThreadState* __tstate = wxPyBeginAllowThreads();
20543 result = (bool)(arg1)->base_RenderPage(arg2);
20544
20545 wxPyEndAllowThreads(__tstate);
20546 if (PyErr_Occurred()) SWIG_fail;
20547 }
20548 resultobj = PyInt_FromLong((long)result);
20549 return resultobj;
20550 fail:
20551 return NULL;
20552 }
20553
20554
20555 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20556 PyObject *resultobj;
20557 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20558 int arg2 ;
20559 PyObject * obj0 = 0 ;
20560 char *kwnames[] = {
20561 (char *) "self",(char *) "percent", NULL
20562 };
20563
20564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetZoom",kwnames,&obj0,&arg2)) goto fail;
20565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20566 {
20567 PyThreadState* __tstate = wxPyBeginAllowThreads();
20568 (arg1)->base_SetZoom(arg2);
20569
20570 wxPyEndAllowThreads(__tstate);
20571 if (PyErr_Occurred()) SWIG_fail;
20572 }
20573 Py_INCREF(Py_None); resultobj = Py_None;
20574 return resultobj;
20575 fail:
20576 return NULL;
20577 }
20578
20579
20580 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
20581 PyObject *resultobj;
20582 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20583 bool arg2 ;
20584 bool result;
20585 PyObject * obj0 = 0 ;
20586 PyObject * obj1 = 0 ;
20587 char *kwnames[] = {
20588 (char *) "self",(char *) "interactive", NULL
20589 };
20590
20591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
20592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20593 arg2 = PyInt_AsLong(obj1) ? true : false;
20594 if (PyErr_Occurred()) SWIG_fail;
20595 {
20596 PyThreadState* __tstate = wxPyBeginAllowThreads();
20597 result = (bool)(arg1)->base_Print(arg2);
20598
20599 wxPyEndAllowThreads(__tstate);
20600 if (PyErr_Occurred()) SWIG_fail;
20601 }
20602 resultobj = PyInt_FromLong((long)result);
20603 return resultobj;
20604 fail:
20605 return NULL;
20606 }
20607
20608
20609 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
20610 PyObject *resultobj;
20611 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20612 PyObject * obj0 = 0 ;
20613 char *kwnames[] = {
20614 (char *) "self", NULL
20615 };
20616
20617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
20618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20619 {
20620 PyThreadState* __tstate = wxPyBeginAllowThreads();
20621 (arg1)->base_DetermineScaling();
20622
20623 wxPyEndAllowThreads(__tstate);
20624 if (PyErr_Occurred()) SWIG_fail;
20625 }
20626 Py_INCREF(Py_None); resultobj = Py_None;
20627 return resultobj;
20628 fail:
20629 return NULL;
20630 }
20631
20632
20633 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
20634 PyObject *obj;
20635 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20636 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
20637 Py_INCREF(obj);
20638 return Py_BuildValue((char *)"");
20639 }
20640 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
20641 PyObject *resultobj;
20642 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20643 wxFrame *arg2 = (wxFrame *) 0 ;
20644 wxString *arg3 = 0 ;
20645 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20646 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20647 wxSize const &arg5_defvalue = wxDefaultSize ;
20648 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20649 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20650 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20651 wxString *arg7 = (wxString *) &arg7_defvalue ;
20652 wxPyPreviewFrame *result;
20653 bool temp3 = False ;
20654 wxPoint temp4 ;
20655 wxSize temp5 ;
20656 bool temp7 = False ;
20657 PyObject * obj0 = 0 ;
20658 PyObject * obj1 = 0 ;
20659 PyObject * obj2 = 0 ;
20660 PyObject * obj3 = 0 ;
20661 PyObject * obj4 = 0 ;
20662 PyObject * obj6 = 0 ;
20663 char *kwnames[] = {
20664 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20665 };
20666
20667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20669 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20670 {
20671 arg3 = wxString_in_helper(obj2);
20672 if (arg3 == NULL) SWIG_fail;
20673 temp3 = True;
20674 }
20675 if (obj3) {
20676 {
20677 arg4 = &temp4;
20678 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20679 }
20680 }
20681 if (obj4) {
20682 {
20683 arg5 = &temp5;
20684 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20685 }
20686 }
20687 if (obj6) {
20688 {
20689 arg7 = wxString_in_helper(obj6);
20690 if (arg7 == NULL) SWIG_fail;
20691 temp7 = True;
20692 }
20693 }
20694 {
20695 PyThreadState* __tstate = wxPyBeginAllowThreads();
20696 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20697
20698 wxPyEndAllowThreads(__tstate);
20699 if (PyErr_Occurred()) SWIG_fail;
20700 }
20701 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewFrame, 1);
20702 {
20703 if (temp3)
20704 delete arg3;
20705 }
20706 {
20707 if (temp7)
20708 delete arg7;
20709 }
20710 return resultobj;
20711 fail:
20712 {
20713 if (temp3)
20714 delete arg3;
20715 }
20716 {
20717 if (temp7)
20718 delete arg7;
20719 }
20720 return NULL;
20721 }
20722
20723
20724 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20725 PyObject *resultobj;
20726 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20727 PyObject *arg2 = (PyObject *) 0 ;
20728 PyObject *arg3 = (PyObject *) 0 ;
20729 PyObject * obj0 = 0 ;
20730 PyObject * obj1 = 0 ;
20731 PyObject * obj2 = 0 ;
20732 char *kwnames[] = {
20733 (char *) "self",(char *) "self",(char *) "_class", NULL
20734 };
20735
20736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20738 arg2 = obj1;
20739 arg3 = obj2;
20740 {
20741 PyThreadState* __tstate = wxPyBeginAllowThreads();
20742 (arg1)->_setCallbackInfo(arg2,arg3);
20743
20744 wxPyEndAllowThreads(__tstate);
20745 if (PyErr_Occurred()) SWIG_fail;
20746 }
20747 Py_INCREF(Py_None); resultobj = Py_None;
20748 return resultobj;
20749 fail:
20750 return NULL;
20751 }
20752
20753
20754 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20755 PyObject *resultobj;
20756 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20757 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20758 PyObject * obj0 = 0 ;
20759 PyObject * obj1 = 0 ;
20760 char *kwnames[] = {
20761 (char *) "self",(char *) "canvas", NULL
20762 };
20763
20764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
20765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20766 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20767 {
20768 PyThreadState* __tstate = wxPyBeginAllowThreads();
20769 (arg1)->SetPreviewCanvas(arg2);
20770
20771 wxPyEndAllowThreads(__tstate);
20772 if (PyErr_Occurred()) SWIG_fail;
20773 }
20774 Py_INCREF(Py_None); resultobj = Py_None;
20775 return resultobj;
20776 fail:
20777 return NULL;
20778 }
20779
20780
20781 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20782 PyObject *resultobj;
20783 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20784 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
20785 PyObject * obj0 = 0 ;
20786 PyObject * obj1 = 0 ;
20787 char *kwnames[] = {
20788 (char *) "self",(char *) "bar", NULL
20789 };
20790
20791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
20792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20793 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20794 {
20795 PyThreadState* __tstate = wxPyBeginAllowThreads();
20796 (arg1)->SetControlBar(arg2);
20797
20798 wxPyEndAllowThreads(__tstate);
20799 if (PyErr_Occurred()) SWIG_fail;
20800 }
20801 Py_INCREF(Py_None); resultobj = Py_None;
20802 return resultobj;
20803 fail:
20804 return NULL;
20805 }
20806
20807
20808 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
20809 PyObject *resultobj;
20810 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20811 PyObject * obj0 = 0 ;
20812 char *kwnames[] = {
20813 (char *) "self", NULL
20814 };
20815
20816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
20817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20818 {
20819 PyThreadState* __tstate = wxPyBeginAllowThreads();
20820 (arg1)->base_Initialize();
20821
20822 wxPyEndAllowThreads(__tstate);
20823 if (PyErr_Occurred()) SWIG_fail;
20824 }
20825 Py_INCREF(Py_None); resultobj = Py_None;
20826 return resultobj;
20827 fail:
20828 return NULL;
20829 }
20830
20831
20832 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20833 PyObject *resultobj;
20834 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20835 PyObject * obj0 = 0 ;
20836 char *kwnames[] = {
20837 (char *) "self", NULL
20838 };
20839
20840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
20841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20842 {
20843 PyThreadState* __tstate = wxPyBeginAllowThreads();
20844 (arg1)->base_CreateCanvas();
20845
20846 wxPyEndAllowThreads(__tstate);
20847 if (PyErr_Occurred()) SWIG_fail;
20848 }
20849 Py_INCREF(Py_None); resultobj = Py_None;
20850 return resultobj;
20851 fail:
20852 return NULL;
20853 }
20854
20855
20856 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20857 PyObject *resultobj;
20858 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20859 PyObject * obj0 = 0 ;
20860 char *kwnames[] = {
20861 (char *) "self", NULL
20862 };
20863
20864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
20865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20866 {
20867 PyThreadState* __tstate = wxPyBeginAllowThreads();
20868 (arg1)->base_CreateControlBar();
20869
20870 wxPyEndAllowThreads(__tstate);
20871 if (PyErr_Occurred()) SWIG_fail;
20872 }
20873 Py_INCREF(Py_None); resultobj = Py_None;
20874 return resultobj;
20875 fail:
20876 return NULL;
20877 }
20878
20879
20880 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
20881 PyObject *obj;
20882 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20883 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
20884 Py_INCREF(obj);
20885 return Py_BuildValue((char *)"");
20886 }
20887 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20888 PyObject *resultobj;
20889 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20890 long arg2 ;
20891 wxWindow *arg3 = (wxWindow *) 0 ;
20892 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20893 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20894 wxSize const &arg5_defvalue = wxDefaultSize ;
20895 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20896 long arg6 = (long) 0 ;
20897 wxString const &arg7_defvalue = wxPyPanelNameStr ;
20898 wxString *arg7 = (wxString *) &arg7_defvalue ;
20899 wxPyPreviewControlBar *result;
20900 wxPoint temp4 ;
20901 wxSize temp5 ;
20902 bool temp7 = False ;
20903 PyObject * obj0 = 0 ;
20904 PyObject * obj2 = 0 ;
20905 PyObject * obj3 = 0 ;
20906 PyObject * obj4 = 0 ;
20907 PyObject * obj6 = 0 ;
20908 char *kwnames[] = {
20909 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20910 };
20911
20912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PyPreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20914 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20915 if (obj3) {
20916 {
20917 arg4 = &temp4;
20918 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20919 }
20920 }
20921 if (obj4) {
20922 {
20923 arg5 = &temp5;
20924 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20925 }
20926 }
20927 if (obj6) {
20928 {
20929 arg7 = wxString_in_helper(obj6);
20930 if (arg7 == NULL) SWIG_fail;
20931 temp7 = True;
20932 }
20933 }
20934 {
20935 PyThreadState* __tstate = wxPyBeginAllowThreads();
20936 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20937
20938 wxPyEndAllowThreads(__tstate);
20939 if (PyErr_Occurred()) SWIG_fail;
20940 }
20941 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewControlBar, 1);
20942 {
20943 if (temp7)
20944 delete arg7;
20945 }
20946 return resultobj;
20947 fail:
20948 {
20949 if (temp7)
20950 delete arg7;
20951 }
20952 return NULL;
20953 }
20954
20955
20956 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20957 PyObject *resultobj;
20958 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20959 PyObject *arg2 = (PyObject *) 0 ;
20960 PyObject *arg3 = (PyObject *) 0 ;
20961 PyObject * obj0 = 0 ;
20962 PyObject * obj1 = 0 ;
20963 PyObject * obj2 = 0 ;
20964 char *kwnames[] = {
20965 (char *) "self",(char *) "self",(char *) "_class", NULL
20966 };
20967
20968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20970 arg2 = obj1;
20971 arg3 = obj2;
20972 {
20973 PyThreadState* __tstate = wxPyBeginAllowThreads();
20974 (arg1)->_setCallbackInfo(arg2,arg3);
20975
20976 wxPyEndAllowThreads(__tstate);
20977 if (PyErr_Occurred()) SWIG_fail;
20978 }
20979 Py_INCREF(Py_None); resultobj = Py_None;
20980 return resultobj;
20981 fail:
20982 return NULL;
20983 }
20984
20985
20986 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20987 PyObject *resultobj;
20988 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20989 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
20990 PyObject * obj0 = 0 ;
20991 PyObject * obj1 = 0 ;
20992 char *kwnames[] = {
20993 (char *) "self",(char *) "preview", NULL
20994 };
20995
20996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
20997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20998 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20999 {
21000 PyThreadState* __tstate = wxPyBeginAllowThreads();
21001 (arg1)->SetPrintPreview(arg2);
21002
21003 wxPyEndAllowThreads(__tstate);
21004 if (PyErr_Occurred()) SWIG_fail;
21005 }
21006 Py_INCREF(Py_None); resultobj = Py_None;
21007 return resultobj;
21008 fail:
21009 return NULL;
21010 }
21011
21012
21013 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
21014 PyObject *resultobj;
21015 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
21016 PyObject * obj0 = 0 ;
21017 char *kwnames[] = {
21018 (char *) "self", NULL
21019 };
21020
21021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
21022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21023 {
21024 PyThreadState* __tstate = wxPyBeginAllowThreads();
21025 (arg1)->base_CreateButtons();
21026
21027 wxPyEndAllowThreads(__tstate);
21028 if (PyErr_Occurred()) SWIG_fail;
21029 }
21030 Py_INCREF(Py_None); resultobj = Py_None;
21031 return resultobj;
21032 fail:
21033 return NULL;
21034 }
21035
21036
21037 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
21038 PyObject *resultobj;
21039 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
21040 int arg2 ;
21041 PyObject * obj0 = 0 ;
21042 char *kwnames[] = {
21043 (char *) "self",(char *) "zoom", NULL
21044 };
21045
21046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
21047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21048 {
21049 PyThreadState* __tstate = wxPyBeginAllowThreads();
21050 (arg1)->base_SetZoomControl(arg2);
21051
21052 wxPyEndAllowThreads(__tstate);
21053 if (PyErr_Occurred()) SWIG_fail;
21054 }
21055 Py_INCREF(Py_None); resultobj = Py_None;
21056 return resultobj;
21057 fail:
21058 return NULL;
21059 }
21060
21061
21062 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
21063 PyObject *obj;
21064 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21065 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
21066 Py_INCREF(obj);
21067 return Py_BuildValue((char *)"");
21068 }
21069 static PyMethodDef SwigMethods[] = {
21070 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
21071 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
21072 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
21073 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
21074 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
21075 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
21076 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
21077 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
21078 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
21079 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
21080 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
21081 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
21082 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
21083 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
21084 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
21085 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
21086 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
21087 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
21088 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
21089 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
21090 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
21091 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
21092 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
21093 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
21094 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
21095 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS },
21096 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS },
21097 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
21098 { (char *)"new_AcceleratorEntry", (PyCFunction) _wrap_new_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
21099 { (char *)"delete_AcceleratorEntry", (PyCFunction) _wrap_delete_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
21100 { (char *)"AcceleratorEntry_Set", (PyCFunction) _wrap_AcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS },
21101 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_SetMenuItem, METH_VARARGS | METH_KEYWORDS },
21102 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_GetMenuItem, METH_VARARGS | METH_KEYWORDS },
21103 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction) _wrap_AcceleratorEntry_GetFlags, METH_VARARGS | METH_KEYWORDS },
21104 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction) _wrap_AcceleratorEntry_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
21105 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction) _wrap_AcceleratorEntry_GetCommand, METH_VARARGS | METH_KEYWORDS },
21106 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister, METH_VARARGS },
21107 { (char *)"new_AcceleratorTable", (PyCFunction) _wrap_new_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
21108 { (char *)"delete_AcceleratorTable", (PyCFunction) _wrap_delete_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
21109 { (char *)"AcceleratorTable_Ok", (PyCFunction) _wrap_AcceleratorTable_Ok, METH_VARARGS | METH_KEYWORDS },
21110 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister, METH_VARARGS },
21111 { (char *)"GetAccelFromString", (PyCFunction) _wrap_GetAccelFromString, METH_VARARGS | METH_KEYWORDS },
21112 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
21113 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
21114 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
21115 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
21116 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
21117 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
21118 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
21119 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
21120 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
21121 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
21122 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
21123 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
21124 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
21125 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
21126 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
21127 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
21128 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
21129 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
21130 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
21131 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
21132 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
21133 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
21134 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
21135 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
21136 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
21137 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
21138 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
21139 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
21140 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
21141 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
21142 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
21143 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
21144 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
21145 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
21146 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
21147 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
21148 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
21149 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
21150 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
21151 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
21152 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
21153 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
21154 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
21155 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
21156 { (char *)"Dialog_SetModal", (PyCFunction) _wrap_Dialog_SetModal, METH_VARARGS | METH_KEYWORDS },
21157 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
21158 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21159 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
21160 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS },
21161 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
21162 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
21163 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
21164 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
21165 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
21166 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
21167 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
21168 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
21169 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
21170 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
21171 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
21172 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
21173 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
21174 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
21175 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
21176 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
21177 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
21178 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
21179 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
21180 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
21181 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
21182 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
21183 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
21184 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
21185 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
21186 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
21187 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
21188 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
21189 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
21190 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
21191 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
21192 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
21193 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
21194 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
21195 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
21196 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
21197 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
21198 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
21199 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
21200 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
21201 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
21202 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
21203 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
21204 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
21205 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
21206 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
21207 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
21208 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
21209 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
21210 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
21211 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
21212 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
21213 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
21214 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
21215 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
21216 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
21217 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
21218 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
21219 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
21220 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
21221 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
21222 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
21223 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
21224 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
21225 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
21226 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
21227 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
21228 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
21229 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
21230 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
21231 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
21232 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
21233 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
21234 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
21235 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
21236 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
21237 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
21238 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
21239 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
21240 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
21241 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
21242 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
21243 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
21244 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
21245 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
21246 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
21247 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
21248 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
21249 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
21250 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
21251 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
21252 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
21253 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
21254 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
21255 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
21256 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
21257 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21258 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21259 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
21260 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
21261 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21262 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21263 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
21264 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
21265 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
21266 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
21267 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21268 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21269 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
21270 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
21271 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
21272 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
21273 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
21274 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
21275 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
21276 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21277 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
21278 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
21279 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21280 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
21281 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
21282 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
21283 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
21284 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
21285 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
21286 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
21287 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
21288 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
21289 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
21290 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
21291 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
21292 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
21293 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
21294 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21295 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
21296 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
21297 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
21298 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
21299 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
21300 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
21301 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
21302 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
21303 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
21304 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21305 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
21306 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
21307 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
21308 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
21309 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
21310 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
21311 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
21312 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
21313 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
21314 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
21315 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
21316 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
21317 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
21318 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
21319 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
21320 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
21321 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
21322 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21323 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
21324 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
21325 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
21326 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
21327 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
21328 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
21329 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
21330 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
21331 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
21332 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
21333 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
21334 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
21335 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
21336 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
21337 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
21338 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
21339 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
21340 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
21341 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
21342 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
21343 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
21344 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
21345 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
21346 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
21347 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
21348 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21349 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
21350 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
21351 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
21352 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
21353 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
21354 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
21355 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS },
21356 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
21357 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
21358 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
21359 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
21360 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
21361 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
21362 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
21363 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
21364 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
21365 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
21366 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
21367 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
21368 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
21369 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
21370 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
21371 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
21372 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
21373 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
21374 { (char *)"ColourDialog_ShowModal", (PyCFunction) _wrap_ColourDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21375 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
21376 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
21377 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
21378 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
21379 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
21380 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
21381 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
21382 { (char *)"DirDialog_ShowModal", (PyCFunction) _wrap_DirDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21383 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
21384 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
21385 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
21386 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
21387 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
21388 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
21389 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
21390 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
21391 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
21392 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
21393 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
21394 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
21395 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
21396 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
21397 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
21398 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
21399 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
21400 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
21401 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
21402 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
21403 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
21404 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
21405 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
21406 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
21407 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
21408 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
21409 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
21410 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction) _wrap_SingleChoiceDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21411 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
21412 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
21413 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
21414 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
21415 { (char *)"TextEntryDialog_ShowModal", (PyCFunction) _wrap_TextEntryDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21416 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
21417 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
21418 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
21419 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
21420 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
21421 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
21422 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
21423 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
21424 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
21425 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
21426 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
21427 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
21428 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
21429 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
21430 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
21431 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
21432 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
21433 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
21434 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
21435 { (char *)"FontDialog_ShowModal", (PyCFunction) _wrap_FontDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21436 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
21437 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
21438 { (char *)"MessageDialog_ShowModal", (PyCFunction) _wrap_MessageDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21439 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
21440 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
21441 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
21442 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
21443 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
21444 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
21445 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21446 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
21447 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
21448 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
21449 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21450 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
21451 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
21452 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
21453 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
21454 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
21455 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
21456 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
21457 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
21458 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
21459 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
21460 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
21461 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
21462 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21463 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21464 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
21465 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
21466 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
21467 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
21468 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21469 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21470 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
21471 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
21472 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
21473 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
21474 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
21475 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
21476 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
21477 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
21478 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_GetWindowMenu, METH_VARARGS | METH_KEYWORDS },
21479 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS },
21480 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction) _wrap_MDIParentFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
21481 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
21482 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
21483 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21484 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21485 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
21486 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
21487 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
21488 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
21489 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
21490 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21491 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21492 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
21493 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
21494 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
21495 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21496 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21497 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21498 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21499 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21500 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21501 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21502 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21503 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21504 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21505 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21506 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21507 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21508 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
21509 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21510 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21511 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21512 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21513 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21514 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
21515 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
21516 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21517 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21518 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21519 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21520 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21521 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21522 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21523 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21524 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21525 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21526 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21527 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21528 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21529 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
21530 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21531 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21532 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21533 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21534 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21535 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
21536 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
21537 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
21538 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21539 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21540 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21541 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
21542 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
21543 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
21544 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
21545 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21546 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21547 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
21548 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21549 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21550 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21551 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
21552 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
21553 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
21554 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21555 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21556 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
21557 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21558 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21559 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21560 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
21561 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21562 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21563 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21564 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21565 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21566 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
21567 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21568 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21569 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21570 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
21571 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21572 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21573 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21574 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
21575 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21576 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21577 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
21578 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
21579 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
21580 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21581 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21582 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21583 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
21584 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
21585 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
21586 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
21587 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21588 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
21589 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
21590 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
21591 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
21592 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21593 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21594 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21595 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21596 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21597 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21598 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21599 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21600 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21601 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21602 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21603 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21604 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21605 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21606 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21607 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21608 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21609 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21610 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21611 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
21612 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
21613 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
21614 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21615 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
21616 { (char *)"new_PrintDialogData", (PyCFunction) _wrap_new_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21617 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21618 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
21619 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
21620 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21621 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21622 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21623 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
21624 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
21625 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21626 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21627 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21628 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
21629 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
21630 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
21631 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
21632 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21633 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
21634 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
21635 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21636 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21637 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21638 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21639 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
21640 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21641 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21642 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21643 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
21644 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21645 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21646 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21647 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21648 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21649 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
21650 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21651 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21652 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
21653 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21654 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
21655 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
21656 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
21657 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
21658 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21659 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
21660 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21661 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
21662 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
21663 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
21664 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
21665 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
21666 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
21667 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21668 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
21669 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
21670 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
21671 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
21672 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
21673 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21674 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21675 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21676 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21677 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21678 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21679 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
21680 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
21681 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
21682 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
21683 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
21684 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
21685 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
21686 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
21687 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
21688 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
21689 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21690 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
21691 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
21692 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
21693 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21694 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21695 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
21696 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
21697 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21698 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
21699 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21700 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21701 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
21702 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
21703 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
21704 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
21705 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
21706 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
21707 { (char *)"new_PrintPreview", (PyCFunction) _wrap_new_PrintPreview, METH_VARARGS | METH_KEYWORDS },
21708 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21709 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21710 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
21711 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
21712 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
21713 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
21714 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
21715 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
21716 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
21717 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
21718 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21719 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
21720 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
21721 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21722 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
21723 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
21724 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21725 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21726 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
21727 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
21728 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
21729 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21730 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
21731 { (char *)"new_PyPrintPreview", (PyCFunction) _wrap_new_PyPrintPreview, METH_VARARGS | METH_KEYWORDS },
21732 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21733 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21734 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
21735 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21736 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
21737 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
21738 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
21739 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21740 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
21741 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
21742 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21743 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21744 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
21745 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
21746 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21747 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21748 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
21749 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21750 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21751 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21752 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
21753 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21754 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
21755 { NULL, NULL }
21756 };
21757
21758
21759 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21760
21761 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
21762 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21763 }
21764 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
21765 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
21766 }
21767 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
21768 return (void *)((wxEvent *) ((wxMenuEvent *) x));
21769 }
21770 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
21771 return (void *)((wxEvent *) ((wxCloseEvent *) x));
21772 }
21773 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
21774 return (void *)((wxEvent *) ((wxMouseEvent *) x));
21775 }
21776 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
21777 return (void *)((wxEvent *) ((wxEraseEvent *) x));
21778 }
21779 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
21780 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
21781 }
21782 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
21783 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
21784 }
21785 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
21786 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
21787 }
21788 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
21789 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
21790 }
21791 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
21792 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
21793 }
21794 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
21795 return (void *)((wxEvent *) ((wxPyEvent *) x));
21796 }
21797 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
21798 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
21799 }
21800 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
21801 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
21802 }
21803 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
21804 return (void *)((wxEvent *) ((wxIdleEvent *) x));
21805 }
21806 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
21807 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
21808 }
21809 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
21810 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
21811 }
21812 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
21813 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
21814 }
21815 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
21816 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
21817 }
21818 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
21819 return (void *)((wxEvent *) ((wxActivateEvent *) x));
21820 }
21821 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
21822 return (void *)((wxEvent *) ((wxSizeEvent *) x));
21823 }
21824 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
21825 return (void *)((wxEvent *) ((wxMoveEvent *) x));
21826 }
21827 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
21828 return (void *)((wxEvent *) ((wxPaintEvent *) x));
21829 }
21830 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
21831 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
21832 }
21833 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
21834 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
21835 }
21836 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
21837 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
21838 }
21839 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
21840 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
21841 }
21842 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
21843 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21844 }
21845 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
21846 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
21847 }
21848 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
21849 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
21850 }
21851 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
21852 return (void *)((wxEvent *) ((wxFocusEvent *) x));
21853 }
21854 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
21855 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
21856 }
21857 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
21858 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
21859 }
21860 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
21861 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
21862 }
21863 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
21864 return (void *)((wxEvent *) ((wxShowEvent *) x));
21865 }
21866 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
21867 return (void *)((wxEvent *) ((wxCommandEvent *) x));
21868 }
21869 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
21870 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
21871 }
21872 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
21873 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21874 }
21875 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
21876 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
21877 }
21878 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
21879 return (void *)((wxEvent *) ((wxKeyEvent *) x));
21880 }
21881 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
21882 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
21883 }
21884 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
21885 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
21886 }
21887 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
21888 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
21889 }
21890 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
21891 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
21892 }
21893 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
21894 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
21895 }
21896 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
21897 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
21898 }
21899 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
21900 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
21901 }
21902 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
21903 return (void *)((wxEvtHandler *) ((wxValidator *) x));
21904 }
21905 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
21906 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
21907 }
21908 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
21909 return (void *)((wxEvtHandler *) ((wxMenu *) x));
21910 }
21911 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
21912 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
21913 }
21914 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
21915 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
21916 }
21917 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
21918 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
21919 }
21920 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
21921 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
21922 }
21923 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
21924 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
21925 }
21926 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
21927 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
21928 }
21929 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
21930 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
21931 }
21932 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
21933 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
21934 }
21935 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
21936 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
21937 }
21938 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
21939 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
21940 }
21941 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
21942 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
21943 }
21944 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
21945 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
21946 }
21947 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
21948 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
21949 }
21950 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
21951 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
21952 }
21953 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
21954 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
21955 }
21956 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
21957 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
21958 }
21959 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
21960 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
21961 }
21962 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
21963 return (void *)((wxEvtHandler *) ((wxWindow *) x));
21964 }
21965 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
21966 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
21967 }
21968 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
21969 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
21970 }
21971 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
21972 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
21973 }
21974 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
21975 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
21976 }
21977 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
21978 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
21979 }
21980 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
21981 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21982 }
21983 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
21984 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
21985 }
21986 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
21987 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
21988 }
21989 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
21990 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
21991 }
21992 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
21993 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
21994 }
21995 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
21996 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
21997 }
21998 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
21999 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22000 }
22001 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
22002 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22003 }
22004 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
22005 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
22006 }
22007 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
22008 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22009 }
22010 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
22011 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
22012 }
22013 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
22014 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
22015 }
22016 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
22017 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
22018 }
22019 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
22020 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
22021 }
22022 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
22023 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
22024 }
22025 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
22026 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
22027 }
22028 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
22029 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22030 }
22031 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
22032 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22033 }
22034 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
22035 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
22036 }
22037 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
22038 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
22039 }
22040 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
22041 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
22042 }
22043 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
22044 return (void *)((wxFrame *) ((wxProgressDialog *) x));
22045 }
22046 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
22047 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
22048 }
22049 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
22050 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22051 }
22052 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
22053 return (void *)((wxFrame *) ((wxMiniFrame *) x));
22054 }
22055 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
22056 return (void *)((wxFrame *) ((wxSplashScreen *) x));
22057 }
22058 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
22059 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
22060 }
22061 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
22062 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
22063 }
22064 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
22065 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
22066 }
22067 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
22068 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
22069 }
22070 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
22071 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22072 }
22073 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
22074 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
22075 }
22076 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
22077 return (void *)((wxObject *) ((wxSizerItem *) x));
22078 }
22079 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
22080 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
22081 }
22082 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
22083 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
22084 }
22085 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
22086 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
22087 }
22088 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
22089 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
22090 }
22091 static void *_p_wxSizerTo_p_wxObject(void *x) {
22092 return (void *)((wxObject *) ((wxSizer *) x));
22093 }
22094 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
22095 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
22096 }
22097 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
22098 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
22099 }
22100 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
22101 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
22102 }
22103 static void *_p_wxEventTo_p_wxObject(void *x) {
22104 return (void *)((wxObject *) ((wxEvent *) x));
22105 }
22106 static void *_p_wxFontDataTo_p_wxObject(void *x) {
22107 return (void *)((wxObject *) ((wxFontData *) x));
22108 }
22109 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
22110 return (void *)((wxObject *) ((wxPrintData *) x));
22111 }
22112 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
22113 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
22114 }
22115 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
22116 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
22117 }
22118 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
22119 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
22120 }
22121 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
22122 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
22123 }
22124 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
22125 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
22126 }
22127 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
22128 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
22129 }
22130 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
22131 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
22132 }
22133 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
22134 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
22135 }
22136 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
22137 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
22138 }
22139 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
22140 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
22141 }
22142 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
22143 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
22144 }
22145 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
22146 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
22147 }
22148 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
22149 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
22150 }
22151 static void *_p_wxControlTo_p_wxObject(void *x) {
22152 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
22153 }
22154 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
22155 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
22156 }
22157 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
22158 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
22159 }
22160 static void *_p_wxFSFileTo_p_wxObject(void *x) {
22161 return (void *)((wxObject *) ((wxFSFile *) x));
22162 }
22163 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
22164 return (void *)((wxObject *) ((wxFindReplaceData *) x));
22165 }
22166 static void *_p_wxPySizerTo_p_wxObject(void *x) {
22167 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
22168 }
22169 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
22170 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
22171 }
22172 static void *_p_wxColourDataTo_p_wxObject(void *x) {
22173 return (void *)((wxObject *) ((wxColourData *) x));
22174 }
22175 static void *_p_wxPyEventTo_p_wxObject(void *x) {
22176 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
22177 }
22178 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
22179 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
22180 }
22181 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
22182 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
22183 }
22184 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
22185 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
22186 }
22187 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
22188 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
22189 }
22190 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
22191 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
22192 }
22193 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
22194 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
22195 }
22196 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
22197 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
22198 }
22199 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
22200 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
22201 }
22202 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
22203 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
22204 }
22205 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
22206 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
22207 }
22208 static void *_p_wxShowEventTo_p_wxObject(void *x) {
22209 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
22210 }
22211 static void *_p_wxPrinterTo_p_wxObject(void *x) {
22212 return (void *)((wxObject *) ((wxPrinter *) x));
22213 }
22214 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
22215 return (void *)((wxObject *) ((wxMenuItem *) x));
22216 }
22217 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
22218 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
22219 }
22220 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
22221 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
22222 }
22223 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
22224 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
22225 }
22226 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
22227 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
22228 }
22229 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
22230 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
22231 }
22232 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
22233 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
22234 }
22235 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
22236 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
22237 }
22238 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
22239 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
22240 }
22241 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
22242 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
22243 }
22244 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
22245 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
22246 }
22247 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
22248 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
22249 }
22250 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
22251 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
22252 }
22253 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
22254 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
22255 }
22256 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
22257 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
22258 }
22259 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
22260 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
22261 }
22262 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
22263 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
22264 }
22265 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
22266 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
22267 }
22268 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
22269 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
22270 }
22271 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
22272 return (void *)((wxObject *) ((wxImageHandler *) x));
22273 }
22274 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
22275 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
22276 }
22277 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
22278 return (void *)((wxObject *) ((wxEvtHandler *) x));
22279 }
22280 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
22281 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
22282 }
22283 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
22284 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22285 }
22286 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
22287 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22288 }
22289 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
22290 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
22291 }
22292 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
22293 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
22294 }
22295 static void *_p_wxImageTo_p_wxObject(void *x) {
22296 return (void *)((wxObject *) ((wxImage *) x));
22297 }
22298 static void *_p_wxFrameTo_p_wxObject(void *x) {
22299 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
22300 }
22301 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
22302 return (void *)((wxObject *) ((wxPyPrintout *) x));
22303 }
22304 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
22305 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
22306 }
22307 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
22308 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
22309 }
22310 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
22311 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
22312 }
22313 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
22314 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
22315 }
22316 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
22317 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22318 }
22319 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
22320 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
22321 }
22322 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
22323 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
22324 }
22325 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
22326 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
22327 }
22328 static void *_p_wxWindowTo_p_wxObject(void *x) {
22329 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
22330 }
22331 static void *_p_wxMenuTo_p_wxObject(void *x) {
22332 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
22333 }
22334 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
22335 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
22336 }
22337 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
22338 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
22339 }
22340 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
22341 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
22342 }
22343 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
22344 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
22345 }
22346 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
22347 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
22348 }
22349 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
22350 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
22351 }
22352 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
22353 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
22354 }
22355 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
22356 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22357 }
22358 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
22359 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22360 }
22361 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
22362 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
22363 }
22364 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
22365 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
22366 }
22367 static void *_p_wxSashEventTo_p_wxObject(void *x) {
22368 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
22369 }
22370 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
22371 return (void *)((wxObject *) ((wxPrintPreview *) x));
22372 }
22373 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
22374 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
22375 }
22376 static void *_p_wxPanelTo_p_wxObject(void *x) {
22377 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
22378 }
22379 static void *_p_wxDialogTo_p_wxObject(void *x) {
22380 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
22381 }
22382 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
22383 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
22384 }
22385 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
22386 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
22387 }
22388 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
22389 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
22390 }
22391 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
22392 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22393 }
22394 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
22395 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22396 }
22397 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
22398 return (void *)((wxObject *) ((wxFileSystem *) x));
22399 }
22400 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
22401 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
22402 }
22403 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
22404 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
22405 }
22406 static void *_p_wxPyAppTo_p_wxObject(void *x) {
22407 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
22408 }
22409 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
22410 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
22411 }
22412 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
22413 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
22414 }
22415 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
22416 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
22417 }
22418 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
22419 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
22420 }
22421 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
22422 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
22423 }
22424 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
22425 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
22426 }
22427 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
22428 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22429 }
22430 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
22431 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
22432 }
22433 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
22434 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
22435 }
22436 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
22437 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
22438 }
22439 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
22440 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
22441 }
22442 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
22443 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
22444 }
22445 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
22446 return (void *)((wxObject *) ((wxPrintDialogData *) x));
22447 }
22448 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
22449 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
22450 }
22451 static void *_p_wxValidatorTo_p_wxObject(void *x) {
22452 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
22453 }
22454 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
22455 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22456 }
22457 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
22458 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
22459 }
22460 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
22461 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22462 }
22463 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
22464 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22465 }
22466 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
22467 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22468 }
22469 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
22470 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
22471 }
22472 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
22473 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
22474 }
22475 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
22476 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
22477 }
22478 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
22479 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
22480 }
22481 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
22482 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
22483 }
22484 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
22485 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
22486 }
22487 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
22488 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
22489 }
22490 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
22491 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
22492 }
22493 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
22494 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
22495 }
22496 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
22497 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
22498 }
22499 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
22500 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
22501 }
22502 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
22503 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
22504 }
22505 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
22506 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
22507 }
22508 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
22509 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
22510 }
22511 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
22512 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
22513 }
22514 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
22515 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
22516 }
22517 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22518 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
22519 }
22520 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22521 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
22522 }
22523 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
22524 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
22525 }
22526 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22527 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
22528 }
22529 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22530 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22531 }
22532 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
22533 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
22534 }
22535 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
22536 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
22537 }
22538 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
22539 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
22540 }
22541 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
22542 return (void *)((wxWindow *) ((wxMenuBar *) x));
22543 }
22544 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
22545 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
22546 }
22547 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
22548 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
22549 }
22550 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
22551 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
22552 }
22553 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
22554 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
22555 }
22556 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
22557 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
22558 }
22559 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
22560 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
22561 }
22562 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
22563 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
22564 }
22565 static void *_p_wxPanelTo_p_wxWindow(void *x) {
22566 return (void *)((wxWindow *) ((wxPanel *) x));
22567 }
22568 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
22569 return (void *)((wxWindow *) ((wxStatusBar *) x));
22570 }
22571 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
22572 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
22573 }
22574 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
22575 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
22576 }
22577 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
22578 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22579 }
22580 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
22581 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22582 }
22583 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
22584 return (void *)((wxWindow *) ((wxPopupWindow *) x));
22585 }
22586 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
22587 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
22588 }
22589 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
22590 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
22591 }
22592 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
22593 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
22594 }
22595 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
22596 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
22597 }
22598 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
22599 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
22600 }
22601 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
22602 return (void *)((wxWindow *) ((wxSashWindow *) x));
22603 }
22604 static void *_p_wxControlTo_p_wxWindow(void *x) {
22605 return (void *)((wxWindow *) ((wxControl *) x));
22606 }
22607 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
22608 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
22609 }
22610 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
22611 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22612 }
22613 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
22614 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
22615 }
22616 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
22617 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
22618 }
22619 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
22620 return (void *)((wxWindow *) ((wxPyWindow *) x));
22621 }
22622 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
22623 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
22624 }
22625 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
22626 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22627 }
22628 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
22629 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22630 }
22631 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
22632 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
22633 }
22634 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
22635 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22636 }
22637 static void *_p_wxFrameTo_p_wxWindow(void *x) {
22638 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
22639 }
22640 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
22641 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
22642 }
22643 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
22644 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
22645 }
22646 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
22647 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
22648 }
22649 static void *_p_wxDialogTo_p_wxWindow(void *x) {
22650 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
22651 }
22652 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
22653 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22654 }
22655 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
22656 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22657 }
22658 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
22659 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
22660 }
22661 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
22662 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
22663 }
22664 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
22665 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
22666 }
22667 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
22668 return (void *)((wxDialog *) ((wxColourDialog *) x));
22669 }
22670 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
22671 return (void *)((wxDialog *) ((wxDirDialog *) x));
22672 }
22673 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
22674 return (void *)((wxDialog *) ((wxFontDialog *) x));
22675 }
22676 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
22677 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
22678 }
22679 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
22680 return (void *)((wxDialog *) ((wxPrintDialog *) x));
22681 }
22682 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
22683 return (void *)((wxDialog *) ((wxFileDialog *) x));
22684 }
22685 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
22686 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
22687 }
22688 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
22689 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
22690 }
22691 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
22692 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
22693 }
22694 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
22695 return (void *)((wxDialog *) ((wxMessageDialog *) x));
22696 }
22697 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
22698 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
22699 }
22700 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
22701 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
22702 }
22703 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
22704 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
22705 }
22706 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
22707 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22708 }
22709 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
22710 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22711 }
22712 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
22713 return (void *)((wxPanel *) ((wxPyPanel *) x));
22714 }
22715 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
22716 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
22717 }
22718 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
22719 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
22720 }
22721 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
22722 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22723 }
22724 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
22725 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
22726 }
22727 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
22728 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
22729 }
22730 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
22731 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
22732 }
22733 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
22734 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
22735 }
22736 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
22737 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
22738 }
22739 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
22740 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22741 }
22742 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
22743 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
22744 }
22745 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
22746 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
22747 }
22748 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
22749 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
22750 }
22751 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
22752 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
22753 }
22754 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
22755 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
22756 }
22757 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
22758 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22759 }
22760 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
22761 static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame},{0}};
22762 static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
22763 static swig_type_info _swigt__p_wxAcceleratorEntry[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0},{"_p_wxAcceleratorEntry"},{0}};
22764 static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
22765 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
22766 static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
22767 static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
22768 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}};
22769 static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
22770 static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
22771 static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
22772 static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
22773 static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
22774 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
22775 static swig_type_info _swigt__p_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
22776 static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
22777 static swig_type_info _swigt__p_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
22778 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
22779 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
22780 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
22781 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
22782 static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
22783 static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
22784 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent},{"_p_wxNotifyEvent"},{0}};
22785 static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
22786 static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
22787 static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
22788 static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
22789 static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
22790 static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
22791 static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
22792 static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
22793 static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
22794 static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
22795 static swig_type_info _swigt__p_wxMenuItem[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0},{"_p_wxMenuItem"},{0}};
22796 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
22797 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}};
22798 static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
22799 static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
22800 static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox},{0}};
22801 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
22802 static swig_type_info _swigt__p_wxAcceleratorTable[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0},{"_p_wxAcceleratorTable"},{0}};
22803 static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
22804 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}};
22805 static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
22806 static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
22807 static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
22808 static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
22809 static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
22810 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
22811 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}};
22812 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
22813 static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
22814 static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
22815 static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
22816 static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
22817 static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
22818 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}};
22819 static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow},{0}};
22820 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}};
22821 static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow},{0}};
22822 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}};
22823 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}};
22824 static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}};
22825 static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
22826 static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview},{0}};
22827 static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
22828 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
22829 static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
22830 static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
22831 static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
22832 static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
22833 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}};
22834 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}};
22835 static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
22836 static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
22837 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
22838 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}};
22839 static swig_type_info _swigt__p_wxPrintQuality[] = {{"_p_wxPrintQuality", 0, "wxPrintQuality *", 0},{"_p_wxPrintQuality"},{0}};
22840 static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar},{0}};
22841 static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
22842 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
22843 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
22844 static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
22845 static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
22846
22847 static swig_type_info *swig_types_initial[] = {
22848 _swigt__p_wxQueryLayoutInfoEvent,
22849 _swigt__p_wxPreviewFrame,
22850 _swigt__p_wxPyPreviewFrame,
22851 _swigt__p_wxAcceleratorEntry,
22852 _swigt__p_wxPyPanel,
22853 _swigt__p_wxMenu,
22854 _swigt__p_wxPrintData,
22855 _swigt__p_wxFontData,
22856 _swigt__p_wxEvent,
22857 _swigt__p_wxTaskBarIcon,
22858 _swigt__p_wxIconBundle,
22859 _swigt__p_wxLayoutAlgorithm,
22860 _swigt__p_wxFindDialogEvent,
22861 _swigt__p_wxPreviewCanvas,
22862 _swigt__p_wxFont,
22863 _swigt__p_wxSplitterEvent,
22864 _swigt__p_wxRegion,
22865 _swigt__p_wxFindReplaceData,
22866 _swigt__p_int,
22867 _swigt__p_wxSize,
22868 _swigt__p_wxDC,
22869 _swigt__p_wxIcon,
22870 _swigt__p_wxMDIChildFrame,
22871 _swigt__p_wxColourData,
22872 _swigt__p_wxNotifyEvent,
22873 _swigt__p_wxPyWindow,
22874 _swigt__p_wxSplashScreen,
22875 _swigt__p_wxFindReplaceDialog,
22876 _swigt__p_wxProgressDialog,
22877 _swigt__p_wxMessageDialog,
22878 _swigt__p_wxTextEntryDialog,
22879 _swigt__p_wxSingleChoiceDialog,
22880 _swigt__p_wxMultiChoiceDialog,
22881 _swigt__p_wxFileDialog,
22882 _swigt__p_wxPrinter,
22883 _swigt__p_wxMenuItem,
22884 _swigt__p_wxArrayInt,
22885 _swigt__p_wxEvtHandler,
22886 _swigt__p_wxCalculateLayoutEvent,
22887 _swigt__p_wxPyHtmlListBox,
22888 _swigt__p_wxPyVListBox,
22889 _swigt__p_wxRect,
22890 _swigt__p_wxAcceleratorTable,
22891 _swigt__p_wxMiniFrame,
22892 _swigt__p_wxFrame,
22893 _swigt__p_wxPyPrintout,
22894 _swigt__p_wxTaskBarIconEvent,
22895 _swigt__p_wxScrollWinEvent,
22896 _swigt__p_wxStatusBar,
22897 _swigt__p_wxMDIParentFrame,
22898 _swigt__p_wxPoint,
22899 _swigt__p_wxObject,
22900 _swigt__p_unsigned_long,
22901 _swigt__p_wxMDIClientWindow,
22902 _swigt__p_wxTipWindow,
22903 _swigt__p_wxSashLayoutWindow,
22904 _swigt__p_wxSplitterWindow,
22905 _swigt__p_wxSplashScreenWindow,
22906 _swigt__p_wxPyVScrolledWindow,
22907 _swigt__p_wxPyPopupTransientWindow,
22908 _swigt__p_wxPopupWindow,
22909 _swigt__p_wxSashWindow,
22910 _swigt__p_wxTopLevelWindow,
22911 _swigt__p_wxWindow,
22912 _swigt__p_wxScrolledWindow,
22913 _swigt__p_wxMenuBar,
22914 _swigt__p_wxPrintPreview,
22915 _swigt__p_wxSashEvent,
22916 _swigt__p_wxString,
22917 _swigt__p_wxPyPrintPreview,
22918 _swigt__p_wxFontDialog,
22919 _swigt__p_wxDirDialog,
22920 _swigt__p_wxColourDialog,
22921 _swigt__p_wxDialog,
22922 _swigt__p_wxPanel,
22923 _swigt__p_wxPageSetupDialog,
22924 _swigt__p_wxPrintDialog,
22925 _swigt__p_wxBitmap,
22926 _swigt__p_wxCommandEvent,
22927 _swigt__p_wxPrintQuality,
22928 _swigt__p_wxPreviewControlBar,
22929 _swigt__p_wxPyPreviewControlBar,
22930 _swigt__p_wxColour,
22931 _swigt__p_wxToolBar,
22932 _swigt__p_wxPageSetupDialogData,
22933 _swigt__p_wxPrintDialogData,
22934 0
22935 };
22936
22937
22938 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22939
22940 static swig_const_info swig_const_table[] = {
22941 { SWIG_PY_INT, (char *)"FULLSCREEN_NOMENUBAR", (long) wxFULLSCREEN_NOMENUBAR, 0, 0, 0},
22942 { SWIG_PY_INT, (char *)"FULLSCREEN_NOTOOLBAR", (long) wxFULLSCREEN_NOTOOLBAR, 0, 0, 0},
22943 { SWIG_PY_INT, (char *)"FULLSCREEN_NOSTATUSBAR", (long) wxFULLSCREEN_NOSTATUSBAR, 0, 0, 0},
22944 { SWIG_PY_INT, (char *)"FULLSCREEN_NOBORDER", (long) wxFULLSCREEN_NOBORDER, 0, 0, 0},
22945 { SWIG_PY_INT, (char *)"FULLSCREEN_NOCAPTION", (long) wxFULLSCREEN_NOCAPTION, 0, 0, 0},
22946 { SWIG_PY_INT, (char *)"FULLSCREEN_ALL", (long) wxFULLSCREEN_ALL, 0, 0, 0},
22947 { SWIG_PY_INT, (char *)"TOPLEVEL_EX_DIALOG", (long) wxTOPLEVEL_EX_DIALOG, 0, 0, 0},
22948 { SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_PARENT", (long) wxSPLASH_CENTRE_ON_PARENT, 0, 0, 0},
22949 { SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_SCREEN", (long) wxSPLASH_CENTRE_ON_SCREEN, 0, 0, 0},
22950 { SWIG_PY_INT, (char *)"SPLASH_NO_CENTRE", (long) wxSPLASH_NO_CENTRE, 0, 0, 0},
22951 { SWIG_PY_INT, (char *)"SPLASH_TIMEOUT", (long) wxSPLASH_TIMEOUT, 0, 0, 0},
22952 { SWIG_PY_INT, (char *)"SPLASH_NO_TIMEOUT", (long) wxSPLASH_NO_TIMEOUT, 0, 0, 0},
22953 { SWIG_PY_INT, (char *)"SP_NOBORDER", (long) wxSP_NOBORDER, 0, 0, 0},
22954 { SWIG_PY_INT, (char *)"SP_NOSASH", (long) wxSP_NOSASH, 0, 0, 0},
22955 { SWIG_PY_INT, (char *)"SP_PERMIT_UNSPLIT", (long) wxSP_PERMIT_UNSPLIT, 0, 0, 0},
22956 { SWIG_PY_INT, (char *)"SP_LIVE_UPDATE", (long) wxSP_LIVE_UPDATE, 0, 0, 0},
22957 { SWIG_PY_INT, (char *)"SP_3DSASH", (long) wxSP_3DSASH, 0, 0, 0},
22958 { SWIG_PY_INT, (char *)"SP_3DBORDER", (long) wxSP_3DBORDER, 0, 0, 0},
22959 { SWIG_PY_INT, (char *)"SP_BORDER", (long) wxSP_BORDER, 0, 0, 0},
22960 { SWIG_PY_INT, (char *)"SP_3D", (long) wxSP_3D, 0, 0, 0},
22961 { SWIG_PY_INT, (char *)"SPLIT_HORIZONTAL", (long) wxSPLIT_HORIZONTAL, 0, 0, 0},
22962 { SWIG_PY_INT, (char *)"SPLIT_VERTICAL", (long) wxSPLIT_VERTICAL, 0, 0, 0},
22963 { SWIG_PY_INT, (char *)"SPLIT_DRAG_NONE", (long) wxSPLIT_DRAG_NONE, 0, 0, 0},
22964 { SWIG_PY_INT, (char *)"SPLIT_DRAG_DRAGGING", (long) wxSPLIT_DRAG_DRAGGING, 0, 0, 0},
22965 { SWIG_PY_INT, (char *)"SPLIT_DRAG_LEFT_DOWN", (long) wxSPLIT_DRAG_LEFT_DOWN, 0, 0, 0},
22966 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, 0, 0, 0},
22967 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 0, 0, 0},
22968 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", (long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 0, 0, 0},
22969 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_UNSPLIT", (long) wxEVT_COMMAND_SPLITTER_UNSPLIT, 0, 0, 0},
22970 { SWIG_PY_INT, (char *)"SASH_DRAG_NONE", (long) wxSASH_DRAG_NONE, 0, 0, 0},
22971 { SWIG_PY_INT, (char *)"SASH_DRAG_DRAGGING", (long) wxSASH_DRAG_DRAGGING, 0, 0, 0},
22972 { SWIG_PY_INT, (char *)"SASH_DRAG_LEFT_DOWN", (long) wxSASH_DRAG_LEFT_DOWN, 0, 0, 0},
22973 { SWIG_PY_INT, (char *)"SW_NOBORDER", (long) wxSW_NOBORDER, 0, 0, 0},
22974 { SWIG_PY_INT, (char *)"SW_BORDER", (long) wxSW_BORDER, 0, 0, 0},
22975 { SWIG_PY_INT, (char *)"SW_3DSASH", (long) wxSW_3DSASH, 0, 0, 0},
22976 { SWIG_PY_INT, (char *)"SW_3DBORDER", (long) wxSW_3DBORDER, 0, 0, 0},
22977 { SWIG_PY_INT, (char *)"SW_3D", (long) wxSW_3D, 0, 0, 0},
22978 { SWIG_PY_INT, (char *)"SASH_TOP", (long) wxSASH_TOP, 0, 0, 0},
22979 { SWIG_PY_INT, (char *)"SASH_RIGHT", (long) wxSASH_RIGHT, 0, 0, 0},
22980 { SWIG_PY_INT, (char *)"SASH_BOTTOM", (long) wxSASH_BOTTOM, 0, 0, 0},
22981 { SWIG_PY_INT, (char *)"SASH_LEFT", (long) wxSASH_LEFT, 0, 0, 0},
22982 { SWIG_PY_INT, (char *)"SASH_NONE", (long) wxSASH_NONE, 0, 0, 0},
22983 { SWIG_PY_INT, (char *)"SASH_STATUS_OK", (long) wxSASH_STATUS_OK, 0, 0, 0},
22984 { SWIG_PY_INT, (char *)"SASH_STATUS_OUT_OF_RANGE", (long) wxSASH_STATUS_OUT_OF_RANGE, 0, 0, 0},
22985 { SWIG_PY_INT, (char *)"wxEVT_SASH_DRAGGED", (long) wxEVT_SASH_DRAGGED, 0, 0, 0},
22986 { SWIG_PY_INT, (char *)"LAYOUT_HORIZONTAL", (long) wxLAYOUT_HORIZONTAL, 0, 0, 0},
22987 { SWIG_PY_INT, (char *)"LAYOUT_VERTICAL", (long) wxLAYOUT_VERTICAL, 0, 0, 0},
22988 { SWIG_PY_INT, (char *)"LAYOUT_NONE", (long) wxLAYOUT_NONE, 0, 0, 0},
22989 { SWIG_PY_INT, (char *)"LAYOUT_TOP", (long) wxLAYOUT_TOP, 0, 0, 0},
22990 { SWIG_PY_INT, (char *)"LAYOUT_LEFT", (long) wxLAYOUT_LEFT, 0, 0, 0},
22991 { SWIG_PY_INT, (char *)"LAYOUT_RIGHT", (long) wxLAYOUT_RIGHT, 0, 0, 0},
22992 { SWIG_PY_INT, (char *)"LAYOUT_BOTTOM", (long) wxLAYOUT_BOTTOM, 0, 0, 0},
22993 { SWIG_PY_INT, (char *)"LAYOUT_LENGTH_Y", (long) wxLAYOUT_LENGTH_Y, 0, 0, 0},
22994 { SWIG_PY_INT, (char *)"LAYOUT_LENGTH_X", (long) wxLAYOUT_LENGTH_X, 0, 0, 0},
22995 { SWIG_PY_INT, (char *)"LAYOUT_MRU_LENGTH", (long) wxLAYOUT_MRU_LENGTH, 0, 0, 0},
22996 { SWIG_PY_INT, (char *)"LAYOUT_QUERY", (long) wxLAYOUT_QUERY, 0, 0, 0},
22997 { SWIG_PY_INT, (char *)"wxEVT_QUERY_LAYOUT_INFO", (long) wxEVT_QUERY_LAYOUT_INFO, 0, 0, 0},
22998 { SWIG_PY_INT, (char *)"wxEVT_CALCULATE_LAYOUT", (long) wxEVT_CALCULATE_LAYOUT, 0, 0, 0},
22999 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_MOVE", (long) wxEVT_TASKBAR_MOVE, 0, 0, 0},
23000 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DOWN", (long) wxEVT_TASKBAR_LEFT_DOWN, 0, 0, 0},
23001 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_UP", (long) wxEVT_TASKBAR_LEFT_UP, 0, 0, 0},
23002 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DOWN", (long) wxEVT_TASKBAR_RIGHT_DOWN, 0, 0, 0},
23003 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_UP", (long) wxEVT_TASKBAR_RIGHT_UP, 0, 0, 0},
23004 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DCLICK", (long) wxEVT_TASKBAR_LEFT_DCLICK, 0, 0, 0},
23005 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DCLICK", (long) wxEVT_TASKBAR_RIGHT_DCLICK, 0, 0, 0},
23006 { SWIG_PY_INT, (char *)"CHOICEDLG_STYLE", (long) wxCHOICEDLG_STYLE, 0, 0, 0},
23007 { SWIG_PY_INT, (char *)"FR_DOWN", (long) wxFR_DOWN, 0, 0, 0},
23008 { SWIG_PY_INT, (char *)"FR_WHOLEWORD", (long) wxFR_WHOLEWORD, 0, 0, 0},
23009 { SWIG_PY_INT, (char *)"FR_MATCHCASE", (long) wxFR_MATCHCASE, 0, 0, 0},
23010 { SWIG_PY_INT, (char *)"FR_REPLACEDIALOG", (long) wxFR_REPLACEDIALOG, 0, 0, 0},
23011 { SWIG_PY_INT, (char *)"FR_NOUPDOWN", (long) wxFR_NOUPDOWN, 0, 0, 0},
23012 { SWIG_PY_INT, (char *)"FR_NOMATCHCASE", (long) wxFR_NOMATCHCASE, 0, 0, 0},
23013 { SWIG_PY_INT, (char *)"FR_NOWHOLEWORD", (long) wxFR_NOWHOLEWORD, 0, 0, 0},
23014 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND", (long) wxEVT_COMMAND_FIND, 0, 0, 0},
23015 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_NEXT", (long) wxEVT_COMMAND_FIND_NEXT, 0, 0, 0},
23016 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE", (long) wxEVT_COMMAND_FIND_REPLACE, 0, 0, 0},
23017 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE_ALL", (long) wxEVT_COMMAND_FIND_REPLACE_ALL, 0, 0, 0},
23018 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_CLOSE", (long) wxEVT_COMMAND_FIND_CLOSE, 0, 0, 0},
23019 { SWIG_PY_INT, (char *)"IDM_WINDOWTILE", (long) 4001, 0, 0, 0},
23020 { SWIG_PY_INT, (char *)"IDM_WINDOWTILEHOR", (long) 4001, 0, 0, 0},
23021 { SWIG_PY_INT, (char *)"IDM_WINDOWCASCADE", (long) 4002, 0, 0, 0},
23022 { SWIG_PY_INT, (char *)"IDM_WINDOWICONS", (long) 4003, 0, 0, 0},
23023 { SWIG_PY_INT, (char *)"IDM_WINDOWNEXT", (long) 4004, 0, 0, 0},
23024 { SWIG_PY_INT, (char *)"IDM_WINDOWTILEVERT", (long) 4005, 0, 0, 0},
23025 { SWIG_PY_INT, (char *)"FIRST_MDI_CHILD", (long) 4100, 0, 0, 0},
23026 { SWIG_PY_INT, (char *)"LAST_MDI_CHILD", (long) 4600, 0, 0, 0},
23027 { SWIG_PY_INT, (char *)"PRINT_MODE_NONE", (long) wxPRINT_MODE_NONE, 0, 0, 0},
23028 { SWIG_PY_INT, (char *)"PRINT_MODE_PREVIEW", (long) wxPRINT_MODE_PREVIEW, 0, 0, 0},
23029 { SWIG_PY_INT, (char *)"PRINT_MODE_FILE", (long) wxPRINT_MODE_FILE, 0, 0, 0},
23030 { SWIG_PY_INT, (char *)"PRINT_MODE_PRINTER", (long) wxPRINT_MODE_PRINTER, 0, 0, 0},
23031 { SWIG_PY_INT, (char *)"PRINTER_NO_ERROR", (long) wxPRINTER_NO_ERROR, 0, 0, 0},
23032 { SWIG_PY_INT, (char *)"PRINTER_CANCELLED", (long) wxPRINTER_CANCELLED, 0, 0, 0},
23033 { SWIG_PY_INT, (char *)"PRINTER_ERROR", (long) wxPRINTER_ERROR, 0, 0, 0},
23034 { SWIG_PY_INT, (char *)"PREVIEW_PRINT", (long) wxPREVIEW_PRINT, 0, 0, 0},
23035 { SWIG_PY_INT, (char *)"PREVIEW_PREVIOUS", (long) wxPREVIEW_PREVIOUS, 0, 0, 0},
23036 { SWIG_PY_INT, (char *)"PREVIEW_NEXT", (long) wxPREVIEW_NEXT, 0, 0, 0},
23037 { SWIG_PY_INT, (char *)"PREVIEW_ZOOM", (long) wxPREVIEW_ZOOM, 0, 0, 0},
23038 { SWIG_PY_INT, (char *)"PREVIEW_FIRST", (long) wxPREVIEW_FIRST, 0, 0, 0},
23039 { SWIG_PY_INT, (char *)"PREVIEW_LAST", (long) wxPREVIEW_LAST, 0, 0, 0},
23040 { SWIG_PY_INT, (char *)"PREVIEW_GOTO", (long) wxPREVIEW_GOTO, 0, 0, 0},
23041 { SWIG_PY_INT, (char *)"PREVIEW_DEFAULT", (long) wxPREVIEW_DEFAULT, 0, 0, 0},
23042 { SWIG_PY_INT, (char *)"ID_PREVIEW_CLOSE", (long) wxID_PREVIEW_CLOSE, 0, 0, 0},
23043 { SWIG_PY_INT, (char *)"ID_PREVIEW_NEXT", (long) wxID_PREVIEW_NEXT, 0, 0, 0},
23044 { SWIG_PY_INT, (char *)"ID_PREVIEW_PREVIOUS", (long) wxID_PREVIEW_PREVIOUS, 0, 0, 0},
23045 { SWIG_PY_INT, (char *)"ID_PREVIEW_PRINT", (long) wxID_PREVIEW_PRINT, 0, 0, 0},
23046 { SWIG_PY_INT, (char *)"ID_PREVIEW_ZOOM", (long) wxID_PREVIEW_ZOOM, 0, 0, 0},
23047 { SWIG_PY_INT, (char *)"ID_PREVIEW_FIRST", (long) wxID_PREVIEW_FIRST, 0, 0, 0},
23048 { SWIG_PY_INT, (char *)"ID_PREVIEW_LAST", (long) wxID_PREVIEW_LAST, 0, 0, 0},
23049 { SWIG_PY_INT, (char *)"ID_PREVIEW_GOTO", (long) wxID_PREVIEW_GOTO, 0, 0, 0},
23050 {0}};
23051
23052 #ifdef __cplusplus
23053 }
23054 #endif
23055
23056 #ifdef __cplusplus
23057 extern "C"
23058 #endif
23059 SWIGEXPORT(void) SWIG_init(void) {
23060 static PyObject *SWIG_globals = 0;
23061 static int typeinit = 0;
23062 PyObject *m, *d;
23063 int i;
23064 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
23065 m = Py_InitModule((char *) SWIG_name, SwigMethods);
23066 d = PyModule_GetDict(m);
23067
23068 if (!typeinit) {
23069 for (i = 0; swig_types_initial[i]; i++) {
23070 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
23071 }
23072 typeinit = 1;
23073 }
23074 SWIG_InstallConstants(d,swig_const_table);
23075
23076 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
23077 SWIG_addvarlink(SWIG_globals,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get, _wrap_NullAcceleratorTable_set);
23078 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
23079 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
23080 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
23081 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
23082 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
23083 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
23084 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
23085
23086 // Map renamed classes back to their common name for OOR
23087 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
23088 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
23089 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
23090
23091 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
23092 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
23093 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
23094 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
23095 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
23096 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
23097 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
23098 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
23099 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
23100 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
23101 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
23102 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
23103
23104 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
23105
23106 }
23107