]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/windows_wrap.cpp
autodoc docstring fixes and such
[wxWidgets.git] / wxPython / src / gtk / windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.20
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124
125 #endif
126
127
128 /***********************************************************************
129 * pyrun.swg for wxPython
130 *
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 * anyway.
135 *
136 ************************************************************************/
137
138 #include "Python.h"
139
140 #ifdef __cplusplus
141 extern "C" {
142 #endif
143
144 #define SWIG_PY_INT 1
145 #define SWIG_PY_FLOAT 2
146 #define SWIG_PY_STRING 3
147 #define SWIG_PY_POINTER 4
148 #define SWIG_PY_BINARY 5
149
150 /* Flags for pointer conversion */
151
152 #define SWIG_POINTER_EXCEPTION 0x1
153 #define SWIG_POINTER_DISOWN 0x2
154
155 /* Exception handling in wrappers */
156 #define SWIG_fail goto fail
157
158 /* Constant information structure */
159 typedef struct swig_const_info {
160 int type;
161 char *name;
162 long lvalue;
163 double dvalue;
164 void *pvalue;
165 swig_type_info **ptype;
166 } swig_const_info;
167
168 /* Common SWIG API */
169 #define SWIG_ConvertPtr(obj, pp, type, flags) \
170 SWIG_Python_ConvertPtr(obj, pp, type, flags)
171 #define SWIG_NewPointerObj(p, type, flags) \
172 SWIG_Python_NewPointerObj(p, type, flags)
173 #define SWIG_MustGetPtr(p, type, argnum, flags) \
174 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175
176 /* Python-specific SWIG API */
177 #define SWIG_newvarlink() \
178 SWIG_Python_newvarlink()
179 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
180 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
181 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
182 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
183 #define SWIG_NewPackedObj(ptr, sz, type) \
184 SWIG_Python_NewPackedObj(ptr, sz, type)
185 #define SWIG_InstallConstants(d, constants) \
186 SWIG_Python_InstallConstants(d, constants)
187
188
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198
199
200 /* Contract support */
201
202 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
203
204 #ifdef __cplusplus
205 }
206 #endif
207
208
209
210 /* -------- TYPES TABLE (BEGIN) -------- */
211
212 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
213 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
214 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
215 #define SWIGTYPE_p_wxPyPanel swig_types[3]
216 #define SWIGTYPE_p_wxMenu swig_types[4]
217 #define SWIGTYPE_p_wxPrintData swig_types[5]
218 #define SWIGTYPE_p_wxFontData swig_types[6]
219 #define SWIGTYPE_p_wxEvent swig_types[7]
220 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
221 #define SWIGTYPE_p_wxIconBundle swig_types[9]
222 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
223 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
224 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
225 #define SWIGTYPE_p_wxFont swig_types[13]
226 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
227 #define SWIGTYPE_p_wxRegion swig_types[15]
228 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
229 #define SWIGTYPE_p_int swig_types[17]
230 #define SWIGTYPE_p_wxSize swig_types[18]
231 #define SWIGTYPE_p_wxDC swig_types[19]
232 #define SWIGTYPE_p_wxIcon swig_types[20]
233 #define SWIGTYPE_p_wxMDIChildFrame swig_types[21]
234 #define SWIGTYPE_p_wxColourData swig_types[22]
235 #define SWIGTYPE_p_wxNotifyEvent swig_types[23]
236 #define SWIGTYPE_p_wxPyWindow swig_types[24]
237 #define SWIGTYPE_p_wxSplashScreen swig_types[25]
238 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
239 #define SWIGTYPE_p_wxProgressDialog swig_types[27]
240 #define SWIGTYPE_p_wxMessageDialog swig_types[28]
241 #define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
242 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
243 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
244 #define SWIGTYPE_p_wxFileDialog swig_types[32]
245 #define SWIGTYPE_p_wxPrinter swig_types[33]
246 #define SWIGTYPE_p_wxArrayInt swig_types[34]
247 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
248 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
249 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
250 #define SWIGTYPE_p_wxPyVListBox swig_types[38]
251 #define SWIGTYPE_p_wxRect swig_types[39]
252 #define SWIGTYPE_p_wxMiniFrame swig_types[40]
253 #define SWIGTYPE_p_wxFrame swig_types[41]
254 #define SWIGTYPE_p_wxPyPrintout swig_types[42]
255 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[43]
256 #define SWIGTYPE_p_wxScrollWinEvent swig_types[44]
257 #define SWIGTYPE_p_wxStatusBar swig_types[45]
258 #define SWIGTYPE_p_wxMDIParentFrame swig_types[46]
259 #define SWIGTYPE_p_wxPoint swig_types[47]
260 #define SWIGTYPE_p_wxObject swig_types[48]
261 #define SWIGTYPE_p_unsigned_long swig_types[49]
262 #define SWIGTYPE_p_wxMDIClientWindow swig_types[50]
263 #define SWIGTYPE_p_wxTipWindow swig_types[51]
264 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[52]
265 #define SWIGTYPE_p_wxSplitterWindow swig_types[53]
266 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[54]
267 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[55]
268 #define SWIGTYPE_p_wxPopupWindow swig_types[56]
269 #define SWIGTYPE_p_wxSashWindow swig_types[57]
270 #define SWIGTYPE_p_wxTopLevelWindow swig_types[58]
271 #define SWIGTYPE_p_wxWindow swig_types[59]
272 #define SWIGTYPE_p_wxScrolledWindow swig_types[60]
273 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[61]
274 #define SWIGTYPE_p_wxMenuBar swig_types[62]
275 #define SWIGTYPE_p_wxPrintPreview swig_types[63]
276 #define SWIGTYPE_p_wxSashEvent swig_types[64]
277 #define SWIGTYPE_p_wxString swig_types[65]
278 #define SWIGTYPE_p_wxPyPrintPreview swig_types[66]
279 #define SWIGTYPE_p_wxPageSetupDialog swig_types[67]
280 #define SWIGTYPE_p_wxFontDialog swig_types[68]
281 #define SWIGTYPE_p_wxDirDialog swig_types[69]
282 #define SWIGTYPE_p_wxColourDialog swig_types[70]
283 #define SWIGTYPE_p_wxDialog swig_types[71]
284 #define SWIGTYPE_p_wxPanel swig_types[72]
285 #define SWIGTYPE_p_wxPrintDialog swig_types[73]
286 #define SWIGTYPE_p_wxBitmap swig_types[74]
287 #define SWIGTYPE_p_wxCommandEvent swig_types[75]
288 #define SWIGTYPE_p_wxPrintQuality swig_types[76]
289 #define SWIGTYPE_p_wxPreviewControlBar swig_types[77]
290 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[78]
291 #define SWIGTYPE_p_wxColour swig_types[79]
292 #define SWIGTYPE_p_wxToolBar swig_types[80]
293 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[81]
294 #define SWIGTYPE_p_wxPrintDialogData swig_types[82]
295 static swig_type_info *swig_types[84];
296
297 /* -------- TYPES TABLE (END) -------- */
298
299
300 /*-----------------------------------------------
301 @(target):= _windows.so
302 ------------------------------------------------*/
303 #define SWIG_init init_windows
304
305 #define SWIG_name "_windows"
306
307 #include "wx/wxPython/wxPython.h"
308 #include "wx/wxPython/pyclasses.h"
309
310 DECLARE_DEF_STRING(PanelNameStr);
311 DECLARE_DEF_STRING(EmptyString);
312
313
314
315
316
317 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
318 PyObject* o2;
319 PyObject* o3;
320
321 if (!target) {
322 target = o;
323 } else if (target == Py_None) {
324 Py_DECREF(Py_None);
325 target = o;
326 } else {
327 if (!PyTuple_Check(target)) {
328 o2 = target;
329 target = PyTuple_New(1);
330 PyTuple_SetItem(target, 0, o2);
331 }
332 o3 = PyTuple_New(1);
333 PyTuple_SetItem(o3, 0, o);
334
335 o2 = target;
336 target = PySequence_Concat(o2, o3);
337 Py_DECREF(o2);
338 Py_DECREF(o3);
339 }
340 return target;
341 }
342
343
344 // Put some wx default wxChar* values into wxStrings.
345 DECLARE_DEF_STRING(FrameNameStr);
346 DECLARE_DEF_STRING(DialogNameStr);
347 DECLARE_DEF_STRING(StatusLineNameStr);
348 DECLARE_DEF_STRING(ToolBarNameStr);
349
350 bool wxDialog_IsModalShowing(wxDialog *self){
351
352 return self->m_modalShowing;
353
354
355
356 }
357
358
359 wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
360 wxRect r;
361 self->GetFieldRect(i, r);
362 return r;
363 }
364
365 static const wxChar* wxSplitterNameStr = wxT("splitter");
366 DECLARE_DEF_STRING(SplitterNameStr);
367
368
369 static const wxChar* wxSashNameStr = wxT("sashWindow");
370 DECLARE_DEF_STRING(SashNameStr);
371 static const wxChar* wxSashLayoutNameStr = wxT("layoutWindow");
372 DECLARE_DEF_STRING(SashLayoutNameStr);
373
374
375 #include <wx/popupwin.h>
376
377
378 class wxPyPopupTransientWindow : public wxPopupTransientWindow
379 {
380 public:
381 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
382 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
383 : wxPopupTransientWindow(parent, style) {}
384
385 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
386 DEC_PYCALLBACK__(OnDismiss);
387 DEC_PYCALLBACK_BOOL_(CanDismiss);
388 PYPRIVATE;
389 };
390
391
392 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
393 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
394 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
395
396
397 #include <wx/tipwin.h>
398
399 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
400 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
401 }
402
403 #include <wx/tipwin.h>
404
405
406 #include <wx/vscroll.h>
407
408
409 class wxPyVScrolledWindow : public wxVScrolledWindow
410 {
411 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
412 public:
413 wxPyVScrolledWindow() : wxVScrolledWindow() {}
414
415 wxPyVScrolledWindow(wxWindow *parent,
416 wxWindowID id = wxID_ANY,
417 const wxPoint& pos = wxDefaultPosition,
418 const wxSize& size = wxDefaultSize,
419 long style = 0,
420 const wxString& name = wxPyPanelNameStr)
421 : wxVScrolledWindow(parent, id, pos, size, style, name)
422 {}
423
424 // Overridable virtuals
425
426 // this function must be overridden in the derived class and it should
427 // return the height of the given line in pixels
428 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
429
430
431 // this function doesn't have to be overridden but it may be useful to do
432 // it if calculating the lines heights is a relatively expensive operation
433 // as it gives the user code a possibility to calculate several of them at
434 // once
435 //
436 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
437 // shouldn't rely on the latter being called for all lines in the interval
438 // specified here. It is also possible that OnGetLineHeight() will be
439 // called for the lines outside of this interval, so this is really just a
440 // hint, not a promise.
441 //
442 // finally note that lineMin is inclusive, while lineMax is exclusive, as
443 // usual
444 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
445
446
447 // when the number of lines changes, we try to estimate the total height
448 // of all lines which is a rather expensive operation in terms of lines
449 // access, so if the user code may estimate the average height
450 // better/faster than we do, it should override this function to implement
451 // its own logic
452 //
453 // this function should return the best guess for the total height it may
454 // make
455 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
456
457
458 // Also expose some other interesting protected methods
459
460
461 // find the index of the line we need to show at the top of the window such
462 // that the last (fully or partially) visible line is the given one
463 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
464 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
465
466 // get the total height of the lines between lineMin (inclusive) and
467 // lineMax (exclusive)
468 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
469 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
470
471
472 PYPRIVATE;
473 };
474
475 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
476
477 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
478 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
479 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
480
481
482 #include <wx/vlbox.h>
483 DECLARE_DEF_STRING(VListBoxNameStr);
484
485
486 class wxPyVListBox : public wxVListBox
487 {
488 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
489 public:
490 wxPyVListBox() : wxVListBox() {}
491
492 wxPyVListBox(wxWindow *parent,
493 wxWindowID id = wxID_ANY,
494 const wxPoint& pos = wxDefaultPosition,
495 const wxSize& size = wxDefaultSize,
496 long style = 0,
497 const wxString& name = wxPyVListBoxNameStr)
498 : wxVListBox(parent, id, pos, size, style, name)
499 {}
500
501 // Overridable virtuals
502
503 // the derived class must implement this function to actually draw the item
504 // with the given index on the provided DC
505 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
506 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
507
508
509 // the derived class must implement this method to return the height of the
510 // specified item
511 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
512 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
513
514
515 // this method may be used to draw separators between the lines; note that
516 // the rectangle may be modified, typically to deflate it a bit before
517 // passing to OnDrawItem()
518 //
519 // the base class version doesn't do anything
520 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
521 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
522
523
524 // this method is used to draw the items background and, maybe, a border
525 // around it
526 //
527 // the base class version implements a reasonable default behaviour which
528 // consists in drawing the selected item with the standard background
529 // colour and drawing a border around the item if it is either selected or
530 // current
531 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
532 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
533
534
535 PYPRIVATE;
536 };
537
538 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
539
540 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
541 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
542 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
543 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
544
545
546
547 #include <wx/htmllbox.h>
548
549
550 class wxPyHtmlListBox : public wxHtmlListBox
551 {
552 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
553 public:
554 wxPyHtmlListBox() : wxHtmlListBox() {}
555
556 wxPyHtmlListBox(wxWindow *parent,
557 wxWindowID id = wxID_ANY,
558 const wxPoint& pos = wxDefaultPosition,
559 const wxSize& size = wxDefaultSize,
560 long style = 0,
561 const wxString& name = wxPyVListBoxNameStr)
562 : wxHtmlListBox(parent, id, pos, size, style, name)
563 {}
564
565 // Overridable virtuals
566
567 // this method must be implemented in the derived class and should return
568 // the body (i.e. without <html>) of the HTML for the given item
569 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
570
571 // this function may be overridden to decorate HTML returned by OnGetItem()
572 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
573
574 // TODO:
575 // // this method allows to customize the selection appearance: it may be used
576 // // to specify the colour of the text which normally has the given colour
577 // // colFg when it is inside the selection
578 // //
579 // // by default, the original colour is not used at all and all text has the
580 // // same (default for this system) colour inside selection
581 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
582
583 // // this is the same as GetSelectedTextColour() but allows to customize the
584 // // background colour -- this is even more rarely used as you can change it
585 // // globally using SetSelectionBackground()
586 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
587
588
589 PYPRIVATE;
590 };
591
592
593 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
594
595 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
596 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
597
598
599
600
601
602 #ifdef __WXMAC__
603 // implement dummy classes and such for wxMac
604
605 class wxTaskBarIcon : public wxEvtHandler
606 {
607 public:
608 wxTaskBarIcon() { PyErr_SetNone(PyExc_NotImplementedError); }
609 };
610
611
612 class wxTaskBarIconEvent : public wxEvent
613 {
614 public:
615 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
616 { PyErr_SetNone(PyExc_NotImplementedError); }
617 virtual wxEvent* Clone() const { return NULL; }
618 };
619
620 enum {
621 wxEVT_TASKBAR_MOVE = 0,
622 wxEVT_TASKBAR_LEFT_DOWN = 0,
623 wxEVT_TASKBAR_LEFT_UP = 0,
624 wxEVT_TASKBAR_RIGHT_DOWN = 0,
625 wxEVT_TASKBAR_RIGHT_UP = 0,
626 wxEVT_TASKBAR_LEFT_DCLICK = 0,
627 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
628 };
629 #endif
630
631
632
633 DECLARE_DEF_STRING(FileSelectorPromptStr);
634 DECLARE_DEF_STRING(DirSelectorPromptStr);
635 DECLARE_DEF_STRING(DirDialogNameStr);
636 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr);
637 DECLARE_DEF_STRING(GetTextFromUserPromptStr);
638 DECLARE_DEF_STRING(MessageBoxCaptionStr);
639
640
641 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
642 wxArrayString arr;
643 self->GetFilenames(arr);
644 return wxArrayString2PyList_helper(arr);
645 }
646 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
647 wxArrayString arr;
648 self->GetPaths(arr);
649 return wxArrayString2PyList_helper(arr);
650 }
651 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
652 return wxArrayInt2PyList_helper(self->GetSelections());
653 }
654 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
655 return new wxSingleChoiceDialog(parent, message, caption,
656 choices, choices_array, NULL, style, pos);
657 }
658
659 #include <wx/mdi.h>
660
661 // C++ version of Python aware wxWindow
662 class wxPyWindow : public wxWindow
663 {
664 DECLARE_DYNAMIC_CLASS(wxPyWindow)
665 public:
666 wxPyWindow() : wxWindow() {}
667 wxPyWindow(wxWindow* parent, const wxWindowID id,
668 const wxPoint& pos = wxDefaultPosition,
669 const wxSize& size = wxDefaultSize,
670 long style = 0,
671 const wxString& name = wxPyPanelNameStr)
672 : wxWindow(parent, id, pos, size, style, name) {}
673
674
675 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
676 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
677 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
678 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
679
680 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
681 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
682 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
683
684 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
685 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
686
687 DEC_PYCALLBACK__(InitDialog);
688 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
689 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
690 DEC_PYCALLBACK_BOOL_(Validate);
691
692 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
693 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
694 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
695
696 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
697 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
698
699 PYPRIVATE;
700 };
701
702 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
703
704 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
705 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
706 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
707 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
708
709 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
710 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
711 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
712
713 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
714 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
715
716 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
717 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
718 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
719 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
720
721 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
722 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
723 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
724
725 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
726 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
727
728
729 // C++ version of Python aware wxPanel
730 class wxPyPanel : public wxPanel
731 {
732 DECLARE_DYNAMIC_CLASS(wxPyPanel)
733 public:
734 wxPyPanel() : wxPanel() {}
735 wxPyPanel(wxWindow* parent, const wxWindowID id,
736 const wxPoint& pos = wxDefaultPosition,
737 const wxSize& size = wxDefaultSize,
738 long style = 0,
739 const wxString& name = wxPyPanelNameStr)
740 : wxPanel(parent, id, pos, size, style, name) {}
741
742
743 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
744 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
745 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
746 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
747
748 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
749 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
750 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
751
752 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
753 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
754
755 DEC_PYCALLBACK__(InitDialog);
756 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
757 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
758 DEC_PYCALLBACK_BOOL_(Validate);
759
760 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
761 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
762 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
763
764 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
765 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
766
767 PYPRIVATE;
768 };
769
770 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
771
772 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
773 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
774 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
775 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
776
777 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
778 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
779 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
780
781 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
782 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
783
784 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
785 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
786 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
787 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
788
789 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
790 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
791 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
792
793 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
794 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
795
796
797
798 #include "wx/wxPython/printfw.h"
799
800 static const wxChar* wxPrintoutTitleStr = wxT("Printout");
801 DECLARE_DEF_STRING(PrintoutTitleStr);
802 static const wxChar* wxPreviewCanvasNameStr = wxT("previewcanvas");
803 DECLARE_DEF_STRING(PreviewCanvasNameStr);
804
805
806
807
808
809 // Since this one would be tough and ugly to do with the Macros...
810 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
811 bool hadErr = False;
812 bool found;
813
814 wxPyBeginBlockThreads();
815 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
816 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
817 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
818 PyObject* val;
819
820 val = PyTuple_GetItem(result, 0);
821 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
822 else hadErr = True;
823
824 val = PyTuple_GetItem(result, 1);
825 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
826 else hadErr = True;
827
828 val = PyTuple_GetItem(result, 2);
829 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
830 else hadErr = True;
831
832 val = PyTuple_GetItem(result, 3);
833 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
834 else hadErr = True;
835 }
836 else
837 hadErr = True;
838
839 if (hadErr) {
840 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
841 PyErr_Print();
842 }
843 Py_DECREF(result);
844 }
845 wxPyEndBlockThreads();
846 if (! found)
847 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
848 }
849
850 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
851 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
852 }
853
854
855 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
856 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
857 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
858 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
859 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
860 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
861 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
862
863
864
865
866
867 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
868 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
869 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
870
871
872 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
873 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
874 bool rval=False; \
875 bool found; \
876 wxPyBeginBlockThreads(); \
877 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
878 PyObject* win = wxPyMake_wxObject(a); \
879 PyObject* dc = wxPyMake_wxObject(&b); \
880 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
881 Py_DECREF(win); \
882 Py_DECREF(dc); \
883 } \
884 wxPyEndBlockThreads(); \
885 if (! found) \
886 rval = PCLASS::CBNAME(a, b); \
887 return rval; \
888 } \
889 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
890 return PCLASS::CBNAME(a, b); \
891 }
892
893
894
895
896 class wxPyPrintPreview : public wxPrintPreview
897 {
898 DECLARE_CLASS(wxPyPrintPreview)
899 public:
900 wxPyPrintPreview(wxPyPrintout* printout,
901 wxPyPrintout* printoutForPrinting,
902 wxPrintData* data=NULL)
903 : wxPrintPreview(printout, printoutForPrinting, data)
904 {}
905
906 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
907 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
908 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
909 DEC_PYCALLBACK_BOOL_INT(RenderPage);
910 DEC_PYCALLBACK_VOID_INT(SetZoom);
911 DEC_PYCALLBACK_BOOL_BOOL(Print);
912 DEC_PYCALLBACK_VOID_(DetermineScaling);
913
914 PYPRIVATE;
915 };
916
917 // Stupid renamed classes... Fix this in 2.5...
918 #if defined(__WXMSW__)
919 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
920 #elif defined(__WXMAC__)
921 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
922 #else
923 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
924 #endif
925
926 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
927 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
928 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
929 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
930 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
931 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
932 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
933
934
935 class wxPyPreviewFrame : public wxPreviewFrame
936 {
937 DECLARE_CLASS(wxPyPreviewFrame);
938 public:
939 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
940 const wxString& title,
941 const wxPoint& pos = wxDefaultPosition,
942 const wxSize& size = wxDefaultSize,
943 long style = wxDEFAULT_FRAME_STYLE,
944 const wxString& name = wxPyFrameNameStr)
945 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
946 {}
947
948 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
949 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
950
951 DEC_PYCALLBACK_VOID_(Initialize);
952 DEC_PYCALLBACK_VOID_(CreateCanvas);
953 DEC_PYCALLBACK_VOID_(CreateControlBar);
954
955 PYPRIVATE;
956 };
957
958 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
959
960 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
961 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
962 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
963
964
965 class wxPyPreviewControlBar : public wxPreviewControlBar
966 {
967 DECLARE_CLASS(wxPyPreviewControlBar);
968 public:
969 wxPyPreviewControlBar(wxPrintPreview *preview,
970 long buttons,
971 wxWindow *parent,
972 const wxPoint& pos = wxDefaultPosition,
973 const wxSize& size = wxDefaultSize,
974 long style = 0,
975 const wxString& name = wxPyPanelNameStr)
976 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
977 {}
978
979 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
980
981 DEC_PYCALLBACK_VOID_(CreateButtons);
982 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
983
984 PYPRIVATE;
985 };
986
987 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
988 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
989 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
990
991 #ifdef __cplusplus
992 extern "C" {
993 #endif
994 static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
995 PyObject *resultobj;
996 wxWindow *arg1 = (wxWindow *) 0 ;
997 int arg2 = (int) (int)-1 ;
998 wxPoint const &arg3_defvalue = wxDefaultPosition ;
999 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1000 wxSize const &arg4_defvalue = wxDefaultSize ;
1001 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1002 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1003 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1004 wxString *arg6 = (wxString *) &arg6_defvalue ;
1005 wxPanel *result;
1006 wxPoint temp3 ;
1007 wxSize temp4 ;
1008 bool temp6 = False ;
1009 PyObject * obj0 = 0 ;
1010 PyObject * obj2 = 0 ;
1011 PyObject * obj3 = 0 ;
1012 PyObject * obj5 = 0 ;
1013 char *kwnames[] = {
1014 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1015 };
1016
1017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_Panel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
1018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1019 if (obj2) {
1020 {
1021 arg3 = &temp3;
1022 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1023 }
1024 }
1025 if (obj3) {
1026 {
1027 arg4 = &temp4;
1028 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1029 }
1030 }
1031 if (obj5) {
1032 {
1033 arg6 = wxString_in_helper(obj5);
1034 if (arg6 == NULL) SWIG_fail;
1035 temp6 = True;
1036 }
1037 }
1038 {
1039 PyThreadState* __tstate = wxPyBeginAllowThreads();
1040 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1041
1042 wxPyEndAllowThreads(__tstate);
1043 if (PyErr_Occurred()) SWIG_fail;
1044 }
1045 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1046 {
1047 if (temp6)
1048 delete arg6;
1049 }
1050 return resultobj;
1051 fail:
1052 {
1053 if (temp6)
1054 delete arg6;
1055 }
1056 return NULL;
1057 }
1058
1059
1060 static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1061 PyObject *resultobj;
1062 wxPanel *result;
1063 char *kwnames[] = {
1064 NULL
1065 };
1066
1067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1068 {
1069 PyThreadState* __tstate = wxPyBeginAllowThreads();
1070 result = (wxPanel *)new wxPanel();
1071
1072 wxPyEndAllowThreads(__tstate);
1073 if (PyErr_Occurred()) SWIG_fail;
1074 }
1075 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1076 return resultobj;
1077 fail:
1078 return NULL;
1079 }
1080
1081
1082 static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1083 PyObject *resultobj;
1084 wxPanel *arg1 = (wxPanel *) 0 ;
1085 wxWindow *arg2 = (wxWindow *) 0 ;
1086 int arg3 ;
1087 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1088 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1089 wxSize const &arg5_defvalue = wxDefaultSize ;
1090 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1091 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1092 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1093 wxString *arg7 = (wxString *) &arg7_defvalue ;
1094 bool result;
1095 wxPoint temp4 ;
1096 wxSize temp5 ;
1097 bool temp7 = False ;
1098 PyObject * obj0 = 0 ;
1099 PyObject * obj1 = 0 ;
1100 PyObject * obj3 = 0 ;
1101 PyObject * obj4 = 0 ;
1102 PyObject * obj6 = 0 ;
1103 char *kwnames[] = {
1104 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1105 };
1106
1107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Panel_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1109 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1110 if (obj3) {
1111 {
1112 arg4 = &temp4;
1113 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1114 }
1115 }
1116 if (obj4) {
1117 {
1118 arg5 = &temp5;
1119 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1120 }
1121 }
1122 if (obj6) {
1123 {
1124 arg7 = wxString_in_helper(obj6);
1125 if (arg7 == NULL) SWIG_fail;
1126 temp7 = True;
1127 }
1128 }
1129 {
1130 PyThreadState* __tstate = wxPyBeginAllowThreads();
1131 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1132
1133 wxPyEndAllowThreads(__tstate);
1134 if (PyErr_Occurred()) SWIG_fail;
1135 }
1136 resultobj = PyInt_FromLong((long)result);
1137 {
1138 if (temp7)
1139 delete arg7;
1140 }
1141 return resultobj;
1142 fail:
1143 {
1144 if (temp7)
1145 delete arg7;
1146 }
1147 return NULL;
1148 }
1149
1150
1151 static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1152 PyObject *resultobj;
1153 wxPanel *arg1 = (wxPanel *) 0 ;
1154 PyObject * obj0 = 0 ;
1155 char *kwnames[] = {
1156 (char *) "self", NULL
1157 };
1158
1159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1161 {
1162 PyThreadState* __tstate = wxPyBeginAllowThreads();
1163 (arg1)->InitDialog();
1164
1165 wxPyEndAllowThreads(__tstate);
1166 if (PyErr_Occurred()) SWIG_fail;
1167 }
1168 Py_INCREF(Py_None); resultobj = Py_None;
1169 return resultobj;
1170 fail:
1171 return NULL;
1172 }
1173
1174
1175 static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1176 PyObject *obj;
1177 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1178 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1179 Py_INCREF(obj);
1180 return Py_BuildValue((char *)"");
1181 }
1182 static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1183 PyObject *resultobj;
1184 wxWindow *arg1 = (wxWindow *) 0 ;
1185 int arg2 = (int) (int)-1 ;
1186 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1187 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1188 wxSize const &arg4_defvalue = wxDefaultSize ;
1189 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1190 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1191 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1192 wxString *arg6 = (wxString *) &arg6_defvalue ;
1193 wxScrolledWindow *result;
1194 wxPoint temp3 ;
1195 wxSize temp4 ;
1196 bool temp6 = False ;
1197 PyObject * obj0 = 0 ;
1198 PyObject * obj2 = 0 ;
1199 PyObject * obj3 = 0 ;
1200 PyObject * obj5 = 0 ;
1201 char *kwnames[] = {
1202 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1203 };
1204
1205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_ScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
1206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1207 if (obj2) {
1208 {
1209 arg3 = &temp3;
1210 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1211 }
1212 }
1213 if (obj3) {
1214 {
1215 arg4 = &temp4;
1216 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1217 }
1218 }
1219 if (obj5) {
1220 {
1221 arg6 = wxString_in_helper(obj5);
1222 if (arg6 == NULL) SWIG_fail;
1223 temp6 = True;
1224 }
1225 }
1226 {
1227 PyThreadState* __tstate = wxPyBeginAllowThreads();
1228 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1229
1230 wxPyEndAllowThreads(__tstate);
1231 if (PyErr_Occurred()) SWIG_fail;
1232 }
1233 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1234 {
1235 if (temp6)
1236 delete arg6;
1237 }
1238 return resultobj;
1239 fail:
1240 {
1241 if (temp6)
1242 delete arg6;
1243 }
1244 return NULL;
1245 }
1246
1247
1248 static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1249 PyObject *resultobj;
1250 wxScrolledWindow *result;
1251 char *kwnames[] = {
1252 NULL
1253 };
1254
1255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1256 {
1257 PyThreadState* __tstate = wxPyBeginAllowThreads();
1258 result = (wxScrolledWindow *)new wxScrolledWindow();
1259
1260 wxPyEndAllowThreads(__tstate);
1261 if (PyErr_Occurred()) SWIG_fail;
1262 }
1263 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1264 return resultobj;
1265 fail:
1266 return NULL;
1267 }
1268
1269
1270 static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1271 PyObject *resultobj;
1272 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1273 wxWindow *arg2 = (wxWindow *) 0 ;
1274 int arg3 = (int) (int)-1 ;
1275 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1276 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1277 wxSize const &arg5_defvalue = wxDefaultSize ;
1278 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1279 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1280 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1281 wxString *arg7 = (wxString *) &arg7_defvalue ;
1282 bool result;
1283 wxPoint temp4 ;
1284 wxSize temp5 ;
1285 bool temp7 = False ;
1286 PyObject * obj0 = 0 ;
1287 PyObject * obj1 = 0 ;
1288 PyObject * obj3 = 0 ;
1289 PyObject * obj4 = 0 ;
1290 PyObject * obj6 = 0 ;
1291 char *kwnames[] = {
1292 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1293 };
1294
1295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1297 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1298 if (obj3) {
1299 {
1300 arg4 = &temp4;
1301 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1302 }
1303 }
1304 if (obj4) {
1305 {
1306 arg5 = &temp5;
1307 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1308 }
1309 }
1310 if (obj6) {
1311 {
1312 arg7 = wxString_in_helper(obj6);
1313 if (arg7 == NULL) SWIG_fail;
1314 temp7 = True;
1315 }
1316 }
1317 {
1318 PyThreadState* __tstate = wxPyBeginAllowThreads();
1319 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1320
1321 wxPyEndAllowThreads(__tstate);
1322 if (PyErr_Occurred()) SWIG_fail;
1323 }
1324 resultobj = PyInt_FromLong((long)result);
1325 {
1326 if (temp7)
1327 delete arg7;
1328 }
1329 return resultobj;
1330 fail:
1331 {
1332 if (temp7)
1333 delete arg7;
1334 }
1335 return NULL;
1336 }
1337
1338
1339 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1340 PyObject *resultobj;
1341 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1342 int arg2 ;
1343 int arg3 ;
1344 int arg4 ;
1345 int arg5 ;
1346 int arg6 = (int) 0 ;
1347 int arg7 = (int) 0 ;
1348 bool arg8 = (bool) False ;
1349 PyObject * obj0 = 0 ;
1350 PyObject * obj7 = 0 ;
1351 char *kwnames[] = {
1352 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1353 };
1354
1355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|iiO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7,&obj7)) goto fail;
1356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1357 if (obj7) {
1358 arg8 = PyInt_AsLong(obj7) ? true : false;
1359 if (PyErr_Occurred()) SWIG_fail;
1360 }
1361 {
1362 PyThreadState* __tstate = wxPyBeginAllowThreads();
1363 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1364
1365 wxPyEndAllowThreads(__tstate);
1366 if (PyErr_Occurred()) SWIG_fail;
1367 }
1368 Py_INCREF(Py_None); resultobj = Py_None;
1369 return resultobj;
1370 fail:
1371 return NULL;
1372 }
1373
1374
1375 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1376 PyObject *resultobj;
1377 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1378 int arg2 ;
1379 int arg3 ;
1380 PyObject * obj0 = 0 ;
1381 char *kwnames[] = {
1382 (char *) "self",(char *) "x",(char *) "y", NULL
1383 };
1384
1385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_Scroll",kwnames,&obj0,&arg2,&arg3)) goto fail;
1386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1387 {
1388 PyThreadState* __tstate = wxPyBeginAllowThreads();
1389 (arg1)->Scroll(arg2,arg3);
1390
1391 wxPyEndAllowThreads(__tstate);
1392 if (PyErr_Occurred()) SWIG_fail;
1393 }
1394 Py_INCREF(Py_None); resultobj = Py_None;
1395 return resultobj;
1396 fail:
1397 return NULL;
1398 }
1399
1400
1401 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1402 PyObject *resultobj;
1403 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1404 int arg2 ;
1405 int result;
1406 PyObject * obj0 = 0 ;
1407 char *kwnames[] = {
1408 (char *) "self",(char *) "orient", NULL
1409 };
1410
1411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&arg2)) goto fail;
1412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1413 {
1414 PyThreadState* __tstate = wxPyBeginAllowThreads();
1415 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1416
1417 wxPyEndAllowThreads(__tstate);
1418 if (PyErr_Occurred()) SWIG_fail;
1419 }
1420 resultobj = PyInt_FromLong((long)result);
1421 return resultobj;
1422 fail:
1423 return NULL;
1424 }
1425
1426
1427 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1428 PyObject *resultobj;
1429 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1430 int arg2 ;
1431 int arg3 ;
1432 PyObject * obj0 = 0 ;
1433 char *kwnames[] = {
1434 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1435 };
1436
1437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
1438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1439 {
1440 PyThreadState* __tstate = wxPyBeginAllowThreads();
1441 (arg1)->SetScrollPageSize(arg2,arg3);
1442
1443 wxPyEndAllowThreads(__tstate);
1444 if (PyErr_Occurred()) SWIG_fail;
1445 }
1446 Py_INCREF(Py_None); resultobj = Py_None;
1447 return resultobj;
1448 fail:
1449 return NULL;
1450 }
1451
1452
1453 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1454 PyObject *resultobj;
1455 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1456 int arg2 ;
1457 int arg3 ;
1458 PyObject * obj0 = 0 ;
1459 char *kwnames[] = {
1460 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1461 };
1462
1463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollRate",kwnames,&obj0,&arg2,&arg3)) goto fail;
1464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1465 {
1466 PyThreadState* __tstate = wxPyBeginAllowThreads();
1467 (arg1)->SetScrollRate(arg2,arg3);
1468
1469 wxPyEndAllowThreads(__tstate);
1470 if (PyErr_Occurred()) SWIG_fail;
1471 }
1472 Py_INCREF(Py_None); resultobj = Py_None;
1473 return resultobj;
1474 fail:
1475 return NULL;
1476 }
1477
1478
1479 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1480 PyObject *resultobj;
1481 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1482 int *arg2 = (int *) 0 ;
1483 int *arg3 = (int *) 0 ;
1484 int temp2 ;
1485 int temp3 ;
1486 PyObject * obj0 = 0 ;
1487 char *kwnames[] = {
1488 (char *) "self", NULL
1489 };
1490
1491 arg2 = &temp2;
1492 arg3 = &temp3;
1493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1495 {
1496 PyThreadState* __tstate = wxPyBeginAllowThreads();
1497 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1498
1499 wxPyEndAllowThreads(__tstate);
1500 if (PyErr_Occurred()) SWIG_fail;
1501 }
1502 Py_INCREF(Py_None); resultobj = Py_None;
1503 {
1504 PyObject *o = PyInt_FromLong((long) (*arg2));
1505 resultobj = t_output_helper(resultobj,o);
1506 }
1507 {
1508 PyObject *o = PyInt_FromLong((long) (*arg3));
1509 resultobj = t_output_helper(resultobj,o);
1510 }
1511 return resultobj;
1512 fail:
1513 return NULL;
1514 }
1515
1516
1517 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1518 PyObject *resultobj;
1519 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1520 bool arg2 ;
1521 bool arg3 ;
1522 PyObject * obj0 = 0 ;
1523 PyObject * obj1 = 0 ;
1524 PyObject * obj2 = 0 ;
1525 char *kwnames[] = {
1526 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1527 };
1528
1529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1531 arg2 = PyInt_AsLong(obj1) ? true : false;
1532 if (PyErr_Occurred()) SWIG_fail;
1533 arg3 = PyInt_AsLong(obj2) ? true : false;
1534 if (PyErr_Occurred()) SWIG_fail;
1535 {
1536 PyThreadState* __tstate = wxPyBeginAllowThreads();
1537 (arg1)->EnableScrolling(arg2,arg3);
1538
1539 wxPyEndAllowThreads(__tstate);
1540 if (PyErr_Occurred()) SWIG_fail;
1541 }
1542 Py_INCREF(Py_None); resultobj = Py_None;
1543 return resultobj;
1544 fail:
1545 return NULL;
1546 }
1547
1548
1549 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1550 PyObject *resultobj;
1551 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1552 int *arg2 = (int *) 0 ;
1553 int *arg3 = (int *) 0 ;
1554 int temp2 ;
1555 int temp3 ;
1556 PyObject * obj0 = 0 ;
1557 char *kwnames[] = {
1558 (char *) "self", NULL
1559 };
1560
1561 arg2 = &temp2;
1562 arg3 = &temp3;
1563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1565 {
1566 PyThreadState* __tstate = wxPyBeginAllowThreads();
1567 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1568
1569 wxPyEndAllowThreads(__tstate);
1570 if (PyErr_Occurred()) SWIG_fail;
1571 }
1572 Py_INCREF(Py_None); resultobj = Py_None;
1573 {
1574 PyObject *o = PyInt_FromLong((long) (*arg2));
1575 resultobj = t_output_helper(resultobj,o);
1576 }
1577 {
1578 PyObject *o = PyInt_FromLong((long) (*arg3));
1579 resultobj = t_output_helper(resultobj,o);
1580 }
1581 return resultobj;
1582 fail:
1583 return NULL;
1584 }
1585
1586
1587 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
1588 PyObject *resultobj;
1589 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1590 double arg2 ;
1591 double arg3 ;
1592 PyObject * obj0 = 0 ;
1593 char *kwnames[] = {
1594 (char *) "self",(char *) "xs",(char *) "ys", NULL
1595 };
1596
1597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ScrolledWindow_SetScale",kwnames,&obj0,&arg2,&arg3)) goto fail;
1598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1599 {
1600 PyThreadState* __tstate = wxPyBeginAllowThreads();
1601 (arg1)->SetScale(arg2,arg3);
1602
1603 wxPyEndAllowThreads(__tstate);
1604 if (PyErr_Occurred()) SWIG_fail;
1605 }
1606 Py_INCREF(Py_None); resultobj = Py_None;
1607 return resultobj;
1608 fail:
1609 return NULL;
1610 }
1611
1612
1613 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
1614 PyObject *resultobj;
1615 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1616 double result;
1617 PyObject * obj0 = 0 ;
1618 char *kwnames[] = {
1619 (char *) "self", NULL
1620 };
1621
1622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
1623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1624 {
1625 PyThreadState* __tstate = wxPyBeginAllowThreads();
1626 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
1627
1628 wxPyEndAllowThreads(__tstate);
1629 if (PyErr_Occurred()) SWIG_fail;
1630 }
1631 resultobj = PyFloat_FromDouble(result);
1632 return resultobj;
1633 fail:
1634 return NULL;
1635 }
1636
1637
1638 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
1639 PyObject *resultobj;
1640 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1641 double result;
1642 PyObject * obj0 = 0 ;
1643 char *kwnames[] = {
1644 (char *) "self", NULL
1645 };
1646
1647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
1648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1649 {
1650 PyThreadState* __tstate = wxPyBeginAllowThreads();
1651 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
1652
1653 wxPyEndAllowThreads(__tstate);
1654 if (PyErr_Occurred()) SWIG_fail;
1655 }
1656 resultobj = PyFloat_FromDouble(result);
1657 return resultobj;
1658 fail:
1659 return NULL;
1660 }
1661
1662
1663 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1664 PyObject *resultobj;
1665 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1666 wxPoint *arg2 = 0 ;
1667 wxPoint result;
1668 wxPoint temp2 ;
1669 PyObject * obj0 = 0 ;
1670 PyObject * obj1 = 0 ;
1671
1672 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
1673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1674 {
1675 arg2 = &temp2;
1676 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1677 }
1678 {
1679 PyThreadState* __tstate = wxPyBeginAllowThreads();
1680 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
1681
1682 wxPyEndAllowThreads(__tstate);
1683 if (PyErr_Occurred()) SWIG_fail;
1684 }
1685 {
1686 wxPoint * resultptr;
1687 resultptr = new wxPoint((wxPoint &) result);
1688 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
1689 }
1690 return resultobj;
1691 fail:
1692 return NULL;
1693 }
1694
1695
1696 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1697 PyObject *resultobj;
1698 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1699 int arg2 ;
1700 int arg3 ;
1701 int *arg4 = (int *) 0 ;
1702 int *arg5 = (int *) 0 ;
1703 int temp4 ;
1704 int temp5 ;
1705 PyObject * obj0 = 0 ;
1706
1707 arg4 = &temp4;
1708 arg5 = &temp5;
1709 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcScrolledPosition",&obj0,&arg2,&arg3)) goto fail;
1710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1711 {
1712 PyThreadState* __tstate = wxPyBeginAllowThreads();
1713 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
1714
1715 wxPyEndAllowThreads(__tstate);
1716 if (PyErr_Occurred()) SWIG_fail;
1717 }
1718 Py_INCREF(Py_None); resultobj = Py_None;
1719 {
1720 PyObject *o = PyInt_FromLong((long) (*arg4));
1721 resultobj = t_output_helper(resultobj,o);
1722 }
1723 {
1724 PyObject *o = PyInt_FromLong((long) (*arg5));
1725 resultobj = t_output_helper(resultobj,o);
1726 }
1727 return resultobj;
1728 fail:
1729 return NULL;
1730 }
1731
1732
1733 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
1734 int argc;
1735 PyObject *argv[4];
1736 int ii;
1737
1738 argc = PyObject_Length(args);
1739 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1740 argv[ii] = PyTuple_GetItem(args,ii);
1741 }
1742 if (argc == 2) {
1743 int _v;
1744 {
1745 void *ptr;
1746 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1747 _v = 0;
1748 PyErr_Clear();
1749 } else {
1750 _v = 1;
1751 }
1752 }
1753 if (_v) {
1754 {
1755 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1756 }
1757 if (_v) {
1758 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
1759 }
1760 }
1761 }
1762 if (argc == 3) {
1763 int _v;
1764 {
1765 void *ptr;
1766 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1767 _v = 0;
1768 PyErr_Clear();
1769 } else {
1770 _v = 1;
1771 }
1772 }
1773 if (_v) {
1774 {
1775 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1776 }
1777 if (_v) {
1778 {
1779 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1780 }
1781 if (_v) {
1782 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
1783 }
1784 }
1785 }
1786 }
1787
1788 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
1789 return NULL;
1790 }
1791
1792
1793 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1794 PyObject *resultobj;
1795 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1796 wxPoint *arg2 = 0 ;
1797 wxPoint result;
1798 wxPoint temp2 ;
1799 PyObject * obj0 = 0 ;
1800 PyObject * obj1 = 0 ;
1801
1802 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
1803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1804 {
1805 arg2 = &temp2;
1806 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1807 }
1808 {
1809 PyThreadState* __tstate = wxPyBeginAllowThreads();
1810 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
1811
1812 wxPyEndAllowThreads(__tstate);
1813 if (PyErr_Occurred()) SWIG_fail;
1814 }
1815 {
1816 wxPoint * resultptr;
1817 resultptr = new wxPoint((wxPoint &) result);
1818 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
1819 }
1820 return resultobj;
1821 fail:
1822 return NULL;
1823 }
1824
1825
1826 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1827 PyObject *resultobj;
1828 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1829 int arg2 ;
1830 int arg3 ;
1831 int *arg4 = (int *) 0 ;
1832 int *arg5 = (int *) 0 ;
1833 int temp4 ;
1834 int temp5 ;
1835 PyObject * obj0 = 0 ;
1836
1837 arg4 = &temp4;
1838 arg5 = &temp5;
1839 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcUnscrolledPosition",&obj0,&arg2,&arg3)) goto fail;
1840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1841 {
1842 PyThreadState* __tstate = wxPyBeginAllowThreads();
1843 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
1844
1845 wxPyEndAllowThreads(__tstate);
1846 if (PyErr_Occurred()) SWIG_fail;
1847 }
1848 Py_INCREF(Py_None); resultobj = Py_None;
1849 {
1850 PyObject *o = PyInt_FromLong((long) (*arg4));
1851 resultobj = t_output_helper(resultobj,o);
1852 }
1853 {
1854 PyObject *o = PyInt_FromLong((long) (*arg5));
1855 resultobj = t_output_helper(resultobj,o);
1856 }
1857 return resultobj;
1858 fail:
1859 return NULL;
1860 }
1861
1862
1863 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
1864 int argc;
1865 PyObject *argv[4];
1866 int ii;
1867
1868 argc = PyObject_Length(args);
1869 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1870 argv[ii] = PyTuple_GetItem(args,ii);
1871 }
1872 if (argc == 2) {
1873 int _v;
1874 {
1875 void *ptr;
1876 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1877 _v = 0;
1878 PyErr_Clear();
1879 } else {
1880 _v = 1;
1881 }
1882 }
1883 if (_v) {
1884 {
1885 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1886 }
1887 if (_v) {
1888 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
1889 }
1890 }
1891 }
1892 if (argc == 3) {
1893 int _v;
1894 {
1895 void *ptr;
1896 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1897 _v = 0;
1898 PyErr_Clear();
1899 } else {
1900 _v = 1;
1901 }
1902 }
1903 if (_v) {
1904 {
1905 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1906 }
1907 if (_v) {
1908 {
1909 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1910 }
1911 if (_v) {
1912 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
1913 }
1914 }
1915 }
1916 }
1917
1918 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
1919 return NULL;
1920 }
1921
1922
1923 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1924 PyObject *resultobj;
1925 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1926 PyObject * obj0 = 0 ;
1927 char *kwnames[] = {
1928 (char *) "self", NULL
1929 };
1930
1931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
1932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1933 {
1934 PyThreadState* __tstate = wxPyBeginAllowThreads();
1935 (arg1)->AdjustScrollbars();
1936
1937 wxPyEndAllowThreads(__tstate);
1938 if (PyErr_Occurred()) SWIG_fail;
1939 }
1940 Py_INCREF(Py_None); resultobj = Py_None;
1941 return resultobj;
1942 fail:
1943 return NULL;
1944 }
1945
1946
1947 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
1948 PyObject *resultobj;
1949 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1950 wxScrollWinEvent *arg2 = 0 ;
1951 int result;
1952 PyObject * obj0 = 0 ;
1953 PyObject * obj1 = 0 ;
1954 char *kwnames[] = {
1955 (char *) "self",(char *) "event", NULL
1956 };
1957
1958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
1959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1960 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1961 if (arg2 == NULL) {
1962 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1963 }
1964 {
1965 PyThreadState* __tstate = wxPyBeginAllowThreads();
1966 result = (int)(arg1)->CalcScrollInc(*arg2);
1967
1968 wxPyEndAllowThreads(__tstate);
1969 if (PyErr_Occurred()) SWIG_fail;
1970 }
1971 resultobj = PyInt_FromLong((long)result);
1972 return resultobj;
1973 fail:
1974 return NULL;
1975 }
1976
1977
1978 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1979 PyObject *resultobj;
1980 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1981 wxWindow *arg2 = (wxWindow *) 0 ;
1982 PyObject * obj0 = 0 ;
1983 PyObject * obj1 = 0 ;
1984 char *kwnames[] = {
1985 (char *) "self",(char *) "target", NULL
1986 };
1987
1988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
1989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1990 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1991 {
1992 PyThreadState* __tstate = wxPyBeginAllowThreads();
1993 (arg1)->SetTargetWindow(arg2);
1994
1995 wxPyEndAllowThreads(__tstate);
1996 if (PyErr_Occurred()) SWIG_fail;
1997 }
1998 Py_INCREF(Py_None); resultobj = Py_None;
1999 return resultobj;
2000 fail:
2001 return NULL;
2002 }
2003
2004
2005 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2006 PyObject *resultobj;
2007 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2008 wxWindow *result;
2009 PyObject * obj0 = 0 ;
2010 char *kwnames[] = {
2011 (char *) "self", NULL
2012 };
2013
2014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2016 {
2017 PyThreadState* __tstate = wxPyBeginAllowThreads();
2018 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2019
2020 wxPyEndAllowThreads(__tstate);
2021 if (PyErr_Occurred()) SWIG_fail;
2022 }
2023 {
2024 resultobj = wxPyMake_wxObject(result);
2025 }
2026 return resultobj;
2027 fail:
2028 return NULL;
2029 }
2030
2031
2032 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2033 PyObject *obj;
2034 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2035 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2036 Py_INCREF(obj);
2037 return Py_BuildValue((char *)"");
2038 }
2039 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2040 PyObject *resultobj;
2041 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2042 bool arg2 = (bool) True ;
2043 PyObject * obj0 = 0 ;
2044 PyObject * obj1 = 0 ;
2045 char *kwnames[] = {
2046 (char *) "self",(char *) "maximize", NULL
2047 };
2048
2049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2051 if (obj1) {
2052 arg2 = PyInt_AsLong(obj1) ? true : false;
2053 if (PyErr_Occurred()) SWIG_fail;
2054 }
2055 {
2056 PyThreadState* __tstate = wxPyBeginAllowThreads();
2057 (arg1)->Maximize(arg2);
2058
2059 wxPyEndAllowThreads(__tstate);
2060 if (PyErr_Occurred()) SWIG_fail;
2061 }
2062 Py_INCREF(Py_None); resultobj = Py_None;
2063 return resultobj;
2064 fail:
2065 return NULL;
2066 }
2067
2068
2069 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2070 PyObject *resultobj;
2071 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2072 PyObject * obj0 = 0 ;
2073 char *kwnames[] = {
2074 (char *) "self", NULL
2075 };
2076
2077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2079 {
2080 PyThreadState* __tstate = wxPyBeginAllowThreads();
2081 (arg1)->Restore();
2082
2083 wxPyEndAllowThreads(__tstate);
2084 if (PyErr_Occurred()) SWIG_fail;
2085 }
2086 Py_INCREF(Py_None); resultobj = Py_None;
2087 return resultobj;
2088 fail:
2089 return NULL;
2090 }
2091
2092
2093 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2094 PyObject *resultobj;
2095 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2096 bool arg2 = (bool) True ;
2097 PyObject * obj0 = 0 ;
2098 PyObject * obj1 = 0 ;
2099 char *kwnames[] = {
2100 (char *) "self",(char *) "iconize", NULL
2101 };
2102
2103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2105 if (obj1) {
2106 arg2 = PyInt_AsLong(obj1) ? true : false;
2107 if (PyErr_Occurred()) SWIG_fail;
2108 }
2109 {
2110 PyThreadState* __tstate = wxPyBeginAllowThreads();
2111 (arg1)->Iconize(arg2);
2112
2113 wxPyEndAllowThreads(__tstate);
2114 if (PyErr_Occurred()) SWIG_fail;
2115 }
2116 Py_INCREF(Py_None); resultobj = Py_None;
2117 return resultobj;
2118 fail:
2119 return NULL;
2120 }
2121
2122
2123 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2124 PyObject *resultobj;
2125 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2126 bool result;
2127 PyObject * obj0 = 0 ;
2128 char *kwnames[] = {
2129 (char *) "self", NULL
2130 };
2131
2132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2134 {
2135 PyThreadState* __tstate = wxPyBeginAllowThreads();
2136 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2137
2138 wxPyEndAllowThreads(__tstate);
2139 if (PyErr_Occurred()) SWIG_fail;
2140 }
2141 resultobj = PyInt_FromLong((long)result);
2142 return resultobj;
2143 fail:
2144 return NULL;
2145 }
2146
2147
2148 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2149 PyObject *resultobj;
2150 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2151 bool result;
2152 PyObject * obj0 = 0 ;
2153 char *kwnames[] = {
2154 (char *) "self", NULL
2155 };
2156
2157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2159 {
2160 PyThreadState* __tstate = wxPyBeginAllowThreads();
2161 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2162
2163 wxPyEndAllowThreads(__tstate);
2164 if (PyErr_Occurred()) SWIG_fail;
2165 }
2166 resultobj = PyInt_FromLong((long)result);
2167 return resultobj;
2168 fail:
2169 return NULL;
2170 }
2171
2172
2173 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2174 PyObject *resultobj;
2175 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2176 wxIcon result;
2177 PyObject * obj0 = 0 ;
2178 char *kwnames[] = {
2179 (char *) "self", NULL
2180 };
2181
2182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2184 {
2185 PyThreadState* __tstate = wxPyBeginAllowThreads();
2186 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2187
2188 wxPyEndAllowThreads(__tstate);
2189 if (PyErr_Occurred()) SWIG_fail;
2190 }
2191 {
2192 wxIcon * resultptr;
2193 resultptr = new wxIcon((wxIcon &) result);
2194 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
2195 }
2196 return resultobj;
2197 fail:
2198 return NULL;
2199 }
2200
2201
2202 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2203 PyObject *resultobj;
2204 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2205 wxIcon *arg2 = 0 ;
2206 PyObject * obj0 = 0 ;
2207 PyObject * obj1 = 0 ;
2208 char *kwnames[] = {
2209 (char *) "self",(char *) "icon", NULL
2210 };
2211
2212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2214 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2215 if (arg2 == NULL) {
2216 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2217 }
2218 {
2219 PyThreadState* __tstate = wxPyBeginAllowThreads();
2220 (arg1)->SetIcon((wxIcon const &)*arg2);
2221
2222 wxPyEndAllowThreads(__tstate);
2223 if (PyErr_Occurred()) SWIG_fail;
2224 }
2225 Py_INCREF(Py_None); resultobj = Py_None;
2226 return resultobj;
2227 fail:
2228 return NULL;
2229 }
2230
2231
2232 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2233 PyObject *resultobj;
2234 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2235 wxIconBundle *arg2 = 0 ;
2236 PyObject * obj0 = 0 ;
2237 PyObject * obj1 = 0 ;
2238 char *kwnames[] = {
2239 (char *) "self",(char *) "icons", NULL
2240 };
2241
2242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2244 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIconBundle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2245 if (arg2 == NULL) {
2246 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2247 }
2248 {
2249 PyThreadState* __tstate = wxPyBeginAllowThreads();
2250 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2251
2252 wxPyEndAllowThreads(__tstate);
2253 if (PyErr_Occurred()) SWIG_fail;
2254 }
2255 Py_INCREF(Py_None); resultobj = Py_None;
2256 return resultobj;
2257 fail:
2258 return NULL;
2259 }
2260
2261
2262 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2263 PyObject *resultobj;
2264 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2265 bool arg2 ;
2266 long arg3 = (long) wxFULLSCREEN_ALL ;
2267 bool result;
2268 PyObject * obj0 = 0 ;
2269 PyObject * obj1 = 0 ;
2270 char *kwnames[] = {
2271 (char *) "self",(char *) "show",(char *) "style", NULL
2272 };
2273
2274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&arg3)) goto fail;
2275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2276 arg2 = PyInt_AsLong(obj1) ? true : false;
2277 if (PyErr_Occurred()) SWIG_fail;
2278 {
2279 PyThreadState* __tstate = wxPyBeginAllowThreads();
2280 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2281
2282 wxPyEndAllowThreads(__tstate);
2283 if (PyErr_Occurred()) SWIG_fail;
2284 }
2285 resultobj = PyInt_FromLong((long)result);
2286 return resultobj;
2287 fail:
2288 return NULL;
2289 }
2290
2291
2292 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2293 PyObject *resultobj;
2294 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2295 bool result;
2296 PyObject * obj0 = 0 ;
2297 char *kwnames[] = {
2298 (char *) "self", NULL
2299 };
2300
2301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2303 {
2304 PyThreadState* __tstate = wxPyBeginAllowThreads();
2305 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2306
2307 wxPyEndAllowThreads(__tstate);
2308 if (PyErr_Occurred()) SWIG_fail;
2309 }
2310 resultobj = PyInt_FromLong((long)result);
2311 return resultobj;
2312 fail:
2313 return NULL;
2314 }
2315
2316
2317 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2318 PyObject *resultobj;
2319 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2320 wxString *arg2 = 0 ;
2321 bool temp2 = False ;
2322 PyObject * obj0 = 0 ;
2323 PyObject * obj1 = 0 ;
2324 char *kwnames[] = {
2325 (char *) "self",(char *) "title", NULL
2326 };
2327
2328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2330 {
2331 arg2 = wxString_in_helper(obj1);
2332 if (arg2 == NULL) SWIG_fail;
2333 temp2 = True;
2334 }
2335 {
2336 PyThreadState* __tstate = wxPyBeginAllowThreads();
2337 (arg1)->SetTitle((wxString const &)*arg2);
2338
2339 wxPyEndAllowThreads(__tstate);
2340 if (PyErr_Occurred()) SWIG_fail;
2341 }
2342 Py_INCREF(Py_None); resultobj = Py_None;
2343 {
2344 if (temp2)
2345 delete arg2;
2346 }
2347 return resultobj;
2348 fail:
2349 {
2350 if (temp2)
2351 delete arg2;
2352 }
2353 return NULL;
2354 }
2355
2356
2357 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2358 PyObject *resultobj;
2359 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2360 wxString result;
2361 PyObject * obj0 = 0 ;
2362 char *kwnames[] = {
2363 (char *) "self", NULL
2364 };
2365
2366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2368 {
2369 PyThreadState* __tstate = wxPyBeginAllowThreads();
2370 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2371
2372 wxPyEndAllowThreads(__tstate);
2373 if (PyErr_Occurred()) SWIG_fail;
2374 }
2375 {
2376 #if wxUSE_UNICODE
2377 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2378 #else
2379 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2380 #endif
2381 }
2382 return resultobj;
2383 fail:
2384 return NULL;
2385 }
2386
2387
2388 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2389 PyObject *resultobj;
2390 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2391 wxRegion *arg2 = 0 ;
2392 bool result;
2393 PyObject * obj0 = 0 ;
2394 PyObject * obj1 = 0 ;
2395 char *kwnames[] = {
2396 (char *) "self",(char *) "region", NULL
2397 };
2398
2399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2401 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2402 if (arg2 == NULL) {
2403 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2404 }
2405 {
2406 PyThreadState* __tstate = wxPyBeginAllowThreads();
2407 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2408
2409 wxPyEndAllowThreads(__tstate);
2410 if (PyErr_Occurred()) SWIG_fail;
2411 }
2412 resultobj = PyInt_FromLong((long)result);
2413 return resultobj;
2414 fail:
2415 return NULL;
2416 }
2417
2418
2419 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
2420 PyObject *obj;
2421 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2422 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
2423 Py_INCREF(obj);
2424 return Py_BuildValue((char *)"");
2425 }
2426 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
2427 PyObject *resultobj;
2428 wxWindow *arg1 = (wxWindow *) 0 ;
2429 int arg2 ;
2430 wxString *arg3 = 0 ;
2431 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2432 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2433 wxSize const &arg5_defvalue = wxDefaultSize ;
2434 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2435 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
2436 wxString const &arg7_defvalue = wxPyFrameNameStr ;
2437 wxString *arg7 = (wxString *) &arg7_defvalue ;
2438 wxFrame *result;
2439 bool temp3 = False ;
2440 wxPoint temp4 ;
2441 wxSize temp5 ;
2442 bool temp7 = False ;
2443 PyObject * obj0 = 0 ;
2444 PyObject * obj2 = 0 ;
2445 PyObject * obj3 = 0 ;
2446 PyObject * obj4 = 0 ;
2447 PyObject * obj6 = 0 ;
2448 char *kwnames[] = {
2449 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2450 };
2451
2452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Frame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
2453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2454 {
2455 arg3 = wxString_in_helper(obj2);
2456 if (arg3 == NULL) SWIG_fail;
2457 temp3 = True;
2458 }
2459 if (obj3) {
2460 {
2461 arg4 = &temp4;
2462 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2463 }
2464 }
2465 if (obj4) {
2466 {
2467 arg5 = &temp5;
2468 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2469 }
2470 }
2471 if (obj6) {
2472 {
2473 arg7 = wxString_in_helper(obj6);
2474 if (arg7 == NULL) SWIG_fail;
2475 temp7 = True;
2476 }
2477 }
2478 {
2479 PyThreadState* __tstate = wxPyBeginAllowThreads();
2480 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2481
2482 wxPyEndAllowThreads(__tstate);
2483 if (PyErr_Occurred()) SWIG_fail;
2484 }
2485 {
2486 resultobj = wxPyMake_wxObject(result);
2487 }
2488 {
2489 if (temp3)
2490 delete arg3;
2491 }
2492 {
2493 if (temp7)
2494 delete arg7;
2495 }
2496 return resultobj;
2497 fail:
2498 {
2499 if (temp3)
2500 delete arg3;
2501 }
2502 {
2503 if (temp7)
2504 delete arg7;
2505 }
2506 return NULL;
2507 }
2508
2509
2510 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
2511 PyObject *resultobj;
2512 wxFrame *result;
2513 char *kwnames[] = {
2514 NULL
2515 };
2516
2517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
2518 {
2519 PyThreadState* __tstate = wxPyBeginAllowThreads();
2520 result = (wxFrame *)new wxFrame();
2521
2522 wxPyEndAllowThreads(__tstate);
2523 if (PyErr_Occurred()) SWIG_fail;
2524 }
2525 {
2526 resultobj = wxPyMake_wxObject(result);
2527 }
2528 return resultobj;
2529 fail:
2530 return NULL;
2531 }
2532
2533
2534 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2535 PyObject *resultobj;
2536 wxFrame *arg1 = (wxFrame *) 0 ;
2537 wxWindow *arg2 = (wxWindow *) 0 ;
2538 int arg3 ;
2539 wxString *arg4 = 0 ;
2540 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2541 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2542 wxSize const &arg6_defvalue = wxDefaultSize ;
2543 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2544 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
2545 wxString const &arg8_defvalue = wxPyFrameNameStr ;
2546 wxString *arg8 = (wxString *) &arg8_defvalue ;
2547 bool result;
2548 bool temp4 = False ;
2549 wxPoint temp5 ;
2550 wxSize temp6 ;
2551 bool temp8 = False ;
2552 PyObject * obj0 = 0 ;
2553 PyObject * obj1 = 0 ;
2554 PyObject * obj3 = 0 ;
2555 PyObject * obj4 = 0 ;
2556 PyObject * obj5 = 0 ;
2557 PyObject * obj7 = 0 ;
2558 char *kwnames[] = {
2559 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2560 };
2561
2562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Frame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
2563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2564 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2565 {
2566 arg4 = wxString_in_helper(obj3);
2567 if (arg4 == NULL) SWIG_fail;
2568 temp4 = True;
2569 }
2570 if (obj4) {
2571 {
2572 arg5 = &temp5;
2573 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2574 }
2575 }
2576 if (obj5) {
2577 {
2578 arg6 = &temp6;
2579 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2580 }
2581 }
2582 if (obj7) {
2583 {
2584 arg8 = wxString_in_helper(obj7);
2585 if (arg8 == NULL) SWIG_fail;
2586 temp8 = True;
2587 }
2588 }
2589 {
2590 PyThreadState* __tstate = wxPyBeginAllowThreads();
2591 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
2592
2593 wxPyEndAllowThreads(__tstate);
2594 if (PyErr_Occurred()) SWIG_fail;
2595 }
2596 resultobj = PyInt_FromLong((long)result);
2597 {
2598 if (temp4)
2599 delete arg4;
2600 }
2601 {
2602 if (temp8)
2603 delete arg8;
2604 }
2605 return resultobj;
2606 fail:
2607 {
2608 if (temp4)
2609 delete arg4;
2610 }
2611 {
2612 if (temp8)
2613 delete arg8;
2614 }
2615 return NULL;
2616 }
2617
2618
2619 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
2620 PyObject *resultobj;
2621 wxFrame *arg1 = (wxFrame *) 0 ;
2622 wxPoint result;
2623 PyObject * obj0 = 0 ;
2624 char *kwnames[] = {
2625 (char *) "self", NULL
2626 };
2627
2628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
2629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2630 {
2631 PyThreadState* __tstate = wxPyBeginAllowThreads();
2632 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
2633
2634 wxPyEndAllowThreads(__tstate);
2635 if (PyErr_Occurred()) SWIG_fail;
2636 }
2637 {
2638 wxPoint * resultptr;
2639 resultptr = new wxPoint((wxPoint &) result);
2640 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2641 }
2642 return resultobj;
2643 fail:
2644 return NULL;
2645 }
2646
2647
2648 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
2649 PyObject *resultobj;
2650 wxFrame *arg1 = (wxFrame *) 0 ;
2651 PyObject * obj0 = 0 ;
2652 char *kwnames[] = {
2653 (char *) "self", NULL
2654 };
2655
2656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
2657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2658 {
2659 PyThreadState* __tstate = wxPyBeginAllowThreads();
2660 (arg1)->SendSizeEvent();
2661
2662 wxPyEndAllowThreads(__tstate);
2663 if (PyErr_Occurred()) SWIG_fail;
2664 }
2665 Py_INCREF(Py_None); resultobj = Py_None;
2666 return resultobj;
2667 fail:
2668 return NULL;
2669 }
2670
2671
2672 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2673 PyObject *resultobj;
2674 wxFrame *arg1 = (wxFrame *) 0 ;
2675 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
2676 PyObject * obj0 = 0 ;
2677 PyObject * obj1 = 0 ;
2678 char *kwnames[] = {
2679 (char *) "self",(char *) "menubar", NULL
2680 };
2681
2682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
2683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2684 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2685 {
2686 PyThreadState* __tstate = wxPyBeginAllowThreads();
2687 (arg1)->SetMenuBar(arg2);
2688
2689 wxPyEndAllowThreads(__tstate);
2690 if (PyErr_Occurred()) SWIG_fail;
2691 }
2692 Py_INCREF(Py_None); resultobj = Py_None;
2693 return resultobj;
2694 fail:
2695 return NULL;
2696 }
2697
2698
2699 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2700 PyObject *resultobj;
2701 wxFrame *arg1 = (wxFrame *) 0 ;
2702 wxMenuBar *result;
2703 PyObject * obj0 = 0 ;
2704 char *kwnames[] = {
2705 (char *) "self", NULL
2706 };
2707
2708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
2709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2710 {
2711 PyThreadState* __tstate = wxPyBeginAllowThreads();
2712 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
2713
2714 wxPyEndAllowThreads(__tstate);
2715 if (PyErr_Occurred()) SWIG_fail;
2716 }
2717 {
2718 resultobj = wxPyMake_wxObject(result);
2719 }
2720 return resultobj;
2721 fail:
2722 return NULL;
2723 }
2724
2725
2726 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
2727 PyObject *resultobj;
2728 wxFrame *arg1 = (wxFrame *) 0 ;
2729 int arg2 ;
2730 bool result;
2731 PyObject * obj0 = 0 ;
2732 char *kwnames[] = {
2733 (char *) "self",(char *) "winid", NULL
2734 };
2735
2736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_ProcessCommand",kwnames,&obj0,&arg2)) goto fail;
2737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2738 {
2739 PyThreadState* __tstate = wxPyBeginAllowThreads();
2740 result = (bool)(arg1)->ProcessCommand(arg2);
2741
2742 wxPyEndAllowThreads(__tstate);
2743 if (PyErr_Occurred()) SWIG_fail;
2744 }
2745 resultobj = PyInt_FromLong((long)result);
2746 return resultobj;
2747 fail:
2748 return NULL;
2749 }
2750
2751
2752 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2753 PyObject *resultobj;
2754 wxFrame *arg1 = (wxFrame *) 0 ;
2755 int arg2 = (int) 1 ;
2756 long arg3 = (long) wxST_SIZEGRIP ;
2757 int arg4 = (int) 0 ;
2758 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
2759 wxString *arg5 = (wxString *) &arg5_defvalue ;
2760 wxStatusBar *result;
2761 bool temp5 = False ;
2762 PyObject * obj0 = 0 ;
2763 PyObject * obj4 = 0 ;
2764 char *kwnames[] = {
2765 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
2766 };
2767
2768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iliO:Frame_CreateStatusBar",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
2769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2770 if (obj4) {
2771 {
2772 arg5 = wxString_in_helper(obj4);
2773 if (arg5 == NULL) SWIG_fail;
2774 temp5 = True;
2775 }
2776 }
2777 {
2778 PyThreadState* __tstate = wxPyBeginAllowThreads();
2779 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
2780
2781 wxPyEndAllowThreads(__tstate);
2782 if (PyErr_Occurred()) SWIG_fail;
2783 }
2784 {
2785 resultobj = wxPyMake_wxObject(result);
2786 }
2787 {
2788 if (temp5)
2789 delete arg5;
2790 }
2791 return resultobj;
2792 fail:
2793 {
2794 if (temp5)
2795 delete arg5;
2796 }
2797 return NULL;
2798 }
2799
2800
2801 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2802 PyObject *resultobj;
2803 wxFrame *arg1 = (wxFrame *) 0 ;
2804 wxStatusBar *result;
2805 PyObject * obj0 = 0 ;
2806 char *kwnames[] = {
2807 (char *) "self", NULL
2808 };
2809
2810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
2811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2812 {
2813 PyThreadState* __tstate = wxPyBeginAllowThreads();
2814 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
2815
2816 wxPyEndAllowThreads(__tstate);
2817 if (PyErr_Occurred()) SWIG_fail;
2818 }
2819 {
2820 resultobj = wxPyMake_wxObject(result);
2821 }
2822 return resultobj;
2823 fail:
2824 return NULL;
2825 }
2826
2827
2828 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2829 PyObject *resultobj;
2830 wxFrame *arg1 = (wxFrame *) 0 ;
2831 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
2832 PyObject * obj0 = 0 ;
2833 PyObject * obj1 = 0 ;
2834 char *kwnames[] = {
2835 (char *) "self",(char *) "statBar", NULL
2836 };
2837
2838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
2839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2840 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2841 {
2842 PyThreadState* __tstate = wxPyBeginAllowThreads();
2843 (arg1)->SetStatusBar(arg2);
2844
2845 wxPyEndAllowThreads(__tstate);
2846 if (PyErr_Occurred()) SWIG_fail;
2847 }
2848 Py_INCREF(Py_None); resultobj = Py_None;
2849 return resultobj;
2850 fail:
2851 return NULL;
2852 }
2853
2854
2855 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
2856 PyObject *resultobj;
2857 wxFrame *arg1 = (wxFrame *) 0 ;
2858 wxString *arg2 = 0 ;
2859 int arg3 = (int) 0 ;
2860 bool temp2 = False ;
2861 PyObject * obj0 = 0 ;
2862 PyObject * obj1 = 0 ;
2863 char *kwnames[] = {
2864 (char *) "self",(char *) "text",(char *) "number", NULL
2865 };
2866
2867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
2868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2869 {
2870 arg2 = wxString_in_helper(obj1);
2871 if (arg2 == NULL) SWIG_fail;
2872 temp2 = True;
2873 }
2874 {
2875 PyThreadState* __tstate = wxPyBeginAllowThreads();
2876 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
2877
2878 wxPyEndAllowThreads(__tstate);
2879 if (PyErr_Occurred()) SWIG_fail;
2880 }
2881 Py_INCREF(Py_None); resultobj = Py_None;
2882 {
2883 if (temp2)
2884 delete arg2;
2885 }
2886 return resultobj;
2887 fail:
2888 {
2889 if (temp2)
2890 delete arg2;
2891 }
2892 return NULL;
2893 }
2894
2895
2896 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
2897 PyObject *resultobj;
2898 wxFrame *arg1 = (wxFrame *) 0 ;
2899 int arg2 ;
2900 int *arg3 = (int *) 0 ;
2901 PyObject * obj0 = 0 ;
2902 PyObject * obj1 = 0 ;
2903 char *kwnames[] = {
2904 (char *) "self",(char *) "widths", NULL
2905 };
2906
2907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
2908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2909 {
2910 arg2 = PyList_Size(obj1);
2911 arg3 = int_LIST_helper(obj1);
2912 if (arg3 == NULL) SWIG_fail;
2913 }
2914 {
2915 PyThreadState* __tstate = wxPyBeginAllowThreads();
2916 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
2917
2918 wxPyEndAllowThreads(__tstate);
2919 if (PyErr_Occurred()) SWIG_fail;
2920 }
2921 Py_INCREF(Py_None); resultobj = Py_None;
2922 {
2923 if (arg3) delete [] arg3;
2924 }
2925 return resultobj;
2926 fail:
2927 {
2928 if (arg3) delete [] arg3;
2929 }
2930 return NULL;
2931 }
2932
2933
2934 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
2935 PyObject *resultobj;
2936 wxFrame *arg1 = (wxFrame *) 0 ;
2937 wxString *arg2 = 0 ;
2938 int arg3 = (int) 0 ;
2939 bool temp2 = False ;
2940 PyObject * obj0 = 0 ;
2941 PyObject * obj1 = 0 ;
2942 char *kwnames[] = {
2943 (char *) "self",(char *) "text",(char *) "number", NULL
2944 };
2945
2946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
2947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2948 {
2949 arg2 = wxString_in_helper(obj1);
2950 if (arg2 == NULL) SWIG_fail;
2951 temp2 = True;
2952 }
2953 {
2954 PyThreadState* __tstate = wxPyBeginAllowThreads();
2955 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
2956
2957 wxPyEndAllowThreads(__tstate);
2958 if (PyErr_Occurred()) SWIG_fail;
2959 }
2960 Py_INCREF(Py_None); resultobj = Py_None;
2961 {
2962 if (temp2)
2963 delete arg2;
2964 }
2965 return resultobj;
2966 fail:
2967 {
2968 if (temp2)
2969 delete arg2;
2970 }
2971 return NULL;
2972 }
2973
2974
2975 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
2976 PyObject *resultobj;
2977 wxFrame *arg1 = (wxFrame *) 0 ;
2978 int arg2 = (int) 0 ;
2979 PyObject * obj0 = 0 ;
2980 char *kwnames[] = {
2981 (char *) "self",(char *) "number", NULL
2982 };
2983
2984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Frame_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
2985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2986 {
2987 PyThreadState* __tstate = wxPyBeginAllowThreads();
2988 (arg1)->PopStatusText(arg2);
2989
2990 wxPyEndAllowThreads(__tstate);
2991 if (PyErr_Occurred()) SWIG_fail;
2992 }
2993 Py_INCREF(Py_None); resultobj = Py_None;
2994 return resultobj;
2995 fail:
2996 return NULL;
2997 }
2998
2999
3000 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3001 PyObject *resultobj;
3002 wxFrame *arg1 = (wxFrame *) 0 ;
3003 int arg2 ;
3004 PyObject * obj0 = 0 ;
3005 char *kwnames[] = {
3006 (char *) "self",(char *) "n", NULL
3007 };
3008
3009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_SetStatusBarPane",kwnames,&obj0,&arg2)) goto fail;
3010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3011 {
3012 PyThreadState* __tstate = wxPyBeginAllowThreads();
3013 (arg1)->SetStatusBarPane(arg2);
3014
3015 wxPyEndAllowThreads(__tstate);
3016 if (PyErr_Occurred()) SWIG_fail;
3017 }
3018 Py_INCREF(Py_None); resultobj = Py_None;
3019 return resultobj;
3020 fail:
3021 return NULL;
3022 }
3023
3024
3025 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3026 PyObject *resultobj;
3027 wxFrame *arg1 = (wxFrame *) 0 ;
3028 int result;
3029 PyObject * obj0 = 0 ;
3030 char *kwnames[] = {
3031 (char *) "self", NULL
3032 };
3033
3034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3036 {
3037 PyThreadState* __tstate = wxPyBeginAllowThreads();
3038 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3039
3040 wxPyEndAllowThreads(__tstate);
3041 if (PyErr_Occurred()) SWIG_fail;
3042 }
3043 resultobj = PyInt_FromLong((long)result);
3044 return resultobj;
3045 fail:
3046 return NULL;
3047 }
3048
3049
3050 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3051 PyObject *resultobj;
3052 wxFrame *arg1 = (wxFrame *) 0 ;
3053 long arg2 = (long) -1 ;
3054 int arg3 = (int) -1 ;
3055 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3056 wxString *arg4 = (wxString *) &arg4_defvalue ;
3057 wxToolBar *result;
3058 bool temp4 = False ;
3059 PyObject * obj0 = 0 ;
3060 PyObject * obj3 = 0 ;
3061 char *kwnames[] = {
3062 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3063 };
3064
3065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|liO:Frame_CreateToolBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
3066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3067 if (obj3) {
3068 {
3069 arg4 = wxString_in_helper(obj3);
3070 if (arg4 == NULL) SWIG_fail;
3071 temp4 = True;
3072 }
3073 }
3074 {
3075 PyThreadState* __tstate = wxPyBeginAllowThreads();
3076 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3077
3078 wxPyEndAllowThreads(__tstate);
3079 if (PyErr_Occurred()) SWIG_fail;
3080 }
3081 {
3082 resultobj = wxPyMake_wxObject(result);
3083 }
3084 {
3085 if (temp4)
3086 delete arg4;
3087 }
3088 return resultobj;
3089 fail:
3090 {
3091 if (temp4)
3092 delete arg4;
3093 }
3094 return NULL;
3095 }
3096
3097
3098 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3099 PyObject *resultobj;
3100 wxFrame *arg1 = (wxFrame *) 0 ;
3101 wxToolBar *result;
3102 PyObject * obj0 = 0 ;
3103 char *kwnames[] = {
3104 (char *) "self", NULL
3105 };
3106
3107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3109 {
3110 PyThreadState* __tstate = wxPyBeginAllowThreads();
3111 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3112
3113 wxPyEndAllowThreads(__tstate);
3114 if (PyErr_Occurred()) SWIG_fail;
3115 }
3116 {
3117 resultobj = wxPyMake_wxObject(result);
3118 }
3119 return resultobj;
3120 fail:
3121 return NULL;
3122 }
3123
3124
3125 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3126 PyObject *resultobj;
3127 wxFrame *arg1 = (wxFrame *) 0 ;
3128 wxToolBar *arg2 = (wxToolBar *) 0 ;
3129 PyObject * obj0 = 0 ;
3130 PyObject * obj1 = 0 ;
3131 char *kwnames[] = {
3132 (char *) "self",(char *) "toolbar", NULL
3133 };
3134
3135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3137 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3138 {
3139 PyThreadState* __tstate = wxPyBeginAllowThreads();
3140 (arg1)->SetToolBar(arg2);
3141
3142 wxPyEndAllowThreads(__tstate);
3143 if (PyErr_Occurred()) SWIG_fail;
3144 }
3145 Py_INCREF(Py_None); resultobj = Py_None;
3146 return resultobj;
3147 fail:
3148 return NULL;
3149 }
3150
3151
3152 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3153 PyObject *resultobj;
3154 wxFrame *arg1 = (wxFrame *) 0 ;
3155 wxString *arg2 = 0 ;
3156 bool arg3 ;
3157 bool temp2 = False ;
3158 PyObject * obj0 = 0 ;
3159 PyObject * obj1 = 0 ;
3160 PyObject * obj2 = 0 ;
3161 char *kwnames[] = {
3162 (char *) "self",(char *) "text",(char *) "show", NULL
3163 };
3164
3165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3167 {
3168 arg2 = wxString_in_helper(obj1);
3169 if (arg2 == NULL) SWIG_fail;
3170 temp2 = True;
3171 }
3172 arg3 = PyInt_AsLong(obj2) ? true : false;
3173 if (PyErr_Occurred()) SWIG_fail;
3174 {
3175 PyThreadState* __tstate = wxPyBeginAllowThreads();
3176 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3177
3178 wxPyEndAllowThreads(__tstate);
3179 if (PyErr_Occurred()) SWIG_fail;
3180 }
3181 Py_INCREF(Py_None); resultobj = Py_None;
3182 {
3183 if (temp2)
3184 delete arg2;
3185 }
3186 return resultobj;
3187 fail:
3188 {
3189 if (temp2)
3190 delete arg2;
3191 }
3192 return NULL;
3193 }
3194
3195
3196 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3197 PyObject *resultobj;
3198 wxFrame *arg1 = (wxFrame *) 0 ;
3199 wxMenu *arg2 = (wxMenu *) NULL ;
3200 PyObject * obj0 = 0 ;
3201 PyObject * obj1 = 0 ;
3202 char *kwnames[] = {
3203 (char *) "self",(char *) "menu", NULL
3204 };
3205
3206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3208 if (obj1) {
3209 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3210 }
3211 {
3212 PyThreadState* __tstate = wxPyBeginAllowThreads();
3213 (arg1)->DoMenuUpdates(arg2);
3214
3215 wxPyEndAllowThreads(__tstate);
3216 if (PyErr_Occurred()) SWIG_fail;
3217 }
3218 Py_INCREF(Py_None); resultobj = Py_None;
3219 return resultobj;
3220 fail:
3221 return NULL;
3222 }
3223
3224
3225 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3226 PyObject *obj;
3227 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3228 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3229 Py_INCREF(obj);
3230 return Py_BuildValue((char *)"");
3231 }
3232 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3233 PyObject *resultobj;
3234 wxWindow *arg1 = (wxWindow *) 0 ;
3235 int arg2 ;
3236 wxString *arg3 = 0 ;
3237 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3238 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3239 wxSize const &arg5_defvalue = wxDefaultSize ;
3240 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3241 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3242 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3243 wxString *arg7 = (wxString *) &arg7_defvalue ;
3244 wxDialog *result;
3245 bool temp3 = False ;
3246 wxPoint temp4 ;
3247 wxSize temp5 ;
3248 bool temp7 = False ;
3249 PyObject * obj0 = 0 ;
3250 PyObject * obj2 = 0 ;
3251 PyObject * obj3 = 0 ;
3252 PyObject * obj4 = 0 ;
3253 PyObject * obj6 = 0 ;
3254 char *kwnames[] = {
3255 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3256 };
3257
3258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Dialog",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3260 {
3261 arg3 = wxString_in_helper(obj2);
3262 if (arg3 == NULL) SWIG_fail;
3263 temp3 = True;
3264 }
3265 if (obj3) {
3266 {
3267 arg4 = &temp4;
3268 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3269 }
3270 }
3271 if (obj4) {
3272 {
3273 arg5 = &temp5;
3274 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3275 }
3276 }
3277 if (obj6) {
3278 {
3279 arg7 = wxString_in_helper(obj6);
3280 if (arg7 == NULL) SWIG_fail;
3281 temp7 = True;
3282 }
3283 }
3284 {
3285 PyThreadState* __tstate = wxPyBeginAllowThreads();
3286 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3287
3288 wxPyEndAllowThreads(__tstate);
3289 if (PyErr_Occurred()) SWIG_fail;
3290 }
3291 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3292 {
3293 if (temp3)
3294 delete arg3;
3295 }
3296 {
3297 if (temp7)
3298 delete arg7;
3299 }
3300 return resultobj;
3301 fail:
3302 {
3303 if (temp3)
3304 delete arg3;
3305 }
3306 {
3307 if (temp7)
3308 delete arg7;
3309 }
3310 return NULL;
3311 }
3312
3313
3314 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3315 PyObject *resultobj;
3316 wxDialog *result;
3317 char *kwnames[] = {
3318 NULL
3319 };
3320
3321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
3322 {
3323 PyThreadState* __tstate = wxPyBeginAllowThreads();
3324 result = (wxDialog *)new wxDialog();
3325
3326 wxPyEndAllowThreads(__tstate);
3327 if (PyErr_Occurred()) SWIG_fail;
3328 }
3329 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3330 return resultobj;
3331 fail:
3332 return NULL;
3333 }
3334
3335
3336 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3337 PyObject *resultobj;
3338 wxDialog *arg1 = (wxDialog *) 0 ;
3339 wxWindow *arg2 = (wxWindow *) 0 ;
3340 int arg3 ;
3341 wxString *arg4 = 0 ;
3342 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3343 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3344 wxSize const &arg6_defvalue = wxDefaultSize ;
3345 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3346 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
3347 wxString const &arg8_defvalue = wxPyDialogNameStr ;
3348 wxString *arg8 = (wxString *) &arg8_defvalue ;
3349 bool result;
3350 bool temp4 = False ;
3351 wxPoint temp5 ;
3352 wxSize temp6 ;
3353 bool temp8 = False ;
3354 PyObject * obj0 = 0 ;
3355 PyObject * obj1 = 0 ;
3356 PyObject * obj3 = 0 ;
3357 PyObject * obj4 = 0 ;
3358 PyObject * obj5 = 0 ;
3359 PyObject * obj7 = 0 ;
3360 char *kwnames[] = {
3361 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3362 };
3363
3364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Dialog_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3366 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3367 {
3368 arg4 = wxString_in_helper(obj3);
3369 if (arg4 == NULL) SWIG_fail;
3370 temp4 = True;
3371 }
3372 if (obj4) {
3373 {
3374 arg5 = &temp5;
3375 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3376 }
3377 }
3378 if (obj5) {
3379 {
3380 arg6 = &temp6;
3381 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3382 }
3383 }
3384 if (obj7) {
3385 {
3386 arg8 = wxString_in_helper(obj7);
3387 if (arg8 == NULL) SWIG_fail;
3388 temp8 = True;
3389 }
3390 }
3391 {
3392 PyThreadState* __tstate = wxPyBeginAllowThreads();
3393 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3394
3395 wxPyEndAllowThreads(__tstate);
3396 if (PyErr_Occurred()) SWIG_fail;
3397 }
3398 resultobj = PyInt_FromLong((long)result);
3399 {
3400 if (temp4)
3401 delete arg4;
3402 }
3403 {
3404 if (temp8)
3405 delete arg8;
3406 }
3407 return resultobj;
3408 fail:
3409 {
3410 if (temp4)
3411 delete arg4;
3412 }
3413 {
3414 if (temp8)
3415 delete arg8;
3416 }
3417 return NULL;
3418 }
3419
3420
3421 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3422 PyObject *resultobj;
3423 wxDialog *arg1 = (wxDialog *) 0 ;
3424 int arg2 ;
3425 PyObject * obj0 = 0 ;
3426 char *kwnames[] = {
3427 (char *) "self",(char *) "returnCode", NULL
3428 };
3429
3430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_SetReturnCode",kwnames,&obj0,&arg2)) goto fail;
3431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3432 {
3433 PyThreadState* __tstate = wxPyBeginAllowThreads();
3434 (arg1)->SetReturnCode(arg2);
3435
3436 wxPyEndAllowThreads(__tstate);
3437 if (PyErr_Occurred()) SWIG_fail;
3438 }
3439 Py_INCREF(Py_None); resultobj = Py_None;
3440 return resultobj;
3441 fail:
3442 return NULL;
3443 }
3444
3445
3446 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3447 PyObject *resultobj;
3448 wxDialog *arg1 = (wxDialog *) 0 ;
3449 int result;
3450 PyObject * obj0 = 0 ;
3451 char *kwnames[] = {
3452 (char *) "self", NULL
3453 };
3454
3455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
3456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3457 {
3458 PyThreadState* __tstate = wxPyBeginAllowThreads();
3459 result = (int)((wxDialog const *)arg1)->GetReturnCode();
3460
3461 wxPyEndAllowThreads(__tstate);
3462 if (PyErr_Occurred()) SWIG_fail;
3463 }
3464 resultobj = PyInt_FromLong((long)result);
3465 return resultobj;
3466 fail:
3467 return NULL;
3468 }
3469
3470
3471 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3472 PyObject *resultobj;
3473 wxDialog *arg1 = (wxDialog *) 0 ;
3474 wxString *arg2 = 0 ;
3475 wxSizer *result;
3476 bool temp2 = False ;
3477 PyObject * obj0 = 0 ;
3478 PyObject * obj1 = 0 ;
3479 char *kwnames[] = {
3480 (char *) "self",(char *) "message", NULL
3481 };
3482
3483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
3484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3485 {
3486 arg2 = wxString_in_helper(obj1);
3487 if (arg2 == NULL) SWIG_fail;
3488 temp2 = True;
3489 }
3490 {
3491 PyThreadState* __tstate = wxPyBeginAllowThreads();
3492 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
3493
3494 wxPyEndAllowThreads(__tstate);
3495 if (PyErr_Occurred()) SWIG_fail;
3496 }
3497 {
3498 resultobj = wxPyMake_wxSizer(result);
3499 }
3500 {
3501 if (temp2)
3502 delete arg2;
3503 }
3504 return resultobj;
3505 fail:
3506 {
3507 if (temp2)
3508 delete arg2;
3509 }
3510 return NULL;
3511 }
3512
3513
3514 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3515 PyObject *resultobj;
3516 wxDialog *arg1 = (wxDialog *) 0 ;
3517 long arg2 ;
3518 wxSizer *result;
3519 PyObject * obj0 = 0 ;
3520 char *kwnames[] = {
3521 (char *) "self",(char *) "flags", NULL
3522 };
3523
3524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Dialog_CreateButtonSizer",kwnames,&obj0,&arg2)) goto fail;
3525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3526 {
3527 PyThreadState* __tstate = wxPyBeginAllowThreads();
3528 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
3529
3530 wxPyEndAllowThreads(__tstate);
3531 if (PyErr_Occurred()) SWIG_fail;
3532 }
3533 {
3534 resultobj = wxPyMake_wxSizer(result);
3535 }
3536 return resultobj;
3537 fail:
3538 return NULL;
3539 }
3540
3541
3542 static PyObject *_wrap_Dialog_SetModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3543 PyObject *resultobj;
3544 wxDialog *arg1 = (wxDialog *) 0 ;
3545 bool arg2 ;
3546 PyObject * obj0 = 0 ;
3547 PyObject * obj1 = 0 ;
3548 char *kwnames[] = {
3549 (char *) "self",(char *) "flag", NULL
3550 };
3551
3552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetModal",kwnames,&obj0,&obj1)) goto fail;
3553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3554 arg2 = PyInt_AsLong(obj1) ? true : false;
3555 if (PyErr_Occurred()) SWIG_fail;
3556 {
3557 PyThreadState* __tstate = wxPyBeginAllowThreads();
3558 (arg1)->SetModal(arg2);
3559
3560 wxPyEndAllowThreads(__tstate);
3561 if (PyErr_Occurred()) SWIG_fail;
3562 }
3563 Py_INCREF(Py_None); resultobj = Py_None;
3564 return resultobj;
3565 fail:
3566 return NULL;
3567 }
3568
3569
3570 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3571 PyObject *resultobj;
3572 wxDialog *arg1 = (wxDialog *) 0 ;
3573 bool result;
3574 PyObject * obj0 = 0 ;
3575 char *kwnames[] = {
3576 (char *) "self", NULL
3577 };
3578
3579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
3580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3581 {
3582 PyThreadState* __tstate = wxPyBeginAllowThreads();
3583 result = (bool)((wxDialog const *)arg1)->IsModal();
3584
3585 wxPyEndAllowThreads(__tstate);
3586 if (PyErr_Occurred()) SWIG_fail;
3587 }
3588 resultobj = PyInt_FromLong((long)result);
3589 return resultobj;
3590 fail:
3591 return NULL;
3592 }
3593
3594
3595 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3596 PyObject *resultobj;
3597 wxDialog *arg1 = (wxDialog *) 0 ;
3598 int result;
3599 PyObject * obj0 = 0 ;
3600 char *kwnames[] = {
3601 (char *) "self", NULL
3602 };
3603
3604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
3605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3606 {
3607 PyThreadState* __tstate = wxPyBeginAllowThreads();
3608 result = (int)(arg1)->ShowModal();
3609
3610 wxPyEndAllowThreads(__tstate);
3611 if (PyErr_Occurred()) SWIG_fail;
3612 }
3613 resultobj = PyInt_FromLong((long)result);
3614 return resultobj;
3615 fail:
3616 return NULL;
3617 }
3618
3619
3620 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3621 PyObject *resultobj;
3622 wxDialog *arg1 = (wxDialog *) 0 ;
3623 int arg2 ;
3624 PyObject * obj0 = 0 ;
3625 char *kwnames[] = {
3626 (char *) "self",(char *) "retCode", NULL
3627 };
3628
3629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_EndModal",kwnames,&obj0,&arg2)) goto fail;
3630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3631 {
3632 PyThreadState* __tstate = wxPyBeginAllowThreads();
3633 (arg1)->EndModal(arg2);
3634
3635 wxPyEndAllowThreads(__tstate);
3636 if (PyErr_Occurred()) SWIG_fail;
3637 }
3638 Py_INCREF(Py_None); resultobj = Py_None;
3639 return resultobj;
3640 fail:
3641 return NULL;
3642 }
3643
3644
3645 static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) {
3646 PyObject *resultobj;
3647 wxDialog *arg1 = (wxDialog *) 0 ;
3648 bool result;
3649 PyObject * obj0 = 0 ;
3650 char *kwnames[] = {
3651 (char *) "self", NULL
3652 };
3653
3654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
3655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3656 {
3657 PyThreadState* __tstate = wxPyBeginAllowThreads();
3658 result = (bool)wxDialog_IsModalShowing(arg1);
3659
3660 wxPyEndAllowThreads(__tstate);
3661 if (PyErr_Occurred()) SWIG_fail;
3662 }
3663 resultobj = PyInt_FromLong((long)result);
3664 return resultobj;
3665 fail:
3666 return NULL;
3667 }
3668
3669
3670 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
3671 PyObject *obj;
3672 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3673 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
3674 Py_INCREF(obj);
3675 return Py_BuildValue((char *)"");
3676 }
3677 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3678 PyObject *resultobj;
3679 wxWindow *arg1 = (wxWindow *) 0 ;
3680 int arg2 ;
3681 wxString *arg3 = 0 ;
3682 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3683 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3684 wxSize const &arg5_defvalue = wxDefaultSize ;
3685 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3686 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3687 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3688 wxString *arg7 = (wxString *) &arg7_defvalue ;
3689 wxMiniFrame *result;
3690 bool temp3 = False ;
3691 wxPoint temp4 ;
3692 wxSize temp5 ;
3693 bool temp7 = False ;
3694 PyObject * obj0 = 0 ;
3695 PyObject * obj2 = 0 ;
3696 PyObject * obj3 = 0 ;
3697 PyObject * obj4 = 0 ;
3698 PyObject * obj6 = 0 ;
3699 char *kwnames[] = {
3700 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3701 };
3702
3703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MiniFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3705 {
3706 arg3 = wxString_in_helper(obj2);
3707 if (arg3 == NULL) SWIG_fail;
3708 temp3 = True;
3709 }
3710 if (obj3) {
3711 {
3712 arg4 = &temp4;
3713 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3714 }
3715 }
3716 if (obj4) {
3717 {
3718 arg5 = &temp5;
3719 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3720 }
3721 }
3722 if (obj6) {
3723 {
3724 arg7 = wxString_in_helper(obj6);
3725 if (arg7 == NULL) SWIG_fail;
3726 temp7 = True;
3727 }
3728 }
3729 {
3730 PyThreadState* __tstate = wxPyBeginAllowThreads();
3731 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3732
3733 wxPyEndAllowThreads(__tstate);
3734 if (PyErr_Occurred()) SWIG_fail;
3735 }
3736 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
3737 {
3738 if (temp3)
3739 delete arg3;
3740 }
3741 {
3742 if (temp7)
3743 delete arg7;
3744 }
3745 return resultobj;
3746 fail:
3747 {
3748 if (temp3)
3749 delete arg3;
3750 }
3751 {
3752 if (temp7)
3753 delete arg7;
3754 }
3755 return NULL;
3756 }
3757
3758
3759 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3760 PyObject *resultobj;
3761 wxMiniFrame *result;
3762 char *kwnames[] = {
3763 NULL
3764 };
3765
3766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
3767 {
3768 PyThreadState* __tstate = wxPyBeginAllowThreads();
3769 result = (wxMiniFrame *)new wxMiniFrame();
3770
3771 wxPyEndAllowThreads(__tstate);
3772 if (PyErr_Occurred()) SWIG_fail;
3773 }
3774 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
3775 return resultobj;
3776 fail:
3777 return NULL;
3778 }
3779
3780
3781 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3782 PyObject *resultobj;
3783 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
3784 wxWindow *arg2 = (wxWindow *) 0 ;
3785 int arg3 ;
3786 wxString *arg4 = 0 ;
3787 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3788 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3789 wxSize const &arg6_defvalue = wxDefaultSize ;
3790 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3791 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3792 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3793 wxString *arg8 = (wxString *) &arg8_defvalue ;
3794 bool result;
3795 bool temp4 = False ;
3796 wxPoint temp5 ;
3797 wxSize temp6 ;
3798 bool temp8 = False ;
3799 PyObject * obj0 = 0 ;
3800 PyObject * obj1 = 0 ;
3801 PyObject * obj3 = 0 ;
3802 PyObject * obj4 = 0 ;
3803 PyObject * obj5 = 0 ;
3804 PyObject * obj7 = 0 ;
3805 char *kwnames[] = {
3806 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3807 };
3808
3809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MiniFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMiniFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3811 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3812 {
3813 arg4 = wxString_in_helper(obj3);
3814 if (arg4 == NULL) SWIG_fail;
3815 temp4 = True;
3816 }
3817 if (obj4) {
3818 {
3819 arg5 = &temp5;
3820 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3821 }
3822 }
3823 if (obj5) {
3824 {
3825 arg6 = &temp6;
3826 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3827 }
3828 }
3829 if (obj7) {
3830 {
3831 arg8 = wxString_in_helper(obj7);
3832 if (arg8 == NULL) SWIG_fail;
3833 temp8 = True;
3834 }
3835 }
3836 {
3837 PyThreadState* __tstate = wxPyBeginAllowThreads();
3838 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3839
3840 wxPyEndAllowThreads(__tstate);
3841 if (PyErr_Occurred()) SWIG_fail;
3842 }
3843 resultobj = PyInt_FromLong((long)result);
3844 {
3845 if (temp4)
3846 delete arg4;
3847 }
3848 {
3849 if (temp8)
3850 delete arg8;
3851 }
3852 return resultobj;
3853 fail:
3854 {
3855 if (temp4)
3856 delete arg4;
3857 }
3858 {
3859 if (temp8)
3860 delete arg8;
3861 }
3862 return NULL;
3863 }
3864
3865
3866 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
3867 PyObject *obj;
3868 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3869 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
3870 Py_INCREF(obj);
3871 return Py_BuildValue((char *)"");
3872 }
3873 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3874 PyObject *resultobj;
3875 wxBitmap *arg1 = 0 ;
3876 wxWindow *arg2 = (wxWindow *) 0 ;
3877 int arg3 ;
3878 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3879 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3880 wxSize const &arg5_defvalue = wxDefaultSize ;
3881 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3882 long arg6 = (long) wxNO_BORDER ;
3883 wxSplashScreenWindow *result;
3884 wxPoint temp4 ;
3885 wxSize temp5 ;
3886 PyObject * obj0 = 0 ;
3887 PyObject * obj1 = 0 ;
3888 PyObject * obj3 = 0 ;
3889 PyObject * obj4 = 0 ;
3890 char *kwnames[] = {
3891 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3892 };
3893
3894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOl:new_SplashScreenWindow",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
3895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3896 if (arg1 == NULL) {
3897 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3898 }
3899 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3900 if (obj3) {
3901 {
3902 arg4 = &temp4;
3903 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3904 }
3905 }
3906 if (obj4) {
3907 {
3908 arg5 = &temp5;
3909 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3910 }
3911 }
3912 {
3913 PyThreadState* __tstate = wxPyBeginAllowThreads();
3914 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
3915
3916 wxPyEndAllowThreads(__tstate);
3917 if (PyErr_Occurred()) SWIG_fail;
3918 }
3919 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 1);
3920 return resultobj;
3921 fail:
3922 return NULL;
3923 }
3924
3925
3926 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
3927 PyObject *resultobj;
3928 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
3929 wxBitmap *arg2 = 0 ;
3930 PyObject * obj0 = 0 ;
3931 PyObject * obj1 = 0 ;
3932 char *kwnames[] = {
3933 (char *) "self",(char *) "bitmap", NULL
3934 };
3935
3936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
3937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3938 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3939 if (arg2 == NULL) {
3940 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3941 }
3942 {
3943 PyThreadState* __tstate = wxPyBeginAllowThreads();
3944 (arg1)->SetBitmap((wxBitmap const &)*arg2);
3945
3946 wxPyEndAllowThreads(__tstate);
3947 if (PyErr_Occurred()) SWIG_fail;
3948 }
3949 Py_INCREF(Py_None); resultobj = Py_None;
3950 return resultobj;
3951 fail:
3952 return NULL;
3953 }
3954
3955
3956 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
3957 PyObject *resultobj;
3958 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
3959 wxBitmap *result;
3960 PyObject * obj0 = 0 ;
3961 char *kwnames[] = {
3962 (char *) "self", NULL
3963 };
3964
3965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
3966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3967 {
3968 PyThreadState* __tstate = wxPyBeginAllowThreads();
3969 {
3970 wxBitmap &_result_ref = (arg1)->GetBitmap();
3971 result = (wxBitmap *) &_result_ref;
3972 }
3973
3974 wxPyEndAllowThreads(__tstate);
3975 if (PyErr_Occurred()) SWIG_fail;
3976 }
3977 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
3978 return resultobj;
3979 fail:
3980 return NULL;
3981 }
3982
3983
3984 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
3985 PyObject *obj;
3986 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3987 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
3988 Py_INCREF(obj);
3989 return Py_BuildValue((char *)"");
3990 }
3991 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
3992 PyObject *resultobj;
3993 wxBitmap *arg1 = 0 ;
3994 long arg2 ;
3995 int arg3 ;
3996 wxWindow *arg4 = (wxWindow *) 0 ;
3997 int arg5 ;
3998 wxPoint const &arg6_defvalue = wxDefaultPosition ;
3999 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4000 wxSize const &arg7_defvalue = wxDefaultSize ;
4001 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4002 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4003 wxSplashScreen *result;
4004 wxPoint temp6 ;
4005 wxSize temp7 ;
4006 PyObject * obj0 = 0 ;
4007 PyObject * obj3 = 0 ;
4008 PyObject * obj5 = 0 ;
4009 PyObject * obj6 = 0 ;
4010 char *kwnames[] = {
4011 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4012 };
4013
4014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliOi|OOl:new_SplashScreen",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5,&obj5,&obj6,&arg8)) goto fail;
4015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4016 if (arg1 == NULL) {
4017 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4018 }
4019 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4020 if (obj5) {
4021 {
4022 arg6 = &temp6;
4023 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4024 }
4025 }
4026 if (obj6) {
4027 {
4028 arg7 = &temp7;
4029 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4030 }
4031 }
4032 {
4033 PyThreadState* __tstate = wxPyBeginAllowThreads();
4034 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4035
4036 wxPyEndAllowThreads(__tstate);
4037 if (PyErr_Occurred()) SWIG_fail;
4038 }
4039 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreen, 1);
4040 return resultobj;
4041 fail:
4042 return NULL;
4043 }
4044
4045
4046 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4047 PyObject *resultobj;
4048 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4049 long result;
4050 PyObject * obj0 = 0 ;
4051 char *kwnames[] = {
4052 (char *) "self", NULL
4053 };
4054
4055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4057 {
4058 PyThreadState* __tstate = wxPyBeginAllowThreads();
4059 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4060
4061 wxPyEndAllowThreads(__tstate);
4062 if (PyErr_Occurred()) SWIG_fail;
4063 }
4064 resultobj = PyInt_FromLong((long)result);
4065 return resultobj;
4066 fail:
4067 return NULL;
4068 }
4069
4070
4071 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4072 PyObject *resultobj;
4073 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4074 wxSplashScreenWindow *result;
4075 PyObject * obj0 = 0 ;
4076 char *kwnames[] = {
4077 (char *) "self", NULL
4078 };
4079
4080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4082 {
4083 PyThreadState* __tstate = wxPyBeginAllowThreads();
4084 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4085
4086 wxPyEndAllowThreads(__tstate);
4087 if (PyErr_Occurred()) SWIG_fail;
4088 }
4089 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 0);
4090 return resultobj;
4091 fail:
4092 return NULL;
4093 }
4094
4095
4096 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4097 PyObject *resultobj;
4098 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4099 int result;
4100 PyObject * obj0 = 0 ;
4101 char *kwnames[] = {
4102 (char *) "self", NULL
4103 };
4104
4105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4107 {
4108 PyThreadState* __tstate = wxPyBeginAllowThreads();
4109 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4110
4111 wxPyEndAllowThreads(__tstate);
4112 if (PyErr_Occurred()) SWIG_fail;
4113 }
4114 resultobj = PyInt_FromLong((long)result);
4115 return resultobj;
4116 fail:
4117 return NULL;
4118 }
4119
4120
4121 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4122 PyObject *obj;
4123 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4124 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4125 Py_INCREF(obj);
4126 return Py_BuildValue((char *)"");
4127 }
4128 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4129 PyObject *resultobj;
4130 wxWindow *arg1 = (wxWindow *) 0 ;
4131 int arg2 = (int) -1 ;
4132 long arg3 = (long) wxST_SIZEGRIP ;
4133 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4134 wxString *arg4 = (wxString *) &arg4_defvalue ;
4135 wxStatusBar *result;
4136 bool temp4 = False ;
4137 PyObject * obj0 = 0 ;
4138 PyObject * obj3 = 0 ;
4139 char *kwnames[] = {
4140 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4141 };
4142
4143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ilO:new_StatusBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
4144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4145 if (obj3) {
4146 {
4147 arg4 = wxString_in_helper(obj3);
4148 if (arg4 == NULL) SWIG_fail;
4149 temp4 = True;
4150 }
4151 }
4152 {
4153 PyThreadState* __tstate = wxPyBeginAllowThreads();
4154 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4155
4156 wxPyEndAllowThreads(__tstate);
4157 if (PyErr_Occurred()) SWIG_fail;
4158 }
4159 {
4160 resultobj = wxPyMake_wxObject(result);
4161 }
4162 {
4163 if (temp4)
4164 delete arg4;
4165 }
4166 return resultobj;
4167 fail:
4168 {
4169 if (temp4)
4170 delete arg4;
4171 }
4172 return NULL;
4173 }
4174
4175
4176 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4177 PyObject *resultobj;
4178 wxStatusBar *result;
4179 char *kwnames[] = {
4180 NULL
4181 };
4182
4183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4184 {
4185 PyThreadState* __tstate = wxPyBeginAllowThreads();
4186 result = (wxStatusBar *)new wxStatusBar();
4187
4188 wxPyEndAllowThreads(__tstate);
4189 if (PyErr_Occurred()) SWIG_fail;
4190 }
4191 {
4192 resultobj = wxPyMake_wxObject(result);
4193 }
4194 return resultobj;
4195 fail:
4196 return NULL;
4197 }
4198
4199
4200 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4201 PyObject *resultobj;
4202 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4203 wxWindow *arg2 = (wxWindow *) 0 ;
4204 int arg3 ;
4205 long arg4 = (long) wxST_SIZEGRIP ;
4206 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4207 wxString *arg5 = (wxString *) &arg5_defvalue ;
4208 bool result;
4209 bool temp5 = False ;
4210 PyObject * obj0 = 0 ;
4211 PyObject * obj1 = 0 ;
4212 PyObject * obj4 = 0 ;
4213 char *kwnames[] = {
4214 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4215 };
4216
4217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|lO:StatusBar_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
4218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4219 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4220 if (obj4) {
4221 {
4222 arg5 = wxString_in_helper(obj4);
4223 if (arg5 == NULL) SWIG_fail;
4224 temp5 = True;
4225 }
4226 }
4227 {
4228 PyThreadState* __tstate = wxPyBeginAllowThreads();
4229 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4230
4231 wxPyEndAllowThreads(__tstate);
4232 if (PyErr_Occurred()) SWIG_fail;
4233 }
4234 resultobj = PyInt_FromLong((long)result);
4235 {
4236 if (temp5)
4237 delete arg5;
4238 }
4239 return resultobj;
4240 fail:
4241 {
4242 if (temp5)
4243 delete arg5;
4244 }
4245 return NULL;
4246 }
4247
4248
4249 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4250 PyObject *resultobj;
4251 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4252 int arg2 = (int) 1 ;
4253 PyObject * obj0 = 0 ;
4254 char *kwnames[] = {
4255 (char *) "self",(char *) "number", NULL
4256 };
4257
4258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_SetFieldsCount",kwnames,&obj0,&arg2)) goto fail;
4259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4260 {
4261 PyThreadState* __tstate = wxPyBeginAllowThreads();
4262 (arg1)->SetFieldsCount(arg2);
4263
4264 wxPyEndAllowThreads(__tstate);
4265 if (PyErr_Occurred()) SWIG_fail;
4266 }
4267 Py_INCREF(Py_None); resultobj = Py_None;
4268 return resultobj;
4269 fail:
4270 return NULL;
4271 }
4272
4273
4274 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4275 PyObject *resultobj;
4276 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4277 int result;
4278 PyObject * obj0 = 0 ;
4279 char *kwnames[] = {
4280 (char *) "self", NULL
4281 };
4282
4283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
4284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4285 {
4286 PyThreadState* __tstate = wxPyBeginAllowThreads();
4287 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
4288
4289 wxPyEndAllowThreads(__tstate);
4290 if (PyErr_Occurred()) SWIG_fail;
4291 }
4292 resultobj = PyInt_FromLong((long)result);
4293 return resultobj;
4294 fail:
4295 return NULL;
4296 }
4297
4298
4299 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4300 PyObject *resultobj;
4301 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4302 wxString *arg2 = 0 ;
4303 int arg3 = (int) 0 ;
4304 bool temp2 = False ;
4305 PyObject * obj0 = 0 ;
4306 PyObject * obj1 = 0 ;
4307 char *kwnames[] = {
4308 (char *) "self",(char *) "text",(char *) "number", NULL
4309 };
4310
4311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4313 {
4314 arg2 = wxString_in_helper(obj1);
4315 if (arg2 == NULL) SWIG_fail;
4316 temp2 = True;
4317 }
4318 {
4319 PyThreadState* __tstate = wxPyBeginAllowThreads();
4320 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
4321
4322 wxPyEndAllowThreads(__tstate);
4323 if (PyErr_Occurred()) SWIG_fail;
4324 }
4325 Py_INCREF(Py_None); resultobj = Py_None;
4326 {
4327 if (temp2)
4328 delete arg2;
4329 }
4330 return resultobj;
4331 fail:
4332 {
4333 if (temp2)
4334 delete arg2;
4335 }
4336 return NULL;
4337 }
4338
4339
4340 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4341 PyObject *resultobj;
4342 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4343 int arg2 = (int) 0 ;
4344 wxString result;
4345 PyObject * obj0 = 0 ;
4346 char *kwnames[] = {
4347 (char *) "self",(char *) "number", NULL
4348 };
4349
4350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_GetStatusText",kwnames,&obj0,&arg2)) goto fail;
4351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4352 {
4353 PyThreadState* __tstate = wxPyBeginAllowThreads();
4354 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
4355
4356 wxPyEndAllowThreads(__tstate);
4357 if (PyErr_Occurred()) SWIG_fail;
4358 }
4359 {
4360 #if wxUSE_UNICODE
4361 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4362 #else
4363 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4364 #endif
4365 }
4366 return resultobj;
4367 fail:
4368 return NULL;
4369 }
4370
4371
4372 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4373 PyObject *resultobj;
4374 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4375 wxString *arg2 = 0 ;
4376 int arg3 = (int) 0 ;
4377 bool temp2 = False ;
4378 PyObject * obj0 = 0 ;
4379 PyObject * obj1 = 0 ;
4380 char *kwnames[] = {
4381 (char *) "self",(char *) "text",(char *) "number", NULL
4382 };
4383
4384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4386 {
4387 arg2 = wxString_in_helper(obj1);
4388 if (arg2 == NULL) SWIG_fail;
4389 temp2 = True;
4390 }
4391 {
4392 PyThreadState* __tstate = wxPyBeginAllowThreads();
4393 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
4394
4395 wxPyEndAllowThreads(__tstate);
4396 if (PyErr_Occurred()) SWIG_fail;
4397 }
4398 Py_INCREF(Py_None); resultobj = Py_None;
4399 {
4400 if (temp2)
4401 delete arg2;
4402 }
4403 return resultobj;
4404 fail:
4405 {
4406 if (temp2)
4407 delete arg2;
4408 }
4409 return NULL;
4410 }
4411
4412
4413 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4414 PyObject *resultobj;
4415 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4416 int arg2 = (int) 0 ;
4417 PyObject * obj0 = 0 ;
4418 char *kwnames[] = {
4419 (char *) "self",(char *) "number", NULL
4420 };
4421
4422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
4423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4424 {
4425 PyThreadState* __tstate = wxPyBeginAllowThreads();
4426 (arg1)->PopStatusText(arg2);
4427
4428 wxPyEndAllowThreads(__tstate);
4429 if (PyErr_Occurred()) SWIG_fail;
4430 }
4431 Py_INCREF(Py_None); resultobj = Py_None;
4432 return resultobj;
4433 fail:
4434 return NULL;
4435 }
4436
4437
4438 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
4439 PyObject *resultobj;
4440 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4441 int arg2 ;
4442 int *arg3 = (int *) 0 ;
4443 PyObject * obj0 = 0 ;
4444 PyObject * obj1 = 0 ;
4445 char *kwnames[] = {
4446 (char *) "self",(char *) "widths", NULL
4447 };
4448
4449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
4450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4451 {
4452 arg2 = PyList_Size(obj1);
4453 arg3 = int_LIST_helper(obj1);
4454 if (arg3 == NULL) SWIG_fail;
4455 }
4456 {
4457 PyThreadState* __tstate = wxPyBeginAllowThreads();
4458 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
4459
4460 wxPyEndAllowThreads(__tstate);
4461 if (PyErr_Occurred()) SWIG_fail;
4462 }
4463 Py_INCREF(Py_None); resultobj = Py_None;
4464 {
4465 if (arg3) delete [] arg3;
4466 }
4467 return resultobj;
4468 fail:
4469 {
4470 if (arg3) delete [] arg3;
4471 }
4472 return NULL;
4473 }
4474
4475
4476 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4477 PyObject *resultobj;
4478 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4479 int arg2 ;
4480 wxRect result;
4481 PyObject * obj0 = 0 ;
4482 char *kwnames[] = {
4483 (char *) "self",(char *) "i", NULL
4484 };
4485
4486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_GetFieldRect",kwnames,&obj0,&arg2)) goto fail;
4487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4488 {
4489 PyThreadState* __tstate = wxPyBeginAllowThreads();
4490 result = wxStatusBar_GetFieldRect(arg1,arg2);
4491
4492 wxPyEndAllowThreads(__tstate);
4493 if (PyErr_Occurred()) SWIG_fail;
4494 }
4495 {
4496 wxRect * resultptr;
4497 resultptr = new wxRect((wxRect &) result);
4498 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
4499 }
4500 return resultobj;
4501 fail:
4502 return NULL;
4503 }
4504
4505
4506 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
4507 PyObject *resultobj;
4508 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4509 int arg2 ;
4510 PyObject * obj0 = 0 ;
4511 char *kwnames[] = {
4512 (char *) "self",(char *) "height", NULL
4513 };
4514
4515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_SetMinHeight",kwnames,&obj0,&arg2)) goto fail;
4516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4517 {
4518 PyThreadState* __tstate = wxPyBeginAllowThreads();
4519 (arg1)->SetMinHeight(arg2);
4520
4521 wxPyEndAllowThreads(__tstate);
4522 if (PyErr_Occurred()) SWIG_fail;
4523 }
4524 Py_INCREF(Py_None); resultobj = Py_None;
4525 return resultobj;
4526 fail:
4527 return NULL;
4528 }
4529
4530
4531 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
4532 PyObject *resultobj;
4533 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4534 int result;
4535 PyObject * obj0 = 0 ;
4536 char *kwnames[] = {
4537 (char *) "self", NULL
4538 };
4539
4540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
4541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4542 {
4543 PyThreadState* __tstate = wxPyBeginAllowThreads();
4544 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
4545
4546 wxPyEndAllowThreads(__tstate);
4547 if (PyErr_Occurred()) SWIG_fail;
4548 }
4549 resultobj = PyInt_FromLong((long)result);
4550 return resultobj;
4551 fail:
4552 return NULL;
4553 }
4554
4555
4556 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
4557 PyObject *resultobj;
4558 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4559 int result;
4560 PyObject * obj0 = 0 ;
4561 char *kwnames[] = {
4562 (char *) "self", NULL
4563 };
4564
4565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
4566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4567 {
4568 PyThreadState* __tstate = wxPyBeginAllowThreads();
4569 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
4570
4571 wxPyEndAllowThreads(__tstate);
4572 if (PyErr_Occurred()) SWIG_fail;
4573 }
4574 resultobj = PyInt_FromLong((long)result);
4575 return resultobj;
4576 fail:
4577 return NULL;
4578 }
4579
4580
4581 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
4582 PyObject *obj;
4583 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4584 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
4585 Py_INCREF(obj);
4586 return Py_BuildValue((char *)"");
4587 }
4588 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4589 PyObject *resultobj;
4590 wxWindow *arg1 = (wxWindow *) 0 ;
4591 int arg2 ;
4592 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4593 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4594 wxSize const &arg4_defvalue = wxDefaultSize ;
4595 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4596 long arg5 = (long) wxSP_3D ;
4597 wxString const &arg6_defvalue = wxPySplitterNameStr ;
4598 wxString *arg6 = (wxString *) &arg6_defvalue ;
4599 wxSplitterWindow *result;
4600 wxPoint temp3 ;
4601 wxSize temp4 ;
4602 bool temp6 = False ;
4603 PyObject * obj0 = 0 ;
4604 PyObject * obj2 = 0 ;
4605 PyObject * obj3 = 0 ;
4606 PyObject * obj5 = 0 ;
4607 char *kwnames[] = {
4608 (char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4609 };
4610
4611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SplitterWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
4612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4613 if (obj2) {
4614 {
4615 arg3 = &temp3;
4616 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4617 }
4618 }
4619 if (obj3) {
4620 {
4621 arg4 = &temp4;
4622 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4623 }
4624 }
4625 if (obj5) {
4626 {
4627 arg6 = wxString_in_helper(obj5);
4628 if (arg6 == NULL) SWIG_fail;
4629 temp6 = True;
4630 }
4631 }
4632 {
4633 PyThreadState* __tstate = wxPyBeginAllowThreads();
4634 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4635
4636 wxPyEndAllowThreads(__tstate);
4637 if (PyErr_Occurred()) SWIG_fail;
4638 }
4639 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
4640 {
4641 if (temp6)
4642 delete arg6;
4643 }
4644 return resultobj;
4645 fail:
4646 {
4647 if (temp6)
4648 delete arg6;
4649 }
4650 return NULL;
4651 }
4652
4653
4654 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4655 PyObject *resultobj;
4656 wxSplitterWindow *result;
4657 char *kwnames[] = {
4658 NULL
4659 };
4660
4661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
4662 {
4663 PyThreadState* __tstate = wxPyBeginAllowThreads();
4664 result = (wxSplitterWindow *)new wxSplitterWindow();
4665
4666 wxPyEndAllowThreads(__tstate);
4667 if (PyErr_Occurred()) SWIG_fail;
4668 }
4669 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
4670 return resultobj;
4671 fail:
4672 return NULL;
4673 }
4674
4675
4676 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4677 PyObject *resultobj;
4678 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4679 wxWindow *arg2 = (wxWindow *) 0 ;
4680 int arg3 ;
4681 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4682 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4683 wxSize const &arg5_defvalue = wxDefaultSize ;
4684 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4685 long arg6 = (long) wxSP_3D ;
4686 wxString const &arg7_defvalue = wxPySplitterNameStr ;
4687 wxString *arg7 = (wxString *) &arg7_defvalue ;
4688 bool result;
4689 wxPoint temp4 ;
4690 wxSize temp5 ;
4691 bool temp7 = False ;
4692 PyObject * obj0 = 0 ;
4693 PyObject * obj1 = 0 ;
4694 PyObject * obj3 = 0 ;
4695 PyObject * obj4 = 0 ;
4696 PyObject * obj6 = 0 ;
4697 char *kwnames[] = {
4698 (char *) "self",(char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4699 };
4700
4701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SplitterWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
4702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4703 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4704 if (obj3) {
4705 {
4706 arg4 = &temp4;
4707 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4708 }
4709 }
4710 if (obj4) {
4711 {
4712 arg5 = &temp5;
4713 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4714 }
4715 }
4716 if (obj6) {
4717 {
4718 arg7 = wxString_in_helper(obj6);
4719 if (arg7 == NULL) SWIG_fail;
4720 temp7 = True;
4721 }
4722 }
4723 {
4724 PyThreadState* __tstate = wxPyBeginAllowThreads();
4725 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4726
4727 wxPyEndAllowThreads(__tstate);
4728 if (PyErr_Occurred()) SWIG_fail;
4729 }
4730 resultobj = PyInt_FromLong((long)result);
4731 {
4732 if (temp7)
4733 delete arg7;
4734 }
4735 return resultobj;
4736 fail:
4737 {
4738 if (temp7)
4739 delete arg7;
4740 }
4741 return NULL;
4742 }
4743
4744
4745 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
4746 PyObject *resultobj;
4747 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4748 wxWindow *result;
4749 PyObject * obj0 = 0 ;
4750 char *kwnames[] = {
4751 (char *) "self", NULL
4752 };
4753
4754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
4755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4756 {
4757 PyThreadState* __tstate = wxPyBeginAllowThreads();
4758 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
4759
4760 wxPyEndAllowThreads(__tstate);
4761 if (PyErr_Occurred()) SWIG_fail;
4762 }
4763 {
4764 resultobj = wxPyMake_wxObject(result);
4765 }
4766 return resultobj;
4767 fail:
4768 return NULL;
4769 }
4770
4771
4772 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
4773 PyObject *resultobj;
4774 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4775 wxWindow *result;
4776 PyObject * obj0 = 0 ;
4777 char *kwnames[] = {
4778 (char *) "self", NULL
4779 };
4780
4781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
4782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4783 {
4784 PyThreadState* __tstate = wxPyBeginAllowThreads();
4785 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
4786
4787 wxPyEndAllowThreads(__tstate);
4788 if (PyErr_Occurred()) SWIG_fail;
4789 }
4790 {
4791 resultobj = wxPyMake_wxObject(result);
4792 }
4793 return resultobj;
4794 fail:
4795 return NULL;
4796 }
4797
4798
4799 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4800 PyObject *resultobj;
4801 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4802 int arg2 ;
4803 PyObject * obj0 = 0 ;
4804 char *kwnames[] = {
4805 (char *) "self",(char *) "mode", NULL
4806 };
4807
4808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSplitMode",kwnames,&obj0,&arg2)) goto fail;
4809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4810 {
4811 PyThreadState* __tstate = wxPyBeginAllowThreads();
4812 (arg1)->SetSplitMode(arg2);
4813
4814 wxPyEndAllowThreads(__tstate);
4815 if (PyErr_Occurred()) SWIG_fail;
4816 }
4817 Py_INCREF(Py_None); resultobj = Py_None;
4818 return resultobj;
4819 fail:
4820 return NULL;
4821 }
4822
4823
4824 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4825 PyObject *resultobj;
4826 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4827 int result;
4828 PyObject * obj0 = 0 ;
4829 char *kwnames[] = {
4830 (char *) "self", NULL
4831 };
4832
4833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
4834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4835 {
4836 PyThreadState* __tstate = wxPyBeginAllowThreads();
4837 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
4838
4839 wxPyEndAllowThreads(__tstate);
4840 if (PyErr_Occurred()) SWIG_fail;
4841 }
4842 resultobj = PyInt_FromLong((long)result);
4843 return resultobj;
4844 fail:
4845 return NULL;
4846 }
4847
4848
4849 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
4850 PyObject *resultobj;
4851 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4852 wxWindow *arg2 = (wxWindow *) 0 ;
4853 PyObject * obj0 = 0 ;
4854 PyObject * obj1 = 0 ;
4855 char *kwnames[] = {
4856 (char *) "self",(char *) "window", NULL
4857 };
4858
4859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
4860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4861 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4862 {
4863 PyThreadState* __tstate = wxPyBeginAllowThreads();
4864 (arg1)->Initialize(arg2);
4865
4866 wxPyEndAllowThreads(__tstate);
4867 if (PyErr_Occurred()) SWIG_fail;
4868 }
4869 Py_INCREF(Py_None); resultobj = Py_None;
4870 return resultobj;
4871 fail:
4872 return NULL;
4873 }
4874
4875
4876 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
4877 PyObject *resultobj;
4878 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4879 wxWindow *arg2 = (wxWindow *) 0 ;
4880 wxWindow *arg3 = (wxWindow *) 0 ;
4881 int arg4 = (int) 0 ;
4882 bool result;
4883 PyObject * obj0 = 0 ;
4884 PyObject * obj1 = 0 ;
4885 PyObject * obj2 = 0 ;
4886 char *kwnames[] = {
4887 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
4888 };
4889
4890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
4891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4892 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4893 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4894 {
4895 PyThreadState* __tstate = wxPyBeginAllowThreads();
4896 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
4897
4898 wxPyEndAllowThreads(__tstate);
4899 if (PyErr_Occurred()) SWIG_fail;
4900 }
4901 resultobj = PyInt_FromLong((long)result);
4902 return resultobj;
4903 fail:
4904 return NULL;
4905 }
4906
4907
4908 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
4909 PyObject *resultobj;
4910 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4911 wxWindow *arg2 = (wxWindow *) 0 ;
4912 wxWindow *arg3 = (wxWindow *) 0 ;
4913 int arg4 = (int) 0 ;
4914 bool result;
4915 PyObject * obj0 = 0 ;
4916 PyObject * obj1 = 0 ;
4917 PyObject * obj2 = 0 ;
4918 char *kwnames[] = {
4919 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
4920 };
4921
4922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
4923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4924 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4925 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4926 {
4927 PyThreadState* __tstate = wxPyBeginAllowThreads();
4928 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
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_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
4941 PyObject *resultobj;
4942 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4943 wxWindow *arg2 = (wxWindow *) NULL ;
4944 bool result;
4945 PyObject * obj0 = 0 ;
4946 PyObject * obj1 = 0 ;
4947 char *kwnames[] = {
4948 (char *) "self",(char *) "toRemove", NULL
4949 };
4950
4951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
4952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4953 if (obj1) {
4954 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4955 }
4956 {
4957 PyThreadState* __tstate = wxPyBeginAllowThreads();
4958 result = (bool)(arg1)->Unsplit(arg2);
4959
4960 wxPyEndAllowThreads(__tstate);
4961 if (PyErr_Occurred()) SWIG_fail;
4962 }
4963 resultobj = PyInt_FromLong((long)result);
4964 return resultobj;
4965 fail:
4966 return NULL;
4967 }
4968
4969
4970 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4971 PyObject *resultobj;
4972 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4973 wxWindow *arg2 = (wxWindow *) 0 ;
4974 wxWindow *arg3 = (wxWindow *) 0 ;
4975 bool result;
4976 PyObject * obj0 = 0 ;
4977 PyObject * obj1 = 0 ;
4978 PyObject * obj2 = 0 ;
4979 char *kwnames[] = {
4980 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
4981 };
4982
4983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
4984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4985 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4986 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4987 {
4988 PyThreadState* __tstate = wxPyBeginAllowThreads();
4989 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
4990
4991 wxPyEndAllowThreads(__tstate);
4992 if (PyErr_Occurred()) SWIG_fail;
4993 }
4994 resultobj = PyInt_FromLong((long)result);
4995 return resultobj;
4996 fail:
4997 return NULL;
4998 }
4999
5000
5001 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5002 PyObject *resultobj;
5003 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5004 bool result;
5005 PyObject * obj0 = 0 ;
5006 char *kwnames[] = {
5007 (char *) "self", NULL
5008 };
5009
5010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5012 {
5013 PyThreadState* __tstate = wxPyBeginAllowThreads();
5014 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5015
5016 wxPyEndAllowThreads(__tstate);
5017 if (PyErr_Occurred()) SWIG_fail;
5018 }
5019 resultobj = PyInt_FromLong((long)result);
5020 return resultobj;
5021 fail:
5022 return NULL;
5023 }
5024
5025
5026 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5027 PyObject *resultobj;
5028 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5029 int arg2 ;
5030 PyObject * obj0 = 0 ;
5031 char *kwnames[] = {
5032 (char *) "self",(char *) "width", NULL
5033 };
5034
5035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSashSize",kwnames,&obj0,&arg2)) goto fail;
5036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5037 {
5038 PyThreadState* __tstate = wxPyBeginAllowThreads();
5039 (arg1)->SetSashSize(arg2);
5040
5041 wxPyEndAllowThreads(__tstate);
5042 if (PyErr_Occurred()) SWIG_fail;
5043 }
5044 Py_INCREF(Py_None); resultobj = Py_None;
5045 return resultobj;
5046 fail:
5047 return NULL;
5048 }
5049
5050
5051 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5052 PyObject *resultobj;
5053 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5054 int arg2 ;
5055 PyObject * obj0 = 0 ;
5056 char *kwnames[] = {
5057 (char *) "self",(char *) "width", NULL
5058 };
5059
5060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetBorderSize",kwnames,&obj0,&arg2)) goto fail;
5061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5062 {
5063 PyThreadState* __tstate = wxPyBeginAllowThreads();
5064 (arg1)->SetBorderSize(arg2);
5065
5066 wxPyEndAllowThreads(__tstate);
5067 if (PyErr_Occurred()) SWIG_fail;
5068 }
5069 Py_INCREF(Py_None); resultobj = Py_None;
5070 return resultobj;
5071 fail:
5072 return NULL;
5073 }
5074
5075
5076 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5077 PyObject *resultobj;
5078 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5079 int result;
5080 PyObject * obj0 = 0 ;
5081 char *kwnames[] = {
5082 (char *) "self", NULL
5083 };
5084
5085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
5086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5087 {
5088 PyThreadState* __tstate = wxPyBeginAllowThreads();
5089 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
5090
5091 wxPyEndAllowThreads(__tstate);
5092 if (PyErr_Occurred()) SWIG_fail;
5093 }
5094 resultobj = PyInt_FromLong((long)result);
5095 return resultobj;
5096 fail:
5097 return NULL;
5098 }
5099
5100
5101 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5102 PyObject *resultobj;
5103 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5104 int result;
5105 PyObject * obj0 = 0 ;
5106 char *kwnames[] = {
5107 (char *) "self", NULL
5108 };
5109
5110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
5111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5112 {
5113 PyThreadState* __tstate = wxPyBeginAllowThreads();
5114 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
5115
5116 wxPyEndAllowThreads(__tstate);
5117 if (PyErr_Occurred()) SWIG_fail;
5118 }
5119 resultobj = PyInt_FromLong((long)result);
5120 return resultobj;
5121 fail:
5122 return NULL;
5123 }
5124
5125
5126 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5127 PyObject *resultobj;
5128 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5129 int arg2 ;
5130 bool arg3 = (bool) True ;
5131 PyObject * obj0 = 0 ;
5132 PyObject * obj2 = 0 ;
5133 char *kwnames[] = {
5134 (char *) "self",(char *) "position",(char *) "redraw", NULL
5135 };
5136
5137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
5138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5139 if (obj2) {
5140 arg3 = PyInt_AsLong(obj2) ? true : false;
5141 if (PyErr_Occurred()) SWIG_fail;
5142 }
5143 {
5144 PyThreadState* __tstate = wxPyBeginAllowThreads();
5145 (arg1)->SetSashPosition(arg2,arg3);
5146
5147 wxPyEndAllowThreads(__tstate);
5148 if (PyErr_Occurred()) SWIG_fail;
5149 }
5150 Py_INCREF(Py_None); resultobj = Py_None;
5151 return resultobj;
5152 fail:
5153 return NULL;
5154 }
5155
5156
5157 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5158 PyObject *resultobj;
5159 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5160 int result;
5161 PyObject * obj0 = 0 ;
5162 char *kwnames[] = {
5163 (char *) "self", NULL
5164 };
5165
5166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
5167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5168 {
5169 PyThreadState* __tstate = wxPyBeginAllowThreads();
5170 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
5171
5172 wxPyEndAllowThreads(__tstate);
5173 if (PyErr_Occurred()) SWIG_fail;
5174 }
5175 resultobj = PyInt_FromLong((long)result);
5176 return resultobj;
5177 fail:
5178 return NULL;
5179 }
5180
5181
5182 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5183 PyObject *resultobj;
5184 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5185 int arg2 ;
5186 PyObject * obj0 = 0 ;
5187 char *kwnames[] = {
5188 (char *) "self",(char *) "min", NULL
5189 };
5190
5191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&arg2)) goto fail;
5192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5193 {
5194 PyThreadState* __tstate = wxPyBeginAllowThreads();
5195 (arg1)->SetMinimumPaneSize(arg2);
5196
5197 wxPyEndAllowThreads(__tstate);
5198 if (PyErr_Occurred()) SWIG_fail;
5199 }
5200 Py_INCREF(Py_None); resultobj = Py_None;
5201 return resultobj;
5202 fail:
5203 return NULL;
5204 }
5205
5206
5207 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5208 PyObject *resultobj;
5209 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5210 int result;
5211 PyObject * obj0 = 0 ;
5212 char *kwnames[] = {
5213 (char *) "self", NULL
5214 };
5215
5216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
5217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5218 {
5219 PyThreadState* __tstate = wxPyBeginAllowThreads();
5220 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
5221
5222 wxPyEndAllowThreads(__tstate);
5223 if (PyErr_Occurred()) SWIG_fail;
5224 }
5225 resultobj = PyInt_FromLong((long)result);
5226 return resultobj;
5227 fail:
5228 return NULL;
5229 }
5230
5231
5232 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5233 PyObject *resultobj;
5234 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5235 int arg2 ;
5236 int arg3 ;
5237 int arg4 = (int) 5 ;
5238 bool result;
5239 PyObject * obj0 = 0 ;
5240 char *kwnames[] = {
5241 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5242 };
5243
5244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SplitterWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
5245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5246 {
5247 PyThreadState* __tstate = wxPyBeginAllowThreads();
5248 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
5249
5250 wxPyEndAllowThreads(__tstate);
5251 if (PyErr_Occurred()) SWIG_fail;
5252 }
5253 resultobj = PyInt_FromLong((long)result);
5254 return resultobj;
5255 fail:
5256 return NULL;
5257 }
5258
5259
5260 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
5261 PyObject *resultobj;
5262 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5263 PyObject * obj0 = 0 ;
5264 char *kwnames[] = {
5265 (char *) "self", NULL
5266 };
5267
5268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
5269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5270 {
5271 PyThreadState* __tstate = wxPyBeginAllowThreads();
5272 (arg1)->SizeWindows();
5273
5274 wxPyEndAllowThreads(__tstate);
5275 if (PyErr_Occurred()) SWIG_fail;
5276 }
5277 Py_INCREF(Py_None); resultobj = Py_None;
5278 return resultobj;
5279 fail:
5280 return NULL;
5281 }
5282
5283
5284 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5285 PyObject *resultobj;
5286 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5287 bool arg2 ;
5288 PyObject * obj0 = 0 ;
5289 PyObject * obj1 = 0 ;
5290 char *kwnames[] = {
5291 (char *) "self",(char *) "needUpdating", NULL
5292 };
5293
5294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
5295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5296 arg2 = PyInt_AsLong(obj1) ? true : false;
5297 if (PyErr_Occurred()) SWIG_fail;
5298 {
5299 PyThreadState* __tstate = wxPyBeginAllowThreads();
5300 (arg1)->SetNeedUpdating(arg2);
5301
5302 wxPyEndAllowThreads(__tstate);
5303 if (PyErr_Occurred()) SWIG_fail;
5304 }
5305 Py_INCREF(Py_None); resultobj = Py_None;
5306 return resultobj;
5307 fail:
5308 return NULL;
5309 }
5310
5311
5312 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5313 PyObject *resultobj;
5314 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5315 bool result;
5316 PyObject * obj0 = 0 ;
5317 char *kwnames[] = {
5318 (char *) "self", NULL
5319 };
5320
5321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
5322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5323 {
5324 PyThreadState* __tstate = wxPyBeginAllowThreads();
5325 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
5326
5327 wxPyEndAllowThreads(__tstate);
5328 if (PyErr_Occurred()) SWIG_fail;
5329 }
5330 resultobj = PyInt_FromLong((long)result);
5331 return resultobj;
5332 fail:
5333 return NULL;
5334 }
5335
5336
5337 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
5338 PyObject *obj;
5339 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5340 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
5341 Py_INCREF(obj);
5342 return Py_BuildValue((char *)"");
5343 }
5344 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5345 PyObject *resultobj;
5346 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
5347 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
5348 wxSplitterEvent *result;
5349 PyObject * obj1 = 0 ;
5350 char *kwnames[] = {
5351 (char *) "type",(char *) "splitter", NULL
5352 };
5353
5354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_SplitterEvent",kwnames,&arg1,&obj1)) goto fail;
5355 if (obj1) {
5356 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5357 }
5358 {
5359 PyThreadState* __tstate = wxPyBeginAllowThreads();
5360 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
5361
5362 wxPyEndAllowThreads(__tstate);
5363 if (PyErr_Occurred()) SWIG_fail;
5364 }
5365 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterEvent, 1);
5366 return resultobj;
5367 fail:
5368 return NULL;
5369 }
5370
5371
5372 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5373 PyObject *resultobj;
5374 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5375 int arg2 ;
5376 PyObject * obj0 = 0 ;
5377 char *kwnames[] = {
5378 (char *) "self",(char *) "pos", NULL
5379 };
5380
5381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterEvent_SetSashPosition",kwnames,&obj0,&arg2)) goto fail;
5382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5383 {
5384 PyThreadState* __tstate = wxPyBeginAllowThreads();
5385 (arg1)->SetSashPosition(arg2);
5386
5387 wxPyEndAllowThreads(__tstate);
5388 if (PyErr_Occurred()) SWIG_fail;
5389 }
5390 Py_INCREF(Py_None); resultobj = Py_None;
5391 return resultobj;
5392 fail:
5393 return NULL;
5394 }
5395
5396
5397 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5398 PyObject *resultobj;
5399 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5400 int result;
5401 PyObject * obj0 = 0 ;
5402 char *kwnames[] = {
5403 (char *) "self", NULL
5404 };
5405
5406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
5407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5408 {
5409 PyThreadState* __tstate = wxPyBeginAllowThreads();
5410 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
5411
5412 wxPyEndAllowThreads(__tstate);
5413 if (PyErr_Occurred()) SWIG_fail;
5414 }
5415 resultobj = PyInt_FromLong((long)result);
5416 return resultobj;
5417 fail:
5418 return NULL;
5419 }
5420
5421
5422 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
5423 PyObject *resultobj;
5424 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5425 wxWindow *result;
5426 PyObject * obj0 = 0 ;
5427 char *kwnames[] = {
5428 (char *) "self", NULL
5429 };
5430
5431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
5432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5433 {
5434 PyThreadState* __tstate = wxPyBeginAllowThreads();
5435 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
5436
5437 wxPyEndAllowThreads(__tstate);
5438 if (PyErr_Occurred()) SWIG_fail;
5439 }
5440 {
5441 resultobj = wxPyMake_wxObject(result);
5442 }
5443 return resultobj;
5444 fail:
5445 return NULL;
5446 }
5447
5448
5449 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
5450 PyObject *resultobj;
5451 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5452 int result;
5453 PyObject * obj0 = 0 ;
5454 char *kwnames[] = {
5455 (char *) "self", NULL
5456 };
5457
5458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
5459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5460 {
5461 PyThreadState* __tstate = wxPyBeginAllowThreads();
5462 result = (int)((wxSplitterEvent const *)arg1)->GetX();
5463
5464 wxPyEndAllowThreads(__tstate);
5465 if (PyErr_Occurred()) SWIG_fail;
5466 }
5467 resultobj = PyInt_FromLong((long)result);
5468 return resultobj;
5469 fail:
5470 return NULL;
5471 }
5472
5473
5474 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
5475 PyObject *resultobj;
5476 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5477 int result;
5478 PyObject * obj0 = 0 ;
5479 char *kwnames[] = {
5480 (char *) "self", NULL
5481 };
5482
5483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
5484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5485 {
5486 PyThreadState* __tstate = wxPyBeginAllowThreads();
5487 result = (int)((wxSplitterEvent const *)arg1)->GetY();
5488
5489 wxPyEndAllowThreads(__tstate);
5490 if (PyErr_Occurred()) SWIG_fail;
5491 }
5492 resultobj = PyInt_FromLong((long)result);
5493 return resultobj;
5494 fail:
5495 return NULL;
5496 }
5497
5498
5499 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
5500 PyObject *obj;
5501 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5502 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
5503 Py_INCREF(obj);
5504 return Py_BuildValue((char *)"");
5505 }
5506 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5507 PyObject *resultobj;
5508 wxWindow *arg1 = (wxWindow *) 0 ;
5509 int arg2 ;
5510 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5511 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5512 wxSize const &arg4_defvalue = wxDefaultSize ;
5513 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5514 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
5515 wxString const &arg6_defvalue = wxPySashNameStr ;
5516 wxString *arg6 = (wxString *) &arg6_defvalue ;
5517 wxSashWindow *result;
5518 wxPoint temp3 ;
5519 wxSize temp4 ;
5520 bool temp6 = False ;
5521 PyObject * obj0 = 0 ;
5522 PyObject * obj2 = 0 ;
5523 PyObject * obj3 = 0 ;
5524 PyObject * obj5 = 0 ;
5525 char *kwnames[] = {
5526 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5527 };
5528
5529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
5530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5531 if (obj2) {
5532 {
5533 arg3 = &temp3;
5534 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5535 }
5536 }
5537 if (obj3) {
5538 {
5539 arg4 = &temp4;
5540 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5541 }
5542 }
5543 if (obj5) {
5544 {
5545 arg6 = wxString_in_helper(obj5);
5546 if (arg6 == NULL) SWIG_fail;
5547 temp6 = True;
5548 }
5549 }
5550 {
5551 PyThreadState* __tstate = wxPyBeginAllowThreads();
5552 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5553
5554 wxPyEndAllowThreads(__tstate);
5555 if (PyErr_Occurred()) SWIG_fail;
5556 }
5557 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
5558 {
5559 if (temp6)
5560 delete arg6;
5561 }
5562 return resultobj;
5563 fail:
5564 {
5565 if (temp6)
5566 delete arg6;
5567 }
5568 return NULL;
5569 }
5570
5571
5572 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5573 PyObject *resultobj;
5574 wxSashWindow *result;
5575 char *kwnames[] = {
5576 NULL
5577 };
5578
5579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
5580 {
5581 PyThreadState* __tstate = wxPyBeginAllowThreads();
5582 result = (wxSashWindow *)new wxSashWindow();
5583
5584 wxPyEndAllowThreads(__tstate);
5585 if (PyErr_Occurred()) SWIG_fail;
5586 }
5587 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
5588 return resultobj;
5589 fail:
5590 return NULL;
5591 }
5592
5593
5594 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5595 PyObject *resultobj;
5596 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5597 wxWindow *arg2 = (wxWindow *) 0 ;
5598 int arg3 ;
5599 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5600 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5601 wxSize const &arg5_defvalue = wxDefaultSize ;
5602 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5603 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
5604 wxString const &arg7_defvalue = wxPySashNameStr ;
5605 wxString *arg7 = (wxString *) &arg7_defvalue ;
5606 bool result;
5607 wxPoint temp4 ;
5608 wxSize temp5 ;
5609 bool temp7 = False ;
5610 PyObject * obj0 = 0 ;
5611 PyObject * obj1 = 0 ;
5612 PyObject * obj3 = 0 ;
5613 PyObject * obj4 = 0 ;
5614 PyObject * obj6 = 0 ;
5615 char *kwnames[] = {
5616 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5617 };
5618
5619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
5620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5621 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5622 if (obj3) {
5623 {
5624 arg4 = &temp4;
5625 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5626 }
5627 }
5628 if (obj4) {
5629 {
5630 arg5 = &temp5;
5631 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5632 }
5633 }
5634 if (obj6) {
5635 {
5636 arg7 = wxString_in_helper(obj6);
5637 if (arg7 == NULL) SWIG_fail;
5638 temp7 = True;
5639 }
5640 }
5641 {
5642 PyThreadState* __tstate = wxPyBeginAllowThreads();
5643 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5644
5645 wxPyEndAllowThreads(__tstate);
5646 if (PyErr_Occurred()) SWIG_fail;
5647 }
5648 resultobj = PyInt_FromLong((long)result);
5649 {
5650 if (temp7)
5651 delete arg7;
5652 }
5653 return resultobj;
5654 fail:
5655 {
5656 if (temp7)
5657 delete arg7;
5658 }
5659 return NULL;
5660 }
5661
5662
5663 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5664 PyObject *resultobj;
5665 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5666 int arg2 ;
5667 bool arg3 ;
5668 PyObject * obj0 = 0 ;
5669 PyObject * obj2 = 0 ;
5670 char *kwnames[] = {
5671 (char *) "self",(char *) "edge",(char *) "sash", NULL
5672 };
5673
5674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashVisible",kwnames,&obj0,&arg2,&obj2)) goto fail;
5675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5676 arg3 = PyInt_AsLong(obj2) ? true : false;
5677 if (PyErr_Occurred()) SWIG_fail;
5678 {
5679 PyThreadState* __tstate = wxPyBeginAllowThreads();
5680 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
5681
5682 wxPyEndAllowThreads(__tstate);
5683 if (PyErr_Occurred()) SWIG_fail;
5684 }
5685 Py_INCREF(Py_None); resultobj = Py_None;
5686 return resultobj;
5687 fail:
5688 return NULL;
5689 }
5690
5691
5692 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5693 PyObject *resultobj;
5694 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5695 int arg2 ;
5696 bool result;
5697 PyObject * obj0 = 0 ;
5698 char *kwnames[] = {
5699 (char *) "self",(char *) "edge", NULL
5700 };
5701
5702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetSashVisible",kwnames,&obj0,&arg2)) goto fail;
5703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5704 {
5705 PyThreadState* __tstate = wxPyBeginAllowThreads();
5706 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
5707
5708 wxPyEndAllowThreads(__tstate);
5709 if (PyErr_Occurred()) SWIG_fail;
5710 }
5711 resultobj = PyInt_FromLong((long)result);
5712 return resultobj;
5713 fail:
5714 return NULL;
5715 }
5716
5717
5718 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
5719 PyObject *resultobj;
5720 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5721 int arg2 ;
5722 bool arg3 ;
5723 PyObject * obj0 = 0 ;
5724 PyObject * obj2 = 0 ;
5725 char *kwnames[] = {
5726 (char *) "self",(char *) "edge",(char *) "border", NULL
5727 };
5728
5729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashBorder",kwnames,&obj0,&arg2,&obj2)) goto fail;
5730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5731 arg3 = PyInt_AsLong(obj2) ? true : false;
5732 if (PyErr_Occurred()) SWIG_fail;
5733 {
5734 PyThreadState* __tstate = wxPyBeginAllowThreads();
5735 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
5736
5737 wxPyEndAllowThreads(__tstate);
5738 if (PyErr_Occurred()) SWIG_fail;
5739 }
5740 Py_INCREF(Py_None); resultobj = Py_None;
5741 return resultobj;
5742 fail:
5743 return NULL;
5744 }
5745
5746
5747 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
5748 PyObject *resultobj;
5749 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5750 int arg2 ;
5751 bool result;
5752 PyObject * obj0 = 0 ;
5753 char *kwnames[] = {
5754 (char *) "self",(char *) "edge", NULL
5755 };
5756
5757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_HasBorder",kwnames,&obj0,&arg2)) goto fail;
5758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5759 {
5760 PyThreadState* __tstate = wxPyBeginAllowThreads();
5761 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
5762
5763 wxPyEndAllowThreads(__tstate);
5764 if (PyErr_Occurred()) SWIG_fail;
5765 }
5766 resultobj = PyInt_FromLong((long)result);
5767 return resultobj;
5768 fail:
5769 return NULL;
5770 }
5771
5772
5773 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
5774 PyObject *resultobj;
5775 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5776 int arg2 ;
5777 int result;
5778 PyObject * obj0 = 0 ;
5779 char *kwnames[] = {
5780 (char *) "self",(char *) "edge", NULL
5781 };
5782
5783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetEdgeMargin",kwnames,&obj0,&arg2)) goto fail;
5784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5785 {
5786 PyThreadState* __tstate = wxPyBeginAllowThreads();
5787 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
5788
5789 wxPyEndAllowThreads(__tstate);
5790 if (PyErr_Occurred()) SWIG_fail;
5791 }
5792 resultobj = PyInt_FromLong((long)result);
5793 return resultobj;
5794 fail:
5795 return NULL;
5796 }
5797
5798
5799 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5800 PyObject *resultobj;
5801 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5802 int arg2 ;
5803 PyObject * obj0 = 0 ;
5804 char *kwnames[] = {
5805 (char *) "self",(char *) "width", NULL
5806 };
5807
5808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&arg2)) goto fail;
5809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5810 {
5811 PyThreadState* __tstate = wxPyBeginAllowThreads();
5812 (arg1)->SetDefaultBorderSize(arg2);
5813
5814 wxPyEndAllowThreads(__tstate);
5815 if (PyErr_Occurred()) SWIG_fail;
5816 }
5817 Py_INCREF(Py_None); resultobj = Py_None;
5818 return resultobj;
5819 fail:
5820 return NULL;
5821 }
5822
5823
5824 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5825 PyObject *resultobj;
5826 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5827 int result;
5828 PyObject * obj0 = 0 ;
5829 char *kwnames[] = {
5830 (char *) "self", NULL
5831 };
5832
5833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
5834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5835 {
5836 PyThreadState* __tstate = wxPyBeginAllowThreads();
5837 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
5838
5839 wxPyEndAllowThreads(__tstate);
5840 if (PyErr_Occurred()) SWIG_fail;
5841 }
5842 resultobj = PyInt_FromLong((long)result);
5843 return resultobj;
5844 fail:
5845 return NULL;
5846 }
5847
5848
5849 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5850 PyObject *resultobj;
5851 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5852 int arg2 ;
5853 PyObject * obj0 = 0 ;
5854 char *kwnames[] = {
5855 (char *) "self",(char *) "width", NULL
5856 };
5857
5858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetExtraBorderSize",kwnames,&obj0,&arg2)) goto fail;
5859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5860 {
5861 PyThreadState* __tstate = wxPyBeginAllowThreads();
5862 (arg1)->SetExtraBorderSize(arg2);
5863
5864 wxPyEndAllowThreads(__tstate);
5865 if (PyErr_Occurred()) SWIG_fail;
5866 }
5867 Py_INCREF(Py_None); resultobj = Py_None;
5868 return resultobj;
5869 fail:
5870 return NULL;
5871 }
5872
5873
5874 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5875 PyObject *resultobj;
5876 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5877 int result;
5878 PyObject * obj0 = 0 ;
5879 char *kwnames[] = {
5880 (char *) "self", NULL
5881 };
5882
5883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
5884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5885 {
5886 PyThreadState* __tstate = wxPyBeginAllowThreads();
5887 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
5888
5889 wxPyEndAllowThreads(__tstate);
5890 if (PyErr_Occurred()) SWIG_fail;
5891 }
5892 resultobj = PyInt_FromLong((long)result);
5893 return resultobj;
5894 fail:
5895 return NULL;
5896 }
5897
5898
5899 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
5900 PyObject *resultobj;
5901 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5902 int arg2 ;
5903 PyObject * obj0 = 0 ;
5904 char *kwnames[] = {
5905 (char *) "self",(char *) "min", NULL
5906 };
5907
5908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeX",kwnames,&obj0,&arg2)) goto fail;
5909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5910 {
5911 PyThreadState* __tstate = wxPyBeginAllowThreads();
5912 (arg1)->SetMinimumSizeX(arg2);
5913
5914 wxPyEndAllowThreads(__tstate);
5915 if (PyErr_Occurred()) SWIG_fail;
5916 }
5917 Py_INCREF(Py_None); resultobj = Py_None;
5918 return resultobj;
5919 fail:
5920 return NULL;
5921 }
5922
5923
5924 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
5925 PyObject *resultobj;
5926 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5927 int arg2 ;
5928 PyObject * obj0 = 0 ;
5929 char *kwnames[] = {
5930 (char *) "self",(char *) "min", NULL
5931 };
5932
5933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeY",kwnames,&obj0,&arg2)) goto fail;
5934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5935 {
5936 PyThreadState* __tstate = wxPyBeginAllowThreads();
5937 (arg1)->SetMinimumSizeY(arg2);
5938
5939 wxPyEndAllowThreads(__tstate);
5940 if (PyErr_Occurred()) SWIG_fail;
5941 }
5942 Py_INCREF(Py_None); resultobj = Py_None;
5943 return resultobj;
5944 fail:
5945 return NULL;
5946 }
5947
5948
5949 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
5950 PyObject *resultobj;
5951 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5952 int result;
5953 PyObject * obj0 = 0 ;
5954 char *kwnames[] = {
5955 (char *) "self", NULL
5956 };
5957
5958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
5959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5960 {
5961 PyThreadState* __tstate = wxPyBeginAllowThreads();
5962 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
5963
5964 wxPyEndAllowThreads(__tstate);
5965 if (PyErr_Occurred()) SWIG_fail;
5966 }
5967 resultobj = PyInt_FromLong((long)result);
5968 return resultobj;
5969 fail:
5970 return NULL;
5971 }
5972
5973
5974 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
5975 PyObject *resultobj;
5976 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5977 int result;
5978 PyObject * obj0 = 0 ;
5979 char *kwnames[] = {
5980 (char *) "self", NULL
5981 };
5982
5983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
5984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5985 {
5986 PyThreadState* __tstate = wxPyBeginAllowThreads();
5987 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
5988
5989 wxPyEndAllowThreads(__tstate);
5990 if (PyErr_Occurred()) SWIG_fail;
5991 }
5992 resultobj = PyInt_FromLong((long)result);
5993 return resultobj;
5994 fail:
5995 return NULL;
5996 }
5997
5998
5999 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6000 PyObject *resultobj;
6001 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6002 int arg2 ;
6003 PyObject * obj0 = 0 ;
6004 char *kwnames[] = {
6005 (char *) "self",(char *) "max", NULL
6006 };
6007
6008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeX",kwnames,&obj0,&arg2)) goto fail;
6009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6010 {
6011 PyThreadState* __tstate = wxPyBeginAllowThreads();
6012 (arg1)->SetMaximumSizeX(arg2);
6013
6014 wxPyEndAllowThreads(__tstate);
6015 if (PyErr_Occurred()) SWIG_fail;
6016 }
6017 Py_INCREF(Py_None); resultobj = Py_None;
6018 return resultobj;
6019 fail:
6020 return NULL;
6021 }
6022
6023
6024 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6025 PyObject *resultobj;
6026 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6027 int arg2 ;
6028 PyObject * obj0 = 0 ;
6029 char *kwnames[] = {
6030 (char *) "self",(char *) "max", NULL
6031 };
6032
6033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeY",kwnames,&obj0,&arg2)) goto fail;
6034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6035 {
6036 PyThreadState* __tstate = wxPyBeginAllowThreads();
6037 (arg1)->SetMaximumSizeY(arg2);
6038
6039 wxPyEndAllowThreads(__tstate);
6040 if (PyErr_Occurred()) SWIG_fail;
6041 }
6042 Py_INCREF(Py_None); resultobj = Py_None;
6043 return resultobj;
6044 fail:
6045 return NULL;
6046 }
6047
6048
6049 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6050 PyObject *resultobj;
6051 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6052 int result;
6053 PyObject * obj0 = 0 ;
6054 char *kwnames[] = {
6055 (char *) "self", NULL
6056 };
6057
6058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
6059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6060 {
6061 PyThreadState* __tstate = wxPyBeginAllowThreads();
6062 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
6063
6064 wxPyEndAllowThreads(__tstate);
6065 if (PyErr_Occurred()) SWIG_fail;
6066 }
6067 resultobj = PyInt_FromLong((long)result);
6068 return resultobj;
6069 fail:
6070 return NULL;
6071 }
6072
6073
6074 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6075 PyObject *resultobj;
6076 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6077 int result;
6078 PyObject * obj0 = 0 ;
6079 char *kwnames[] = {
6080 (char *) "self", NULL
6081 };
6082
6083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
6084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6085 {
6086 PyThreadState* __tstate = wxPyBeginAllowThreads();
6087 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
6088
6089 wxPyEndAllowThreads(__tstate);
6090 if (PyErr_Occurred()) SWIG_fail;
6091 }
6092 resultobj = PyInt_FromLong((long)result);
6093 return resultobj;
6094 fail:
6095 return NULL;
6096 }
6097
6098
6099 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6100 PyObject *resultobj;
6101 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6102 int arg2 ;
6103 int arg3 ;
6104 int arg4 = (int) 2 ;
6105 int result;
6106 PyObject * obj0 = 0 ;
6107 char *kwnames[] = {
6108 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6109 };
6110
6111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SashWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
6112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6113 {
6114 PyThreadState* __tstate = wxPyBeginAllowThreads();
6115 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
6116
6117 wxPyEndAllowThreads(__tstate);
6118 if (PyErr_Occurred()) SWIG_fail;
6119 }
6120 resultobj = PyInt_FromLong((long)result);
6121 return resultobj;
6122 fail:
6123 return NULL;
6124 }
6125
6126
6127 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6128 PyObject *resultobj;
6129 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6130 PyObject * obj0 = 0 ;
6131 char *kwnames[] = {
6132 (char *) "self", NULL
6133 };
6134
6135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
6136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6137 {
6138 PyThreadState* __tstate = wxPyBeginAllowThreads();
6139 (arg1)->SizeWindows();
6140
6141 wxPyEndAllowThreads(__tstate);
6142 if (PyErr_Occurred()) SWIG_fail;
6143 }
6144 Py_INCREF(Py_None); resultobj = Py_None;
6145 return resultobj;
6146 fail:
6147 return NULL;
6148 }
6149
6150
6151 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
6152 PyObject *obj;
6153 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6154 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
6155 Py_INCREF(obj);
6156 return Py_BuildValue((char *)"");
6157 }
6158 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6159 PyObject *resultobj;
6160 int arg1 = (int) 0 ;
6161 int arg2 = (int) wxSASH_NONE ;
6162 wxSashEvent *result;
6163 char *kwnames[] = {
6164 (char *) "id",(char *) "edge", NULL
6165 };
6166
6167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_SashEvent",kwnames,&arg1,&arg2)) goto fail;
6168 {
6169 PyThreadState* __tstate = wxPyBeginAllowThreads();
6170 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
6171
6172 wxPyEndAllowThreads(__tstate);
6173 if (PyErr_Occurred()) SWIG_fail;
6174 }
6175 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashEvent, 1);
6176 return resultobj;
6177 fail:
6178 return NULL;
6179 }
6180
6181
6182 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6183 PyObject *resultobj;
6184 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6185 int arg2 ;
6186 PyObject * obj0 = 0 ;
6187 char *kwnames[] = {
6188 (char *) "self",(char *) "edge", NULL
6189 };
6190
6191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetEdge",kwnames,&obj0,&arg2)) goto fail;
6192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6193 {
6194 PyThreadState* __tstate = wxPyBeginAllowThreads();
6195 (arg1)->SetEdge((wxSashEdgePosition )arg2);
6196
6197 wxPyEndAllowThreads(__tstate);
6198 if (PyErr_Occurred()) SWIG_fail;
6199 }
6200 Py_INCREF(Py_None); resultobj = Py_None;
6201 return resultobj;
6202 fail:
6203 return NULL;
6204 }
6205
6206
6207 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6208 PyObject *resultobj;
6209 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6210 int result;
6211 PyObject * obj0 = 0 ;
6212 char *kwnames[] = {
6213 (char *) "self", NULL
6214 };
6215
6216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
6217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6218 {
6219 PyThreadState* __tstate = wxPyBeginAllowThreads();
6220 result = (int)((wxSashEvent const *)arg1)->GetEdge();
6221
6222 wxPyEndAllowThreads(__tstate);
6223 if (PyErr_Occurred()) SWIG_fail;
6224 }
6225 resultobj = PyInt_FromLong((long)result);
6226 return resultobj;
6227 fail:
6228 return NULL;
6229 }
6230
6231
6232 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6233 PyObject *resultobj;
6234 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6235 wxRect *arg2 = 0 ;
6236 wxRect temp2 ;
6237 PyObject * obj0 = 0 ;
6238 PyObject * obj1 = 0 ;
6239 char *kwnames[] = {
6240 (char *) "self",(char *) "rect", NULL
6241 };
6242
6243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
6244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6245 {
6246 arg2 = &temp2;
6247 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6248 }
6249 {
6250 PyThreadState* __tstate = wxPyBeginAllowThreads();
6251 (arg1)->SetDragRect((wxRect const &)*arg2);
6252
6253 wxPyEndAllowThreads(__tstate);
6254 if (PyErr_Occurred()) SWIG_fail;
6255 }
6256 Py_INCREF(Py_None); resultobj = Py_None;
6257 return resultobj;
6258 fail:
6259 return NULL;
6260 }
6261
6262
6263 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6264 PyObject *resultobj;
6265 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6266 wxRect result;
6267 PyObject * obj0 = 0 ;
6268 char *kwnames[] = {
6269 (char *) "self", NULL
6270 };
6271
6272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
6273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6274 {
6275 PyThreadState* __tstate = wxPyBeginAllowThreads();
6276 result = ((wxSashEvent const *)arg1)->GetDragRect();
6277
6278 wxPyEndAllowThreads(__tstate);
6279 if (PyErr_Occurred()) SWIG_fail;
6280 }
6281 {
6282 wxRect * resultptr;
6283 resultptr = new wxRect((wxRect &) result);
6284 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
6285 }
6286 return resultobj;
6287 fail:
6288 return NULL;
6289 }
6290
6291
6292 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6293 PyObject *resultobj;
6294 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6295 int arg2 ;
6296 PyObject * obj0 = 0 ;
6297 char *kwnames[] = {
6298 (char *) "self",(char *) "status", NULL
6299 };
6300
6301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetDragStatus",kwnames,&obj0,&arg2)) goto fail;
6302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6303 {
6304 PyThreadState* __tstate = wxPyBeginAllowThreads();
6305 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
6306
6307 wxPyEndAllowThreads(__tstate);
6308 if (PyErr_Occurred()) SWIG_fail;
6309 }
6310 Py_INCREF(Py_None); resultobj = Py_None;
6311 return resultobj;
6312 fail:
6313 return NULL;
6314 }
6315
6316
6317 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6318 PyObject *resultobj;
6319 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6320 int result;
6321 PyObject * obj0 = 0 ;
6322 char *kwnames[] = {
6323 (char *) "self", NULL
6324 };
6325
6326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
6327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6328 {
6329 PyThreadState* __tstate = wxPyBeginAllowThreads();
6330 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
6331
6332 wxPyEndAllowThreads(__tstate);
6333 if (PyErr_Occurred()) SWIG_fail;
6334 }
6335 resultobj = PyInt_FromLong((long)result);
6336 return resultobj;
6337 fail:
6338 return NULL;
6339 }
6340
6341
6342 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
6343 PyObject *obj;
6344 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6345 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
6346 Py_INCREF(obj);
6347 return Py_BuildValue((char *)"");
6348 }
6349 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6350 PyObject *resultobj;
6351 int arg1 = (int) 0 ;
6352 wxQueryLayoutInfoEvent *result;
6353 char *kwnames[] = {
6354 (char *) "id", NULL
6355 };
6356
6357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_QueryLayoutInfoEvent",kwnames,&arg1)) goto fail;
6358 {
6359 PyThreadState* __tstate = wxPyBeginAllowThreads();
6360 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
6361
6362 wxPyEndAllowThreads(__tstate);
6363 if (PyErr_Occurred()) SWIG_fail;
6364 }
6365 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
6366 return resultobj;
6367 fail:
6368 return NULL;
6369 }
6370
6371
6372 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6373 PyObject *resultobj;
6374 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6375 int arg2 ;
6376 PyObject * obj0 = 0 ;
6377 char *kwnames[] = {
6378 (char *) "self",(char *) "length", NULL
6379 };
6380
6381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&arg2)) goto fail;
6382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6383 {
6384 PyThreadState* __tstate = wxPyBeginAllowThreads();
6385 (arg1)->SetRequestedLength(arg2);
6386
6387 wxPyEndAllowThreads(__tstate);
6388 if (PyErr_Occurred()) SWIG_fail;
6389 }
6390 Py_INCREF(Py_None); resultobj = Py_None;
6391 return resultobj;
6392 fail:
6393 return NULL;
6394 }
6395
6396
6397 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6398 PyObject *resultobj;
6399 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6400 int result;
6401 PyObject * obj0 = 0 ;
6402 char *kwnames[] = {
6403 (char *) "self", NULL
6404 };
6405
6406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
6407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6408 {
6409 PyThreadState* __tstate = wxPyBeginAllowThreads();
6410 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
6411
6412 wxPyEndAllowThreads(__tstate);
6413 if (PyErr_Occurred()) SWIG_fail;
6414 }
6415 resultobj = PyInt_FromLong((long)result);
6416 return resultobj;
6417 fail:
6418 return NULL;
6419 }
6420
6421
6422 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6423 PyObject *resultobj;
6424 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6425 int arg2 ;
6426 PyObject * obj0 = 0 ;
6427 char *kwnames[] = {
6428 (char *) "self",(char *) "flags", NULL
6429 };
6430
6431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6433 {
6434 PyThreadState* __tstate = wxPyBeginAllowThreads();
6435 (arg1)->SetFlags(arg2);
6436
6437 wxPyEndAllowThreads(__tstate);
6438 if (PyErr_Occurred()) SWIG_fail;
6439 }
6440 Py_INCREF(Py_None); resultobj = Py_None;
6441 return resultobj;
6442 fail:
6443 return NULL;
6444 }
6445
6446
6447 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6448 PyObject *resultobj;
6449 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6450 int result;
6451 PyObject * obj0 = 0 ;
6452 char *kwnames[] = {
6453 (char *) "self", NULL
6454 };
6455
6456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
6457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6458 {
6459 PyThreadState* __tstate = wxPyBeginAllowThreads();
6460 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
6461
6462 wxPyEndAllowThreads(__tstate);
6463 if (PyErr_Occurred()) SWIG_fail;
6464 }
6465 resultobj = PyInt_FromLong((long)result);
6466 return resultobj;
6467 fail:
6468 return NULL;
6469 }
6470
6471
6472 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6473 PyObject *resultobj;
6474 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6475 wxSize *arg2 = 0 ;
6476 wxSize temp2 ;
6477 PyObject * obj0 = 0 ;
6478 PyObject * obj1 = 0 ;
6479 char *kwnames[] = {
6480 (char *) "self",(char *) "size", NULL
6481 };
6482
6483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
6484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6485 {
6486 arg2 = &temp2;
6487 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
6488 }
6489 {
6490 PyThreadState* __tstate = wxPyBeginAllowThreads();
6491 (arg1)->SetSize((wxSize const &)*arg2);
6492
6493 wxPyEndAllowThreads(__tstate);
6494 if (PyErr_Occurred()) SWIG_fail;
6495 }
6496 Py_INCREF(Py_None); resultobj = Py_None;
6497 return resultobj;
6498 fail:
6499 return NULL;
6500 }
6501
6502
6503 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6504 PyObject *resultobj;
6505 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6506 wxSize result;
6507 PyObject * obj0 = 0 ;
6508 char *kwnames[] = {
6509 (char *) "self", NULL
6510 };
6511
6512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
6513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6514 {
6515 PyThreadState* __tstate = wxPyBeginAllowThreads();
6516 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
6517
6518 wxPyEndAllowThreads(__tstate);
6519 if (PyErr_Occurred()) SWIG_fail;
6520 }
6521 {
6522 wxSize * resultptr;
6523 resultptr = new wxSize((wxSize &) result);
6524 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
6525 }
6526 return resultobj;
6527 fail:
6528 return NULL;
6529 }
6530
6531
6532 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6533 PyObject *resultobj;
6534 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6535 int arg2 ;
6536 PyObject * obj0 = 0 ;
6537 char *kwnames[] = {
6538 (char *) "self",(char *) "orient", NULL
6539 };
6540
6541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
6542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6543 {
6544 PyThreadState* __tstate = wxPyBeginAllowThreads();
6545 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
6546
6547 wxPyEndAllowThreads(__tstate);
6548 if (PyErr_Occurred()) SWIG_fail;
6549 }
6550 Py_INCREF(Py_None); resultobj = Py_None;
6551 return resultobj;
6552 fail:
6553 return NULL;
6554 }
6555
6556
6557 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6558 PyObject *resultobj;
6559 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6560 int result;
6561 PyObject * obj0 = 0 ;
6562 char *kwnames[] = {
6563 (char *) "self", NULL
6564 };
6565
6566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
6567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6568 {
6569 PyThreadState* __tstate = wxPyBeginAllowThreads();
6570 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
6571
6572 wxPyEndAllowThreads(__tstate);
6573 if (PyErr_Occurred()) SWIG_fail;
6574 }
6575 resultobj = PyInt_FromLong((long)result);
6576 return resultobj;
6577 fail:
6578 return NULL;
6579 }
6580
6581
6582 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6583 PyObject *resultobj;
6584 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6585 int arg2 ;
6586 PyObject * obj0 = 0 ;
6587 char *kwnames[] = {
6588 (char *) "self",(char *) "align", NULL
6589 };
6590
6591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
6592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6593 {
6594 PyThreadState* __tstate = wxPyBeginAllowThreads();
6595 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
6596
6597 wxPyEndAllowThreads(__tstate);
6598 if (PyErr_Occurred()) SWIG_fail;
6599 }
6600 Py_INCREF(Py_None); resultobj = Py_None;
6601 return resultobj;
6602 fail:
6603 return NULL;
6604 }
6605
6606
6607 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6608 PyObject *resultobj;
6609 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6610 int result;
6611 PyObject * obj0 = 0 ;
6612 char *kwnames[] = {
6613 (char *) "self", NULL
6614 };
6615
6616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
6617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6618 {
6619 PyThreadState* __tstate = wxPyBeginAllowThreads();
6620 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
6621
6622 wxPyEndAllowThreads(__tstate);
6623 if (PyErr_Occurred()) SWIG_fail;
6624 }
6625 resultobj = PyInt_FromLong((long)result);
6626 return resultobj;
6627 fail:
6628 return NULL;
6629 }
6630
6631
6632 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
6633 PyObject *obj;
6634 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6635 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
6636 Py_INCREF(obj);
6637 return Py_BuildValue((char *)"");
6638 }
6639 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6640 PyObject *resultobj;
6641 int arg1 = (int) 0 ;
6642 wxCalculateLayoutEvent *result;
6643 char *kwnames[] = {
6644 (char *) "id", NULL
6645 };
6646
6647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_CalculateLayoutEvent",kwnames,&arg1)) goto fail;
6648 {
6649 PyThreadState* __tstate = wxPyBeginAllowThreads();
6650 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
6651
6652 wxPyEndAllowThreads(__tstate);
6653 if (PyErr_Occurred()) SWIG_fail;
6654 }
6655 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCalculateLayoutEvent, 1);
6656 return resultobj;
6657 fail:
6658 return NULL;
6659 }
6660
6661
6662 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6663 PyObject *resultobj;
6664 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6665 int arg2 ;
6666 PyObject * obj0 = 0 ;
6667 char *kwnames[] = {
6668 (char *) "self",(char *) "flags", NULL
6669 };
6670
6671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6673 {
6674 PyThreadState* __tstate = wxPyBeginAllowThreads();
6675 (arg1)->SetFlags(arg2);
6676
6677 wxPyEndAllowThreads(__tstate);
6678 if (PyErr_Occurred()) SWIG_fail;
6679 }
6680 Py_INCREF(Py_None); resultobj = Py_None;
6681 return resultobj;
6682 fail:
6683 return NULL;
6684 }
6685
6686
6687 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6688 PyObject *resultobj;
6689 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6690 int result;
6691 PyObject * obj0 = 0 ;
6692 char *kwnames[] = {
6693 (char *) "self", NULL
6694 };
6695
6696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
6697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6698 {
6699 PyThreadState* __tstate = wxPyBeginAllowThreads();
6700 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
6701
6702 wxPyEndAllowThreads(__tstate);
6703 if (PyErr_Occurred()) SWIG_fail;
6704 }
6705 resultobj = PyInt_FromLong((long)result);
6706 return resultobj;
6707 fail:
6708 return NULL;
6709 }
6710
6711
6712 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6713 PyObject *resultobj;
6714 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6715 wxRect *arg2 = 0 ;
6716 wxRect temp2 ;
6717 PyObject * obj0 = 0 ;
6718 PyObject * obj1 = 0 ;
6719 char *kwnames[] = {
6720 (char *) "self",(char *) "rect", NULL
6721 };
6722
6723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
6724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6725 {
6726 arg2 = &temp2;
6727 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6728 }
6729 {
6730 PyThreadState* __tstate = wxPyBeginAllowThreads();
6731 (arg1)->SetRect((wxRect const &)*arg2);
6732
6733 wxPyEndAllowThreads(__tstate);
6734 if (PyErr_Occurred()) SWIG_fail;
6735 }
6736 Py_INCREF(Py_None); resultobj = Py_None;
6737 return resultobj;
6738 fail:
6739 return NULL;
6740 }
6741
6742
6743 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6744 PyObject *resultobj;
6745 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6746 wxRect result;
6747 PyObject * obj0 = 0 ;
6748 char *kwnames[] = {
6749 (char *) "self", NULL
6750 };
6751
6752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
6753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6754 {
6755 PyThreadState* __tstate = wxPyBeginAllowThreads();
6756 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
6757
6758 wxPyEndAllowThreads(__tstate);
6759 if (PyErr_Occurred()) SWIG_fail;
6760 }
6761 {
6762 wxRect * resultptr;
6763 resultptr = new wxRect((wxRect &) result);
6764 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
6765 }
6766 return resultobj;
6767 fail:
6768 return NULL;
6769 }
6770
6771
6772 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
6773 PyObject *obj;
6774 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6775 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
6776 Py_INCREF(obj);
6777 return Py_BuildValue((char *)"");
6778 }
6779 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6780 PyObject *resultobj;
6781 wxWindow *arg1 = (wxWindow *) 0 ;
6782 int arg2 ;
6783 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6784 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6785 wxSize const &arg4_defvalue = wxDefaultSize ;
6786 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6787 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6788 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
6789 wxString *arg6 = (wxString *) &arg6_defvalue ;
6790 wxSashLayoutWindow *result;
6791 wxPoint temp3 ;
6792 wxSize temp4 ;
6793 bool temp6 = False ;
6794 PyObject * obj0 = 0 ;
6795 PyObject * obj2 = 0 ;
6796 PyObject * obj3 = 0 ;
6797 PyObject * obj5 = 0 ;
6798 char *kwnames[] = {
6799 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6800 };
6801
6802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashLayoutWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
6803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6804 if (obj2) {
6805 {
6806 arg3 = &temp3;
6807 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6808 }
6809 }
6810 if (obj3) {
6811 {
6812 arg4 = &temp4;
6813 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6814 }
6815 }
6816 if (obj5) {
6817 {
6818 arg6 = wxString_in_helper(obj5);
6819 if (arg6 == NULL) SWIG_fail;
6820 temp6 = True;
6821 }
6822 }
6823 {
6824 PyThreadState* __tstate = wxPyBeginAllowThreads();
6825 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6826
6827 wxPyEndAllowThreads(__tstate);
6828 if (PyErr_Occurred()) SWIG_fail;
6829 }
6830 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
6831 {
6832 if (temp6)
6833 delete arg6;
6834 }
6835 return resultobj;
6836 fail:
6837 {
6838 if (temp6)
6839 delete arg6;
6840 }
6841 return NULL;
6842 }
6843
6844
6845 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6846 PyObject *resultobj;
6847 wxSashLayoutWindow *result;
6848 char *kwnames[] = {
6849 NULL
6850 };
6851
6852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
6853 {
6854 PyThreadState* __tstate = wxPyBeginAllowThreads();
6855 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
6856
6857 wxPyEndAllowThreads(__tstate);
6858 if (PyErr_Occurred()) SWIG_fail;
6859 }
6860 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
6861 return resultobj;
6862 fail:
6863 return NULL;
6864 }
6865
6866
6867 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6868 PyObject *resultobj;
6869 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
6870 wxWindow *arg2 = (wxWindow *) 0 ;
6871 int arg3 ;
6872 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6873 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6874 wxSize const &arg5_defvalue = wxDefaultSize ;
6875 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6876 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6877 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
6878 wxString *arg7 = (wxString *) &arg7_defvalue ;
6879 bool result;
6880 wxPoint temp4 ;
6881 wxSize temp5 ;
6882 bool temp7 = False ;
6883 PyObject * obj0 = 0 ;
6884 PyObject * obj1 = 0 ;
6885 PyObject * obj3 = 0 ;
6886 PyObject * obj4 = 0 ;
6887 PyObject * obj6 = 0 ;
6888 char *kwnames[] = {
6889 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6890 };
6891
6892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
6893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6894 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6895 if (obj3) {
6896 {
6897 arg4 = &temp4;
6898 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6899 }
6900 }
6901 if (obj4) {
6902 {
6903 arg5 = &temp5;
6904 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6905 }
6906 }
6907 if (obj6) {
6908 {
6909 arg7 = wxString_in_helper(obj6);
6910 if (arg7 == NULL) SWIG_fail;
6911 temp7 = True;
6912 }
6913 }
6914 {
6915 PyThreadState* __tstate = wxPyBeginAllowThreads();
6916 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6917
6918 wxPyEndAllowThreads(__tstate);
6919 if (PyErr_Occurred()) SWIG_fail;
6920 }
6921 resultobj = PyInt_FromLong((long)result);
6922 {
6923 if (temp7)
6924 delete arg7;
6925 }
6926 return resultobj;
6927 fail:
6928 {
6929 if (temp7)
6930 delete arg7;
6931 }
6932 return NULL;
6933 }
6934
6935
6936 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6937 PyObject *resultobj;
6938 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
6939 int result;
6940 PyObject * obj0 = 0 ;
6941 char *kwnames[] = {
6942 (char *) "self", NULL
6943 };
6944
6945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
6946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6947 {
6948 PyThreadState* __tstate = wxPyBeginAllowThreads();
6949 result = (int)(arg1)->GetAlignment();
6950
6951 wxPyEndAllowThreads(__tstate);
6952 if (PyErr_Occurred()) SWIG_fail;
6953 }
6954 resultobj = PyInt_FromLong((long)result);
6955 return resultobj;
6956 fail:
6957 return NULL;
6958 }
6959
6960
6961 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6962 PyObject *resultobj;
6963 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
6964 int result;
6965 PyObject * obj0 = 0 ;
6966 char *kwnames[] = {
6967 (char *) "self", NULL
6968 };
6969
6970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
6971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6972 {
6973 PyThreadState* __tstate = wxPyBeginAllowThreads();
6974 result = (int)(arg1)->GetOrientation();
6975
6976 wxPyEndAllowThreads(__tstate);
6977 if (PyErr_Occurred()) SWIG_fail;
6978 }
6979 resultobj = PyInt_FromLong((long)result);
6980 return resultobj;
6981 fail:
6982 return NULL;
6983 }
6984
6985
6986 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6987 PyObject *resultobj;
6988 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
6989 int arg2 ;
6990 PyObject * obj0 = 0 ;
6991 char *kwnames[] = {
6992 (char *) "self",(char *) "alignment", NULL
6993 };
6994
6995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
6996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6997 {
6998 PyThreadState* __tstate = wxPyBeginAllowThreads();
6999 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7000
7001 wxPyEndAllowThreads(__tstate);
7002 if (PyErr_Occurred()) SWIG_fail;
7003 }
7004 Py_INCREF(Py_None); resultobj = Py_None;
7005 return resultobj;
7006 fail:
7007 return NULL;
7008 }
7009
7010
7011 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7012 PyObject *resultobj;
7013 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7014 wxSize *arg2 = 0 ;
7015 wxSize temp2 ;
7016 PyObject * obj0 = 0 ;
7017 PyObject * obj1 = 0 ;
7018 char *kwnames[] = {
7019 (char *) "self",(char *) "size", NULL
7020 };
7021
7022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
7023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7024 {
7025 arg2 = &temp2;
7026 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7027 }
7028 {
7029 PyThreadState* __tstate = wxPyBeginAllowThreads();
7030 (arg1)->SetDefaultSize((wxSize const &)*arg2);
7031
7032 wxPyEndAllowThreads(__tstate);
7033 if (PyErr_Occurred()) SWIG_fail;
7034 }
7035 Py_INCREF(Py_None); resultobj = Py_None;
7036 return resultobj;
7037 fail:
7038 return NULL;
7039 }
7040
7041
7042 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7043 PyObject *resultobj;
7044 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7045 int arg2 ;
7046 PyObject * obj0 = 0 ;
7047 char *kwnames[] = {
7048 (char *) "self",(char *) "orientation", NULL
7049 };
7050
7051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
7052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7053 {
7054 PyThreadState* __tstate = wxPyBeginAllowThreads();
7055 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7056
7057 wxPyEndAllowThreads(__tstate);
7058 if (PyErr_Occurred()) SWIG_fail;
7059 }
7060 Py_INCREF(Py_None); resultobj = Py_None;
7061 return resultobj;
7062 fail:
7063 return NULL;
7064 }
7065
7066
7067 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
7068 PyObject *obj;
7069 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7070 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
7071 Py_INCREF(obj);
7072 return Py_BuildValue((char *)"");
7073 }
7074 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7075 PyObject *resultobj;
7076 wxLayoutAlgorithm *result;
7077 char *kwnames[] = {
7078 NULL
7079 };
7080
7081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
7082 {
7083 PyThreadState* __tstate = wxPyBeginAllowThreads();
7084 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
7085
7086 wxPyEndAllowThreads(__tstate);
7087 if (PyErr_Occurred()) SWIG_fail;
7088 }
7089 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutAlgorithm, 1);
7090 return resultobj;
7091 fail:
7092 return NULL;
7093 }
7094
7095
7096 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7097 PyObject *resultobj;
7098 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7099 PyObject * obj0 = 0 ;
7100 char *kwnames[] = {
7101 (char *) "self", NULL
7102 };
7103
7104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
7105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7106 {
7107 PyThreadState* __tstate = wxPyBeginAllowThreads();
7108 delete arg1;
7109
7110 wxPyEndAllowThreads(__tstate);
7111 if (PyErr_Occurred()) SWIG_fail;
7112 }
7113 Py_INCREF(Py_None); resultobj = Py_None;
7114 return resultobj;
7115 fail:
7116 return NULL;
7117 }
7118
7119
7120 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7121 PyObject *resultobj;
7122 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7123 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
7124 wxRect *arg3 = (wxRect *) NULL ;
7125 bool result;
7126 PyObject * obj0 = 0 ;
7127 PyObject * obj1 = 0 ;
7128 PyObject * obj2 = 0 ;
7129 char *kwnames[] = {
7130 (char *) "self",(char *) "frame",(char *) "rect", NULL
7131 };
7132
7133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7135 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7136 if (obj2) {
7137 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7138 }
7139 {
7140 PyThreadState* __tstate = wxPyBeginAllowThreads();
7141 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
7142
7143 wxPyEndAllowThreads(__tstate);
7144 if (PyErr_Occurred()) SWIG_fail;
7145 }
7146 resultobj = PyInt_FromLong((long)result);
7147 return resultobj;
7148 fail:
7149 return NULL;
7150 }
7151
7152
7153 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7154 PyObject *resultobj;
7155 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7156 wxFrame *arg2 = (wxFrame *) 0 ;
7157 wxWindow *arg3 = (wxWindow *) NULL ;
7158 bool result;
7159 PyObject * obj0 = 0 ;
7160 PyObject * obj1 = 0 ;
7161 PyObject * obj2 = 0 ;
7162 char *kwnames[] = {
7163 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
7164 };
7165
7166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7168 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7169 if (obj2) {
7170 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7171 }
7172 {
7173 PyThreadState* __tstate = wxPyBeginAllowThreads();
7174 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
7175
7176 wxPyEndAllowThreads(__tstate);
7177 if (PyErr_Occurred()) SWIG_fail;
7178 }
7179 resultobj = PyInt_FromLong((long)result);
7180 return resultobj;
7181 fail:
7182 return NULL;
7183 }
7184
7185
7186 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7187 PyObject *resultobj;
7188 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7189 wxWindow *arg2 = (wxWindow *) 0 ;
7190 wxWindow *arg3 = (wxWindow *) NULL ;
7191 bool result;
7192 PyObject * obj0 = 0 ;
7193 PyObject * obj1 = 0 ;
7194 PyObject * obj2 = 0 ;
7195 char *kwnames[] = {
7196 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
7197 };
7198
7199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
7200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7201 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7202 if (obj2) {
7203 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7204 }
7205 {
7206 PyThreadState* __tstate = wxPyBeginAllowThreads();
7207 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
7208
7209 wxPyEndAllowThreads(__tstate);
7210 if (PyErr_Occurred()) SWIG_fail;
7211 }
7212 resultobj = PyInt_FromLong((long)result);
7213 return resultobj;
7214 fail:
7215 return NULL;
7216 }
7217
7218
7219 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
7220 PyObject *obj;
7221 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7222 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
7223 Py_INCREF(obj);
7224 return Py_BuildValue((char *)"");
7225 }
7226 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7227 PyObject *resultobj;
7228 wxWindow *arg1 = (wxWindow *) 0 ;
7229 int arg2 = (int) wxBORDER_NONE ;
7230 wxPopupWindow *result;
7231 PyObject * obj0 = 0 ;
7232 char *kwnames[] = {
7233 (char *) "parent",(char *) "flags", NULL
7234 };
7235
7236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupWindow",kwnames,&obj0,&arg2)) goto fail;
7237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7238 {
7239 PyThreadState* __tstate = wxPyBeginAllowThreads();
7240 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
7241
7242 wxPyEndAllowThreads(__tstate);
7243 if (PyErr_Occurred()) SWIG_fail;
7244 }
7245 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7246 return resultobj;
7247 fail:
7248 return NULL;
7249 }
7250
7251
7252 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7253 PyObject *resultobj;
7254 wxPopupWindow *result;
7255 char *kwnames[] = {
7256 NULL
7257 };
7258
7259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
7260 {
7261 PyThreadState* __tstate = wxPyBeginAllowThreads();
7262 result = (wxPopupWindow *)new wxPopupWindow();
7263
7264 wxPyEndAllowThreads(__tstate);
7265 if (PyErr_Occurred()) SWIG_fail;
7266 }
7267 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7268 return resultobj;
7269 fail:
7270 return NULL;
7271 }
7272
7273
7274 static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7275 PyObject *resultobj;
7276 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
7277 wxWindow *arg2 = (wxWindow *) 0 ;
7278 int arg3 = (int) wxBORDER_NONE ;
7279 bool result;
7280 PyObject * obj0 = 0 ;
7281 PyObject * obj1 = 0 ;
7282 char *kwnames[] = {
7283 (char *) "self",(char *) "parent",(char *) "flags", NULL
7284 };
7285
7286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:PopupWindow_Create",kwnames,&obj0,&obj1,&arg3)) goto fail;
7287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7288 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7289 {
7290 PyThreadState* __tstate = wxPyBeginAllowThreads();
7291 result = (bool)(arg1)->Create(arg2,arg3);
7292
7293 wxPyEndAllowThreads(__tstate);
7294 if (PyErr_Occurred()) SWIG_fail;
7295 }
7296 resultobj = PyInt_FromLong((long)result);
7297 return resultobj;
7298 fail:
7299 return NULL;
7300 }
7301
7302
7303 static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
7304 PyObject *resultobj;
7305 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
7306 wxPoint *arg2 = 0 ;
7307 wxSize *arg3 = 0 ;
7308 wxPoint temp2 ;
7309 wxSize temp3 ;
7310 PyObject * obj0 = 0 ;
7311 PyObject * obj1 = 0 ;
7312 PyObject * obj2 = 0 ;
7313 char *kwnames[] = {
7314 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
7315 };
7316
7317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
7318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7319 {
7320 arg2 = &temp2;
7321 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7322 }
7323 {
7324 arg3 = &temp3;
7325 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
7326 }
7327 {
7328 PyThreadState* __tstate = wxPyBeginAllowThreads();
7329 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
7330
7331 wxPyEndAllowThreads(__tstate);
7332 if (PyErr_Occurred()) SWIG_fail;
7333 }
7334 Py_INCREF(Py_None); resultobj = Py_None;
7335 return resultobj;
7336 fail:
7337 return NULL;
7338 }
7339
7340
7341 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
7342 PyObject *obj;
7343 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7344 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
7345 Py_INCREF(obj);
7346 return Py_BuildValue((char *)"");
7347 }
7348 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7349 PyObject *resultobj;
7350 wxWindow *arg1 = (wxWindow *) 0 ;
7351 int arg2 = (int) wxBORDER_NONE ;
7352 wxPyPopupTransientWindow *result;
7353 PyObject * obj0 = 0 ;
7354 char *kwnames[] = {
7355 (char *) "parent",(char *) "style", NULL
7356 };
7357
7358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupTransientWindow",kwnames,&obj0,&arg2)) goto fail;
7359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7360 {
7361 PyThreadState* __tstate = wxPyBeginAllowThreads();
7362 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
7363
7364 wxPyEndAllowThreads(__tstate);
7365 if (PyErr_Occurred()) SWIG_fail;
7366 }
7367 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7368 return resultobj;
7369 fail:
7370 return NULL;
7371 }
7372
7373
7374 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7375 PyObject *resultobj;
7376 wxPyPopupTransientWindow *result;
7377 char *kwnames[] = {
7378 NULL
7379 };
7380
7381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
7382 {
7383 PyThreadState* __tstate = wxPyBeginAllowThreads();
7384 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
7385
7386 wxPyEndAllowThreads(__tstate);
7387 if (PyErr_Occurred()) SWIG_fail;
7388 }
7389 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7390 return resultobj;
7391 fail:
7392 return NULL;
7393 }
7394
7395
7396 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7397 PyObject *resultobj;
7398 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7399 PyObject *arg2 = (PyObject *) 0 ;
7400 PyObject *arg3 = (PyObject *) 0 ;
7401 PyObject * obj0 = 0 ;
7402 PyObject * obj1 = 0 ;
7403 PyObject * obj2 = 0 ;
7404 char *kwnames[] = {
7405 (char *) "self",(char *) "self",(char *) "_class", NULL
7406 };
7407
7408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7410 arg2 = obj1;
7411 arg3 = obj2;
7412 {
7413 PyThreadState* __tstate = wxPyBeginAllowThreads();
7414 (arg1)->_setCallbackInfo(arg2,arg3);
7415
7416 wxPyEndAllowThreads(__tstate);
7417 if (PyErr_Occurred()) SWIG_fail;
7418 }
7419 Py_INCREF(Py_None); resultobj = Py_None;
7420 return resultobj;
7421 fail:
7422 return NULL;
7423 }
7424
7425
7426 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
7427 PyObject *resultobj;
7428 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7429 wxWindow *arg2 = (wxWindow *) NULL ;
7430 PyObject * obj0 = 0 ;
7431 PyObject * obj1 = 0 ;
7432 char *kwnames[] = {
7433 (char *) "self",(char *) "focus", NULL
7434 };
7435
7436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
7437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7438 if (obj1) {
7439 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7440 }
7441 {
7442 PyThreadState* __tstate = wxPyBeginAllowThreads();
7443 (arg1)->Popup(arg2);
7444
7445 wxPyEndAllowThreads(__tstate);
7446 if (PyErr_Occurred()) SWIG_fail;
7447 }
7448 Py_INCREF(Py_None); resultobj = Py_None;
7449 return resultobj;
7450 fail:
7451 return NULL;
7452 }
7453
7454
7455 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
7456 PyObject *resultobj;
7457 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7458 PyObject * obj0 = 0 ;
7459 char *kwnames[] = {
7460 (char *) "self", NULL
7461 };
7462
7463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
7464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7465 {
7466 PyThreadState* __tstate = wxPyBeginAllowThreads();
7467 (arg1)->Dismiss();
7468
7469 wxPyEndAllowThreads(__tstate);
7470 if (PyErr_Occurred()) SWIG_fail;
7471 }
7472 Py_INCREF(Py_None); resultobj = Py_None;
7473 return resultobj;
7474 fail:
7475 return NULL;
7476 }
7477
7478
7479 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
7480 PyObject *obj;
7481 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7482 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
7483 Py_INCREF(obj);
7484 return Py_BuildValue((char *)"");
7485 }
7486 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7487 PyObject *resultobj;
7488 wxWindow *arg1 = (wxWindow *) 0 ;
7489 wxString *arg2 = 0 ;
7490 int arg3 = (int) 100 ;
7491 wxRect *arg4 = (wxRect *) NULL ;
7492 wxTipWindow *result;
7493 bool temp2 = False ;
7494 PyObject * obj0 = 0 ;
7495 PyObject * obj1 = 0 ;
7496 PyObject * obj3 = 0 ;
7497 char *kwnames[] = {
7498 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
7499 };
7500
7501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iO:new_TipWindow",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
7502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7503 {
7504 arg2 = wxString_in_helper(obj1);
7505 if (arg2 == NULL) SWIG_fail;
7506 temp2 = True;
7507 }
7508 if (obj3) {
7509 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7510 }
7511 {
7512 PyThreadState* __tstate = wxPyBeginAllowThreads();
7513 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
7514
7515 wxPyEndAllowThreads(__tstate);
7516 if (PyErr_Occurred()) SWIG_fail;
7517 }
7518 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipWindow, 1);
7519 {
7520 if (temp2)
7521 delete arg2;
7522 }
7523 return resultobj;
7524 fail:
7525 {
7526 if (temp2)
7527 delete arg2;
7528 }
7529 return NULL;
7530 }
7531
7532
7533 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7534 PyObject *resultobj;
7535 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7536 wxRect *arg2 = 0 ;
7537 wxRect temp2 ;
7538 PyObject * obj0 = 0 ;
7539 PyObject * obj1 = 0 ;
7540 char *kwnames[] = {
7541 (char *) "self",(char *) "rectBound", NULL
7542 };
7543
7544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
7545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7546 {
7547 arg2 = &temp2;
7548 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7549 }
7550 {
7551 PyThreadState* __tstate = wxPyBeginAllowThreads();
7552 (arg1)->SetBoundingRect((wxRect const &)*arg2);
7553
7554 wxPyEndAllowThreads(__tstate);
7555 if (PyErr_Occurred()) SWIG_fail;
7556 }
7557 Py_INCREF(Py_None); resultobj = Py_None;
7558 return resultobj;
7559 fail:
7560 return NULL;
7561 }
7562
7563
7564 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
7565 PyObject *resultobj;
7566 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7567 PyObject * obj0 = 0 ;
7568 char *kwnames[] = {
7569 (char *) "self", NULL
7570 };
7571
7572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
7573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7574 {
7575 PyThreadState* __tstate = wxPyBeginAllowThreads();
7576 (arg1)->Close();
7577
7578 wxPyEndAllowThreads(__tstate);
7579 if (PyErr_Occurred()) SWIG_fail;
7580 }
7581 Py_INCREF(Py_None); resultobj = Py_None;
7582 return resultobj;
7583 fail:
7584 return NULL;
7585 }
7586
7587
7588 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
7589 PyObject *obj;
7590 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7591 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
7592 Py_INCREF(obj);
7593 return Py_BuildValue((char *)"");
7594 }
7595 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7596 PyObject *resultobj;
7597 wxWindow *arg1 = (wxWindow *) 0 ;
7598 int arg2 = (int) wxID_ANY ;
7599 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7600 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7601 wxSize const &arg4_defvalue = wxDefaultSize ;
7602 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7603 long arg5 = (long) 0 ;
7604 wxString const &arg6_defvalue = wxPyPanelNameStr ;
7605 wxString *arg6 = (wxString *) &arg6_defvalue ;
7606 wxPyVScrolledWindow *result;
7607 wxPoint temp3 ;
7608 wxSize temp4 ;
7609 bool temp6 = False ;
7610 PyObject * obj0 = 0 ;
7611 PyObject * obj2 = 0 ;
7612 PyObject * obj3 = 0 ;
7613 PyObject * obj5 = 0 ;
7614 char *kwnames[] = {
7615 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7616 };
7617
7618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
7619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7620 if (obj2) {
7621 {
7622 arg3 = &temp3;
7623 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7624 }
7625 }
7626 if (obj3) {
7627 {
7628 arg4 = &temp4;
7629 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7630 }
7631 }
7632 if (obj5) {
7633 {
7634 arg6 = wxString_in_helper(obj5);
7635 if (arg6 == NULL) SWIG_fail;
7636 temp6 = True;
7637 }
7638 }
7639 {
7640 PyThreadState* __tstate = wxPyBeginAllowThreads();
7641 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7642
7643 wxPyEndAllowThreads(__tstate);
7644 if (PyErr_Occurred()) SWIG_fail;
7645 }
7646 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
7647 {
7648 if (temp6)
7649 delete arg6;
7650 }
7651 return resultobj;
7652 fail:
7653 {
7654 if (temp6)
7655 delete arg6;
7656 }
7657 return NULL;
7658 }
7659
7660
7661 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7662 PyObject *resultobj;
7663 wxPyVScrolledWindow *result;
7664 char *kwnames[] = {
7665 NULL
7666 };
7667
7668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
7669 {
7670 PyThreadState* __tstate = wxPyBeginAllowThreads();
7671 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
7672
7673 wxPyEndAllowThreads(__tstate);
7674 if (PyErr_Occurred()) SWIG_fail;
7675 }
7676 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
7677 return resultobj;
7678 fail:
7679 return NULL;
7680 }
7681
7682
7683 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7684 PyObject *resultobj;
7685 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7686 PyObject *arg2 = (PyObject *) 0 ;
7687 PyObject *arg3 = (PyObject *) 0 ;
7688 PyObject * obj0 = 0 ;
7689 PyObject * obj1 = 0 ;
7690 PyObject * obj2 = 0 ;
7691 char *kwnames[] = {
7692 (char *) "self",(char *) "self",(char *) "_class", NULL
7693 };
7694
7695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7697 arg2 = obj1;
7698 arg3 = obj2;
7699 {
7700 PyThreadState* __tstate = wxPyBeginAllowThreads();
7701 (arg1)->_setCallbackInfo(arg2,arg3);
7702
7703 wxPyEndAllowThreads(__tstate);
7704 if (PyErr_Occurred()) SWIG_fail;
7705 }
7706 Py_INCREF(Py_None); resultobj = Py_None;
7707 return resultobj;
7708 fail:
7709 return NULL;
7710 }
7711
7712
7713 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7714 PyObject *resultobj;
7715 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7716 wxWindow *arg2 = (wxWindow *) 0 ;
7717 int arg3 = (int) wxID_ANY ;
7718 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7719 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7720 wxSize const &arg5_defvalue = wxDefaultSize ;
7721 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7722 long arg6 = (long) 0 ;
7723 wxString const &arg7_defvalue = wxPyPanelNameStr ;
7724 wxString *arg7 = (wxString *) &arg7_defvalue ;
7725 bool result;
7726 wxPoint temp4 ;
7727 wxSize temp5 ;
7728 bool temp7 = False ;
7729 PyObject * obj0 = 0 ;
7730 PyObject * obj1 = 0 ;
7731 PyObject * obj3 = 0 ;
7732 PyObject * obj4 = 0 ;
7733 PyObject * obj6 = 0 ;
7734 char *kwnames[] = {
7735 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7736 };
7737
7738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
7739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7740 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7741 if (obj3) {
7742 {
7743 arg4 = &temp4;
7744 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7745 }
7746 }
7747 if (obj4) {
7748 {
7749 arg5 = &temp5;
7750 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7751 }
7752 }
7753 if (obj6) {
7754 {
7755 arg7 = wxString_in_helper(obj6);
7756 if (arg7 == NULL) SWIG_fail;
7757 temp7 = True;
7758 }
7759 }
7760 {
7761 PyThreadState* __tstate = wxPyBeginAllowThreads();
7762 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7763
7764 wxPyEndAllowThreads(__tstate);
7765 if (PyErr_Occurred()) SWIG_fail;
7766 }
7767 resultobj = PyInt_FromLong((long)result);
7768 {
7769 if (temp7)
7770 delete arg7;
7771 }
7772 return resultobj;
7773 fail:
7774 {
7775 if (temp7)
7776 delete arg7;
7777 }
7778 return NULL;
7779 }
7780
7781
7782 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7783 PyObject *resultobj;
7784 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7785 size_t arg2 ;
7786 PyObject * obj0 = 0 ;
7787 PyObject * obj1 = 0 ;
7788 char *kwnames[] = {
7789 (char *) "self",(char *) "count", NULL
7790 };
7791
7792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
7793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7794 arg2 = (size_t) PyInt_AsLong(obj1);
7795 if (PyErr_Occurred()) SWIG_fail;
7796 {
7797 PyThreadState* __tstate = wxPyBeginAllowThreads();
7798 (arg1)->SetLineCount(arg2);
7799
7800 wxPyEndAllowThreads(__tstate);
7801 if (PyErr_Occurred()) SWIG_fail;
7802 }
7803 Py_INCREF(Py_None); resultobj = Py_None;
7804 return resultobj;
7805 fail:
7806 return NULL;
7807 }
7808
7809
7810 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7811 PyObject *resultobj;
7812 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7813 size_t arg2 ;
7814 bool result;
7815 PyObject * obj0 = 0 ;
7816 PyObject * obj1 = 0 ;
7817 char *kwnames[] = {
7818 (char *) "self",(char *) "line", NULL
7819 };
7820
7821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
7822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7823 arg2 = (size_t) PyInt_AsLong(obj1);
7824 if (PyErr_Occurred()) SWIG_fail;
7825 {
7826 PyThreadState* __tstate = wxPyBeginAllowThreads();
7827 result = (bool)(arg1)->ScrollToLine(arg2);
7828
7829 wxPyEndAllowThreads(__tstate);
7830 if (PyErr_Occurred()) SWIG_fail;
7831 }
7832 resultobj = PyInt_FromLong((long)result);
7833 return resultobj;
7834 fail:
7835 return NULL;
7836 }
7837
7838
7839 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7840 PyObject *resultobj;
7841 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7842 int arg2 ;
7843 bool result;
7844 PyObject * obj0 = 0 ;
7845 char *kwnames[] = {
7846 (char *) "self",(char *) "lines", NULL
7847 };
7848
7849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollLines",kwnames,&obj0,&arg2)) goto fail;
7850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7851 {
7852 PyThreadState* __tstate = wxPyBeginAllowThreads();
7853 result = (bool)(arg1)->ScrollLines(arg2);
7854
7855 wxPyEndAllowThreads(__tstate);
7856 if (PyErr_Occurred()) SWIG_fail;
7857 }
7858 resultobj = PyInt_FromLong((long)result);
7859 return resultobj;
7860 fail:
7861 return NULL;
7862 }
7863
7864
7865 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
7866 PyObject *resultobj;
7867 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7868 int arg2 ;
7869 bool result;
7870 PyObject * obj0 = 0 ;
7871 char *kwnames[] = {
7872 (char *) "self",(char *) "pages", NULL
7873 };
7874
7875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollPages",kwnames,&obj0,&arg2)) goto fail;
7876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7877 {
7878 PyThreadState* __tstate = wxPyBeginAllowThreads();
7879 result = (bool)(arg1)->ScrollPages(arg2);
7880
7881 wxPyEndAllowThreads(__tstate);
7882 if (PyErr_Occurred()) SWIG_fail;
7883 }
7884 resultobj = PyInt_FromLong((long)result);
7885 return resultobj;
7886 fail:
7887 return NULL;
7888 }
7889
7890
7891 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7892 PyObject *resultobj;
7893 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7894 size_t arg2 ;
7895 PyObject * obj0 = 0 ;
7896 PyObject * obj1 = 0 ;
7897 char *kwnames[] = {
7898 (char *) "self",(char *) "line", NULL
7899 };
7900
7901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
7902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7903 arg2 = (size_t) PyInt_AsLong(obj1);
7904 if (PyErr_Occurred()) SWIG_fail;
7905 {
7906 PyThreadState* __tstate = wxPyBeginAllowThreads();
7907 (arg1)->RefreshLine(arg2);
7908
7909 wxPyEndAllowThreads(__tstate);
7910 if (PyErr_Occurred()) SWIG_fail;
7911 }
7912 Py_INCREF(Py_None); resultobj = Py_None;
7913 return resultobj;
7914 fail:
7915 return NULL;
7916 }
7917
7918
7919 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7920 PyObject *resultobj;
7921 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7922 size_t arg2 ;
7923 size_t arg3 ;
7924 PyObject * obj0 = 0 ;
7925 PyObject * obj1 = 0 ;
7926 PyObject * obj2 = 0 ;
7927 char *kwnames[] = {
7928 (char *) "self",(char *) "from",(char *) "to", NULL
7929 };
7930
7931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
7932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7933 arg2 = (size_t) PyInt_AsLong(obj1);
7934 if (PyErr_Occurred()) SWIG_fail;
7935 arg3 = (size_t) PyInt_AsLong(obj2);
7936 if (PyErr_Occurred()) SWIG_fail;
7937 {
7938 PyThreadState* __tstate = wxPyBeginAllowThreads();
7939 (arg1)->RefreshLines(arg2,arg3);
7940
7941 wxPyEndAllowThreads(__tstate);
7942 if (PyErr_Occurred()) SWIG_fail;
7943 }
7944 Py_INCREF(Py_None); resultobj = Py_None;
7945 return resultobj;
7946 fail:
7947 return NULL;
7948 }
7949
7950
7951 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
7952 PyObject *resultobj;
7953 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7954 int arg2 ;
7955 int arg3 ;
7956 int result;
7957 PyObject * obj0 = 0 ;
7958 char *kwnames[] = {
7959 (char *) "self",(char *) "x",(char *) "y", NULL
7960 };
7961
7962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VScrolledWindow_HitTestXT",kwnames,&obj0,&arg2,&arg3)) goto fail;
7963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7964 {
7965 PyThreadState* __tstate = wxPyBeginAllowThreads();
7966 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
7967
7968 wxPyEndAllowThreads(__tstate);
7969 if (PyErr_Occurred()) SWIG_fail;
7970 }
7971 resultobj = PyInt_FromLong((long)result);
7972 return resultobj;
7973 fail:
7974 return NULL;
7975 }
7976
7977
7978 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
7979 PyObject *resultobj;
7980 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7981 wxPoint *arg2 = 0 ;
7982 int result;
7983 wxPoint temp2 ;
7984 PyObject * obj0 = 0 ;
7985 PyObject * obj1 = 0 ;
7986 char *kwnames[] = {
7987 (char *) "self",(char *) "pt", NULL
7988 };
7989
7990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
7991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7992 {
7993 arg2 = &temp2;
7994 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7995 }
7996 {
7997 PyThreadState* __tstate = wxPyBeginAllowThreads();
7998 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
7999
8000 wxPyEndAllowThreads(__tstate);
8001 if (PyErr_Occurred()) SWIG_fail;
8002 }
8003 resultobj = PyInt_FromLong((long)result);
8004 return resultobj;
8005 fail:
8006 return NULL;
8007 }
8008
8009
8010 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8011 PyObject *resultobj;
8012 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8013 PyObject * obj0 = 0 ;
8014 char *kwnames[] = {
8015 (char *) "self", NULL
8016 };
8017
8018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
8019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8020 {
8021 PyThreadState* __tstate = wxPyBeginAllowThreads();
8022 (arg1)->RefreshAll();
8023
8024 wxPyEndAllowThreads(__tstate);
8025 if (PyErr_Occurred()) SWIG_fail;
8026 }
8027 Py_INCREF(Py_None); resultobj = Py_None;
8028 return resultobj;
8029 fail:
8030 return NULL;
8031 }
8032
8033
8034 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8035 PyObject *resultobj;
8036 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8037 size_t result;
8038 PyObject * obj0 = 0 ;
8039 char *kwnames[] = {
8040 (char *) "self", NULL
8041 };
8042
8043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
8044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8045 {
8046 PyThreadState* __tstate = wxPyBeginAllowThreads();
8047 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
8048
8049 wxPyEndAllowThreads(__tstate);
8050 if (PyErr_Occurred()) SWIG_fail;
8051 }
8052 resultobj = PyInt_FromLong((long)result);
8053 return resultobj;
8054 fail:
8055 return NULL;
8056 }
8057
8058
8059 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8060 PyObject *resultobj;
8061 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8062 size_t result;
8063 PyObject * obj0 = 0 ;
8064 char *kwnames[] = {
8065 (char *) "self", NULL
8066 };
8067
8068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
8069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8070 {
8071 PyThreadState* __tstate = wxPyBeginAllowThreads();
8072 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
8073
8074 wxPyEndAllowThreads(__tstate);
8075 if (PyErr_Occurred()) SWIG_fail;
8076 }
8077 resultobj = PyInt_FromLong((long)result);
8078 return resultobj;
8079 fail:
8080 return NULL;
8081 }
8082
8083
8084 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8085 PyObject *resultobj;
8086 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8087 size_t result;
8088 PyObject * obj0 = 0 ;
8089 char *kwnames[] = {
8090 (char *) "self", NULL
8091 };
8092
8093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
8094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8095 {
8096 PyThreadState* __tstate = wxPyBeginAllowThreads();
8097 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
8098
8099 wxPyEndAllowThreads(__tstate);
8100 if (PyErr_Occurred()) SWIG_fail;
8101 }
8102 resultobj = PyInt_FromLong((long)result);
8103 return resultobj;
8104 fail:
8105 return NULL;
8106 }
8107
8108
8109 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8110 PyObject *resultobj;
8111 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8112 size_t arg2 ;
8113 bool result;
8114 PyObject * obj0 = 0 ;
8115 PyObject * obj1 = 0 ;
8116 char *kwnames[] = {
8117 (char *) "self",(char *) "line", NULL
8118 };
8119
8120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
8121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8122 arg2 = (size_t) PyInt_AsLong(obj1);
8123 if (PyErr_Occurred()) SWIG_fail;
8124 {
8125 PyThreadState* __tstate = wxPyBeginAllowThreads();
8126 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
8127
8128 wxPyEndAllowThreads(__tstate);
8129 if (PyErr_Occurred()) SWIG_fail;
8130 }
8131 resultobj = PyInt_FromLong((long)result);
8132 return resultobj;
8133 fail:
8134 return NULL;
8135 }
8136
8137
8138 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
8139 PyObject *obj;
8140 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8141 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
8142 Py_INCREF(obj);
8143 return Py_BuildValue((char *)"");
8144 }
8145 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8146 PyObject *resultobj;
8147 wxWindow *arg1 = (wxWindow *) 0 ;
8148 int arg2 = (int) wxID_ANY ;
8149 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8150 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8151 wxSize const &arg4_defvalue = wxDefaultSize ;
8152 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8153 long arg5 = (long) 0 ;
8154 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
8155 wxString *arg6 = (wxString *) &arg6_defvalue ;
8156 wxPyVListBox *result;
8157 wxPoint temp3 ;
8158 wxSize temp4 ;
8159 bool temp6 = False ;
8160 PyObject * obj0 = 0 ;
8161 PyObject * obj2 = 0 ;
8162 PyObject * obj3 = 0 ;
8163 PyObject * obj5 = 0 ;
8164 char *kwnames[] = {
8165 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8166 };
8167
8168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8170 if (obj2) {
8171 {
8172 arg3 = &temp3;
8173 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8174 }
8175 }
8176 if (obj3) {
8177 {
8178 arg4 = &temp4;
8179 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8180 }
8181 }
8182 if (obj5) {
8183 {
8184 arg6 = wxString_in_helper(obj5);
8185 if (arg6 == NULL) SWIG_fail;
8186 temp6 = True;
8187 }
8188 }
8189 {
8190 PyThreadState* __tstate = wxPyBeginAllowThreads();
8191 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8192
8193 wxPyEndAllowThreads(__tstate);
8194 if (PyErr_Occurred()) SWIG_fail;
8195 }
8196 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8197 {
8198 if (temp6)
8199 delete arg6;
8200 }
8201 return resultobj;
8202 fail:
8203 {
8204 if (temp6)
8205 delete arg6;
8206 }
8207 return NULL;
8208 }
8209
8210
8211 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8212 PyObject *resultobj;
8213 wxPyVListBox *result;
8214 char *kwnames[] = {
8215 NULL
8216 };
8217
8218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
8219 {
8220 PyThreadState* __tstate = wxPyBeginAllowThreads();
8221 result = (wxPyVListBox *)new wxPyVListBox();
8222
8223 wxPyEndAllowThreads(__tstate);
8224 if (PyErr_Occurred()) SWIG_fail;
8225 }
8226 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8227 return resultobj;
8228 fail:
8229 return NULL;
8230 }
8231
8232
8233 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8234 PyObject *resultobj;
8235 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8236 PyObject *arg2 = (PyObject *) 0 ;
8237 PyObject *arg3 = (PyObject *) 0 ;
8238 PyObject * obj0 = 0 ;
8239 PyObject * obj1 = 0 ;
8240 PyObject * obj2 = 0 ;
8241 char *kwnames[] = {
8242 (char *) "self",(char *) "self",(char *) "_class", NULL
8243 };
8244
8245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8247 arg2 = obj1;
8248 arg3 = obj2;
8249 {
8250 PyThreadState* __tstate = wxPyBeginAllowThreads();
8251 (arg1)->_setCallbackInfo(arg2,arg3);
8252
8253 wxPyEndAllowThreads(__tstate);
8254 if (PyErr_Occurred()) SWIG_fail;
8255 }
8256 Py_INCREF(Py_None); resultobj = Py_None;
8257 return resultobj;
8258 fail:
8259 return NULL;
8260 }
8261
8262
8263 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8264 PyObject *resultobj;
8265 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8266 wxWindow *arg2 = (wxWindow *) 0 ;
8267 int arg3 = (int) wxID_ANY ;
8268 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8269 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8270 wxSize const &arg5_defvalue = wxDefaultSize ;
8271 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8272 long arg6 = (long) 0 ;
8273 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
8274 wxString *arg7 = (wxString *) &arg7_defvalue ;
8275 bool result;
8276 wxPoint temp4 ;
8277 wxSize temp5 ;
8278 bool temp7 = False ;
8279 PyObject * obj0 = 0 ;
8280 PyObject * obj1 = 0 ;
8281 PyObject * obj3 = 0 ;
8282 PyObject * obj4 = 0 ;
8283 PyObject * obj6 = 0 ;
8284 char *kwnames[] = {
8285 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8286 };
8287
8288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8290 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8291 if (obj3) {
8292 {
8293 arg4 = &temp4;
8294 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8295 }
8296 }
8297 if (obj4) {
8298 {
8299 arg5 = &temp5;
8300 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8301 }
8302 }
8303 if (obj6) {
8304 {
8305 arg7 = wxString_in_helper(obj6);
8306 if (arg7 == NULL) SWIG_fail;
8307 temp7 = True;
8308 }
8309 }
8310 {
8311 PyThreadState* __tstate = wxPyBeginAllowThreads();
8312 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8313
8314 wxPyEndAllowThreads(__tstate);
8315 if (PyErr_Occurred()) SWIG_fail;
8316 }
8317 resultobj = PyInt_FromLong((long)result);
8318 {
8319 if (temp7)
8320 delete arg7;
8321 }
8322 return resultobj;
8323 fail:
8324 {
8325 if (temp7)
8326 delete arg7;
8327 }
8328 return NULL;
8329 }
8330
8331
8332 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8333 PyObject *resultobj;
8334 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8335 size_t result;
8336 PyObject * obj0 = 0 ;
8337 char *kwnames[] = {
8338 (char *) "self", NULL
8339 };
8340
8341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
8342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8343 {
8344 PyThreadState* __tstate = wxPyBeginAllowThreads();
8345 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
8346
8347 wxPyEndAllowThreads(__tstate);
8348 if (PyErr_Occurred()) SWIG_fail;
8349 }
8350 resultobj = PyInt_FromLong((long)result);
8351 return resultobj;
8352 fail:
8353 return NULL;
8354 }
8355
8356
8357 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8358 PyObject *resultobj;
8359 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8360 bool result;
8361 PyObject * obj0 = 0 ;
8362 char *kwnames[] = {
8363 (char *) "self", NULL
8364 };
8365
8366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
8367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8368 {
8369 PyThreadState* __tstate = wxPyBeginAllowThreads();
8370 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
8371
8372 wxPyEndAllowThreads(__tstate);
8373 if (PyErr_Occurred()) SWIG_fail;
8374 }
8375 resultobj = PyInt_FromLong((long)result);
8376 return resultobj;
8377 fail:
8378 return NULL;
8379 }
8380
8381
8382 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8383 PyObject *resultobj;
8384 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8385 int result;
8386 PyObject * obj0 = 0 ;
8387 char *kwnames[] = {
8388 (char *) "self", NULL
8389 };
8390
8391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
8392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8393 {
8394 PyThreadState* __tstate = wxPyBeginAllowThreads();
8395 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
8396
8397 wxPyEndAllowThreads(__tstate);
8398 if (PyErr_Occurred()) SWIG_fail;
8399 }
8400 resultobj = PyInt_FromLong((long)result);
8401 return resultobj;
8402 fail:
8403 return NULL;
8404 }
8405
8406
8407 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
8408 PyObject *resultobj;
8409 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8410 size_t arg2 ;
8411 bool result;
8412 PyObject * obj0 = 0 ;
8413 PyObject * obj1 = 0 ;
8414 char *kwnames[] = {
8415 (char *) "self",(char *) "item", NULL
8416 };
8417
8418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
8419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8420 arg2 = (size_t) PyInt_AsLong(obj1);
8421 if (PyErr_Occurred()) SWIG_fail;
8422 {
8423 PyThreadState* __tstate = wxPyBeginAllowThreads();
8424 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
8425
8426 wxPyEndAllowThreads(__tstate);
8427 if (PyErr_Occurred()) SWIG_fail;
8428 }
8429 resultobj = PyInt_FromLong((long)result);
8430 return resultobj;
8431 fail:
8432 return NULL;
8433 }
8434
8435
8436 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8437 PyObject *resultobj;
8438 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8439 size_t arg2 ;
8440 bool result;
8441 PyObject * obj0 = 0 ;
8442 PyObject * obj1 = 0 ;
8443 char *kwnames[] = {
8444 (char *) "self",(char *) "item", NULL
8445 };
8446
8447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
8448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8449 arg2 = (size_t) PyInt_AsLong(obj1);
8450 if (PyErr_Occurred()) SWIG_fail;
8451 {
8452 PyThreadState* __tstate = wxPyBeginAllowThreads();
8453 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
8454
8455 wxPyEndAllowThreads(__tstate);
8456 if (PyErr_Occurred()) SWIG_fail;
8457 }
8458 resultobj = PyInt_FromLong((long)result);
8459 return resultobj;
8460 fail:
8461 return NULL;
8462 }
8463
8464
8465 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8466 PyObject *resultobj;
8467 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8468 size_t result;
8469 PyObject * obj0 = 0 ;
8470 char *kwnames[] = {
8471 (char *) "self", NULL
8472 };
8473
8474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
8475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8476 {
8477 PyThreadState* __tstate = wxPyBeginAllowThreads();
8478 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
8479
8480 wxPyEndAllowThreads(__tstate);
8481 if (PyErr_Occurred()) SWIG_fail;
8482 }
8483 resultobj = PyInt_FromLong((long)result);
8484 return resultobj;
8485 fail:
8486 return NULL;
8487 }
8488
8489
8490 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8491 PyObject *resultobj;
8492 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8493 unsigned long *arg2 = 0 ;
8494 int result;
8495 PyObject * obj0 = 0 ;
8496 PyObject * obj1 = 0 ;
8497 char *kwnames[] = {
8498 (char *) "self",(char *) "cookie", NULL
8499 };
8500
8501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
8502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8503 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8504 if (arg2 == NULL) {
8505 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8506 }
8507 {
8508 PyThreadState* __tstate = wxPyBeginAllowThreads();
8509 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
8510
8511 wxPyEndAllowThreads(__tstate);
8512 if (PyErr_Occurred()) SWIG_fail;
8513 }
8514 resultobj = PyInt_FromLong((long)result);
8515 return resultobj;
8516 fail:
8517 return NULL;
8518 }
8519
8520
8521 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8522 PyObject *resultobj;
8523 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8524 unsigned long *arg2 = 0 ;
8525 int result;
8526 PyObject * obj0 = 0 ;
8527 PyObject * obj1 = 0 ;
8528 char *kwnames[] = {
8529 (char *) "self",(char *) "cookie", NULL
8530 };
8531
8532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
8533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8534 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8535 if (arg2 == NULL) {
8536 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8537 }
8538 {
8539 PyThreadState* __tstate = wxPyBeginAllowThreads();
8540 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
8541
8542 wxPyEndAllowThreads(__tstate);
8543 if (PyErr_Occurred()) SWIG_fail;
8544 }
8545 resultobj = PyInt_FromLong((long)result);
8546 return resultobj;
8547 fail:
8548 return NULL;
8549 }
8550
8551
8552 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
8553 PyObject *resultobj;
8554 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8555 wxPoint result;
8556 PyObject * obj0 = 0 ;
8557 char *kwnames[] = {
8558 (char *) "self", NULL
8559 };
8560
8561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
8562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8563 {
8564 PyThreadState* __tstate = wxPyBeginAllowThreads();
8565 result = ((wxPyVListBox const *)arg1)->GetMargins();
8566
8567 wxPyEndAllowThreads(__tstate);
8568 if (PyErr_Occurred()) SWIG_fail;
8569 }
8570 {
8571 wxPoint * resultptr;
8572 resultptr = new wxPoint((wxPoint &) result);
8573 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
8574 }
8575 return resultobj;
8576 fail:
8577 return NULL;
8578 }
8579
8580
8581 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8582 PyObject *resultobj;
8583 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8584 wxColour *result;
8585 PyObject * obj0 = 0 ;
8586 char *kwnames[] = {
8587 (char *) "self", NULL
8588 };
8589
8590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
8591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8592 {
8593 PyThreadState* __tstate = wxPyBeginAllowThreads();
8594 {
8595 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
8596 result = (wxColour *) &_result_ref;
8597 }
8598
8599 wxPyEndAllowThreads(__tstate);
8600 if (PyErr_Occurred()) SWIG_fail;
8601 }
8602 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
8603 return resultobj;
8604 fail:
8605 return NULL;
8606 }
8607
8608
8609 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8610 PyObject *resultobj;
8611 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8612 size_t arg2 ;
8613 PyObject * obj0 = 0 ;
8614 PyObject * obj1 = 0 ;
8615 char *kwnames[] = {
8616 (char *) "self",(char *) "count", NULL
8617 };
8618
8619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
8620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8621 arg2 = (size_t) PyInt_AsLong(obj1);
8622 if (PyErr_Occurred()) SWIG_fail;
8623 {
8624 PyThreadState* __tstate = wxPyBeginAllowThreads();
8625 (arg1)->SetItemCount(arg2);
8626
8627 wxPyEndAllowThreads(__tstate);
8628 if (PyErr_Occurred()) SWIG_fail;
8629 }
8630 Py_INCREF(Py_None); resultobj = Py_None;
8631 return resultobj;
8632 fail:
8633 return NULL;
8634 }
8635
8636
8637 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8638 PyObject *resultobj;
8639 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8640 PyObject * obj0 = 0 ;
8641 char *kwnames[] = {
8642 (char *) "self", NULL
8643 };
8644
8645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
8646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8647 {
8648 PyThreadState* __tstate = wxPyBeginAllowThreads();
8649 (arg1)->Clear();
8650
8651 wxPyEndAllowThreads(__tstate);
8652 if (PyErr_Occurred()) SWIG_fail;
8653 }
8654 Py_INCREF(Py_None); resultobj = Py_None;
8655 return resultobj;
8656 fail:
8657 return NULL;
8658 }
8659
8660
8661 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8662 PyObject *resultobj;
8663 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8664 int arg2 ;
8665 PyObject * obj0 = 0 ;
8666 char *kwnames[] = {
8667 (char *) "self",(char *) "selection", NULL
8668 };
8669
8670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VListBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
8671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8672 {
8673 PyThreadState* __tstate = wxPyBeginAllowThreads();
8674 (arg1)->SetSelection(arg2);
8675
8676 wxPyEndAllowThreads(__tstate);
8677 if (PyErr_Occurred()) SWIG_fail;
8678 }
8679 Py_INCREF(Py_None); resultobj = Py_None;
8680 return resultobj;
8681 fail:
8682 return NULL;
8683 }
8684
8685
8686 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
8687 PyObject *resultobj;
8688 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8689 size_t arg2 ;
8690 bool arg3 = (bool) True ;
8691 bool result;
8692 PyObject * obj0 = 0 ;
8693 PyObject * obj1 = 0 ;
8694 PyObject * obj2 = 0 ;
8695 char *kwnames[] = {
8696 (char *) "self",(char *) "item",(char *) "select", NULL
8697 };
8698
8699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
8700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8701 arg2 = (size_t) PyInt_AsLong(obj1);
8702 if (PyErr_Occurred()) SWIG_fail;
8703 if (obj2) {
8704 arg3 = PyInt_AsLong(obj2) ? true : false;
8705 if (PyErr_Occurred()) SWIG_fail;
8706 }
8707 {
8708 PyThreadState* __tstate = wxPyBeginAllowThreads();
8709 result = (bool)(arg1)->Select(arg2,arg3);
8710
8711 wxPyEndAllowThreads(__tstate);
8712 if (PyErr_Occurred()) SWIG_fail;
8713 }
8714 resultobj = PyInt_FromLong((long)result);
8715 return resultobj;
8716 fail:
8717 return NULL;
8718 }
8719
8720
8721 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8722 PyObject *resultobj;
8723 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8724 size_t arg2 ;
8725 size_t arg3 ;
8726 bool result;
8727 PyObject * obj0 = 0 ;
8728 PyObject * obj1 = 0 ;
8729 PyObject * obj2 = 0 ;
8730 char *kwnames[] = {
8731 (char *) "self",(char *) "from",(char *) "to", NULL
8732 };
8733
8734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
8735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8736 arg2 = (size_t) PyInt_AsLong(obj1);
8737 if (PyErr_Occurred()) SWIG_fail;
8738 arg3 = (size_t) PyInt_AsLong(obj2);
8739 if (PyErr_Occurred()) SWIG_fail;
8740 {
8741 PyThreadState* __tstate = wxPyBeginAllowThreads();
8742 result = (bool)(arg1)->SelectRange(arg2,arg3);
8743
8744 wxPyEndAllowThreads(__tstate);
8745 if (PyErr_Occurred()) SWIG_fail;
8746 }
8747 resultobj = PyInt_FromLong((long)result);
8748 return resultobj;
8749 fail:
8750 return NULL;
8751 }
8752
8753
8754 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
8755 PyObject *resultobj;
8756 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8757 size_t arg2 ;
8758 PyObject * obj0 = 0 ;
8759 PyObject * obj1 = 0 ;
8760 char *kwnames[] = {
8761 (char *) "self",(char *) "item", NULL
8762 };
8763
8764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
8765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8766 arg2 = (size_t) PyInt_AsLong(obj1);
8767 if (PyErr_Occurred()) SWIG_fail;
8768 {
8769 PyThreadState* __tstate = wxPyBeginAllowThreads();
8770 (arg1)->Toggle(arg2);
8771
8772 wxPyEndAllowThreads(__tstate);
8773 if (PyErr_Occurred()) SWIG_fail;
8774 }
8775 Py_INCREF(Py_None); resultobj = Py_None;
8776 return resultobj;
8777 fail:
8778 return NULL;
8779 }
8780
8781
8782 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8783 PyObject *resultobj;
8784 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8785 bool result;
8786 PyObject * obj0 = 0 ;
8787 char *kwnames[] = {
8788 (char *) "self", NULL
8789 };
8790
8791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
8792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8793 {
8794 PyThreadState* __tstate = wxPyBeginAllowThreads();
8795 result = (bool)(arg1)->SelectAll();
8796
8797 wxPyEndAllowThreads(__tstate);
8798 if (PyErr_Occurred()) SWIG_fail;
8799 }
8800 resultobj = PyInt_FromLong((long)result);
8801 return resultobj;
8802 fail:
8803 return NULL;
8804 }
8805
8806
8807 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8808 PyObject *resultobj;
8809 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8810 bool result;
8811 PyObject * obj0 = 0 ;
8812 char *kwnames[] = {
8813 (char *) "self", NULL
8814 };
8815
8816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
8817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8818 {
8819 PyThreadState* __tstate = wxPyBeginAllowThreads();
8820 result = (bool)(arg1)->DeselectAll();
8821
8822 wxPyEndAllowThreads(__tstate);
8823 if (PyErr_Occurred()) SWIG_fail;
8824 }
8825 resultobj = PyInt_FromLong((long)result);
8826 return resultobj;
8827 fail:
8828 return NULL;
8829 }
8830
8831
8832 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
8833 PyObject *resultobj;
8834 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8835 wxPoint *arg2 = 0 ;
8836 wxPoint temp2 ;
8837 PyObject * obj0 = 0 ;
8838 PyObject * obj1 = 0 ;
8839 char *kwnames[] = {
8840 (char *) "self",(char *) "pt", NULL
8841 };
8842
8843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
8844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8845 {
8846 arg2 = &temp2;
8847 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8848 }
8849 {
8850 PyThreadState* __tstate = wxPyBeginAllowThreads();
8851 (arg1)->SetMargins((wxPoint const &)*arg2);
8852
8853 wxPyEndAllowThreads(__tstate);
8854 if (PyErr_Occurred()) SWIG_fail;
8855 }
8856 Py_INCREF(Py_None); resultobj = Py_None;
8857 return resultobj;
8858 fail:
8859 return NULL;
8860 }
8861
8862
8863 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8864 PyObject *resultobj;
8865 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8866 int arg2 ;
8867 int arg3 ;
8868 PyObject * obj0 = 0 ;
8869 char *kwnames[] = {
8870 (char *) "self",(char *) "x",(char *) "y", NULL
8871 };
8872
8873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VListBox_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
8874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8875 {
8876 PyThreadState* __tstate = wxPyBeginAllowThreads();
8877 (arg1)->SetMargins(arg2,arg3);
8878
8879 wxPyEndAllowThreads(__tstate);
8880 if (PyErr_Occurred()) SWIG_fail;
8881 }
8882 Py_INCREF(Py_None); resultobj = Py_None;
8883 return resultobj;
8884 fail:
8885 return NULL;
8886 }
8887
8888
8889 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8890 PyObject *resultobj;
8891 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8892 wxColour *arg2 = 0 ;
8893 wxColour temp2 ;
8894 PyObject * obj0 = 0 ;
8895 PyObject * obj1 = 0 ;
8896 char *kwnames[] = {
8897 (char *) "self",(char *) "col", NULL
8898 };
8899
8900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
8901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8902 {
8903 arg2 = &temp2;
8904 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8905 }
8906 {
8907 PyThreadState* __tstate = wxPyBeginAllowThreads();
8908 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
8909
8910 wxPyEndAllowThreads(__tstate);
8911 if (PyErr_Occurred()) SWIG_fail;
8912 }
8913 Py_INCREF(Py_None); resultobj = Py_None;
8914 return resultobj;
8915 fail:
8916 return NULL;
8917 }
8918
8919
8920 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
8921 PyObject *obj;
8922 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8923 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
8924 Py_INCREF(obj);
8925 return Py_BuildValue((char *)"");
8926 }
8927 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8928 PyObject *resultobj;
8929 wxWindow *arg1 = (wxWindow *) 0 ;
8930 int arg2 = (int) wxID_ANY ;
8931 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8932 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8933 wxSize const &arg4_defvalue = wxDefaultSize ;
8934 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8935 long arg5 = (long) 0 ;
8936 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
8937 wxString *arg6 = (wxString *) &arg6_defvalue ;
8938 wxPyHtmlListBox *result;
8939 wxPoint temp3 ;
8940 wxSize temp4 ;
8941 bool temp6 = False ;
8942 PyObject * obj0 = 0 ;
8943 PyObject * obj2 = 0 ;
8944 PyObject * obj3 = 0 ;
8945 PyObject * obj5 = 0 ;
8946 char *kwnames[] = {
8947 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8948 };
8949
8950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_HtmlListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8952 if (obj2) {
8953 {
8954 arg3 = &temp3;
8955 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8956 }
8957 }
8958 if (obj3) {
8959 {
8960 arg4 = &temp4;
8961 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8962 }
8963 }
8964 if (obj5) {
8965 {
8966 arg6 = wxString_in_helper(obj5);
8967 if (arg6 == NULL) SWIG_fail;
8968 temp6 = True;
8969 }
8970 }
8971 {
8972 PyThreadState* __tstate = wxPyBeginAllowThreads();
8973 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8974
8975 wxPyEndAllowThreads(__tstate);
8976 if (PyErr_Occurred()) SWIG_fail;
8977 }
8978 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
8979 {
8980 if (temp6)
8981 delete arg6;
8982 }
8983 return resultobj;
8984 fail:
8985 {
8986 if (temp6)
8987 delete arg6;
8988 }
8989 return NULL;
8990 }
8991
8992
8993 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8994 PyObject *resultobj;
8995 wxPyHtmlListBox *result;
8996 char *kwnames[] = {
8997 NULL
8998 };
8999
9000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
9001 {
9002 PyThreadState* __tstate = wxPyBeginAllowThreads();
9003 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
9004
9005 wxPyEndAllowThreads(__tstate);
9006 if (PyErr_Occurred()) SWIG_fail;
9007 }
9008 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
9009 return resultobj;
9010 fail:
9011 return NULL;
9012 }
9013
9014
9015 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9016 PyObject *resultobj;
9017 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9018 PyObject *arg2 = (PyObject *) 0 ;
9019 PyObject *arg3 = (PyObject *) 0 ;
9020 PyObject * obj0 = 0 ;
9021 PyObject * obj1 = 0 ;
9022 PyObject * obj2 = 0 ;
9023 char *kwnames[] = {
9024 (char *) "self",(char *) "self",(char *) "_class", NULL
9025 };
9026
9027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9029 arg2 = obj1;
9030 arg3 = obj2;
9031 {
9032 PyThreadState* __tstate = wxPyBeginAllowThreads();
9033 (arg1)->_setCallbackInfo(arg2,arg3);
9034
9035 wxPyEndAllowThreads(__tstate);
9036 if (PyErr_Occurred()) SWIG_fail;
9037 }
9038 Py_INCREF(Py_None); resultobj = Py_None;
9039 return resultobj;
9040 fail:
9041 return NULL;
9042 }
9043
9044
9045 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9046 PyObject *resultobj;
9047 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9048 wxWindow *arg2 = (wxWindow *) 0 ;
9049 int arg3 = (int) wxID_ANY ;
9050 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9051 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9052 wxSize const &arg5_defvalue = wxDefaultSize ;
9053 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9054 long arg6 = (long) 0 ;
9055 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9056 wxString *arg7 = (wxString *) &arg7_defvalue ;
9057 bool result;
9058 wxPoint temp4 ;
9059 wxSize temp5 ;
9060 bool temp7 = False ;
9061 PyObject * obj0 = 0 ;
9062 PyObject * obj1 = 0 ;
9063 PyObject * obj3 = 0 ;
9064 PyObject * obj4 = 0 ;
9065 PyObject * obj6 = 0 ;
9066 char *kwnames[] = {
9067 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9068 };
9069
9070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:HtmlListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
9071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9072 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9073 if (obj3) {
9074 {
9075 arg4 = &temp4;
9076 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9077 }
9078 }
9079 if (obj4) {
9080 {
9081 arg5 = &temp5;
9082 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9083 }
9084 }
9085 if (obj6) {
9086 {
9087 arg7 = wxString_in_helper(obj6);
9088 if (arg7 == NULL) SWIG_fail;
9089 temp7 = True;
9090 }
9091 }
9092 {
9093 PyThreadState* __tstate = wxPyBeginAllowThreads();
9094 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9095
9096 wxPyEndAllowThreads(__tstate);
9097 if (PyErr_Occurred()) SWIG_fail;
9098 }
9099 resultobj = PyInt_FromLong((long)result);
9100 {
9101 if (temp7)
9102 delete arg7;
9103 }
9104 return resultobj;
9105 fail:
9106 {
9107 if (temp7)
9108 delete arg7;
9109 }
9110 return NULL;
9111 }
9112
9113
9114 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9115 PyObject *resultobj;
9116 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9117 PyObject * obj0 = 0 ;
9118 char *kwnames[] = {
9119 (char *) "self", NULL
9120 };
9121
9122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
9123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9124 {
9125 PyThreadState* __tstate = wxPyBeginAllowThreads();
9126 (arg1)->RefreshAll();
9127
9128 wxPyEndAllowThreads(__tstate);
9129 if (PyErr_Occurred()) SWIG_fail;
9130 }
9131 Py_INCREF(Py_None); resultobj = Py_None;
9132 return resultobj;
9133 fail:
9134 return NULL;
9135 }
9136
9137
9138 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9139 PyObject *resultobj;
9140 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9141 size_t arg2 ;
9142 PyObject * obj0 = 0 ;
9143 PyObject * obj1 = 0 ;
9144 char *kwnames[] = {
9145 (char *) "self",(char *) "count", NULL
9146 };
9147
9148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9150 arg2 = (size_t) PyInt_AsLong(obj1);
9151 if (PyErr_Occurred()) SWIG_fail;
9152 {
9153 PyThreadState* __tstate = wxPyBeginAllowThreads();
9154 (arg1)->SetItemCount(arg2);
9155
9156 wxPyEndAllowThreads(__tstate);
9157 if (PyErr_Occurred()) SWIG_fail;
9158 }
9159 Py_INCREF(Py_None); resultobj = Py_None;
9160 return resultobj;
9161 fail:
9162 return NULL;
9163 }
9164
9165
9166 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
9167 PyObject *obj;
9168 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9169 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
9170 Py_INCREF(obj);
9171 return Py_BuildValue((char *)"");
9172 }
9173 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9174 PyObject *resultobj;
9175 wxTaskBarIcon *result;
9176 char *kwnames[] = {
9177 NULL
9178 };
9179
9180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
9181 {
9182 PyThreadState* __tstate = wxPyBeginAllowThreads();
9183 result = (wxTaskBarIcon *)new wxTaskBarIcon();
9184
9185 wxPyEndAllowThreads(__tstate);
9186 if (PyErr_Occurred()) SWIG_fail;
9187 }
9188 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIcon, 1);
9189 return resultobj;
9190 fail:
9191 return NULL;
9192 }
9193
9194
9195 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9196 PyObject *resultobj;
9197 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9198 PyObject * obj0 = 0 ;
9199 char *kwnames[] = {
9200 (char *) "self", NULL
9201 };
9202
9203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
9204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9205 {
9206 PyThreadState* __tstate = wxPyBeginAllowThreads();
9207 delete arg1;
9208
9209 wxPyEndAllowThreads(__tstate);
9210 if (PyErr_Occurred()) SWIG_fail;
9211 }
9212 Py_INCREF(Py_None); resultobj = Py_None;
9213 return resultobj;
9214 fail:
9215 return NULL;
9216 }
9217
9218
9219 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
9220 PyObject *resultobj;
9221 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9222 bool result;
9223 PyObject * obj0 = 0 ;
9224 char *kwnames[] = {
9225 (char *) "self", NULL
9226 };
9227
9228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
9229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9230 {
9231 PyThreadState* __tstate = wxPyBeginAllowThreads();
9232 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
9233
9234 wxPyEndAllowThreads(__tstate);
9235 if (PyErr_Occurred()) SWIG_fail;
9236 }
9237 resultobj = PyInt_FromLong((long)result);
9238 return resultobj;
9239 fail:
9240 return NULL;
9241 }
9242
9243
9244 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
9245 PyObject *resultobj;
9246 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9247 bool result;
9248 PyObject * obj0 = 0 ;
9249 char *kwnames[] = {
9250 (char *) "self", NULL
9251 };
9252
9253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
9254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9255 {
9256 PyThreadState* __tstate = wxPyBeginAllowThreads();
9257 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
9258
9259 wxPyEndAllowThreads(__tstate);
9260 if (PyErr_Occurred()) SWIG_fail;
9261 }
9262 resultobj = PyInt_FromLong((long)result);
9263 return resultobj;
9264 fail:
9265 return NULL;
9266 }
9267
9268
9269 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9270 PyObject *resultobj;
9271 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9272 wxIcon *arg2 = 0 ;
9273 wxString const &arg3_defvalue = wxPyEmptyString ;
9274 wxString *arg3 = (wxString *) &arg3_defvalue ;
9275 bool result;
9276 bool temp3 = False ;
9277 PyObject * obj0 = 0 ;
9278 PyObject * obj1 = 0 ;
9279 PyObject * obj2 = 0 ;
9280 char *kwnames[] = {
9281 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
9282 };
9283
9284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
9285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9286 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9287 if (arg2 == NULL) {
9288 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9289 }
9290 if (obj2) {
9291 {
9292 arg3 = wxString_in_helper(obj2);
9293 if (arg3 == NULL) SWIG_fail;
9294 temp3 = True;
9295 }
9296 }
9297 {
9298 PyThreadState* __tstate = wxPyBeginAllowThreads();
9299 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
9300
9301 wxPyEndAllowThreads(__tstate);
9302 if (PyErr_Occurred()) SWIG_fail;
9303 }
9304 resultobj = PyInt_FromLong((long)result);
9305 {
9306 if (temp3)
9307 delete arg3;
9308 }
9309 return resultobj;
9310 fail:
9311 {
9312 if (temp3)
9313 delete arg3;
9314 }
9315 return NULL;
9316 }
9317
9318
9319 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9320 PyObject *resultobj;
9321 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9322 bool result;
9323 PyObject * obj0 = 0 ;
9324 char *kwnames[] = {
9325 (char *) "self", NULL
9326 };
9327
9328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
9329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9330 {
9331 PyThreadState* __tstate = wxPyBeginAllowThreads();
9332 result = (bool)(arg1)->RemoveIcon();
9333
9334 wxPyEndAllowThreads(__tstate);
9335 if (PyErr_Occurred()) SWIG_fail;
9336 }
9337 resultobj = PyInt_FromLong((long)result);
9338 return resultobj;
9339 fail:
9340 return NULL;
9341 }
9342
9343
9344 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
9345 PyObject *resultobj;
9346 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9347 wxMenu *arg2 = (wxMenu *) 0 ;
9348 bool result;
9349 PyObject * obj0 = 0 ;
9350 PyObject * obj1 = 0 ;
9351 char *kwnames[] = {
9352 (char *) "self",(char *) "menu", NULL
9353 };
9354
9355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
9356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9357 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9358 {
9359 PyThreadState* __tstate = wxPyBeginAllowThreads();
9360 result = (bool)(arg1)->PopupMenu(arg2);
9361
9362 wxPyEndAllowThreads(__tstate);
9363 if (PyErr_Occurred()) SWIG_fail;
9364 }
9365 resultobj = PyInt_FromLong((long)result);
9366 return resultobj;
9367 fail:
9368 return NULL;
9369 }
9370
9371
9372 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
9373 PyObject *obj;
9374 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9375 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
9376 Py_INCREF(obj);
9377 return Py_BuildValue((char *)"");
9378 }
9379 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9380 PyObject *resultobj;
9381 wxEventType arg1 ;
9382 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
9383 wxTaskBarIconEvent *result;
9384 PyObject * obj1 = 0 ;
9385 char *kwnames[] = {
9386 (char *) "evtType",(char *) "tbIcon", NULL
9387 };
9388
9389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iO:new_TaskBarIconEvent",kwnames,&arg1,&obj1)) goto fail;
9390 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9391 {
9392 PyThreadState* __tstate = wxPyBeginAllowThreads();
9393 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
9394
9395 wxPyEndAllowThreads(__tstate);
9396 if (PyErr_Occurred()) SWIG_fail;
9397 }
9398 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIconEvent, 1);
9399 return resultobj;
9400 fail:
9401 return NULL;
9402 }
9403
9404
9405 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
9406 PyObject *obj;
9407 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9408 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
9409 Py_INCREF(obj);
9410 return Py_BuildValue((char *)"");
9411 }
9412 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9413 PyObject *resultobj;
9414 wxColourData *result;
9415 char *kwnames[] = {
9416 NULL
9417 };
9418
9419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
9420 {
9421 PyThreadState* __tstate = wxPyBeginAllowThreads();
9422 result = (wxColourData *)new wxColourData();
9423
9424 wxPyEndAllowThreads(__tstate);
9425 if (PyErr_Occurred()) SWIG_fail;
9426 }
9427 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 1);
9428 return resultobj;
9429 fail:
9430 return NULL;
9431 }
9432
9433
9434 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9435 PyObject *resultobj;
9436 wxColourData *arg1 = (wxColourData *) 0 ;
9437 PyObject * obj0 = 0 ;
9438 char *kwnames[] = {
9439 (char *) "self", NULL
9440 };
9441
9442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
9443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9444 {
9445 PyThreadState* __tstate = wxPyBeginAllowThreads();
9446 delete arg1;
9447
9448 wxPyEndAllowThreads(__tstate);
9449 if (PyErr_Occurred()) SWIG_fail;
9450 }
9451 Py_INCREF(Py_None); resultobj = Py_None;
9452 return resultobj;
9453 fail:
9454 return NULL;
9455 }
9456
9457
9458 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9459 PyObject *resultobj;
9460 wxColourData *arg1 = (wxColourData *) 0 ;
9461 bool result;
9462 PyObject * obj0 = 0 ;
9463 char *kwnames[] = {
9464 (char *) "self", NULL
9465 };
9466
9467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
9468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9469 {
9470 PyThreadState* __tstate = wxPyBeginAllowThreads();
9471 result = (bool)(arg1)->GetChooseFull();
9472
9473 wxPyEndAllowThreads(__tstate);
9474 if (PyErr_Occurred()) SWIG_fail;
9475 }
9476 resultobj = PyInt_FromLong((long)result);
9477 return resultobj;
9478 fail:
9479 return NULL;
9480 }
9481
9482
9483 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9484 PyObject *resultobj;
9485 wxColourData *arg1 = (wxColourData *) 0 ;
9486 wxColour result;
9487 PyObject * obj0 = 0 ;
9488 char *kwnames[] = {
9489 (char *) "self", NULL
9490 };
9491
9492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
9493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9494 {
9495 PyThreadState* __tstate = wxPyBeginAllowThreads();
9496 result = (arg1)->GetColour();
9497
9498 wxPyEndAllowThreads(__tstate);
9499 if (PyErr_Occurred()) SWIG_fail;
9500 }
9501 {
9502 wxColour * resultptr;
9503 resultptr = new wxColour((wxColour &) result);
9504 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9505 }
9506 return resultobj;
9507 fail:
9508 return NULL;
9509 }
9510
9511
9512 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9513 PyObject *resultobj;
9514 wxColourData *arg1 = (wxColourData *) 0 ;
9515 int arg2 ;
9516 wxColour result;
9517 PyObject * obj0 = 0 ;
9518 char *kwnames[] = {
9519 (char *) "self",(char *) "i", NULL
9520 };
9521
9522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_GetCustomColour",kwnames,&obj0,&arg2)) goto fail;
9523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9524 {
9525 PyThreadState* __tstate = wxPyBeginAllowThreads();
9526 result = (arg1)->GetCustomColour(arg2);
9527
9528 wxPyEndAllowThreads(__tstate);
9529 if (PyErr_Occurred()) SWIG_fail;
9530 }
9531 {
9532 wxColour * resultptr;
9533 resultptr = new wxColour((wxColour &) result);
9534 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9535 }
9536 return resultobj;
9537 fail:
9538 return NULL;
9539 }
9540
9541
9542 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9543 PyObject *resultobj;
9544 wxColourData *arg1 = (wxColourData *) 0 ;
9545 int arg2 ;
9546 PyObject * obj0 = 0 ;
9547 char *kwnames[] = {
9548 (char *) "self",(char *) "flag", NULL
9549 };
9550
9551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_SetChooseFull",kwnames,&obj0,&arg2)) goto fail;
9552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9553 {
9554 PyThreadState* __tstate = wxPyBeginAllowThreads();
9555 (arg1)->SetChooseFull(arg2);
9556
9557 wxPyEndAllowThreads(__tstate);
9558 if (PyErr_Occurred()) SWIG_fail;
9559 }
9560 Py_INCREF(Py_None); resultobj = Py_None;
9561 return resultobj;
9562 fail:
9563 return NULL;
9564 }
9565
9566
9567 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9568 PyObject *resultobj;
9569 wxColourData *arg1 = (wxColourData *) 0 ;
9570 wxColour *arg2 = 0 ;
9571 wxColour temp2 ;
9572 PyObject * obj0 = 0 ;
9573 PyObject * obj1 = 0 ;
9574 char *kwnames[] = {
9575 (char *) "self",(char *) "colour", NULL
9576 };
9577
9578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
9579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9580 {
9581 arg2 = &temp2;
9582 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9583 }
9584 {
9585 PyThreadState* __tstate = wxPyBeginAllowThreads();
9586 (arg1)->SetColour((wxColour const &)*arg2);
9587
9588 wxPyEndAllowThreads(__tstate);
9589 if (PyErr_Occurred()) SWIG_fail;
9590 }
9591 Py_INCREF(Py_None); resultobj = Py_None;
9592 return resultobj;
9593 fail:
9594 return NULL;
9595 }
9596
9597
9598 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9599 PyObject *resultobj;
9600 wxColourData *arg1 = (wxColourData *) 0 ;
9601 int arg2 ;
9602 wxColour *arg3 = 0 ;
9603 wxColour temp3 ;
9604 PyObject * obj0 = 0 ;
9605 PyObject * obj2 = 0 ;
9606 char *kwnames[] = {
9607 (char *) "self",(char *) "i",(char *) "colour", NULL
9608 };
9609
9610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ColourData_SetCustomColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
9611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9612 {
9613 arg3 = &temp3;
9614 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9615 }
9616 {
9617 PyThreadState* __tstate = wxPyBeginAllowThreads();
9618 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
9619
9620 wxPyEndAllowThreads(__tstate);
9621 if (PyErr_Occurred()) SWIG_fail;
9622 }
9623 Py_INCREF(Py_None); resultobj = Py_None;
9624 return resultobj;
9625 fail:
9626 return NULL;
9627 }
9628
9629
9630 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
9631 PyObject *obj;
9632 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9633 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
9634 Py_INCREF(obj);
9635 return Py_BuildValue((char *)"");
9636 }
9637 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
9638 PyObject *resultobj;
9639 wxWindow *arg1 = (wxWindow *) 0 ;
9640 wxColourData *arg2 = (wxColourData *) NULL ;
9641 wxColourDialog *result;
9642 PyObject * obj0 = 0 ;
9643 PyObject * obj1 = 0 ;
9644 char *kwnames[] = {
9645 (char *) "parent",(char *) "data", NULL
9646 };
9647
9648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
9649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9650 if (obj1) {
9651 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9652 }
9653 {
9654 PyThreadState* __tstate = wxPyBeginAllowThreads();
9655 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
9656
9657 wxPyEndAllowThreads(__tstate);
9658 if (PyErr_Occurred()) SWIG_fail;
9659 }
9660 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourDialog, 1);
9661 return resultobj;
9662 fail:
9663 return NULL;
9664 }
9665
9666
9667 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9668 PyObject *resultobj;
9669 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
9670 wxColourData *result;
9671 PyObject * obj0 = 0 ;
9672 char *kwnames[] = {
9673 (char *) "self", NULL
9674 };
9675
9676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
9677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9678 {
9679 PyThreadState* __tstate = wxPyBeginAllowThreads();
9680 {
9681 wxColourData &_result_ref = (arg1)->GetColourData();
9682 result = (wxColourData *) &_result_ref;
9683 }
9684
9685 wxPyEndAllowThreads(__tstate);
9686 if (PyErr_Occurred()) SWIG_fail;
9687 }
9688 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 0);
9689 return resultobj;
9690 fail:
9691 return NULL;
9692 }
9693
9694
9695 static PyObject *_wrap_ColourDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
9696 PyObject *resultobj;
9697 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
9698 int result;
9699 PyObject * obj0 = 0 ;
9700 char *kwnames[] = {
9701 (char *) "self", NULL
9702 };
9703
9704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_ShowModal",kwnames,&obj0)) goto fail;
9705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9706 {
9707 PyThreadState* __tstate = wxPyBeginAllowThreads();
9708 result = (int)(arg1)->ShowModal();
9709
9710 wxPyEndAllowThreads(__tstate);
9711 if (PyErr_Occurred()) SWIG_fail;
9712 }
9713 resultobj = PyInt_FromLong((long)result);
9714 return resultobj;
9715 fail:
9716 return NULL;
9717 }
9718
9719
9720 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
9721 PyObject *obj;
9722 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9723 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
9724 Py_INCREF(obj);
9725 return Py_BuildValue((char *)"");
9726 }
9727 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
9728 PyObject *resultobj;
9729 wxWindow *arg1 = (wxWindow *) 0 ;
9730 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
9731 wxString *arg2 = (wxString *) &arg2_defvalue ;
9732 wxString const &arg3_defvalue = wxPyEmptyString ;
9733 wxString *arg3 = (wxString *) &arg3_defvalue ;
9734 long arg4 = (long) 0 ;
9735 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9736 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9737 wxSize const &arg6_defvalue = wxDefaultSize ;
9738 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9739 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
9740 wxString *arg7 = (wxString *) &arg7_defvalue ;
9741 wxDirDialog *result;
9742 bool temp2 = False ;
9743 bool temp3 = False ;
9744 wxPoint temp5 ;
9745 wxSize temp6 ;
9746 bool temp7 = False ;
9747 PyObject * obj0 = 0 ;
9748 PyObject * obj1 = 0 ;
9749 PyObject * obj2 = 0 ;
9750 PyObject * obj4 = 0 ;
9751 PyObject * obj5 = 0 ;
9752 PyObject * obj6 = 0 ;
9753 char *kwnames[] = {
9754 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
9755 };
9756
9757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOlOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&obj5,&obj6)) goto fail;
9758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9759 if (obj1) {
9760 {
9761 arg2 = wxString_in_helper(obj1);
9762 if (arg2 == NULL) SWIG_fail;
9763 temp2 = True;
9764 }
9765 }
9766 if (obj2) {
9767 {
9768 arg3 = wxString_in_helper(obj2);
9769 if (arg3 == NULL) SWIG_fail;
9770 temp3 = True;
9771 }
9772 }
9773 if (obj4) {
9774 {
9775 arg5 = &temp5;
9776 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9777 }
9778 }
9779 if (obj5) {
9780 {
9781 arg6 = &temp6;
9782 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9783 }
9784 }
9785 if (obj6) {
9786 {
9787 arg7 = wxString_in_helper(obj6);
9788 if (arg7 == NULL) SWIG_fail;
9789 temp7 = True;
9790 }
9791 }
9792 {
9793 PyThreadState* __tstate = wxPyBeginAllowThreads();
9794 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
9795
9796 wxPyEndAllowThreads(__tstate);
9797 if (PyErr_Occurred()) SWIG_fail;
9798 }
9799 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirDialog, 1);
9800 {
9801 if (temp2)
9802 delete arg2;
9803 }
9804 {
9805 if (temp3)
9806 delete arg3;
9807 }
9808 {
9809 if (temp7)
9810 delete arg7;
9811 }
9812 return resultobj;
9813 fail:
9814 {
9815 if (temp2)
9816 delete arg2;
9817 }
9818 {
9819 if (temp3)
9820 delete arg3;
9821 }
9822 {
9823 if (temp7)
9824 delete arg7;
9825 }
9826 return NULL;
9827 }
9828
9829
9830 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
9831 PyObject *resultobj;
9832 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9833 wxString result;
9834 PyObject * obj0 = 0 ;
9835 char *kwnames[] = {
9836 (char *) "self", NULL
9837 };
9838
9839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
9840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9841 {
9842 PyThreadState* __tstate = wxPyBeginAllowThreads();
9843 result = (arg1)->GetPath();
9844
9845 wxPyEndAllowThreads(__tstate);
9846 if (PyErr_Occurred()) SWIG_fail;
9847 }
9848 {
9849 #if wxUSE_UNICODE
9850 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9851 #else
9852 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9853 #endif
9854 }
9855 return resultobj;
9856 fail:
9857 return NULL;
9858 }
9859
9860
9861 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
9862 PyObject *resultobj;
9863 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9864 wxString result;
9865 PyObject * obj0 = 0 ;
9866 char *kwnames[] = {
9867 (char *) "self", NULL
9868 };
9869
9870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
9871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9872 {
9873 PyThreadState* __tstate = wxPyBeginAllowThreads();
9874 result = (arg1)->GetMessage();
9875
9876 wxPyEndAllowThreads(__tstate);
9877 if (PyErr_Occurred()) SWIG_fail;
9878 }
9879 {
9880 #if wxUSE_UNICODE
9881 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9882 #else
9883 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9884 #endif
9885 }
9886 return resultobj;
9887 fail:
9888 return NULL;
9889 }
9890
9891
9892 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9893 PyObject *resultobj;
9894 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9895 long result;
9896 PyObject * obj0 = 0 ;
9897 char *kwnames[] = {
9898 (char *) "self", NULL
9899 };
9900
9901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
9902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9903 {
9904 PyThreadState* __tstate = wxPyBeginAllowThreads();
9905 result = (long)(arg1)->GetStyle();
9906
9907 wxPyEndAllowThreads(__tstate);
9908 if (PyErr_Occurred()) SWIG_fail;
9909 }
9910 resultobj = PyInt_FromLong((long)result);
9911 return resultobj;
9912 fail:
9913 return NULL;
9914 }
9915
9916
9917 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
9918 PyObject *resultobj;
9919 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9920 wxString *arg2 = 0 ;
9921 bool temp2 = False ;
9922 PyObject * obj0 = 0 ;
9923 PyObject * obj1 = 0 ;
9924 char *kwnames[] = {
9925 (char *) "self",(char *) "message", NULL
9926 };
9927
9928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
9929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9930 {
9931 arg2 = wxString_in_helper(obj1);
9932 if (arg2 == NULL) SWIG_fail;
9933 temp2 = True;
9934 }
9935 {
9936 PyThreadState* __tstate = wxPyBeginAllowThreads();
9937 (arg1)->SetMessage((wxString const &)*arg2);
9938
9939 wxPyEndAllowThreads(__tstate);
9940 if (PyErr_Occurred()) SWIG_fail;
9941 }
9942 Py_INCREF(Py_None); resultobj = Py_None;
9943 {
9944 if (temp2)
9945 delete arg2;
9946 }
9947 return resultobj;
9948 fail:
9949 {
9950 if (temp2)
9951 delete arg2;
9952 }
9953 return NULL;
9954 }
9955
9956
9957 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
9958 PyObject *resultobj;
9959 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9960 wxString *arg2 = 0 ;
9961 bool temp2 = False ;
9962 PyObject * obj0 = 0 ;
9963 PyObject * obj1 = 0 ;
9964 char *kwnames[] = {
9965 (char *) "self",(char *) "path", NULL
9966 };
9967
9968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
9969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9970 {
9971 arg2 = wxString_in_helper(obj1);
9972 if (arg2 == NULL) SWIG_fail;
9973 temp2 = True;
9974 }
9975 {
9976 PyThreadState* __tstate = wxPyBeginAllowThreads();
9977 (arg1)->SetPath((wxString const &)*arg2);
9978
9979 wxPyEndAllowThreads(__tstate);
9980 if (PyErr_Occurred()) SWIG_fail;
9981 }
9982 Py_INCREF(Py_None); resultobj = Py_None;
9983 {
9984 if (temp2)
9985 delete arg2;
9986 }
9987 return resultobj;
9988 fail:
9989 {
9990 if (temp2)
9991 delete arg2;
9992 }
9993 return NULL;
9994 }
9995
9996
9997 static PyObject *_wrap_DirDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
9998 PyObject *resultobj;
9999 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10000 int result;
10001 PyObject * obj0 = 0 ;
10002 char *kwnames[] = {
10003 (char *) "self", NULL
10004 };
10005
10006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_ShowModal",kwnames,&obj0)) goto fail;
10007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10008 {
10009 PyThreadState* __tstate = wxPyBeginAllowThreads();
10010 result = (int)(arg1)->ShowModal();
10011
10012 wxPyEndAllowThreads(__tstate);
10013 if (PyErr_Occurred()) SWIG_fail;
10014 }
10015 resultobj = PyInt_FromLong((long)result);
10016 return resultobj;
10017 fail:
10018 return NULL;
10019 }
10020
10021
10022 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
10023 PyObject *obj;
10024 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10025 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
10026 Py_INCREF(obj);
10027 return Py_BuildValue((char *)"");
10028 }
10029 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10030 PyObject *resultobj;
10031 wxWindow *arg1 = (wxWindow *) 0 ;
10032 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
10033 wxString *arg2 = (wxString *) &arg2_defvalue ;
10034 wxString const &arg3_defvalue = wxPyEmptyString ;
10035 wxString *arg3 = (wxString *) &arg3_defvalue ;
10036 wxString const &arg4_defvalue = wxPyEmptyString ;
10037 wxString *arg4 = (wxString *) &arg4_defvalue ;
10038 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
10039 wxString *arg5 = (wxString *) &arg5_defvalue ;
10040 long arg6 = (long) 0 ;
10041 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10042 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10043 wxFileDialog *result;
10044 bool temp2 = False ;
10045 bool temp3 = False ;
10046 bool temp4 = False ;
10047 bool temp5 = False ;
10048 wxPoint temp7 ;
10049 PyObject * obj0 = 0 ;
10050 PyObject * obj1 = 0 ;
10051 PyObject * obj2 = 0 ;
10052 PyObject * obj3 = 0 ;
10053 PyObject * obj4 = 0 ;
10054 PyObject * obj6 = 0 ;
10055 char *kwnames[] = {
10056 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
10057 };
10058
10059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOlO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
10060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10061 if (obj1) {
10062 {
10063 arg2 = wxString_in_helper(obj1);
10064 if (arg2 == NULL) SWIG_fail;
10065 temp2 = True;
10066 }
10067 }
10068 if (obj2) {
10069 {
10070 arg3 = wxString_in_helper(obj2);
10071 if (arg3 == NULL) SWIG_fail;
10072 temp3 = True;
10073 }
10074 }
10075 if (obj3) {
10076 {
10077 arg4 = wxString_in_helper(obj3);
10078 if (arg4 == NULL) SWIG_fail;
10079 temp4 = True;
10080 }
10081 }
10082 if (obj4) {
10083 {
10084 arg5 = wxString_in_helper(obj4);
10085 if (arg5 == NULL) SWIG_fail;
10086 temp5 = True;
10087 }
10088 }
10089 if (obj6) {
10090 {
10091 arg7 = &temp7;
10092 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10093 }
10094 }
10095 {
10096 PyThreadState* __tstate = wxPyBeginAllowThreads();
10097 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
10098
10099 wxPyEndAllowThreads(__tstate);
10100 if (PyErr_Occurred()) SWIG_fail;
10101 }
10102 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDialog, 1);
10103 {
10104 if (temp2)
10105 delete arg2;
10106 }
10107 {
10108 if (temp3)
10109 delete arg3;
10110 }
10111 {
10112 if (temp4)
10113 delete arg4;
10114 }
10115 {
10116 if (temp5)
10117 delete arg5;
10118 }
10119 return resultobj;
10120 fail:
10121 {
10122 if (temp2)
10123 delete arg2;
10124 }
10125 {
10126 if (temp3)
10127 delete arg3;
10128 }
10129 {
10130 if (temp4)
10131 delete arg4;
10132 }
10133 {
10134 if (temp5)
10135 delete arg5;
10136 }
10137 return NULL;
10138 }
10139
10140
10141 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10142 PyObject *resultobj;
10143 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10144 wxString *arg2 = 0 ;
10145 bool temp2 = False ;
10146 PyObject * obj0 = 0 ;
10147 PyObject * obj1 = 0 ;
10148 char *kwnames[] = {
10149 (char *) "self",(char *) "message", NULL
10150 };
10151
10152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
10153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10154 {
10155 arg2 = wxString_in_helper(obj1);
10156 if (arg2 == NULL) SWIG_fail;
10157 temp2 = True;
10158 }
10159 {
10160 PyThreadState* __tstate = wxPyBeginAllowThreads();
10161 (arg1)->SetMessage((wxString const &)*arg2);
10162
10163 wxPyEndAllowThreads(__tstate);
10164 if (PyErr_Occurred()) SWIG_fail;
10165 }
10166 Py_INCREF(Py_None); resultobj = Py_None;
10167 {
10168 if (temp2)
10169 delete arg2;
10170 }
10171 return resultobj;
10172 fail:
10173 {
10174 if (temp2)
10175 delete arg2;
10176 }
10177 return NULL;
10178 }
10179
10180
10181 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10182 PyObject *resultobj;
10183 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10184 wxString *arg2 = 0 ;
10185 bool temp2 = False ;
10186 PyObject * obj0 = 0 ;
10187 PyObject * obj1 = 0 ;
10188 char *kwnames[] = {
10189 (char *) "self",(char *) "path", NULL
10190 };
10191
10192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
10193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10194 {
10195 arg2 = wxString_in_helper(obj1);
10196 if (arg2 == NULL) SWIG_fail;
10197 temp2 = True;
10198 }
10199 {
10200 PyThreadState* __tstate = wxPyBeginAllowThreads();
10201 (arg1)->SetPath((wxString const &)*arg2);
10202
10203 wxPyEndAllowThreads(__tstate);
10204 if (PyErr_Occurred()) SWIG_fail;
10205 }
10206 Py_INCREF(Py_None); resultobj = Py_None;
10207 {
10208 if (temp2)
10209 delete arg2;
10210 }
10211 return resultobj;
10212 fail:
10213 {
10214 if (temp2)
10215 delete arg2;
10216 }
10217 return NULL;
10218 }
10219
10220
10221 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10222 PyObject *resultobj;
10223 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10224 wxString *arg2 = 0 ;
10225 bool temp2 = False ;
10226 PyObject * obj0 = 0 ;
10227 PyObject * obj1 = 0 ;
10228 char *kwnames[] = {
10229 (char *) "self",(char *) "dir", NULL
10230 };
10231
10232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
10233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10234 {
10235 arg2 = wxString_in_helper(obj1);
10236 if (arg2 == NULL) SWIG_fail;
10237 temp2 = True;
10238 }
10239 {
10240 PyThreadState* __tstate = wxPyBeginAllowThreads();
10241 (arg1)->SetDirectory((wxString const &)*arg2);
10242
10243 wxPyEndAllowThreads(__tstate);
10244 if (PyErr_Occurred()) SWIG_fail;
10245 }
10246 Py_INCREF(Py_None); resultobj = Py_None;
10247 {
10248 if (temp2)
10249 delete arg2;
10250 }
10251 return resultobj;
10252 fail:
10253 {
10254 if (temp2)
10255 delete arg2;
10256 }
10257 return NULL;
10258 }
10259
10260
10261 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10262 PyObject *resultobj;
10263 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10264 wxString *arg2 = 0 ;
10265 bool temp2 = False ;
10266 PyObject * obj0 = 0 ;
10267 PyObject * obj1 = 0 ;
10268 char *kwnames[] = {
10269 (char *) "self",(char *) "name", NULL
10270 };
10271
10272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
10273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10274 {
10275 arg2 = wxString_in_helper(obj1);
10276 if (arg2 == NULL) SWIG_fail;
10277 temp2 = True;
10278 }
10279 {
10280 PyThreadState* __tstate = wxPyBeginAllowThreads();
10281 (arg1)->SetFilename((wxString const &)*arg2);
10282
10283 wxPyEndAllowThreads(__tstate);
10284 if (PyErr_Occurred()) SWIG_fail;
10285 }
10286 Py_INCREF(Py_None); resultobj = Py_None;
10287 {
10288 if (temp2)
10289 delete arg2;
10290 }
10291 return resultobj;
10292 fail:
10293 {
10294 if (temp2)
10295 delete arg2;
10296 }
10297 return NULL;
10298 }
10299
10300
10301 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10302 PyObject *resultobj;
10303 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10304 wxString *arg2 = 0 ;
10305 bool temp2 = False ;
10306 PyObject * obj0 = 0 ;
10307 PyObject * obj1 = 0 ;
10308 char *kwnames[] = {
10309 (char *) "self",(char *) "wildCard", NULL
10310 };
10311
10312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
10313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10314 {
10315 arg2 = wxString_in_helper(obj1);
10316 if (arg2 == NULL) SWIG_fail;
10317 temp2 = True;
10318 }
10319 {
10320 PyThreadState* __tstate = wxPyBeginAllowThreads();
10321 (arg1)->SetWildcard((wxString const &)*arg2);
10322
10323 wxPyEndAllowThreads(__tstate);
10324 if (PyErr_Occurred()) SWIG_fail;
10325 }
10326 Py_INCREF(Py_None); resultobj = Py_None;
10327 {
10328 if (temp2)
10329 delete arg2;
10330 }
10331 return resultobj;
10332 fail:
10333 {
10334 if (temp2)
10335 delete arg2;
10336 }
10337 return NULL;
10338 }
10339
10340
10341 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10342 PyObject *resultobj;
10343 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10344 long arg2 ;
10345 PyObject * obj0 = 0 ;
10346 char *kwnames[] = {
10347 (char *) "self",(char *) "style", NULL
10348 };
10349
10350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:FileDialog_SetStyle",kwnames,&obj0,&arg2)) goto fail;
10351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10352 {
10353 PyThreadState* __tstate = wxPyBeginAllowThreads();
10354 (arg1)->SetStyle(arg2);
10355
10356 wxPyEndAllowThreads(__tstate);
10357 if (PyErr_Occurred()) SWIG_fail;
10358 }
10359 Py_INCREF(Py_None); resultobj = Py_None;
10360 return resultobj;
10361 fail:
10362 return NULL;
10363 }
10364
10365
10366 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10367 PyObject *resultobj;
10368 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10369 int arg2 ;
10370 PyObject * obj0 = 0 ;
10371 char *kwnames[] = {
10372 (char *) "self",(char *) "filterIndex", NULL
10373 };
10374
10375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileDialog_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
10376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10377 {
10378 PyThreadState* __tstate = wxPyBeginAllowThreads();
10379 (arg1)->SetFilterIndex(arg2);
10380
10381 wxPyEndAllowThreads(__tstate);
10382 if (PyErr_Occurred()) SWIG_fail;
10383 }
10384 Py_INCREF(Py_None); resultobj = Py_None;
10385 return resultobj;
10386 fail:
10387 return NULL;
10388 }
10389
10390
10391 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10392 PyObject *resultobj;
10393 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10394 wxString result;
10395 PyObject * obj0 = 0 ;
10396 char *kwnames[] = {
10397 (char *) "self", NULL
10398 };
10399
10400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
10401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10402 {
10403 PyThreadState* __tstate = wxPyBeginAllowThreads();
10404 result = ((wxFileDialog const *)arg1)->GetMessage();
10405
10406 wxPyEndAllowThreads(__tstate);
10407 if (PyErr_Occurred()) SWIG_fail;
10408 }
10409 {
10410 #if wxUSE_UNICODE
10411 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10412 #else
10413 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10414 #endif
10415 }
10416 return resultobj;
10417 fail:
10418 return NULL;
10419 }
10420
10421
10422 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10423 PyObject *resultobj;
10424 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10425 wxString result;
10426 PyObject * obj0 = 0 ;
10427 char *kwnames[] = {
10428 (char *) "self", NULL
10429 };
10430
10431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
10432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10433 {
10434 PyThreadState* __tstate = wxPyBeginAllowThreads();
10435 result = ((wxFileDialog const *)arg1)->GetPath();
10436
10437 wxPyEndAllowThreads(__tstate);
10438 if (PyErr_Occurred()) SWIG_fail;
10439 }
10440 {
10441 #if wxUSE_UNICODE
10442 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10443 #else
10444 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10445 #endif
10446 }
10447 return resultobj;
10448 fail:
10449 return NULL;
10450 }
10451
10452
10453 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10454 PyObject *resultobj;
10455 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10456 wxString result;
10457 PyObject * obj0 = 0 ;
10458 char *kwnames[] = {
10459 (char *) "self", NULL
10460 };
10461
10462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
10463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10464 {
10465 PyThreadState* __tstate = wxPyBeginAllowThreads();
10466 result = ((wxFileDialog const *)arg1)->GetDirectory();
10467
10468 wxPyEndAllowThreads(__tstate);
10469 if (PyErr_Occurred()) SWIG_fail;
10470 }
10471 {
10472 #if wxUSE_UNICODE
10473 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10474 #else
10475 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10476 #endif
10477 }
10478 return resultobj;
10479 fail:
10480 return NULL;
10481 }
10482
10483
10484 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10485 PyObject *resultobj;
10486 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10487 wxString result;
10488 PyObject * obj0 = 0 ;
10489 char *kwnames[] = {
10490 (char *) "self", NULL
10491 };
10492
10493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
10494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10495 {
10496 PyThreadState* __tstate = wxPyBeginAllowThreads();
10497 result = ((wxFileDialog const *)arg1)->GetFilename();
10498
10499 wxPyEndAllowThreads(__tstate);
10500 if (PyErr_Occurred()) SWIG_fail;
10501 }
10502 {
10503 #if wxUSE_UNICODE
10504 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10505 #else
10506 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10507 #endif
10508 }
10509 return resultobj;
10510 fail:
10511 return NULL;
10512 }
10513
10514
10515 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10516 PyObject *resultobj;
10517 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10518 wxString result;
10519 PyObject * obj0 = 0 ;
10520 char *kwnames[] = {
10521 (char *) "self", NULL
10522 };
10523
10524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
10525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10526 {
10527 PyThreadState* __tstate = wxPyBeginAllowThreads();
10528 result = ((wxFileDialog const *)arg1)->GetWildcard();
10529
10530 wxPyEndAllowThreads(__tstate);
10531 if (PyErr_Occurred()) SWIG_fail;
10532 }
10533 {
10534 #if wxUSE_UNICODE
10535 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10536 #else
10537 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10538 #endif
10539 }
10540 return resultobj;
10541 fail:
10542 return NULL;
10543 }
10544
10545
10546 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10547 PyObject *resultobj;
10548 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10549 long result;
10550 PyObject * obj0 = 0 ;
10551 char *kwnames[] = {
10552 (char *) "self", NULL
10553 };
10554
10555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
10556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10557 {
10558 PyThreadState* __tstate = wxPyBeginAllowThreads();
10559 result = (long)((wxFileDialog const *)arg1)->GetStyle();
10560
10561 wxPyEndAllowThreads(__tstate);
10562 if (PyErr_Occurred()) SWIG_fail;
10563 }
10564 resultobj = PyInt_FromLong((long)result);
10565 return resultobj;
10566 fail:
10567 return NULL;
10568 }
10569
10570
10571 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10572 PyObject *resultobj;
10573 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10574 int result;
10575 PyObject * obj0 = 0 ;
10576 char *kwnames[] = {
10577 (char *) "self", NULL
10578 };
10579
10580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
10581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10582 {
10583 PyThreadState* __tstate = wxPyBeginAllowThreads();
10584 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
10585
10586 wxPyEndAllowThreads(__tstate);
10587 if (PyErr_Occurred()) SWIG_fail;
10588 }
10589 resultobj = PyInt_FromLong((long)result);
10590 return resultobj;
10591 fail:
10592 return NULL;
10593 }
10594
10595
10596 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
10597 PyObject *resultobj;
10598 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10599 PyObject *result;
10600 PyObject * obj0 = 0 ;
10601 char *kwnames[] = {
10602 (char *) "self", NULL
10603 };
10604
10605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
10606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10607 {
10608 PyThreadState* __tstate = wxPyBeginAllowThreads();
10609 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
10610
10611 wxPyEndAllowThreads(__tstate);
10612 if (PyErr_Occurred()) SWIG_fail;
10613 }
10614 resultobj = result;
10615 return resultobj;
10616 fail:
10617 return NULL;
10618 }
10619
10620
10621 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
10622 PyObject *resultobj;
10623 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10624 PyObject *result;
10625 PyObject * obj0 = 0 ;
10626 char *kwnames[] = {
10627 (char *) "self", NULL
10628 };
10629
10630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
10631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10632 {
10633 PyThreadState* __tstate = wxPyBeginAllowThreads();
10634 result = (PyObject *)wxFileDialog_GetPaths(arg1);
10635
10636 wxPyEndAllowThreads(__tstate);
10637 if (PyErr_Occurred()) SWIG_fail;
10638 }
10639 resultobj = result;
10640 return resultobj;
10641 fail:
10642 return NULL;
10643 }
10644
10645
10646 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
10647 PyObject *obj;
10648 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10649 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
10650 Py_INCREF(obj);
10651 return Py_BuildValue((char *)"");
10652 }
10653 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10654 PyObject *resultobj;
10655 wxWindow *arg1 = (wxWindow *) 0 ;
10656 wxString *arg2 = 0 ;
10657 wxString *arg3 = 0 ;
10658 int arg4 ;
10659 wxString *arg5 = (wxString *) 0 ;
10660 long arg6 = (long) wxCHOICEDLG_STYLE ;
10661 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10662 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10663 wxMultiChoiceDialog *result;
10664 bool temp2 = False ;
10665 bool temp3 = False ;
10666 wxPoint temp7 ;
10667 PyObject * obj0 = 0 ;
10668 PyObject * obj1 = 0 ;
10669 PyObject * obj2 = 0 ;
10670 PyObject * obj4 = 0 ;
10671 PyObject * obj6 = 0 ;
10672 char *kwnames[] = {
10673 (char *) "parent",(char *) "message",(char *) "caption",(char *) "LCOUNT",(char *) "choices",(char *) "style",(char *) "pos", NULL
10674 };
10675
10676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiO|lO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&arg6,&obj6)) goto fail;
10677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10678 {
10679 arg2 = wxString_in_helper(obj1);
10680 if (arg2 == NULL) SWIG_fail;
10681 temp2 = True;
10682 }
10683 {
10684 arg3 = wxString_in_helper(obj2);
10685 if (arg3 == NULL) SWIG_fail;
10686 temp3 = True;
10687 }
10688 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10689 if (obj6) {
10690 {
10691 arg7 = &temp7;
10692 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10693 }
10694 }
10695 {
10696 PyThreadState* __tstate = wxPyBeginAllowThreads();
10697 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
10698
10699 wxPyEndAllowThreads(__tstate);
10700 if (PyErr_Occurred()) SWIG_fail;
10701 }
10702 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMultiChoiceDialog, 1);
10703 {
10704 if (temp2)
10705 delete arg2;
10706 }
10707 {
10708 if (temp3)
10709 delete arg3;
10710 }
10711 return resultobj;
10712 fail:
10713 {
10714 if (temp2)
10715 delete arg2;
10716 }
10717 {
10718 if (temp3)
10719 delete arg3;
10720 }
10721 return NULL;
10722 }
10723
10724
10725 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
10726 PyObject *resultobj;
10727 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
10728 wxArrayInt *arg2 = 0 ;
10729 PyObject * obj0 = 0 ;
10730 PyObject * obj1 = 0 ;
10731 char *kwnames[] = {
10732 (char *) "self",(char *) "selections", NULL
10733 };
10734
10735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
10736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10737 {
10738 if (! PySequence_Check(obj1)) {
10739 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10740 SWIG_fail;
10741 }
10742 arg2 = new wxArrayInt;
10743 int i, len=PySequence_Length(obj1);
10744 for (i=0; i<len; i++) {
10745 PyObject* item = PySequence_GetItem(obj1, i);
10746 PyObject* number = PyNumber_Int(item);
10747 arg2->Add(PyInt_AS_LONG(number));
10748 Py_DECREF(item);
10749 Py_DECREF(number);
10750 }
10751 }
10752 {
10753 PyThreadState* __tstate = wxPyBeginAllowThreads();
10754 (arg1)->SetSelections((wxArrayInt const &)*arg2);
10755
10756 wxPyEndAllowThreads(__tstate);
10757 if (PyErr_Occurred()) SWIG_fail;
10758 }
10759 Py_INCREF(Py_None); resultobj = Py_None;
10760 {
10761 if (arg2) delete arg2;
10762 }
10763 return resultobj;
10764 fail:
10765 {
10766 if (arg2) delete arg2;
10767 }
10768 return NULL;
10769 }
10770
10771
10772 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
10773 PyObject *resultobj;
10774 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
10775 PyObject *result;
10776 PyObject * obj0 = 0 ;
10777 char *kwnames[] = {
10778 (char *) "self", NULL
10779 };
10780
10781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
10782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10783 {
10784 PyThreadState* __tstate = wxPyBeginAllowThreads();
10785 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
10786
10787 wxPyEndAllowThreads(__tstate);
10788 if (PyErr_Occurred()) SWIG_fail;
10789 }
10790 resultobj = result;
10791 return resultobj;
10792 fail:
10793 return NULL;
10794 }
10795
10796
10797 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
10798 PyObject *obj;
10799 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10800 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
10801 Py_INCREF(obj);
10802 return Py_BuildValue((char *)"");
10803 }
10804 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10805 PyObject *resultobj;
10806 wxWindow *arg1 = (wxWindow *) 0 ;
10807 wxString *arg2 = 0 ;
10808 wxString *arg3 = 0 ;
10809 int arg4 ;
10810 wxString *arg5 = (wxString *) 0 ;
10811 long arg6 = (long) wxCHOICEDLG_STYLE ;
10812 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10813 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10814 wxSingleChoiceDialog *result;
10815 bool temp2 = False ;
10816 bool temp3 = False ;
10817 wxPoint temp6 ;
10818 PyObject * obj0 = 0 ;
10819 PyObject * obj1 = 0 ;
10820 PyObject * obj2 = 0 ;
10821 PyObject * obj3 = 0 ;
10822 PyObject * obj5 = 0 ;
10823 char *kwnames[] = {
10824 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
10825 };
10826
10827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|lO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&obj5)) goto fail;
10828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10829 {
10830 arg2 = wxString_in_helper(obj1);
10831 if (arg2 == NULL) SWIG_fail;
10832 temp2 = True;
10833 }
10834 {
10835 arg3 = wxString_in_helper(obj2);
10836 if (arg3 == NULL) SWIG_fail;
10837 temp3 = True;
10838 }
10839 {
10840 arg4 = PyList_Size(obj3);
10841 arg5 = wxString_LIST_helper(obj3);
10842 if (arg5 == NULL) SWIG_fail;
10843 }
10844 if (obj5) {
10845 {
10846 arg7 = &temp6;
10847 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
10848 }
10849 }
10850 {
10851 PyThreadState* __tstate = wxPyBeginAllowThreads();
10852 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
10853
10854 wxPyEndAllowThreads(__tstate);
10855 if (PyErr_Occurred()) SWIG_fail;
10856 }
10857 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleChoiceDialog, 1);
10858 {
10859 if (temp2)
10860 delete arg2;
10861 }
10862 {
10863 if (temp3)
10864 delete arg3;
10865 }
10866 {
10867 if (arg5) delete [] arg5;
10868 }
10869 return resultobj;
10870 fail:
10871 {
10872 if (temp2)
10873 delete arg2;
10874 }
10875 {
10876 if (temp3)
10877 delete arg3;
10878 }
10879 {
10880 if (arg5) delete [] arg5;
10881 }
10882 return NULL;
10883 }
10884
10885
10886 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10887 PyObject *resultobj;
10888 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
10889 int result;
10890 PyObject * obj0 = 0 ;
10891 char *kwnames[] = {
10892 (char *) "self", NULL
10893 };
10894
10895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
10896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10897 {
10898 PyThreadState* __tstate = wxPyBeginAllowThreads();
10899 result = (int)(arg1)->GetSelection();
10900
10901 wxPyEndAllowThreads(__tstate);
10902 if (PyErr_Occurred()) SWIG_fail;
10903 }
10904 resultobj = PyInt_FromLong((long)result);
10905 return resultobj;
10906 fail:
10907 return NULL;
10908 }
10909
10910
10911 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10912 PyObject *resultobj;
10913 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
10914 wxString result;
10915 PyObject * obj0 = 0 ;
10916 char *kwnames[] = {
10917 (char *) "self", NULL
10918 };
10919
10920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
10921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10922 {
10923 PyThreadState* __tstate = wxPyBeginAllowThreads();
10924 result = (arg1)->GetStringSelection();
10925
10926 wxPyEndAllowThreads(__tstate);
10927 if (PyErr_Occurred()) SWIG_fail;
10928 }
10929 {
10930 #if wxUSE_UNICODE
10931 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10932 #else
10933 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10934 #endif
10935 }
10936 return resultobj;
10937 fail:
10938 return NULL;
10939 }
10940
10941
10942 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10943 PyObject *resultobj;
10944 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
10945 int arg2 ;
10946 PyObject * obj0 = 0 ;
10947 char *kwnames[] = {
10948 (char *) "self",(char *) "sel", NULL
10949 };
10950
10951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SingleChoiceDialog_SetSelection",kwnames,&obj0,&arg2)) goto fail;
10952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10953 {
10954 PyThreadState* __tstate = wxPyBeginAllowThreads();
10955 (arg1)->SetSelection(arg2);
10956
10957 wxPyEndAllowThreads(__tstate);
10958 if (PyErr_Occurred()) SWIG_fail;
10959 }
10960 Py_INCREF(Py_None); resultobj = Py_None;
10961 return resultobj;
10962 fail:
10963 return NULL;
10964 }
10965
10966
10967 static PyObject *_wrap_SingleChoiceDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
10968 PyObject *resultobj;
10969 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
10970 int result;
10971 PyObject * obj0 = 0 ;
10972 char *kwnames[] = {
10973 (char *) "self", NULL
10974 };
10975
10976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_ShowModal",kwnames,&obj0)) goto fail;
10977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10978 {
10979 PyThreadState* __tstate = wxPyBeginAllowThreads();
10980 result = (int)(arg1)->ShowModal();
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 * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
10993 PyObject *obj;
10994 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10995 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
10996 Py_INCREF(obj);
10997 return Py_BuildValue((char *)"");
10998 }
10999 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11000 PyObject *resultobj;
11001 wxWindow *arg1 = (wxWindow *) 0 ;
11002 wxString *arg2 = 0 ;
11003 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
11004 wxString *arg3 = (wxString *) &arg3_defvalue ;
11005 wxString const &arg4_defvalue = wxPyEmptyString ;
11006 wxString *arg4 = (wxString *) &arg4_defvalue ;
11007 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
11008 wxPoint const &arg6_defvalue = wxDefaultPosition ;
11009 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
11010 wxTextEntryDialog *result;
11011 bool temp2 = False ;
11012 bool temp3 = False ;
11013 bool temp4 = False ;
11014 wxPoint temp6 ;
11015 PyObject * obj0 = 0 ;
11016 PyObject * obj1 = 0 ;
11017 PyObject * obj2 = 0 ;
11018 PyObject * obj3 = 0 ;
11019 PyObject * obj5 = 0 ;
11020 char *kwnames[] = {
11021 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
11022 };
11023
11024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
11025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11026 {
11027 arg2 = wxString_in_helper(obj1);
11028 if (arg2 == NULL) SWIG_fail;
11029 temp2 = True;
11030 }
11031 if (obj2) {
11032 {
11033 arg3 = wxString_in_helper(obj2);
11034 if (arg3 == NULL) SWIG_fail;
11035 temp3 = True;
11036 }
11037 }
11038 if (obj3) {
11039 {
11040 arg4 = wxString_in_helper(obj3);
11041 if (arg4 == NULL) SWIG_fail;
11042 temp4 = True;
11043 }
11044 }
11045 if (obj5) {
11046 {
11047 arg6 = &temp6;
11048 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
11049 }
11050 }
11051 {
11052 PyThreadState* __tstate = wxPyBeginAllowThreads();
11053 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
11054
11055 wxPyEndAllowThreads(__tstate);
11056 if (PyErr_Occurred()) SWIG_fail;
11057 }
11058 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextEntryDialog, 1);
11059 {
11060 if (temp2)
11061 delete arg2;
11062 }
11063 {
11064 if (temp3)
11065 delete arg3;
11066 }
11067 {
11068 if (temp4)
11069 delete arg4;
11070 }
11071 return resultobj;
11072 fail:
11073 {
11074 if (temp2)
11075 delete arg2;
11076 }
11077 {
11078 if (temp3)
11079 delete arg3;
11080 }
11081 {
11082 if (temp4)
11083 delete arg4;
11084 }
11085 return NULL;
11086 }
11087
11088
11089 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11090 PyObject *resultobj;
11091 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11092 wxString result;
11093 PyObject * obj0 = 0 ;
11094 char *kwnames[] = {
11095 (char *) "self", NULL
11096 };
11097
11098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
11099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11100 {
11101 PyThreadState* __tstate = wxPyBeginAllowThreads();
11102 result = (arg1)->GetValue();
11103
11104 wxPyEndAllowThreads(__tstate);
11105 if (PyErr_Occurred()) SWIG_fail;
11106 }
11107 {
11108 #if wxUSE_UNICODE
11109 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11110 #else
11111 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11112 #endif
11113 }
11114 return resultobj;
11115 fail:
11116 return NULL;
11117 }
11118
11119
11120 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11121 PyObject *resultobj;
11122 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11123 wxString *arg2 = 0 ;
11124 bool temp2 = False ;
11125 PyObject * obj0 = 0 ;
11126 PyObject * obj1 = 0 ;
11127 char *kwnames[] = {
11128 (char *) "self",(char *) "value", NULL
11129 };
11130
11131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
11132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11133 {
11134 arg2 = wxString_in_helper(obj1);
11135 if (arg2 == NULL) SWIG_fail;
11136 temp2 = True;
11137 }
11138 {
11139 PyThreadState* __tstate = wxPyBeginAllowThreads();
11140 (arg1)->SetValue((wxString const &)*arg2);
11141
11142 wxPyEndAllowThreads(__tstate);
11143 if (PyErr_Occurred()) SWIG_fail;
11144 }
11145 Py_INCREF(Py_None); resultobj = Py_None;
11146 {
11147 if (temp2)
11148 delete arg2;
11149 }
11150 return resultobj;
11151 fail:
11152 {
11153 if (temp2)
11154 delete arg2;
11155 }
11156 return NULL;
11157 }
11158
11159
11160 static PyObject *_wrap_TextEntryDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11161 PyObject *resultobj;
11162 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11163 int result;
11164 PyObject * obj0 = 0 ;
11165 char *kwnames[] = {
11166 (char *) "self", NULL
11167 };
11168
11169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_ShowModal",kwnames,&obj0)) goto fail;
11170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11171 {
11172 PyThreadState* __tstate = wxPyBeginAllowThreads();
11173 result = (int)(arg1)->ShowModal();
11174
11175 wxPyEndAllowThreads(__tstate);
11176 if (PyErr_Occurred()) SWIG_fail;
11177 }
11178 resultobj = PyInt_FromLong((long)result);
11179 return resultobj;
11180 fail:
11181 return NULL;
11182 }
11183
11184
11185 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
11186 PyObject *obj;
11187 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11188 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
11189 Py_INCREF(obj);
11190 return Py_BuildValue((char *)"");
11191 }
11192 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11193 PyObject *resultobj;
11194 wxFontData *result;
11195 char *kwnames[] = {
11196 NULL
11197 };
11198
11199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
11200 {
11201 PyThreadState* __tstate = wxPyBeginAllowThreads();
11202 result = (wxFontData *)new wxFontData();
11203
11204 wxPyEndAllowThreads(__tstate);
11205 if (PyErr_Occurred()) SWIG_fail;
11206 }
11207 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 1);
11208 return resultobj;
11209 fail:
11210 return NULL;
11211 }
11212
11213
11214 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11215 PyObject *resultobj;
11216 wxFontData *arg1 = (wxFontData *) 0 ;
11217 PyObject * obj0 = 0 ;
11218 char *kwnames[] = {
11219 (char *) "self", NULL
11220 };
11221
11222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
11223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11224 {
11225 PyThreadState* __tstate = wxPyBeginAllowThreads();
11226 delete arg1;
11227
11228 wxPyEndAllowThreads(__tstate);
11229 if (PyErr_Occurred()) SWIG_fail;
11230 }
11231 Py_INCREF(Py_None); resultobj = Py_None;
11232 return resultobj;
11233 fail:
11234 return NULL;
11235 }
11236
11237
11238 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11239 PyObject *resultobj;
11240 wxFontData *arg1 = (wxFontData *) 0 ;
11241 bool arg2 ;
11242 PyObject * obj0 = 0 ;
11243 PyObject * obj1 = 0 ;
11244 char *kwnames[] = {
11245 (char *) "self",(char *) "enable", NULL
11246 };
11247
11248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
11249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11250 arg2 = PyInt_AsLong(obj1) ? true : false;
11251 if (PyErr_Occurred()) SWIG_fail;
11252 {
11253 PyThreadState* __tstate = wxPyBeginAllowThreads();
11254 (arg1)->EnableEffects(arg2);
11255
11256 wxPyEndAllowThreads(__tstate);
11257 if (PyErr_Occurred()) SWIG_fail;
11258 }
11259 Py_INCREF(Py_None); resultobj = Py_None;
11260 return resultobj;
11261 fail:
11262 return NULL;
11263 }
11264
11265
11266 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11267 PyObject *resultobj;
11268 wxFontData *arg1 = (wxFontData *) 0 ;
11269 bool result;
11270 PyObject * obj0 = 0 ;
11271 char *kwnames[] = {
11272 (char *) "self", NULL
11273 };
11274
11275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
11276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11277 {
11278 PyThreadState* __tstate = wxPyBeginAllowThreads();
11279 result = (bool)(arg1)->GetAllowSymbols();
11280
11281 wxPyEndAllowThreads(__tstate);
11282 if (PyErr_Occurred()) SWIG_fail;
11283 }
11284 resultobj = PyInt_FromLong((long)result);
11285 return resultobj;
11286 fail:
11287 return NULL;
11288 }
11289
11290
11291 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11292 PyObject *resultobj;
11293 wxFontData *arg1 = (wxFontData *) 0 ;
11294 wxColour result;
11295 PyObject * obj0 = 0 ;
11296 char *kwnames[] = {
11297 (char *) "self", NULL
11298 };
11299
11300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
11301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11302 {
11303 PyThreadState* __tstate = wxPyBeginAllowThreads();
11304 result = (arg1)->GetColour();
11305
11306 wxPyEndAllowThreads(__tstate);
11307 if (PyErr_Occurred()) SWIG_fail;
11308 }
11309 {
11310 wxColour * resultptr;
11311 resultptr = new wxColour((wxColour &) result);
11312 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
11313 }
11314 return resultobj;
11315 fail:
11316 return NULL;
11317 }
11318
11319
11320 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11321 PyObject *resultobj;
11322 wxFontData *arg1 = (wxFontData *) 0 ;
11323 wxFont result;
11324 PyObject * obj0 = 0 ;
11325 char *kwnames[] = {
11326 (char *) "self", NULL
11327 };
11328
11329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
11330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11331 {
11332 PyThreadState* __tstate = wxPyBeginAllowThreads();
11333 result = (arg1)->GetChosenFont();
11334
11335 wxPyEndAllowThreads(__tstate);
11336 if (PyErr_Occurred()) SWIG_fail;
11337 }
11338 {
11339 wxFont * resultptr;
11340 resultptr = new wxFont((wxFont &) result);
11341 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11342 }
11343 return resultobj;
11344 fail:
11345 return NULL;
11346 }
11347
11348
11349 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11350 PyObject *resultobj;
11351 wxFontData *arg1 = (wxFontData *) 0 ;
11352 bool result;
11353 PyObject * obj0 = 0 ;
11354 char *kwnames[] = {
11355 (char *) "self", NULL
11356 };
11357
11358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
11359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11360 {
11361 PyThreadState* __tstate = wxPyBeginAllowThreads();
11362 result = (bool)(arg1)->GetEnableEffects();
11363
11364 wxPyEndAllowThreads(__tstate);
11365 if (PyErr_Occurred()) SWIG_fail;
11366 }
11367 resultobj = PyInt_FromLong((long)result);
11368 return resultobj;
11369 fail:
11370 return NULL;
11371 }
11372
11373
11374 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11375 PyObject *resultobj;
11376 wxFontData *arg1 = (wxFontData *) 0 ;
11377 wxFont result;
11378 PyObject * obj0 = 0 ;
11379 char *kwnames[] = {
11380 (char *) "self", NULL
11381 };
11382
11383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
11384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11385 {
11386 PyThreadState* __tstate = wxPyBeginAllowThreads();
11387 result = (arg1)->GetInitialFont();
11388
11389 wxPyEndAllowThreads(__tstate);
11390 if (PyErr_Occurred()) SWIG_fail;
11391 }
11392 {
11393 wxFont * resultptr;
11394 resultptr = new wxFont((wxFont &) result);
11395 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11396 }
11397 return resultobj;
11398 fail:
11399 return NULL;
11400 }
11401
11402
11403 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11404 PyObject *resultobj;
11405 wxFontData *arg1 = (wxFontData *) 0 ;
11406 bool result;
11407 PyObject * obj0 = 0 ;
11408 char *kwnames[] = {
11409 (char *) "self", NULL
11410 };
11411
11412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
11413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11414 {
11415 PyThreadState* __tstate = wxPyBeginAllowThreads();
11416 result = (bool)(arg1)->GetShowHelp();
11417
11418 wxPyEndAllowThreads(__tstate);
11419 if (PyErr_Occurred()) SWIG_fail;
11420 }
11421 resultobj = PyInt_FromLong((long)result);
11422 return resultobj;
11423 fail:
11424 return NULL;
11425 }
11426
11427
11428 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11429 PyObject *resultobj;
11430 wxFontData *arg1 = (wxFontData *) 0 ;
11431 bool arg2 ;
11432 PyObject * obj0 = 0 ;
11433 PyObject * obj1 = 0 ;
11434 char *kwnames[] = {
11435 (char *) "self",(char *) "allowSymbols", NULL
11436 };
11437
11438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
11439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11440 arg2 = PyInt_AsLong(obj1) ? true : false;
11441 if (PyErr_Occurred()) SWIG_fail;
11442 {
11443 PyThreadState* __tstate = wxPyBeginAllowThreads();
11444 (arg1)->SetAllowSymbols(arg2);
11445
11446 wxPyEndAllowThreads(__tstate);
11447 if (PyErr_Occurred()) SWIG_fail;
11448 }
11449 Py_INCREF(Py_None); resultobj = Py_None;
11450 return resultobj;
11451 fail:
11452 return NULL;
11453 }
11454
11455
11456 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11457 PyObject *resultobj;
11458 wxFontData *arg1 = (wxFontData *) 0 ;
11459 wxFont *arg2 = 0 ;
11460 PyObject * obj0 = 0 ;
11461 PyObject * obj1 = 0 ;
11462 char *kwnames[] = {
11463 (char *) "self",(char *) "font", NULL
11464 };
11465
11466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
11467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11468 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11469 if (arg2 == NULL) {
11470 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11471 }
11472 {
11473 PyThreadState* __tstate = wxPyBeginAllowThreads();
11474 (arg1)->SetChosenFont((wxFont const &)*arg2);
11475
11476 wxPyEndAllowThreads(__tstate);
11477 if (PyErr_Occurred()) SWIG_fail;
11478 }
11479 Py_INCREF(Py_None); resultobj = Py_None;
11480 return resultobj;
11481 fail:
11482 return NULL;
11483 }
11484
11485
11486 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11487 PyObject *resultobj;
11488 wxFontData *arg1 = (wxFontData *) 0 ;
11489 wxColour *arg2 = 0 ;
11490 wxColour temp2 ;
11491 PyObject * obj0 = 0 ;
11492 PyObject * obj1 = 0 ;
11493 char *kwnames[] = {
11494 (char *) "self",(char *) "colour", NULL
11495 };
11496
11497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11499 {
11500 arg2 = &temp2;
11501 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11502 }
11503 {
11504 PyThreadState* __tstate = wxPyBeginAllowThreads();
11505 (arg1)->SetColour((wxColour const &)*arg2);
11506
11507 wxPyEndAllowThreads(__tstate);
11508 if (PyErr_Occurred()) SWIG_fail;
11509 }
11510 Py_INCREF(Py_None); resultobj = Py_None;
11511 return resultobj;
11512 fail:
11513 return NULL;
11514 }
11515
11516
11517 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11518 PyObject *resultobj;
11519 wxFontData *arg1 = (wxFontData *) 0 ;
11520 wxFont *arg2 = 0 ;
11521 PyObject * obj0 = 0 ;
11522 PyObject * obj1 = 0 ;
11523 char *kwnames[] = {
11524 (char *) "self",(char *) "font", NULL
11525 };
11526
11527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
11528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11529 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11530 if (arg2 == NULL) {
11531 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11532 }
11533 {
11534 PyThreadState* __tstate = wxPyBeginAllowThreads();
11535 (arg1)->SetInitialFont((wxFont const &)*arg2);
11536
11537 wxPyEndAllowThreads(__tstate);
11538 if (PyErr_Occurred()) SWIG_fail;
11539 }
11540 Py_INCREF(Py_None); resultobj = Py_None;
11541 return resultobj;
11542 fail:
11543 return NULL;
11544 }
11545
11546
11547 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11548 PyObject *resultobj;
11549 wxFontData *arg1 = (wxFontData *) 0 ;
11550 int arg2 ;
11551 int arg3 ;
11552 PyObject * obj0 = 0 ;
11553 char *kwnames[] = {
11554 (char *) "self",(char *) "min",(char *) "max", NULL
11555 };
11556
11557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:FontData_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
11558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11559 {
11560 PyThreadState* __tstate = wxPyBeginAllowThreads();
11561 (arg1)->SetRange(arg2,arg3);
11562
11563 wxPyEndAllowThreads(__tstate);
11564 if (PyErr_Occurred()) SWIG_fail;
11565 }
11566 Py_INCREF(Py_None); resultobj = Py_None;
11567 return resultobj;
11568 fail:
11569 return NULL;
11570 }
11571
11572
11573 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11574 PyObject *resultobj;
11575 wxFontData *arg1 = (wxFontData *) 0 ;
11576 bool arg2 ;
11577 PyObject * obj0 = 0 ;
11578 PyObject * obj1 = 0 ;
11579 char *kwnames[] = {
11580 (char *) "self",(char *) "showHelp", NULL
11581 };
11582
11583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
11584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11585 arg2 = PyInt_AsLong(obj1) ? true : false;
11586 if (PyErr_Occurred()) SWIG_fail;
11587 {
11588 PyThreadState* __tstate = wxPyBeginAllowThreads();
11589 (arg1)->SetShowHelp(arg2);
11590
11591 wxPyEndAllowThreads(__tstate);
11592 if (PyErr_Occurred()) SWIG_fail;
11593 }
11594 Py_INCREF(Py_None); resultobj = Py_None;
11595 return resultobj;
11596 fail:
11597 return NULL;
11598 }
11599
11600
11601 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
11602 PyObject *obj;
11603 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11604 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
11605 Py_INCREF(obj);
11606 return Py_BuildValue((char *)"");
11607 }
11608 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11609 PyObject *resultobj;
11610 wxWindow *arg1 = (wxWindow *) 0 ;
11611 wxFontData *arg2 = 0 ;
11612 wxFontDialog *result;
11613 PyObject * obj0 = 0 ;
11614 PyObject * obj1 = 0 ;
11615 char *kwnames[] = {
11616 (char *) "parent",(char *) "data", NULL
11617 };
11618
11619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
11620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11621 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11622 if (arg2 == NULL) {
11623 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11624 }
11625 {
11626 PyThreadState* __tstate = wxPyBeginAllowThreads();
11627 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
11628
11629 wxPyEndAllowThreads(__tstate);
11630 if (PyErr_Occurred()) SWIG_fail;
11631 }
11632 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontDialog, 1);
11633 return resultobj;
11634 fail:
11635 return NULL;
11636 }
11637
11638
11639 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11640 PyObject *resultobj;
11641 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
11642 wxFontData *result;
11643 PyObject * obj0 = 0 ;
11644 char *kwnames[] = {
11645 (char *) "self", NULL
11646 };
11647
11648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
11649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11650 {
11651 PyThreadState* __tstate = wxPyBeginAllowThreads();
11652 {
11653 wxFontData &_result_ref = (arg1)->GetFontData();
11654 result = (wxFontData *) &_result_ref;
11655 }
11656
11657 wxPyEndAllowThreads(__tstate);
11658 if (PyErr_Occurred()) SWIG_fail;
11659 }
11660 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 0);
11661 return resultobj;
11662 fail:
11663 return NULL;
11664 }
11665
11666
11667 static PyObject *_wrap_FontDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11668 PyObject *resultobj;
11669 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
11670 int result;
11671 PyObject * obj0 = 0 ;
11672 char *kwnames[] = {
11673 (char *) "self", NULL
11674 };
11675
11676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_ShowModal",kwnames,&obj0)) goto fail;
11677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11678 {
11679 PyThreadState* __tstate = wxPyBeginAllowThreads();
11680 result = (int)(arg1)->ShowModal();
11681
11682 wxPyEndAllowThreads(__tstate);
11683 if (PyErr_Occurred()) SWIG_fail;
11684 }
11685 resultobj = PyInt_FromLong((long)result);
11686 return resultobj;
11687 fail:
11688 return NULL;
11689 }
11690
11691
11692 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
11693 PyObject *obj;
11694 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11695 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
11696 Py_INCREF(obj);
11697 return Py_BuildValue((char *)"");
11698 }
11699 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11700 PyObject *resultobj;
11701 wxWindow *arg1 = (wxWindow *) 0 ;
11702 wxString *arg2 = 0 ;
11703 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
11704 wxString *arg3 = (wxString *) &arg3_defvalue ;
11705 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
11706 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11707 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11708 wxMessageDialog *result;
11709 bool temp2 = False ;
11710 bool temp3 = False ;
11711 wxPoint temp5 ;
11712 PyObject * obj0 = 0 ;
11713 PyObject * obj1 = 0 ;
11714 PyObject * obj2 = 0 ;
11715 PyObject * obj4 = 0 ;
11716 char *kwnames[] = {
11717 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
11718 };
11719
11720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OlO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4)) goto fail;
11721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11722 {
11723 arg2 = wxString_in_helper(obj1);
11724 if (arg2 == NULL) SWIG_fail;
11725 temp2 = True;
11726 }
11727 if (obj2) {
11728 {
11729 arg3 = wxString_in_helper(obj2);
11730 if (arg3 == NULL) SWIG_fail;
11731 temp3 = True;
11732 }
11733 }
11734 if (obj4) {
11735 {
11736 arg5 = &temp5;
11737 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11738 }
11739 }
11740 {
11741 PyThreadState* __tstate = wxPyBeginAllowThreads();
11742 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
11743
11744 wxPyEndAllowThreads(__tstate);
11745 if (PyErr_Occurred()) SWIG_fail;
11746 }
11747 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMessageDialog, 1);
11748 {
11749 if (temp2)
11750 delete arg2;
11751 }
11752 {
11753 if (temp3)
11754 delete arg3;
11755 }
11756 return resultobj;
11757 fail:
11758 {
11759 if (temp2)
11760 delete arg2;
11761 }
11762 {
11763 if (temp3)
11764 delete arg3;
11765 }
11766 return NULL;
11767 }
11768
11769
11770 static PyObject *_wrap_MessageDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11771 PyObject *resultobj;
11772 wxMessageDialog *arg1 = (wxMessageDialog *) 0 ;
11773 int result;
11774 PyObject * obj0 = 0 ;
11775 char *kwnames[] = {
11776 (char *) "self", NULL
11777 };
11778
11779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MessageDialog_ShowModal",kwnames,&obj0)) goto fail;
11780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMessageDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11781 {
11782 PyThreadState* __tstate = wxPyBeginAllowThreads();
11783 result = (int)(arg1)->ShowModal();
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 * MessageDialog_swigregister(PyObject *self, PyObject *args) {
11796 PyObject *obj;
11797 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11798 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
11799 Py_INCREF(obj);
11800 return Py_BuildValue((char *)"");
11801 }
11802 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11803 PyObject *resultobj;
11804 wxString *arg1 = 0 ;
11805 wxString *arg2 = 0 ;
11806 int arg3 = (int) 100 ;
11807 wxWindow *arg4 = (wxWindow *) NULL ;
11808 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
11809 wxProgressDialog *result;
11810 bool temp1 = False ;
11811 bool temp2 = False ;
11812 PyObject * obj0 = 0 ;
11813 PyObject * obj1 = 0 ;
11814 PyObject * obj3 = 0 ;
11815 char *kwnames[] = {
11816 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
11817 };
11818
11819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOi:new_ProgressDialog",kwnames,&obj0,&obj1,&arg3,&obj3,&arg5)) goto fail;
11820 {
11821 arg1 = wxString_in_helper(obj0);
11822 if (arg1 == NULL) SWIG_fail;
11823 temp1 = True;
11824 }
11825 {
11826 arg2 = wxString_in_helper(obj1);
11827 if (arg2 == NULL) SWIG_fail;
11828 temp2 = True;
11829 }
11830 if (obj3) {
11831 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11832 }
11833 {
11834 PyThreadState* __tstate = wxPyBeginAllowThreads();
11835 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
11836
11837 wxPyEndAllowThreads(__tstate);
11838 if (PyErr_Occurred()) SWIG_fail;
11839 }
11840 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProgressDialog, 1);
11841 {
11842 if (temp1)
11843 delete arg1;
11844 }
11845 {
11846 if (temp2)
11847 delete arg2;
11848 }
11849 return resultobj;
11850 fail:
11851 {
11852 if (temp1)
11853 delete arg1;
11854 }
11855 {
11856 if (temp2)
11857 delete arg2;
11858 }
11859 return NULL;
11860 }
11861
11862
11863 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
11864 PyObject *resultobj;
11865 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
11866 int arg2 ;
11867 wxString const &arg3_defvalue = wxPyEmptyString ;
11868 wxString *arg3 = (wxString *) &arg3_defvalue ;
11869 bool result;
11870 bool temp3 = False ;
11871 PyObject * obj0 = 0 ;
11872 PyObject * obj2 = 0 ;
11873 char *kwnames[] = {
11874 (char *) "self",(char *) "value",(char *) "newmsg", NULL
11875 };
11876
11877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ProgressDialog_Update",kwnames,&obj0,&arg2,&obj2)) goto fail;
11878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11879 if (obj2) {
11880 {
11881 arg3 = wxString_in_helper(obj2);
11882 if (arg3 == NULL) SWIG_fail;
11883 temp3 = True;
11884 }
11885 }
11886 {
11887 PyThreadState* __tstate = wxPyBeginAllowThreads();
11888 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
11889
11890 wxPyEndAllowThreads(__tstate);
11891 if (PyErr_Occurred()) SWIG_fail;
11892 }
11893 resultobj = PyInt_FromLong((long)result);
11894 {
11895 if (temp3)
11896 delete arg3;
11897 }
11898 return resultobj;
11899 fail:
11900 {
11901 if (temp3)
11902 delete arg3;
11903 }
11904 return NULL;
11905 }
11906
11907
11908 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
11909 PyObject *resultobj;
11910 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
11911 PyObject * obj0 = 0 ;
11912 char *kwnames[] = {
11913 (char *) "self", NULL
11914 };
11915
11916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
11917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11918 {
11919 PyThreadState* __tstate = wxPyBeginAllowThreads();
11920 (arg1)->Resume();
11921
11922 wxPyEndAllowThreads(__tstate);
11923 if (PyErr_Occurred()) SWIG_fail;
11924 }
11925 Py_INCREF(Py_None); resultobj = Py_None;
11926 return resultobj;
11927 fail:
11928 return NULL;
11929 }
11930
11931
11932 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
11933 PyObject *obj;
11934 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11935 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
11936 Py_INCREF(obj);
11937 return Py_BuildValue((char *)"");
11938 }
11939 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11940 PyObject *resultobj;
11941 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11942 int arg2 = (int) 0 ;
11943 wxFindDialogEvent *result;
11944 char *kwnames[] = {
11945 (char *) "commandType",(char *) "id", NULL
11946 };
11947
11948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_FindDialogEvent",kwnames,&arg1,&arg2)) goto fail;
11949 {
11950 PyThreadState* __tstate = wxPyBeginAllowThreads();
11951 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
11952
11953 wxPyEndAllowThreads(__tstate);
11954 if (PyErr_Occurred()) SWIG_fail;
11955 }
11956 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindDialogEvent, 1);
11957 return resultobj;
11958 fail:
11959 return NULL;
11960 }
11961
11962
11963 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
11964 PyObject *resultobj;
11965 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
11966 int result;
11967 PyObject * obj0 = 0 ;
11968 char *kwnames[] = {
11969 (char *) "self", NULL
11970 };
11971
11972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
11973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11974 {
11975 PyThreadState* __tstate = wxPyBeginAllowThreads();
11976 result = (int)(arg1)->GetFlags();
11977
11978 wxPyEndAllowThreads(__tstate);
11979 if (PyErr_Occurred()) SWIG_fail;
11980 }
11981 resultobj = PyInt_FromLong((long)result);
11982 return resultobj;
11983 fail:
11984 return NULL;
11985 }
11986
11987
11988 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
11989 PyObject *resultobj;
11990 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
11991 wxString *result;
11992 PyObject * obj0 = 0 ;
11993 char *kwnames[] = {
11994 (char *) "self", NULL
11995 };
11996
11997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
11998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11999 {
12000 PyThreadState* __tstate = wxPyBeginAllowThreads();
12001 {
12002 wxString const &_result_ref = (arg1)->GetFindString();
12003 result = (wxString *) &_result_ref;
12004 }
12005
12006 wxPyEndAllowThreads(__tstate);
12007 if (PyErr_Occurred()) SWIG_fail;
12008 }
12009 {
12010 #if wxUSE_UNICODE
12011 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12012 #else
12013 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12014 #endif
12015 }
12016 return resultobj;
12017 fail:
12018 return NULL;
12019 }
12020
12021
12022 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12023 PyObject *resultobj;
12024 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12025 wxString *result;
12026 PyObject * obj0 = 0 ;
12027 char *kwnames[] = {
12028 (char *) "self", NULL
12029 };
12030
12031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
12032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12033 {
12034 PyThreadState* __tstate = wxPyBeginAllowThreads();
12035 {
12036 wxString const &_result_ref = (arg1)->GetReplaceString();
12037 result = (wxString *) &_result_ref;
12038 }
12039
12040 wxPyEndAllowThreads(__tstate);
12041 if (PyErr_Occurred()) SWIG_fail;
12042 }
12043 {
12044 #if wxUSE_UNICODE
12045 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12046 #else
12047 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12048 #endif
12049 }
12050 return resultobj;
12051 fail:
12052 return NULL;
12053 }
12054
12055
12056 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12057 PyObject *resultobj;
12058 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12059 wxFindReplaceDialog *result;
12060 PyObject * obj0 = 0 ;
12061 char *kwnames[] = {
12062 (char *) "self", NULL
12063 };
12064
12065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
12066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12067 {
12068 PyThreadState* __tstate = wxPyBeginAllowThreads();
12069 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
12070
12071 wxPyEndAllowThreads(__tstate);
12072 if (PyErr_Occurred()) SWIG_fail;
12073 }
12074 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 0);
12075 return resultobj;
12076 fail:
12077 return NULL;
12078 }
12079
12080
12081 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12082 PyObject *resultobj;
12083 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12084 int arg2 ;
12085 PyObject * obj0 = 0 ;
12086 char *kwnames[] = {
12087 (char *) "self",(char *) "flags", NULL
12088 };
12089
12090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindDialogEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12092 {
12093 PyThreadState* __tstate = wxPyBeginAllowThreads();
12094 (arg1)->SetFlags(arg2);
12095
12096 wxPyEndAllowThreads(__tstate);
12097 if (PyErr_Occurred()) SWIG_fail;
12098 }
12099 Py_INCREF(Py_None); resultobj = Py_None;
12100 return resultobj;
12101 fail:
12102 return NULL;
12103 }
12104
12105
12106 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12107 PyObject *resultobj;
12108 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12109 wxString *arg2 = 0 ;
12110 bool temp2 = False ;
12111 PyObject * obj0 = 0 ;
12112 PyObject * obj1 = 0 ;
12113 char *kwnames[] = {
12114 (char *) "self",(char *) "str", NULL
12115 };
12116
12117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12119 {
12120 arg2 = wxString_in_helper(obj1);
12121 if (arg2 == NULL) SWIG_fail;
12122 temp2 = True;
12123 }
12124 {
12125 PyThreadState* __tstate = wxPyBeginAllowThreads();
12126 (arg1)->SetFindString((wxString const &)*arg2);
12127
12128 wxPyEndAllowThreads(__tstate);
12129 if (PyErr_Occurred()) SWIG_fail;
12130 }
12131 Py_INCREF(Py_None); resultobj = Py_None;
12132 {
12133 if (temp2)
12134 delete arg2;
12135 }
12136 return resultobj;
12137 fail:
12138 {
12139 if (temp2)
12140 delete arg2;
12141 }
12142 return NULL;
12143 }
12144
12145
12146 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12147 PyObject *resultobj;
12148 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12149 wxString *arg2 = 0 ;
12150 bool temp2 = False ;
12151 PyObject * obj0 = 0 ;
12152 PyObject * obj1 = 0 ;
12153 char *kwnames[] = {
12154 (char *) "self",(char *) "str", NULL
12155 };
12156
12157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12159 {
12160 arg2 = wxString_in_helper(obj1);
12161 if (arg2 == NULL) SWIG_fail;
12162 temp2 = True;
12163 }
12164 {
12165 PyThreadState* __tstate = wxPyBeginAllowThreads();
12166 (arg1)->SetReplaceString((wxString const &)*arg2);
12167
12168 wxPyEndAllowThreads(__tstate);
12169 if (PyErr_Occurred()) SWIG_fail;
12170 }
12171 Py_INCREF(Py_None); resultobj = Py_None;
12172 {
12173 if (temp2)
12174 delete arg2;
12175 }
12176 return resultobj;
12177 fail:
12178 {
12179 if (temp2)
12180 delete arg2;
12181 }
12182 return NULL;
12183 }
12184
12185
12186 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
12187 PyObject *obj;
12188 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12189 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
12190 Py_INCREF(obj);
12191 return Py_BuildValue((char *)"");
12192 }
12193 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12194 PyObject *resultobj;
12195 int arg1 = (int) 0 ;
12196 wxFindReplaceData *result;
12197 char *kwnames[] = {
12198 (char *) "flags", NULL
12199 };
12200
12201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_FindReplaceData",kwnames,&arg1)) goto fail;
12202 {
12203 PyThreadState* __tstate = wxPyBeginAllowThreads();
12204 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
12205
12206 wxPyEndAllowThreads(__tstate);
12207 if (PyErr_Occurred()) SWIG_fail;
12208 }
12209 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 1);
12210 return resultobj;
12211 fail:
12212 return NULL;
12213 }
12214
12215
12216 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12217 PyObject *resultobj;
12218 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12219 PyObject * obj0 = 0 ;
12220 char *kwnames[] = {
12221 (char *) "self", NULL
12222 };
12223
12224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
12225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12226 {
12227 PyThreadState* __tstate = wxPyBeginAllowThreads();
12228 delete arg1;
12229
12230 wxPyEndAllowThreads(__tstate);
12231 if (PyErr_Occurred()) SWIG_fail;
12232 }
12233 Py_INCREF(Py_None); resultobj = Py_None;
12234 return resultobj;
12235 fail:
12236 return NULL;
12237 }
12238
12239
12240 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12241 PyObject *resultobj;
12242 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12243 wxString *result;
12244 PyObject * obj0 = 0 ;
12245 char *kwnames[] = {
12246 (char *) "self", NULL
12247 };
12248
12249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
12250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12251 {
12252 PyThreadState* __tstate = wxPyBeginAllowThreads();
12253 {
12254 wxString const &_result_ref = (arg1)->GetFindString();
12255 result = (wxString *) &_result_ref;
12256 }
12257
12258 wxPyEndAllowThreads(__tstate);
12259 if (PyErr_Occurred()) SWIG_fail;
12260 }
12261 {
12262 #if wxUSE_UNICODE
12263 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12264 #else
12265 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12266 #endif
12267 }
12268 return resultobj;
12269 fail:
12270 return NULL;
12271 }
12272
12273
12274 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12275 PyObject *resultobj;
12276 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12277 wxString *result;
12278 PyObject * obj0 = 0 ;
12279 char *kwnames[] = {
12280 (char *) "self", NULL
12281 };
12282
12283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
12284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12285 {
12286 PyThreadState* __tstate = wxPyBeginAllowThreads();
12287 {
12288 wxString const &_result_ref = (arg1)->GetReplaceString();
12289 result = (wxString *) &_result_ref;
12290 }
12291
12292 wxPyEndAllowThreads(__tstate);
12293 if (PyErr_Occurred()) SWIG_fail;
12294 }
12295 {
12296 #if wxUSE_UNICODE
12297 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12298 #else
12299 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12300 #endif
12301 }
12302 return resultobj;
12303 fail:
12304 return NULL;
12305 }
12306
12307
12308 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12309 PyObject *resultobj;
12310 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12311 int result;
12312 PyObject * obj0 = 0 ;
12313 char *kwnames[] = {
12314 (char *) "self", NULL
12315 };
12316
12317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
12318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12319 {
12320 PyThreadState* __tstate = wxPyBeginAllowThreads();
12321 result = (int)(arg1)->GetFlags();
12322
12323 wxPyEndAllowThreads(__tstate);
12324 if (PyErr_Occurred()) SWIG_fail;
12325 }
12326 resultobj = PyInt_FromLong((long)result);
12327 return resultobj;
12328 fail:
12329 return NULL;
12330 }
12331
12332
12333 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12334 PyObject *resultobj;
12335 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12336 int arg2 ;
12337 PyObject * obj0 = 0 ;
12338 char *kwnames[] = {
12339 (char *) "self",(char *) "flags", NULL
12340 };
12341
12342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindReplaceData_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12344 {
12345 PyThreadState* __tstate = wxPyBeginAllowThreads();
12346 (arg1)->SetFlags(arg2);
12347
12348 wxPyEndAllowThreads(__tstate);
12349 if (PyErr_Occurred()) SWIG_fail;
12350 }
12351 Py_INCREF(Py_None); resultobj = Py_None;
12352 return resultobj;
12353 fail:
12354 return NULL;
12355 }
12356
12357
12358 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12359 PyObject *resultobj;
12360 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12361 wxString *arg2 = 0 ;
12362 bool temp2 = False ;
12363 PyObject * obj0 = 0 ;
12364 PyObject * obj1 = 0 ;
12365 char *kwnames[] = {
12366 (char *) "self",(char *) "str", NULL
12367 };
12368
12369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12371 {
12372 arg2 = wxString_in_helper(obj1);
12373 if (arg2 == NULL) SWIG_fail;
12374 temp2 = True;
12375 }
12376 {
12377 PyThreadState* __tstate = wxPyBeginAllowThreads();
12378 (arg1)->SetFindString((wxString const &)*arg2);
12379
12380 wxPyEndAllowThreads(__tstate);
12381 if (PyErr_Occurred()) SWIG_fail;
12382 }
12383 Py_INCREF(Py_None); resultobj = Py_None;
12384 {
12385 if (temp2)
12386 delete arg2;
12387 }
12388 return resultobj;
12389 fail:
12390 {
12391 if (temp2)
12392 delete arg2;
12393 }
12394 return NULL;
12395 }
12396
12397
12398 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12399 PyObject *resultobj;
12400 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12401 wxString *arg2 = 0 ;
12402 bool temp2 = False ;
12403 PyObject * obj0 = 0 ;
12404 PyObject * obj1 = 0 ;
12405 char *kwnames[] = {
12406 (char *) "self",(char *) "str", NULL
12407 };
12408
12409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12411 {
12412 arg2 = wxString_in_helper(obj1);
12413 if (arg2 == NULL) SWIG_fail;
12414 temp2 = True;
12415 }
12416 {
12417 PyThreadState* __tstate = wxPyBeginAllowThreads();
12418 (arg1)->SetReplaceString((wxString const &)*arg2);
12419
12420 wxPyEndAllowThreads(__tstate);
12421 if (PyErr_Occurred()) SWIG_fail;
12422 }
12423 Py_INCREF(Py_None); resultobj = Py_None;
12424 {
12425 if (temp2)
12426 delete arg2;
12427 }
12428 return resultobj;
12429 fail:
12430 {
12431 if (temp2)
12432 delete arg2;
12433 }
12434 return NULL;
12435 }
12436
12437
12438 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
12439 PyObject *obj;
12440 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12441 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
12442 Py_INCREF(obj);
12443 return Py_BuildValue((char *)"");
12444 }
12445 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12446 PyObject *resultobj;
12447 wxWindow *arg1 = (wxWindow *) 0 ;
12448 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12449 wxString *arg3 = 0 ;
12450 int arg4 = (int) 0 ;
12451 wxFindReplaceDialog *result;
12452 bool temp3 = False ;
12453 PyObject * obj0 = 0 ;
12454 PyObject * obj1 = 0 ;
12455 PyObject * obj2 = 0 ;
12456 char *kwnames[] = {
12457 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12458 };
12459
12460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
12461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12462 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12463 {
12464 arg3 = wxString_in_helper(obj2);
12465 if (arg3 == NULL) SWIG_fail;
12466 temp3 = True;
12467 }
12468 {
12469 PyThreadState* __tstate = wxPyBeginAllowThreads();
12470 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
12471
12472 wxPyEndAllowThreads(__tstate);
12473 if (PyErr_Occurred()) SWIG_fail;
12474 }
12475 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12476 {
12477 if (temp3)
12478 delete arg3;
12479 }
12480 return resultobj;
12481 fail:
12482 {
12483 if (temp3)
12484 delete arg3;
12485 }
12486 return NULL;
12487 }
12488
12489
12490 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12491 PyObject *resultobj;
12492 wxFindReplaceDialog *result;
12493 char *kwnames[] = {
12494 NULL
12495 };
12496
12497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
12498 {
12499 PyThreadState* __tstate = wxPyBeginAllowThreads();
12500 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
12501
12502 wxPyEndAllowThreads(__tstate);
12503 if (PyErr_Occurred()) SWIG_fail;
12504 }
12505 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12506 return resultobj;
12507 fail:
12508 return NULL;
12509 }
12510
12511
12512 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12513 PyObject *resultobj;
12514 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12515 wxWindow *arg2 = (wxWindow *) 0 ;
12516 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
12517 wxString *arg4 = 0 ;
12518 int arg5 = (int) 0 ;
12519 bool result;
12520 bool temp4 = False ;
12521 PyObject * obj0 = 0 ;
12522 PyObject * obj1 = 0 ;
12523 PyObject * obj2 = 0 ;
12524 PyObject * obj3 = 0 ;
12525 char *kwnames[] = {
12526 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12527 };
12528
12529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|i:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
12530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12531 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12532 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12533 {
12534 arg4 = wxString_in_helper(obj3);
12535 if (arg4 == NULL) SWIG_fail;
12536 temp4 = True;
12537 }
12538 {
12539 PyThreadState* __tstate = wxPyBeginAllowThreads();
12540 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
12541
12542 wxPyEndAllowThreads(__tstate);
12543 if (PyErr_Occurred()) SWIG_fail;
12544 }
12545 resultobj = PyInt_FromLong((long)result);
12546 {
12547 if (temp4)
12548 delete arg4;
12549 }
12550 return resultobj;
12551 fail:
12552 {
12553 if (temp4)
12554 delete arg4;
12555 }
12556 return NULL;
12557 }
12558
12559
12560 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12561 PyObject *resultobj;
12562 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12563 wxFindReplaceData *result;
12564 PyObject * obj0 = 0 ;
12565 char *kwnames[] = {
12566 (char *) "self", NULL
12567 };
12568
12569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
12570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12571 {
12572 PyThreadState* __tstate = wxPyBeginAllowThreads();
12573 result = (wxFindReplaceData *)(arg1)->GetData();
12574
12575 wxPyEndAllowThreads(__tstate);
12576 if (PyErr_Occurred()) SWIG_fail;
12577 }
12578 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 0);
12579 return resultobj;
12580 fail:
12581 return NULL;
12582 }
12583
12584
12585 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12586 PyObject *resultobj;
12587 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12588 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12589 PyObject * obj0 = 0 ;
12590 PyObject * obj1 = 0 ;
12591 char *kwnames[] = {
12592 (char *) "self",(char *) "data", NULL
12593 };
12594
12595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
12596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12597 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12598 {
12599 PyThreadState* __tstate = wxPyBeginAllowThreads();
12600 (arg1)->SetData(arg2);
12601
12602 wxPyEndAllowThreads(__tstate);
12603 if (PyErr_Occurred()) SWIG_fail;
12604 }
12605 Py_INCREF(Py_None); resultobj = Py_None;
12606 return resultobj;
12607 fail:
12608 return NULL;
12609 }
12610
12611
12612 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
12613 PyObject *obj;
12614 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12615 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
12616 Py_INCREF(obj);
12617 return Py_BuildValue((char *)"");
12618 }
12619 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
12620 PyObject *resultobj;
12621 wxWindow *arg1 = (wxWindow *) 0 ;
12622 int arg2 ;
12623 wxString *arg3 = 0 ;
12624 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12625 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12626 wxSize const &arg5_defvalue = wxDefaultSize ;
12627 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12628 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
12629 wxString const &arg7_defvalue = wxPyFrameNameStr ;
12630 wxString *arg7 = (wxString *) &arg7_defvalue ;
12631 wxMDIParentFrame *result;
12632 bool temp3 = False ;
12633 wxPoint temp4 ;
12634 wxSize temp5 ;
12635 bool temp7 = False ;
12636 PyObject * obj0 = 0 ;
12637 PyObject * obj2 = 0 ;
12638 PyObject * obj3 = 0 ;
12639 PyObject * obj4 = 0 ;
12640 PyObject * obj6 = 0 ;
12641 char *kwnames[] = {
12642 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12643 };
12644
12645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIParentFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
12646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12647 {
12648 arg3 = wxString_in_helper(obj2);
12649 if (arg3 == NULL) SWIG_fail;
12650 temp3 = True;
12651 }
12652 if (obj3) {
12653 {
12654 arg4 = &temp4;
12655 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12656 }
12657 }
12658 if (obj4) {
12659 {
12660 arg5 = &temp5;
12661 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12662 }
12663 }
12664 if (obj6) {
12665 {
12666 arg7 = wxString_in_helper(obj6);
12667 if (arg7 == NULL) SWIG_fail;
12668 temp7 = True;
12669 }
12670 }
12671 {
12672 PyThreadState* __tstate = wxPyBeginAllowThreads();
12673 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12674
12675 wxPyEndAllowThreads(__tstate);
12676 if (PyErr_Occurred()) SWIG_fail;
12677 }
12678 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
12679 {
12680 if (temp3)
12681 delete arg3;
12682 }
12683 {
12684 if (temp7)
12685 delete arg7;
12686 }
12687 return resultobj;
12688 fail:
12689 {
12690 if (temp3)
12691 delete arg3;
12692 }
12693 {
12694 if (temp7)
12695 delete arg7;
12696 }
12697 return NULL;
12698 }
12699
12700
12701 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
12702 PyObject *resultobj;
12703 wxMDIParentFrame *result;
12704 char *kwnames[] = {
12705 NULL
12706 };
12707
12708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
12709 {
12710 PyThreadState* __tstate = wxPyBeginAllowThreads();
12711 result = (wxMDIParentFrame *)new wxMDIParentFrame();
12712
12713 wxPyEndAllowThreads(__tstate);
12714 if (PyErr_Occurred()) SWIG_fail;
12715 }
12716 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
12717 return resultobj;
12718 fail:
12719 return NULL;
12720 }
12721
12722
12723 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12724 PyObject *resultobj;
12725 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12726 wxWindow *arg2 = (wxWindow *) 0 ;
12727 int arg3 ;
12728 wxString *arg4 = 0 ;
12729 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12730 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12731 wxSize const &arg6_defvalue = wxDefaultSize ;
12732 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12733 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
12734 wxString const &arg8_defvalue = wxPyFrameNameStr ;
12735 wxString *arg8 = (wxString *) &arg8_defvalue ;
12736 bool result;
12737 bool temp4 = False ;
12738 wxPoint temp5 ;
12739 wxSize temp6 ;
12740 bool temp8 = False ;
12741 PyObject * obj0 = 0 ;
12742 PyObject * obj1 = 0 ;
12743 PyObject * obj3 = 0 ;
12744 PyObject * obj4 = 0 ;
12745 PyObject * obj5 = 0 ;
12746 PyObject * obj7 = 0 ;
12747 char *kwnames[] = {
12748 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12749 };
12750
12751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
12752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12753 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12754 {
12755 arg4 = wxString_in_helper(obj3);
12756 if (arg4 == NULL) SWIG_fail;
12757 temp4 = True;
12758 }
12759 if (obj4) {
12760 {
12761 arg5 = &temp5;
12762 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12763 }
12764 }
12765 if (obj5) {
12766 {
12767 arg6 = &temp6;
12768 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12769 }
12770 }
12771 if (obj7) {
12772 {
12773 arg8 = wxString_in_helper(obj7);
12774 if (arg8 == NULL) SWIG_fail;
12775 temp8 = True;
12776 }
12777 }
12778 {
12779 PyThreadState* __tstate = wxPyBeginAllowThreads();
12780 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
12781
12782 wxPyEndAllowThreads(__tstate);
12783 if (PyErr_Occurred()) SWIG_fail;
12784 }
12785 resultobj = PyInt_FromLong((long)result);
12786 {
12787 if (temp4)
12788 delete arg4;
12789 }
12790 {
12791 if (temp8)
12792 delete arg8;
12793 }
12794 return resultobj;
12795 fail:
12796 {
12797 if (temp4)
12798 delete arg4;
12799 }
12800 {
12801 if (temp8)
12802 delete arg8;
12803 }
12804 return NULL;
12805 }
12806
12807
12808 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
12809 PyObject *resultobj;
12810 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12811 PyObject * obj0 = 0 ;
12812 char *kwnames[] = {
12813 (char *) "self", NULL
12814 };
12815
12816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
12817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12818 {
12819 PyThreadState* __tstate = wxPyBeginAllowThreads();
12820 (arg1)->ActivateNext();
12821
12822 wxPyEndAllowThreads(__tstate);
12823 if (PyErr_Occurred()) SWIG_fail;
12824 }
12825 Py_INCREF(Py_None); resultobj = Py_None;
12826 return resultobj;
12827 fail:
12828 return NULL;
12829 }
12830
12831
12832 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
12833 PyObject *resultobj;
12834 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12835 PyObject * obj0 = 0 ;
12836 char *kwnames[] = {
12837 (char *) "self", NULL
12838 };
12839
12840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
12841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12842 {
12843 PyThreadState* __tstate = wxPyBeginAllowThreads();
12844 (arg1)->ActivatePrevious();
12845
12846 wxPyEndAllowThreads(__tstate);
12847 if (PyErr_Occurred()) SWIG_fail;
12848 }
12849 Py_INCREF(Py_None); resultobj = Py_None;
12850 return resultobj;
12851 fail:
12852 return NULL;
12853 }
12854
12855
12856 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
12857 PyObject *resultobj;
12858 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12859 PyObject * obj0 = 0 ;
12860 char *kwnames[] = {
12861 (char *) "self", NULL
12862 };
12863
12864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
12865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12866 {
12867 PyThreadState* __tstate = wxPyBeginAllowThreads();
12868 (arg1)->ArrangeIcons();
12869
12870 wxPyEndAllowThreads(__tstate);
12871 if (PyErr_Occurred()) SWIG_fail;
12872 }
12873 Py_INCREF(Py_None); resultobj = Py_None;
12874 return resultobj;
12875 fail:
12876 return NULL;
12877 }
12878
12879
12880 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
12881 PyObject *resultobj;
12882 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12883 PyObject * obj0 = 0 ;
12884 char *kwnames[] = {
12885 (char *) "self", NULL
12886 };
12887
12888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
12889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12890 {
12891 PyThreadState* __tstate = wxPyBeginAllowThreads();
12892 (arg1)->Cascade();
12893
12894 wxPyEndAllowThreads(__tstate);
12895 if (PyErr_Occurred()) SWIG_fail;
12896 }
12897 Py_INCREF(Py_None); resultobj = Py_None;
12898 return resultobj;
12899 fail:
12900 return NULL;
12901 }
12902
12903
12904 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
12905 PyObject *resultobj;
12906 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12907 wxMDIChildFrame *result;
12908 PyObject * obj0 = 0 ;
12909 char *kwnames[] = {
12910 (char *) "self", NULL
12911 };
12912
12913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
12914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12915 {
12916 PyThreadState* __tstate = wxPyBeginAllowThreads();
12917 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
12918
12919 wxPyEndAllowThreads(__tstate);
12920 if (PyErr_Occurred()) SWIG_fail;
12921 }
12922 {
12923 resultobj = wxPyMake_wxObject(result);
12924 }
12925 return resultobj;
12926 fail:
12927 return NULL;
12928 }
12929
12930
12931 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12932 PyObject *resultobj;
12933 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12934 wxMDIClientWindow *result;
12935 PyObject * obj0 = 0 ;
12936 char *kwnames[] = {
12937 (char *) "self", NULL
12938 };
12939
12940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
12941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12942 {
12943 PyThreadState* __tstate = wxPyBeginAllowThreads();
12944 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
12945
12946 wxPyEndAllowThreads(__tstate);
12947 if (PyErr_Occurred()) SWIG_fail;
12948 }
12949 {
12950 resultobj = wxPyMake_wxObject(result);
12951 }
12952 return resultobj;
12953 fail:
12954 return NULL;
12955 }
12956
12957
12958 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
12959 PyObject *resultobj;
12960 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12961 wxWindow *result;
12962 PyObject * obj0 = 0 ;
12963 char *kwnames[] = {
12964 (char *) "self", NULL
12965 };
12966
12967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
12968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12969 {
12970 PyThreadState* __tstate = wxPyBeginAllowThreads();
12971 result = (wxWindow *)(arg1)->GetToolBar();
12972
12973 wxPyEndAllowThreads(__tstate);
12974 if (PyErr_Occurred()) SWIG_fail;
12975 }
12976 {
12977 resultobj = wxPyMake_wxObject(result);
12978 }
12979 return resultobj;
12980 fail:
12981 return NULL;
12982 }
12983
12984
12985 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
12986 PyObject *resultobj;
12987 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12988 PyObject * obj0 = 0 ;
12989 char *kwnames[] = {
12990 (char *) "self", NULL
12991 };
12992
12993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
12994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12995 {
12996 PyThreadState* __tstate = wxPyBeginAllowThreads();
12997 (arg1)->Tile();
12998
12999 wxPyEndAllowThreads(__tstate);
13000 if (PyErr_Occurred()) SWIG_fail;
13001 }
13002 Py_INCREF(Py_None); resultobj = Py_None;
13003 return resultobj;
13004 fail:
13005 return NULL;
13006 }
13007
13008
13009 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
13010 PyObject *obj;
13011 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13012 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
13013 Py_INCREF(obj);
13014 return Py_BuildValue((char *)"");
13015 }
13016 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13017 PyObject *resultobj;
13018 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13019 int arg2 ;
13020 wxString *arg3 = 0 ;
13021 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13022 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13023 wxSize const &arg5_defvalue = wxDefaultSize ;
13024 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13025 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
13026 wxString const &arg7_defvalue = wxPyFrameNameStr ;
13027 wxString *arg7 = (wxString *) &arg7_defvalue ;
13028 wxMDIChildFrame *result;
13029 bool temp3 = False ;
13030 wxPoint temp4 ;
13031 wxSize temp5 ;
13032 bool temp7 = False ;
13033 PyObject * obj0 = 0 ;
13034 PyObject * obj2 = 0 ;
13035 PyObject * obj3 = 0 ;
13036 PyObject * obj4 = 0 ;
13037 PyObject * obj6 = 0 ;
13038 char *kwnames[] = {
13039 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13040 };
13041
13042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIChildFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
13043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13044 {
13045 arg3 = wxString_in_helper(obj2);
13046 if (arg3 == NULL) SWIG_fail;
13047 temp3 = True;
13048 }
13049 if (obj3) {
13050 {
13051 arg4 = &temp4;
13052 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13053 }
13054 }
13055 if (obj4) {
13056 {
13057 arg5 = &temp5;
13058 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13059 }
13060 }
13061 if (obj6) {
13062 {
13063 arg7 = wxString_in_helper(obj6);
13064 if (arg7 == NULL) SWIG_fail;
13065 temp7 = True;
13066 }
13067 }
13068 {
13069 PyThreadState* __tstate = wxPyBeginAllowThreads();
13070 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13071
13072 wxPyEndAllowThreads(__tstate);
13073 if (PyErr_Occurred()) SWIG_fail;
13074 }
13075 {
13076 resultobj = wxPyMake_wxObject(result);
13077 }
13078 {
13079 if (temp3)
13080 delete arg3;
13081 }
13082 {
13083 if (temp7)
13084 delete arg7;
13085 }
13086 return resultobj;
13087 fail:
13088 {
13089 if (temp3)
13090 delete arg3;
13091 }
13092 {
13093 if (temp7)
13094 delete arg7;
13095 }
13096 return NULL;
13097 }
13098
13099
13100 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13101 PyObject *resultobj;
13102 wxMDIChildFrame *result;
13103 char *kwnames[] = {
13104 NULL
13105 };
13106
13107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
13108 {
13109 PyThreadState* __tstate = wxPyBeginAllowThreads();
13110 result = (wxMDIChildFrame *)new wxMDIChildFrame();
13111
13112 wxPyEndAllowThreads(__tstate);
13113 if (PyErr_Occurred()) SWIG_fail;
13114 }
13115 {
13116 resultobj = wxPyMake_wxObject(result);
13117 }
13118 return resultobj;
13119 fail:
13120 return NULL;
13121 }
13122
13123
13124 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13125 PyObject *resultobj;
13126 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13127 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13128 int arg3 ;
13129 wxString *arg4 = 0 ;
13130 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13131 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13132 wxSize const &arg6_defvalue = wxDefaultSize ;
13133 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13134 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
13135 wxString const &arg8_defvalue = wxPyFrameNameStr ;
13136 wxString *arg8 = (wxString *) &arg8_defvalue ;
13137 bool result;
13138 bool temp4 = False ;
13139 wxPoint temp5 ;
13140 wxSize temp6 ;
13141 bool temp8 = False ;
13142 PyObject * obj0 = 0 ;
13143 PyObject * obj1 = 0 ;
13144 PyObject * obj3 = 0 ;
13145 PyObject * obj4 = 0 ;
13146 PyObject * obj5 = 0 ;
13147 PyObject * obj7 = 0 ;
13148 char *kwnames[] = {
13149 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13150 };
13151
13152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
13153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13154 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13155 {
13156 arg4 = wxString_in_helper(obj3);
13157 if (arg4 == NULL) SWIG_fail;
13158 temp4 = True;
13159 }
13160 if (obj4) {
13161 {
13162 arg5 = &temp5;
13163 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13164 }
13165 }
13166 if (obj5) {
13167 {
13168 arg6 = &temp6;
13169 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13170 }
13171 }
13172 if (obj7) {
13173 {
13174 arg8 = wxString_in_helper(obj7);
13175 if (arg8 == NULL) SWIG_fail;
13176 temp8 = True;
13177 }
13178 }
13179 {
13180 PyThreadState* __tstate = wxPyBeginAllowThreads();
13181 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
13182
13183 wxPyEndAllowThreads(__tstate);
13184 if (PyErr_Occurred()) SWIG_fail;
13185 }
13186 resultobj = PyInt_FromLong((long)result);
13187 {
13188 if (temp4)
13189 delete arg4;
13190 }
13191 {
13192 if (temp8)
13193 delete arg8;
13194 }
13195 return resultobj;
13196 fail:
13197 {
13198 if (temp4)
13199 delete arg4;
13200 }
13201 {
13202 if (temp8)
13203 delete arg8;
13204 }
13205 return NULL;
13206 }
13207
13208
13209 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
13210 PyObject *resultobj;
13211 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13212 PyObject * obj0 = 0 ;
13213 char *kwnames[] = {
13214 (char *) "self", NULL
13215 };
13216
13217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
13218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13219 {
13220 PyThreadState* __tstate = wxPyBeginAllowThreads();
13221 (arg1)->Activate();
13222
13223 wxPyEndAllowThreads(__tstate);
13224 if (PyErr_Occurred()) SWIG_fail;
13225 }
13226 Py_INCREF(Py_None); resultobj = Py_None;
13227 return resultobj;
13228 fail:
13229 return NULL;
13230 }
13231
13232
13233 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
13234 PyObject *resultobj;
13235 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13236 bool arg2 ;
13237 PyObject * obj0 = 0 ;
13238 PyObject * obj1 = 0 ;
13239 char *kwnames[] = {
13240 (char *) "self",(char *) "maximize", NULL
13241 };
13242
13243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
13244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13245 arg2 = PyInt_AsLong(obj1) ? true : false;
13246 if (PyErr_Occurred()) SWIG_fail;
13247 {
13248 PyThreadState* __tstate = wxPyBeginAllowThreads();
13249 (arg1)->Maximize(arg2);
13250
13251 wxPyEndAllowThreads(__tstate);
13252 if (PyErr_Occurred()) SWIG_fail;
13253 }
13254 Py_INCREF(Py_None); resultobj = Py_None;
13255 return resultobj;
13256 fail:
13257 return NULL;
13258 }
13259
13260
13261 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
13262 PyObject *resultobj;
13263 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13264 PyObject * obj0 = 0 ;
13265 char *kwnames[] = {
13266 (char *) "self", NULL
13267 };
13268
13269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
13270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13271 {
13272 PyThreadState* __tstate = wxPyBeginAllowThreads();
13273 (arg1)->Restore();
13274
13275 wxPyEndAllowThreads(__tstate);
13276 if (PyErr_Occurred()) SWIG_fail;
13277 }
13278 Py_INCREF(Py_None); resultobj = Py_None;
13279 return resultobj;
13280 fail:
13281 return NULL;
13282 }
13283
13284
13285 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
13286 PyObject *obj;
13287 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13288 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
13289 Py_INCREF(obj);
13290 return Py_BuildValue((char *)"");
13291 }
13292 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13293 PyObject *resultobj;
13294 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13295 long arg2 = (long) 0 ;
13296 wxMDIClientWindow *result;
13297 PyObject * obj0 = 0 ;
13298 char *kwnames[] = {
13299 (char *) "parent",(char *) "style", NULL
13300 };
13301
13302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:new_MDIClientWindow",kwnames,&obj0,&arg2)) goto fail;
13303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13304 {
13305 PyThreadState* __tstate = wxPyBeginAllowThreads();
13306 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
13307
13308 wxPyEndAllowThreads(__tstate);
13309 if (PyErr_Occurred()) SWIG_fail;
13310 }
13311 {
13312 resultobj = wxPyMake_wxObject(result);
13313 }
13314 return resultobj;
13315 fail:
13316 return NULL;
13317 }
13318
13319
13320 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13321 PyObject *resultobj;
13322 wxMDIClientWindow *result;
13323 char *kwnames[] = {
13324 NULL
13325 };
13326
13327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
13328 {
13329 PyThreadState* __tstate = wxPyBeginAllowThreads();
13330 result = (wxMDIClientWindow *)new wxMDIClientWindow();
13331
13332 wxPyEndAllowThreads(__tstate);
13333 if (PyErr_Occurred()) SWIG_fail;
13334 }
13335 {
13336 resultobj = wxPyMake_wxObject(result);
13337 }
13338 return resultobj;
13339 fail:
13340 return NULL;
13341 }
13342
13343
13344 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13345 PyObject *resultobj;
13346 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
13347 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13348 long arg3 = (long) 0 ;
13349 bool result;
13350 PyObject * obj0 = 0 ;
13351 PyObject * obj1 = 0 ;
13352 char *kwnames[] = {
13353 (char *) "self",(char *) "parent",(char *) "style", NULL
13354 };
13355
13356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:MDIClientWindow_Create",kwnames,&obj0,&obj1,&arg3)) goto fail;
13357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIClientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13358 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13359 {
13360 PyThreadState* __tstate = wxPyBeginAllowThreads();
13361 result = (bool)(arg1)->Create(arg2,arg3);
13362
13363 wxPyEndAllowThreads(__tstate);
13364 if (PyErr_Occurred()) SWIG_fail;
13365 }
13366 resultobj = PyInt_FromLong((long)result);
13367 return resultobj;
13368 fail:
13369 return NULL;
13370 }
13371
13372
13373 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
13374 PyObject *obj;
13375 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13376 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
13377 Py_INCREF(obj);
13378 return Py_BuildValue((char *)"");
13379 }
13380 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13381 PyObject *resultobj;
13382 wxWindow *arg1 = (wxWindow *) 0 ;
13383 int arg2 ;
13384 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13385 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13386 wxSize const &arg4_defvalue = wxDefaultSize ;
13387 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13388 long arg5 = (long) 0 ;
13389 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13390 wxString *arg6 = (wxString *) &arg6_defvalue ;
13391 wxPyWindow *result;
13392 wxPoint temp3 ;
13393 wxSize temp4 ;
13394 bool temp6 = False ;
13395 PyObject * obj0 = 0 ;
13396 PyObject * obj2 = 0 ;
13397 PyObject * obj3 = 0 ;
13398 PyObject * obj5 = 0 ;
13399 char *kwnames[] = {
13400 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13401 };
13402
13403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
13404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13405 if (obj2) {
13406 {
13407 arg3 = &temp3;
13408 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13409 }
13410 }
13411 if (obj3) {
13412 {
13413 arg4 = &temp4;
13414 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13415 }
13416 }
13417 if (obj5) {
13418 {
13419 arg6 = wxString_in_helper(obj5);
13420 if (arg6 == NULL) SWIG_fail;
13421 temp6 = True;
13422 }
13423 }
13424 {
13425 PyThreadState* __tstate = wxPyBeginAllowThreads();
13426 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13427
13428 wxPyEndAllowThreads(__tstate);
13429 if (PyErr_Occurred()) SWIG_fail;
13430 }
13431 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyWindow, 1);
13432 {
13433 if (temp6)
13434 delete arg6;
13435 }
13436 return resultobj;
13437 fail:
13438 {
13439 if (temp6)
13440 delete arg6;
13441 }
13442 return NULL;
13443 }
13444
13445
13446 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
13447 PyObject *resultobj;
13448 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13449 PyObject *arg2 = (PyObject *) 0 ;
13450 PyObject *arg3 = (PyObject *) 0 ;
13451 PyObject * obj0 = 0 ;
13452 PyObject * obj1 = 0 ;
13453 PyObject * obj2 = 0 ;
13454 char *kwnames[] = {
13455 (char *) "self",(char *) "self",(char *) "_class", NULL
13456 };
13457
13458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
13459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13460 arg2 = obj1;
13461 arg3 = obj2;
13462 {
13463 PyThreadState* __tstate = wxPyBeginAllowThreads();
13464 (arg1)->_setCallbackInfo(arg2,arg3);
13465
13466 wxPyEndAllowThreads(__tstate);
13467 if (PyErr_Occurred()) SWIG_fail;
13468 }
13469 Py_INCREF(Py_None); resultobj = Py_None;
13470 return resultobj;
13471 fail:
13472 return NULL;
13473 }
13474
13475
13476 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13477 PyObject *resultobj;
13478 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13479 int arg2 ;
13480 int arg3 ;
13481 int arg4 ;
13482 int arg5 ;
13483 PyObject * obj0 = 0 ;
13484 char *kwnames[] = {
13485 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13486 };
13487
13488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyWindow_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13490 {
13491 PyThreadState* __tstate = wxPyBeginAllowThreads();
13492 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
13493
13494 wxPyEndAllowThreads(__tstate);
13495 if (PyErr_Occurred()) SWIG_fail;
13496 }
13497 Py_INCREF(Py_None); resultobj = Py_None;
13498 return resultobj;
13499 fail:
13500 return NULL;
13501 }
13502
13503
13504 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13505 PyObject *resultobj;
13506 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13507 int arg2 ;
13508 int arg3 ;
13509 int arg4 ;
13510 int arg5 ;
13511 int arg6 = (int) wxSIZE_AUTO ;
13512 PyObject * obj0 = 0 ;
13513 char *kwnames[] = {
13514 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
13515 };
13516
13517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyWindow_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
13518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13519 {
13520 PyThreadState* __tstate = wxPyBeginAllowThreads();
13521 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
13522
13523 wxPyEndAllowThreads(__tstate);
13524 if (PyErr_Occurred()) SWIG_fail;
13525 }
13526 Py_INCREF(Py_None); resultobj = Py_None;
13527 return resultobj;
13528 fail:
13529 return NULL;
13530 }
13531
13532
13533 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13534 PyObject *resultobj;
13535 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13536 int arg2 ;
13537 int arg3 ;
13538 PyObject * obj0 = 0 ;
13539 char *kwnames[] = {
13540 (char *) "self",(char *) "width",(char *) "height", NULL
13541 };
13542
13543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13545 {
13546 PyThreadState* __tstate = wxPyBeginAllowThreads();
13547 (arg1)->base_DoSetClientSize(arg2,arg3);
13548
13549 wxPyEndAllowThreads(__tstate);
13550 if (PyErr_Occurred()) SWIG_fail;
13551 }
13552 Py_INCREF(Py_None); resultobj = Py_None;
13553 return resultobj;
13554 fail:
13555 return NULL;
13556 }
13557
13558
13559 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13560 PyObject *resultobj;
13561 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13562 int arg2 ;
13563 int arg3 ;
13564 PyObject * obj0 = 0 ;
13565 char *kwnames[] = {
13566 (char *) "self",(char *) "x",(char *) "y", NULL
13567 };
13568
13569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13571 {
13572 PyThreadState* __tstate = wxPyBeginAllowThreads();
13573 (arg1)->base_DoSetVirtualSize(arg2,arg3);
13574
13575 wxPyEndAllowThreads(__tstate);
13576 if (PyErr_Occurred()) SWIG_fail;
13577 }
13578 Py_INCREF(Py_None); resultobj = Py_None;
13579 return resultobj;
13580 fail:
13581 return NULL;
13582 }
13583
13584
13585 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13586 PyObject *resultobj;
13587 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13588 int *arg2 = (int *) 0 ;
13589 int *arg3 = (int *) 0 ;
13590 int temp2 ;
13591 int temp3 ;
13592 PyObject * obj0 = 0 ;
13593 char *kwnames[] = {
13594 (char *) "self", NULL
13595 };
13596
13597 arg2 = &temp2;
13598 arg3 = &temp3;
13599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
13600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13601 {
13602 PyThreadState* __tstate = wxPyBeginAllowThreads();
13603 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
13604
13605 wxPyEndAllowThreads(__tstate);
13606 if (PyErr_Occurred()) SWIG_fail;
13607 }
13608 Py_INCREF(Py_None); resultobj = Py_None;
13609 {
13610 PyObject *o = PyInt_FromLong((long) (*arg2));
13611 resultobj = t_output_helper(resultobj,o);
13612 }
13613 {
13614 PyObject *o = PyInt_FromLong((long) (*arg3));
13615 resultobj = t_output_helper(resultobj,o);
13616 }
13617 return resultobj;
13618 fail:
13619 return NULL;
13620 }
13621
13622
13623 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13624 PyObject *resultobj;
13625 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13626 int *arg2 = (int *) 0 ;
13627 int *arg3 = (int *) 0 ;
13628 int temp2 ;
13629 int temp3 ;
13630 PyObject * obj0 = 0 ;
13631 char *kwnames[] = {
13632 (char *) "self", NULL
13633 };
13634
13635 arg2 = &temp2;
13636 arg3 = &temp3;
13637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
13638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13639 {
13640 PyThreadState* __tstate = wxPyBeginAllowThreads();
13641 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
13642
13643 wxPyEndAllowThreads(__tstate);
13644 if (PyErr_Occurred()) SWIG_fail;
13645 }
13646 Py_INCREF(Py_None); resultobj = Py_None;
13647 {
13648 PyObject *o = PyInt_FromLong((long) (*arg2));
13649 resultobj = t_output_helper(resultobj,o);
13650 }
13651 {
13652 PyObject *o = PyInt_FromLong((long) (*arg3));
13653 resultobj = t_output_helper(resultobj,o);
13654 }
13655 return resultobj;
13656 fail:
13657 return NULL;
13658 }
13659
13660
13661 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13662 PyObject *resultobj;
13663 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13664 int *arg2 = (int *) 0 ;
13665 int *arg3 = (int *) 0 ;
13666 int temp2 ;
13667 int temp3 ;
13668 PyObject * obj0 = 0 ;
13669 char *kwnames[] = {
13670 (char *) "self", NULL
13671 };
13672
13673 arg2 = &temp2;
13674 arg3 = &temp3;
13675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
13676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13677 {
13678 PyThreadState* __tstate = wxPyBeginAllowThreads();
13679 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
13680
13681 wxPyEndAllowThreads(__tstate);
13682 if (PyErr_Occurred()) SWIG_fail;
13683 }
13684 Py_INCREF(Py_None); resultobj = Py_None;
13685 {
13686 PyObject *o = PyInt_FromLong((long) (*arg2));
13687 resultobj = t_output_helper(resultobj,o);
13688 }
13689 {
13690 PyObject *o = PyInt_FromLong((long) (*arg3));
13691 resultobj = t_output_helper(resultobj,o);
13692 }
13693 return resultobj;
13694 fail:
13695 return NULL;
13696 }
13697
13698
13699 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13700 PyObject *resultobj;
13701 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13702 wxSize result;
13703 PyObject * obj0 = 0 ;
13704 char *kwnames[] = {
13705 (char *) "self", NULL
13706 };
13707
13708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
13709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13710 {
13711 PyThreadState* __tstate = wxPyBeginAllowThreads();
13712 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
13713
13714 wxPyEndAllowThreads(__tstate);
13715 if (PyErr_Occurred()) SWIG_fail;
13716 }
13717 {
13718 wxSize * resultptr;
13719 resultptr = new wxSize((wxSize &) result);
13720 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13721 }
13722 return resultobj;
13723 fail:
13724 return NULL;
13725 }
13726
13727
13728 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13729 PyObject *resultobj;
13730 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13731 wxSize result;
13732 PyObject * obj0 = 0 ;
13733 char *kwnames[] = {
13734 (char *) "self", NULL
13735 };
13736
13737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
13738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13739 {
13740 PyThreadState* __tstate = wxPyBeginAllowThreads();
13741 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
13742
13743 wxPyEndAllowThreads(__tstate);
13744 if (PyErr_Occurred()) SWIG_fail;
13745 }
13746 {
13747 wxSize * resultptr;
13748 resultptr = new wxSize((wxSize &) result);
13749 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13750 }
13751 return resultobj;
13752 fail:
13753 return NULL;
13754 }
13755
13756
13757 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13758 PyObject *resultobj;
13759 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13760 PyObject * obj0 = 0 ;
13761 char *kwnames[] = {
13762 (char *) "self", NULL
13763 };
13764
13765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
13766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13767 {
13768 PyThreadState* __tstate = wxPyBeginAllowThreads();
13769 (arg1)->base_InitDialog();
13770
13771 wxPyEndAllowThreads(__tstate);
13772 if (PyErr_Occurred()) SWIG_fail;
13773 }
13774 Py_INCREF(Py_None); resultobj = Py_None;
13775 return resultobj;
13776 fail:
13777 return NULL;
13778 }
13779
13780
13781 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13782 PyObject *resultobj;
13783 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13784 bool result;
13785 PyObject * obj0 = 0 ;
13786 char *kwnames[] = {
13787 (char *) "self", NULL
13788 };
13789
13790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
13791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13792 {
13793 PyThreadState* __tstate = wxPyBeginAllowThreads();
13794 result = (bool)(arg1)->base_TransferDataToWindow();
13795
13796 wxPyEndAllowThreads(__tstate);
13797 if (PyErr_Occurred()) SWIG_fail;
13798 }
13799 resultobj = PyInt_FromLong((long)result);
13800 return resultobj;
13801 fail:
13802 return NULL;
13803 }
13804
13805
13806 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13807 PyObject *resultobj;
13808 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13809 bool result;
13810 PyObject * obj0 = 0 ;
13811 char *kwnames[] = {
13812 (char *) "self", NULL
13813 };
13814
13815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
13816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13817 {
13818 PyThreadState* __tstate = wxPyBeginAllowThreads();
13819 result = (bool)(arg1)->base_TransferDataFromWindow();
13820
13821 wxPyEndAllowThreads(__tstate);
13822 if (PyErr_Occurred()) SWIG_fail;
13823 }
13824 resultobj = PyInt_FromLong((long)result);
13825 return resultobj;
13826 fail:
13827 return NULL;
13828 }
13829
13830
13831 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
13832 PyObject *resultobj;
13833 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13834 bool result;
13835 PyObject * obj0 = 0 ;
13836 char *kwnames[] = {
13837 (char *) "self", NULL
13838 };
13839
13840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
13841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13842 {
13843 PyThreadState* __tstate = wxPyBeginAllowThreads();
13844 result = (bool)(arg1)->base_Validate();
13845
13846 wxPyEndAllowThreads(__tstate);
13847 if (PyErr_Occurred()) SWIG_fail;
13848 }
13849 resultobj = PyInt_FromLong((long)result);
13850 return resultobj;
13851 fail:
13852 return NULL;
13853 }
13854
13855
13856 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
13857 PyObject *resultobj;
13858 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13859 bool result;
13860 PyObject * obj0 = 0 ;
13861 char *kwnames[] = {
13862 (char *) "self", NULL
13863 };
13864
13865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
13866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13867 {
13868 PyThreadState* __tstate = wxPyBeginAllowThreads();
13869 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
13870
13871 wxPyEndAllowThreads(__tstate);
13872 if (PyErr_Occurred()) SWIG_fail;
13873 }
13874 resultobj = PyInt_FromLong((long)result);
13875 return resultobj;
13876 fail:
13877 return NULL;
13878 }
13879
13880
13881 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
13882 PyObject *resultobj;
13883 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13884 bool result;
13885 PyObject * obj0 = 0 ;
13886 char *kwnames[] = {
13887 (char *) "self", NULL
13888 };
13889
13890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
13891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13892 {
13893 PyThreadState* __tstate = wxPyBeginAllowThreads();
13894 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
13895
13896 wxPyEndAllowThreads(__tstate);
13897 if (PyErr_Occurred()) SWIG_fail;
13898 }
13899 resultobj = PyInt_FromLong((long)result);
13900 return resultobj;
13901 fail:
13902 return NULL;
13903 }
13904
13905
13906 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13907 PyObject *resultobj;
13908 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13909 wxSize result;
13910 PyObject * obj0 = 0 ;
13911 char *kwnames[] = {
13912 (char *) "self", NULL
13913 };
13914
13915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
13916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13917 {
13918 PyThreadState* __tstate = wxPyBeginAllowThreads();
13919 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
13920
13921 wxPyEndAllowThreads(__tstate);
13922 if (PyErr_Occurred()) SWIG_fail;
13923 }
13924 {
13925 wxSize * resultptr;
13926 resultptr = new wxSize((wxSize &) result);
13927 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13928 }
13929 return resultobj;
13930 fail:
13931 return NULL;
13932 }
13933
13934
13935 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
13936 PyObject *resultobj;
13937 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13938 wxWindow *arg2 = (wxWindow *) 0 ;
13939 PyObject * obj0 = 0 ;
13940 PyObject * obj1 = 0 ;
13941 char *kwnames[] = {
13942 (char *) "self",(char *) "child", NULL
13943 };
13944
13945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
13946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13947 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13948 {
13949 PyThreadState* __tstate = wxPyBeginAllowThreads();
13950 (arg1)->base_AddChild(arg2);
13951
13952 wxPyEndAllowThreads(__tstate);
13953 if (PyErr_Occurred()) SWIG_fail;
13954 }
13955 Py_INCREF(Py_None); resultobj = Py_None;
13956 return resultobj;
13957 fail:
13958 return NULL;
13959 }
13960
13961
13962 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
13963 PyObject *resultobj;
13964 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13965 wxWindow *arg2 = (wxWindow *) 0 ;
13966 PyObject * obj0 = 0 ;
13967 PyObject * obj1 = 0 ;
13968 char *kwnames[] = {
13969 (char *) "self",(char *) "child", NULL
13970 };
13971
13972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
13973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13974 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13975 {
13976 PyThreadState* __tstate = wxPyBeginAllowThreads();
13977 (arg1)->base_RemoveChild(arg2);
13978
13979 wxPyEndAllowThreads(__tstate);
13980 if (PyErr_Occurred()) SWIG_fail;
13981 }
13982 Py_INCREF(Py_None); resultobj = Py_None;
13983 return resultobj;
13984 fail:
13985 return NULL;
13986 }
13987
13988
13989 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
13990 PyObject *obj;
13991 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13992 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
13993 Py_INCREF(obj);
13994 return Py_BuildValue((char *)"");
13995 }
13996 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
13997 PyObject *resultobj;
13998 wxWindow *arg1 = (wxWindow *) 0 ;
13999 int arg2 ;
14000 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14001 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14002 wxSize const &arg4_defvalue = wxDefaultSize ;
14003 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14004 long arg5 = (long) 0 ;
14005 wxString const &arg6_defvalue = wxPyPanelNameStr ;
14006 wxString *arg6 = (wxString *) &arg6_defvalue ;
14007 wxPyPanel *result;
14008 wxPoint temp3 ;
14009 wxSize temp4 ;
14010 bool temp6 = False ;
14011 PyObject * obj0 = 0 ;
14012 PyObject * obj2 = 0 ;
14013 PyObject * obj3 = 0 ;
14014 PyObject * obj5 = 0 ;
14015 char *kwnames[] = {
14016 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14017 };
14018
14019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyPanel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
14020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14021 if (obj2) {
14022 {
14023 arg3 = &temp3;
14024 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14025 }
14026 }
14027 if (obj3) {
14028 {
14029 arg4 = &temp4;
14030 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14031 }
14032 }
14033 if (obj5) {
14034 {
14035 arg6 = wxString_in_helper(obj5);
14036 if (arg6 == NULL) SWIG_fail;
14037 temp6 = True;
14038 }
14039 }
14040 {
14041 PyThreadState* __tstate = wxPyBeginAllowThreads();
14042 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14043
14044 wxPyEndAllowThreads(__tstate);
14045 if (PyErr_Occurred()) SWIG_fail;
14046 }
14047 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPanel, 1);
14048 {
14049 if (temp6)
14050 delete arg6;
14051 }
14052 return resultobj;
14053 fail:
14054 {
14055 if (temp6)
14056 delete arg6;
14057 }
14058 return NULL;
14059 }
14060
14061
14062 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14063 PyObject *resultobj;
14064 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14065 PyObject *arg2 = (PyObject *) 0 ;
14066 PyObject *arg3 = (PyObject *) 0 ;
14067 PyObject * obj0 = 0 ;
14068 PyObject * obj1 = 0 ;
14069 PyObject * obj2 = 0 ;
14070 char *kwnames[] = {
14071 (char *) "self",(char *) "self",(char *) "_class", NULL
14072 };
14073
14074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14076 arg2 = obj1;
14077 arg3 = obj2;
14078 {
14079 PyThreadState* __tstate = wxPyBeginAllowThreads();
14080 (arg1)->_setCallbackInfo(arg2,arg3);
14081
14082 wxPyEndAllowThreads(__tstate);
14083 if (PyErr_Occurred()) SWIG_fail;
14084 }
14085 Py_INCREF(Py_None); resultobj = Py_None;
14086 return resultobj;
14087 fail:
14088 return NULL;
14089 }
14090
14091
14092 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14093 PyObject *resultobj;
14094 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14095 int arg2 ;
14096 int arg3 ;
14097 int arg4 ;
14098 int arg5 ;
14099 PyObject * obj0 = 0 ;
14100 char *kwnames[] = {
14101 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14102 };
14103
14104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyPanel_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14106 {
14107 PyThreadState* __tstate = wxPyBeginAllowThreads();
14108 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
14109
14110 wxPyEndAllowThreads(__tstate);
14111 if (PyErr_Occurred()) SWIG_fail;
14112 }
14113 Py_INCREF(Py_None); resultobj = Py_None;
14114 return resultobj;
14115 fail:
14116 return NULL;
14117 }
14118
14119
14120 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14121 PyObject *resultobj;
14122 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14123 int arg2 ;
14124 int arg3 ;
14125 int arg4 ;
14126 int arg5 ;
14127 int arg6 = (int) wxSIZE_AUTO ;
14128 PyObject * obj0 = 0 ;
14129 char *kwnames[] = {
14130 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14131 };
14132
14133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyPanel_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
14134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14135 {
14136 PyThreadState* __tstate = wxPyBeginAllowThreads();
14137 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
14138
14139 wxPyEndAllowThreads(__tstate);
14140 if (PyErr_Occurred()) SWIG_fail;
14141 }
14142 Py_INCREF(Py_None); resultobj = Py_None;
14143 return resultobj;
14144 fail:
14145 return NULL;
14146 }
14147
14148
14149 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14150 PyObject *resultobj;
14151 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14152 int arg2 ;
14153 int arg3 ;
14154 PyObject * obj0 = 0 ;
14155 char *kwnames[] = {
14156 (char *) "self",(char *) "width",(char *) "height", NULL
14157 };
14158
14159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14161 {
14162 PyThreadState* __tstate = wxPyBeginAllowThreads();
14163 (arg1)->base_DoSetClientSize(arg2,arg3);
14164
14165 wxPyEndAllowThreads(__tstate);
14166 if (PyErr_Occurred()) SWIG_fail;
14167 }
14168 Py_INCREF(Py_None); resultobj = Py_None;
14169 return resultobj;
14170 fail:
14171 return NULL;
14172 }
14173
14174
14175 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14176 PyObject *resultobj;
14177 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14178 int arg2 ;
14179 int arg3 ;
14180 PyObject * obj0 = 0 ;
14181 char *kwnames[] = {
14182 (char *) "self",(char *) "x",(char *) "y", NULL
14183 };
14184
14185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14187 {
14188 PyThreadState* __tstate = wxPyBeginAllowThreads();
14189 (arg1)->base_DoSetVirtualSize(arg2,arg3);
14190
14191 wxPyEndAllowThreads(__tstate);
14192 if (PyErr_Occurred()) SWIG_fail;
14193 }
14194 Py_INCREF(Py_None); resultobj = Py_None;
14195 return resultobj;
14196 fail:
14197 return NULL;
14198 }
14199
14200
14201 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14202 PyObject *resultobj;
14203 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14204 int *arg2 = (int *) 0 ;
14205 int *arg3 = (int *) 0 ;
14206 int temp2 ;
14207 int temp3 ;
14208 PyObject * obj0 = 0 ;
14209 char *kwnames[] = {
14210 (char *) "self", NULL
14211 };
14212
14213 arg2 = &temp2;
14214 arg3 = &temp3;
14215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
14216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14217 {
14218 PyThreadState* __tstate = wxPyBeginAllowThreads();
14219 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
14220
14221 wxPyEndAllowThreads(__tstate);
14222 if (PyErr_Occurred()) SWIG_fail;
14223 }
14224 Py_INCREF(Py_None); resultobj = Py_None;
14225 {
14226 PyObject *o = PyInt_FromLong((long) (*arg2));
14227 resultobj = t_output_helper(resultobj,o);
14228 }
14229 {
14230 PyObject *o = PyInt_FromLong((long) (*arg3));
14231 resultobj = t_output_helper(resultobj,o);
14232 }
14233 return resultobj;
14234 fail:
14235 return NULL;
14236 }
14237
14238
14239 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14240 PyObject *resultobj;
14241 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14242 int *arg2 = (int *) 0 ;
14243 int *arg3 = (int *) 0 ;
14244 int temp2 ;
14245 int temp3 ;
14246 PyObject * obj0 = 0 ;
14247 char *kwnames[] = {
14248 (char *) "self", NULL
14249 };
14250
14251 arg2 = &temp2;
14252 arg3 = &temp3;
14253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
14254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14255 {
14256 PyThreadState* __tstate = wxPyBeginAllowThreads();
14257 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
14258
14259 wxPyEndAllowThreads(__tstate);
14260 if (PyErr_Occurred()) SWIG_fail;
14261 }
14262 Py_INCREF(Py_None); resultobj = Py_None;
14263 {
14264 PyObject *o = PyInt_FromLong((long) (*arg2));
14265 resultobj = t_output_helper(resultobj,o);
14266 }
14267 {
14268 PyObject *o = PyInt_FromLong((long) (*arg3));
14269 resultobj = t_output_helper(resultobj,o);
14270 }
14271 return resultobj;
14272 fail:
14273 return NULL;
14274 }
14275
14276
14277 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14278 PyObject *resultobj;
14279 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14280 int *arg2 = (int *) 0 ;
14281 int *arg3 = (int *) 0 ;
14282 int temp2 ;
14283 int temp3 ;
14284 PyObject * obj0 = 0 ;
14285 char *kwnames[] = {
14286 (char *) "self", NULL
14287 };
14288
14289 arg2 = &temp2;
14290 arg3 = &temp3;
14291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
14292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14293 {
14294 PyThreadState* __tstate = wxPyBeginAllowThreads();
14295 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
14296
14297 wxPyEndAllowThreads(__tstate);
14298 if (PyErr_Occurred()) SWIG_fail;
14299 }
14300 Py_INCREF(Py_None); resultobj = Py_None;
14301 {
14302 PyObject *o = PyInt_FromLong((long) (*arg2));
14303 resultobj = t_output_helper(resultobj,o);
14304 }
14305 {
14306 PyObject *o = PyInt_FromLong((long) (*arg3));
14307 resultobj = t_output_helper(resultobj,o);
14308 }
14309 return resultobj;
14310 fail:
14311 return NULL;
14312 }
14313
14314
14315 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14316 PyObject *resultobj;
14317 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14318 wxSize result;
14319 PyObject * obj0 = 0 ;
14320 char *kwnames[] = {
14321 (char *) "self", NULL
14322 };
14323
14324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
14325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14326 {
14327 PyThreadState* __tstate = wxPyBeginAllowThreads();
14328 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
14329
14330 wxPyEndAllowThreads(__tstate);
14331 if (PyErr_Occurred()) SWIG_fail;
14332 }
14333 {
14334 wxSize * resultptr;
14335 resultptr = new wxSize((wxSize &) result);
14336 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14337 }
14338 return resultobj;
14339 fail:
14340 return NULL;
14341 }
14342
14343
14344 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14345 PyObject *resultobj;
14346 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14347 wxSize result;
14348 PyObject * obj0 = 0 ;
14349 char *kwnames[] = {
14350 (char *) "self", NULL
14351 };
14352
14353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
14354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14355 {
14356 PyThreadState* __tstate = wxPyBeginAllowThreads();
14357 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
14358
14359 wxPyEndAllowThreads(__tstate);
14360 if (PyErr_Occurred()) SWIG_fail;
14361 }
14362 {
14363 wxSize * resultptr;
14364 resultptr = new wxSize((wxSize &) result);
14365 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14366 }
14367 return resultobj;
14368 fail:
14369 return NULL;
14370 }
14371
14372
14373 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14374 PyObject *resultobj;
14375 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14376 PyObject * obj0 = 0 ;
14377 char *kwnames[] = {
14378 (char *) "self", NULL
14379 };
14380
14381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
14382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14383 {
14384 PyThreadState* __tstate = wxPyBeginAllowThreads();
14385 (arg1)->base_InitDialog();
14386
14387 wxPyEndAllowThreads(__tstate);
14388 if (PyErr_Occurred()) SWIG_fail;
14389 }
14390 Py_INCREF(Py_None); resultobj = Py_None;
14391 return resultobj;
14392 fail:
14393 return NULL;
14394 }
14395
14396
14397 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14398 PyObject *resultobj;
14399 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14400 bool result;
14401 PyObject * obj0 = 0 ;
14402 char *kwnames[] = {
14403 (char *) "self", NULL
14404 };
14405
14406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
14407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14408 {
14409 PyThreadState* __tstate = wxPyBeginAllowThreads();
14410 result = (bool)(arg1)->base_TransferDataToWindow();
14411
14412 wxPyEndAllowThreads(__tstate);
14413 if (PyErr_Occurred()) SWIG_fail;
14414 }
14415 resultobj = PyInt_FromLong((long)result);
14416 return resultobj;
14417 fail:
14418 return NULL;
14419 }
14420
14421
14422 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14423 PyObject *resultobj;
14424 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14425 bool result;
14426 PyObject * obj0 = 0 ;
14427 char *kwnames[] = {
14428 (char *) "self", NULL
14429 };
14430
14431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
14432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14433 {
14434 PyThreadState* __tstate = wxPyBeginAllowThreads();
14435 result = (bool)(arg1)->base_TransferDataFromWindow();
14436
14437 wxPyEndAllowThreads(__tstate);
14438 if (PyErr_Occurred()) SWIG_fail;
14439 }
14440 resultobj = PyInt_FromLong((long)result);
14441 return resultobj;
14442 fail:
14443 return NULL;
14444 }
14445
14446
14447 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
14448 PyObject *resultobj;
14449 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14450 bool result;
14451 PyObject * obj0 = 0 ;
14452 char *kwnames[] = {
14453 (char *) "self", NULL
14454 };
14455
14456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
14457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14458 {
14459 PyThreadState* __tstate = wxPyBeginAllowThreads();
14460 result = (bool)(arg1)->base_Validate();
14461
14462 wxPyEndAllowThreads(__tstate);
14463 if (PyErr_Occurred()) SWIG_fail;
14464 }
14465 resultobj = PyInt_FromLong((long)result);
14466 return resultobj;
14467 fail:
14468 return NULL;
14469 }
14470
14471
14472 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
14473 PyObject *resultobj;
14474 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14475 bool result;
14476 PyObject * obj0 = 0 ;
14477 char *kwnames[] = {
14478 (char *) "self", NULL
14479 };
14480
14481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
14482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14483 {
14484 PyThreadState* __tstate = wxPyBeginAllowThreads();
14485 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
14486
14487 wxPyEndAllowThreads(__tstate);
14488 if (PyErr_Occurred()) SWIG_fail;
14489 }
14490 resultobj = PyInt_FromLong((long)result);
14491 return resultobj;
14492 fail:
14493 return NULL;
14494 }
14495
14496
14497 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
14498 PyObject *resultobj;
14499 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14500 bool result;
14501 PyObject * obj0 = 0 ;
14502 char *kwnames[] = {
14503 (char *) "self", NULL
14504 };
14505
14506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
14507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14508 {
14509 PyThreadState* __tstate = wxPyBeginAllowThreads();
14510 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
14511
14512 wxPyEndAllowThreads(__tstate);
14513 if (PyErr_Occurred()) SWIG_fail;
14514 }
14515 resultobj = PyInt_FromLong((long)result);
14516 return resultobj;
14517 fail:
14518 return NULL;
14519 }
14520
14521
14522 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14523 PyObject *resultobj;
14524 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14525 wxSize result;
14526 PyObject * obj0 = 0 ;
14527 char *kwnames[] = {
14528 (char *) "self", NULL
14529 };
14530
14531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
14532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14533 {
14534 PyThreadState* __tstate = wxPyBeginAllowThreads();
14535 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
14536
14537 wxPyEndAllowThreads(__tstate);
14538 if (PyErr_Occurred()) SWIG_fail;
14539 }
14540 {
14541 wxSize * resultptr;
14542 resultptr = new wxSize((wxSize &) result);
14543 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14544 }
14545 return resultobj;
14546 fail:
14547 return NULL;
14548 }
14549
14550
14551 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14552 PyObject *resultobj;
14553 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14554 wxWindow *arg2 = (wxWindow *) 0 ;
14555 PyObject * obj0 = 0 ;
14556 PyObject * obj1 = 0 ;
14557 char *kwnames[] = {
14558 (char *) "self",(char *) "child", NULL
14559 };
14560
14561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
14562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14563 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14564 {
14565 PyThreadState* __tstate = wxPyBeginAllowThreads();
14566 (arg1)->base_AddChild(arg2);
14567
14568 wxPyEndAllowThreads(__tstate);
14569 if (PyErr_Occurred()) SWIG_fail;
14570 }
14571 Py_INCREF(Py_None); resultobj = Py_None;
14572 return resultobj;
14573 fail:
14574 return NULL;
14575 }
14576
14577
14578 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14579 PyObject *resultobj;
14580 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14581 wxWindow *arg2 = (wxWindow *) 0 ;
14582 PyObject * obj0 = 0 ;
14583 PyObject * obj1 = 0 ;
14584 char *kwnames[] = {
14585 (char *) "self",(char *) "child", NULL
14586 };
14587
14588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
14589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14590 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14591 {
14592 PyThreadState* __tstate = wxPyBeginAllowThreads();
14593 (arg1)->base_RemoveChild(arg2);
14594
14595 wxPyEndAllowThreads(__tstate);
14596 if (PyErr_Occurred()) SWIG_fail;
14597 }
14598 Py_INCREF(Py_None); resultobj = Py_None;
14599 return resultobj;
14600 fail:
14601 return NULL;
14602 }
14603
14604
14605 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
14606 PyObject *obj;
14607 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14608 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
14609 Py_INCREF(obj);
14610 return Py_BuildValue((char *)"");
14611 }
14612 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
14613 PyObject *resultobj;
14614 wxPrintData *result;
14615 char *kwnames[] = {
14616 NULL
14617 };
14618
14619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
14620 {
14621 PyThreadState* __tstate = wxPyBeginAllowThreads();
14622 result = (wxPrintData *)new wxPrintData();
14623
14624 wxPyEndAllowThreads(__tstate);
14625 if (PyErr_Occurred()) SWIG_fail;
14626 }
14627 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 1);
14628 return resultobj;
14629 fail:
14630 return NULL;
14631 }
14632
14633
14634 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
14635 PyObject *resultobj;
14636 wxPrintData *arg1 = (wxPrintData *) 0 ;
14637 PyObject * obj0 = 0 ;
14638 char *kwnames[] = {
14639 (char *) "self", NULL
14640 };
14641
14642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
14643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14644 {
14645 PyThreadState* __tstate = wxPyBeginAllowThreads();
14646 delete arg1;
14647
14648 wxPyEndAllowThreads(__tstate);
14649 if (PyErr_Occurred()) SWIG_fail;
14650 }
14651 Py_INCREF(Py_None); resultobj = Py_None;
14652 return resultobj;
14653 fail:
14654 return NULL;
14655 }
14656
14657
14658 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
14659 PyObject *resultobj;
14660 wxPrintData *arg1 = (wxPrintData *) 0 ;
14661 int result;
14662 PyObject * obj0 = 0 ;
14663 char *kwnames[] = {
14664 (char *) "self", NULL
14665 };
14666
14667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
14668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14669 {
14670 PyThreadState* __tstate = wxPyBeginAllowThreads();
14671 result = (int)(arg1)->GetNoCopies();
14672
14673 wxPyEndAllowThreads(__tstate);
14674 if (PyErr_Occurred()) SWIG_fail;
14675 }
14676 resultobj = PyInt_FromLong((long)result);
14677 return resultobj;
14678 fail:
14679 return NULL;
14680 }
14681
14682
14683 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
14684 PyObject *resultobj;
14685 wxPrintData *arg1 = (wxPrintData *) 0 ;
14686 bool result;
14687 PyObject * obj0 = 0 ;
14688 char *kwnames[] = {
14689 (char *) "self", NULL
14690 };
14691
14692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
14693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14694 {
14695 PyThreadState* __tstate = wxPyBeginAllowThreads();
14696 result = (bool)(arg1)->GetCollate();
14697
14698 wxPyEndAllowThreads(__tstate);
14699 if (PyErr_Occurred()) SWIG_fail;
14700 }
14701 resultobj = PyInt_FromLong((long)result);
14702 return resultobj;
14703 fail:
14704 return NULL;
14705 }
14706
14707
14708 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
14709 PyObject *resultobj;
14710 wxPrintData *arg1 = (wxPrintData *) 0 ;
14711 int result;
14712 PyObject * obj0 = 0 ;
14713 char *kwnames[] = {
14714 (char *) "self", NULL
14715 };
14716
14717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
14718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14719 {
14720 PyThreadState* __tstate = wxPyBeginAllowThreads();
14721 result = (int)(arg1)->GetOrientation();
14722
14723 wxPyEndAllowThreads(__tstate);
14724 if (PyErr_Occurred()) SWIG_fail;
14725 }
14726 resultobj = PyInt_FromLong((long)result);
14727 return resultobj;
14728 fail:
14729 return NULL;
14730 }
14731
14732
14733 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
14734 PyObject *resultobj;
14735 wxPrintData *arg1 = (wxPrintData *) 0 ;
14736 bool result;
14737 PyObject * obj0 = 0 ;
14738 char *kwnames[] = {
14739 (char *) "self", NULL
14740 };
14741
14742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
14743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14744 {
14745 PyThreadState* __tstate = wxPyBeginAllowThreads();
14746 result = (bool)(arg1)->Ok();
14747
14748 wxPyEndAllowThreads(__tstate);
14749 if (PyErr_Occurred()) SWIG_fail;
14750 }
14751 resultobj = PyInt_FromLong((long)result);
14752 return resultobj;
14753 fail:
14754 return NULL;
14755 }
14756
14757
14758 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
14759 PyObject *resultobj;
14760 wxPrintData *arg1 = (wxPrintData *) 0 ;
14761 wxString *result;
14762 PyObject * obj0 = 0 ;
14763 char *kwnames[] = {
14764 (char *) "self", NULL
14765 };
14766
14767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
14768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14769 {
14770 PyThreadState* __tstate = wxPyBeginAllowThreads();
14771 {
14772 wxString const &_result_ref = (arg1)->GetPrinterName();
14773 result = (wxString *) &_result_ref;
14774 }
14775
14776 wxPyEndAllowThreads(__tstate);
14777 if (PyErr_Occurred()) SWIG_fail;
14778 }
14779 {
14780 #if wxUSE_UNICODE
14781 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14782 #else
14783 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14784 #endif
14785 }
14786 return resultobj;
14787 fail:
14788 return NULL;
14789 }
14790
14791
14792 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
14793 PyObject *resultobj;
14794 wxPrintData *arg1 = (wxPrintData *) 0 ;
14795 bool result;
14796 PyObject * obj0 = 0 ;
14797 char *kwnames[] = {
14798 (char *) "self", NULL
14799 };
14800
14801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
14802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14803 {
14804 PyThreadState* __tstate = wxPyBeginAllowThreads();
14805 result = (bool)(arg1)->GetColour();
14806
14807 wxPyEndAllowThreads(__tstate);
14808 if (PyErr_Occurred()) SWIG_fail;
14809 }
14810 resultobj = PyInt_FromLong((long)result);
14811 return resultobj;
14812 fail:
14813 return NULL;
14814 }
14815
14816
14817 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
14818 PyObject *resultobj;
14819 wxPrintData *arg1 = (wxPrintData *) 0 ;
14820 int result;
14821 PyObject * obj0 = 0 ;
14822 char *kwnames[] = {
14823 (char *) "self", NULL
14824 };
14825
14826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
14827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14828 {
14829 PyThreadState* __tstate = wxPyBeginAllowThreads();
14830 result = (int)(arg1)->GetDuplex();
14831
14832 wxPyEndAllowThreads(__tstate);
14833 if (PyErr_Occurred()) SWIG_fail;
14834 }
14835 resultobj = PyInt_FromLong((long)result);
14836 return resultobj;
14837 fail:
14838 return NULL;
14839 }
14840
14841
14842 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
14843 PyObject *resultobj;
14844 wxPrintData *arg1 = (wxPrintData *) 0 ;
14845 int result;
14846 PyObject * obj0 = 0 ;
14847 char *kwnames[] = {
14848 (char *) "self", NULL
14849 };
14850
14851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
14852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14853 {
14854 PyThreadState* __tstate = wxPyBeginAllowThreads();
14855 result = (int)(arg1)->GetPaperId();
14856
14857 wxPyEndAllowThreads(__tstate);
14858 if (PyErr_Occurred()) SWIG_fail;
14859 }
14860 resultobj = PyInt_FromLong((long)result);
14861 return resultobj;
14862 fail:
14863 return NULL;
14864 }
14865
14866
14867 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14868 PyObject *resultobj;
14869 wxPrintData *arg1 = (wxPrintData *) 0 ;
14870 wxSize *result;
14871 PyObject * obj0 = 0 ;
14872 char *kwnames[] = {
14873 (char *) "self", NULL
14874 };
14875
14876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
14877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14878 {
14879 PyThreadState* __tstate = wxPyBeginAllowThreads();
14880 {
14881 wxSize const &_result_ref = (arg1)->GetPaperSize();
14882 result = (wxSize *) &_result_ref;
14883 }
14884
14885 wxPyEndAllowThreads(__tstate);
14886 if (PyErr_Occurred()) SWIG_fail;
14887 }
14888 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
14889 return resultobj;
14890 fail:
14891 return NULL;
14892 }
14893
14894
14895 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
14896 PyObject *resultobj;
14897 wxPrintData *arg1 = (wxPrintData *) 0 ;
14898 wxPrintQuality result;
14899 PyObject * obj0 = 0 ;
14900 char *kwnames[] = {
14901 (char *) "self", NULL
14902 };
14903
14904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
14905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14906 {
14907 PyThreadState* __tstate = wxPyBeginAllowThreads();
14908 result = (arg1)->GetQuality();
14909
14910 wxPyEndAllowThreads(__tstate);
14911 if (PyErr_Occurred()) SWIG_fail;
14912 }
14913 {
14914 wxPrintQuality * resultptr;
14915 resultptr = new wxPrintQuality((wxPrintQuality &) result);
14916 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPrintQuality, 1);
14917 }
14918 return resultobj;
14919 fail:
14920 return NULL;
14921 }
14922
14923
14924 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
14925 PyObject *resultobj;
14926 wxPrintData *arg1 = (wxPrintData *) 0 ;
14927 int arg2 ;
14928 PyObject * obj0 = 0 ;
14929 char *kwnames[] = {
14930 (char *) "self",(char *) "v", NULL
14931 };
14932
14933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
14934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14935 {
14936 PyThreadState* __tstate = wxPyBeginAllowThreads();
14937 (arg1)->SetNoCopies(arg2);
14938
14939 wxPyEndAllowThreads(__tstate);
14940 if (PyErr_Occurred()) SWIG_fail;
14941 }
14942 Py_INCREF(Py_None); resultobj = Py_None;
14943 return resultobj;
14944 fail:
14945 return NULL;
14946 }
14947
14948
14949 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
14950 PyObject *resultobj;
14951 wxPrintData *arg1 = (wxPrintData *) 0 ;
14952 bool arg2 ;
14953 PyObject * obj0 = 0 ;
14954 PyObject * obj1 = 0 ;
14955 char *kwnames[] = {
14956 (char *) "self",(char *) "flag", NULL
14957 };
14958
14959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
14960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14961 arg2 = PyInt_AsLong(obj1) ? true : false;
14962 if (PyErr_Occurred()) SWIG_fail;
14963 {
14964 PyThreadState* __tstate = wxPyBeginAllowThreads();
14965 (arg1)->SetCollate(arg2);
14966
14967 wxPyEndAllowThreads(__tstate);
14968 if (PyErr_Occurred()) SWIG_fail;
14969 }
14970 Py_INCREF(Py_None); resultobj = Py_None;
14971 return resultobj;
14972 fail:
14973 return NULL;
14974 }
14975
14976
14977 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
14978 PyObject *resultobj;
14979 wxPrintData *arg1 = (wxPrintData *) 0 ;
14980 int arg2 ;
14981 PyObject * obj0 = 0 ;
14982 char *kwnames[] = {
14983 (char *) "self",(char *) "orient", NULL
14984 };
14985
14986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
14987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14988 {
14989 PyThreadState* __tstate = wxPyBeginAllowThreads();
14990 (arg1)->SetOrientation(arg2);
14991
14992 wxPyEndAllowThreads(__tstate);
14993 if (PyErr_Occurred()) SWIG_fail;
14994 }
14995 Py_INCREF(Py_None); resultobj = Py_None;
14996 return resultobj;
14997 fail:
14998 return NULL;
14999 }
15000
15001
15002 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
15003 PyObject *resultobj;
15004 wxPrintData *arg1 = (wxPrintData *) 0 ;
15005 wxString *arg2 = 0 ;
15006 bool temp2 = False ;
15007 PyObject * obj0 = 0 ;
15008 PyObject * obj1 = 0 ;
15009 char *kwnames[] = {
15010 (char *) "self",(char *) "name", NULL
15011 };
15012
15013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
15014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15015 {
15016 arg2 = wxString_in_helper(obj1);
15017 if (arg2 == NULL) SWIG_fail;
15018 temp2 = True;
15019 }
15020 {
15021 PyThreadState* __tstate = wxPyBeginAllowThreads();
15022 (arg1)->SetPrinterName((wxString const &)*arg2);
15023
15024 wxPyEndAllowThreads(__tstate);
15025 if (PyErr_Occurred()) SWIG_fail;
15026 }
15027 Py_INCREF(Py_None); resultobj = Py_None;
15028 {
15029 if (temp2)
15030 delete arg2;
15031 }
15032 return resultobj;
15033 fail:
15034 {
15035 if (temp2)
15036 delete arg2;
15037 }
15038 return NULL;
15039 }
15040
15041
15042 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15043 PyObject *resultobj;
15044 wxPrintData *arg1 = (wxPrintData *) 0 ;
15045 bool arg2 ;
15046 PyObject * obj0 = 0 ;
15047 PyObject * obj1 = 0 ;
15048 char *kwnames[] = {
15049 (char *) "self",(char *) "colour", NULL
15050 };
15051
15052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15054 arg2 = PyInt_AsLong(obj1) ? true : false;
15055 if (PyErr_Occurred()) SWIG_fail;
15056 {
15057 PyThreadState* __tstate = wxPyBeginAllowThreads();
15058 (arg1)->SetColour(arg2);
15059
15060 wxPyEndAllowThreads(__tstate);
15061 if (PyErr_Occurred()) SWIG_fail;
15062 }
15063 Py_INCREF(Py_None); resultobj = Py_None;
15064 return resultobj;
15065 fail:
15066 return NULL;
15067 }
15068
15069
15070 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
15071 PyObject *resultobj;
15072 wxPrintData *arg1 = (wxPrintData *) 0 ;
15073 int arg2 ;
15074 PyObject * obj0 = 0 ;
15075 char *kwnames[] = {
15076 (char *) "self",(char *) "duplex", NULL
15077 };
15078
15079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetDuplex",kwnames,&obj0,&arg2)) goto fail;
15080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15081 {
15082 PyThreadState* __tstate = wxPyBeginAllowThreads();
15083 (arg1)->SetDuplex((wxDuplexMode )arg2);
15084
15085 wxPyEndAllowThreads(__tstate);
15086 if (PyErr_Occurred()) SWIG_fail;
15087 }
15088 Py_INCREF(Py_None); resultobj = Py_None;
15089 return resultobj;
15090 fail:
15091 return NULL;
15092 }
15093
15094
15095 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
15096 PyObject *resultobj;
15097 wxPrintData *arg1 = (wxPrintData *) 0 ;
15098 int arg2 ;
15099 PyObject * obj0 = 0 ;
15100 char *kwnames[] = {
15101 (char *) "self",(char *) "sizeId", NULL
15102 };
15103
15104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
15105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15106 {
15107 PyThreadState* __tstate = wxPyBeginAllowThreads();
15108 (arg1)->SetPaperId((wxPaperSize )arg2);
15109
15110 wxPyEndAllowThreads(__tstate);
15111 if (PyErr_Occurred()) SWIG_fail;
15112 }
15113 Py_INCREF(Py_None); resultobj = Py_None;
15114 return resultobj;
15115 fail:
15116 return NULL;
15117 }
15118
15119
15120 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15121 PyObject *resultobj;
15122 wxPrintData *arg1 = (wxPrintData *) 0 ;
15123 wxSize *arg2 = 0 ;
15124 wxSize temp2 ;
15125 PyObject * obj0 = 0 ;
15126 PyObject * obj1 = 0 ;
15127 char *kwnames[] = {
15128 (char *) "self",(char *) "sz", NULL
15129 };
15130
15131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
15132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15133 {
15134 arg2 = &temp2;
15135 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15136 }
15137 {
15138 PyThreadState* __tstate = wxPyBeginAllowThreads();
15139 (arg1)->SetPaperSize((wxSize const &)*arg2);
15140
15141 wxPyEndAllowThreads(__tstate);
15142 if (PyErr_Occurred()) SWIG_fail;
15143 }
15144 Py_INCREF(Py_None); resultobj = Py_None;
15145 return resultobj;
15146 fail:
15147 return NULL;
15148 }
15149
15150
15151 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
15152 PyObject *resultobj;
15153 wxPrintData *arg1 = (wxPrintData *) 0 ;
15154 wxPrintQuality arg2 ;
15155 wxPrintQuality *argp2 ;
15156 PyObject * obj0 = 0 ;
15157 PyObject * obj1 = 0 ;
15158 char *kwnames[] = {
15159 (char *) "self",(char *) "quality", NULL
15160 };
15161
15162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
15163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15164 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxPrintQuality,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
15165 arg2 = *argp2;
15166 {
15167 PyThreadState* __tstate = wxPyBeginAllowThreads();
15168 (arg1)->SetQuality(arg2);
15169
15170 wxPyEndAllowThreads(__tstate);
15171 if (PyErr_Occurred()) SWIG_fail;
15172 }
15173 Py_INCREF(Py_None); resultobj = Py_None;
15174 return resultobj;
15175 fail:
15176 return NULL;
15177 }
15178
15179
15180 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15181 PyObject *resultobj;
15182 wxPrintData *arg1 = (wxPrintData *) 0 ;
15183 wxString *result;
15184 PyObject * obj0 = 0 ;
15185 char *kwnames[] = {
15186 (char *) "self", NULL
15187 };
15188
15189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
15190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15191 {
15192 PyThreadState* __tstate = wxPyBeginAllowThreads();
15193 {
15194 wxString const &_result_ref = (arg1)->GetPrinterCommand();
15195 result = (wxString *) &_result_ref;
15196 }
15197
15198 wxPyEndAllowThreads(__tstate);
15199 if (PyErr_Occurred()) SWIG_fail;
15200 }
15201 {
15202 #if wxUSE_UNICODE
15203 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15204 #else
15205 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15206 #endif
15207 }
15208 return resultobj;
15209 fail:
15210 return NULL;
15211 }
15212
15213
15214 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15215 PyObject *resultobj;
15216 wxPrintData *arg1 = (wxPrintData *) 0 ;
15217 wxString *result;
15218 PyObject * obj0 = 0 ;
15219 char *kwnames[] = {
15220 (char *) "self", NULL
15221 };
15222
15223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",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 {
15228 wxString const &_result_ref = (arg1)->GetPrinterOptions();
15229 result = (wxString *) &_result_ref;
15230 }
15231
15232 wxPyEndAllowThreads(__tstate);
15233 if (PyErr_Occurred()) SWIG_fail;
15234 }
15235 {
15236 #if wxUSE_UNICODE
15237 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15238 #else
15239 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15240 #endif
15241 }
15242 return resultobj;
15243 fail:
15244 return NULL;
15245 }
15246
15247
15248 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15249 PyObject *resultobj;
15250 wxPrintData *arg1 = (wxPrintData *) 0 ;
15251 wxString *result;
15252 PyObject * obj0 = 0 ;
15253 char *kwnames[] = {
15254 (char *) "self", NULL
15255 };
15256
15257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
15258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15259 {
15260 PyThreadState* __tstate = wxPyBeginAllowThreads();
15261 {
15262 wxString const &_result_ref = (arg1)->GetPreviewCommand();
15263 result = (wxString *) &_result_ref;
15264 }
15265
15266 wxPyEndAllowThreads(__tstate);
15267 if (PyErr_Occurred()) SWIG_fail;
15268 }
15269 {
15270 #if wxUSE_UNICODE
15271 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15272 #else
15273 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15274 #endif
15275 }
15276 return resultobj;
15277 fail:
15278 return NULL;
15279 }
15280
15281
15282 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
15283 PyObject *resultobj;
15284 wxPrintData *arg1 = (wxPrintData *) 0 ;
15285 wxString *result;
15286 PyObject * obj0 = 0 ;
15287 char *kwnames[] = {
15288 (char *) "self", NULL
15289 };
15290
15291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
15292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15293 {
15294 PyThreadState* __tstate = wxPyBeginAllowThreads();
15295 {
15296 wxString const &_result_ref = (arg1)->GetFilename();
15297 result = (wxString *) &_result_ref;
15298 }
15299
15300 wxPyEndAllowThreads(__tstate);
15301 if (PyErr_Occurred()) SWIG_fail;
15302 }
15303 {
15304 #if wxUSE_UNICODE
15305 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15306 #else
15307 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15308 #endif
15309 }
15310 return resultobj;
15311 fail:
15312 return NULL;
15313 }
15314
15315
15316 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
15317 PyObject *resultobj;
15318 wxPrintData *arg1 = (wxPrintData *) 0 ;
15319 wxString *result;
15320 PyObject * obj0 = 0 ;
15321 char *kwnames[] = {
15322 (char *) "self", NULL
15323 };
15324
15325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
15326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15327 {
15328 PyThreadState* __tstate = wxPyBeginAllowThreads();
15329 {
15330 wxString const &_result_ref = (arg1)->GetFontMetricPath();
15331 result = (wxString *) &_result_ref;
15332 }
15333
15334 wxPyEndAllowThreads(__tstate);
15335 if (PyErr_Occurred()) SWIG_fail;
15336 }
15337 {
15338 #if wxUSE_UNICODE
15339 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15340 #else
15341 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15342 #endif
15343 }
15344 return resultobj;
15345 fail:
15346 return NULL;
15347 }
15348
15349
15350 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
15351 PyObject *resultobj;
15352 wxPrintData *arg1 = (wxPrintData *) 0 ;
15353 double result;
15354 PyObject * obj0 = 0 ;
15355 char *kwnames[] = {
15356 (char *) "self", NULL
15357 };
15358
15359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
15360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15361 {
15362 PyThreadState* __tstate = wxPyBeginAllowThreads();
15363 result = (double)(arg1)->GetPrinterScaleX();
15364
15365 wxPyEndAllowThreads(__tstate);
15366 if (PyErr_Occurred()) SWIG_fail;
15367 }
15368 resultobj = PyFloat_FromDouble(result);
15369 return resultobj;
15370 fail:
15371 return NULL;
15372 }
15373
15374
15375 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
15376 PyObject *resultobj;
15377 wxPrintData *arg1 = (wxPrintData *) 0 ;
15378 double result;
15379 PyObject * obj0 = 0 ;
15380 char *kwnames[] = {
15381 (char *) "self", NULL
15382 };
15383
15384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
15385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15386 {
15387 PyThreadState* __tstate = wxPyBeginAllowThreads();
15388 result = (double)(arg1)->GetPrinterScaleY();
15389
15390 wxPyEndAllowThreads(__tstate);
15391 if (PyErr_Occurred()) SWIG_fail;
15392 }
15393 resultobj = PyFloat_FromDouble(result);
15394 return resultobj;
15395 fail:
15396 return NULL;
15397 }
15398
15399
15400 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
15401 PyObject *resultobj;
15402 wxPrintData *arg1 = (wxPrintData *) 0 ;
15403 long result;
15404 PyObject * obj0 = 0 ;
15405 char *kwnames[] = {
15406 (char *) "self", NULL
15407 };
15408
15409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
15410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15411 {
15412 PyThreadState* __tstate = wxPyBeginAllowThreads();
15413 result = (long)(arg1)->GetPrinterTranslateX();
15414
15415 wxPyEndAllowThreads(__tstate);
15416 if (PyErr_Occurred()) SWIG_fail;
15417 }
15418 resultobj = PyInt_FromLong((long)result);
15419 return resultobj;
15420 fail:
15421 return NULL;
15422 }
15423
15424
15425 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
15426 PyObject *resultobj;
15427 wxPrintData *arg1 = (wxPrintData *) 0 ;
15428 long result;
15429 PyObject * obj0 = 0 ;
15430 char *kwnames[] = {
15431 (char *) "self", NULL
15432 };
15433
15434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
15435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15436 {
15437 PyThreadState* __tstate = wxPyBeginAllowThreads();
15438 result = (long)(arg1)->GetPrinterTranslateY();
15439
15440 wxPyEndAllowThreads(__tstate);
15441 if (PyErr_Occurred()) SWIG_fail;
15442 }
15443 resultobj = PyInt_FromLong((long)result);
15444 return resultobj;
15445 fail:
15446 return NULL;
15447 }
15448
15449
15450 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
15451 PyObject *resultobj;
15452 wxPrintData *arg1 = (wxPrintData *) 0 ;
15453 int result;
15454 PyObject * obj0 = 0 ;
15455 char *kwnames[] = {
15456 (char *) "self", NULL
15457 };
15458
15459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
15460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15461 {
15462 PyThreadState* __tstate = wxPyBeginAllowThreads();
15463 result = (int)(arg1)->GetPrintMode();
15464
15465 wxPyEndAllowThreads(__tstate);
15466 if (PyErr_Occurred()) SWIG_fail;
15467 }
15468 resultobj = PyInt_FromLong((long)result);
15469 return resultobj;
15470 fail:
15471 return NULL;
15472 }
15473
15474
15475 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15476 PyObject *resultobj;
15477 wxPrintData *arg1 = (wxPrintData *) 0 ;
15478 wxString *arg2 = 0 ;
15479 bool temp2 = False ;
15480 PyObject * obj0 = 0 ;
15481 PyObject * obj1 = 0 ;
15482 char *kwnames[] = {
15483 (char *) "self",(char *) "command", NULL
15484 };
15485
15486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
15487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15488 {
15489 arg2 = wxString_in_helper(obj1);
15490 if (arg2 == NULL) SWIG_fail;
15491 temp2 = True;
15492 }
15493 {
15494 PyThreadState* __tstate = wxPyBeginAllowThreads();
15495 (arg1)->SetPrinterCommand((wxString const &)*arg2);
15496
15497 wxPyEndAllowThreads(__tstate);
15498 if (PyErr_Occurred()) SWIG_fail;
15499 }
15500 Py_INCREF(Py_None); resultobj = Py_None;
15501 {
15502 if (temp2)
15503 delete arg2;
15504 }
15505 return resultobj;
15506 fail:
15507 {
15508 if (temp2)
15509 delete arg2;
15510 }
15511 return NULL;
15512 }
15513
15514
15515 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15516 PyObject *resultobj;
15517 wxPrintData *arg1 = (wxPrintData *) 0 ;
15518 wxString *arg2 = 0 ;
15519 bool temp2 = False ;
15520 PyObject * obj0 = 0 ;
15521 PyObject * obj1 = 0 ;
15522 char *kwnames[] = {
15523 (char *) "self",(char *) "options", NULL
15524 };
15525
15526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
15527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15528 {
15529 arg2 = wxString_in_helper(obj1);
15530 if (arg2 == NULL) SWIG_fail;
15531 temp2 = True;
15532 }
15533 {
15534 PyThreadState* __tstate = wxPyBeginAllowThreads();
15535 (arg1)->SetPrinterOptions((wxString const &)*arg2);
15536
15537 wxPyEndAllowThreads(__tstate);
15538 if (PyErr_Occurred()) SWIG_fail;
15539 }
15540 Py_INCREF(Py_None); resultobj = Py_None;
15541 {
15542 if (temp2)
15543 delete arg2;
15544 }
15545 return resultobj;
15546 fail:
15547 {
15548 if (temp2)
15549 delete arg2;
15550 }
15551 return NULL;
15552 }
15553
15554
15555 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15556 PyObject *resultobj;
15557 wxPrintData *arg1 = (wxPrintData *) 0 ;
15558 wxString *arg2 = 0 ;
15559 bool temp2 = False ;
15560 PyObject * obj0 = 0 ;
15561 PyObject * obj1 = 0 ;
15562 char *kwnames[] = {
15563 (char *) "self",(char *) "command", NULL
15564 };
15565
15566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
15567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15568 {
15569 arg2 = wxString_in_helper(obj1);
15570 if (arg2 == NULL) SWIG_fail;
15571 temp2 = True;
15572 }
15573 {
15574 PyThreadState* __tstate = wxPyBeginAllowThreads();
15575 (arg1)->SetPreviewCommand((wxString const &)*arg2);
15576
15577 wxPyEndAllowThreads(__tstate);
15578 if (PyErr_Occurred()) SWIG_fail;
15579 }
15580 Py_INCREF(Py_None); resultobj = Py_None;
15581 {
15582 if (temp2)
15583 delete arg2;
15584 }
15585 return resultobj;
15586 fail:
15587 {
15588 if (temp2)
15589 delete arg2;
15590 }
15591 return NULL;
15592 }
15593
15594
15595 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
15596 PyObject *resultobj;
15597 wxPrintData *arg1 = (wxPrintData *) 0 ;
15598 wxString *arg2 = 0 ;
15599 bool temp2 = False ;
15600 PyObject * obj0 = 0 ;
15601 PyObject * obj1 = 0 ;
15602 char *kwnames[] = {
15603 (char *) "self",(char *) "filename", NULL
15604 };
15605
15606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",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 = wxString_in_helper(obj1);
15610 if (arg2 == NULL) SWIG_fail;
15611 temp2 = True;
15612 }
15613 {
15614 PyThreadState* __tstate = wxPyBeginAllowThreads();
15615 (arg1)->SetFilename((wxString const &)*arg2);
15616
15617 wxPyEndAllowThreads(__tstate);
15618 if (PyErr_Occurred()) SWIG_fail;
15619 }
15620 Py_INCREF(Py_None); resultobj = Py_None;
15621 {
15622 if (temp2)
15623 delete arg2;
15624 }
15625 return resultobj;
15626 fail:
15627 {
15628 if (temp2)
15629 delete arg2;
15630 }
15631 return NULL;
15632 }
15633
15634
15635 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
15636 PyObject *resultobj;
15637 wxPrintData *arg1 = (wxPrintData *) 0 ;
15638 wxString *arg2 = 0 ;
15639 bool temp2 = False ;
15640 PyObject * obj0 = 0 ;
15641 PyObject * obj1 = 0 ;
15642 char *kwnames[] = {
15643 (char *) "self",(char *) "path", NULL
15644 };
15645
15646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
15647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15648 {
15649 arg2 = wxString_in_helper(obj1);
15650 if (arg2 == NULL) SWIG_fail;
15651 temp2 = True;
15652 }
15653 {
15654 PyThreadState* __tstate = wxPyBeginAllowThreads();
15655 (arg1)->SetFontMetricPath((wxString const &)*arg2);
15656
15657 wxPyEndAllowThreads(__tstate);
15658 if (PyErr_Occurred()) SWIG_fail;
15659 }
15660 Py_INCREF(Py_None); resultobj = Py_None;
15661 {
15662 if (temp2)
15663 delete arg2;
15664 }
15665 return resultobj;
15666 fail:
15667 {
15668 if (temp2)
15669 delete arg2;
15670 }
15671 return NULL;
15672 }
15673
15674
15675 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
15676 PyObject *resultobj;
15677 wxPrintData *arg1 = (wxPrintData *) 0 ;
15678 double arg2 ;
15679 PyObject * obj0 = 0 ;
15680 char *kwnames[] = {
15681 (char *) "self",(char *) "x", NULL
15682 };
15683
15684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleX",kwnames,&obj0,&arg2)) goto fail;
15685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15686 {
15687 PyThreadState* __tstate = wxPyBeginAllowThreads();
15688 (arg1)->SetPrinterScaleX(arg2);
15689
15690 wxPyEndAllowThreads(__tstate);
15691 if (PyErr_Occurred()) SWIG_fail;
15692 }
15693 Py_INCREF(Py_None); resultobj = Py_None;
15694 return resultobj;
15695 fail:
15696 return NULL;
15697 }
15698
15699
15700 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
15701 PyObject *resultobj;
15702 wxPrintData *arg1 = (wxPrintData *) 0 ;
15703 double arg2 ;
15704 PyObject * obj0 = 0 ;
15705 char *kwnames[] = {
15706 (char *) "self",(char *) "y", NULL
15707 };
15708
15709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleY",kwnames,&obj0,&arg2)) goto fail;
15710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15711 {
15712 PyThreadState* __tstate = wxPyBeginAllowThreads();
15713 (arg1)->SetPrinterScaleY(arg2);
15714
15715 wxPyEndAllowThreads(__tstate);
15716 if (PyErr_Occurred()) SWIG_fail;
15717 }
15718 Py_INCREF(Py_None); resultobj = Py_None;
15719 return resultobj;
15720 fail:
15721 return NULL;
15722 }
15723
15724
15725 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
15726 PyObject *resultobj;
15727 wxPrintData *arg1 = (wxPrintData *) 0 ;
15728 double arg2 ;
15729 double arg3 ;
15730 PyObject * obj0 = 0 ;
15731 char *kwnames[] = {
15732 (char *) "self",(char *) "x",(char *) "y", NULL
15733 };
15734
15735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PrintData_SetPrinterScaling",kwnames,&obj0,&arg2,&arg3)) goto fail;
15736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15737 {
15738 PyThreadState* __tstate = wxPyBeginAllowThreads();
15739 (arg1)->SetPrinterScaling(arg2,arg3);
15740
15741 wxPyEndAllowThreads(__tstate);
15742 if (PyErr_Occurred()) SWIG_fail;
15743 }
15744 Py_INCREF(Py_None); resultobj = Py_None;
15745 return resultobj;
15746 fail:
15747 return NULL;
15748 }
15749
15750
15751 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
15752 PyObject *resultobj;
15753 wxPrintData *arg1 = (wxPrintData *) 0 ;
15754 long arg2 ;
15755 PyObject * obj0 = 0 ;
15756 char *kwnames[] = {
15757 (char *) "self",(char *) "x", NULL
15758 };
15759
15760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateX",kwnames,&obj0,&arg2)) goto fail;
15761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15762 {
15763 PyThreadState* __tstate = wxPyBeginAllowThreads();
15764 (arg1)->SetPrinterTranslateX(arg2);
15765
15766 wxPyEndAllowThreads(__tstate);
15767 if (PyErr_Occurred()) SWIG_fail;
15768 }
15769 Py_INCREF(Py_None); resultobj = Py_None;
15770 return resultobj;
15771 fail:
15772 return NULL;
15773 }
15774
15775
15776 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
15777 PyObject *resultobj;
15778 wxPrintData *arg1 = (wxPrintData *) 0 ;
15779 long arg2 ;
15780 PyObject * obj0 = 0 ;
15781 char *kwnames[] = {
15782 (char *) "self",(char *) "y", NULL
15783 };
15784
15785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateY",kwnames,&obj0,&arg2)) goto fail;
15786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15787 {
15788 PyThreadState* __tstate = wxPyBeginAllowThreads();
15789 (arg1)->SetPrinterTranslateY(arg2);
15790
15791 wxPyEndAllowThreads(__tstate);
15792 if (PyErr_Occurred()) SWIG_fail;
15793 }
15794 Py_INCREF(Py_None); resultobj = Py_None;
15795 return resultobj;
15796 fail:
15797 return NULL;
15798 }
15799
15800
15801 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
15802 PyObject *resultobj;
15803 wxPrintData *arg1 = (wxPrintData *) 0 ;
15804 long arg2 ;
15805 long arg3 ;
15806 PyObject * obj0 = 0 ;
15807 char *kwnames[] = {
15808 (char *) "self",(char *) "x",(char *) "y", NULL
15809 };
15810
15811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:PrintData_SetPrinterTranslation",kwnames,&obj0,&arg2,&arg3)) goto fail;
15812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15813 {
15814 PyThreadState* __tstate = wxPyBeginAllowThreads();
15815 (arg1)->SetPrinterTranslation(arg2,arg3);
15816
15817 wxPyEndAllowThreads(__tstate);
15818 if (PyErr_Occurred()) SWIG_fail;
15819 }
15820 Py_INCREF(Py_None); resultobj = Py_None;
15821 return resultobj;
15822 fail:
15823 return NULL;
15824 }
15825
15826
15827 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
15828 PyObject *resultobj;
15829 wxPrintData *arg1 = (wxPrintData *) 0 ;
15830 int arg2 ;
15831 PyObject * obj0 = 0 ;
15832 char *kwnames[] = {
15833 (char *) "self",(char *) "printMode", NULL
15834 };
15835
15836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPrintMode",kwnames,&obj0,&arg2)) goto fail;
15837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15838 {
15839 PyThreadState* __tstate = wxPyBeginAllowThreads();
15840 (arg1)->SetPrintMode((wxPrintMode )arg2);
15841
15842 wxPyEndAllowThreads(__tstate);
15843 if (PyErr_Occurred()) SWIG_fail;
15844 }
15845 Py_INCREF(Py_None); resultobj = Py_None;
15846 return resultobj;
15847 fail:
15848 return NULL;
15849 }
15850
15851
15852 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
15853 PyObject *obj;
15854 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15855 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
15856 Py_INCREF(obj);
15857 return Py_BuildValue((char *)"");
15858 }
15859 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
15860 PyObject *resultobj;
15861 wxPageSetupDialogData *result;
15862 char *kwnames[] = {
15863 NULL
15864 };
15865
15866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
15867 {
15868 PyThreadState* __tstate = wxPyBeginAllowThreads();
15869 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
15870
15871 wxPyEndAllowThreads(__tstate);
15872 if (PyErr_Occurred()) SWIG_fail;
15873 }
15874 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 1);
15875 return resultobj;
15876 fail:
15877 return NULL;
15878 }
15879
15880
15881 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
15882 PyObject *resultobj;
15883 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15884 PyObject * obj0 = 0 ;
15885 char *kwnames[] = {
15886 (char *) "self", NULL
15887 };
15888
15889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
15890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15891 {
15892 PyThreadState* __tstate = wxPyBeginAllowThreads();
15893 delete arg1;
15894
15895 wxPyEndAllowThreads(__tstate);
15896 if (PyErr_Occurred()) SWIG_fail;
15897 }
15898 Py_INCREF(Py_None); resultobj = Py_None;
15899 return resultobj;
15900 fail:
15901 return NULL;
15902 }
15903
15904
15905 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15906 PyObject *resultobj;
15907 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15908 bool arg2 ;
15909 PyObject * obj0 = 0 ;
15910 PyObject * obj1 = 0 ;
15911 char *kwnames[] = {
15912 (char *) "self",(char *) "flag", NULL
15913 };
15914
15915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
15916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15917 arg2 = PyInt_AsLong(obj1) ? true : false;
15918 if (PyErr_Occurred()) SWIG_fail;
15919 {
15920 PyThreadState* __tstate = wxPyBeginAllowThreads();
15921 (arg1)->EnableHelp(arg2);
15922
15923 wxPyEndAllowThreads(__tstate);
15924 if (PyErr_Occurred()) SWIG_fail;
15925 }
15926 Py_INCREF(Py_None); resultobj = Py_None;
15927 return resultobj;
15928 fail:
15929 return NULL;
15930 }
15931
15932
15933 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
15934 PyObject *resultobj;
15935 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15936 bool arg2 ;
15937 PyObject * obj0 = 0 ;
15938 PyObject * obj1 = 0 ;
15939 char *kwnames[] = {
15940 (char *) "self",(char *) "flag", NULL
15941 };
15942
15943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
15944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15945 arg2 = PyInt_AsLong(obj1) ? true : false;
15946 if (PyErr_Occurred()) SWIG_fail;
15947 {
15948 PyThreadState* __tstate = wxPyBeginAllowThreads();
15949 (arg1)->EnableMargins(arg2);
15950
15951 wxPyEndAllowThreads(__tstate);
15952 if (PyErr_Occurred()) SWIG_fail;
15953 }
15954 Py_INCREF(Py_None); resultobj = Py_None;
15955 return resultobj;
15956 fail:
15957 return NULL;
15958 }
15959
15960
15961 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
15962 PyObject *resultobj;
15963 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15964 bool arg2 ;
15965 PyObject * obj0 = 0 ;
15966 PyObject * obj1 = 0 ;
15967 char *kwnames[] = {
15968 (char *) "self",(char *) "flag", NULL
15969 };
15970
15971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
15972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15973 arg2 = PyInt_AsLong(obj1) ? true : false;
15974 if (PyErr_Occurred()) SWIG_fail;
15975 {
15976 PyThreadState* __tstate = wxPyBeginAllowThreads();
15977 (arg1)->EnableOrientation(arg2);
15978
15979 wxPyEndAllowThreads(__tstate);
15980 if (PyErr_Occurred()) SWIG_fail;
15981 }
15982 Py_INCREF(Py_None); resultobj = Py_None;
15983 return resultobj;
15984 fail:
15985 return NULL;
15986 }
15987
15988
15989 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
15990 PyObject *resultobj;
15991 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15992 bool arg2 ;
15993 PyObject * obj0 = 0 ;
15994 PyObject * obj1 = 0 ;
15995 char *kwnames[] = {
15996 (char *) "self",(char *) "flag", NULL
15997 };
15998
15999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
16000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16001 arg2 = PyInt_AsLong(obj1) ? true : false;
16002 if (PyErr_Occurred()) SWIG_fail;
16003 {
16004 PyThreadState* __tstate = wxPyBeginAllowThreads();
16005 (arg1)->EnablePaper(arg2);
16006
16007 wxPyEndAllowThreads(__tstate);
16008 if (PyErr_Occurred()) SWIG_fail;
16009 }
16010 Py_INCREF(Py_None); resultobj = Py_None;
16011 return resultobj;
16012 fail:
16013 return NULL;
16014 }
16015
16016
16017 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16018 PyObject *resultobj;
16019 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16020 bool arg2 ;
16021 PyObject * obj0 = 0 ;
16022 PyObject * obj1 = 0 ;
16023 char *kwnames[] = {
16024 (char *) "self",(char *) "flag", NULL
16025 };
16026
16027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
16028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16029 arg2 = PyInt_AsLong(obj1) ? true : false;
16030 if (PyErr_Occurred()) SWIG_fail;
16031 {
16032 PyThreadState* __tstate = wxPyBeginAllowThreads();
16033 (arg1)->EnablePrinter(arg2);
16034
16035 wxPyEndAllowThreads(__tstate);
16036 if (PyErr_Occurred()) SWIG_fail;
16037 }
16038 Py_INCREF(Py_None); resultobj = Py_None;
16039 return resultobj;
16040 fail:
16041 return NULL;
16042 }
16043
16044
16045 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16046 PyObject *resultobj;
16047 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16048 bool result;
16049 PyObject * obj0 = 0 ;
16050 char *kwnames[] = {
16051 (char *) "self", NULL
16052 };
16053
16054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
16055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16056 {
16057 PyThreadState* __tstate = wxPyBeginAllowThreads();
16058 result = (bool)(arg1)->GetDefaultMinMargins();
16059
16060 wxPyEndAllowThreads(__tstate);
16061 if (PyErr_Occurred()) SWIG_fail;
16062 }
16063 resultobj = PyInt_FromLong((long)result);
16064 return resultobj;
16065 fail:
16066 return NULL;
16067 }
16068
16069
16070 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16071 PyObject *resultobj;
16072 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16073 bool result;
16074 PyObject * obj0 = 0 ;
16075 char *kwnames[] = {
16076 (char *) "self", NULL
16077 };
16078
16079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
16080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16081 {
16082 PyThreadState* __tstate = wxPyBeginAllowThreads();
16083 result = (bool)(arg1)->GetEnableMargins();
16084
16085 wxPyEndAllowThreads(__tstate);
16086 if (PyErr_Occurred()) SWIG_fail;
16087 }
16088 resultobj = PyInt_FromLong((long)result);
16089 return resultobj;
16090 fail:
16091 return NULL;
16092 }
16093
16094
16095 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16096 PyObject *resultobj;
16097 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16098 bool result;
16099 PyObject * obj0 = 0 ;
16100 char *kwnames[] = {
16101 (char *) "self", NULL
16102 };
16103
16104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
16105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16106 {
16107 PyThreadState* __tstate = wxPyBeginAllowThreads();
16108 result = (bool)(arg1)->GetEnableOrientation();
16109
16110 wxPyEndAllowThreads(__tstate);
16111 if (PyErr_Occurred()) SWIG_fail;
16112 }
16113 resultobj = PyInt_FromLong((long)result);
16114 return resultobj;
16115 fail:
16116 return NULL;
16117 }
16118
16119
16120 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
16121 PyObject *resultobj;
16122 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16123 bool result;
16124 PyObject * obj0 = 0 ;
16125 char *kwnames[] = {
16126 (char *) "self", NULL
16127 };
16128
16129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
16130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16131 {
16132 PyThreadState* __tstate = wxPyBeginAllowThreads();
16133 result = (bool)(arg1)->GetEnablePaper();
16134
16135 wxPyEndAllowThreads(__tstate);
16136 if (PyErr_Occurred()) SWIG_fail;
16137 }
16138 resultobj = PyInt_FromLong((long)result);
16139 return resultobj;
16140 fail:
16141 return NULL;
16142 }
16143
16144
16145 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16146 PyObject *resultobj;
16147 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16148 bool result;
16149 PyObject * obj0 = 0 ;
16150 char *kwnames[] = {
16151 (char *) "self", NULL
16152 };
16153
16154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
16155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16156 {
16157 PyThreadState* __tstate = wxPyBeginAllowThreads();
16158 result = (bool)(arg1)->GetEnablePrinter();
16159
16160 wxPyEndAllowThreads(__tstate);
16161 if (PyErr_Occurred()) SWIG_fail;
16162 }
16163 resultobj = PyInt_FromLong((long)result);
16164 return resultobj;
16165 fail:
16166 return NULL;
16167 }
16168
16169
16170 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16171 PyObject *resultobj;
16172 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16173 bool result;
16174 PyObject * obj0 = 0 ;
16175 char *kwnames[] = {
16176 (char *) "self", NULL
16177 };
16178
16179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
16180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16181 {
16182 PyThreadState* __tstate = wxPyBeginAllowThreads();
16183 result = (bool)(arg1)->GetEnableHelp();
16184
16185 wxPyEndAllowThreads(__tstate);
16186 if (PyErr_Occurred()) SWIG_fail;
16187 }
16188 resultobj = PyInt_FromLong((long)result);
16189 return resultobj;
16190 fail:
16191 return NULL;
16192 }
16193
16194
16195 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16196 PyObject *resultobj;
16197 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16198 bool result;
16199 PyObject * obj0 = 0 ;
16200 char *kwnames[] = {
16201 (char *) "self", NULL
16202 };
16203
16204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
16205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16206 {
16207 PyThreadState* __tstate = wxPyBeginAllowThreads();
16208 result = (bool)(arg1)->GetDefaultInfo();
16209
16210 wxPyEndAllowThreads(__tstate);
16211 if (PyErr_Occurred()) SWIG_fail;
16212 }
16213 resultobj = PyInt_FromLong((long)result);
16214 return resultobj;
16215 fail:
16216 return NULL;
16217 }
16218
16219
16220 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16221 PyObject *resultobj;
16222 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16223 wxPoint result;
16224 PyObject * obj0 = 0 ;
16225 char *kwnames[] = {
16226 (char *) "self", NULL
16227 };
16228
16229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
16230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16231 {
16232 PyThreadState* __tstate = wxPyBeginAllowThreads();
16233 result = (arg1)->GetMarginTopLeft();
16234
16235 wxPyEndAllowThreads(__tstate);
16236 if (PyErr_Occurred()) SWIG_fail;
16237 }
16238 {
16239 wxPoint * resultptr;
16240 resultptr = new wxPoint((wxPoint &) result);
16241 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16242 }
16243 return resultobj;
16244 fail:
16245 return NULL;
16246 }
16247
16248
16249 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16250 PyObject *resultobj;
16251 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16252 wxPoint result;
16253 PyObject * obj0 = 0 ;
16254 char *kwnames[] = {
16255 (char *) "self", NULL
16256 };
16257
16258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
16259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16260 {
16261 PyThreadState* __tstate = wxPyBeginAllowThreads();
16262 result = (arg1)->GetMarginBottomRight();
16263
16264 wxPyEndAllowThreads(__tstate);
16265 if (PyErr_Occurred()) SWIG_fail;
16266 }
16267 {
16268 wxPoint * resultptr;
16269 resultptr = new wxPoint((wxPoint &) result);
16270 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16271 }
16272 return resultobj;
16273 fail:
16274 return NULL;
16275 }
16276
16277
16278 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16279 PyObject *resultobj;
16280 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16281 wxPoint result;
16282 PyObject * obj0 = 0 ;
16283 char *kwnames[] = {
16284 (char *) "self", NULL
16285 };
16286
16287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
16288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16289 {
16290 PyThreadState* __tstate = wxPyBeginAllowThreads();
16291 result = (arg1)->GetMinMarginTopLeft();
16292
16293 wxPyEndAllowThreads(__tstate);
16294 if (PyErr_Occurred()) SWIG_fail;
16295 }
16296 {
16297 wxPoint * resultptr;
16298 resultptr = new wxPoint((wxPoint &) result);
16299 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16300 }
16301 return resultobj;
16302 fail:
16303 return NULL;
16304 }
16305
16306
16307 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16308 PyObject *resultobj;
16309 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16310 wxPoint result;
16311 PyObject * obj0 = 0 ;
16312 char *kwnames[] = {
16313 (char *) "self", NULL
16314 };
16315
16316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
16317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16318 {
16319 PyThreadState* __tstate = wxPyBeginAllowThreads();
16320 result = (arg1)->GetMinMarginBottomRight();
16321
16322 wxPyEndAllowThreads(__tstate);
16323 if (PyErr_Occurred()) SWIG_fail;
16324 }
16325 {
16326 wxPoint * resultptr;
16327 resultptr = new wxPoint((wxPoint &) result);
16328 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16329 }
16330 return resultobj;
16331 fail:
16332 return NULL;
16333 }
16334
16335
16336 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16337 PyObject *resultobj;
16338 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16339 int result;
16340 PyObject * obj0 = 0 ;
16341 char *kwnames[] = {
16342 (char *) "self", NULL
16343 };
16344
16345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
16346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16347 {
16348 PyThreadState* __tstate = wxPyBeginAllowThreads();
16349 result = (int)(arg1)->GetPaperId();
16350
16351 wxPyEndAllowThreads(__tstate);
16352 if (PyErr_Occurred()) SWIG_fail;
16353 }
16354 resultobj = PyInt_FromLong((long)result);
16355 return resultobj;
16356 fail:
16357 return NULL;
16358 }
16359
16360
16361 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16362 PyObject *resultobj;
16363 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16364 wxSize result;
16365 PyObject * obj0 = 0 ;
16366 char *kwnames[] = {
16367 (char *) "self", NULL
16368 };
16369
16370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
16371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16372 {
16373 PyThreadState* __tstate = wxPyBeginAllowThreads();
16374 result = (arg1)->GetPaperSize();
16375
16376 wxPyEndAllowThreads(__tstate);
16377 if (PyErr_Occurred()) SWIG_fail;
16378 }
16379 {
16380 wxSize * resultptr;
16381 resultptr = new wxSize((wxSize &) result);
16382 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16383 }
16384 return resultobj;
16385 fail:
16386 return NULL;
16387 }
16388
16389
16390 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16391 PyObject *resultobj;
16392 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16393 wxPrintData *result;
16394 PyObject * obj0 = 0 ;
16395 char *kwnames[] = {
16396 (char *) "self", NULL
16397 };
16398
16399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
16400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16401 {
16402 PyThreadState* __tstate = wxPyBeginAllowThreads();
16403 {
16404 wxPrintData &_result_ref = (arg1)->GetPrintData();
16405 result = (wxPrintData *) &_result_ref;
16406 }
16407
16408 wxPyEndAllowThreads(__tstate);
16409 if (PyErr_Occurred()) SWIG_fail;
16410 }
16411 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
16412 return resultobj;
16413 fail:
16414 return NULL;
16415 }
16416
16417
16418 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
16419 PyObject *resultobj;
16420 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16421 bool result;
16422 PyObject * obj0 = 0 ;
16423 char *kwnames[] = {
16424 (char *) "self", NULL
16425 };
16426
16427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
16428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16429 {
16430 PyThreadState* __tstate = wxPyBeginAllowThreads();
16431 result = (bool)(arg1)->Ok();
16432
16433 wxPyEndAllowThreads(__tstate);
16434 if (PyErr_Occurred()) SWIG_fail;
16435 }
16436 resultobj = PyInt_FromLong((long)result);
16437 return resultobj;
16438 fail:
16439 return NULL;
16440 }
16441
16442
16443 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16444 PyObject *resultobj;
16445 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16446 bool arg2 ;
16447 PyObject * obj0 = 0 ;
16448 PyObject * obj1 = 0 ;
16449 char *kwnames[] = {
16450 (char *) "self",(char *) "flag", NULL
16451 };
16452
16453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
16454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16455 arg2 = PyInt_AsLong(obj1) ? true : false;
16456 if (PyErr_Occurred()) SWIG_fail;
16457 {
16458 PyThreadState* __tstate = wxPyBeginAllowThreads();
16459 (arg1)->SetDefaultInfo(arg2);
16460
16461 wxPyEndAllowThreads(__tstate);
16462 if (PyErr_Occurred()) SWIG_fail;
16463 }
16464 Py_INCREF(Py_None); resultobj = Py_None;
16465 return resultobj;
16466 fail:
16467 return NULL;
16468 }
16469
16470
16471 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16472 PyObject *resultobj;
16473 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16474 bool arg2 ;
16475 PyObject * obj0 = 0 ;
16476 PyObject * obj1 = 0 ;
16477 char *kwnames[] = {
16478 (char *) "self",(char *) "flag", NULL
16479 };
16480
16481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
16482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16483 arg2 = PyInt_AsLong(obj1) ? true : false;
16484 if (PyErr_Occurred()) SWIG_fail;
16485 {
16486 PyThreadState* __tstate = wxPyBeginAllowThreads();
16487 (arg1)->SetDefaultMinMargins(arg2);
16488
16489 wxPyEndAllowThreads(__tstate);
16490 if (PyErr_Occurred()) SWIG_fail;
16491 }
16492 Py_INCREF(Py_None); resultobj = Py_None;
16493 return resultobj;
16494 fail:
16495 return NULL;
16496 }
16497
16498
16499 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16500 PyObject *resultobj;
16501 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16502 wxPoint *arg2 = 0 ;
16503 wxPoint temp2 ;
16504 PyObject * obj0 = 0 ;
16505 PyObject * obj1 = 0 ;
16506 char *kwnames[] = {
16507 (char *) "self",(char *) "pt", NULL
16508 };
16509
16510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
16511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16512 {
16513 arg2 = &temp2;
16514 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16515 }
16516 {
16517 PyThreadState* __tstate = wxPyBeginAllowThreads();
16518 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
16519
16520 wxPyEndAllowThreads(__tstate);
16521 if (PyErr_Occurred()) SWIG_fail;
16522 }
16523 Py_INCREF(Py_None); resultobj = Py_None;
16524 return resultobj;
16525 fail:
16526 return NULL;
16527 }
16528
16529
16530 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16531 PyObject *resultobj;
16532 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16533 wxPoint *arg2 = 0 ;
16534 wxPoint temp2 ;
16535 PyObject * obj0 = 0 ;
16536 PyObject * obj1 = 0 ;
16537 char *kwnames[] = {
16538 (char *) "self",(char *) "pt", NULL
16539 };
16540
16541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
16542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16543 {
16544 arg2 = &temp2;
16545 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16546 }
16547 {
16548 PyThreadState* __tstate = wxPyBeginAllowThreads();
16549 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
16550
16551 wxPyEndAllowThreads(__tstate);
16552 if (PyErr_Occurred()) SWIG_fail;
16553 }
16554 Py_INCREF(Py_None); resultobj = Py_None;
16555 return resultobj;
16556 fail:
16557 return NULL;
16558 }
16559
16560
16561 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16562 PyObject *resultobj;
16563 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16564 wxPoint *arg2 = 0 ;
16565 wxPoint temp2 ;
16566 PyObject * obj0 = 0 ;
16567 PyObject * obj1 = 0 ;
16568 char *kwnames[] = {
16569 (char *) "self",(char *) "pt", NULL
16570 };
16571
16572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
16573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16574 {
16575 arg2 = &temp2;
16576 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16577 }
16578 {
16579 PyThreadState* __tstate = wxPyBeginAllowThreads();
16580 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
16581
16582 wxPyEndAllowThreads(__tstate);
16583 if (PyErr_Occurred()) SWIG_fail;
16584 }
16585 Py_INCREF(Py_None); resultobj = Py_None;
16586 return resultobj;
16587 fail:
16588 return NULL;
16589 }
16590
16591
16592 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16593 PyObject *resultobj;
16594 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16595 wxPoint *arg2 = 0 ;
16596 wxPoint temp2 ;
16597 PyObject * obj0 = 0 ;
16598 PyObject * obj1 = 0 ;
16599 char *kwnames[] = {
16600 (char *) "self",(char *) "pt", NULL
16601 };
16602
16603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
16604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16605 {
16606 arg2 = &temp2;
16607 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16608 }
16609 {
16610 PyThreadState* __tstate = wxPyBeginAllowThreads();
16611 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
16612
16613 wxPyEndAllowThreads(__tstate);
16614 if (PyErr_Occurred()) SWIG_fail;
16615 }
16616 Py_INCREF(Py_None); resultobj = Py_None;
16617 return resultobj;
16618 fail:
16619 return NULL;
16620 }
16621
16622
16623 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16624 PyObject *resultobj;
16625 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16626 int arg2 ;
16627 PyObject * obj0 = 0 ;
16628 char *kwnames[] = {
16629 (char *) "self",(char *) "id", NULL
16630 };
16631
16632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PageSetupDialogData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
16633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16634 {
16635 PyThreadState* __tstate = wxPyBeginAllowThreads();
16636 (arg1)->SetPaperId((wxPaperSize )arg2);
16637
16638 wxPyEndAllowThreads(__tstate);
16639 if (PyErr_Occurred()) SWIG_fail;
16640 }
16641 Py_INCREF(Py_None); resultobj = Py_None;
16642 return resultobj;
16643 fail:
16644 return NULL;
16645 }
16646
16647
16648 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16649 PyObject *resultobj;
16650 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16651 wxSize *arg2 = 0 ;
16652 wxSize temp2 ;
16653 PyObject * obj0 = 0 ;
16654 PyObject * obj1 = 0 ;
16655 char *kwnames[] = {
16656 (char *) "self",(char *) "size", NULL
16657 };
16658
16659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
16660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16661 {
16662 arg2 = &temp2;
16663 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16664 }
16665 {
16666 PyThreadState* __tstate = wxPyBeginAllowThreads();
16667 (arg1)->SetPaperSize((wxSize const &)*arg2);
16668
16669 wxPyEndAllowThreads(__tstate);
16670 if (PyErr_Occurred()) SWIG_fail;
16671 }
16672 Py_INCREF(Py_None); resultobj = Py_None;
16673 return resultobj;
16674 fail:
16675 return NULL;
16676 }
16677
16678
16679 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16680 PyObject *resultobj;
16681 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16682 wxPrintData *arg2 = 0 ;
16683 PyObject * obj0 = 0 ;
16684 PyObject * obj1 = 0 ;
16685 char *kwnames[] = {
16686 (char *) "self",(char *) "printData", NULL
16687 };
16688
16689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
16690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16691 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16692 if (arg2 == NULL) {
16693 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16694 }
16695 {
16696 PyThreadState* __tstate = wxPyBeginAllowThreads();
16697 (arg1)->SetPrintData((wxPrintData const &)*arg2);
16698
16699 wxPyEndAllowThreads(__tstate);
16700 if (PyErr_Occurred()) SWIG_fail;
16701 }
16702 Py_INCREF(Py_None); resultobj = Py_None;
16703 return resultobj;
16704 fail:
16705 return NULL;
16706 }
16707
16708
16709 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
16710 PyObject *obj;
16711 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16712 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
16713 Py_INCREF(obj);
16714 return Py_BuildValue((char *)"");
16715 }
16716 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16717 PyObject *resultobj;
16718 wxWindow *arg1 = (wxWindow *) 0 ;
16719 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
16720 wxPageSetupDialog *result;
16721 PyObject * obj0 = 0 ;
16722 PyObject * obj1 = 0 ;
16723 char *kwnames[] = {
16724 (char *) "parent",(char *) "data", NULL
16725 };
16726
16727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
16728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16729 if (obj1) {
16730 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16731 }
16732 {
16733 PyThreadState* __tstate = wxPyBeginAllowThreads();
16734 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
16735
16736 wxPyEndAllowThreads(__tstate);
16737 if (PyErr_Occurred()) SWIG_fail;
16738 }
16739 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialog, 1);
16740 return resultobj;
16741 fail:
16742 return NULL;
16743 }
16744
16745
16746 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
16747 PyObject *resultobj;
16748 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
16749 wxPageSetupDialogData *result;
16750 PyObject * obj0 = 0 ;
16751 char *kwnames[] = {
16752 (char *) "self", NULL
16753 };
16754
16755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
16756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16757 {
16758 PyThreadState* __tstate = wxPyBeginAllowThreads();
16759 {
16760 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
16761 result = (wxPageSetupDialogData *) &_result_ref;
16762 }
16763
16764 wxPyEndAllowThreads(__tstate);
16765 if (PyErr_Occurred()) SWIG_fail;
16766 }
16767 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 0);
16768 return resultobj;
16769 fail:
16770 return NULL;
16771 }
16772
16773
16774 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
16775 PyObject *resultobj;
16776 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
16777 int result;
16778 PyObject * obj0 = 0 ;
16779 char *kwnames[] = {
16780 (char *) "self", NULL
16781 };
16782
16783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
16784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16785 {
16786 PyThreadState* __tstate = wxPyBeginAllowThreads();
16787 result = (int)(arg1)->ShowModal();
16788
16789 wxPyEndAllowThreads(__tstate);
16790 if (PyErr_Occurred()) SWIG_fail;
16791 }
16792 resultobj = PyInt_FromLong((long)result);
16793 return resultobj;
16794 fail:
16795 return NULL;
16796 }
16797
16798
16799 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
16800 PyObject *obj;
16801 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16802 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
16803 Py_INCREF(obj);
16804 return Py_BuildValue((char *)"");
16805 }
16806 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16807 PyObject *resultobj;
16808 wxPrintDialogData *result;
16809 char *kwnames[] = {
16810 NULL
16811 };
16812
16813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintDialogData",kwnames)) goto fail;
16814 {
16815 PyThreadState* __tstate = wxPyBeginAllowThreads();
16816 result = (wxPrintDialogData *)new wxPrintDialogData();
16817
16818 wxPyEndAllowThreads(__tstate);
16819 if (PyErr_Occurred()) SWIG_fail;
16820 }
16821 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 1);
16822 return resultobj;
16823 fail:
16824 return NULL;
16825 }
16826
16827
16828 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16829 PyObject *resultobj;
16830 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16831 PyObject * obj0 = 0 ;
16832 char *kwnames[] = {
16833 (char *) "self", NULL
16834 };
16835
16836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
16837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16838 {
16839 PyThreadState* __tstate = wxPyBeginAllowThreads();
16840 delete arg1;
16841
16842 wxPyEndAllowThreads(__tstate);
16843 if (PyErr_Occurred()) SWIG_fail;
16844 }
16845 Py_INCREF(Py_None); resultobj = Py_None;
16846 return resultobj;
16847 fail:
16848 return NULL;
16849 }
16850
16851
16852 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16853 PyObject *resultobj;
16854 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16855 int result;
16856 PyObject * obj0 = 0 ;
16857 char *kwnames[] = {
16858 (char *) "self", NULL
16859 };
16860
16861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
16862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16863 {
16864 PyThreadState* __tstate = wxPyBeginAllowThreads();
16865 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
16866
16867 wxPyEndAllowThreads(__tstate);
16868 if (PyErr_Occurred()) SWIG_fail;
16869 }
16870 resultobj = PyInt_FromLong((long)result);
16871 return resultobj;
16872 fail:
16873 return NULL;
16874 }
16875
16876
16877 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16878 PyObject *resultobj;
16879 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16880 int result;
16881 PyObject * obj0 = 0 ;
16882 char *kwnames[] = {
16883 (char *) "self", NULL
16884 };
16885
16886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
16887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16888 {
16889 PyThreadState* __tstate = wxPyBeginAllowThreads();
16890 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
16891
16892 wxPyEndAllowThreads(__tstate);
16893 if (PyErr_Occurred()) SWIG_fail;
16894 }
16895 resultobj = PyInt_FromLong((long)result);
16896 return resultobj;
16897 fail:
16898 return NULL;
16899 }
16900
16901
16902 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16903 PyObject *resultobj;
16904 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16905 int result;
16906 PyObject * obj0 = 0 ;
16907 char *kwnames[] = {
16908 (char *) "self", NULL
16909 };
16910
16911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
16912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16913 {
16914 PyThreadState* __tstate = wxPyBeginAllowThreads();
16915 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
16916
16917 wxPyEndAllowThreads(__tstate);
16918 if (PyErr_Occurred()) SWIG_fail;
16919 }
16920 resultobj = PyInt_FromLong((long)result);
16921 return resultobj;
16922 fail:
16923 return NULL;
16924 }
16925
16926
16927 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16928 PyObject *resultobj;
16929 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16930 int result;
16931 PyObject * obj0 = 0 ;
16932 char *kwnames[] = {
16933 (char *) "self", NULL
16934 };
16935
16936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
16937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16938 {
16939 PyThreadState* __tstate = wxPyBeginAllowThreads();
16940 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
16941
16942 wxPyEndAllowThreads(__tstate);
16943 if (PyErr_Occurred()) SWIG_fail;
16944 }
16945 resultobj = PyInt_FromLong((long)result);
16946 return resultobj;
16947 fail:
16948 return NULL;
16949 }
16950
16951
16952 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
16953 PyObject *resultobj;
16954 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16955 int result;
16956 PyObject * obj0 = 0 ;
16957 char *kwnames[] = {
16958 (char *) "self", NULL
16959 };
16960
16961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
16962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16963 {
16964 PyThreadState* __tstate = wxPyBeginAllowThreads();
16965 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
16966
16967 wxPyEndAllowThreads(__tstate);
16968 if (PyErr_Occurred()) SWIG_fail;
16969 }
16970 resultobj = PyInt_FromLong((long)result);
16971 return resultobj;
16972 fail:
16973 return NULL;
16974 }
16975
16976
16977 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
16978 PyObject *resultobj;
16979 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16980 bool result;
16981 PyObject * obj0 = 0 ;
16982 char *kwnames[] = {
16983 (char *) "self", NULL
16984 };
16985
16986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
16987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16988 {
16989 PyThreadState* __tstate = wxPyBeginAllowThreads();
16990 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
16991
16992 wxPyEndAllowThreads(__tstate);
16993 if (PyErr_Occurred()) SWIG_fail;
16994 }
16995 resultobj = PyInt_FromLong((long)result);
16996 return resultobj;
16997 fail:
16998 return NULL;
16999 }
17000
17001
17002 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17003 PyObject *resultobj;
17004 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17005 bool result;
17006 PyObject * obj0 = 0 ;
17007 char *kwnames[] = {
17008 (char *) "self", NULL
17009 };
17010
17011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
17012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17013 {
17014 PyThreadState* __tstate = wxPyBeginAllowThreads();
17015 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
17016
17017 wxPyEndAllowThreads(__tstate);
17018 if (PyErr_Occurred()) SWIG_fail;
17019 }
17020 resultobj = PyInt_FromLong((long)result);
17021 return resultobj;
17022 fail:
17023 return NULL;
17024 }
17025
17026
17027 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17028 PyObject *resultobj;
17029 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17030 bool result;
17031 PyObject * obj0 = 0 ;
17032 char *kwnames[] = {
17033 (char *) "self", NULL
17034 };
17035
17036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
17037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17038 {
17039 PyThreadState* __tstate = wxPyBeginAllowThreads();
17040 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
17041
17042 wxPyEndAllowThreads(__tstate);
17043 if (PyErr_Occurred()) SWIG_fail;
17044 }
17045 resultobj = PyInt_FromLong((long)result);
17046 return resultobj;
17047 fail:
17048 return NULL;
17049 }
17050
17051
17052 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17053 PyObject *resultobj;
17054 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17055 bool result;
17056 PyObject * obj0 = 0 ;
17057 char *kwnames[] = {
17058 (char *) "self", NULL
17059 };
17060
17061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
17062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17063 {
17064 PyThreadState* __tstate = wxPyBeginAllowThreads();
17065 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
17066
17067 wxPyEndAllowThreads(__tstate);
17068 if (PyErr_Occurred()) SWIG_fail;
17069 }
17070 resultobj = PyInt_FromLong((long)result);
17071 return resultobj;
17072 fail:
17073 return NULL;
17074 }
17075
17076
17077 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17078 PyObject *resultobj;
17079 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17080 bool result;
17081 PyObject * obj0 = 0 ;
17082 char *kwnames[] = {
17083 (char *) "self", NULL
17084 };
17085
17086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
17087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17088 {
17089 PyThreadState* __tstate = wxPyBeginAllowThreads();
17090 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
17091
17092 wxPyEndAllowThreads(__tstate);
17093 if (PyErr_Occurred()) SWIG_fail;
17094 }
17095 resultobj = PyInt_FromLong((long)result);
17096 return resultobj;
17097 fail:
17098 return NULL;
17099 }
17100
17101
17102 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17103 PyObject *resultobj;
17104 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17105 int arg2 ;
17106 PyObject * obj0 = 0 ;
17107 char *kwnames[] = {
17108 (char *) "self",(char *) "v", NULL
17109 };
17110
17111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetFromPage",kwnames,&obj0,&arg2)) goto fail;
17112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17113 {
17114 PyThreadState* __tstate = wxPyBeginAllowThreads();
17115 (arg1)->SetFromPage(arg2);
17116
17117 wxPyEndAllowThreads(__tstate);
17118 if (PyErr_Occurred()) SWIG_fail;
17119 }
17120 Py_INCREF(Py_None); resultobj = Py_None;
17121 return resultobj;
17122 fail:
17123 return NULL;
17124 }
17125
17126
17127 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17128 PyObject *resultobj;
17129 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17130 int arg2 ;
17131 PyObject * obj0 = 0 ;
17132 char *kwnames[] = {
17133 (char *) "self",(char *) "v", NULL
17134 };
17135
17136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetToPage",kwnames,&obj0,&arg2)) goto fail;
17137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17138 {
17139 PyThreadState* __tstate = wxPyBeginAllowThreads();
17140 (arg1)->SetToPage(arg2);
17141
17142 wxPyEndAllowThreads(__tstate);
17143 if (PyErr_Occurred()) SWIG_fail;
17144 }
17145 Py_INCREF(Py_None); resultobj = Py_None;
17146 return resultobj;
17147 fail:
17148 return NULL;
17149 }
17150
17151
17152 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17153 PyObject *resultobj;
17154 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17155 int arg2 ;
17156 PyObject * obj0 = 0 ;
17157 char *kwnames[] = {
17158 (char *) "self",(char *) "v", NULL
17159 };
17160
17161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMinPage",kwnames,&obj0,&arg2)) goto fail;
17162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17163 {
17164 PyThreadState* __tstate = wxPyBeginAllowThreads();
17165 (arg1)->SetMinPage(arg2);
17166
17167 wxPyEndAllowThreads(__tstate);
17168 if (PyErr_Occurred()) SWIG_fail;
17169 }
17170 Py_INCREF(Py_None); resultobj = Py_None;
17171 return resultobj;
17172 fail:
17173 return NULL;
17174 }
17175
17176
17177 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17178 PyObject *resultobj;
17179 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17180 int arg2 ;
17181 PyObject * obj0 = 0 ;
17182 char *kwnames[] = {
17183 (char *) "self",(char *) "v", NULL
17184 };
17185
17186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMaxPage",kwnames,&obj0,&arg2)) goto fail;
17187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17188 {
17189 PyThreadState* __tstate = wxPyBeginAllowThreads();
17190 (arg1)->SetMaxPage(arg2);
17191
17192 wxPyEndAllowThreads(__tstate);
17193 if (PyErr_Occurred()) SWIG_fail;
17194 }
17195 Py_INCREF(Py_None); resultobj = Py_None;
17196 return resultobj;
17197 fail:
17198 return NULL;
17199 }
17200
17201
17202 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17203 PyObject *resultobj;
17204 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17205 int arg2 ;
17206 PyObject * obj0 = 0 ;
17207 char *kwnames[] = {
17208 (char *) "self",(char *) "v", NULL
17209 };
17210
17211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
17212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17213 {
17214 PyThreadState* __tstate = wxPyBeginAllowThreads();
17215 (arg1)->SetNoCopies(arg2);
17216
17217 wxPyEndAllowThreads(__tstate);
17218 if (PyErr_Occurred()) SWIG_fail;
17219 }
17220 Py_INCREF(Py_None); resultobj = Py_None;
17221 return resultobj;
17222 fail:
17223 return NULL;
17224 }
17225
17226
17227 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
17228 PyObject *resultobj;
17229 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17230 bool arg2 ;
17231 PyObject * obj0 = 0 ;
17232 PyObject * obj1 = 0 ;
17233 char *kwnames[] = {
17234 (char *) "self",(char *) "flag", NULL
17235 };
17236
17237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
17238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17239 arg2 = PyInt_AsLong(obj1) ? true : false;
17240 if (PyErr_Occurred()) SWIG_fail;
17241 {
17242 PyThreadState* __tstate = wxPyBeginAllowThreads();
17243 (arg1)->SetAllPages(arg2);
17244
17245 wxPyEndAllowThreads(__tstate);
17246 if (PyErr_Occurred()) SWIG_fail;
17247 }
17248 Py_INCREF(Py_None); resultobj = Py_None;
17249 return resultobj;
17250 fail:
17251 return NULL;
17252 }
17253
17254
17255 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17256 PyObject *resultobj;
17257 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17258 bool arg2 ;
17259 PyObject * obj0 = 0 ;
17260 PyObject * obj1 = 0 ;
17261 char *kwnames[] = {
17262 (char *) "self",(char *) "flag", NULL
17263 };
17264
17265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
17266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17267 arg2 = PyInt_AsLong(obj1) ? true : false;
17268 if (PyErr_Occurred()) SWIG_fail;
17269 {
17270 PyThreadState* __tstate = wxPyBeginAllowThreads();
17271 (arg1)->SetSelection(arg2);
17272
17273 wxPyEndAllowThreads(__tstate);
17274 if (PyErr_Occurred()) SWIG_fail;
17275 }
17276 Py_INCREF(Py_None); resultobj = Py_None;
17277 return resultobj;
17278 fail:
17279 return NULL;
17280 }
17281
17282
17283 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17284 PyObject *resultobj;
17285 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17286 bool arg2 ;
17287 PyObject * obj0 = 0 ;
17288 PyObject * obj1 = 0 ;
17289 char *kwnames[] = {
17290 (char *) "self",(char *) "flag", NULL
17291 };
17292
17293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
17294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17295 arg2 = PyInt_AsLong(obj1) ? true : false;
17296 if (PyErr_Occurred()) SWIG_fail;
17297 {
17298 PyThreadState* __tstate = wxPyBeginAllowThreads();
17299 (arg1)->SetCollate(arg2);
17300
17301 wxPyEndAllowThreads(__tstate);
17302 if (PyErr_Occurred()) SWIG_fail;
17303 }
17304 Py_INCREF(Py_None); resultobj = Py_None;
17305 return resultobj;
17306 fail:
17307 return NULL;
17308 }
17309
17310
17311 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17312 PyObject *resultobj;
17313 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17314 bool arg2 ;
17315 PyObject * obj0 = 0 ;
17316 PyObject * obj1 = 0 ;
17317 char *kwnames[] = {
17318 (char *) "self",(char *) "flag", NULL
17319 };
17320
17321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
17322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17323 arg2 = PyInt_AsLong(obj1) ? true : false;
17324 if (PyErr_Occurred()) SWIG_fail;
17325 {
17326 PyThreadState* __tstate = wxPyBeginAllowThreads();
17327 (arg1)->SetPrintToFile(arg2);
17328
17329 wxPyEndAllowThreads(__tstate);
17330 if (PyErr_Occurred()) SWIG_fail;
17331 }
17332 Py_INCREF(Py_None); resultobj = Py_None;
17333 return resultobj;
17334 fail:
17335 return NULL;
17336 }
17337
17338
17339 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17340 PyObject *resultobj;
17341 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17342 bool arg2 ;
17343 PyObject * obj0 = 0 ;
17344 PyObject * obj1 = 0 ;
17345 char *kwnames[] = {
17346 (char *) "self",(char *) "flag", NULL
17347 };
17348
17349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
17350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17351 arg2 = PyInt_AsLong(obj1) ? true : false;
17352 if (PyErr_Occurred()) SWIG_fail;
17353 {
17354 PyThreadState* __tstate = wxPyBeginAllowThreads();
17355 (arg1)->SetSetupDialog(arg2);
17356
17357 wxPyEndAllowThreads(__tstate);
17358 if (PyErr_Occurred()) SWIG_fail;
17359 }
17360 Py_INCREF(Py_None); resultobj = Py_None;
17361 return resultobj;
17362 fail:
17363 return NULL;
17364 }
17365
17366
17367 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17368 PyObject *resultobj;
17369 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17370 bool arg2 ;
17371 PyObject * obj0 = 0 ;
17372 PyObject * obj1 = 0 ;
17373 char *kwnames[] = {
17374 (char *) "self",(char *) "flag", NULL
17375 };
17376
17377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
17378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17379 arg2 = PyInt_AsLong(obj1) ? true : false;
17380 if (PyErr_Occurred()) SWIG_fail;
17381 {
17382 PyThreadState* __tstate = wxPyBeginAllowThreads();
17383 (arg1)->EnablePrintToFile(arg2);
17384
17385 wxPyEndAllowThreads(__tstate);
17386 if (PyErr_Occurred()) SWIG_fail;
17387 }
17388 Py_INCREF(Py_None); resultobj = Py_None;
17389 return resultobj;
17390 fail:
17391 return NULL;
17392 }
17393
17394
17395 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17396 PyObject *resultobj;
17397 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17398 bool arg2 ;
17399 PyObject * obj0 = 0 ;
17400 PyObject * obj1 = 0 ;
17401 char *kwnames[] = {
17402 (char *) "self",(char *) "flag", NULL
17403 };
17404
17405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
17406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17407 arg2 = PyInt_AsLong(obj1) ? true : false;
17408 if (PyErr_Occurred()) SWIG_fail;
17409 {
17410 PyThreadState* __tstate = wxPyBeginAllowThreads();
17411 (arg1)->EnableSelection(arg2);
17412
17413 wxPyEndAllowThreads(__tstate);
17414 if (PyErr_Occurred()) SWIG_fail;
17415 }
17416 Py_INCREF(Py_None); resultobj = Py_None;
17417 return resultobj;
17418 fail:
17419 return NULL;
17420 }
17421
17422
17423 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17424 PyObject *resultobj;
17425 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17426 bool arg2 ;
17427 PyObject * obj0 = 0 ;
17428 PyObject * obj1 = 0 ;
17429 char *kwnames[] = {
17430 (char *) "self",(char *) "flag", NULL
17431 };
17432
17433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
17434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17435 arg2 = PyInt_AsLong(obj1) ? true : false;
17436 if (PyErr_Occurred()) SWIG_fail;
17437 {
17438 PyThreadState* __tstate = wxPyBeginAllowThreads();
17439 (arg1)->EnablePageNumbers(arg2);
17440
17441 wxPyEndAllowThreads(__tstate);
17442 if (PyErr_Occurred()) SWIG_fail;
17443 }
17444 Py_INCREF(Py_None); resultobj = Py_None;
17445 return resultobj;
17446 fail:
17447 return NULL;
17448 }
17449
17450
17451 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17452 PyObject *resultobj;
17453 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17454 bool arg2 ;
17455 PyObject * obj0 = 0 ;
17456 PyObject * obj1 = 0 ;
17457 char *kwnames[] = {
17458 (char *) "self",(char *) "flag", NULL
17459 };
17460
17461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
17462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17463 arg2 = PyInt_AsLong(obj1) ? true : false;
17464 if (PyErr_Occurred()) SWIG_fail;
17465 {
17466 PyThreadState* __tstate = wxPyBeginAllowThreads();
17467 (arg1)->EnableHelp(arg2);
17468
17469 wxPyEndAllowThreads(__tstate);
17470 if (PyErr_Occurred()) SWIG_fail;
17471 }
17472 Py_INCREF(Py_None); resultobj = Py_None;
17473 return resultobj;
17474 fail:
17475 return NULL;
17476 }
17477
17478
17479 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17480 PyObject *resultobj;
17481 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17482 bool result;
17483 PyObject * obj0 = 0 ;
17484 char *kwnames[] = {
17485 (char *) "self", NULL
17486 };
17487
17488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
17489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17490 {
17491 PyThreadState* __tstate = wxPyBeginAllowThreads();
17492 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
17493
17494 wxPyEndAllowThreads(__tstate);
17495 if (PyErr_Occurred()) SWIG_fail;
17496 }
17497 resultobj = PyInt_FromLong((long)result);
17498 return resultobj;
17499 fail:
17500 return NULL;
17501 }
17502
17503
17504 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17505 PyObject *resultobj;
17506 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17507 bool result;
17508 PyObject * obj0 = 0 ;
17509 char *kwnames[] = {
17510 (char *) "self", NULL
17511 };
17512
17513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
17514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17515 {
17516 PyThreadState* __tstate = wxPyBeginAllowThreads();
17517 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
17518
17519 wxPyEndAllowThreads(__tstate);
17520 if (PyErr_Occurred()) SWIG_fail;
17521 }
17522 resultobj = PyInt_FromLong((long)result);
17523 return resultobj;
17524 fail:
17525 return NULL;
17526 }
17527
17528
17529 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17530 PyObject *resultobj;
17531 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17532 bool result;
17533 PyObject * obj0 = 0 ;
17534 char *kwnames[] = {
17535 (char *) "self", NULL
17536 };
17537
17538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
17539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17540 {
17541 PyThreadState* __tstate = wxPyBeginAllowThreads();
17542 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
17543
17544 wxPyEndAllowThreads(__tstate);
17545 if (PyErr_Occurred()) SWIG_fail;
17546 }
17547 resultobj = PyInt_FromLong((long)result);
17548 return resultobj;
17549 fail:
17550 return NULL;
17551 }
17552
17553
17554 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17555 PyObject *resultobj;
17556 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17557 bool result;
17558 PyObject * obj0 = 0 ;
17559 char *kwnames[] = {
17560 (char *) "self", NULL
17561 };
17562
17563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
17564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17565 {
17566 PyThreadState* __tstate = wxPyBeginAllowThreads();
17567 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
17568
17569 wxPyEndAllowThreads(__tstate);
17570 if (PyErr_Occurred()) SWIG_fail;
17571 }
17572 resultobj = PyInt_FromLong((long)result);
17573 return resultobj;
17574 fail:
17575 return NULL;
17576 }
17577
17578
17579 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
17580 PyObject *resultobj;
17581 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17582 bool result;
17583 PyObject * obj0 = 0 ;
17584 char *kwnames[] = {
17585 (char *) "self", NULL
17586 };
17587
17588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
17589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17590 {
17591 PyThreadState* __tstate = wxPyBeginAllowThreads();
17592 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
17593
17594 wxPyEndAllowThreads(__tstate);
17595 if (PyErr_Occurred()) SWIG_fail;
17596 }
17597 resultobj = PyInt_FromLong((long)result);
17598 return resultobj;
17599 fail:
17600 return NULL;
17601 }
17602
17603
17604 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17605 PyObject *resultobj;
17606 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17607 wxPrintData *result;
17608 PyObject * obj0 = 0 ;
17609 char *kwnames[] = {
17610 (char *) "self", NULL
17611 };
17612
17613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
17614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17615 {
17616 PyThreadState* __tstate = wxPyBeginAllowThreads();
17617 {
17618 wxPrintData &_result_ref = (arg1)->GetPrintData();
17619 result = (wxPrintData *) &_result_ref;
17620 }
17621
17622 wxPyEndAllowThreads(__tstate);
17623 if (PyErr_Occurred()) SWIG_fail;
17624 }
17625 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
17626 return resultobj;
17627 fail:
17628 return NULL;
17629 }
17630
17631
17632 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17633 PyObject *resultobj;
17634 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17635 wxPrintData *arg2 = 0 ;
17636 PyObject * obj0 = 0 ;
17637 PyObject * obj1 = 0 ;
17638 char *kwnames[] = {
17639 (char *) "self",(char *) "printData", NULL
17640 };
17641
17642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
17643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17644 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17645 if (arg2 == NULL) {
17646 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17647 }
17648 {
17649 PyThreadState* __tstate = wxPyBeginAllowThreads();
17650 (arg1)->SetPrintData((wxPrintData const &)*arg2);
17651
17652 wxPyEndAllowThreads(__tstate);
17653 if (PyErr_Occurred()) SWIG_fail;
17654 }
17655 Py_INCREF(Py_None); resultobj = Py_None;
17656 return resultobj;
17657 fail:
17658 return NULL;
17659 }
17660
17661
17662 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
17663 PyObject *obj;
17664 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17665 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
17666 Py_INCREF(obj);
17667 return Py_BuildValue((char *)"");
17668 }
17669 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17670 PyObject *resultobj;
17671 wxWindow *arg1 = (wxWindow *) 0 ;
17672 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
17673 wxPrintDialog *result;
17674 PyObject * obj0 = 0 ;
17675 PyObject * obj1 = 0 ;
17676 char *kwnames[] = {
17677 (char *) "parent",(char *) "data", NULL
17678 };
17679
17680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
17681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17682 if (obj1) {
17683 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17684 }
17685 {
17686 PyThreadState* __tstate = wxPyBeginAllowThreads();
17687 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
17688
17689 wxPyEndAllowThreads(__tstate);
17690 if (PyErr_Occurred()) SWIG_fail;
17691 }
17692 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialog, 1);
17693 return resultobj;
17694 fail:
17695 return NULL;
17696 }
17697
17698
17699 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17700 PyObject *resultobj;
17701 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
17702 wxPrintDialogData *result;
17703 PyObject * obj0 = 0 ;
17704 char *kwnames[] = {
17705 (char *) "self", NULL
17706 };
17707
17708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
17709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17710 {
17711 PyThreadState* __tstate = wxPyBeginAllowThreads();
17712 {
17713 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
17714 result = (wxPrintDialogData *) &_result_ref;
17715 }
17716
17717 wxPyEndAllowThreads(__tstate);
17718 if (PyErr_Occurred()) SWIG_fail;
17719 }
17720 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
17721 return resultobj;
17722 fail:
17723 return NULL;
17724 }
17725
17726
17727 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
17728 PyObject *resultobj;
17729 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
17730 wxDC *result;
17731 PyObject * obj0 = 0 ;
17732 char *kwnames[] = {
17733 (char *) "self", NULL
17734 };
17735
17736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
17737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17738 {
17739 PyThreadState* __tstate = wxPyBeginAllowThreads();
17740 result = (wxDC *)(arg1)->GetPrintDC();
17741
17742 wxPyEndAllowThreads(__tstate);
17743 if (PyErr_Occurred()) SWIG_fail;
17744 }
17745 {
17746 resultobj = wxPyMake_wxObject(result);
17747 }
17748 return resultobj;
17749 fail:
17750 return NULL;
17751 }
17752
17753
17754 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
17755 PyObject *resultobj;
17756 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
17757 int result;
17758 PyObject * obj0 = 0 ;
17759 char *kwnames[] = {
17760 (char *) "self", NULL
17761 };
17762
17763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
17764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17765 {
17766 PyThreadState* __tstate = wxPyBeginAllowThreads();
17767 result = (int)(arg1)->ShowModal();
17768
17769 wxPyEndAllowThreads(__tstate);
17770 if (PyErr_Occurred()) SWIG_fail;
17771 }
17772 resultobj = PyInt_FromLong((long)result);
17773 return resultobj;
17774 fail:
17775 return NULL;
17776 }
17777
17778
17779 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
17780 PyObject *obj;
17781 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17782 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
17783 Py_INCREF(obj);
17784 return Py_BuildValue((char *)"");
17785 }
17786 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
17787 PyObject *resultobj;
17788 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
17789 wxPrinter *result;
17790 PyObject * obj0 = 0 ;
17791 char *kwnames[] = {
17792 (char *) "data", NULL
17793 };
17794
17795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
17796 if (obj0) {
17797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17798 }
17799 {
17800 PyThreadState* __tstate = wxPyBeginAllowThreads();
17801 result = (wxPrinter *)new wxPrinter(arg1);
17802
17803 wxPyEndAllowThreads(__tstate);
17804 if (PyErr_Occurred()) SWIG_fail;
17805 }
17806 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrinter, 1);
17807 return resultobj;
17808 fail:
17809 return NULL;
17810 }
17811
17812
17813 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
17814 PyObject *resultobj;
17815 wxPrinter *arg1 = (wxPrinter *) 0 ;
17816 PyObject * obj0 = 0 ;
17817 char *kwnames[] = {
17818 (char *) "self", NULL
17819 };
17820
17821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
17822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17823 {
17824 PyThreadState* __tstate = wxPyBeginAllowThreads();
17825 delete arg1;
17826
17827 wxPyEndAllowThreads(__tstate);
17828 if (PyErr_Occurred()) SWIG_fail;
17829 }
17830 Py_INCREF(Py_None); resultobj = Py_None;
17831 return resultobj;
17832 fail:
17833 return NULL;
17834 }
17835
17836
17837 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17838 PyObject *resultobj;
17839 wxPrinter *arg1 = (wxPrinter *) 0 ;
17840 wxWindow *arg2 = (wxWindow *) 0 ;
17841 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
17842 PyObject * obj0 = 0 ;
17843 PyObject * obj1 = 0 ;
17844 PyObject * obj2 = 0 ;
17845 char *kwnames[] = {
17846 (char *) "self",(char *) "parent",(char *) "printout", NULL
17847 };
17848
17849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
17850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17851 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17852 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17853 {
17854 PyThreadState* __tstate = wxPyBeginAllowThreads();
17855 (arg1)->CreateAbortWindow(arg2,arg3);
17856
17857 wxPyEndAllowThreads(__tstate);
17858 if (PyErr_Occurred()) SWIG_fail;
17859 }
17860 Py_INCREF(Py_None); resultobj = Py_None;
17861 return resultobj;
17862 fail:
17863 return NULL;
17864 }
17865
17866
17867 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17868 PyObject *resultobj;
17869 wxPrinter *arg1 = (wxPrinter *) 0 ;
17870 wxPrintDialogData *result;
17871 PyObject * obj0 = 0 ;
17872 char *kwnames[] = {
17873 (char *) "self", NULL
17874 };
17875
17876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
17877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17878 {
17879 PyThreadState* __tstate = wxPyBeginAllowThreads();
17880 {
17881 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
17882 result = (wxPrintDialogData *) &_result_ref;
17883 }
17884
17885 wxPyEndAllowThreads(__tstate);
17886 if (PyErr_Occurred()) SWIG_fail;
17887 }
17888 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
17889 return resultobj;
17890 fail:
17891 return NULL;
17892 }
17893
17894
17895 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
17896 PyObject *resultobj;
17897 wxPrinter *arg1 = (wxPrinter *) 0 ;
17898 wxWindow *arg2 = (wxWindow *) 0 ;
17899 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
17900 int arg4 = (int) True ;
17901 bool result;
17902 PyObject * obj0 = 0 ;
17903 PyObject * obj1 = 0 ;
17904 PyObject * obj2 = 0 ;
17905 char *kwnames[] = {
17906 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
17907 };
17908
17909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:Printer_Print",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
17910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17911 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17912 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17913 {
17914 PyThreadState* __tstate = wxPyBeginAllowThreads();
17915 result = (bool)(arg1)->Print(arg2,arg3,arg4);
17916
17917 wxPyEndAllowThreads(__tstate);
17918 if (PyErr_Occurred()) SWIG_fail;
17919 }
17920 resultobj = PyInt_FromLong((long)result);
17921 return resultobj;
17922 fail:
17923 return NULL;
17924 }
17925
17926
17927 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17928 PyObject *resultobj;
17929 wxPrinter *arg1 = (wxPrinter *) 0 ;
17930 wxWindow *arg2 = (wxWindow *) 0 ;
17931 wxDC *result;
17932 PyObject * obj0 = 0 ;
17933 PyObject * obj1 = 0 ;
17934 char *kwnames[] = {
17935 (char *) "self",(char *) "parent", NULL
17936 };
17937
17938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
17939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17940 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17941 {
17942 PyThreadState* __tstate = wxPyBeginAllowThreads();
17943 result = (wxDC *)(arg1)->PrintDialog(arg2);
17944
17945 wxPyEndAllowThreads(__tstate);
17946 if (PyErr_Occurred()) SWIG_fail;
17947 }
17948 {
17949 resultobj = wxPyMake_wxObject(result);
17950 }
17951 return resultobj;
17952 fail:
17953 return NULL;
17954 }
17955
17956
17957 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
17958 PyObject *resultobj;
17959 wxPrinter *arg1 = (wxPrinter *) 0 ;
17960 wxWindow *arg2 = (wxWindow *) 0 ;
17961 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
17962 wxString *arg4 = 0 ;
17963 bool temp4 = False ;
17964 PyObject * obj0 = 0 ;
17965 PyObject * obj1 = 0 ;
17966 PyObject * obj2 = 0 ;
17967 PyObject * obj3 = 0 ;
17968 char *kwnames[] = {
17969 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
17970 };
17971
17972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17974 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17975 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17976 {
17977 arg4 = wxString_in_helper(obj3);
17978 if (arg4 == NULL) SWIG_fail;
17979 temp4 = True;
17980 }
17981 {
17982 PyThreadState* __tstate = wxPyBeginAllowThreads();
17983 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
17984
17985 wxPyEndAllowThreads(__tstate);
17986 if (PyErr_Occurred()) SWIG_fail;
17987 }
17988 Py_INCREF(Py_None); resultobj = Py_None;
17989 {
17990 if (temp4)
17991 delete arg4;
17992 }
17993 return resultobj;
17994 fail:
17995 {
17996 if (temp4)
17997 delete arg4;
17998 }
17999 return NULL;
18000 }
18001
18002
18003 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
18004 PyObject *resultobj;
18005 wxPrinter *arg1 = (wxPrinter *) 0 ;
18006 wxWindow *arg2 = (wxWindow *) 0 ;
18007 bool result;
18008 PyObject * obj0 = 0 ;
18009 PyObject * obj1 = 0 ;
18010 char *kwnames[] = {
18011 (char *) "self",(char *) "parent", NULL
18012 };
18013
18014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
18015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18016 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18017 {
18018 PyThreadState* __tstate = wxPyBeginAllowThreads();
18019 result = (bool)(arg1)->Setup(arg2);
18020
18021 wxPyEndAllowThreads(__tstate);
18022 if (PyErr_Occurred()) SWIG_fail;
18023 }
18024 resultobj = PyInt_FromLong((long)result);
18025 return resultobj;
18026 fail:
18027 return NULL;
18028 }
18029
18030
18031 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
18032 PyObject *resultobj;
18033 wxPrinter *arg1 = (wxPrinter *) 0 ;
18034 bool result;
18035 PyObject * obj0 = 0 ;
18036 char *kwnames[] = {
18037 (char *) "self", NULL
18038 };
18039
18040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
18041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18042 {
18043 PyThreadState* __tstate = wxPyBeginAllowThreads();
18044 result = (bool)(arg1)->GetAbort();
18045
18046 wxPyEndAllowThreads(__tstate);
18047 if (PyErr_Occurred()) SWIG_fail;
18048 }
18049 resultobj = PyInt_FromLong((long)result);
18050 return resultobj;
18051 fail:
18052 return NULL;
18053 }
18054
18055
18056 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
18057 PyObject *resultobj;
18058 int result;
18059 char *kwnames[] = {
18060 NULL
18061 };
18062
18063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
18064 {
18065 PyThreadState* __tstate = wxPyBeginAllowThreads();
18066 result = (int)wxPrinter::GetLastError();
18067
18068 wxPyEndAllowThreads(__tstate);
18069 if (PyErr_Occurred()) SWIG_fail;
18070 }
18071 resultobj = PyInt_FromLong((long)result);
18072 return resultobj;
18073 fail:
18074 return NULL;
18075 }
18076
18077
18078 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
18079 PyObject *obj;
18080 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18081 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
18082 Py_INCREF(obj);
18083 return Py_BuildValue((char *)"");
18084 }
18085 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
18086 PyObject *resultobj;
18087 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
18088 wxString *arg1 = (wxString *) &arg1_defvalue ;
18089 wxPyPrintout *result;
18090 bool temp1 = False ;
18091 PyObject * obj0 = 0 ;
18092 char *kwnames[] = {
18093 (char *) "title", NULL
18094 };
18095
18096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
18097 if (obj0) {
18098 {
18099 arg1 = wxString_in_helper(obj0);
18100 if (arg1 == NULL) SWIG_fail;
18101 temp1 = True;
18102 }
18103 }
18104 {
18105 PyThreadState* __tstate = wxPyBeginAllowThreads();
18106 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
18107
18108 wxPyEndAllowThreads(__tstate);
18109 if (PyErr_Occurred()) SWIG_fail;
18110 }
18111 {
18112 resultobj = wxPyMake_wxObject(result);
18113 }
18114 {
18115 if (temp1)
18116 delete arg1;
18117 }
18118 return resultobj;
18119 fail:
18120 {
18121 if (temp1)
18122 delete arg1;
18123 }
18124 return NULL;
18125 }
18126
18127
18128 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18129 PyObject *resultobj;
18130 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18131 PyObject *arg2 = (PyObject *) 0 ;
18132 PyObject *arg3 = (PyObject *) 0 ;
18133 PyObject * obj0 = 0 ;
18134 PyObject * obj1 = 0 ;
18135 PyObject * obj2 = 0 ;
18136 char *kwnames[] = {
18137 (char *) "self",(char *) "self",(char *) "_class", NULL
18138 };
18139
18140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18142 arg2 = obj1;
18143 arg3 = obj2;
18144 {
18145 PyThreadState* __tstate = wxPyBeginAllowThreads();
18146 (arg1)->_setCallbackInfo(arg2,arg3);
18147
18148 wxPyEndAllowThreads(__tstate);
18149 if (PyErr_Occurred()) SWIG_fail;
18150 }
18151 Py_INCREF(Py_None); resultobj = Py_None;
18152 return resultobj;
18153 fail:
18154 return NULL;
18155 }
18156
18157
18158 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
18159 PyObject *resultobj;
18160 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18161 wxString result;
18162 PyObject * obj0 = 0 ;
18163 char *kwnames[] = {
18164 (char *) "self", NULL
18165 };
18166
18167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
18168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18169 {
18170 PyThreadState* __tstate = wxPyBeginAllowThreads();
18171 result = ((wxPyPrintout const *)arg1)->GetTitle();
18172
18173 wxPyEndAllowThreads(__tstate);
18174 if (PyErr_Occurred()) SWIG_fail;
18175 }
18176 {
18177 #if wxUSE_UNICODE
18178 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18179 #else
18180 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18181 #endif
18182 }
18183 return resultobj;
18184 fail:
18185 return NULL;
18186 }
18187
18188
18189 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18190 PyObject *resultobj;
18191 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18192 wxDC *result;
18193 PyObject * obj0 = 0 ;
18194 char *kwnames[] = {
18195 (char *) "self", NULL
18196 };
18197
18198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
18199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18200 {
18201 PyThreadState* __tstate = wxPyBeginAllowThreads();
18202 result = (wxDC *)(arg1)->GetDC();
18203
18204 wxPyEndAllowThreads(__tstate);
18205 if (PyErr_Occurred()) SWIG_fail;
18206 }
18207 {
18208 resultobj = wxPyMake_wxObject(result);
18209 }
18210 return resultobj;
18211 fail:
18212 return NULL;
18213 }
18214
18215
18216 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18217 PyObject *resultobj;
18218 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18219 wxDC *arg2 = (wxDC *) 0 ;
18220 PyObject * obj0 = 0 ;
18221 PyObject * obj1 = 0 ;
18222 char *kwnames[] = {
18223 (char *) "self",(char *) "dc", NULL
18224 };
18225
18226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
18227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18228 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18229 {
18230 PyThreadState* __tstate = wxPyBeginAllowThreads();
18231 (arg1)->SetDC(arg2);
18232
18233 wxPyEndAllowThreads(__tstate);
18234 if (PyErr_Occurred()) SWIG_fail;
18235 }
18236 Py_INCREF(Py_None); resultobj = Py_None;
18237 return resultobj;
18238 fail:
18239 return NULL;
18240 }
18241
18242
18243 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
18244 PyObject *resultobj;
18245 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18246 int arg2 ;
18247 int arg3 ;
18248 PyObject * obj0 = 0 ;
18249 char *kwnames[] = {
18250 (char *) "self",(char *) "w",(char *) "h", NULL
18251 };
18252
18253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizePixels",kwnames,&obj0,&arg2,&arg3)) goto fail;
18254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18255 {
18256 PyThreadState* __tstate = wxPyBeginAllowThreads();
18257 (arg1)->SetPageSizePixels(arg2,arg3);
18258
18259 wxPyEndAllowThreads(__tstate);
18260 if (PyErr_Occurred()) SWIG_fail;
18261 }
18262 Py_INCREF(Py_None); resultobj = Py_None;
18263 return resultobj;
18264 fail:
18265 return NULL;
18266 }
18267
18268
18269 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
18270 PyObject *resultobj;
18271 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18272 int *arg2 = (int *) 0 ;
18273 int *arg3 = (int *) 0 ;
18274 int temp2 ;
18275 int temp3 ;
18276 PyObject * obj0 = 0 ;
18277 char *kwnames[] = {
18278 (char *) "self", NULL
18279 };
18280
18281 arg2 = &temp2;
18282 arg3 = &temp3;
18283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
18284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18285 {
18286 PyThreadState* __tstate = wxPyBeginAllowThreads();
18287 (arg1)->GetPageSizePixels(arg2,arg3);
18288
18289 wxPyEndAllowThreads(__tstate);
18290 if (PyErr_Occurred()) SWIG_fail;
18291 }
18292 Py_INCREF(Py_None); resultobj = Py_None;
18293 {
18294 PyObject *o = PyInt_FromLong((long) (*arg2));
18295 resultobj = t_output_helper(resultobj,o);
18296 }
18297 {
18298 PyObject *o = PyInt_FromLong((long) (*arg3));
18299 resultobj = t_output_helper(resultobj,o);
18300 }
18301 return resultobj;
18302 fail:
18303 return NULL;
18304 }
18305
18306
18307 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18308 PyObject *resultobj;
18309 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18310 int arg2 ;
18311 int arg3 ;
18312 PyObject * obj0 = 0 ;
18313 char *kwnames[] = {
18314 (char *) "self",(char *) "w",(char *) "h", NULL
18315 };
18316
18317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizeMM",kwnames,&obj0,&arg2,&arg3)) goto fail;
18318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18319 {
18320 PyThreadState* __tstate = wxPyBeginAllowThreads();
18321 (arg1)->SetPageSizeMM(arg2,arg3);
18322
18323 wxPyEndAllowThreads(__tstate);
18324 if (PyErr_Occurred()) SWIG_fail;
18325 }
18326 Py_INCREF(Py_None); resultobj = Py_None;
18327 return resultobj;
18328 fail:
18329 return NULL;
18330 }
18331
18332
18333 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18334 PyObject *resultobj;
18335 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18336 int *arg2 = (int *) 0 ;
18337 int *arg3 = (int *) 0 ;
18338 int temp2 ;
18339 int temp3 ;
18340 PyObject * obj0 = 0 ;
18341 char *kwnames[] = {
18342 (char *) "self", NULL
18343 };
18344
18345 arg2 = &temp2;
18346 arg3 = &temp3;
18347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
18348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18349 {
18350 PyThreadState* __tstate = wxPyBeginAllowThreads();
18351 (arg1)->GetPageSizeMM(arg2,arg3);
18352
18353 wxPyEndAllowThreads(__tstate);
18354 if (PyErr_Occurred()) SWIG_fail;
18355 }
18356 Py_INCREF(Py_None); resultobj = Py_None;
18357 {
18358 PyObject *o = PyInt_FromLong((long) (*arg2));
18359 resultobj = t_output_helper(resultobj,o);
18360 }
18361 {
18362 PyObject *o = PyInt_FromLong((long) (*arg3));
18363 resultobj = t_output_helper(resultobj,o);
18364 }
18365 return resultobj;
18366 fail:
18367 return NULL;
18368 }
18369
18370
18371 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18372 PyObject *resultobj;
18373 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18374 int arg2 ;
18375 int arg3 ;
18376 PyObject * obj0 = 0 ;
18377 char *kwnames[] = {
18378 (char *) "self",(char *) "x",(char *) "y", NULL
18379 };
18380
18381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIScreen",kwnames,&obj0,&arg2,&arg3)) goto fail;
18382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18383 {
18384 PyThreadState* __tstate = wxPyBeginAllowThreads();
18385 (arg1)->SetPPIScreen(arg2,arg3);
18386
18387 wxPyEndAllowThreads(__tstate);
18388 if (PyErr_Occurred()) SWIG_fail;
18389 }
18390 Py_INCREF(Py_None); resultobj = Py_None;
18391 return resultobj;
18392 fail:
18393 return NULL;
18394 }
18395
18396
18397 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18398 PyObject *resultobj;
18399 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18400 int *arg2 = (int *) 0 ;
18401 int *arg3 = (int *) 0 ;
18402 int temp2 ;
18403 int temp3 ;
18404 PyObject * obj0 = 0 ;
18405 char *kwnames[] = {
18406 (char *) "self", NULL
18407 };
18408
18409 arg2 = &temp2;
18410 arg3 = &temp3;
18411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
18412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18413 {
18414 PyThreadState* __tstate = wxPyBeginAllowThreads();
18415 (arg1)->GetPPIScreen(arg2,arg3);
18416
18417 wxPyEndAllowThreads(__tstate);
18418 if (PyErr_Occurred()) SWIG_fail;
18419 }
18420 Py_INCREF(Py_None); resultobj = Py_None;
18421 {
18422 PyObject *o = PyInt_FromLong((long) (*arg2));
18423 resultobj = t_output_helper(resultobj,o);
18424 }
18425 {
18426 PyObject *o = PyInt_FromLong((long) (*arg3));
18427 resultobj = t_output_helper(resultobj,o);
18428 }
18429 return resultobj;
18430 fail:
18431 return NULL;
18432 }
18433
18434
18435 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18436 PyObject *resultobj;
18437 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18438 int arg2 ;
18439 int arg3 ;
18440 PyObject * obj0 = 0 ;
18441 char *kwnames[] = {
18442 (char *) "self",(char *) "x",(char *) "y", NULL
18443 };
18444
18445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIPrinter",kwnames,&obj0,&arg2,&arg3)) goto fail;
18446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18447 {
18448 PyThreadState* __tstate = wxPyBeginAllowThreads();
18449 (arg1)->SetPPIPrinter(arg2,arg3);
18450
18451 wxPyEndAllowThreads(__tstate);
18452 if (PyErr_Occurred()) SWIG_fail;
18453 }
18454 Py_INCREF(Py_None); resultobj = Py_None;
18455 return resultobj;
18456 fail:
18457 return NULL;
18458 }
18459
18460
18461 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18462 PyObject *resultobj;
18463 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18464 int *arg2 = (int *) 0 ;
18465 int *arg3 = (int *) 0 ;
18466 int temp2 ;
18467 int temp3 ;
18468 PyObject * obj0 = 0 ;
18469 char *kwnames[] = {
18470 (char *) "self", NULL
18471 };
18472
18473 arg2 = &temp2;
18474 arg3 = &temp3;
18475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
18476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18477 {
18478 PyThreadState* __tstate = wxPyBeginAllowThreads();
18479 (arg1)->GetPPIPrinter(arg2,arg3);
18480
18481 wxPyEndAllowThreads(__tstate);
18482 if (PyErr_Occurred()) SWIG_fail;
18483 }
18484 Py_INCREF(Py_None); resultobj = Py_None;
18485 {
18486 PyObject *o = PyInt_FromLong((long) (*arg2));
18487 resultobj = t_output_helper(resultobj,o);
18488 }
18489 {
18490 PyObject *o = PyInt_FromLong((long) (*arg3));
18491 resultobj = t_output_helper(resultobj,o);
18492 }
18493 return resultobj;
18494 fail:
18495 return NULL;
18496 }
18497
18498
18499 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18500 PyObject *resultobj;
18501 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18502 bool result;
18503 PyObject * obj0 = 0 ;
18504 char *kwnames[] = {
18505 (char *) "self", NULL
18506 };
18507
18508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
18509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18510 {
18511 PyThreadState* __tstate = wxPyBeginAllowThreads();
18512 result = (bool)(arg1)->IsPreview();
18513
18514 wxPyEndAllowThreads(__tstate);
18515 if (PyErr_Occurred()) SWIG_fail;
18516 }
18517 resultobj = PyInt_FromLong((long)result);
18518 return resultobj;
18519 fail:
18520 return NULL;
18521 }
18522
18523
18524 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18525 PyObject *resultobj;
18526 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18527 bool arg2 ;
18528 PyObject * obj0 = 0 ;
18529 PyObject * obj1 = 0 ;
18530 char *kwnames[] = {
18531 (char *) "self",(char *) "p", NULL
18532 };
18533
18534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
18535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18536 arg2 = PyInt_AsLong(obj1) ? true : false;
18537 if (PyErr_Occurred()) SWIG_fail;
18538 {
18539 PyThreadState* __tstate = wxPyBeginAllowThreads();
18540 (arg1)->SetIsPreview(arg2);
18541
18542 wxPyEndAllowThreads(__tstate);
18543 if (PyErr_Occurred()) SWIG_fail;
18544 }
18545 Py_INCREF(Py_None); resultobj = Py_None;
18546 return resultobj;
18547 fail:
18548 return NULL;
18549 }
18550
18551
18552 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
18553 PyObject *resultobj;
18554 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18555 int arg2 ;
18556 int arg3 ;
18557 bool result;
18558 PyObject * obj0 = 0 ;
18559 char *kwnames[] = {
18560 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
18561 };
18562
18563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_base_OnBeginDocument",kwnames,&obj0,&arg2,&arg3)) goto fail;
18564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18565 {
18566 PyThreadState* __tstate = wxPyBeginAllowThreads();
18567 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
18568
18569 wxPyEndAllowThreads(__tstate);
18570 if (PyErr_Occurred()) SWIG_fail;
18571 }
18572 resultobj = PyInt_FromLong((long)result);
18573 return resultobj;
18574 fail:
18575 return NULL;
18576 }
18577
18578
18579 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
18580 PyObject *resultobj;
18581 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18582 PyObject * obj0 = 0 ;
18583 char *kwnames[] = {
18584 (char *) "self", NULL
18585 };
18586
18587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
18588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18589 {
18590 PyThreadState* __tstate = wxPyBeginAllowThreads();
18591 (arg1)->base_OnEndDocument();
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_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18604 PyObject *resultobj;
18605 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18606 PyObject * obj0 = 0 ;
18607 char *kwnames[] = {
18608 (char *) "self", NULL
18609 };
18610
18611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
18612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18613 {
18614 PyThreadState* __tstate = wxPyBeginAllowThreads();
18615 (arg1)->base_OnBeginPrinting();
18616
18617 wxPyEndAllowThreads(__tstate);
18618 if (PyErr_Occurred()) SWIG_fail;
18619 }
18620 Py_INCREF(Py_None); resultobj = Py_None;
18621 return resultobj;
18622 fail:
18623 return NULL;
18624 }
18625
18626
18627 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18628 PyObject *resultobj;
18629 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18630 PyObject * obj0 = 0 ;
18631 char *kwnames[] = {
18632 (char *) "self", NULL
18633 };
18634
18635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
18636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18637 {
18638 PyThreadState* __tstate = wxPyBeginAllowThreads();
18639 (arg1)->base_OnEndPrinting();
18640
18641 wxPyEndAllowThreads(__tstate);
18642 if (PyErr_Occurred()) SWIG_fail;
18643 }
18644 Py_INCREF(Py_None); resultobj = Py_None;
18645 return resultobj;
18646 fail:
18647 return NULL;
18648 }
18649
18650
18651 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18652 PyObject *resultobj;
18653 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18654 PyObject * obj0 = 0 ;
18655 char *kwnames[] = {
18656 (char *) "self", NULL
18657 };
18658
18659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
18660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18661 {
18662 PyThreadState* __tstate = wxPyBeginAllowThreads();
18663 (arg1)->base_OnPreparePrinting();
18664
18665 wxPyEndAllowThreads(__tstate);
18666 if (PyErr_Occurred()) SWIG_fail;
18667 }
18668 Py_INCREF(Py_None); resultobj = Py_None;
18669 return resultobj;
18670 fail:
18671 return NULL;
18672 }
18673
18674
18675 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18676 PyObject *resultobj;
18677 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18678 int arg2 ;
18679 bool result;
18680 PyObject * obj0 = 0 ;
18681 char *kwnames[] = {
18682 (char *) "self",(char *) "page", NULL
18683 };
18684
18685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Printout_base_HasPage",kwnames,&obj0,&arg2)) goto fail;
18686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18687 {
18688 PyThreadState* __tstate = wxPyBeginAllowThreads();
18689 result = (bool)(arg1)->base_HasPage(arg2);
18690
18691 wxPyEndAllowThreads(__tstate);
18692 if (PyErr_Occurred()) SWIG_fail;
18693 }
18694 resultobj = PyInt_FromLong((long)result);
18695 return resultobj;
18696 fail:
18697 return NULL;
18698 }
18699
18700
18701 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18702 PyObject *resultobj;
18703 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18704 int *arg2 = (int *) 0 ;
18705 int *arg3 = (int *) 0 ;
18706 int *arg4 = (int *) 0 ;
18707 int *arg5 = (int *) 0 ;
18708 int temp2 ;
18709 int temp3 ;
18710 int temp4 ;
18711 int temp5 ;
18712 PyObject * obj0 = 0 ;
18713 char *kwnames[] = {
18714 (char *) "self", NULL
18715 };
18716
18717 arg2 = &temp2;
18718 arg3 = &temp3;
18719 arg4 = &temp4;
18720 arg5 = &temp5;
18721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
18722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18723 {
18724 PyThreadState* __tstate = wxPyBeginAllowThreads();
18725 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
18726
18727 wxPyEndAllowThreads(__tstate);
18728 if (PyErr_Occurred()) SWIG_fail;
18729 }
18730 Py_INCREF(Py_None); resultobj = Py_None;
18731 {
18732 PyObject *o = PyInt_FromLong((long) (*arg2));
18733 resultobj = t_output_helper(resultobj,o);
18734 }
18735 {
18736 PyObject *o = PyInt_FromLong((long) (*arg3));
18737 resultobj = t_output_helper(resultobj,o);
18738 }
18739 {
18740 PyObject *o = PyInt_FromLong((long) (*arg4));
18741 resultobj = t_output_helper(resultobj,o);
18742 }
18743 {
18744 PyObject *o = PyInt_FromLong((long) (*arg5));
18745 resultobj = t_output_helper(resultobj,o);
18746 }
18747 return resultobj;
18748 fail:
18749 return NULL;
18750 }
18751
18752
18753 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
18754 PyObject *obj;
18755 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18756 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
18757 Py_INCREF(obj);
18758 return Py_BuildValue((char *)"");
18759 }
18760 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
18761 PyObject *resultobj;
18762 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
18763 wxWindow *arg2 = (wxWindow *) 0 ;
18764 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18765 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18766 wxSize const &arg4_defvalue = wxDefaultSize ;
18767 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18768 long arg5 = (long) 0 ;
18769 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
18770 wxString *arg6 = (wxString *) &arg6_defvalue ;
18771 wxPreviewCanvas *result;
18772 wxPoint temp3 ;
18773 wxSize temp4 ;
18774 bool temp6 = False ;
18775 PyObject * obj0 = 0 ;
18776 PyObject * obj1 = 0 ;
18777 PyObject * obj2 = 0 ;
18778 PyObject * obj3 = 0 ;
18779 PyObject * obj5 = 0 ;
18780 char *kwnames[] = {
18781 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18782 };
18783
18784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
18785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18786 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18787 if (obj2) {
18788 {
18789 arg3 = &temp3;
18790 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18791 }
18792 }
18793 if (obj3) {
18794 {
18795 arg4 = &temp4;
18796 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18797 }
18798 }
18799 if (obj5) {
18800 {
18801 arg6 = wxString_in_helper(obj5);
18802 if (arg6 == NULL) SWIG_fail;
18803 temp6 = True;
18804 }
18805 }
18806 {
18807 PyThreadState* __tstate = wxPyBeginAllowThreads();
18808 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18809
18810 wxPyEndAllowThreads(__tstate);
18811 if (PyErr_Occurred()) SWIG_fail;
18812 }
18813 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 1);
18814 {
18815 if (temp6)
18816 delete arg6;
18817 }
18818 return resultobj;
18819 fail:
18820 {
18821 if (temp6)
18822 delete arg6;
18823 }
18824 return NULL;
18825 }
18826
18827
18828 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
18829 PyObject *obj;
18830 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18831 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
18832 Py_INCREF(obj);
18833 return Py_BuildValue((char *)"");
18834 }
18835 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
18836 PyObject *resultobj;
18837 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
18838 wxFrame *arg2 = (wxFrame *) 0 ;
18839 wxString *arg3 = 0 ;
18840 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18841 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18842 wxSize const &arg5_defvalue = wxDefaultSize ;
18843 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18844 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
18845 wxString const &arg7_defvalue = wxPyFrameNameStr ;
18846 wxString *arg7 = (wxString *) &arg7_defvalue ;
18847 wxPreviewFrame *result;
18848 bool temp3 = False ;
18849 wxPoint temp4 ;
18850 wxSize temp5 ;
18851 bool temp7 = False ;
18852 PyObject * obj0 = 0 ;
18853 PyObject * obj1 = 0 ;
18854 PyObject * obj2 = 0 ;
18855 PyObject * obj3 = 0 ;
18856 PyObject * obj4 = 0 ;
18857 PyObject * obj6 = 0 ;
18858 char *kwnames[] = {
18859 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18860 };
18861
18862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
18863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18864 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18865 {
18866 arg3 = wxString_in_helper(obj2);
18867 if (arg3 == NULL) SWIG_fail;
18868 temp3 = True;
18869 }
18870 if (obj3) {
18871 {
18872 arg4 = &temp4;
18873 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18874 }
18875 }
18876 if (obj4) {
18877 {
18878 arg5 = &temp5;
18879 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18880 }
18881 }
18882 if (obj6) {
18883 {
18884 arg7 = wxString_in_helper(obj6);
18885 if (arg7 == NULL) SWIG_fail;
18886 temp7 = True;
18887 }
18888 }
18889 {
18890 PyThreadState* __tstate = wxPyBeginAllowThreads();
18891 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18892
18893 wxPyEndAllowThreads(__tstate);
18894 if (PyErr_Occurred()) SWIG_fail;
18895 }
18896 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewFrame, 1);
18897 {
18898 if (temp3)
18899 delete arg3;
18900 }
18901 {
18902 if (temp7)
18903 delete arg7;
18904 }
18905 return resultobj;
18906 fail:
18907 {
18908 if (temp3)
18909 delete arg3;
18910 }
18911 {
18912 if (temp7)
18913 delete arg7;
18914 }
18915 return NULL;
18916 }
18917
18918
18919 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
18920 PyObject *resultobj;
18921 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
18922 PyObject * obj0 = 0 ;
18923 char *kwnames[] = {
18924 (char *) "self", NULL
18925 };
18926
18927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
18928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18929 {
18930 PyThreadState* __tstate = wxPyBeginAllowThreads();
18931 (arg1)->Initialize();
18932
18933 wxPyEndAllowThreads(__tstate);
18934 if (PyErr_Occurred()) SWIG_fail;
18935 }
18936 Py_INCREF(Py_None); resultobj = Py_None;
18937 return resultobj;
18938 fail:
18939 return NULL;
18940 }
18941
18942
18943 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
18944 PyObject *resultobj;
18945 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
18946 PyObject * obj0 = 0 ;
18947 char *kwnames[] = {
18948 (char *) "self", NULL
18949 };
18950
18951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
18952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18953 {
18954 PyThreadState* __tstate = wxPyBeginAllowThreads();
18955 (arg1)->CreateControlBar();
18956
18957 wxPyEndAllowThreads(__tstate);
18958 if (PyErr_Occurred()) SWIG_fail;
18959 }
18960 Py_INCREF(Py_None); resultobj = Py_None;
18961 return resultobj;
18962 fail:
18963 return NULL;
18964 }
18965
18966
18967 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
18968 PyObject *resultobj;
18969 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
18970 PyObject * obj0 = 0 ;
18971 char *kwnames[] = {
18972 (char *) "self", NULL
18973 };
18974
18975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
18976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18977 {
18978 PyThreadState* __tstate = wxPyBeginAllowThreads();
18979 (arg1)->CreateCanvas();
18980
18981 wxPyEndAllowThreads(__tstate);
18982 if (PyErr_Occurred()) SWIG_fail;
18983 }
18984 Py_INCREF(Py_None); resultobj = Py_None;
18985 return resultobj;
18986 fail:
18987 return NULL;
18988 }
18989
18990
18991 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
18992 PyObject *resultobj;
18993 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
18994 wxPreviewControlBar *result;
18995 PyObject * obj0 = 0 ;
18996 char *kwnames[] = {
18997 (char *) "self", NULL
18998 };
18999
19000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
19001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19002 {
19003 PyThreadState* __tstate = wxPyBeginAllowThreads();
19004 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
19005
19006 wxPyEndAllowThreads(__tstate);
19007 if (PyErr_Occurred()) SWIG_fail;
19008 }
19009 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 0);
19010 return resultobj;
19011 fail:
19012 return NULL;
19013 }
19014
19015
19016 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
19017 PyObject *obj;
19018 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19019 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
19020 Py_INCREF(obj);
19021 return Py_BuildValue((char *)"");
19022 }
19023 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19024 PyObject *resultobj;
19025 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19026 long arg2 ;
19027 wxWindow *arg3 = (wxWindow *) 0 ;
19028 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19029 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19030 wxSize const &arg5_defvalue = wxDefaultSize ;
19031 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19032 long arg6 = (long) wxTAB_TRAVERSAL ;
19033 wxString const &arg7_defvalue = wxPyPanelNameStr ;
19034 wxString *arg7 = (wxString *) &arg7_defvalue ;
19035 wxPreviewControlBar *result;
19036 wxPoint temp4 ;
19037 wxSize temp5 ;
19038 bool temp7 = False ;
19039 PyObject * obj0 = 0 ;
19040 PyObject * obj2 = 0 ;
19041 PyObject * obj3 = 0 ;
19042 PyObject * obj4 = 0 ;
19043 PyObject * obj6 = 0 ;
19044 char *kwnames[] = {
19045 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19046 };
19047
19048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
19049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19050 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19051 if (obj3) {
19052 {
19053 arg4 = &temp4;
19054 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19055 }
19056 }
19057 if (obj4) {
19058 {
19059 arg5 = &temp5;
19060 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19061 }
19062 }
19063 if (obj6) {
19064 {
19065 arg7 = wxString_in_helper(obj6);
19066 if (arg7 == NULL) SWIG_fail;
19067 temp7 = True;
19068 }
19069 }
19070 {
19071 PyThreadState* __tstate = wxPyBeginAllowThreads();
19072 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19073
19074 wxPyEndAllowThreads(__tstate);
19075 if (PyErr_Occurred()) SWIG_fail;
19076 }
19077 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 1);
19078 {
19079 if (temp7)
19080 delete arg7;
19081 }
19082 return resultobj;
19083 fail:
19084 {
19085 if (temp7)
19086 delete arg7;
19087 }
19088 return NULL;
19089 }
19090
19091
19092 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19093 PyObject *resultobj;
19094 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19095 int result;
19096 PyObject * obj0 = 0 ;
19097 char *kwnames[] = {
19098 (char *) "self", NULL
19099 };
19100
19101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
19102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19103 {
19104 PyThreadState* __tstate = wxPyBeginAllowThreads();
19105 result = (int)(arg1)->GetZoomControl();
19106
19107 wxPyEndAllowThreads(__tstate);
19108 if (PyErr_Occurred()) SWIG_fail;
19109 }
19110 resultobj = PyInt_FromLong((long)result);
19111 return resultobj;
19112 fail:
19113 return NULL;
19114 }
19115
19116
19117 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19118 PyObject *resultobj;
19119 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19120 int arg2 ;
19121 PyObject * obj0 = 0 ;
19122 char *kwnames[] = {
19123 (char *) "self",(char *) "zoom", NULL
19124 };
19125
19126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PreviewControlBar_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
19127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19128 {
19129 PyThreadState* __tstate = wxPyBeginAllowThreads();
19130 (arg1)->SetZoomControl(arg2);
19131
19132 wxPyEndAllowThreads(__tstate);
19133 if (PyErr_Occurred()) SWIG_fail;
19134 }
19135 Py_INCREF(Py_None); resultobj = Py_None;
19136 return resultobj;
19137 fail:
19138 return NULL;
19139 }
19140
19141
19142 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19143 PyObject *resultobj;
19144 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19145 wxPrintPreview *result;
19146 PyObject * obj0 = 0 ;
19147 char *kwnames[] = {
19148 (char *) "self", NULL
19149 };
19150
19151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
19152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19153 {
19154 PyThreadState* __tstate = wxPyBeginAllowThreads();
19155 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
19156
19157 wxPyEndAllowThreads(__tstate);
19158 if (PyErr_Occurred()) SWIG_fail;
19159 }
19160 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 0);
19161 return resultobj;
19162 fail:
19163 return NULL;
19164 }
19165
19166
19167 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
19168 PyObject *resultobj;
19169 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19170 PyObject * obj0 = 0 ;
19171 char *kwnames[] = {
19172 (char *) "self", NULL
19173 };
19174
19175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
19176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19177 {
19178 PyThreadState* __tstate = wxPyBeginAllowThreads();
19179 (arg1)->OnNext();
19180
19181 wxPyEndAllowThreads(__tstate);
19182 if (PyErr_Occurred()) SWIG_fail;
19183 }
19184 Py_INCREF(Py_None); resultobj = Py_None;
19185 return resultobj;
19186 fail:
19187 return NULL;
19188 }
19189
19190
19191 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
19192 PyObject *resultobj;
19193 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19194 PyObject * obj0 = 0 ;
19195 char *kwnames[] = {
19196 (char *) "self", NULL
19197 };
19198
19199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
19200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19201 {
19202 PyThreadState* __tstate = wxPyBeginAllowThreads();
19203 (arg1)->OnPrevious();
19204
19205 wxPyEndAllowThreads(__tstate);
19206 if (PyErr_Occurred()) SWIG_fail;
19207 }
19208 Py_INCREF(Py_None); resultobj = Py_None;
19209 return resultobj;
19210 fail:
19211 return NULL;
19212 }
19213
19214
19215 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
19216 PyObject *resultobj;
19217 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19218 PyObject * obj0 = 0 ;
19219 char *kwnames[] = {
19220 (char *) "self", NULL
19221 };
19222
19223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
19224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19225 {
19226 PyThreadState* __tstate = wxPyBeginAllowThreads();
19227 (arg1)->OnFirst();
19228
19229 wxPyEndAllowThreads(__tstate);
19230 if (PyErr_Occurred()) SWIG_fail;
19231 }
19232 Py_INCREF(Py_None); resultobj = Py_None;
19233 return resultobj;
19234 fail:
19235 return NULL;
19236 }
19237
19238
19239 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
19240 PyObject *resultobj;
19241 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19242 PyObject * obj0 = 0 ;
19243 char *kwnames[] = {
19244 (char *) "self", NULL
19245 };
19246
19247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
19248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19249 {
19250 PyThreadState* __tstate = wxPyBeginAllowThreads();
19251 (arg1)->OnLast();
19252
19253 wxPyEndAllowThreads(__tstate);
19254 if (PyErr_Occurred()) SWIG_fail;
19255 }
19256 Py_INCREF(Py_None); resultobj = Py_None;
19257 return resultobj;
19258 fail:
19259 return NULL;
19260 }
19261
19262
19263 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
19264 PyObject *resultobj;
19265 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19266 PyObject * obj0 = 0 ;
19267 char *kwnames[] = {
19268 (char *) "self", NULL
19269 };
19270
19271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
19272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19273 {
19274 PyThreadState* __tstate = wxPyBeginAllowThreads();
19275 (arg1)->OnGoto();
19276
19277 wxPyEndAllowThreads(__tstate);
19278 if (PyErr_Occurred()) SWIG_fail;
19279 }
19280 Py_INCREF(Py_None); resultobj = Py_None;
19281 return resultobj;
19282 fail:
19283 return NULL;
19284 }
19285
19286
19287 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
19288 PyObject *obj;
19289 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19290 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
19291 Py_INCREF(obj);
19292 return Py_BuildValue((char *)"");
19293 }
19294 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19295 PyObject *resultobj;
19296 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19297 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19298 wxPrintData *arg3 = (wxPrintData *) NULL ;
19299 wxPrintPreview *result;
19300 PyObject * obj0 = 0 ;
19301 PyObject * obj1 = 0 ;
19302 PyObject * obj2 = 0 ;
19303 char *kwnames[] = {
19304 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19305 };
19306
19307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
19308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19309 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19310 if (obj2) {
19311 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19312 }
19313 {
19314 PyThreadState* __tstate = wxPyBeginAllowThreads();
19315 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
19316
19317 wxPyEndAllowThreads(__tstate);
19318 if (PyErr_Occurred()) SWIG_fail;
19319 }
19320 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 1);
19321 return resultobj;
19322 fail:
19323 return NULL;
19324 }
19325
19326
19327 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19328 PyObject *resultobj;
19329 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19330 int arg2 ;
19331 bool result;
19332 PyObject * obj0 = 0 ;
19333 char *kwnames[] = {
19334 (char *) "self",(char *) "pageNum", NULL
19335 };
19336
19337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
19338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19339 {
19340 PyThreadState* __tstate = wxPyBeginAllowThreads();
19341 result = (bool)(arg1)->SetCurrentPage(arg2);
19342
19343 wxPyEndAllowThreads(__tstate);
19344 if (PyErr_Occurred()) SWIG_fail;
19345 }
19346 resultobj = PyInt_FromLong((long)result);
19347 return resultobj;
19348 fail:
19349 return NULL;
19350 }
19351
19352
19353 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19354 PyObject *resultobj;
19355 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19356 int result;
19357 PyObject * obj0 = 0 ;
19358 char *kwnames[] = {
19359 (char *) "self", NULL
19360 };
19361
19362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
19363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19364 {
19365 PyThreadState* __tstate = wxPyBeginAllowThreads();
19366 result = (int)(arg1)->GetCurrentPage();
19367
19368 wxPyEndAllowThreads(__tstate);
19369 if (PyErr_Occurred()) SWIG_fail;
19370 }
19371 resultobj = PyInt_FromLong((long)result);
19372 return resultobj;
19373 fail:
19374 return NULL;
19375 }
19376
19377
19378 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19379 PyObject *resultobj;
19380 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19381 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19382 PyObject * obj0 = 0 ;
19383 PyObject * obj1 = 0 ;
19384 char *kwnames[] = {
19385 (char *) "self",(char *) "printout", NULL
19386 };
19387
19388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
19389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19390 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19391 {
19392 PyThreadState* __tstate = wxPyBeginAllowThreads();
19393 (arg1)->SetPrintout(arg2);
19394
19395 wxPyEndAllowThreads(__tstate);
19396 if (PyErr_Occurred()) SWIG_fail;
19397 }
19398 Py_INCREF(Py_None); resultobj = Py_None;
19399 return resultobj;
19400 fail:
19401 return NULL;
19402 }
19403
19404
19405 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19406 PyObject *resultobj;
19407 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19408 wxPyPrintout *result;
19409 PyObject * obj0 = 0 ;
19410 char *kwnames[] = {
19411 (char *) "self", NULL
19412 };
19413
19414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
19415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19416 {
19417 PyThreadState* __tstate = wxPyBeginAllowThreads();
19418 result = (wxPyPrintout *)(arg1)->GetPrintout();
19419
19420 wxPyEndAllowThreads(__tstate);
19421 if (PyErr_Occurred()) SWIG_fail;
19422 }
19423 {
19424 resultobj = wxPyMake_wxObject(result);
19425 }
19426 return resultobj;
19427 fail:
19428 return NULL;
19429 }
19430
19431
19432 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
19433 PyObject *resultobj;
19434 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19435 wxPyPrintout *result;
19436 PyObject * obj0 = 0 ;
19437 char *kwnames[] = {
19438 (char *) "self", NULL
19439 };
19440
19441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
19442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19443 {
19444 PyThreadState* __tstate = wxPyBeginAllowThreads();
19445 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
19446
19447 wxPyEndAllowThreads(__tstate);
19448 if (PyErr_Occurred()) SWIG_fail;
19449 }
19450 {
19451 resultobj = wxPyMake_wxObject(result);
19452 }
19453 return resultobj;
19454 fail:
19455 return NULL;
19456 }
19457
19458
19459 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19460 PyObject *resultobj;
19461 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19462 wxFrame *arg2 = (wxFrame *) 0 ;
19463 PyObject * obj0 = 0 ;
19464 PyObject * obj1 = 0 ;
19465 char *kwnames[] = {
19466 (char *) "self",(char *) "frame", NULL
19467 };
19468
19469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
19470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19471 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19472 {
19473 PyThreadState* __tstate = wxPyBeginAllowThreads();
19474 (arg1)->SetFrame(arg2);
19475
19476 wxPyEndAllowThreads(__tstate);
19477 if (PyErr_Occurred()) SWIG_fail;
19478 }
19479 Py_INCREF(Py_None); resultobj = Py_None;
19480 return resultobj;
19481 fail:
19482 return NULL;
19483 }
19484
19485
19486 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19487 PyObject *resultobj;
19488 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19489 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19490 PyObject * obj0 = 0 ;
19491 PyObject * obj1 = 0 ;
19492 char *kwnames[] = {
19493 (char *) "self",(char *) "canvas", NULL
19494 };
19495
19496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
19497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19498 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19499 {
19500 PyThreadState* __tstate = wxPyBeginAllowThreads();
19501 (arg1)->SetCanvas(arg2);
19502
19503 wxPyEndAllowThreads(__tstate);
19504 if (PyErr_Occurred()) SWIG_fail;
19505 }
19506 Py_INCREF(Py_None); resultobj = Py_None;
19507 return resultobj;
19508 fail:
19509 return NULL;
19510 }
19511
19512
19513 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19514 PyObject *resultobj;
19515 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19516 wxFrame *result;
19517 PyObject * obj0 = 0 ;
19518 char *kwnames[] = {
19519 (char *) "self", NULL
19520 };
19521
19522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
19523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19524 {
19525 PyThreadState* __tstate = wxPyBeginAllowThreads();
19526 result = (wxFrame *)(arg1)->GetFrame();
19527
19528 wxPyEndAllowThreads(__tstate);
19529 if (PyErr_Occurred()) SWIG_fail;
19530 }
19531 {
19532 resultobj = wxPyMake_wxObject(result);
19533 }
19534 return resultobj;
19535 fail:
19536 return NULL;
19537 }
19538
19539
19540 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19541 PyObject *resultobj;
19542 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19543 wxPreviewCanvas *result;
19544 PyObject * obj0 = 0 ;
19545 char *kwnames[] = {
19546 (char *) "self", NULL
19547 };
19548
19549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
19550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19551 {
19552 PyThreadState* __tstate = wxPyBeginAllowThreads();
19553 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
19554
19555 wxPyEndAllowThreads(__tstate);
19556 if (PyErr_Occurred()) SWIG_fail;
19557 }
19558 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 0);
19559 return resultobj;
19560 fail:
19561 return NULL;
19562 }
19563
19564
19565 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19566 PyObject *resultobj;
19567 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19568 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19569 wxDC *arg3 = 0 ;
19570 bool result;
19571 PyObject * obj0 = 0 ;
19572 PyObject * obj1 = 0 ;
19573 PyObject * obj2 = 0 ;
19574 char *kwnames[] = {
19575 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19576 };
19577
19578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
19579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19580 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19581 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19582 if (arg3 == NULL) {
19583 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19584 }
19585 {
19586 PyThreadState* __tstate = wxPyBeginAllowThreads();
19587 result = (bool)(arg1)->PaintPage(arg2,*arg3);
19588
19589 wxPyEndAllowThreads(__tstate);
19590 if (PyErr_Occurred()) SWIG_fail;
19591 }
19592 resultobj = PyInt_FromLong((long)result);
19593 return resultobj;
19594 fail:
19595 return NULL;
19596 }
19597
19598
19599 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19600 PyObject *resultobj;
19601 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19602 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19603 wxDC *arg3 = 0 ;
19604 bool result;
19605 PyObject * obj0 = 0 ;
19606 PyObject * obj1 = 0 ;
19607 PyObject * obj2 = 0 ;
19608 char *kwnames[] = {
19609 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19610 };
19611
19612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
19613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19614 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19615 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19616 if (arg3 == NULL) {
19617 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19618 }
19619 {
19620 PyThreadState* __tstate = wxPyBeginAllowThreads();
19621 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
19622
19623 wxPyEndAllowThreads(__tstate);
19624 if (PyErr_Occurred()) SWIG_fail;
19625 }
19626 resultobj = PyInt_FromLong((long)result);
19627 return resultobj;
19628 fail:
19629 return NULL;
19630 }
19631
19632
19633 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19634 PyObject *resultobj;
19635 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19636 int arg2 ;
19637 bool result;
19638 PyObject * obj0 = 0 ;
19639 char *kwnames[] = {
19640 (char *) "self",(char *) "pageNum", NULL
19641 };
19642
19643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_RenderPage",kwnames,&obj0,&arg2)) goto fail;
19644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19645 {
19646 PyThreadState* __tstate = wxPyBeginAllowThreads();
19647 result = (bool)(arg1)->RenderPage(arg2);
19648
19649 wxPyEndAllowThreads(__tstate);
19650 if (PyErr_Occurred()) SWIG_fail;
19651 }
19652 resultobj = PyInt_FromLong((long)result);
19653 return resultobj;
19654 fail:
19655 return NULL;
19656 }
19657
19658
19659 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
19660 PyObject *resultobj;
19661 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19662 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19663 PyObject * obj0 = 0 ;
19664 PyObject * obj1 = 0 ;
19665 char *kwnames[] = {
19666 (char *) "self",(char *) "canvas", NULL
19667 };
19668
19669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
19670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19671 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19672 {
19673 PyThreadState* __tstate = wxPyBeginAllowThreads();
19674 (arg1)->AdjustScrollbars(arg2);
19675
19676 wxPyEndAllowThreads(__tstate);
19677 if (PyErr_Occurred()) SWIG_fail;
19678 }
19679 Py_INCREF(Py_None); resultobj = Py_None;
19680 return resultobj;
19681 fail:
19682 return NULL;
19683 }
19684
19685
19686 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19687 PyObject *resultobj;
19688 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19689 wxPrintDialogData *result;
19690 PyObject * obj0 = 0 ;
19691 char *kwnames[] = {
19692 (char *) "self", NULL
19693 };
19694
19695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
19696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19697 {
19698 PyThreadState* __tstate = wxPyBeginAllowThreads();
19699 {
19700 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
19701 result = (wxPrintDialogData *) &_result_ref;
19702 }
19703
19704 wxPyEndAllowThreads(__tstate);
19705 if (PyErr_Occurred()) SWIG_fail;
19706 }
19707 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
19708 return resultobj;
19709 fail:
19710 return NULL;
19711 }
19712
19713
19714 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
19715 PyObject *resultobj;
19716 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19717 int arg2 ;
19718 PyObject * obj0 = 0 ;
19719 char *kwnames[] = {
19720 (char *) "self",(char *) "percent", NULL
19721 };
19722
19723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetZoom",kwnames,&obj0,&arg2)) goto fail;
19724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19725 {
19726 PyThreadState* __tstate = wxPyBeginAllowThreads();
19727 (arg1)->SetZoom(arg2);
19728
19729 wxPyEndAllowThreads(__tstate);
19730 if (PyErr_Occurred()) SWIG_fail;
19731 }
19732 Py_INCREF(Py_None); resultobj = Py_None;
19733 return resultobj;
19734 fail:
19735 return NULL;
19736 }
19737
19738
19739 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
19740 PyObject *resultobj;
19741 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19742 int result;
19743 PyObject * obj0 = 0 ;
19744 char *kwnames[] = {
19745 (char *) "self", NULL
19746 };
19747
19748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
19749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19750 {
19751 PyThreadState* __tstate = wxPyBeginAllowThreads();
19752 result = (int)(arg1)->GetZoom();
19753
19754 wxPyEndAllowThreads(__tstate);
19755 if (PyErr_Occurred()) SWIG_fail;
19756 }
19757 resultobj = PyInt_FromLong((long)result);
19758 return resultobj;
19759 fail:
19760 return NULL;
19761 }
19762
19763
19764 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19765 PyObject *resultobj;
19766 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19767 int result;
19768 PyObject * obj0 = 0 ;
19769 char *kwnames[] = {
19770 (char *) "self", NULL
19771 };
19772
19773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
19774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19775 {
19776 PyThreadState* __tstate = wxPyBeginAllowThreads();
19777 result = (int)(arg1)->GetMaxPage();
19778
19779 wxPyEndAllowThreads(__tstate);
19780 if (PyErr_Occurred()) SWIG_fail;
19781 }
19782 resultobj = PyInt_FromLong((long)result);
19783 return resultobj;
19784 fail:
19785 return NULL;
19786 }
19787
19788
19789 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19790 PyObject *resultobj;
19791 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19792 int result;
19793 PyObject * obj0 = 0 ;
19794 char *kwnames[] = {
19795 (char *) "self", NULL
19796 };
19797
19798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
19799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19800 {
19801 PyThreadState* __tstate = wxPyBeginAllowThreads();
19802 result = (int)(arg1)->GetMinPage();
19803
19804 wxPyEndAllowThreads(__tstate);
19805 if (PyErr_Occurred()) SWIG_fail;
19806 }
19807 resultobj = PyInt_FromLong((long)result);
19808 return resultobj;
19809 fail:
19810 return NULL;
19811 }
19812
19813
19814 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19815 PyObject *resultobj;
19816 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19817 bool result;
19818 PyObject * obj0 = 0 ;
19819 char *kwnames[] = {
19820 (char *) "self", NULL
19821 };
19822
19823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
19824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19825 {
19826 PyThreadState* __tstate = wxPyBeginAllowThreads();
19827 result = (bool)(arg1)->Ok();
19828
19829 wxPyEndAllowThreads(__tstate);
19830 if (PyErr_Occurred()) SWIG_fail;
19831 }
19832 resultobj = PyInt_FromLong((long)result);
19833 return resultobj;
19834 fail:
19835 return NULL;
19836 }
19837
19838
19839 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
19840 PyObject *resultobj;
19841 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19842 bool arg2 ;
19843 PyObject * obj0 = 0 ;
19844 PyObject * obj1 = 0 ;
19845 char *kwnames[] = {
19846 (char *) "self",(char *) "ok", NULL
19847 };
19848
19849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
19850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19851 arg2 = PyInt_AsLong(obj1) ? true : false;
19852 if (PyErr_Occurred()) SWIG_fail;
19853 {
19854 PyThreadState* __tstate = wxPyBeginAllowThreads();
19855 (arg1)->SetOk(arg2);
19856
19857 wxPyEndAllowThreads(__tstate);
19858 if (PyErr_Occurred()) SWIG_fail;
19859 }
19860 Py_INCREF(Py_None); resultobj = Py_None;
19861 return resultobj;
19862 fail:
19863 return NULL;
19864 }
19865
19866
19867 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
19868 PyObject *resultobj;
19869 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19870 bool arg2 ;
19871 bool result;
19872 PyObject * obj0 = 0 ;
19873 PyObject * obj1 = 0 ;
19874 char *kwnames[] = {
19875 (char *) "self",(char *) "interactive", NULL
19876 };
19877
19878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
19879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19880 arg2 = PyInt_AsLong(obj1) ? true : false;
19881 if (PyErr_Occurred()) SWIG_fail;
19882 {
19883 PyThreadState* __tstate = wxPyBeginAllowThreads();
19884 result = (bool)(arg1)->Print(arg2);
19885
19886 wxPyEndAllowThreads(__tstate);
19887 if (PyErr_Occurred()) SWIG_fail;
19888 }
19889 resultobj = PyInt_FromLong((long)result);
19890 return resultobj;
19891 fail:
19892 return NULL;
19893 }
19894
19895
19896 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
19897 PyObject *resultobj;
19898 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19899 PyObject * obj0 = 0 ;
19900 char *kwnames[] = {
19901 (char *) "self", NULL
19902 };
19903
19904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
19905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19906 {
19907 PyThreadState* __tstate = wxPyBeginAllowThreads();
19908 (arg1)->DetermineScaling();
19909
19910 wxPyEndAllowThreads(__tstate);
19911 if (PyErr_Occurred()) SWIG_fail;
19912 }
19913 Py_INCREF(Py_None); resultobj = Py_None;
19914 return resultobj;
19915 fail:
19916 return NULL;
19917 }
19918
19919
19920 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
19921 PyObject *obj;
19922 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19923 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
19924 Py_INCREF(obj);
19925 return Py_BuildValue((char *)"");
19926 }
19927 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19928 PyObject *resultobj;
19929 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19930 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19931 wxPrintData *arg3 = (wxPrintData *) NULL ;
19932 wxPyPrintPreview *result;
19933 PyObject * obj0 = 0 ;
19934 PyObject * obj1 = 0 ;
19935 PyObject * obj2 = 0 ;
19936 char *kwnames[] = {
19937 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19938 };
19939
19940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PyPrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
19941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19942 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19943 if (obj2) {
19944 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19945 }
19946 {
19947 PyThreadState* __tstate = wxPyBeginAllowThreads();
19948 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
19949
19950 wxPyEndAllowThreads(__tstate);
19951 if (PyErr_Occurred()) SWIG_fail;
19952 }
19953 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPrintPreview, 1);
19954 return resultobj;
19955 fail:
19956 return NULL;
19957 }
19958
19959
19960 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19961 PyObject *resultobj;
19962 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
19963 PyObject *arg2 = (PyObject *) 0 ;
19964 PyObject *arg3 = (PyObject *) 0 ;
19965 PyObject * obj0 = 0 ;
19966 PyObject * obj1 = 0 ;
19967 PyObject * obj2 = 0 ;
19968 char *kwnames[] = {
19969 (char *) "self",(char *) "self",(char *) "_class", NULL
19970 };
19971
19972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19974 arg2 = obj1;
19975 arg3 = obj2;
19976 {
19977 PyThreadState* __tstate = wxPyBeginAllowThreads();
19978 (arg1)->_setCallbackInfo(arg2,arg3);
19979
19980 wxPyEndAllowThreads(__tstate);
19981 if (PyErr_Occurred()) SWIG_fail;
19982 }
19983 Py_INCREF(Py_None); resultobj = Py_None;
19984 return resultobj;
19985 fail:
19986 return NULL;
19987 }
19988
19989
19990 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19991 PyObject *resultobj;
19992 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
19993 int arg2 ;
19994 bool result;
19995 PyObject * obj0 = 0 ;
19996 char *kwnames[] = {
19997 (char *) "self",(char *) "pageNum", NULL
19998 };
19999
20000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
20001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20002 {
20003 PyThreadState* __tstate = wxPyBeginAllowThreads();
20004 result = (bool)(arg1)->base_SetCurrentPage(arg2);
20005
20006 wxPyEndAllowThreads(__tstate);
20007 if (PyErr_Occurred()) SWIG_fail;
20008 }
20009 resultobj = PyInt_FromLong((long)result);
20010 return resultobj;
20011 fail:
20012 return NULL;
20013 }
20014
20015
20016 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20017 PyObject *resultobj;
20018 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20019 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20020 wxDC *arg3 = 0 ;
20021 bool result;
20022 PyObject * obj0 = 0 ;
20023 PyObject * obj1 = 0 ;
20024 PyObject * obj2 = 0 ;
20025 char *kwnames[] = {
20026 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20027 };
20028
20029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20031 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20032 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20033 if (arg3 == NULL) {
20034 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20035 }
20036 {
20037 PyThreadState* __tstate = wxPyBeginAllowThreads();
20038 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
20039
20040 wxPyEndAllowThreads(__tstate);
20041 if (PyErr_Occurred()) SWIG_fail;
20042 }
20043 resultobj = PyInt_FromLong((long)result);
20044 return resultobj;
20045 fail:
20046 return NULL;
20047 }
20048
20049
20050 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20051 PyObject *resultobj;
20052 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20053 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20054 wxDC *arg3 = 0 ;
20055 bool result;
20056 PyObject * obj0 = 0 ;
20057 PyObject * obj1 = 0 ;
20058 PyObject * obj2 = 0 ;
20059 char *kwnames[] = {
20060 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20061 };
20062
20063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20065 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20066 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20067 if (arg3 == NULL) {
20068 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20069 }
20070 {
20071 PyThreadState* __tstate = wxPyBeginAllowThreads();
20072 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
20073
20074 wxPyEndAllowThreads(__tstate);
20075 if (PyErr_Occurred()) SWIG_fail;
20076 }
20077 resultobj = PyInt_FromLong((long)result);
20078 return resultobj;
20079 fail:
20080 return NULL;
20081 }
20082
20083
20084 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20085 PyObject *resultobj;
20086 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20087 int arg2 ;
20088 bool result;
20089 PyObject * obj0 = 0 ;
20090 char *kwnames[] = {
20091 (char *) "self",(char *) "pageNum", NULL
20092 };
20093
20094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_RenderPage",kwnames,&obj0,&arg2)) goto fail;
20095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20096 {
20097 PyThreadState* __tstate = wxPyBeginAllowThreads();
20098 result = (bool)(arg1)->base_RenderPage(arg2);
20099
20100 wxPyEndAllowThreads(__tstate);
20101 if (PyErr_Occurred()) SWIG_fail;
20102 }
20103 resultobj = PyInt_FromLong((long)result);
20104 return resultobj;
20105 fail:
20106 return NULL;
20107 }
20108
20109
20110 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20111 PyObject *resultobj;
20112 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20113 int arg2 ;
20114 PyObject * obj0 = 0 ;
20115 char *kwnames[] = {
20116 (char *) "self",(char *) "percent", NULL
20117 };
20118
20119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetZoom",kwnames,&obj0,&arg2)) goto fail;
20120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20121 {
20122 PyThreadState* __tstate = wxPyBeginAllowThreads();
20123 (arg1)->base_SetZoom(arg2);
20124
20125 wxPyEndAllowThreads(__tstate);
20126 if (PyErr_Occurred()) SWIG_fail;
20127 }
20128 Py_INCREF(Py_None); resultobj = Py_None;
20129 return resultobj;
20130 fail:
20131 return NULL;
20132 }
20133
20134
20135 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
20136 PyObject *resultobj;
20137 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20138 bool arg2 ;
20139 bool result;
20140 PyObject * obj0 = 0 ;
20141 PyObject * obj1 = 0 ;
20142 char *kwnames[] = {
20143 (char *) "self",(char *) "interactive", NULL
20144 };
20145
20146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
20147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20148 arg2 = PyInt_AsLong(obj1) ? true : false;
20149 if (PyErr_Occurred()) SWIG_fail;
20150 {
20151 PyThreadState* __tstate = wxPyBeginAllowThreads();
20152 result = (bool)(arg1)->base_Print(arg2);
20153
20154 wxPyEndAllowThreads(__tstate);
20155 if (PyErr_Occurred()) SWIG_fail;
20156 }
20157 resultobj = PyInt_FromLong((long)result);
20158 return resultobj;
20159 fail:
20160 return NULL;
20161 }
20162
20163
20164 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
20165 PyObject *resultobj;
20166 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20167 PyObject * obj0 = 0 ;
20168 char *kwnames[] = {
20169 (char *) "self", NULL
20170 };
20171
20172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
20173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20174 {
20175 PyThreadState* __tstate = wxPyBeginAllowThreads();
20176 (arg1)->base_DetermineScaling();
20177
20178 wxPyEndAllowThreads(__tstate);
20179 if (PyErr_Occurred()) SWIG_fail;
20180 }
20181 Py_INCREF(Py_None); resultobj = Py_None;
20182 return resultobj;
20183 fail:
20184 return NULL;
20185 }
20186
20187
20188 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
20189 PyObject *obj;
20190 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20191 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
20192 Py_INCREF(obj);
20193 return Py_BuildValue((char *)"");
20194 }
20195 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
20196 PyObject *resultobj;
20197 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20198 wxFrame *arg2 = (wxFrame *) 0 ;
20199 wxString *arg3 = 0 ;
20200 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20201 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20202 wxSize const &arg5_defvalue = wxDefaultSize ;
20203 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20204 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20205 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20206 wxString *arg7 = (wxString *) &arg7_defvalue ;
20207 wxPyPreviewFrame *result;
20208 bool temp3 = False ;
20209 wxPoint temp4 ;
20210 wxSize temp5 ;
20211 bool temp7 = False ;
20212 PyObject * obj0 = 0 ;
20213 PyObject * obj1 = 0 ;
20214 PyObject * obj2 = 0 ;
20215 PyObject * obj3 = 0 ;
20216 PyObject * obj4 = 0 ;
20217 PyObject * obj6 = 0 ;
20218 char *kwnames[] = {
20219 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20220 };
20221
20222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20224 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20225 {
20226 arg3 = wxString_in_helper(obj2);
20227 if (arg3 == NULL) SWIG_fail;
20228 temp3 = True;
20229 }
20230 if (obj3) {
20231 {
20232 arg4 = &temp4;
20233 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20234 }
20235 }
20236 if (obj4) {
20237 {
20238 arg5 = &temp5;
20239 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20240 }
20241 }
20242 if (obj6) {
20243 {
20244 arg7 = wxString_in_helper(obj6);
20245 if (arg7 == NULL) SWIG_fail;
20246 temp7 = True;
20247 }
20248 }
20249 {
20250 PyThreadState* __tstate = wxPyBeginAllowThreads();
20251 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20252
20253 wxPyEndAllowThreads(__tstate);
20254 if (PyErr_Occurred()) SWIG_fail;
20255 }
20256 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewFrame, 1);
20257 {
20258 if (temp3)
20259 delete arg3;
20260 }
20261 {
20262 if (temp7)
20263 delete arg7;
20264 }
20265 return resultobj;
20266 fail:
20267 {
20268 if (temp3)
20269 delete arg3;
20270 }
20271 {
20272 if (temp7)
20273 delete arg7;
20274 }
20275 return NULL;
20276 }
20277
20278
20279 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20280 PyObject *resultobj;
20281 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20282 PyObject *arg2 = (PyObject *) 0 ;
20283 PyObject *arg3 = (PyObject *) 0 ;
20284 PyObject * obj0 = 0 ;
20285 PyObject * obj1 = 0 ;
20286 PyObject * obj2 = 0 ;
20287 char *kwnames[] = {
20288 (char *) "self",(char *) "self",(char *) "_class", NULL
20289 };
20290
20291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20293 arg2 = obj1;
20294 arg3 = obj2;
20295 {
20296 PyThreadState* __tstate = wxPyBeginAllowThreads();
20297 (arg1)->_setCallbackInfo(arg2,arg3);
20298
20299 wxPyEndAllowThreads(__tstate);
20300 if (PyErr_Occurred()) SWIG_fail;
20301 }
20302 Py_INCREF(Py_None); resultobj = Py_None;
20303 return resultobj;
20304 fail:
20305 return NULL;
20306 }
20307
20308
20309 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20310 PyObject *resultobj;
20311 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20312 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20313 PyObject * obj0 = 0 ;
20314 PyObject * obj1 = 0 ;
20315 char *kwnames[] = {
20316 (char *) "self",(char *) "canvas", NULL
20317 };
20318
20319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
20320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20321 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20322 {
20323 PyThreadState* __tstate = wxPyBeginAllowThreads();
20324 (arg1)->SetPreviewCanvas(arg2);
20325
20326 wxPyEndAllowThreads(__tstate);
20327 if (PyErr_Occurred()) SWIG_fail;
20328 }
20329 Py_INCREF(Py_None); resultobj = Py_None;
20330 return resultobj;
20331 fail:
20332 return NULL;
20333 }
20334
20335
20336 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20337 PyObject *resultobj;
20338 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20339 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
20340 PyObject * obj0 = 0 ;
20341 PyObject * obj1 = 0 ;
20342 char *kwnames[] = {
20343 (char *) "self",(char *) "bar", NULL
20344 };
20345
20346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
20347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20348 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20349 {
20350 PyThreadState* __tstate = wxPyBeginAllowThreads();
20351 (arg1)->SetControlBar(arg2);
20352
20353 wxPyEndAllowThreads(__tstate);
20354 if (PyErr_Occurred()) SWIG_fail;
20355 }
20356 Py_INCREF(Py_None); resultobj = Py_None;
20357 return resultobj;
20358 fail:
20359 return NULL;
20360 }
20361
20362
20363 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
20364 PyObject *resultobj;
20365 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20366 PyObject * obj0 = 0 ;
20367 char *kwnames[] = {
20368 (char *) "self", NULL
20369 };
20370
20371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
20372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20373 {
20374 PyThreadState* __tstate = wxPyBeginAllowThreads();
20375 (arg1)->base_Initialize();
20376
20377 wxPyEndAllowThreads(__tstate);
20378 if (PyErr_Occurred()) SWIG_fail;
20379 }
20380 Py_INCREF(Py_None); resultobj = Py_None;
20381 return resultobj;
20382 fail:
20383 return NULL;
20384 }
20385
20386
20387 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20388 PyObject *resultobj;
20389 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20390 PyObject * obj0 = 0 ;
20391 char *kwnames[] = {
20392 (char *) "self", NULL
20393 };
20394
20395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
20396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20397 {
20398 PyThreadState* __tstate = wxPyBeginAllowThreads();
20399 (arg1)->base_CreateCanvas();
20400
20401 wxPyEndAllowThreads(__tstate);
20402 if (PyErr_Occurred()) SWIG_fail;
20403 }
20404 Py_INCREF(Py_None); resultobj = Py_None;
20405 return resultobj;
20406 fail:
20407 return NULL;
20408 }
20409
20410
20411 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20412 PyObject *resultobj;
20413 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20414 PyObject * obj0 = 0 ;
20415 char *kwnames[] = {
20416 (char *) "self", NULL
20417 };
20418
20419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
20420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20421 {
20422 PyThreadState* __tstate = wxPyBeginAllowThreads();
20423 (arg1)->base_CreateControlBar();
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 * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
20436 PyObject *obj;
20437 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20438 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
20439 Py_INCREF(obj);
20440 return Py_BuildValue((char *)"");
20441 }
20442 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20443 PyObject *resultobj;
20444 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20445 long arg2 ;
20446 wxWindow *arg3 = (wxWindow *) 0 ;
20447 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20448 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20449 wxSize const &arg5_defvalue = wxDefaultSize ;
20450 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20451 long arg6 = (long) 0 ;
20452 wxString const &arg7_defvalue = wxPyPanelNameStr ;
20453 wxString *arg7 = (wxString *) &arg7_defvalue ;
20454 wxPyPreviewControlBar *result;
20455 wxPoint temp4 ;
20456 wxSize temp5 ;
20457 bool temp7 = False ;
20458 PyObject * obj0 = 0 ;
20459 PyObject * obj2 = 0 ;
20460 PyObject * obj3 = 0 ;
20461 PyObject * obj4 = 0 ;
20462 PyObject * obj6 = 0 ;
20463 char *kwnames[] = {
20464 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20465 };
20466
20467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PyPreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20469 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20470 if (obj3) {
20471 {
20472 arg4 = &temp4;
20473 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20474 }
20475 }
20476 if (obj4) {
20477 {
20478 arg5 = &temp5;
20479 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20480 }
20481 }
20482 if (obj6) {
20483 {
20484 arg7 = wxString_in_helper(obj6);
20485 if (arg7 == NULL) SWIG_fail;
20486 temp7 = True;
20487 }
20488 }
20489 {
20490 PyThreadState* __tstate = wxPyBeginAllowThreads();
20491 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20492
20493 wxPyEndAllowThreads(__tstate);
20494 if (PyErr_Occurred()) SWIG_fail;
20495 }
20496 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewControlBar, 1);
20497 {
20498 if (temp7)
20499 delete arg7;
20500 }
20501 return resultobj;
20502 fail:
20503 {
20504 if (temp7)
20505 delete arg7;
20506 }
20507 return NULL;
20508 }
20509
20510
20511 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20512 PyObject *resultobj;
20513 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20514 PyObject *arg2 = (PyObject *) 0 ;
20515 PyObject *arg3 = (PyObject *) 0 ;
20516 PyObject * obj0 = 0 ;
20517 PyObject * obj1 = 0 ;
20518 PyObject * obj2 = 0 ;
20519 char *kwnames[] = {
20520 (char *) "self",(char *) "self",(char *) "_class", NULL
20521 };
20522
20523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20525 arg2 = obj1;
20526 arg3 = obj2;
20527 {
20528 PyThreadState* __tstate = wxPyBeginAllowThreads();
20529 (arg1)->_setCallbackInfo(arg2,arg3);
20530
20531 wxPyEndAllowThreads(__tstate);
20532 if (PyErr_Occurred()) SWIG_fail;
20533 }
20534 Py_INCREF(Py_None); resultobj = Py_None;
20535 return resultobj;
20536 fail:
20537 return NULL;
20538 }
20539
20540
20541 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20542 PyObject *resultobj;
20543 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20544 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
20545 PyObject * obj0 = 0 ;
20546 PyObject * obj1 = 0 ;
20547 char *kwnames[] = {
20548 (char *) "self",(char *) "preview", NULL
20549 };
20550
20551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
20552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20553 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20554 {
20555 PyThreadState* __tstate = wxPyBeginAllowThreads();
20556 (arg1)->SetPrintPreview(arg2);
20557
20558 wxPyEndAllowThreads(__tstate);
20559 if (PyErr_Occurred()) SWIG_fail;
20560 }
20561 Py_INCREF(Py_None); resultobj = Py_None;
20562 return resultobj;
20563 fail:
20564 return NULL;
20565 }
20566
20567
20568 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
20569 PyObject *resultobj;
20570 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20571 PyObject * obj0 = 0 ;
20572 char *kwnames[] = {
20573 (char *) "self", NULL
20574 };
20575
20576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
20577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20578 {
20579 PyThreadState* __tstate = wxPyBeginAllowThreads();
20580 (arg1)->base_CreateButtons();
20581
20582 wxPyEndAllowThreads(__tstate);
20583 if (PyErr_Occurred()) SWIG_fail;
20584 }
20585 Py_INCREF(Py_None); resultobj = Py_None;
20586 return resultobj;
20587 fail:
20588 return NULL;
20589 }
20590
20591
20592 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
20593 PyObject *resultobj;
20594 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20595 int arg2 ;
20596 PyObject * obj0 = 0 ;
20597 char *kwnames[] = {
20598 (char *) "self",(char *) "zoom", NULL
20599 };
20600
20601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
20602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20603 {
20604 PyThreadState* __tstate = wxPyBeginAllowThreads();
20605 (arg1)->base_SetZoomControl(arg2);
20606
20607 wxPyEndAllowThreads(__tstate);
20608 if (PyErr_Occurred()) SWIG_fail;
20609 }
20610 Py_INCREF(Py_None); resultobj = Py_None;
20611 return resultobj;
20612 fail:
20613 return NULL;
20614 }
20615
20616
20617 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
20618 PyObject *obj;
20619 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20620 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
20621 Py_INCREF(obj);
20622 return Py_BuildValue((char *)"");
20623 }
20624 static PyMethodDef SwigMethods[] = {
20625 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
20626 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
20627 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
20628 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
20629 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
20630 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20631 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20632 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
20633 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
20634 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
20635 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
20636 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
20637 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
20638 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
20639 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
20640 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
20641 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
20642 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
20643 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
20644 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
20645 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
20646 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
20647 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
20648 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
20649 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
20650 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
20651 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
20652 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
20653 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
20654 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
20655 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
20656 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
20657 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
20658 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
20659 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
20660 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
20661 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
20662 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
20663 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
20664 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
20665 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
20666 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
20667 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
20668 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
20669 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
20670 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
20671 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
20672 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
20673 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
20674 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
20675 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
20676 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
20677 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
20678 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
20679 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
20680 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
20681 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
20682 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
20683 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
20684 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
20685 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
20686 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
20687 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
20688 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
20689 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
20690 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
20691 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
20692 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
20693 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
20694 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
20695 { (char *)"Dialog_SetModal", (PyCFunction) _wrap_Dialog_SetModal, METH_VARARGS | METH_KEYWORDS },
20696 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
20697 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20698 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
20699 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS },
20700 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
20701 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
20702 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
20703 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
20704 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
20705 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
20706 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
20707 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
20708 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
20709 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
20710 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
20711 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
20712 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
20713 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
20714 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
20715 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
20716 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
20717 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
20718 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
20719 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
20720 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
20721 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
20722 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
20723 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
20724 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
20725 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
20726 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
20727 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
20728 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
20729 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
20730 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
20731 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
20732 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
20733 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
20734 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
20735 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
20736 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
20737 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
20738 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
20739 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
20740 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
20741 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
20742 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
20743 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
20744 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
20745 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
20746 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
20747 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
20748 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
20749 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
20750 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
20751 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
20752 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
20753 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
20754 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
20755 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
20756 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
20757 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
20758 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
20759 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
20760 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
20761 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
20762 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
20763 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
20764 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
20765 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
20766 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
20767 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
20768 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
20769 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
20770 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
20771 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
20772 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
20773 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
20774 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
20775 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
20776 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
20777 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
20778 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
20779 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
20780 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
20781 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
20782 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
20783 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
20784 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
20785 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
20786 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
20787 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
20788 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
20789 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
20790 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
20791 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
20792 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
20793 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
20794 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
20795 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
20796 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
20797 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
20798 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
20799 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
20800 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
20801 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
20802 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
20803 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
20804 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
20805 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
20806 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
20807 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
20808 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
20809 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
20810 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
20811 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
20812 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
20813 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
20814 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
20815 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
20816 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
20817 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
20818 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
20819 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
20820 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
20821 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
20822 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
20823 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
20824 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
20825 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
20826 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
20827 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
20828 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
20829 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
20830 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
20831 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
20832 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
20833 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
20834 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
20835 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
20836 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
20837 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
20838 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
20839 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
20840 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
20841 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20842 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20843 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
20844 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
20845 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
20846 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
20847 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
20848 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
20849 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
20850 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
20851 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
20852 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
20853 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
20854 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
20855 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
20856 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
20857 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
20858 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
20859 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
20860 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
20861 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
20862 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
20863 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
20864 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
20865 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
20866 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
20867 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
20868 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
20869 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
20870 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
20871 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
20872 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
20873 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
20874 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
20875 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
20876 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
20877 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
20878 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
20879 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
20880 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
20881 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
20882 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
20883 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
20884 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
20885 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
20886 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
20887 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
20888 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
20889 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
20890 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
20891 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
20892 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
20893 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
20894 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS },
20895 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
20896 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
20897 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
20898 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
20899 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
20900 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
20901 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
20902 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
20903 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
20904 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
20905 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
20906 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
20907 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
20908 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
20909 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
20910 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
20911 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
20912 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
20913 { (char *)"ColourDialog_ShowModal", (PyCFunction) _wrap_ColourDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20914 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
20915 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
20916 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
20917 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
20918 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
20919 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
20920 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
20921 { (char *)"DirDialog_ShowModal", (PyCFunction) _wrap_DirDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20922 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
20923 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
20924 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
20925 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
20926 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
20927 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
20928 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
20929 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
20930 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
20931 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
20932 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
20933 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
20934 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
20935 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
20936 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
20937 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
20938 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
20939 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
20940 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
20941 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
20942 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
20943 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
20944 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
20945 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
20946 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
20947 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
20948 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
20949 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction) _wrap_SingleChoiceDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20950 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
20951 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
20952 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
20953 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
20954 { (char *)"TextEntryDialog_ShowModal", (PyCFunction) _wrap_TextEntryDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20955 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
20956 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
20957 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
20958 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
20959 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
20960 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
20961 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
20962 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
20963 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
20964 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
20965 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
20966 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
20967 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
20968 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
20969 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
20970 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
20971 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
20972 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
20973 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
20974 { (char *)"FontDialog_ShowModal", (PyCFunction) _wrap_FontDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20975 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
20976 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
20977 { (char *)"MessageDialog_ShowModal", (PyCFunction) _wrap_MessageDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20978 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
20979 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
20980 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
20981 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
20982 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
20983 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
20984 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
20985 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
20986 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
20987 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
20988 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
20989 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
20990 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
20991 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
20992 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
20993 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
20994 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
20995 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
20996 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
20997 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
20998 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
20999 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
21000 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
21001 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21002 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21003 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
21004 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
21005 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
21006 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
21007 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21008 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21009 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
21010 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
21011 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
21012 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
21013 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
21014 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
21015 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
21016 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
21017 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
21018 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
21019 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21020 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21021 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
21022 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
21023 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
21024 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
21025 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
21026 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21027 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21028 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
21029 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
21030 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
21031 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21032 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21033 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21034 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21035 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21036 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21037 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21038 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21039 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21040 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21041 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21042 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21043 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21044 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
21045 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21046 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21047 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21048 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21049 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21050 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
21051 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
21052 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21053 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21054 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21055 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21056 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21057 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21058 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21059 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21060 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21061 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21062 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21063 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21064 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21065 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
21066 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21067 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21068 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21069 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21070 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21071 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
21072 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
21073 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
21074 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21075 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21076 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21077 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
21078 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
21079 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
21080 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
21081 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21082 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21083 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
21084 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21085 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21086 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21087 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
21088 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
21089 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
21090 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21091 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21092 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
21093 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21094 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21095 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21096 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
21097 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21098 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21099 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21100 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21101 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21102 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
21103 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21104 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21105 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21106 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
21107 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21108 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21109 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21110 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
21111 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21112 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21113 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
21114 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
21115 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
21116 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21117 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21118 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21119 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
21120 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
21121 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
21122 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
21123 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21124 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
21125 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
21126 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
21127 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
21128 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21129 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21130 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21131 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21132 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21133 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21134 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21135 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21136 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21137 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21138 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21139 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21140 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21141 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21142 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21143 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21144 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21145 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21146 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21147 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
21148 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
21149 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
21150 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21151 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
21152 { (char *)"new_PrintDialogData", (PyCFunction) _wrap_new_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21153 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21154 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
21155 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
21156 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21157 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21158 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21159 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
21160 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
21161 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21162 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21163 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21164 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
21165 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
21166 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
21167 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
21168 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21169 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
21170 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
21171 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21172 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21173 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21174 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21175 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
21176 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21177 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21178 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21179 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
21180 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21181 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21182 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21183 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21184 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21185 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
21186 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21187 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21188 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
21189 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21190 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
21191 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
21192 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
21193 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
21194 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21195 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
21196 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21197 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
21198 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
21199 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
21200 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
21201 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
21202 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
21203 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21204 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
21205 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
21206 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
21207 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
21208 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
21209 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21210 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21211 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21212 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21213 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21214 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21215 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
21216 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
21217 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
21218 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
21219 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
21220 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
21221 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
21222 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
21223 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
21224 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
21225 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21226 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
21227 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
21228 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
21229 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21230 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21231 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
21232 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
21233 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21234 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
21235 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21236 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21237 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
21238 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
21239 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
21240 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
21241 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
21242 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
21243 { (char *)"new_PrintPreview", (PyCFunction) _wrap_new_PrintPreview, METH_VARARGS | METH_KEYWORDS },
21244 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21245 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21246 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
21247 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
21248 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
21249 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
21250 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
21251 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
21252 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
21253 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
21254 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21255 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
21256 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
21257 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21258 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
21259 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
21260 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21261 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21262 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
21263 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
21264 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
21265 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21266 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
21267 { (char *)"new_PyPrintPreview", (PyCFunction) _wrap_new_PyPrintPreview, METH_VARARGS | METH_KEYWORDS },
21268 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21269 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21270 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
21271 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21272 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
21273 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
21274 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
21275 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21276 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
21277 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
21278 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21279 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21280 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
21281 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
21282 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21283 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21284 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
21285 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21286 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21287 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21288 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
21289 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21290 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
21291 { NULL, NULL }
21292 };
21293
21294
21295 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21296
21297 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
21298 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21299 }
21300 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
21301 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
21302 }
21303 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
21304 return (void *)((wxEvent *) ((wxMenuEvent *) x));
21305 }
21306 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
21307 return (void *)((wxEvent *) ((wxCloseEvent *) x));
21308 }
21309 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
21310 return (void *)((wxEvent *) ((wxMouseEvent *) x));
21311 }
21312 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
21313 return (void *)((wxEvent *) ((wxEraseEvent *) x));
21314 }
21315 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
21316 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
21317 }
21318 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
21319 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
21320 }
21321 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
21322 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
21323 }
21324 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
21325 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
21326 }
21327 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
21328 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
21329 }
21330 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
21331 return (void *)((wxEvent *) ((wxPyEvent *) x));
21332 }
21333 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
21334 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
21335 }
21336 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
21337 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
21338 }
21339 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
21340 return (void *)((wxEvent *) ((wxIdleEvent *) x));
21341 }
21342 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
21343 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
21344 }
21345 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
21346 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
21347 }
21348 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
21349 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
21350 }
21351 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
21352 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
21353 }
21354 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
21355 return (void *)((wxEvent *) ((wxActivateEvent *) x));
21356 }
21357 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
21358 return (void *)((wxEvent *) ((wxSizeEvent *) x));
21359 }
21360 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
21361 return (void *)((wxEvent *) ((wxMoveEvent *) x));
21362 }
21363 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
21364 return (void *)((wxEvent *) ((wxPaintEvent *) x));
21365 }
21366 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
21367 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
21368 }
21369 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
21370 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
21371 }
21372 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
21373 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
21374 }
21375 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
21376 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
21377 }
21378 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
21379 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21380 }
21381 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
21382 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
21383 }
21384 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
21385 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
21386 }
21387 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
21388 return (void *)((wxEvent *) ((wxFocusEvent *) x));
21389 }
21390 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
21391 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
21392 }
21393 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
21394 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
21395 }
21396 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
21397 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
21398 }
21399 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
21400 return (void *)((wxEvent *) ((wxShowEvent *) x));
21401 }
21402 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
21403 return (void *)((wxEvent *) ((wxCommandEvent *) x));
21404 }
21405 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
21406 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
21407 }
21408 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
21409 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21410 }
21411 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
21412 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
21413 }
21414 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
21415 return (void *)((wxEvent *) ((wxKeyEvent *) x));
21416 }
21417 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
21418 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
21419 }
21420 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
21421 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
21422 }
21423 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
21424 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
21425 }
21426 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
21427 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
21428 }
21429 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
21430 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
21431 }
21432 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
21433 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
21434 }
21435 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
21436 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
21437 }
21438 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
21439 return (void *)((wxEvtHandler *) ((wxValidator *) x));
21440 }
21441 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
21442 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
21443 }
21444 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
21445 return (void *)((wxEvtHandler *) ((wxMenu *) x));
21446 }
21447 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
21448 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
21449 }
21450 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
21451 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
21452 }
21453 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
21454 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
21455 }
21456 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
21457 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
21458 }
21459 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
21460 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
21461 }
21462 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
21463 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
21464 }
21465 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
21466 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
21467 }
21468 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
21469 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
21470 }
21471 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
21472 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
21473 }
21474 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
21475 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
21476 }
21477 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
21478 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
21479 }
21480 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
21481 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
21482 }
21483 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
21484 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
21485 }
21486 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
21487 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
21488 }
21489 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
21490 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
21491 }
21492 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
21493 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
21494 }
21495 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
21496 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
21497 }
21498 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
21499 return (void *)((wxEvtHandler *) ((wxWindow *) x));
21500 }
21501 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
21502 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
21503 }
21504 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
21505 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
21506 }
21507 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
21508 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
21509 }
21510 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
21511 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
21512 }
21513 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
21514 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
21515 }
21516 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
21517 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21518 }
21519 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
21520 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
21521 }
21522 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
21523 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
21524 }
21525 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
21526 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
21527 }
21528 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
21529 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
21530 }
21531 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
21532 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
21533 }
21534 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
21535 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
21536 }
21537 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
21538 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
21539 }
21540 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
21541 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
21542 }
21543 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
21544 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
21545 }
21546 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
21547 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
21548 }
21549 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
21550 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
21551 }
21552 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
21553 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
21554 }
21555 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
21556 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
21557 }
21558 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
21559 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
21560 }
21561 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
21562 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
21563 }
21564 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
21565 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
21566 }
21567 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
21568 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
21569 }
21570 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
21571 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
21572 }
21573 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
21574 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
21575 }
21576 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
21577 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
21578 }
21579 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
21580 return (void *)((wxFrame *) ((wxProgressDialog *) x));
21581 }
21582 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
21583 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
21584 }
21585 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
21586 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21587 }
21588 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
21589 return (void *)((wxFrame *) ((wxMiniFrame *) x));
21590 }
21591 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
21592 return (void *)((wxFrame *) ((wxSplashScreen *) x));
21593 }
21594 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
21595 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
21596 }
21597 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
21598 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
21599 }
21600 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
21601 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
21602 }
21603 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
21604 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
21605 }
21606 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
21607 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21608 }
21609 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
21610 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
21611 }
21612 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
21613 return (void *)((wxObject *) ((wxSizerItem *) x));
21614 }
21615 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
21616 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
21617 }
21618 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
21619 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
21620 }
21621 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
21622 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
21623 }
21624 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
21625 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
21626 }
21627 static void *_p_wxSizerTo_p_wxObject(void *x) {
21628 return (void *)((wxObject *) ((wxSizer *) x));
21629 }
21630 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
21631 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
21632 }
21633 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
21634 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
21635 }
21636 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
21637 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
21638 }
21639 static void *_p_wxEventTo_p_wxObject(void *x) {
21640 return (void *)((wxObject *) ((wxEvent *) x));
21641 }
21642 static void *_p_wxFontDataTo_p_wxObject(void *x) {
21643 return (void *)((wxObject *) ((wxFontData *) x));
21644 }
21645 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
21646 return (void *)((wxObject *) ((wxPrintData *) x));
21647 }
21648 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
21649 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
21650 }
21651 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
21652 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
21653 }
21654 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
21655 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
21656 }
21657 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
21658 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
21659 }
21660 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
21661 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
21662 }
21663 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
21664 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
21665 }
21666 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
21667 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
21668 }
21669 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
21670 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
21671 }
21672 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
21673 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
21674 }
21675 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
21676 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
21677 }
21678 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
21679 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21680 }
21681 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
21682 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
21683 }
21684 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
21685 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
21686 }
21687 static void *_p_wxControlTo_p_wxObject(void *x) {
21688 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
21689 }
21690 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
21691 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
21692 }
21693 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
21694 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
21695 }
21696 static void *_p_wxFSFileTo_p_wxObject(void *x) {
21697 return (void *)((wxObject *) ((wxFSFile *) x));
21698 }
21699 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
21700 return (void *)((wxObject *) ((wxFindReplaceData *) x));
21701 }
21702 static void *_p_wxPySizerTo_p_wxObject(void *x) {
21703 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
21704 }
21705 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
21706 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
21707 }
21708 static void *_p_wxColourDataTo_p_wxObject(void *x) {
21709 return (void *)((wxObject *) ((wxColourData *) x));
21710 }
21711 static void *_p_wxPyEventTo_p_wxObject(void *x) {
21712 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
21713 }
21714 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
21715 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
21716 }
21717 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
21718 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
21719 }
21720 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
21721 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
21722 }
21723 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
21724 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
21725 }
21726 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
21727 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
21728 }
21729 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
21730 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
21731 }
21732 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
21733 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
21734 }
21735 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
21736 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
21737 }
21738 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
21739 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
21740 }
21741 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
21742 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
21743 }
21744 static void *_p_wxShowEventTo_p_wxObject(void *x) {
21745 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
21746 }
21747 static void *_p_wxPrinterTo_p_wxObject(void *x) {
21748 return (void *)((wxObject *) ((wxPrinter *) x));
21749 }
21750 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
21751 return (void *)((wxObject *) ((wxMenuItem *) x));
21752 }
21753 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
21754 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
21755 }
21756 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
21757 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
21758 }
21759 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
21760 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
21761 }
21762 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
21763 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
21764 }
21765 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
21766 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
21767 }
21768 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
21769 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
21770 }
21771 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
21772 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
21773 }
21774 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
21775 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
21776 }
21777 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
21778 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
21779 }
21780 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
21781 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
21782 }
21783 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
21784 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
21785 }
21786 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
21787 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
21788 }
21789 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
21790 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
21791 }
21792 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
21793 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
21794 }
21795 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
21796 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
21797 }
21798 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
21799 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
21800 }
21801 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
21802 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
21803 }
21804 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
21805 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
21806 }
21807 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
21808 return (void *)((wxObject *) ((wxImageHandler *) x));
21809 }
21810 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
21811 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
21812 }
21813 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
21814 return (void *)((wxObject *) ((wxEvtHandler *) x));
21815 }
21816 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
21817 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
21818 }
21819 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
21820 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
21821 }
21822 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
21823 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
21824 }
21825 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
21826 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
21827 }
21828 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
21829 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
21830 }
21831 static void *_p_wxImageTo_p_wxObject(void *x) {
21832 return (void *)((wxObject *) ((wxImage *) x));
21833 }
21834 static void *_p_wxFrameTo_p_wxObject(void *x) {
21835 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
21836 }
21837 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
21838 return (void *)((wxObject *) ((wxPyPrintout *) x));
21839 }
21840 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
21841 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
21842 }
21843 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
21844 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
21845 }
21846 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
21847 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
21848 }
21849 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
21850 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
21851 }
21852 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
21853 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21854 }
21855 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
21856 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
21857 }
21858 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
21859 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
21860 }
21861 static void *_p_wxWindowTo_p_wxObject(void *x) {
21862 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
21863 }
21864 static void *_p_wxMenuTo_p_wxObject(void *x) {
21865 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
21866 }
21867 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
21868 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
21869 }
21870 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
21871 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
21872 }
21873 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
21874 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
21875 }
21876 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
21877 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
21878 }
21879 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
21880 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
21881 }
21882 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
21883 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
21884 }
21885 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
21886 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
21887 }
21888 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
21889 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
21890 }
21891 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
21892 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
21893 }
21894 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
21895 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
21896 }
21897 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
21898 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
21899 }
21900 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
21901 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
21902 }
21903 static void *_p_wxSashEventTo_p_wxObject(void *x) {
21904 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
21905 }
21906 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
21907 return (void *)((wxObject *) ((wxPrintPreview *) x));
21908 }
21909 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
21910 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
21911 }
21912 static void *_p_wxPanelTo_p_wxObject(void *x) {
21913 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
21914 }
21915 static void *_p_wxDialogTo_p_wxObject(void *x) {
21916 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
21917 }
21918 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
21919 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
21920 }
21921 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
21922 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
21923 }
21924 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
21925 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
21926 }
21927 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
21928 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
21929 }
21930 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
21931 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
21932 }
21933 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
21934 return (void *)((wxObject *) ((wxFileSystem *) x));
21935 }
21936 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
21937 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
21938 }
21939 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
21940 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
21941 }
21942 static void *_p_wxPyAppTo_p_wxObject(void *x) {
21943 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
21944 }
21945 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
21946 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
21947 }
21948 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
21949 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
21950 }
21951 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
21952 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
21953 }
21954 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
21955 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
21956 }
21957 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
21958 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
21959 }
21960 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
21961 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
21962 }
21963 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
21964 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
21965 }
21966 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
21967 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
21968 }
21969 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
21970 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
21971 }
21972 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
21973 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
21974 }
21975 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
21976 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
21977 }
21978 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
21979 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
21980 }
21981 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
21982 return (void *)((wxObject *) ((wxPrintDialogData *) x));
21983 }
21984 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
21985 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
21986 }
21987 static void *_p_wxValidatorTo_p_wxObject(void *x) {
21988 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
21989 }
21990 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
21991 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
21992 }
21993 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
21994 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
21995 }
21996 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
21997 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
21998 }
21999 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
22000 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22001 }
22002 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
22003 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22004 }
22005 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
22006 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
22007 }
22008 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
22009 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
22010 }
22011 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
22012 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
22013 }
22014 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
22015 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
22016 }
22017 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
22018 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
22019 }
22020 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
22021 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
22022 }
22023 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
22024 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
22025 }
22026 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
22027 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
22028 }
22029 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
22030 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
22031 }
22032 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
22033 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
22034 }
22035 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
22036 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
22037 }
22038 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
22039 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
22040 }
22041 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
22042 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
22043 }
22044 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
22045 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
22046 }
22047 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
22048 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
22049 }
22050 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
22051 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
22052 }
22053 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22054 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
22055 }
22056 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22057 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
22058 }
22059 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
22060 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
22061 }
22062 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22063 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
22064 }
22065 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22066 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22067 }
22068 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
22069 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
22070 }
22071 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
22072 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
22073 }
22074 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
22075 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
22076 }
22077 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
22078 return (void *)((wxWindow *) ((wxMenuBar *) x));
22079 }
22080 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
22081 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
22082 }
22083 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
22084 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
22085 }
22086 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
22087 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
22088 }
22089 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
22090 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
22091 }
22092 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
22093 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
22094 }
22095 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
22096 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
22097 }
22098 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
22099 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
22100 }
22101 static void *_p_wxPanelTo_p_wxWindow(void *x) {
22102 return (void *)((wxWindow *) ((wxPanel *) x));
22103 }
22104 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
22105 return (void *)((wxWindow *) ((wxStatusBar *) x));
22106 }
22107 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
22108 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
22109 }
22110 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
22111 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
22112 }
22113 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
22114 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22115 }
22116 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
22117 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22118 }
22119 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
22120 return (void *)((wxWindow *) ((wxPopupWindow *) x));
22121 }
22122 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
22123 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
22124 }
22125 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
22126 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
22127 }
22128 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
22129 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
22130 }
22131 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
22132 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
22133 }
22134 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
22135 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
22136 }
22137 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
22138 return (void *)((wxWindow *) ((wxSashWindow *) x));
22139 }
22140 static void *_p_wxControlTo_p_wxWindow(void *x) {
22141 return (void *)((wxWindow *) ((wxControl *) x));
22142 }
22143 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
22144 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
22145 }
22146 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
22147 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22148 }
22149 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
22150 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
22151 }
22152 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
22153 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
22154 }
22155 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
22156 return (void *)((wxWindow *) ((wxPyWindow *) x));
22157 }
22158 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
22159 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
22160 }
22161 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
22162 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22163 }
22164 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
22165 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22166 }
22167 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
22168 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
22169 }
22170 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
22171 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22172 }
22173 static void *_p_wxFrameTo_p_wxWindow(void *x) {
22174 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
22175 }
22176 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
22177 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
22178 }
22179 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
22180 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
22181 }
22182 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
22183 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
22184 }
22185 static void *_p_wxDialogTo_p_wxWindow(void *x) {
22186 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
22187 }
22188 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
22189 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22190 }
22191 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
22192 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22193 }
22194 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
22195 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
22196 }
22197 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
22198 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
22199 }
22200 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
22201 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
22202 }
22203 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
22204 return (void *)((wxDialog *) ((wxColourDialog *) x));
22205 }
22206 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
22207 return (void *)((wxDialog *) ((wxDirDialog *) x));
22208 }
22209 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
22210 return (void *)((wxDialog *) ((wxFontDialog *) x));
22211 }
22212 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
22213 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
22214 }
22215 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
22216 return (void *)((wxDialog *) ((wxPrintDialog *) x));
22217 }
22218 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
22219 return (void *)((wxDialog *) ((wxFileDialog *) x));
22220 }
22221 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
22222 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
22223 }
22224 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
22225 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
22226 }
22227 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
22228 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
22229 }
22230 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
22231 return (void *)((wxDialog *) ((wxMessageDialog *) x));
22232 }
22233 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
22234 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
22235 }
22236 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
22237 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
22238 }
22239 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
22240 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
22241 }
22242 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
22243 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22244 }
22245 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
22246 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22247 }
22248 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
22249 return (void *)((wxPanel *) ((wxPyPanel *) x));
22250 }
22251 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
22252 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
22253 }
22254 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
22255 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
22256 }
22257 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
22258 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22259 }
22260 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
22261 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
22262 }
22263 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
22264 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
22265 }
22266 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
22267 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
22268 }
22269 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
22270 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
22271 }
22272 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
22273 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
22274 }
22275 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
22276 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22277 }
22278 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
22279 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
22280 }
22281 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
22282 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
22283 }
22284 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
22285 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
22286 }
22287 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
22288 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
22289 }
22290 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
22291 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
22292 }
22293 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
22294 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22295 }
22296 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
22297 static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame},{0}};
22298 static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
22299 static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
22300 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
22301 static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
22302 static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
22303 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}};
22304 static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
22305 static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
22306 static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
22307 static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
22308 static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
22309 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
22310 static swig_type_info _swigt__p_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
22311 static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
22312 static swig_type_info _swigt__p_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
22313 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
22314 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
22315 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
22316 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
22317 static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
22318 static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
22319 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent},{"_p_wxNotifyEvent"},{0}};
22320 static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
22321 static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
22322 static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
22323 static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
22324 static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
22325 static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
22326 static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
22327 static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
22328 static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
22329 static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
22330 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
22331 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}};
22332 static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
22333 static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
22334 static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox},{0}};
22335 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
22336 static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
22337 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}};
22338 static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
22339 static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
22340 static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
22341 static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
22342 static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
22343 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
22344 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}};
22345 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
22346 static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
22347 static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
22348 static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
22349 static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
22350 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}};
22351 static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow},{0}};
22352 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}};
22353 static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow},{0}};
22354 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}};
22355 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}};
22356 static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}};
22357 static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
22358 static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
22359 static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview},{0}};
22360 static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
22361 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
22362 static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
22363 static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
22364 static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
22365 static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
22366 static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
22367 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}};
22368 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}};
22369 static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
22370 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
22371 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}};
22372 static swig_type_info _swigt__p_wxPrintQuality[] = {{"_p_wxPrintQuality", 0, "wxPrintQuality *", 0},{"_p_wxPrintQuality"},{0}};
22373 static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar},{0}};
22374 static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
22375 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
22376 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
22377 static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
22378 static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
22379
22380 static swig_type_info *swig_types_initial[] = {
22381 _swigt__p_wxQueryLayoutInfoEvent,
22382 _swigt__p_wxPreviewFrame,
22383 _swigt__p_wxPyPreviewFrame,
22384 _swigt__p_wxPyPanel,
22385 _swigt__p_wxMenu,
22386 _swigt__p_wxPrintData,
22387 _swigt__p_wxFontData,
22388 _swigt__p_wxEvent,
22389 _swigt__p_wxTaskBarIcon,
22390 _swigt__p_wxIconBundle,
22391 _swigt__p_wxLayoutAlgorithm,
22392 _swigt__p_wxFindDialogEvent,
22393 _swigt__p_wxPreviewCanvas,
22394 _swigt__p_wxFont,
22395 _swigt__p_wxSplitterEvent,
22396 _swigt__p_wxRegion,
22397 _swigt__p_wxFindReplaceData,
22398 _swigt__p_int,
22399 _swigt__p_wxSize,
22400 _swigt__p_wxDC,
22401 _swigt__p_wxIcon,
22402 _swigt__p_wxMDIChildFrame,
22403 _swigt__p_wxColourData,
22404 _swigt__p_wxNotifyEvent,
22405 _swigt__p_wxPyWindow,
22406 _swigt__p_wxSplashScreen,
22407 _swigt__p_wxFindReplaceDialog,
22408 _swigt__p_wxProgressDialog,
22409 _swigt__p_wxMessageDialog,
22410 _swigt__p_wxTextEntryDialog,
22411 _swigt__p_wxSingleChoiceDialog,
22412 _swigt__p_wxMultiChoiceDialog,
22413 _swigt__p_wxFileDialog,
22414 _swigt__p_wxPrinter,
22415 _swigt__p_wxArrayInt,
22416 _swigt__p_wxEvtHandler,
22417 _swigt__p_wxCalculateLayoutEvent,
22418 _swigt__p_wxPyHtmlListBox,
22419 _swigt__p_wxPyVListBox,
22420 _swigt__p_wxRect,
22421 _swigt__p_wxMiniFrame,
22422 _swigt__p_wxFrame,
22423 _swigt__p_wxPyPrintout,
22424 _swigt__p_wxTaskBarIconEvent,
22425 _swigt__p_wxScrollWinEvent,
22426 _swigt__p_wxStatusBar,
22427 _swigt__p_wxMDIParentFrame,
22428 _swigt__p_wxPoint,
22429 _swigt__p_wxObject,
22430 _swigt__p_unsigned_long,
22431 _swigt__p_wxMDIClientWindow,
22432 _swigt__p_wxTipWindow,
22433 _swigt__p_wxSashLayoutWindow,
22434 _swigt__p_wxSplitterWindow,
22435 _swigt__p_wxPyVScrolledWindow,
22436 _swigt__p_wxPyPopupTransientWindow,
22437 _swigt__p_wxPopupWindow,
22438 _swigt__p_wxSashWindow,
22439 _swigt__p_wxTopLevelWindow,
22440 _swigt__p_wxWindow,
22441 _swigt__p_wxScrolledWindow,
22442 _swigt__p_wxSplashScreenWindow,
22443 _swigt__p_wxMenuBar,
22444 _swigt__p_wxPrintPreview,
22445 _swigt__p_wxSashEvent,
22446 _swigt__p_wxString,
22447 _swigt__p_wxPyPrintPreview,
22448 _swigt__p_wxPageSetupDialog,
22449 _swigt__p_wxFontDialog,
22450 _swigt__p_wxDirDialog,
22451 _swigt__p_wxColourDialog,
22452 _swigt__p_wxDialog,
22453 _swigt__p_wxPanel,
22454 _swigt__p_wxPrintDialog,
22455 _swigt__p_wxBitmap,
22456 _swigt__p_wxCommandEvent,
22457 _swigt__p_wxPrintQuality,
22458 _swigt__p_wxPreviewControlBar,
22459 _swigt__p_wxPyPreviewControlBar,
22460 _swigt__p_wxColour,
22461 _swigt__p_wxToolBar,
22462 _swigt__p_wxPageSetupDialogData,
22463 _swigt__p_wxPrintDialogData,
22464 0
22465 };
22466
22467
22468 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22469
22470 static swig_const_info swig_const_table[] = {
22471 { SWIG_PY_INT, (char *)"FULLSCREEN_NOMENUBAR", (long) wxFULLSCREEN_NOMENUBAR, 0, 0, 0},
22472 { SWIG_PY_INT, (char *)"FULLSCREEN_NOTOOLBAR", (long) wxFULLSCREEN_NOTOOLBAR, 0, 0, 0},
22473 { SWIG_PY_INT, (char *)"FULLSCREEN_NOSTATUSBAR", (long) wxFULLSCREEN_NOSTATUSBAR, 0, 0, 0},
22474 { SWIG_PY_INT, (char *)"FULLSCREEN_NOBORDER", (long) wxFULLSCREEN_NOBORDER, 0, 0, 0},
22475 { SWIG_PY_INT, (char *)"FULLSCREEN_NOCAPTION", (long) wxFULLSCREEN_NOCAPTION, 0, 0, 0},
22476 { SWIG_PY_INT, (char *)"FULLSCREEN_ALL", (long) wxFULLSCREEN_ALL, 0, 0, 0},
22477 { SWIG_PY_INT, (char *)"TOPLEVEL_EX_DIALOG", (long) wxTOPLEVEL_EX_DIALOG, 0, 0, 0},
22478 { SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_PARENT", (long) wxSPLASH_CENTRE_ON_PARENT, 0, 0, 0},
22479 { SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_SCREEN", (long) wxSPLASH_CENTRE_ON_SCREEN, 0, 0, 0},
22480 { SWIG_PY_INT, (char *)"SPLASH_NO_CENTRE", (long) wxSPLASH_NO_CENTRE, 0, 0, 0},
22481 { SWIG_PY_INT, (char *)"SPLASH_TIMEOUT", (long) wxSPLASH_TIMEOUT, 0, 0, 0},
22482 { SWIG_PY_INT, (char *)"SPLASH_NO_TIMEOUT", (long) wxSPLASH_NO_TIMEOUT, 0, 0, 0},
22483 { SWIG_PY_INT, (char *)"SP_NOBORDER", (long) wxSP_NOBORDER, 0, 0, 0},
22484 { SWIG_PY_INT, (char *)"SP_NOSASH", (long) wxSP_NOSASH, 0, 0, 0},
22485 { SWIG_PY_INT, (char *)"SP_PERMIT_UNSPLIT", (long) wxSP_PERMIT_UNSPLIT, 0, 0, 0},
22486 { SWIG_PY_INT, (char *)"SP_LIVE_UPDATE", (long) wxSP_LIVE_UPDATE, 0, 0, 0},
22487 { SWIG_PY_INT, (char *)"SP_3DSASH", (long) wxSP_3DSASH, 0, 0, 0},
22488 { SWIG_PY_INT, (char *)"SP_3DBORDER", (long) wxSP_3DBORDER, 0, 0, 0},
22489 { SWIG_PY_INT, (char *)"SP_BORDER", (long) wxSP_BORDER, 0, 0, 0},
22490 { SWIG_PY_INT, (char *)"SP_3D", (long) wxSP_3D, 0, 0, 0},
22491 { SWIG_PY_INT, (char *)"SPLIT_HORIZONTAL", (long) wxSPLIT_HORIZONTAL, 0, 0, 0},
22492 { SWIG_PY_INT, (char *)"SPLIT_VERTICAL", (long) wxSPLIT_VERTICAL, 0, 0, 0},
22493 { SWIG_PY_INT, (char *)"SPLIT_DRAG_NONE", (long) wxSPLIT_DRAG_NONE, 0, 0, 0},
22494 { SWIG_PY_INT, (char *)"SPLIT_DRAG_DRAGGING", (long) wxSPLIT_DRAG_DRAGGING, 0, 0, 0},
22495 { SWIG_PY_INT, (char *)"SPLIT_DRAG_LEFT_DOWN", (long) wxSPLIT_DRAG_LEFT_DOWN, 0, 0, 0},
22496 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, 0, 0, 0},
22497 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 0, 0, 0},
22498 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", (long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 0, 0, 0},
22499 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_UNSPLIT", (long) wxEVT_COMMAND_SPLITTER_UNSPLIT, 0, 0, 0},
22500 { SWIG_PY_INT, (char *)"SASH_DRAG_NONE", (long) wxSASH_DRAG_NONE, 0, 0, 0},
22501 { SWIG_PY_INT, (char *)"SASH_DRAG_DRAGGING", (long) wxSASH_DRAG_DRAGGING, 0, 0, 0},
22502 { SWIG_PY_INT, (char *)"SASH_DRAG_LEFT_DOWN", (long) wxSASH_DRAG_LEFT_DOWN, 0, 0, 0},
22503 { SWIG_PY_INT, (char *)"SW_NOBORDER", (long) wxSW_NOBORDER, 0, 0, 0},
22504 { SWIG_PY_INT, (char *)"SW_BORDER", (long) wxSW_BORDER, 0, 0, 0},
22505 { SWIG_PY_INT, (char *)"SW_3DSASH", (long) wxSW_3DSASH, 0, 0, 0},
22506 { SWIG_PY_INT, (char *)"SW_3DBORDER", (long) wxSW_3DBORDER, 0, 0, 0},
22507 { SWIG_PY_INT, (char *)"SW_3D", (long) wxSW_3D, 0, 0, 0},
22508 { SWIG_PY_INT, (char *)"SASH_TOP", (long) wxSASH_TOP, 0, 0, 0},
22509 { SWIG_PY_INT, (char *)"SASH_RIGHT", (long) wxSASH_RIGHT, 0, 0, 0},
22510 { SWIG_PY_INT, (char *)"SASH_BOTTOM", (long) wxSASH_BOTTOM, 0, 0, 0},
22511 { SWIG_PY_INT, (char *)"SASH_LEFT", (long) wxSASH_LEFT, 0, 0, 0},
22512 { SWIG_PY_INT, (char *)"SASH_NONE", (long) wxSASH_NONE, 0, 0, 0},
22513 { SWIG_PY_INT, (char *)"SASH_STATUS_OK", (long) wxSASH_STATUS_OK, 0, 0, 0},
22514 { SWIG_PY_INT, (char *)"SASH_STATUS_OUT_OF_RANGE", (long) wxSASH_STATUS_OUT_OF_RANGE, 0, 0, 0},
22515 { SWIG_PY_INT, (char *)"wxEVT_SASH_DRAGGED", (long) wxEVT_SASH_DRAGGED, 0, 0, 0},
22516 { SWIG_PY_INT, (char *)"LAYOUT_HORIZONTAL", (long) wxLAYOUT_HORIZONTAL, 0, 0, 0},
22517 { SWIG_PY_INT, (char *)"LAYOUT_VERTICAL", (long) wxLAYOUT_VERTICAL, 0, 0, 0},
22518 { SWIG_PY_INT, (char *)"LAYOUT_NONE", (long) wxLAYOUT_NONE, 0, 0, 0},
22519 { SWIG_PY_INT, (char *)"LAYOUT_TOP", (long) wxLAYOUT_TOP, 0, 0, 0},
22520 { SWIG_PY_INT, (char *)"LAYOUT_LEFT", (long) wxLAYOUT_LEFT, 0, 0, 0},
22521 { SWIG_PY_INT, (char *)"LAYOUT_RIGHT", (long) wxLAYOUT_RIGHT, 0, 0, 0},
22522 { SWIG_PY_INT, (char *)"LAYOUT_BOTTOM", (long) wxLAYOUT_BOTTOM, 0, 0, 0},
22523 { SWIG_PY_INT, (char *)"LAYOUT_LENGTH_Y", (long) wxLAYOUT_LENGTH_Y, 0, 0, 0},
22524 { SWIG_PY_INT, (char *)"LAYOUT_LENGTH_X", (long) wxLAYOUT_LENGTH_X, 0, 0, 0},
22525 { SWIG_PY_INT, (char *)"LAYOUT_MRU_LENGTH", (long) wxLAYOUT_MRU_LENGTH, 0, 0, 0},
22526 { SWIG_PY_INT, (char *)"LAYOUT_QUERY", (long) wxLAYOUT_QUERY, 0, 0, 0},
22527 { SWIG_PY_INT, (char *)"wxEVT_QUERY_LAYOUT_INFO", (long) wxEVT_QUERY_LAYOUT_INFO, 0, 0, 0},
22528 { SWIG_PY_INT, (char *)"wxEVT_CALCULATE_LAYOUT", (long) wxEVT_CALCULATE_LAYOUT, 0, 0, 0},
22529 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_MOVE", (long) wxEVT_TASKBAR_MOVE, 0, 0, 0},
22530 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DOWN", (long) wxEVT_TASKBAR_LEFT_DOWN, 0, 0, 0},
22531 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_UP", (long) wxEVT_TASKBAR_LEFT_UP, 0, 0, 0},
22532 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DOWN", (long) wxEVT_TASKBAR_RIGHT_DOWN, 0, 0, 0},
22533 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_UP", (long) wxEVT_TASKBAR_RIGHT_UP, 0, 0, 0},
22534 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DCLICK", (long) wxEVT_TASKBAR_LEFT_DCLICK, 0, 0, 0},
22535 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DCLICK", (long) wxEVT_TASKBAR_RIGHT_DCLICK, 0, 0, 0},
22536 { SWIG_PY_INT, (char *)"CHOICEDLG_STYLE", (long) wxCHOICEDLG_STYLE, 0, 0, 0},
22537 { SWIG_PY_INT, (char *)"FR_DOWN", (long) wxFR_DOWN, 0, 0, 0},
22538 { SWIG_PY_INT, (char *)"FR_WHOLEWORD", (long) wxFR_WHOLEWORD, 0, 0, 0},
22539 { SWIG_PY_INT, (char *)"FR_MATCHCASE", (long) wxFR_MATCHCASE, 0, 0, 0},
22540 { SWIG_PY_INT, (char *)"FR_REPLACEDIALOG", (long) wxFR_REPLACEDIALOG, 0, 0, 0},
22541 { SWIG_PY_INT, (char *)"FR_NOUPDOWN", (long) wxFR_NOUPDOWN, 0, 0, 0},
22542 { SWIG_PY_INT, (char *)"FR_NOMATCHCASE", (long) wxFR_NOMATCHCASE, 0, 0, 0},
22543 { SWIG_PY_INT, (char *)"FR_NOWHOLEWORD", (long) wxFR_NOWHOLEWORD, 0, 0, 0},
22544 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND", (long) wxEVT_COMMAND_FIND, 0, 0, 0},
22545 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_NEXT", (long) wxEVT_COMMAND_FIND_NEXT, 0, 0, 0},
22546 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE", (long) wxEVT_COMMAND_FIND_REPLACE, 0, 0, 0},
22547 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE_ALL", (long) wxEVT_COMMAND_FIND_REPLACE_ALL, 0, 0, 0},
22548 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_CLOSE", (long) wxEVT_COMMAND_FIND_CLOSE, 0, 0, 0},
22549 { SWIG_PY_INT, (char *)"IDM_WINDOWTILE", (long) 4001, 0, 0, 0},
22550 { SWIG_PY_INT, (char *)"IDM_WINDOWTILEHOR", (long) 4001, 0, 0, 0},
22551 { SWIG_PY_INT, (char *)"IDM_WINDOWCASCADE", (long) 4002, 0, 0, 0},
22552 { SWIG_PY_INT, (char *)"IDM_WINDOWICONS", (long) 4003, 0, 0, 0},
22553 { SWIG_PY_INT, (char *)"IDM_WINDOWNEXT", (long) 4004, 0, 0, 0},
22554 { SWIG_PY_INT, (char *)"IDM_WINDOWTILEVERT", (long) 4005, 0, 0, 0},
22555 { SWIG_PY_INT, (char *)"FIRST_MDI_CHILD", (long) 4100, 0, 0, 0},
22556 { SWIG_PY_INT, (char *)"LAST_MDI_CHILD", (long) 4600, 0, 0, 0},
22557 { SWIG_PY_INT, (char *)"PRINT_MODE_NONE", (long) wxPRINT_MODE_NONE, 0, 0, 0},
22558 { SWIG_PY_INT, (char *)"PRINT_MODE_PREVIEW", (long) wxPRINT_MODE_PREVIEW, 0, 0, 0},
22559 { SWIG_PY_INT, (char *)"PRINT_MODE_FILE", (long) wxPRINT_MODE_FILE, 0, 0, 0},
22560 { SWIG_PY_INT, (char *)"PRINT_MODE_PRINTER", (long) wxPRINT_MODE_PRINTER, 0, 0, 0},
22561 { SWIG_PY_INT, (char *)"PRINTER_NO_ERROR", (long) wxPRINTER_NO_ERROR, 0, 0, 0},
22562 { SWIG_PY_INT, (char *)"PRINTER_CANCELLED", (long) wxPRINTER_CANCELLED, 0, 0, 0},
22563 { SWIG_PY_INT, (char *)"PRINTER_ERROR", (long) wxPRINTER_ERROR, 0, 0, 0},
22564 { SWIG_PY_INT, (char *)"PREVIEW_PRINT", (long) wxPREVIEW_PRINT, 0, 0, 0},
22565 { SWIG_PY_INT, (char *)"PREVIEW_PREVIOUS", (long) wxPREVIEW_PREVIOUS, 0, 0, 0},
22566 { SWIG_PY_INT, (char *)"PREVIEW_NEXT", (long) wxPREVIEW_NEXT, 0, 0, 0},
22567 { SWIG_PY_INT, (char *)"PREVIEW_ZOOM", (long) wxPREVIEW_ZOOM, 0, 0, 0},
22568 { SWIG_PY_INT, (char *)"PREVIEW_FIRST", (long) wxPREVIEW_FIRST, 0, 0, 0},
22569 { SWIG_PY_INT, (char *)"PREVIEW_LAST", (long) wxPREVIEW_LAST, 0, 0, 0},
22570 { SWIG_PY_INT, (char *)"PREVIEW_GOTO", (long) wxPREVIEW_GOTO, 0, 0, 0},
22571 { SWIG_PY_INT, (char *)"PREVIEW_DEFAULT", (long) wxPREVIEW_DEFAULT, 0, 0, 0},
22572 { SWIG_PY_INT, (char *)"ID_PREVIEW_CLOSE", (long) wxID_PREVIEW_CLOSE, 0, 0, 0},
22573 { SWIG_PY_INT, (char *)"ID_PREVIEW_NEXT", (long) wxID_PREVIEW_NEXT, 0, 0, 0},
22574 { SWIG_PY_INT, (char *)"ID_PREVIEW_PREVIOUS", (long) wxID_PREVIEW_PREVIOUS, 0, 0, 0},
22575 { SWIG_PY_INT, (char *)"ID_PREVIEW_PRINT", (long) wxID_PREVIEW_PRINT, 0, 0, 0},
22576 { SWIG_PY_INT, (char *)"ID_PREVIEW_ZOOM", (long) wxID_PREVIEW_ZOOM, 0, 0, 0},
22577 { SWIG_PY_INT, (char *)"ID_PREVIEW_FIRST", (long) wxID_PREVIEW_FIRST, 0, 0, 0},
22578 { SWIG_PY_INT, (char *)"ID_PREVIEW_LAST", (long) wxID_PREVIEW_LAST, 0, 0, 0},
22579 { SWIG_PY_INT, (char *)"ID_PREVIEW_GOTO", (long) wxID_PREVIEW_GOTO, 0, 0, 0},
22580 {0}};
22581
22582 #ifdef __cplusplus
22583 }
22584 #endif
22585
22586 #ifdef __cplusplus
22587 extern "C"
22588 #endif
22589 SWIGEXPORT(void) SWIG_init(void) {
22590 static PyObject *SWIG_globals = 0;
22591 static int typeinit = 0;
22592 PyObject *m, *d;
22593 int i;
22594 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
22595 m = Py_InitModule((char *) SWIG_name, SwigMethods);
22596 d = PyModule_GetDict(m);
22597
22598 if (!typeinit) {
22599 for (i = 0; swig_types_initial[i]; i++) {
22600 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
22601 }
22602 typeinit = 1;
22603 }
22604 SWIG_InstallConstants(d,swig_const_table);
22605
22606 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
22607 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
22608 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
22609 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
22610 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
22611 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
22612 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
22613
22614 // Map renamed classes back to their common name for OOR
22615 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
22616 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
22617 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
22618
22619 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
22620 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
22621 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
22622 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
22623 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
22624 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
22625 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
22626 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
22627 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
22628 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
22629 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
22630 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
22631
22632 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
22633
22634 }
22635