]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/windows_wrap.cpp
Applied patch #809019 (Adds embedded/plugin capabilities to wxMac).
[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
49
50 /***********************************************************************
51 * common.swg for wxPython
52 *
53 * Include only the function prototypes and such from SWIG's common.swg,
54 * but not the runtime functions themselves. This helps keep the
55 * wrapper files clean of unnecessary stuff that is in the libpy.c file
56 * anyway.
57 *
58 ************************************************************************/
59
60 #include <string.h>
61
62 #if defined(_WIN32) || defined(__WIN32__)
63 # if defined(_MSC_VER)
64 # if defined(STATIC_LINKED)
65 # define SWIGEXPORT(a) a
66 # define SWIGIMPORT(a) extern a
67 # else
68 # define SWIGEXPORT(a) __declspec(dllexport) a
69 # define SWIGIMPORT(a) extern a
70 # endif
71 # else
72 # if defined(__BORLANDC__)
73 # define SWIGEXPORT(a) a _export
74 # define SWIGIMPORT(a) a _export
75 # else
76 # define SWIGEXPORT(a) a
77 # define SWIGIMPORT(a) a
78 # endif
79 # endif
80 #else
81 # define SWIGEXPORT(a) a
82 # define SWIGIMPORT(a) a
83 #endif
84
85 #ifdef SWIG_GLOBAL
86 #define SWIGRUNTIME(a) SWIGEXPORT(a)
87 #else
88 #define SWIGRUNTIME(a) static a
89 #endif
90
91
92 #ifdef __cplusplus
93 extern "C" {
94 #endif
95
96 typedef void *(*swig_converter_func)(void *);
97 typedef struct swig_type_info *(*swig_dycast_func)(void **);
98
99 typedef struct swig_type_info {
100 const char *name;
101 swig_converter_func converter;
102 const char *str;
103 void *clientdata;
104 swig_dycast_func dcast;
105 struct swig_type_info *next;
106 struct swig_type_info *prev;
107 } swig_type_info;
108
109
110 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
111 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
112 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
113 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
114 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
115 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
116 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
117
118
119 #ifdef __cplusplus
120 }
121
122 #endif
123
124 /***********************************************************************
125 * pyrun.swg for wxPython
126 *
127 * Include only the function prototypes and such from SWIG's pyrun.swg,
128 * but not the runtime functions themselves. This helps keep the
129 * wrapper files clean of unnecessary stuff that is in the libpy.c file
130 * anyway.
131 *
132 ************************************************************************/
133
134
135 #include "Python.h"
136
137 #ifdef __cplusplus
138 extern "C" {
139 #endif
140
141 #define SWIG_PY_INT 1
142 #define SWIG_PY_FLOAT 2
143 #define SWIG_PY_STRING 3
144 #define SWIG_PY_POINTER 4
145 #define SWIG_PY_BINARY 5
146
147 /* Flags for pointer conversion */
148
149 #define SWIG_POINTER_EXCEPTION 0x1
150 #define SWIG_POINTER_DISOWN 0x2
151
152 /* Exception handling in wrappers */
153 #define SWIG_fail goto fail
154
155 /* Constant information structure */
156 typedef struct swig_const_info {
157 int type;
158 char *name;
159 long lvalue;
160 double dvalue;
161 void *pvalue;
162 swig_type_info **ptype;
163 } swig_const_info;
164
165
166
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_PackData(c, ptr, sz) \
183 SWIG_Python_PackData(c, ptr, sz)
184 #define SWIG_UnpackData(c, ptr, sz) \
185 SWIG_Python_UnpackData(c, ptr, sz)
186 #define SWIG_NewPackedObj(ptr, sz, type) \
187 SWIG_Python_NewPackedObj(ptr, sz, type)
188 #define SWIG_InstallConstants(d, constants) \
189 SWIG_Python_InstallConstants(d, constants)
190
191
192 SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
193 SWIGEXPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
194 SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
195
196 SWIGEXPORT(PyObject *) SWIG_Python_newvarlink(void);
197 SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
198 SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
199 SWIGEXPORT(char *) SWIG_Python_PackData(char *c, void *, int);
200 SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c, void *, int);
201 SWIGEXPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
202 SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
203
204
205 /* Contract support */
206
207 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
208
209
210 #ifdef __cplusplus
211 }
212 #endif
213
214
215
216 /* -------- TYPES TABLE (BEGIN) -------- */
217
218 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
219 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
220 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
221 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[3]
222 #define SWIGTYPE_p_wxPyPanel swig_types[4]
223 #define SWIGTYPE_p_wxMenu swig_types[5]
224 #define SWIGTYPE_p_wxPrintData swig_types[6]
225 #define SWIGTYPE_p_wxFontData swig_types[7]
226 #define SWIGTYPE_p_wxEvent swig_types[8]
227 #define SWIGTYPE_p_wxTaskBarIcon swig_types[9]
228 #define SWIGTYPE_p_wxIconBundle swig_types[10]
229 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
230 #define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
231 #define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
232 #define SWIGTYPE_p_wxFont swig_types[14]
233 #define SWIGTYPE_p_wxSplitterEvent swig_types[15]
234 #define SWIGTYPE_p_wxRegion swig_types[16]
235 #define SWIGTYPE_p_wxFindReplaceData swig_types[17]
236 #define SWIGTYPE_p_int swig_types[18]
237 #define SWIGTYPE_p_wxSize swig_types[19]
238 #define SWIGTYPE_p_wxDC swig_types[20]
239 #define SWIGTYPE_p_wxIcon swig_types[21]
240 #define SWIGTYPE_p_wxMDIChildFrame swig_types[22]
241 #define SWIGTYPE_p_wxColourData swig_types[23]
242 #define SWIGTYPE_p_wxNotifyEvent swig_types[24]
243 #define SWIGTYPE_p_wxPyWindow swig_types[25]
244 #define SWIGTYPE_p_wxSplashScreen swig_types[26]
245 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[27]
246 #define SWIGTYPE_p_wxProgressDialog swig_types[28]
247 #define SWIGTYPE_p_wxMessageDialog swig_types[29]
248 #define SWIGTYPE_p_wxTextEntryDialog swig_types[30]
249 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[31]
250 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[32]
251 #define SWIGTYPE_p_wxFileDialog swig_types[33]
252 #define SWIGTYPE_p_wxPrinter swig_types[34]
253 #define SWIGTYPE_p_wxMenuItem swig_types[35]
254 #define SWIGTYPE_p_wxArrayInt swig_types[36]
255 #define SWIGTYPE_p_wxEvtHandler swig_types[37]
256 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[38]
257 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[39]
258 #define SWIGTYPE_p_wxPyVListBox swig_types[40]
259 #define SWIGTYPE_p_wxRect swig_types[41]
260 #define SWIGTYPE_p_wxAcceleratorTable swig_types[42]
261 #define SWIGTYPE_p_wxMiniFrame swig_types[43]
262 #define SWIGTYPE_p_wxFrame swig_types[44]
263 #define SWIGTYPE_p_wxPyPrintout swig_types[45]
264 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[46]
265 #define SWIGTYPE_p_wxScrollWinEvent swig_types[47]
266 #define SWIGTYPE_p_wxStatusBar swig_types[48]
267 #define SWIGTYPE_p_wxMDIParentFrame swig_types[49]
268 #define SWIGTYPE_p_wxPoint swig_types[50]
269 #define SWIGTYPE_p_wxObject swig_types[51]
270 #define SWIGTYPE_p_unsigned_long swig_types[52]
271 #define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
272 #define SWIGTYPE_p_wxTipWindow swig_types[54]
273 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[55]
274 #define SWIGTYPE_p_wxSplitterWindow swig_types[56]
275 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[57]
276 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[58]
277 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[59]
278 #define SWIGTYPE_p_wxPopupWindow swig_types[60]
279 #define SWIGTYPE_p_wxSashWindow swig_types[61]
280 #define SWIGTYPE_p_wxTopLevelWindow swig_types[62]
281 #define SWIGTYPE_p_wxWindow swig_types[63]
282 #define SWIGTYPE_p_wxScrolledWindow swig_types[64]
283 #define SWIGTYPE_p_wxMenuBar swig_types[65]
284 #define SWIGTYPE_p_wxPrintPreview swig_types[66]
285 #define SWIGTYPE_p_wxSashEvent swig_types[67]
286 #define SWIGTYPE_p_wxString swig_types[68]
287 #define SWIGTYPE_p_wxPyPrintPreview swig_types[69]
288 #define SWIGTYPE_p_wxFontDialog swig_types[70]
289 #define SWIGTYPE_p_wxDirDialog swig_types[71]
290 #define SWIGTYPE_p_wxColourDialog swig_types[72]
291 #define SWIGTYPE_p_wxDialog swig_types[73]
292 #define SWIGTYPE_p_wxPanel swig_types[74]
293 #define SWIGTYPE_p_wxPageSetupDialog swig_types[75]
294 #define SWIGTYPE_p_wxPrintDialog swig_types[76]
295 #define SWIGTYPE_p_wxBitmap swig_types[77]
296 #define SWIGTYPE_p_wxCommandEvent swig_types[78]
297 #define SWIGTYPE_p_wxPrintQuality swig_types[79]
298 #define SWIGTYPE_p_wxPreviewControlBar swig_types[80]
299 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[81]
300 #define SWIGTYPE_p_wxColour swig_types[82]
301 #define SWIGTYPE_p_wxToolBar swig_types[83]
302 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[84]
303 #define SWIGTYPE_p_wxPrintDialogData swig_types[85]
304 static swig_type_info *swig_types[87];
305
306 /* -------- TYPES TABLE (END) -------- */
307
308
309 /*-----------------------------------------------
310 @(target):= _windows.so
311 ------------------------------------------------*/
312 #define SWIG_init init_windows
313
314 #define SWIG_name "_windows"
315
316 #include "wx/wxPython/wxPython.h"
317 #include "wx/wxPython/pyclasses.h"
318
319 DECLARE_DEF_STRING(PanelNameStr);
320 DECLARE_DEF_STRING(EmptyString);
321
322
323
324
325
326 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
327 PyObject* o2;
328 PyObject* o3;
329
330 if (!target) {
331 target = o;
332 } else if (target == Py_None) {
333 Py_DECREF(Py_None);
334 target = o;
335 } else {
336 if (!PyTuple_Check(target)) {
337 o2 = target;
338 target = PyTuple_New(1);
339 PyTuple_SetItem(target, 0, o2);
340 }
341 o3 = PyTuple_New(1);
342 PyTuple_SetItem(o3, 0, o);
343
344 o2 = target;
345 target = PySequence_Concat(o2, o3);
346 Py_DECREF(o2);
347 Py_DECREF(o3);
348 }
349 return target;
350 }
351
352
353 // Put some wx default wxChar* values into wxStrings.
354 DECLARE_DEF_STRING(FrameNameStr);
355 DECLARE_DEF_STRING(DialogNameStr);
356 DECLARE_DEF_STRING(StatusLineNameStr);
357 DECLARE_DEF_STRING(ToolBarNameStr);
358
359 bool wxDialog_IsModalShowing(wxDialog *self){
360
361 return self->m_modalShowing;
362
363
364
365 }
366
367
368 wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
369 wxRect r;
370 self->GetFieldRect(i, r);
371 return r;
372 }
373
374 static const wxChar* wxSplitterNameStr = wxT("splitter");
375 DECLARE_DEF_STRING(SplitterNameStr);
376
377
378 static const wxChar* wxSashNameStr = wxT("sashWindow");
379 DECLARE_DEF_STRING(SashNameStr);
380 static const wxChar* wxSashLayoutNameStr = wxT("layoutWindow");
381 DECLARE_DEF_STRING(SashLayoutNameStr);
382
383
384 #include <wx/popupwin.h>
385
386
387 class wxPyPopupTransientWindow : public wxPopupTransientWindow
388 {
389 public:
390 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
391 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
392 : wxPopupTransientWindow(parent, style) {}
393
394 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
395 DEC_PYCALLBACK__(OnDismiss);
396 DEC_PYCALLBACK_BOOL_(CanDismiss);
397 PYPRIVATE;
398 };
399
400
401 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
402 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
403 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
404
405
406 #include <wx/tipwin.h>
407
408 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
409 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
410 }
411
412 #include <wx/tipwin.h>
413
414
415 #include <wx/vscroll.h>
416
417
418 class wxPyVScrolledWindow : public wxVScrolledWindow
419 {
420 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
421 public:
422 wxPyVScrolledWindow() : wxVScrolledWindow() {}
423
424 wxPyVScrolledWindow(wxWindow *parent,
425 wxWindowID id = wxID_ANY,
426 const wxPoint& pos = wxDefaultPosition,
427 const wxSize& size = wxDefaultSize,
428 long style = 0,
429 const wxString& name = wxPyPanelNameStr)
430 : wxVScrolledWindow(parent, id, pos, size, style, name)
431 {}
432
433 // Overridable virtuals
434
435 // this function must be overridden in the derived class and it should
436 // return the height of the given line in pixels
437 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
438
439
440 // this function doesn't have to be overridden but it may be useful to do
441 // it if calculating the lines heights is a relatively expensive operation
442 // as it gives the user code a possibility to calculate several of them at
443 // once
444 //
445 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
446 // shouldn't rely on the latter being called for all lines in the interval
447 // specified here. It is also possible that OnGetLineHeight() will be
448 // called for the lines outside of this interval, so this is really just a
449 // hint, not a promise.
450 //
451 // finally note that lineMin is inclusive, while lineMax is exclusive, as
452 // usual
453 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
454
455
456 // when the number of lines changes, we try to estimate the total height
457 // of all lines which is a rather expensive operation in terms of lines
458 // access, so if the user code may estimate the average height
459 // better/faster than we do, it should override this function to implement
460 // its own logic
461 //
462 // this function should return the best guess for the total height it may
463 // make
464 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
465
466
467 // Also expose some other interesting protected methods
468
469
470 // find the index of the line we need to show at the top of the window such
471 // that the last (fully or partially) visible line is the given one
472 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
473 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
474
475 // get the total height of the lines between lineMin (inclusive) and
476 // lineMax (exclusive)
477 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
478 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
479
480
481 PYPRIVATE;
482 };
483
484 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
485
486 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
487 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
488 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
489
490
491 #include <wx/vlbox.h>
492 DECLARE_DEF_STRING(VListBoxNameStr);
493
494
495 class wxPyVListBox : public wxVListBox
496 {
497 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
498 public:
499 wxPyVListBox() : wxVListBox() {}
500
501 wxPyVListBox(wxWindow *parent,
502 wxWindowID id = wxID_ANY,
503 const wxPoint& pos = wxDefaultPosition,
504 const wxSize& size = wxDefaultSize,
505 long style = 0,
506 const wxString& name = wxPyVListBoxNameStr)
507 : wxVListBox(parent, id, pos, size, style, name)
508 {}
509
510 // Overridable virtuals
511
512 // the derived class must implement this function to actually draw the item
513 // with the given index on the provided DC
514 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
515 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
516
517
518 // the derived class must implement this method to return the height of the
519 // specified item
520 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
521 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
522
523
524 // this method may be used to draw separators between the lines; note that
525 // the rectangle may be modified, typically to deflate it a bit before
526 // passing to OnDrawItem()
527 //
528 // the base class version doesn't do anything
529 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
530 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
531
532
533 // this method is used to draw the items background and, maybe, a border
534 // around it
535 //
536 // the base class version implements a reasonable default behaviour which
537 // consists in drawing the selected item with the standard background
538 // colour and drawing a border around the item if it is either selected or
539 // current
540 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
541 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
542
543
544 PYPRIVATE;
545 };
546
547 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
548
549 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
550 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
551 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
552 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
553
554
555
556 #include <wx/htmllbox.h>
557
558
559 class wxPyHtmlListBox : public wxHtmlListBox
560 {
561 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
562 public:
563 wxPyHtmlListBox() : wxHtmlListBox() {}
564
565 wxPyHtmlListBox(wxWindow *parent,
566 wxWindowID id = wxID_ANY,
567 const wxPoint& pos = wxDefaultPosition,
568 const wxSize& size = wxDefaultSize,
569 long style = 0,
570 const wxString& name = wxPyVListBoxNameStr)
571 : wxHtmlListBox(parent, id, pos, size, style, name)
572 {}
573
574 // Overridable virtuals
575
576 // this method must be implemented in the derived class and should return
577 // the body (i.e. without <html>) of the HTML for the given item
578 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
579
580 // this function may be overridden to decorate HTML returned by OnGetItem()
581 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
582
583 // TODO:
584 // // this method allows to customize the selection appearance: it may be used
585 // // to specify the colour of the text which normally has the given colour
586 // // colFg when it is inside the selection
587 // //
588 // // by default, the original colour is not used at all and all text has the
589 // // same (default for this system) colour inside selection
590 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
591
592 // // this is the same as GetSelectedTextColour() but allows to customize the
593 // // background colour -- this is even more rarely used as you can change it
594 // // globally using SetSelectionBackground()
595 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
596
597
598 PYPRIVATE;
599 };
600
601
602 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
603
604 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
605 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
606
607
608
609
610
611 #ifdef __WXMAC__
612 // implement dummy classes and such for wxMac
613
614 class wxTaskBarIcon : public wxEvtHandler
615 {
616 public:
617 wxTaskBarIcon() { PyErr_SetNone(PyExc_NotImplementedError); }
618 };
619
620
621 class wxTaskBarIconEvent : public wxEvent
622 {
623 public:
624 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
625 { PyErr_SetNone(PyExc_NotImplementedError); }
626 virtual wxEvent* Clone() const { return NULL; }
627 };
628
629 enum {
630 wxEVT_TASKBAR_MOVE = 0,
631 wxEVT_TASKBAR_LEFT_DOWN = 0,
632 wxEVT_TASKBAR_LEFT_UP = 0,
633 wxEVT_TASKBAR_RIGHT_DOWN = 0,
634 wxEVT_TASKBAR_RIGHT_UP = 0,
635 wxEVT_TASKBAR_LEFT_DCLICK = 0,
636 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
637 };
638 #endif
639
640
641
642 DECLARE_DEF_STRING(FileSelectorPromptStr);
643 DECLARE_DEF_STRING(DirSelectorPromptStr);
644 DECLARE_DEF_STRING(DirDialogNameStr);
645 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr);
646 DECLARE_DEF_STRING(GetTextFromUserPromptStr);
647 DECLARE_DEF_STRING(MessageBoxCaptionStr);
648
649
650 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
651 wxArrayString arr;
652 self->GetFilenames(arr);
653 return wxArrayString2PyList_helper(arr);
654 }
655 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
656 wxArrayString arr;
657 self->GetPaths(arr);
658 return wxArrayString2PyList_helper(arr);
659 }
660 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
661 return wxArrayInt2PyList_helper(self->GetSelections());
662 }
663 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
664 return new wxSingleChoiceDialog(parent, message, caption,
665 choices, choices_array, NULL, style, pos);
666 }
667
668 #include <wx/mdi.h>
669
670 // C++ version of Python aware wxWindow
671 class wxPyWindow : public wxWindow
672 {
673 DECLARE_DYNAMIC_CLASS(wxPyWindow)
674 public:
675 wxPyWindow() : wxWindow() {}
676 wxPyWindow(wxWindow* parent, const wxWindowID id,
677 const wxPoint& pos = wxDefaultPosition,
678 const wxSize& size = wxDefaultSize,
679 long style = 0,
680 const wxString& name = wxPyPanelNameStr)
681 : wxWindow(parent, id, pos, size, style, name) {}
682
683
684 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
685 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
686 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
687 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
688
689 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
690 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
691 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
692
693 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
694 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
695
696 DEC_PYCALLBACK__(InitDialog);
697 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
698 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
699 DEC_PYCALLBACK_BOOL_(Validate);
700
701 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
702 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
703 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
704
705 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
706 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
707
708 PYPRIVATE;
709 };
710
711 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
712
713 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
714 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
715 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
716 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
717
718 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
719 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
720 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
721
722 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
723 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
724
725 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
726 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
727 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
728 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
729
730 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
731 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
732 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
733
734 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
735 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
736
737
738 // C++ version of Python aware wxPanel
739 class wxPyPanel : public wxPanel
740 {
741 DECLARE_DYNAMIC_CLASS(wxPyPanel)
742 public:
743 wxPyPanel() : wxPanel() {}
744 wxPyPanel(wxWindow* parent, const wxWindowID id,
745 const wxPoint& pos = wxDefaultPosition,
746 const wxSize& size = wxDefaultSize,
747 long style = 0,
748 const wxString& name = wxPyPanelNameStr)
749 : wxPanel(parent, id, pos, size, style, name) {}
750
751
752 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
753 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
754 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
755 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
756
757 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
758 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
759 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
760
761 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
762 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
763
764 DEC_PYCALLBACK__(InitDialog);
765 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
766 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
767 DEC_PYCALLBACK_BOOL_(Validate);
768
769 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
770 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
771 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
772
773 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
774 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
775
776 PYPRIVATE;
777 };
778
779 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
780
781 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
782 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
783 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
784 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
785
786 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
787 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
788 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
789
790 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
791 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
792
793 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
794 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
795 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
796 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
797
798 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
799 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
800 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
801
802 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
803 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
804
805
806
807 #include "wx/wxPython/printfw.h"
808
809 static const wxChar* wxPrintoutTitleStr = wxT("Printout");
810 DECLARE_DEF_STRING(PrintoutTitleStr);
811 static const wxChar* wxPreviewCanvasNameStr = wxT("previewcanvas");
812 DECLARE_DEF_STRING(PreviewCanvasNameStr);
813
814
815
816
817
818 // Since this one would be tough and ugly to do with the Macros...
819 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
820 bool hadErr = False;
821 bool found;
822
823 wxPyBeginBlockThreads();
824 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
825 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
826 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
827 PyObject* val;
828
829 val = PyTuple_GetItem(result, 0);
830 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
831 else hadErr = True;
832
833 val = PyTuple_GetItem(result, 1);
834 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
835 else hadErr = True;
836
837 val = PyTuple_GetItem(result, 2);
838 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
839 else hadErr = True;
840
841 val = PyTuple_GetItem(result, 3);
842 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
843 else hadErr = True;
844 }
845 else
846 hadErr = True;
847
848 if (hadErr) {
849 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
850 PyErr_Print();
851 }
852 Py_DECREF(result);
853 }
854 wxPyEndBlockThreads();
855 if (! found)
856 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
857 }
858
859 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
860 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
861 }
862
863
864 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
865 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
866 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
867 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
868 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
869 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
870 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
871
872
873
874
875
876 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
877 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
878 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
879
880
881 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
882 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
883 bool rval=False; \
884 bool found; \
885 wxPyBeginBlockThreads(); \
886 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
887 PyObject* win = wxPyMake_wxObject(a); \
888 PyObject* dc = wxPyMake_wxObject(&b); \
889 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
890 Py_DECREF(win); \
891 Py_DECREF(dc); \
892 } \
893 wxPyEndBlockThreads(); \
894 if (! found) \
895 rval = PCLASS::CBNAME(a, b); \
896 return rval; \
897 } \
898 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
899 return PCLASS::CBNAME(a, b); \
900 }
901
902
903
904
905 class wxPyPrintPreview : public wxPrintPreview
906 {
907 DECLARE_CLASS(wxPyPrintPreview)
908 public:
909 wxPyPrintPreview(wxPyPrintout* printout,
910 wxPyPrintout* printoutForPrinting,
911 wxPrintData* data=NULL)
912 : wxPrintPreview(printout, printoutForPrinting, data)
913 {}
914
915 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
916 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
917 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
918 DEC_PYCALLBACK_BOOL_INT(RenderPage);
919 DEC_PYCALLBACK_VOID_INT(SetZoom);
920 DEC_PYCALLBACK_BOOL_BOOL(Print);
921 DEC_PYCALLBACK_VOID_(DetermineScaling);
922
923 PYPRIVATE;
924 };
925
926 // Stupid renamed classes... Fix this in 2.5...
927 #if defined(__WXMSW__)
928 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
929 #elif defined(__WXMAC__)
930 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
931 #else
932 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
933 #endif
934
935 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
936 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
937 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
938 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
939 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
940 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
941 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
942
943
944 class wxPyPreviewFrame : public wxPreviewFrame
945 {
946 DECLARE_CLASS(wxPyPreviewFrame);
947 public:
948 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
949 const wxString& title,
950 const wxPoint& pos = wxDefaultPosition,
951 const wxSize& size = wxDefaultSize,
952 long style = wxDEFAULT_FRAME_STYLE,
953 const wxString& name = wxPyFrameNameStr)
954 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
955 {}
956
957 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
958 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
959
960 DEC_PYCALLBACK_VOID_(Initialize);
961 DEC_PYCALLBACK_VOID_(CreateCanvas);
962 DEC_PYCALLBACK_VOID_(CreateControlBar);
963
964 PYPRIVATE;
965 };
966
967 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
968
969 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
970 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
971 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
972
973
974 class wxPyPreviewControlBar : public wxPreviewControlBar
975 {
976 DECLARE_CLASS(wxPyPreviewControlBar);
977 public:
978 wxPyPreviewControlBar(wxPrintPreview *preview,
979 long buttons,
980 wxWindow *parent,
981 const wxPoint& pos = wxDefaultPosition,
982 const wxSize& size = wxDefaultSize,
983 long style = 0,
984 const wxString& name = wxPyPanelNameStr)
985 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
986 {}
987
988 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
989
990 DEC_PYCALLBACK_VOID_(CreateButtons);
991 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
992
993 PYPRIVATE;
994 };
995
996 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
997 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
998 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
999
1000 #ifdef __cplusplus
1001 extern "C" {
1002 #endif
1003 static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
1004 PyObject *resultobj;
1005 wxWindow *arg1 = (wxWindow *) 0 ;
1006 int arg2 = (int) (int)-1 ;
1007 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1008 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1009 wxSize const &arg4_defvalue = wxDefaultSize ;
1010 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1011 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1012 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1013 wxString *arg6 = (wxString *) &arg6_defvalue ;
1014 wxPanel *result;
1015 wxPoint temp3 ;
1016 wxSize temp4 ;
1017 bool temp6 = False ;
1018 PyObject * obj0 = 0 ;
1019 PyObject * obj2 = 0 ;
1020 PyObject * obj3 = 0 ;
1021 PyObject * obj5 = 0 ;
1022 char *kwnames[] = {
1023 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1024 };
1025
1026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_Panel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
1027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1028 if (obj2) {
1029 {
1030 arg3 = &temp3;
1031 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1032 }
1033 }
1034 if (obj3) {
1035 {
1036 arg4 = &temp4;
1037 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1038 }
1039 }
1040 if (obj5) {
1041 {
1042 arg6 = wxString_in_helper(obj5);
1043 if (arg6 == NULL) SWIG_fail;
1044 temp6 = True;
1045 }
1046 }
1047 {
1048 PyThreadState* __tstate = wxPyBeginAllowThreads();
1049 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1050
1051 wxPyEndAllowThreads(__tstate);
1052 if (PyErr_Occurred()) SWIG_fail;
1053 }
1054 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1055 {
1056 if (temp6)
1057 delete arg6;
1058 }
1059 return resultobj;
1060 fail:
1061 {
1062 if (temp6)
1063 delete arg6;
1064 }
1065 return NULL;
1066 }
1067
1068
1069 static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1070 PyObject *resultobj;
1071 wxPanel *result;
1072 char *kwnames[] = {
1073 NULL
1074 };
1075
1076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1077 {
1078 PyThreadState* __tstate = wxPyBeginAllowThreads();
1079 result = (wxPanel *)new wxPanel();
1080
1081 wxPyEndAllowThreads(__tstate);
1082 if (PyErr_Occurred()) SWIG_fail;
1083 }
1084 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1085 return resultobj;
1086 fail:
1087 return NULL;
1088 }
1089
1090
1091 static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1092 PyObject *resultobj;
1093 wxPanel *arg1 = (wxPanel *) 0 ;
1094 wxWindow *arg2 = (wxWindow *) 0 ;
1095 int arg3 ;
1096 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1097 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1098 wxSize const &arg5_defvalue = wxDefaultSize ;
1099 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1100 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1101 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1102 wxString *arg7 = (wxString *) &arg7_defvalue ;
1103 bool result;
1104 wxPoint temp4 ;
1105 wxSize temp5 ;
1106 bool temp7 = False ;
1107 PyObject * obj0 = 0 ;
1108 PyObject * obj1 = 0 ;
1109 PyObject * obj3 = 0 ;
1110 PyObject * obj4 = 0 ;
1111 PyObject * obj6 = 0 ;
1112 char *kwnames[] = {
1113 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1114 };
1115
1116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Panel_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1118 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1119 if (obj3) {
1120 {
1121 arg4 = &temp4;
1122 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1123 }
1124 }
1125 if (obj4) {
1126 {
1127 arg5 = &temp5;
1128 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1129 }
1130 }
1131 if (obj6) {
1132 {
1133 arg7 = wxString_in_helper(obj6);
1134 if (arg7 == NULL) SWIG_fail;
1135 temp7 = True;
1136 }
1137 }
1138 {
1139 PyThreadState* __tstate = wxPyBeginAllowThreads();
1140 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1141
1142 wxPyEndAllowThreads(__tstate);
1143 if (PyErr_Occurred()) SWIG_fail;
1144 }
1145 resultobj = PyInt_FromLong((long)result);
1146 {
1147 if (temp7)
1148 delete arg7;
1149 }
1150 return resultobj;
1151 fail:
1152 {
1153 if (temp7)
1154 delete arg7;
1155 }
1156 return NULL;
1157 }
1158
1159
1160 static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1161 PyObject *resultobj;
1162 wxPanel *arg1 = (wxPanel *) 0 ;
1163 PyObject * obj0 = 0 ;
1164 char *kwnames[] = {
1165 (char *) "self", NULL
1166 };
1167
1168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1170 {
1171 PyThreadState* __tstate = wxPyBeginAllowThreads();
1172 (arg1)->InitDialog();
1173
1174 wxPyEndAllowThreads(__tstate);
1175 if (PyErr_Occurred()) SWIG_fail;
1176 }
1177 Py_INCREF(Py_None); resultobj = Py_None;
1178 return resultobj;
1179 fail:
1180 return NULL;
1181 }
1182
1183
1184 static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1185 PyObject *obj;
1186 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1187 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1188 Py_INCREF(obj);
1189 return Py_BuildValue((char *)"");
1190 }
1191 static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1192 PyObject *resultobj;
1193 wxWindow *arg1 = (wxWindow *) 0 ;
1194 int arg2 = (int) (int)-1 ;
1195 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1196 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1197 wxSize const &arg4_defvalue = wxDefaultSize ;
1198 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1199 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1200 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1201 wxString *arg6 = (wxString *) &arg6_defvalue ;
1202 wxScrolledWindow *result;
1203 wxPoint temp3 ;
1204 wxSize temp4 ;
1205 bool temp6 = False ;
1206 PyObject * obj0 = 0 ;
1207 PyObject * obj2 = 0 ;
1208 PyObject * obj3 = 0 ;
1209 PyObject * obj5 = 0 ;
1210 char *kwnames[] = {
1211 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1212 };
1213
1214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_ScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
1215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1216 if (obj2) {
1217 {
1218 arg3 = &temp3;
1219 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1220 }
1221 }
1222 if (obj3) {
1223 {
1224 arg4 = &temp4;
1225 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1226 }
1227 }
1228 if (obj5) {
1229 {
1230 arg6 = wxString_in_helper(obj5);
1231 if (arg6 == NULL) SWIG_fail;
1232 temp6 = True;
1233 }
1234 }
1235 {
1236 PyThreadState* __tstate = wxPyBeginAllowThreads();
1237 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1238
1239 wxPyEndAllowThreads(__tstate);
1240 if (PyErr_Occurred()) SWIG_fail;
1241 }
1242 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1243 {
1244 if (temp6)
1245 delete arg6;
1246 }
1247 return resultobj;
1248 fail:
1249 {
1250 if (temp6)
1251 delete arg6;
1252 }
1253 return NULL;
1254 }
1255
1256
1257 static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1258 PyObject *resultobj;
1259 wxScrolledWindow *result;
1260 char *kwnames[] = {
1261 NULL
1262 };
1263
1264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1265 {
1266 PyThreadState* __tstate = wxPyBeginAllowThreads();
1267 result = (wxScrolledWindow *)new wxScrolledWindow();
1268
1269 wxPyEndAllowThreads(__tstate);
1270 if (PyErr_Occurred()) SWIG_fail;
1271 }
1272 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1273 return resultobj;
1274 fail:
1275 return NULL;
1276 }
1277
1278
1279 static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1280 PyObject *resultobj;
1281 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1282 wxWindow *arg2 = (wxWindow *) 0 ;
1283 int arg3 = (int) (int)-1 ;
1284 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1285 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1286 wxSize const &arg5_defvalue = wxDefaultSize ;
1287 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1288 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1289 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1290 wxString *arg7 = (wxString *) &arg7_defvalue ;
1291 bool result;
1292 wxPoint temp4 ;
1293 wxSize temp5 ;
1294 bool temp7 = False ;
1295 PyObject * obj0 = 0 ;
1296 PyObject * obj1 = 0 ;
1297 PyObject * obj3 = 0 ;
1298 PyObject * obj4 = 0 ;
1299 PyObject * obj6 = 0 ;
1300 char *kwnames[] = {
1301 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1302 };
1303
1304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1306 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1307 if (obj3) {
1308 {
1309 arg4 = &temp4;
1310 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1311 }
1312 }
1313 if (obj4) {
1314 {
1315 arg5 = &temp5;
1316 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1317 }
1318 }
1319 if (obj6) {
1320 {
1321 arg7 = wxString_in_helper(obj6);
1322 if (arg7 == NULL) SWIG_fail;
1323 temp7 = True;
1324 }
1325 }
1326 {
1327 PyThreadState* __tstate = wxPyBeginAllowThreads();
1328 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1329
1330 wxPyEndAllowThreads(__tstate);
1331 if (PyErr_Occurred()) SWIG_fail;
1332 }
1333 resultobj = PyInt_FromLong((long)result);
1334 {
1335 if (temp7)
1336 delete arg7;
1337 }
1338 return resultobj;
1339 fail:
1340 {
1341 if (temp7)
1342 delete arg7;
1343 }
1344 return NULL;
1345 }
1346
1347
1348 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1349 PyObject *resultobj;
1350 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1351 int arg2 ;
1352 int arg3 ;
1353 int arg4 ;
1354 int arg5 ;
1355 int arg6 = (int) 0 ;
1356 int arg7 = (int) 0 ;
1357 bool arg8 = (bool) False ;
1358 PyObject * obj0 = 0 ;
1359 PyObject * obj7 = 0 ;
1360 char *kwnames[] = {
1361 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1362 };
1363
1364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|iiO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7,&obj7)) goto fail;
1365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1366 if (obj7) {
1367 arg8 = PyInt_AsLong(obj7) ? true : false;
1368 if (PyErr_Occurred()) SWIG_fail;
1369 }
1370 {
1371 PyThreadState* __tstate = wxPyBeginAllowThreads();
1372 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1373
1374 wxPyEndAllowThreads(__tstate);
1375 if (PyErr_Occurred()) SWIG_fail;
1376 }
1377 Py_INCREF(Py_None); resultobj = Py_None;
1378 return resultobj;
1379 fail:
1380 return NULL;
1381 }
1382
1383
1384 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1385 PyObject *resultobj;
1386 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1387 int arg2 ;
1388 int arg3 ;
1389 PyObject * obj0 = 0 ;
1390 char *kwnames[] = {
1391 (char *) "self",(char *) "x",(char *) "y", NULL
1392 };
1393
1394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_Scroll",kwnames,&obj0,&arg2,&arg3)) goto fail;
1395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1396 {
1397 PyThreadState* __tstate = wxPyBeginAllowThreads();
1398 (arg1)->Scroll(arg2,arg3);
1399
1400 wxPyEndAllowThreads(__tstate);
1401 if (PyErr_Occurred()) SWIG_fail;
1402 }
1403 Py_INCREF(Py_None); resultobj = Py_None;
1404 return resultobj;
1405 fail:
1406 return NULL;
1407 }
1408
1409
1410 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1411 PyObject *resultobj;
1412 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1413 int arg2 ;
1414 int result;
1415 PyObject * obj0 = 0 ;
1416 char *kwnames[] = {
1417 (char *) "self",(char *) "orient", NULL
1418 };
1419
1420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&arg2)) goto fail;
1421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1422 {
1423 PyThreadState* __tstate = wxPyBeginAllowThreads();
1424 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1425
1426 wxPyEndAllowThreads(__tstate);
1427 if (PyErr_Occurred()) SWIG_fail;
1428 }
1429 resultobj = PyInt_FromLong((long)result);
1430 return resultobj;
1431 fail:
1432 return NULL;
1433 }
1434
1435
1436 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1437 PyObject *resultobj;
1438 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1439 int arg2 ;
1440 int arg3 ;
1441 PyObject * obj0 = 0 ;
1442 char *kwnames[] = {
1443 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1444 };
1445
1446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
1447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1448 {
1449 PyThreadState* __tstate = wxPyBeginAllowThreads();
1450 (arg1)->SetScrollPageSize(arg2,arg3);
1451
1452 wxPyEndAllowThreads(__tstate);
1453 if (PyErr_Occurred()) SWIG_fail;
1454 }
1455 Py_INCREF(Py_None); resultobj = Py_None;
1456 return resultobj;
1457 fail:
1458 return NULL;
1459 }
1460
1461
1462 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1463 PyObject *resultobj;
1464 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1465 int arg2 ;
1466 int arg3 ;
1467 PyObject * obj0 = 0 ;
1468 char *kwnames[] = {
1469 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1470 };
1471
1472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollRate",kwnames,&obj0,&arg2,&arg3)) goto fail;
1473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1474 {
1475 PyThreadState* __tstate = wxPyBeginAllowThreads();
1476 (arg1)->SetScrollRate(arg2,arg3);
1477
1478 wxPyEndAllowThreads(__tstate);
1479 if (PyErr_Occurred()) SWIG_fail;
1480 }
1481 Py_INCREF(Py_None); resultobj = Py_None;
1482 return resultobj;
1483 fail:
1484 return NULL;
1485 }
1486
1487
1488 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1489 PyObject *resultobj;
1490 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1491 int *arg2 = (int *) 0 ;
1492 int *arg3 = (int *) 0 ;
1493 int temp2 ;
1494 int temp3 ;
1495 PyObject * obj0 = 0 ;
1496 char *kwnames[] = {
1497 (char *) "self", NULL
1498 };
1499
1500 arg2 = &temp2;
1501 arg3 = &temp3;
1502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1504 {
1505 PyThreadState* __tstate = wxPyBeginAllowThreads();
1506 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1507
1508 wxPyEndAllowThreads(__tstate);
1509 if (PyErr_Occurred()) SWIG_fail;
1510 }
1511 Py_INCREF(Py_None); resultobj = Py_None;
1512 {
1513 PyObject *o = PyInt_FromLong((long) (*arg2));
1514 resultobj = t_output_helper(resultobj,o);
1515 }
1516 {
1517 PyObject *o = PyInt_FromLong((long) (*arg3));
1518 resultobj = t_output_helper(resultobj,o);
1519 }
1520 return resultobj;
1521 fail:
1522 return NULL;
1523 }
1524
1525
1526 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1527 PyObject *resultobj;
1528 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1529 bool arg2 ;
1530 bool arg3 ;
1531 PyObject * obj0 = 0 ;
1532 PyObject * obj1 = 0 ;
1533 PyObject * obj2 = 0 ;
1534 char *kwnames[] = {
1535 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1536 };
1537
1538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1540 arg2 = PyInt_AsLong(obj1) ? true : false;
1541 if (PyErr_Occurred()) SWIG_fail;
1542 arg3 = PyInt_AsLong(obj2) ? true : false;
1543 if (PyErr_Occurred()) SWIG_fail;
1544 {
1545 PyThreadState* __tstate = wxPyBeginAllowThreads();
1546 (arg1)->EnableScrolling(arg2,arg3);
1547
1548 wxPyEndAllowThreads(__tstate);
1549 if (PyErr_Occurred()) SWIG_fail;
1550 }
1551 Py_INCREF(Py_None); resultobj = Py_None;
1552 return resultobj;
1553 fail:
1554 return NULL;
1555 }
1556
1557
1558 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1559 PyObject *resultobj;
1560 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1561 int *arg2 = (int *) 0 ;
1562 int *arg3 = (int *) 0 ;
1563 int temp2 ;
1564 int temp3 ;
1565 PyObject * obj0 = 0 ;
1566 char *kwnames[] = {
1567 (char *) "self", NULL
1568 };
1569
1570 arg2 = &temp2;
1571 arg3 = &temp3;
1572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1574 {
1575 PyThreadState* __tstate = wxPyBeginAllowThreads();
1576 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1577
1578 wxPyEndAllowThreads(__tstate);
1579 if (PyErr_Occurred()) SWIG_fail;
1580 }
1581 Py_INCREF(Py_None); resultobj = Py_None;
1582 {
1583 PyObject *o = PyInt_FromLong((long) (*arg2));
1584 resultobj = t_output_helper(resultobj,o);
1585 }
1586 {
1587 PyObject *o = PyInt_FromLong((long) (*arg3));
1588 resultobj = t_output_helper(resultobj,o);
1589 }
1590 return resultobj;
1591 fail:
1592 return NULL;
1593 }
1594
1595
1596 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
1597 PyObject *resultobj;
1598 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1599 double arg2 ;
1600 double arg3 ;
1601 PyObject * obj0 = 0 ;
1602 char *kwnames[] = {
1603 (char *) "self",(char *) "xs",(char *) "ys", NULL
1604 };
1605
1606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ScrolledWindow_SetScale",kwnames,&obj0,&arg2,&arg3)) goto fail;
1607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1608 {
1609 PyThreadState* __tstate = wxPyBeginAllowThreads();
1610 (arg1)->SetScale(arg2,arg3);
1611
1612 wxPyEndAllowThreads(__tstate);
1613 if (PyErr_Occurred()) SWIG_fail;
1614 }
1615 Py_INCREF(Py_None); resultobj = Py_None;
1616 return resultobj;
1617 fail:
1618 return NULL;
1619 }
1620
1621
1622 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
1623 PyObject *resultobj;
1624 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1625 double result;
1626 PyObject * obj0 = 0 ;
1627 char *kwnames[] = {
1628 (char *) "self", NULL
1629 };
1630
1631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
1632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1633 {
1634 PyThreadState* __tstate = wxPyBeginAllowThreads();
1635 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
1636
1637 wxPyEndAllowThreads(__tstate);
1638 if (PyErr_Occurred()) SWIG_fail;
1639 }
1640 resultobj = PyFloat_FromDouble(result);
1641 return resultobj;
1642 fail:
1643 return NULL;
1644 }
1645
1646
1647 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
1648 PyObject *resultobj;
1649 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1650 double result;
1651 PyObject * obj0 = 0 ;
1652 char *kwnames[] = {
1653 (char *) "self", NULL
1654 };
1655
1656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
1657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1658 {
1659 PyThreadState* __tstate = wxPyBeginAllowThreads();
1660 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
1661
1662 wxPyEndAllowThreads(__tstate);
1663 if (PyErr_Occurred()) SWIG_fail;
1664 }
1665 resultobj = PyFloat_FromDouble(result);
1666 return resultobj;
1667 fail:
1668 return NULL;
1669 }
1670
1671
1672 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1673 PyObject *resultobj;
1674 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1675 wxPoint *arg2 = 0 ;
1676 wxPoint result;
1677 wxPoint temp2 ;
1678 PyObject * obj0 = 0 ;
1679 PyObject * obj1 = 0 ;
1680
1681 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
1682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1683 {
1684 arg2 = &temp2;
1685 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1686 }
1687 {
1688 PyThreadState* __tstate = wxPyBeginAllowThreads();
1689 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
1690
1691 wxPyEndAllowThreads(__tstate);
1692 if (PyErr_Occurred()) SWIG_fail;
1693 }
1694 {
1695 wxPoint * resultptr;
1696 resultptr = new wxPoint((wxPoint &) result);
1697 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
1698 }
1699 return resultobj;
1700 fail:
1701 return NULL;
1702 }
1703
1704
1705 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1706 PyObject *resultobj;
1707 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1708 int arg2 ;
1709 int arg3 ;
1710 int *arg4 = (int *) 0 ;
1711 int *arg5 = (int *) 0 ;
1712 int temp4 ;
1713 int temp5 ;
1714 PyObject * obj0 = 0 ;
1715
1716 arg4 = &temp4;
1717 arg5 = &temp5;
1718 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcScrolledPosition",&obj0,&arg2,&arg3)) goto fail;
1719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1720 {
1721 PyThreadState* __tstate = wxPyBeginAllowThreads();
1722 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
1723
1724 wxPyEndAllowThreads(__tstate);
1725 if (PyErr_Occurred()) SWIG_fail;
1726 }
1727 Py_INCREF(Py_None); resultobj = Py_None;
1728 {
1729 PyObject *o = PyInt_FromLong((long) (*arg4));
1730 resultobj = t_output_helper(resultobj,o);
1731 }
1732 {
1733 PyObject *o = PyInt_FromLong((long) (*arg5));
1734 resultobj = t_output_helper(resultobj,o);
1735 }
1736 return resultobj;
1737 fail:
1738 return NULL;
1739 }
1740
1741
1742 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
1743 int argc;
1744 PyObject *argv[4];
1745 int ii;
1746
1747 argc = PyObject_Length(args);
1748 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1749 argv[ii] = PyTuple_GetItem(args,ii);
1750 }
1751 if (argc == 2) {
1752 int _v;
1753 {
1754 void *ptr;
1755 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1756 _v = 0;
1757 PyErr_Clear();
1758 } else {
1759 _v = 1;
1760 }
1761 }
1762 if (_v) {
1763 {
1764 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1765 }
1766 if (_v) {
1767 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
1768 }
1769 }
1770 }
1771 if (argc == 3) {
1772 int _v;
1773 {
1774 void *ptr;
1775 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1776 _v = 0;
1777 PyErr_Clear();
1778 } else {
1779 _v = 1;
1780 }
1781 }
1782 if (_v) {
1783 {
1784 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1785 }
1786 if (_v) {
1787 {
1788 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1789 }
1790 if (_v) {
1791 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
1792 }
1793 }
1794 }
1795 }
1796
1797 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
1798 return NULL;
1799 }
1800
1801
1802 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1803 PyObject *resultobj;
1804 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1805 wxPoint *arg2 = 0 ;
1806 wxPoint result;
1807 wxPoint temp2 ;
1808 PyObject * obj0 = 0 ;
1809 PyObject * obj1 = 0 ;
1810
1811 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
1812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1813 {
1814 arg2 = &temp2;
1815 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1816 }
1817 {
1818 PyThreadState* __tstate = wxPyBeginAllowThreads();
1819 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
1820
1821 wxPyEndAllowThreads(__tstate);
1822 if (PyErr_Occurred()) SWIG_fail;
1823 }
1824 {
1825 wxPoint * resultptr;
1826 resultptr = new wxPoint((wxPoint &) result);
1827 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
1828 }
1829 return resultobj;
1830 fail:
1831 return NULL;
1832 }
1833
1834
1835 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1836 PyObject *resultobj;
1837 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1838 int arg2 ;
1839 int arg3 ;
1840 int *arg4 = (int *) 0 ;
1841 int *arg5 = (int *) 0 ;
1842 int temp4 ;
1843 int temp5 ;
1844 PyObject * obj0 = 0 ;
1845
1846 arg4 = &temp4;
1847 arg5 = &temp5;
1848 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcUnscrolledPosition",&obj0,&arg2,&arg3)) goto fail;
1849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1850 {
1851 PyThreadState* __tstate = wxPyBeginAllowThreads();
1852 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
1853
1854 wxPyEndAllowThreads(__tstate);
1855 if (PyErr_Occurred()) SWIG_fail;
1856 }
1857 Py_INCREF(Py_None); resultobj = Py_None;
1858 {
1859 PyObject *o = PyInt_FromLong((long) (*arg4));
1860 resultobj = t_output_helper(resultobj,o);
1861 }
1862 {
1863 PyObject *o = PyInt_FromLong((long) (*arg5));
1864 resultobj = t_output_helper(resultobj,o);
1865 }
1866 return resultobj;
1867 fail:
1868 return NULL;
1869 }
1870
1871
1872 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
1873 int argc;
1874 PyObject *argv[4];
1875 int ii;
1876
1877 argc = PyObject_Length(args);
1878 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1879 argv[ii] = PyTuple_GetItem(args,ii);
1880 }
1881 if (argc == 2) {
1882 int _v;
1883 {
1884 void *ptr;
1885 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1886 _v = 0;
1887 PyErr_Clear();
1888 } else {
1889 _v = 1;
1890 }
1891 }
1892 if (_v) {
1893 {
1894 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1895 }
1896 if (_v) {
1897 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
1898 }
1899 }
1900 }
1901 if (argc == 3) {
1902 int _v;
1903 {
1904 void *ptr;
1905 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1906 _v = 0;
1907 PyErr_Clear();
1908 } else {
1909 _v = 1;
1910 }
1911 }
1912 if (_v) {
1913 {
1914 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1915 }
1916 if (_v) {
1917 {
1918 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1919 }
1920 if (_v) {
1921 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
1922 }
1923 }
1924 }
1925 }
1926
1927 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
1928 return NULL;
1929 }
1930
1931
1932 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1933 PyObject *resultobj;
1934 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1935 PyObject * obj0 = 0 ;
1936 char *kwnames[] = {
1937 (char *) "self", NULL
1938 };
1939
1940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
1941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1942 {
1943 PyThreadState* __tstate = wxPyBeginAllowThreads();
1944 (arg1)->AdjustScrollbars();
1945
1946 wxPyEndAllowThreads(__tstate);
1947 if (PyErr_Occurred()) SWIG_fail;
1948 }
1949 Py_INCREF(Py_None); resultobj = Py_None;
1950 return resultobj;
1951 fail:
1952 return NULL;
1953 }
1954
1955
1956 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
1957 PyObject *resultobj;
1958 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1959 wxScrollWinEvent *arg2 = 0 ;
1960 int result;
1961 PyObject * obj0 = 0 ;
1962 PyObject * obj1 = 0 ;
1963 char *kwnames[] = {
1964 (char *) "self",(char *) "event", NULL
1965 };
1966
1967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
1968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1969 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1970 if (arg2 == NULL) {
1971 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1972 }
1973 {
1974 PyThreadState* __tstate = wxPyBeginAllowThreads();
1975 result = (int)(arg1)->CalcScrollInc(*arg2);
1976
1977 wxPyEndAllowThreads(__tstate);
1978 if (PyErr_Occurred()) SWIG_fail;
1979 }
1980 resultobj = PyInt_FromLong((long)result);
1981 return resultobj;
1982 fail:
1983 return NULL;
1984 }
1985
1986
1987 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1988 PyObject *resultobj;
1989 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1990 wxWindow *arg2 = (wxWindow *) 0 ;
1991 PyObject * obj0 = 0 ;
1992 PyObject * obj1 = 0 ;
1993 char *kwnames[] = {
1994 (char *) "self",(char *) "target", NULL
1995 };
1996
1997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
1998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1999 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2000 {
2001 PyThreadState* __tstate = wxPyBeginAllowThreads();
2002 (arg1)->SetTargetWindow(arg2);
2003
2004 wxPyEndAllowThreads(__tstate);
2005 if (PyErr_Occurred()) SWIG_fail;
2006 }
2007 Py_INCREF(Py_None); resultobj = Py_None;
2008 return resultobj;
2009 fail:
2010 return NULL;
2011 }
2012
2013
2014 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2015 PyObject *resultobj;
2016 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2017 wxWindow *result;
2018 PyObject * obj0 = 0 ;
2019 char *kwnames[] = {
2020 (char *) "self", NULL
2021 };
2022
2023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2025 {
2026 PyThreadState* __tstate = wxPyBeginAllowThreads();
2027 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2028
2029 wxPyEndAllowThreads(__tstate);
2030 if (PyErr_Occurred()) SWIG_fail;
2031 }
2032 {
2033 resultobj = wxPyMake_wxObject(result);
2034 }
2035 return resultobj;
2036 fail:
2037 return NULL;
2038 }
2039
2040
2041 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2042 PyObject *obj;
2043 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2044 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2045 Py_INCREF(obj);
2046 return Py_BuildValue((char *)"");
2047 }
2048 static PyObject *_wrap_new_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
2049 PyObject *resultobj;
2050 int arg1 = (int) 0 ;
2051 int arg2 = (int) 0 ;
2052 int arg3 = (int) 0 ;
2053 wxMenuItem *arg4 = (wxMenuItem *) NULL ;
2054 wxAcceleratorEntry *result;
2055 PyObject * obj3 = 0 ;
2056 char *kwnames[] = {
2057 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
2058 };
2059
2060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiiO:new_AcceleratorEntry",kwnames,&arg1,&arg2,&arg3,&obj3)) goto fail;
2061 if (obj3) {
2062 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2063 }
2064 {
2065 PyThreadState* __tstate = wxPyBeginAllowThreads();
2066 result = (wxAcceleratorEntry *)new wxAcceleratorEntry(arg1,arg2,arg3,arg4);
2067
2068 wxPyEndAllowThreads(__tstate);
2069 if (PyErr_Occurred()) SWIG_fail;
2070 }
2071 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorEntry, 1);
2072 return resultobj;
2073 fail:
2074 return NULL;
2075 }
2076
2077
2078 static PyObject *_wrap_delete_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
2079 PyObject *resultobj;
2080 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2081 PyObject * obj0 = 0 ;
2082 char *kwnames[] = {
2083 (char *) "self", NULL
2084 };
2085
2086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorEntry",kwnames,&obj0)) goto fail;
2087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2088 {
2089 PyThreadState* __tstate = wxPyBeginAllowThreads();
2090 delete arg1;
2091
2092 wxPyEndAllowThreads(__tstate);
2093 if (PyErr_Occurred()) SWIG_fail;
2094 }
2095 Py_INCREF(Py_None); resultobj = Py_None;
2096 return resultobj;
2097 fail:
2098 return NULL;
2099 }
2100
2101
2102 static PyObject *_wrap_AcceleratorEntry_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2103 PyObject *resultobj;
2104 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2105 int arg2 ;
2106 int arg3 ;
2107 int arg4 ;
2108 wxMenuItem *arg5 = (wxMenuItem *) NULL ;
2109 PyObject * obj0 = 0 ;
2110 PyObject * obj4 = 0 ;
2111 char *kwnames[] = {
2112 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
2113 };
2114
2115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii|O:AcceleratorEntry_Set",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
2116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2117 if (obj4) {
2118 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2119 }
2120 {
2121 PyThreadState* __tstate = wxPyBeginAllowThreads();
2122 (arg1)->Set(arg2,arg3,arg4,arg5);
2123
2124 wxPyEndAllowThreads(__tstate);
2125 if (PyErr_Occurred()) SWIG_fail;
2126 }
2127 Py_INCREF(Py_None); resultobj = Py_None;
2128 return resultobj;
2129 fail:
2130 return NULL;
2131 }
2132
2133
2134 static PyObject *_wrap_AcceleratorEntry_SetMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
2135 PyObject *resultobj;
2136 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2137 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
2138 PyObject * obj0 = 0 ;
2139 PyObject * obj1 = 0 ;
2140 char *kwnames[] = {
2141 (char *) "self",(char *) "item", NULL
2142 };
2143
2144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames,&obj0,&obj1)) goto fail;
2145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2146 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2147 {
2148 PyThreadState* __tstate = wxPyBeginAllowThreads();
2149 (arg1)->SetMenuItem(arg2);
2150
2151 wxPyEndAllowThreads(__tstate);
2152 if (PyErr_Occurred()) SWIG_fail;
2153 }
2154 Py_INCREF(Py_None); resultobj = Py_None;
2155 return resultobj;
2156 fail:
2157 return NULL;
2158 }
2159
2160
2161 static PyObject *_wrap_AcceleratorEntry_GetMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
2162 PyObject *resultobj;
2163 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2164 wxMenuItem *result;
2165 PyObject * obj0 = 0 ;
2166 char *kwnames[] = {
2167 (char *) "self", NULL
2168 };
2169
2170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames,&obj0)) goto fail;
2171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2172 {
2173 PyThreadState* __tstate = wxPyBeginAllowThreads();
2174 result = (wxMenuItem *)((wxAcceleratorEntry const *)arg1)->GetMenuItem();
2175
2176 wxPyEndAllowThreads(__tstate);
2177 if (PyErr_Occurred()) SWIG_fail;
2178 }
2179 {
2180 resultobj = wxPyMake_wxObject(result);
2181 }
2182 return resultobj;
2183 fail:
2184 return NULL;
2185 }
2186
2187
2188 static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
2189 PyObject *resultobj;
2190 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2191 int result;
2192 PyObject * obj0 = 0 ;
2193 char *kwnames[] = {
2194 (char *) "self", NULL
2195 };
2196
2197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetFlags",kwnames,&obj0)) goto fail;
2198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2199 {
2200 PyThreadState* __tstate = wxPyBeginAllowThreads();
2201 result = (int)(arg1)->GetFlags();
2202
2203 wxPyEndAllowThreads(__tstate);
2204 if (PyErr_Occurred()) SWIG_fail;
2205 }
2206 resultobj = PyInt_FromLong((long)result);
2207 return resultobj;
2208 fail:
2209 return NULL;
2210 }
2211
2212
2213 static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
2214 PyObject *resultobj;
2215 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2216 int result;
2217 PyObject * obj0 = 0 ;
2218 char *kwnames[] = {
2219 (char *) "self", NULL
2220 };
2221
2222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames,&obj0)) goto fail;
2223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2224 {
2225 PyThreadState* __tstate = wxPyBeginAllowThreads();
2226 result = (int)(arg1)->GetKeyCode();
2227
2228 wxPyEndAllowThreads(__tstate);
2229 if (PyErr_Occurred()) SWIG_fail;
2230 }
2231 resultobj = PyInt_FromLong((long)result);
2232 return resultobj;
2233 fail:
2234 return NULL;
2235 }
2236
2237
2238 static PyObject *_wrap_AcceleratorEntry_GetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
2239 PyObject *resultobj;
2240 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2241 int result;
2242 PyObject * obj0 = 0 ;
2243 char *kwnames[] = {
2244 (char *) "self", NULL
2245 };
2246
2247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetCommand",kwnames,&obj0)) goto fail;
2248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2249 {
2250 PyThreadState* __tstate = wxPyBeginAllowThreads();
2251 result = (int)(arg1)->GetCommand();
2252
2253 wxPyEndAllowThreads(__tstate);
2254 if (PyErr_Occurred()) SWIG_fail;
2255 }
2256 resultobj = PyInt_FromLong((long)result);
2257 return resultobj;
2258 fail:
2259 return NULL;
2260 }
2261
2262
2263 static PyObject * AcceleratorEntry_swigregister(PyObject *self, PyObject *args) {
2264 PyObject *obj;
2265 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2266 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry, obj);
2267 Py_INCREF(obj);
2268 return Py_BuildValue((char *)"");
2269 }
2270 static PyObject *_wrap_new_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
2271 PyObject *resultobj;
2272 int arg1 ;
2273 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
2274 wxAcceleratorTable *result;
2275 PyObject * obj0 = 0 ;
2276 char *kwnames[] = {
2277 (char *) "n", NULL
2278 };
2279
2280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_AcceleratorTable",kwnames,&obj0)) goto fail;
2281 {
2282 arg2 = wxAcceleratorEntry_LIST_helper(obj0);
2283 if (arg2) arg1 = PyList_Size(obj0);
2284 else arg1 = 0;
2285 }
2286 {
2287 PyThreadState* __tstate = wxPyBeginAllowThreads();
2288 result = (wxAcceleratorTable *)new wxAcceleratorTable(arg1,(wxAcceleratorEntry const *)arg2);
2289
2290 wxPyEndAllowThreads(__tstate);
2291 if (PyErr_Occurred()) SWIG_fail;
2292 }
2293 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorTable, 1);
2294 {
2295 delete [] arg2;
2296 }
2297 return resultobj;
2298 fail:
2299 {
2300 delete [] arg2;
2301 }
2302 return NULL;
2303 }
2304
2305
2306 static PyObject *_wrap_delete_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
2307 PyObject *resultobj;
2308 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
2309 PyObject * obj0 = 0 ;
2310 char *kwnames[] = {
2311 (char *) "self", NULL
2312 };
2313
2314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorTable",kwnames,&obj0)) goto fail;
2315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorTable,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2316 {
2317 PyThreadState* __tstate = wxPyBeginAllowThreads();
2318 delete arg1;
2319
2320 wxPyEndAllowThreads(__tstate);
2321 if (PyErr_Occurred()) SWIG_fail;
2322 }
2323 Py_INCREF(Py_None); resultobj = Py_None;
2324 return resultobj;
2325 fail:
2326 return NULL;
2327 }
2328
2329
2330 static PyObject *_wrap_AcceleratorTable_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
2331 PyObject *resultobj;
2332 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
2333 bool result;
2334 PyObject * obj0 = 0 ;
2335 char *kwnames[] = {
2336 (char *) "self", NULL
2337 };
2338
2339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorTable_Ok",kwnames,&obj0)) goto fail;
2340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorTable,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2341 {
2342 PyThreadState* __tstate = wxPyBeginAllowThreads();
2343 result = (bool)((wxAcceleratorTable const *)arg1)->Ok();
2344
2345 wxPyEndAllowThreads(__tstate);
2346 if (PyErr_Occurred()) SWIG_fail;
2347 }
2348 resultobj = PyInt_FromLong((long)result);
2349 return resultobj;
2350 fail:
2351 return NULL;
2352 }
2353
2354
2355 static PyObject * AcceleratorTable_swigregister(PyObject *self, PyObject *args) {
2356 PyObject *obj;
2357 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2358 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable, obj);
2359 Py_INCREF(obj);
2360 return Py_BuildValue((char *)"");
2361 }
2362 static int _wrap_NullAcceleratorTable_set(PyObject *_val) {
2363 PyErr_SetString(PyExc_TypeError,"Variable NullAcceleratorTable is read-only.");
2364 return 1;
2365 }
2366
2367
2368 static PyObject *_wrap_NullAcceleratorTable_get() {
2369 PyObject *pyobj;
2370
2371 pyobj = SWIG_NewPointerObj((void *) &wxNullAcceleratorTable, SWIGTYPE_p_wxAcceleratorTable, 0);
2372 return pyobj;
2373 }
2374
2375
2376 static PyObject *_wrap_GetAccelFromString(PyObject *self, PyObject *args, PyObject *kwargs) {
2377 PyObject *resultobj;
2378 wxString *arg1 = 0 ;
2379 wxAcceleratorEntry *result;
2380 bool temp1 = False ;
2381 PyObject * obj0 = 0 ;
2382 char *kwnames[] = {
2383 (char *) "label", NULL
2384 };
2385
2386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetAccelFromString",kwnames,&obj0)) goto fail;
2387 {
2388 arg1 = wxString_in_helper(obj0);
2389 if (arg1 == NULL) SWIG_fail;
2390 temp1 = True;
2391 }
2392 {
2393 PyThreadState* __tstate = wxPyBeginAllowThreads();
2394 result = (wxAcceleratorEntry *)wxGetAccelFromString((wxString const &)*arg1);
2395
2396 wxPyEndAllowThreads(__tstate);
2397 if (PyErr_Occurred()) SWIG_fail;
2398 }
2399 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorEntry, 0);
2400 {
2401 if (temp1)
2402 delete arg1;
2403 }
2404 return resultobj;
2405 fail:
2406 {
2407 if (temp1)
2408 delete arg1;
2409 }
2410 return NULL;
2411 }
2412
2413
2414 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2415 PyObject *resultobj;
2416 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2417 bool arg2 = (bool) True ;
2418 PyObject * obj0 = 0 ;
2419 PyObject * obj1 = 0 ;
2420 char *kwnames[] = {
2421 (char *) "self",(char *) "maximize", NULL
2422 };
2423
2424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2426 if (obj1) {
2427 arg2 = PyInt_AsLong(obj1) ? true : false;
2428 if (PyErr_Occurred()) SWIG_fail;
2429 }
2430 {
2431 PyThreadState* __tstate = wxPyBeginAllowThreads();
2432 (arg1)->Maximize(arg2);
2433
2434 wxPyEndAllowThreads(__tstate);
2435 if (PyErr_Occurred()) SWIG_fail;
2436 }
2437 Py_INCREF(Py_None); resultobj = Py_None;
2438 return resultobj;
2439 fail:
2440 return NULL;
2441 }
2442
2443
2444 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2445 PyObject *resultobj;
2446 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2447 PyObject * obj0 = 0 ;
2448 char *kwnames[] = {
2449 (char *) "self", NULL
2450 };
2451
2452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2454 {
2455 PyThreadState* __tstate = wxPyBeginAllowThreads();
2456 (arg1)->Restore();
2457
2458 wxPyEndAllowThreads(__tstate);
2459 if (PyErr_Occurred()) SWIG_fail;
2460 }
2461 Py_INCREF(Py_None); resultobj = Py_None;
2462 return resultobj;
2463 fail:
2464 return NULL;
2465 }
2466
2467
2468 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2469 PyObject *resultobj;
2470 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2471 bool arg2 = (bool) True ;
2472 PyObject * obj0 = 0 ;
2473 PyObject * obj1 = 0 ;
2474 char *kwnames[] = {
2475 (char *) "self",(char *) "iconize", NULL
2476 };
2477
2478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2480 if (obj1) {
2481 arg2 = PyInt_AsLong(obj1) ? true : false;
2482 if (PyErr_Occurred()) SWIG_fail;
2483 }
2484 {
2485 PyThreadState* __tstate = wxPyBeginAllowThreads();
2486 (arg1)->Iconize(arg2);
2487
2488 wxPyEndAllowThreads(__tstate);
2489 if (PyErr_Occurred()) SWIG_fail;
2490 }
2491 Py_INCREF(Py_None); resultobj = Py_None;
2492 return resultobj;
2493 fail:
2494 return NULL;
2495 }
2496
2497
2498 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2499 PyObject *resultobj;
2500 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2501 bool result;
2502 PyObject * obj0 = 0 ;
2503 char *kwnames[] = {
2504 (char *) "self", NULL
2505 };
2506
2507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2509 {
2510 PyThreadState* __tstate = wxPyBeginAllowThreads();
2511 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2512
2513 wxPyEndAllowThreads(__tstate);
2514 if (PyErr_Occurred()) SWIG_fail;
2515 }
2516 resultobj = PyInt_FromLong((long)result);
2517 return resultobj;
2518 fail:
2519 return NULL;
2520 }
2521
2522
2523 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2524 PyObject *resultobj;
2525 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2526 bool result;
2527 PyObject * obj0 = 0 ;
2528 char *kwnames[] = {
2529 (char *) "self", NULL
2530 };
2531
2532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2534 {
2535 PyThreadState* __tstate = wxPyBeginAllowThreads();
2536 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2537
2538 wxPyEndAllowThreads(__tstate);
2539 if (PyErr_Occurred()) SWIG_fail;
2540 }
2541 resultobj = PyInt_FromLong((long)result);
2542 return resultobj;
2543 fail:
2544 return NULL;
2545 }
2546
2547
2548 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2549 PyObject *resultobj;
2550 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2551 wxIcon result;
2552 PyObject * obj0 = 0 ;
2553 char *kwnames[] = {
2554 (char *) "self", NULL
2555 };
2556
2557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2559 {
2560 PyThreadState* __tstate = wxPyBeginAllowThreads();
2561 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2562
2563 wxPyEndAllowThreads(__tstate);
2564 if (PyErr_Occurred()) SWIG_fail;
2565 }
2566 {
2567 wxIcon * resultptr;
2568 resultptr = new wxIcon((wxIcon &) result);
2569 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
2570 }
2571 return resultobj;
2572 fail:
2573 return NULL;
2574 }
2575
2576
2577 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2578 PyObject *resultobj;
2579 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2580 wxIcon *arg2 = 0 ;
2581 PyObject * obj0 = 0 ;
2582 PyObject * obj1 = 0 ;
2583 char *kwnames[] = {
2584 (char *) "self",(char *) "icon", NULL
2585 };
2586
2587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2589 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2590 if (arg2 == NULL) {
2591 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2592 }
2593 {
2594 PyThreadState* __tstate = wxPyBeginAllowThreads();
2595 (arg1)->SetIcon((wxIcon const &)*arg2);
2596
2597 wxPyEndAllowThreads(__tstate);
2598 if (PyErr_Occurred()) SWIG_fail;
2599 }
2600 Py_INCREF(Py_None); resultobj = Py_None;
2601 return resultobj;
2602 fail:
2603 return NULL;
2604 }
2605
2606
2607 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2608 PyObject *resultobj;
2609 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2610 wxIconBundle *arg2 = 0 ;
2611 PyObject * obj0 = 0 ;
2612 PyObject * obj1 = 0 ;
2613 char *kwnames[] = {
2614 (char *) "self",(char *) "icons", NULL
2615 };
2616
2617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2619 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIconBundle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2620 if (arg2 == NULL) {
2621 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2622 }
2623 {
2624 PyThreadState* __tstate = wxPyBeginAllowThreads();
2625 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2626
2627 wxPyEndAllowThreads(__tstate);
2628 if (PyErr_Occurred()) SWIG_fail;
2629 }
2630 Py_INCREF(Py_None); resultobj = Py_None;
2631 return resultobj;
2632 fail:
2633 return NULL;
2634 }
2635
2636
2637 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2638 PyObject *resultobj;
2639 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2640 bool arg2 ;
2641 long arg3 = (long) wxFULLSCREEN_ALL ;
2642 bool result;
2643 PyObject * obj0 = 0 ;
2644 PyObject * obj1 = 0 ;
2645 char *kwnames[] = {
2646 (char *) "self",(char *) "show",(char *) "style", NULL
2647 };
2648
2649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&arg3)) goto fail;
2650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2651 arg2 = PyInt_AsLong(obj1) ? true : false;
2652 if (PyErr_Occurred()) SWIG_fail;
2653 {
2654 PyThreadState* __tstate = wxPyBeginAllowThreads();
2655 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2656
2657 wxPyEndAllowThreads(__tstate);
2658 if (PyErr_Occurred()) SWIG_fail;
2659 }
2660 resultobj = PyInt_FromLong((long)result);
2661 return resultobj;
2662 fail:
2663 return NULL;
2664 }
2665
2666
2667 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2668 PyObject *resultobj;
2669 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2670 bool result;
2671 PyObject * obj0 = 0 ;
2672 char *kwnames[] = {
2673 (char *) "self", NULL
2674 };
2675
2676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2678 {
2679 PyThreadState* __tstate = wxPyBeginAllowThreads();
2680 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2681
2682 wxPyEndAllowThreads(__tstate);
2683 if (PyErr_Occurred()) SWIG_fail;
2684 }
2685 resultobj = PyInt_FromLong((long)result);
2686 return resultobj;
2687 fail:
2688 return NULL;
2689 }
2690
2691
2692 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2693 PyObject *resultobj;
2694 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2695 wxString *arg2 = 0 ;
2696 bool temp2 = False ;
2697 PyObject * obj0 = 0 ;
2698 PyObject * obj1 = 0 ;
2699 char *kwnames[] = {
2700 (char *) "self",(char *) "title", NULL
2701 };
2702
2703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2705 {
2706 arg2 = wxString_in_helper(obj1);
2707 if (arg2 == NULL) SWIG_fail;
2708 temp2 = True;
2709 }
2710 {
2711 PyThreadState* __tstate = wxPyBeginAllowThreads();
2712 (arg1)->SetTitle((wxString const &)*arg2);
2713
2714 wxPyEndAllowThreads(__tstate);
2715 if (PyErr_Occurred()) SWIG_fail;
2716 }
2717 Py_INCREF(Py_None); resultobj = Py_None;
2718 {
2719 if (temp2)
2720 delete arg2;
2721 }
2722 return resultobj;
2723 fail:
2724 {
2725 if (temp2)
2726 delete arg2;
2727 }
2728 return NULL;
2729 }
2730
2731
2732 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2733 PyObject *resultobj;
2734 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2735 wxString result;
2736 PyObject * obj0 = 0 ;
2737 char *kwnames[] = {
2738 (char *) "self", NULL
2739 };
2740
2741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2743 {
2744 PyThreadState* __tstate = wxPyBeginAllowThreads();
2745 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2746
2747 wxPyEndAllowThreads(__tstate);
2748 if (PyErr_Occurred()) SWIG_fail;
2749 }
2750 {
2751 #if wxUSE_UNICODE
2752 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2753 #else
2754 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2755 #endif
2756 }
2757 return resultobj;
2758 fail:
2759 return NULL;
2760 }
2761
2762
2763 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2764 PyObject *resultobj;
2765 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2766 wxRegion *arg2 = 0 ;
2767 bool result;
2768 PyObject * obj0 = 0 ;
2769 PyObject * obj1 = 0 ;
2770 char *kwnames[] = {
2771 (char *) "self",(char *) "region", NULL
2772 };
2773
2774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2776 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2777 if (arg2 == NULL) {
2778 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2779 }
2780 {
2781 PyThreadState* __tstate = wxPyBeginAllowThreads();
2782 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2783
2784 wxPyEndAllowThreads(__tstate);
2785 if (PyErr_Occurred()) SWIG_fail;
2786 }
2787 resultobj = PyInt_FromLong((long)result);
2788 return resultobj;
2789 fail:
2790 return NULL;
2791 }
2792
2793
2794 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
2795 PyObject *obj;
2796 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2797 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
2798 Py_INCREF(obj);
2799 return Py_BuildValue((char *)"");
2800 }
2801 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
2802 PyObject *resultobj;
2803 wxWindow *arg1 = (wxWindow *) 0 ;
2804 int arg2 ;
2805 wxString *arg3 = 0 ;
2806 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2807 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2808 wxSize const &arg5_defvalue = wxDefaultSize ;
2809 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2810 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
2811 wxString const &arg7_defvalue = wxPyFrameNameStr ;
2812 wxString *arg7 = (wxString *) &arg7_defvalue ;
2813 wxFrame *result;
2814 bool temp3 = False ;
2815 wxPoint temp4 ;
2816 wxSize temp5 ;
2817 bool temp7 = False ;
2818 PyObject * obj0 = 0 ;
2819 PyObject * obj2 = 0 ;
2820 PyObject * obj3 = 0 ;
2821 PyObject * obj4 = 0 ;
2822 PyObject * obj6 = 0 ;
2823 char *kwnames[] = {
2824 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2825 };
2826
2827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Frame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
2828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2829 {
2830 arg3 = wxString_in_helper(obj2);
2831 if (arg3 == NULL) SWIG_fail;
2832 temp3 = True;
2833 }
2834 if (obj3) {
2835 {
2836 arg4 = &temp4;
2837 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2838 }
2839 }
2840 if (obj4) {
2841 {
2842 arg5 = &temp5;
2843 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2844 }
2845 }
2846 if (obj6) {
2847 {
2848 arg7 = wxString_in_helper(obj6);
2849 if (arg7 == NULL) SWIG_fail;
2850 temp7 = True;
2851 }
2852 }
2853 {
2854 PyThreadState* __tstate = wxPyBeginAllowThreads();
2855 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2856
2857 wxPyEndAllowThreads(__tstate);
2858 if (PyErr_Occurred()) SWIG_fail;
2859 }
2860 {
2861 resultobj = wxPyMake_wxObject(result);
2862 }
2863 {
2864 if (temp3)
2865 delete arg3;
2866 }
2867 {
2868 if (temp7)
2869 delete arg7;
2870 }
2871 return resultobj;
2872 fail:
2873 {
2874 if (temp3)
2875 delete arg3;
2876 }
2877 {
2878 if (temp7)
2879 delete arg7;
2880 }
2881 return NULL;
2882 }
2883
2884
2885 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
2886 PyObject *resultobj;
2887 wxFrame *result;
2888 char *kwnames[] = {
2889 NULL
2890 };
2891
2892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
2893 {
2894 PyThreadState* __tstate = wxPyBeginAllowThreads();
2895 result = (wxFrame *)new wxFrame();
2896
2897 wxPyEndAllowThreads(__tstate);
2898 if (PyErr_Occurred()) SWIG_fail;
2899 }
2900 {
2901 resultobj = wxPyMake_wxObject(result);
2902 }
2903 return resultobj;
2904 fail:
2905 return NULL;
2906 }
2907
2908
2909 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2910 PyObject *resultobj;
2911 wxFrame *arg1 = (wxFrame *) 0 ;
2912 wxWindow *arg2 = (wxWindow *) 0 ;
2913 int arg3 ;
2914 wxString *arg4 = 0 ;
2915 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2916 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2917 wxSize const &arg6_defvalue = wxDefaultSize ;
2918 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2919 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
2920 wxString const &arg8_defvalue = wxPyFrameNameStr ;
2921 wxString *arg8 = (wxString *) &arg8_defvalue ;
2922 bool result;
2923 bool temp4 = False ;
2924 wxPoint temp5 ;
2925 wxSize temp6 ;
2926 bool temp8 = False ;
2927 PyObject * obj0 = 0 ;
2928 PyObject * obj1 = 0 ;
2929 PyObject * obj3 = 0 ;
2930 PyObject * obj4 = 0 ;
2931 PyObject * obj5 = 0 ;
2932 PyObject * obj7 = 0 ;
2933 char *kwnames[] = {
2934 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2935 };
2936
2937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Frame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
2938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2939 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2940 {
2941 arg4 = wxString_in_helper(obj3);
2942 if (arg4 == NULL) SWIG_fail;
2943 temp4 = True;
2944 }
2945 if (obj4) {
2946 {
2947 arg5 = &temp5;
2948 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2949 }
2950 }
2951 if (obj5) {
2952 {
2953 arg6 = &temp6;
2954 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2955 }
2956 }
2957 if (obj7) {
2958 {
2959 arg8 = wxString_in_helper(obj7);
2960 if (arg8 == NULL) SWIG_fail;
2961 temp8 = True;
2962 }
2963 }
2964 {
2965 PyThreadState* __tstate = wxPyBeginAllowThreads();
2966 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
2967
2968 wxPyEndAllowThreads(__tstate);
2969 if (PyErr_Occurred()) SWIG_fail;
2970 }
2971 resultobj = PyInt_FromLong((long)result);
2972 {
2973 if (temp4)
2974 delete arg4;
2975 }
2976 {
2977 if (temp8)
2978 delete arg8;
2979 }
2980 return resultobj;
2981 fail:
2982 {
2983 if (temp4)
2984 delete arg4;
2985 }
2986 {
2987 if (temp8)
2988 delete arg8;
2989 }
2990 return NULL;
2991 }
2992
2993
2994 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
2995 PyObject *resultobj;
2996 wxFrame *arg1 = (wxFrame *) 0 ;
2997 wxPoint result;
2998 PyObject * obj0 = 0 ;
2999 char *kwnames[] = {
3000 (char *) "self", NULL
3001 };
3002
3003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3005 {
3006 PyThreadState* __tstate = wxPyBeginAllowThreads();
3007 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3008
3009 wxPyEndAllowThreads(__tstate);
3010 if (PyErr_Occurred()) SWIG_fail;
3011 }
3012 {
3013 wxPoint * resultptr;
3014 resultptr = new wxPoint((wxPoint &) result);
3015 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
3016 }
3017 return resultobj;
3018 fail:
3019 return NULL;
3020 }
3021
3022
3023 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3024 PyObject *resultobj;
3025 wxFrame *arg1 = (wxFrame *) 0 ;
3026 PyObject * obj0 = 0 ;
3027 char *kwnames[] = {
3028 (char *) "self", NULL
3029 };
3030
3031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3033 {
3034 PyThreadState* __tstate = wxPyBeginAllowThreads();
3035 (arg1)->SendSizeEvent();
3036
3037 wxPyEndAllowThreads(__tstate);
3038 if (PyErr_Occurred()) SWIG_fail;
3039 }
3040 Py_INCREF(Py_None); resultobj = Py_None;
3041 return resultobj;
3042 fail:
3043 return NULL;
3044 }
3045
3046
3047 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3048 PyObject *resultobj;
3049 wxFrame *arg1 = (wxFrame *) 0 ;
3050 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3051 PyObject * obj0 = 0 ;
3052 PyObject * obj1 = 0 ;
3053 char *kwnames[] = {
3054 (char *) "self",(char *) "menubar", NULL
3055 };
3056
3057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3059 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3060 {
3061 PyThreadState* __tstate = wxPyBeginAllowThreads();
3062 (arg1)->SetMenuBar(arg2);
3063
3064 wxPyEndAllowThreads(__tstate);
3065 if (PyErr_Occurred()) SWIG_fail;
3066 }
3067 Py_INCREF(Py_None); resultobj = Py_None;
3068 return resultobj;
3069 fail:
3070 return NULL;
3071 }
3072
3073
3074 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3075 PyObject *resultobj;
3076 wxFrame *arg1 = (wxFrame *) 0 ;
3077 wxMenuBar *result;
3078 PyObject * obj0 = 0 ;
3079 char *kwnames[] = {
3080 (char *) "self", NULL
3081 };
3082
3083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3085 {
3086 PyThreadState* __tstate = wxPyBeginAllowThreads();
3087 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3088
3089 wxPyEndAllowThreads(__tstate);
3090 if (PyErr_Occurred()) SWIG_fail;
3091 }
3092 {
3093 resultobj = wxPyMake_wxObject(result);
3094 }
3095 return resultobj;
3096 fail:
3097 return NULL;
3098 }
3099
3100
3101 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3102 PyObject *resultobj;
3103 wxFrame *arg1 = (wxFrame *) 0 ;
3104 int arg2 ;
3105 bool result;
3106 PyObject * obj0 = 0 ;
3107 char *kwnames[] = {
3108 (char *) "self",(char *) "winid", NULL
3109 };
3110
3111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_ProcessCommand",kwnames,&obj0,&arg2)) goto fail;
3112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3113 {
3114 PyThreadState* __tstate = wxPyBeginAllowThreads();
3115 result = (bool)(arg1)->ProcessCommand(arg2);
3116
3117 wxPyEndAllowThreads(__tstate);
3118 if (PyErr_Occurred()) SWIG_fail;
3119 }
3120 resultobj = PyInt_FromLong((long)result);
3121 return resultobj;
3122 fail:
3123 return NULL;
3124 }
3125
3126
3127 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3128 PyObject *resultobj;
3129 wxFrame *arg1 = (wxFrame *) 0 ;
3130 int arg2 = (int) 1 ;
3131 long arg3 = (long) wxST_SIZEGRIP ;
3132 int arg4 = (int) 0 ;
3133 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3134 wxString *arg5 = (wxString *) &arg5_defvalue ;
3135 wxStatusBar *result;
3136 bool temp5 = False ;
3137 PyObject * obj0 = 0 ;
3138 PyObject * obj4 = 0 ;
3139 char *kwnames[] = {
3140 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3141 };
3142
3143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iliO:Frame_CreateStatusBar",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
3144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3145 if (obj4) {
3146 {
3147 arg5 = wxString_in_helper(obj4);
3148 if (arg5 == NULL) SWIG_fail;
3149 temp5 = True;
3150 }
3151 }
3152 {
3153 PyThreadState* __tstate = wxPyBeginAllowThreads();
3154 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3155
3156 wxPyEndAllowThreads(__tstate);
3157 if (PyErr_Occurred()) SWIG_fail;
3158 }
3159 {
3160 resultobj = wxPyMake_wxObject(result);
3161 }
3162 {
3163 if (temp5)
3164 delete arg5;
3165 }
3166 return resultobj;
3167 fail:
3168 {
3169 if (temp5)
3170 delete arg5;
3171 }
3172 return NULL;
3173 }
3174
3175
3176 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3177 PyObject *resultobj;
3178 wxFrame *arg1 = (wxFrame *) 0 ;
3179 wxStatusBar *result;
3180 PyObject * obj0 = 0 ;
3181 char *kwnames[] = {
3182 (char *) "self", NULL
3183 };
3184
3185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3187 {
3188 PyThreadState* __tstate = wxPyBeginAllowThreads();
3189 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3190
3191 wxPyEndAllowThreads(__tstate);
3192 if (PyErr_Occurred()) SWIG_fail;
3193 }
3194 {
3195 resultobj = wxPyMake_wxObject(result);
3196 }
3197 return resultobj;
3198 fail:
3199 return NULL;
3200 }
3201
3202
3203 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3204 PyObject *resultobj;
3205 wxFrame *arg1 = (wxFrame *) 0 ;
3206 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3207 PyObject * obj0 = 0 ;
3208 PyObject * obj1 = 0 ;
3209 char *kwnames[] = {
3210 (char *) "self",(char *) "statBar", NULL
3211 };
3212
3213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3215 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3216 {
3217 PyThreadState* __tstate = wxPyBeginAllowThreads();
3218 (arg1)->SetStatusBar(arg2);
3219
3220 wxPyEndAllowThreads(__tstate);
3221 if (PyErr_Occurred()) SWIG_fail;
3222 }
3223 Py_INCREF(Py_None); resultobj = Py_None;
3224 return resultobj;
3225 fail:
3226 return NULL;
3227 }
3228
3229
3230 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3231 PyObject *resultobj;
3232 wxFrame *arg1 = (wxFrame *) 0 ;
3233 wxString *arg2 = 0 ;
3234 int arg3 = (int) 0 ;
3235 bool temp2 = False ;
3236 PyObject * obj0 = 0 ;
3237 PyObject * obj1 = 0 ;
3238 char *kwnames[] = {
3239 (char *) "self",(char *) "text",(char *) "number", NULL
3240 };
3241
3242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
3243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3244 {
3245 arg2 = wxString_in_helper(obj1);
3246 if (arg2 == NULL) SWIG_fail;
3247 temp2 = True;
3248 }
3249 {
3250 PyThreadState* __tstate = wxPyBeginAllowThreads();
3251 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3252
3253 wxPyEndAllowThreads(__tstate);
3254 if (PyErr_Occurred()) SWIG_fail;
3255 }
3256 Py_INCREF(Py_None); resultobj = Py_None;
3257 {
3258 if (temp2)
3259 delete arg2;
3260 }
3261 return resultobj;
3262 fail:
3263 {
3264 if (temp2)
3265 delete arg2;
3266 }
3267 return NULL;
3268 }
3269
3270
3271 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3272 PyObject *resultobj;
3273 wxFrame *arg1 = (wxFrame *) 0 ;
3274 int arg2 ;
3275 int *arg3 = (int *) 0 ;
3276 PyObject * obj0 = 0 ;
3277 PyObject * obj1 = 0 ;
3278 char *kwnames[] = {
3279 (char *) "self",(char *) "widths", NULL
3280 };
3281
3282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3284 {
3285 arg2 = PyList_Size(obj1);
3286 arg3 = int_LIST_helper(obj1);
3287 if (arg3 == NULL) SWIG_fail;
3288 }
3289 {
3290 PyThreadState* __tstate = wxPyBeginAllowThreads();
3291 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3292
3293 wxPyEndAllowThreads(__tstate);
3294 if (PyErr_Occurred()) SWIG_fail;
3295 }
3296 Py_INCREF(Py_None); resultobj = Py_None;
3297 {
3298 if (arg3) delete [] arg3;
3299 }
3300 return resultobj;
3301 fail:
3302 {
3303 if (arg3) delete [] arg3;
3304 }
3305 return NULL;
3306 }
3307
3308
3309 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3310 PyObject *resultobj;
3311 wxFrame *arg1 = (wxFrame *) 0 ;
3312 wxString *arg2 = 0 ;
3313 int arg3 = (int) 0 ;
3314 bool temp2 = False ;
3315 PyObject * obj0 = 0 ;
3316 PyObject * obj1 = 0 ;
3317 char *kwnames[] = {
3318 (char *) "self",(char *) "text",(char *) "number", NULL
3319 };
3320
3321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
3322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3323 {
3324 arg2 = wxString_in_helper(obj1);
3325 if (arg2 == NULL) SWIG_fail;
3326 temp2 = True;
3327 }
3328 {
3329 PyThreadState* __tstate = wxPyBeginAllowThreads();
3330 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3331
3332 wxPyEndAllowThreads(__tstate);
3333 if (PyErr_Occurred()) SWIG_fail;
3334 }
3335 Py_INCREF(Py_None); resultobj = Py_None;
3336 {
3337 if (temp2)
3338 delete arg2;
3339 }
3340 return resultobj;
3341 fail:
3342 {
3343 if (temp2)
3344 delete arg2;
3345 }
3346 return NULL;
3347 }
3348
3349
3350 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3351 PyObject *resultobj;
3352 wxFrame *arg1 = (wxFrame *) 0 ;
3353 int arg2 = (int) 0 ;
3354 PyObject * obj0 = 0 ;
3355 char *kwnames[] = {
3356 (char *) "self",(char *) "number", NULL
3357 };
3358
3359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Frame_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
3360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3361 {
3362 PyThreadState* __tstate = wxPyBeginAllowThreads();
3363 (arg1)->PopStatusText(arg2);
3364
3365 wxPyEndAllowThreads(__tstate);
3366 if (PyErr_Occurred()) SWIG_fail;
3367 }
3368 Py_INCREF(Py_None); resultobj = Py_None;
3369 return resultobj;
3370 fail:
3371 return NULL;
3372 }
3373
3374
3375 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3376 PyObject *resultobj;
3377 wxFrame *arg1 = (wxFrame *) 0 ;
3378 int arg2 ;
3379 PyObject * obj0 = 0 ;
3380 char *kwnames[] = {
3381 (char *) "self",(char *) "n", NULL
3382 };
3383
3384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_SetStatusBarPane",kwnames,&obj0,&arg2)) goto fail;
3385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3386 {
3387 PyThreadState* __tstate = wxPyBeginAllowThreads();
3388 (arg1)->SetStatusBarPane(arg2);
3389
3390 wxPyEndAllowThreads(__tstate);
3391 if (PyErr_Occurred()) SWIG_fail;
3392 }
3393 Py_INCREF(Py_None); resultobj = Py_None;
3394 return resultobj;
3395 fail:
3396 return NULL;
3397 }
3398
3399
3400 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3401 PyObject *resultobj;
3402 wxFrame *arg1 = (wxFrame *) 0 ;
3403 int result;
3404 PyObject * obj0 = 0 ;
3405 char *kwnames[] = {
3406 (char *) "self", NULL
3407 };
3408
3409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3411 {
3412 PyThreadState* __tstate = wxPyBeginAllowThreads();
3413 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3414
3415 wxPyEndAllowThreads(__tstate);
3416 if (PyErr_Occurred()) SWIG_fail;
3417 }
3418 resultobj = PyInt_FromLong((long)result);
3419 return resultobj;
3420 fail:
3421 return NULL;
3422 }
3423
3424
3425 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3426 PyObject *resultobj;
3427 wxFrame *arg1 = (wxFrame *) 0 ;
3428 long arg2 = (long) -1 ;
3429 int arg3 = (int) -1 ;
3430 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3431 wxString *arg4 = (wxString *) &arg4_defvalue ;
3432 wxToolBar *result;
3433 bool temp4 = False ;
3434 PyObject * obj0 = 0 ;
3435 PyObject * obj3 = 0 ;
3436 char *kwnames[] = {
3437 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3438 };
3439
3440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|liO:Frame_CreateToolBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
3441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3442 if (obj3) {
3443 {
3444 arg4 = wxString_in_helper(obj3);
3445 if (arg4 == NULL) SWIG_fail;
3446 temp4 = True;
3447 }
3448 }
3449 {
3450 PyThreadState* __tstate = wxPyBeginAllowThreads();
3451 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3452
3453 wxPyEndAllowThreads(__tstate);
3454 if (PyErr_Occurred()) SWIG_fail;
3455 }
3456 {
3457 resultobj = wxPyMake_wxObject(result);
3458 }
3459 {
3460 if (temp4)
3461 delete arg4;
3462 }
3463 return resultobj;
3464 fail:
3465 {
3466 if (temp4)
3467 delete arg4;
3468 }
3469 return NULL;
3470 }
3471
3472
3473 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3474 PyObject *resultobj;
3475 wxFrame *arg1 = (wxFrame *) 0 ;
3476 wxToolBar *result;
3477 PyObject * obj0 = 0 ;
3478 char *kwnames[] = {
3479 (char *) "self", NULL
3480 };
3481
3482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3484 {
3485 PyThreadState* __tstate = wxPyBeginAllowThreads();
3486 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3487
3488 wxPyEndAllowThreads(__tstate);
3489 if (PyErr_Occurred()) SWIG_fail;
3490 }
3491 {
3492 resultobj = wxPyMake_wxObject(result);
3493 }
3494 return resultobj;
3495 fail:
3496 return NULL;
3497 }
3498
3499
3500 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3501 PyObject *resultobj;
3502 wxFrame *arg1 = (wxFrame *) 0 ;
3503 wxToolBar *arg2 = (wxToolBar *) 0 ;
3504 PyObject * obj0 = 0 ;
3505 PyObject * obj1 = 0 ;
3506 char *kwnames[] = {
3507 (char *) "self",(char *) "toolbar", NULL
3508 };
3509
3510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3512 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3513 {
3514 PyThreadState* __tstate = wxPyBeginAllowThreads();
3515 (arg1)->SetToolBar(arg2);
3516
3517 wxPyEndAllowThreads(__tstate);
3518 if (PyErr_Occurred()) SWIG_fail;
3519 }
3520 Py_INCREF(Py_None); resultobj = Py_None;
3521 return resultobj;
3522 fail:
3523 return NULL;
3524 }
3525
3526
3527 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3528 PyObject *resultobj;
3529 wxFrame *arg1 = (wxFrame *) 0 ;
3530 wxString *arg2 = 0 ;
3531 bool arg3 ;
3532 bool temp2 = False ;
3533 PyObject * obj0 = 0 ;
3534 PyObject * obj1 = 0 ;
3535 PyObject * obj2 = 0 ;
3536 char *kwnames[] = {
3537 (char *) "self",(char *) "text",(char *) "show", NULL
3538 };
3539
3540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3542 {
3543 arg2 = wxString_in_helper(obj1);
3544 if (arg2 == NULL) SWIG_fail;
3545 temp2 = True;
3546 }
3547 arg3 = PyInt_AsLong(obj2) ? true : false;
3548 if (PyErr_Occurred()) SWIG_fail;
3549 {
3550 PyThreadState* __tstate = wxPyBeginAllowThreads();
3551 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3552
3553 wxPyEndAllowThreads(__tstate);
3554 if (PyErr_Occurred()) SWIG_fail;
3555 }
3556 Py_INCREF(Py_None); resultobj = Py_None;
3557 {
3558 if (temp2)
3559 delete arg2;
3560 }
3561 return resultobj;
3562 fail:
3563 {
3564 if (temp2)
3565 delete arg2;
3566 }
3567 return NULL;
3568 }
3569
3570
3571 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3572 PyObject *resultobj;
3573 wxFrame *arg1 = (wxFrame *) 0 ;
3574 wxMenu *arg2 = (wxMenu *) NULL ;
3575 PyObject * obj0 = 0 ;
3576 PyObject * obj1 = 0 ;
3577 char *kwnames[] = {
3578 (char *) "self",(char *) "menu", NULL
3579 };
3580
3581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3583 if (obj1) {
3584 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3585 }
3586 {
3587 PyThreadState* __tstate = wxPyBeginAllowThreads();
3588 (arg1)->DoMenuUpdates(arg2);
3589
3590 wxPyEndAllowThreads(__tstate);
3591 if (PyErr_Occurred()) SWIG_fail;
3592 }
3593 Py_INCREF(Py_None); resultobj = Py_None;
3594 return resultobj;
3595 fail:
3596 return NULL;
3597 }
3598
3599
3600 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3601 PyObject *obj;
3602 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3603 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3604 Py_INCREF(obj);
3605 return Py_BuildValue((char *)"");
3606 }
3607 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3608 PyObject *resultobj;
3609 wxWindow *arg1 = (wxWindow *) 0 ;
3610 int arg2 ;
3611 wxString *arg3 = 0 ;
3612 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3613 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3614 wxSize const &arg5_defvalue = wxDefaultSize ;
3615 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3616 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3617 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3618 wxString *arg7 = (wxString *) &arg7_defvalue ;
3619 wxDialog *result;
3620 bool temp3 = False ;
3621 wxPoint temp4 ;
3622 wxSize temp5 ;
3623 bool temp7 = False ;
3624 PyObject * obj0 = 0 ;
3625 PyObject * obj2 = 0 ;
3626 PyObject * obj3 = 0 ;
3627 PyObject * obj4 = 0 ;
3628 PyObject * obj6 = 0 ;
3629 char *kwnames[] = {
3630 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3631 };
3632
3633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Dialog",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3635 {
3636 arg3 = wxString_in_helper(obj2);
3637 if (arg3 == NULL) SWIG_fail;
3638 temp3 = True;
3639 }
3640 if (obj3) {
3641 {
3642 arg4 = &temp4;
3643 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3644 }
3645 }
3646 if (obj4) {
3647 {
3648 arg5 = &temp5;
3649 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3650 }
3651 }
3652 if (obj6) {
3653 {
3654 arg7 = wxString_in_helper(obj6);
3655 if (arg7 == NULL) SWIG_fail;
3656 temp7 = True;
3657 }
3658 }
3659 {
3660 PyThreadState* __tstate = wxPyBeginAllowThreads();
3661 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3662
3663 wxPyEndAllowThreads(__tstate);
3664 if (PyErr_Occurred()) SWIG_fail;
3665 }
3666 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3667 {
3668 if (temp3)
3669 delete arg3;
3670 }
3671 {
3672 if (temp7)
3673 delete arg7;
3674 }
3675 return resultobj;
3676 fail:
3677 {
3678 if (temp3)
3679 delete arg3;
3680 }
3681 {
3682 if (temp7)
3683 delete arg7;
3684 }
3685 return NULL;
3686 }
3687
3688
3689 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3690 PyObject *resultobj;
3691 wxDialog *result;
3692 char *kwnames[] = {
3693 NULL
3694 };
3695
3696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
3697 {
3698 PyThreadState* __tstate = wxPyBeginAllowThreads();
3699 result = (wxDialog *)new wxDialog();
3700
3701 wxPyEndAllowThreads(__tstate);
3702 if (PyErr_Occurred()) SWIG_fail;
3703 }
3704 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3705 return resultobj;
3706 fail:
3707 return NULL;
3708 }
3709
3710
3711 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3712 PyObject *resultobj;
3713 wxDialog *arg1 = (wxDialog *) 0 ;
3714 wxWindow *arg2 = (wxWindow *) 0 ;
3715 int arg3 ;
3716 wxString *arg4 = 0 ;
3717 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3718 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3719 wxSize const &arg6_defvalue = wxDefaultSize ;
3720 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3721 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
3722 wxString const &arg8_defvalue = wxPyDialogNameStr ;
3723 wxString *arg8 = (wxString *) &arg8_defvalue ;
3724 bool result;
3725 bool temp4 = False ;
3726 wxPoint temp5 ;
3727 wxSize temp6 ;
3728 bool temp8 = False ;
3729 PyObject * obj0 = 0 ;
3730 PyObject * obj1 = 0 ;
3731 PyObject * obj3 = 0 ;
3732 PyObject * obj4 = 0 ;
3733 PyObject * obj5 = 0 ;
3734 PyObject * obj7 = 0 ;
3735 char *kwnames[] = {
3736 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3737 };
3738
3739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Dialog_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3741 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3742 {
3743 arg4 = wxString_in_helper(obj3);
3744 if (arg4 == NULL) SWIG_fail;
3745 temp4 = True;
3746 }
3747 if (obj4) {
3748 {
3749 arg5 = &temp5;
3750 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3751 }
3752 }
3753 if (obj5) {
3754 {
3755 arg6 = &temp6;
3756 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3757 }
3758 }
3759 if (obj7) {
3760 {
3761 arg8 = wxString_in_helper(obj7);
3762 if (arg8 == NULL) SWIG_fail;
3763 temp8 = True;
3764 }
3765 }
3766 {
3767 PyThreadState* __tstate = wxPyBeginAllowThreads();
3768 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3769
3770 wxPyEndAllowThreads(__tstate);
3771 if (PyErr_Occurred()) SWIG_fail;
3772 }
3773 resultobj = PyInt_FromLong((long)result);
3774 {
3775 if (temp4)
3776 delete arg4;
3777 }
3778 {
3779 if (temp8)
3780 delete arg8;
3781 }
3782 return resultobj;
3783 fail:
3784 {
3785 if (temp4)
3786 delete arg4;
3787 }
3788 {
3789 if (temp8)
3790 delete arg8;
3791 }
3792 return NULL;
3793 }
3794
3795
3796 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3797 PyObject *resultobj;
3798 wxDialog *arg1 = (wxDialog *) 0 ;
3799 int arg2 ;
3800 PyObject * obj0 = 0 ;
3801 char *kwnames[] = {
3802 (char *) "self",(char *) "returnCode", NULL
3803 };
3804
3805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_SetReturnCode",kwnames,&obj0,&arg2)) goto fail;
3806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3807 {
3808 PyThreadState* __tstate = wxPyBeginAllowThreads();
3809 (arg1)->SetReturnCode(arg2);
3810
3811 wxPyEndAllowThreads(__tstate);
3812 if (PyErr_Occurred()) SWIG_fail;
3813 }
3814 Py_INCREF(Py_None); resultobj = Py_None;
3815 return resultobj;
3816 fail:
3817 return NULL;
3818 }
3819
3820
3821 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3822 PyObject *resultobj;
3823 wxDialog *arg1 = (wxDialog *) 0 ;
3824 int result;
3825 PyObject * obj0 = 0 ;
3826 char *kwnames[] = {
3827 (char *) "self", NULL
3828 };
3829
3830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
3831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3832 {
3833 PyThreadState* __tstate = wxPyBeginAllowThreads();
3834 result = (int)((wxDialog const *)arg1)->GetReturnCode();
3835
3836 wxPyEndAllowThreads(__tstate);
3837 if (PyErr_Occurred()) SWIG_fail;
3838 }
3839 resultobj = PyInt_FromLong((long)result);
3840 return resultobj;
3841 fail:
3842 return NULL;
3843 }
3844
3845
3846 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3847 PyObject *resultobj;
3848 wxDialog *arg1 = (wxDialog *) 0 ;
3849 wxString *arg2 = 0 ;
3850 wxSizer *result;
3851 bool temp2 = False ;
3852 PyObject * obj0 = 0 ;
3853 PyObject * obj1 = 0 ;
3854 char *kwnames[] = {
3855 (char *) "self",(char *) "message", NULL
3856 };
3857
3858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
3859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3860 {
3861 arg2 = wxString_in_helper(obj1);
3862 if (arg2 == NULL) SWIG_fail;
3863 temp2 = True;
3864 }
3865 {
3866 PyThreadState* __tstate = wxPyBeginAllowThreads();
3867 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
3868
3869 wxPyEndAllowThreads(__tstate);
3870 if (PyErr_Occurred()) SWIG_fail;
3871 }
3872 {
3873 resultobj = wxPyMake_wxSizer(result);
3874 }
3875 {
3876 if (temp2)
3877 delete arg2;
3878 }
3879 return resultobj;
3880 fail:
3881 {
3882 if (temp2)
3883 delete arg2;
3884 }
3885 return NULL;
3886 }
3887
3888
3889 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3890 PyObject *resultobj;
3891 wxDialog *arg1 = (wxDialog *) 0 ;
3892 long arg2 ;
3893 wxSizer *result;
3894 PyObject * obj0 = 0 ;
3895 char *kwnames[] = {
3896 (char *) "self",(char *) "flags", NULL
3897 };
3898
3899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Dialog_CreateButtonSizer",kwnames,&obj0,&arg2)) goto fail;
3900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3901 {
3902 PyThreadState* __tstate = wxPyBeginAllowThreads();
3903 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
3904
3905 wxPyEndAllowThreads(__tstate);
3906 if (PyErr_Occurred()) SWIG_fail;
3907 }
3908 {
3909 resultobj = wxPyMake_wxSizer(result);
3910 }
3911 return resultobj;
3912 fail:
3913 return NULL;
3914 }
3915
3916
3917 static PyObject *_wrap_Dialog_SetModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3918 PyObject *resultobj;
3919 wxDialog *arg1 = (wxDialog *) 0 ;
3920 bool arg2 ;
3921 PyObject * obj0 = 0 ;
3922 PyObject * obj1 = 0 ;
3923 char *kwnames[] = {
3924 (char *) "self",(char *) "flag", NULL
3925 };
3926
3927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetModal",kwnames,&obj0,&obj1)) goto fail;
3928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3929 arg2 = PyInt_AsLong(obj1) ? true : false;
3930 if (PyErr_Occurred()) SWIG_fail;
3931 {
3932 PyThreadState* __tstate = wxPyBeginAllowThreads();
3933 (arg1)->SetModal(arg2);
3934
3935 wxPyEndAllowThreads(__tstate);
3936 if (PyErr_Occurred()) SWIG_fail;
3937 }
3938 Py_INCREF(Py_None); resultobj = Py_None;
3939 return resultobj;
3940 fail:
3941 return NULL;
3942 }
3943
3944
3945 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3946 PyObject *resultobj;
3947 wxDialog *arg1 = (wxDialog *) 0 ;
3948 bool result;
3949 PyObject * obj0 = 0 ;
3950 char *kwnames[] = {
3951 (char *) "self", NULL
3952 };
3953
3954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
3955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3956 {
3957 PyThreadState* __tstate = wxPyBeginAllowThreads();
3958 result = (bool)((wxDialog const *)arg1)->IsModal();
3959
3960 wxPyEndAllowThreads(__tstate);
3961 if (PyErr_Occurred()) SWIG_fail;
3962 }
3963 resultobj = PyInt_FromLong((long)result);
3964 return resultobj;
3965 fail:
3966 return NULL;
3967 }
3968
3969
3970 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3971 PyObject *resultobj;
3972 wxDialog *arg1 = (wxDialog *) 0 ;
3973 int result;
3974 PyObject * obj0 = 0 ;
3975 char *kwnames[] = {
3976 (char *) "self", NULL
3977 };
3978
3979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
3980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3981 {
3982 PyThreadState* __tstate = wxPyBeginAllowThreads();
3983 result = (int)(arg1)->ShowModal();
3984
3985 wxPyEndAllowThreads(__tstate);
3986 if (PyErr_Occurred()) SWIG_fail;
3987 }
3988 resultobj = PyInt_FromLong((long)result);
3989 return resultobj;
3990 fail:
3991 return NULL;
3992 }
3993
3994
3995 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3996 PyObject *resultobj;
3997 wxDialog *arg1 = (wxDialog *) 0 ;
3998 int arg2 ;
3999 PyObject * obj0 = 0 ;
4000 char *kwnames[] = {
4001 (char *) "self",(char *) "retCode", NULL
4002 };
4003
4004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_EndModal",kwnames,&obj0,&arg2)) goto fail;
4005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4006 {
4007 PyThreadState* __tstate = wxPyBeginAllowThreads();
4008 (arg1)->EndModal(arg2);
4009
4010 wxPyEndAllowThreads(__tstate);
4011 if (PyErr_Occurred()) SWIG_fail;
4012 }
4013 Py_INCREF(Py_None); resultobj = Py_None;
4014 return resultobj;
4015 fail:
4016 return NULL;
4017 }
4018
4019
4020 static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) {
4021 PyObject *resultobj;
4022 wxDialog *arg1 = (wxDialog *) 0 ;
4023 bool result;
4024 PyObject * obj0 = 0 ;
4025 char *kwnames[] = {
4026 (char *) "self", NULL
4027 };
4028
4029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
4030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4031 {
4032 PyThreadState* __tstate = wxPyBeginAllowThreads();
4033 result = (bool)wxDialog_IsModalShowing(arg1);
4034
4035 wxPyEndAllowThreads(__tstate);
4036 if (PyErr_Occurred()) SWIG_fail;
4037 }
4038 resultobj = PyInt_FromLong((long)result);
4039 return resultobj;
4040 fail:
4041 return NULL;
4042 }
4043
4044
4045 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4046 PyObject *obj;
4047 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4048 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4049 Py_INCREF(obj);
4050 return Py_BuildValue((char *)"");
4051 }
4052 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4053 PyObject *resultobj;
4054 wxWindow *arg1 = (wxWindow *) 0 ;
4055 int arg2 ;
4056 wxString *arg3 = 0 ;
4057 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4058 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4059 wxSize const &arg5_defvalue = wxDefaultSize ;
4060 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4061 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4062 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4063 wxString *arg7 = (wxString *) &arg7_defvalue ;
4064 wxMiniFrame *result;
4065 bool temp3 = False ;
4066 wxPoint temp4 ;
4067 wxSize temp5 ;
4068 bool temp7 = False ;
4069 PyObject * obj0 = 0 ;
4070 PyObject * obj2 = 0 ;
4071 PyObject * obj3 = 0 ;
4072 PyObject * obj4 = 0 ;
4073 PyObject * obj6 = 0 ;
4074 char *kwnames[] = {
4075 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4076 };
4077
4078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MiniFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
4079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4080 {
4081 arg3 = wxString_in_helper(obj2);
4082 if (arg3 == NULL) SWIG_fail;
4083 temp3 = True;
4084 }
4085 if (obj3) {
4086 {
4087 arg4 = &temp4;
4088 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4089 }
4090 }
4091 if (obj4) {
4092 {
4093 arg5 = &temp5;
4094 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4095 }
4096 }
4097 if (obj6) {
4098 {
4099 arg7 = wxString_in_helper(obj6);
4100 if (arg7 == NULL) SWIG_fail;
4101 temp7 = True;
4102 }
4103 }
4104 {
4105 PyThreadState* __tstate = wxPyBeginAllowThreads();
4106 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4107
4108 wxPyEndAllowThreads(__tstate);
4109 if (PyErr_Occurred()) SWIG_fail;
4110 }
4111 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
4112 {
4113 if (temp3)
4114 delete arg3;
4115 }
4116 {
4117 if (temp7)
4118 delete arg7;
4119 }
4120 return resultobj;
4121 fail:
4122 {
4123 if (temp3)
4124 delete arg3;
4125 }
4126 {
4127 if (temp7)
4128 delete arg7;
4129 }
4130 return NULL;
4131 }
4132
4133
4134 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4135 PyObject *resultobj;
4136 wxMiniFrame *result;
4137 char *kwnames[] = {
4138 NULL
4139 };
4140
4141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4142 {
4143 PyThreadState* __tstate = wxPyBeginAllowThreads();
4144 result = (wxMiniFrame *)new wxMiniFrame();
4145
4146 wxPyEndAllowThreads(__tstate);
4147 if (PyErr_Occurred()) SWIG_fail;
4148 }
4149 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
4150 return resultobj;
4151 fail:
4152 return NULL;
4153 }
4154
4155
4156 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4157 PyObject *resultobj;
4158 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4159 wxWindow *arg2 = (wxWindow *) 0 ;
4160 int arg3 ;
4161 wxString *arg4 = 0 ;
4162 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4163 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4164 wxSize const &arg6_defvalue = wxDefaultSize ;
4165 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4166 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4167 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4168 wxString *arg8 = (wxString *) &arg8_defvalue ;
4169 bool result;
4170 bool temp4 = False ;
4171 wxPoint temp5 ;
4172 wxSize temp6 ;
4173 bool temp8 = False ;
4174 PyObject * obj0 = 0 ;
4175 PyObject * obj1 = 0 ;
4176 PyObject * obj3 = 0 ;
4177 PyObject * obj4 = 0 ;
4178 PyObject * obj5 = 0 ;
4179 PyObject * obj7 = 0 ;
4180 char *kwnames[] = {
4181 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4182 };
4183
4184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MiniFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMiniFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4186 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4187 {
4188 arg4 = wxString_in_helper(obj3);
4189 if (arg4 == NULL) SWIG_fail;
4190 temp4 = True;
4191 }
4192 if (obj4) {
4193 {
4194 arg5 = &temp5;
4195 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4196 }
4197 }
4198 if (obj5) {
4199 {
4200 arg6 = &temp6;
4201 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4202 }
4203 }
4204 if (obj7) {
4205 {
4206 arg8 = wxString_in_helper(obj7);
4207 if (arg8 == NULL) SWIG_fail;
4208 temp8 = True;
4209 }
4210 }
4211 {
4212 PyThreadState* __tstate = wxPyBeginAllowThreads();
4213 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4214
4215 wxPyEndAllowThreads(__tstate);
4216 if (PyErr_Occurred()) SWIG_fail;
4217 }
4218 resultobj = PyInt_FromLong((long)result);
4219 {
4220 if (temp4)
4221 delete arg4;
4222 }
4223 {
4224 if (temp8)
4225 delete arg8;
4226 }
4227 return resultobj;
4228 fail:
4229 {
4230 if (temp4)
4231 delete arg4;
4232 }
4233 {
4234 if (temp8)
4235 delete arg8;
4236 }
4237 return NULL;
4238 }
4239
4240
4241 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4242 PyObject *obj;
4243 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4244 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4245 Py_INCREF(obj);
4246 return Py_BuildValue((char *)"");
4247 }
4248 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4249 PyObject *resultobj;
4250 wxBitmap *arg1 = 0 ;
4251 wxWindow *arg2 = (wxWindow *) 0 ;
4252 int arg3 ;
4253 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4254 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4255 wxSize const &arg5_defvalue = wxDefaultSize ;
4256 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4257 long arg6 = (long) wxNO_BORDER ;
4258 wxSplashScreenWindow *result;
4259 wxPoint temp4 ;
4260 wxSize temp5 ;
4261 PyObject * obj0 = 0 ;
4262 PyObject * obj1 = 0 ;
4263 PyObject * obj3 = 0 ;
4264 PyObject * obj4 = 0 ;
4265 char *kwnames[] = {
4266 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4267 };
4268
4269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOl:new_SplashScreenWindow",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
4270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4271 if (arg1 == NULL) {
4272 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4273 }
4274 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4275 if (obj3) {
4276 {
4277 arg4 = &temp4;
4278 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4279 }
4280 }
4281 if (obj4) {
4282 {
4283 arg5 = &temp5;
4284 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4285 }
4286 }
4287 {
4288 PyThreadState* __tstate = wxPyBeginAllowThreads();
4289 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4290
4291 wxPyEndAllowThreads(__tstate);
4292 if (PyErr_Occurred()) SWIG_fail;
4293 }
4294 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 1);
4295 return resultobj;
4296 fail:
4297 return NULL;
4298 }
4299
4300
4301 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4302 PyObject *resultobj;
4303 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4304 wxBitmap *arg2 = 0 ;
4305 PyObject * obj0 = 0 ;
4306 PyObject * obj1 = 0 ;
4307 char *kwnames[] = {
4308 (char *) "self",(char *) "bitmap", NULL
4309 };
4310
4311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4313 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4314 if (arg2 == NULL) {
4315 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4316 }
4317 {
4318 PyThreadState* __tstate = wxPyBeginAllowThreads();
4319 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4320
4321 wxPyEndAllowThreads(__tstate);
4322 if (PyErr_Occurred()) SWIG_fail;
4323 }
4324 Py_INCREF(Py_None); resultobj = Py_None;
4325 return resultobj;
4326 fail:
4327 return NULL;
4328 }
4329
4330
4331 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4332 PyObject *resultobj;
4333 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4334 wxBitmap *result;
4335 PyObject * obj0 = 0 ;
4336 char *kwnames[] = {
4337 (char *) "self", NULL
4338 };
4339
4340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4342 {
4343 PyThreadState* __tstate = wxPyBeginAllowThreads();
4344 {
4345 wxBitmap &_result_ref = (arg1)->GetBitmap();
4346 result = (wxBitmap *) &_result_ref;
4347 }
4348
4349 wxPyEndAllowThreads(__tstate);
4350 if (PyErr_Occurred()) SWIG_fail;
4351 }
4352 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
4353 return resultobj;
4354 fail:
4355 return NULL;
4356 }
4357
4358
4359 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4360 PyObject *obj;
4361 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4362 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4363 Py_INCREF(obj);
4364 return Py_BuildValue((char *)"");
4365 }
4366 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4367 PyObject *resultobj;
4368 wxBitmap *arg1 = 0 ;
4369 long arg2 ;
4370 int arg3 ;
4371 wxWindow *arg4 = (wxWindow *) 0 ;
4372 int arg5 ;
4373 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4374 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4375 wxSize const &arg7_defvalue = wxDefaultSize ;
4376 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4377 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4378 wxSplashScreen *result;
4379 wxPoint temp6 ;
4380 wxSize temp7 ;
4381 PyObject * obj0 = 0 ;
4382 PyObject * obj3 = 0 ;
4383 PyObject * obj5 = 0 ;
4384 PyObject * obj6 = 0 ;
4385 char *kwnames[] = {
4386 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4387 };
4388
4389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliOi|OOl:new_SplashScreen",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5,&obj5,&obj6,&arg8)) goto fail;
4390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4391 if (arg1 == NULL) {
4392 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4393 }
4394 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4395 if (obj5) {
4396 {
4397 arg6 = &temp6;
4398 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4399 }
4400 }
4401 if (obj6) {
4402 {
4403 arg7 = &temp7;
4404 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4405 }
4406 }
4407 {
4408 PyThreadState* __tstate = wxPyBeginAllowThreads();
4409 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4410
4411 wxPyEndAllowThreads(__tstate);
4412 if (PyErr_Occurred()) SWIG_fail;
4413 }
4414 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreen, 1);
4415 return resultobj;
4416 fail:
4417 return NULL;
4418 }
4419
4420
4421 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4422 PyObject *resultobj;
4423 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4424 long result;
4425 PyObject * obj0 = 0 ;
4426 char *kwnames[] = {
4427 (char *) "self", NULL
4428 };
4429
4430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4432 {
4433 PyThreadState* __tstate = wxPyBeginAllowThreads();
4434 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4435
4436 wxPyEndAllowThreads(__tstate);
4437 if (PyErr_Occurred()) SWIG_fail;
4438 }
4439 resultobj = PyInt_FromLong((long)result);
4440 return resultobj;
4441 fail:
4442 return NULL;
4443 }
4444
4445
4446 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4447 PyObject *resultobj;
4448 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4449 wxSplashScreenWindow *result;
4450 PyObject * obj0 = 0 ;
4451 char *kwnames[] = {
4452 (char *) "self", NULL
4453 };
4454
4455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4457 {
4458 PyThreadState* __tstate = wxPyBeginAllowThreads();
4459 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4460
4461 wxPyEndAllowThreads(__tstate);
4462 if (PyErr_Occurred()) SWIG_fail;
4463 }
4464 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 0);
4465 return resultobj;
4466 fail:
4467 return NULL;
4468 }
4469
4470
4471 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4472 PyObject *resultobj;
4473 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4474 int result;
4475 PyObject * obj0 = 0 ;
4476 char *kwnames[] = {
4477 (char *) "self", NULL
4478 };
4479
4480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4482 {
4483 PyThreadState* __tstate = wxPyBeginAllowThreads();
4484 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4485
4486 wxPyEndAllowThreads(__tstate);
4487 if (PyErr_Occurred()) SWIG_fail;
4488 }
4489 resultobj = PyInt_FromLong((long)result);
4490 return resultobj;
4491 fail:
4492 return NULL;
4493 }
4494
4495
4496 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4497 PyObject *obj;
4498 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4499 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4500 Py_INCREF(obj);
4501 return Py_BuildValue((char *)"");
4502 }
4503 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4504 PyObject *resultobj;
4505 wxWindow *arg1 = (wxWindow *) 0 ;
4506 int arg2 = (int) -1 ;
4507 long arg3 = (long) wxST_SIZEGRIP ;
4508 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4509 wxString *arg4 = (wxString *) &arg4_defvalue ;
4510 wxStatusBar *result;
4511 bool temp4 = False ;
4512 PyObject * obj0 = 0 ;
4513 PyObject * obj3 = 0 ;
4514 char *kwnames[] = {
4515 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4516 };
4517
4518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ilO:new_StatusBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
4519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4520 if (obj3) {
4521 {
4522 arg4 = wxString_in_helper(obj3);
4523 if (arg4 == NULL) SWIG_fail;
4524 temp4 = True;
4525 }
4526 }
4527 {
4528 PyThreadState* __tstate = wxPyBeginAllowThreads();
4529 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4530
4531 wxPyEndAllowThreads(__tstate);
4532 if (PyErr_Occurred()) SWIG_fail;
4533 }
4534 {
4535 resultobj = wxPyMake_wxObject(result);
4536 }
4537 {
4538 if (temp4)
4539 delete arg4;
4540 }
4541 return resultobj;
4542 fail:
4543 {
4544 if (temp4)
4545 delete arg4;
4546 }
4547 return NULL;
4548 }
4549
4550
4551 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4552 PyObject *resultobj;
4553 wxStatusBar *result;
4554 char *kwnames[] = {
4555 NULL
4556 };
4557
4558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4559 {
4560 PyThreadState* __tstate = wxPyBeginAllowThreads();
4561 result = (wxStatusBar *)new wxStatusBar();
4562
4563 wxPyEndAllowThreads(__tstate);
4564 if (PyErr_Occurred()) SWIG_fail;
4565 }
4566 {
4567 resultobj = wxPyMake_wxObject(result);
4568 }
4569 return resultobj;
4570 fail:
4571 return NULL;
4572 }
4573
4574
4575 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4576 PyObject *resultobj;
4577 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4578 wxWindow *arg2 = (wxWindow *) 0 ;
4579 int arg3 ;
4580 long arg4 = (long) wxST_SIZEGRIP ;
4581 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4582 wxString *arg5 = (wxString *) &arg5_defvalue ;
4583 bool result;
4584 bool temp5 = False ;
4585 PyObject * obj0 = 0 ;
4586 PyObject * obj1 = 0 ;
4587 PyObject * obj4 = 0 ;
4588 char *kwnames[] = {
4589 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4590 };
4591
4592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|lO:StatusBar_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
4593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4594 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4595 if (obj4) {
4596 {
4597 arg5 = wxString_in_helper(obj4);
4598 if (arg5 == NULL) SWIG_fail;
4599 temp5 = True;
4600 }
4601 }
4602 {
4603 PyThreadState* __tstate = wxPyBeginAllowThreads();
4604 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4605
4606 wxPyEndAllowThreads(__tstate);
4607 if (PyErr_Occurred()) SWIG_fail;
4608 }
4609 resultobj = PyInt_FromLong((long)result);
4610 {
4611 if (temp5)
4612 delete arg5;
4613 }
4614 return resultobj;
4615 fail:
4616 {
4617 if (temp5)
4618 delete arg5;
4619 }
4620 return NULL;
4621 }
4622
4623
4624 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4625 PyObject *resultobj;
4626 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4627 int arg2 = (int) 1 ;
4628 PyObject * obj0 = 0 ;
4629 char *kwnames[] = {
4630 (char *) "self",(char *) "number", NULL
4631 };
4632
4633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_SetFieldsCount",kwnames,&obj0,&arg2)) goto fail;
4634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4635 {
4636 PyThreadState* __tstate = wxPyBeginAllowThreads();
4637 (arg1)->SetFieldsCount(arg2);
4638
4639 wxPyEndAllowThreads(__tstate);
4640 if (PyErr_Occurred()) SWIG_fail;
4641 }
4642 Py_INCREF(Py_None); resultobj = Py_None;
4643 return resultobj;
4644 fail:
4645 return NULL;
4646 }
4647
4648
4649 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4650 PyObject *resultobj;
4651 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4652 int result;
4653 PyObject * obj0 = 0 ;
4654 char *kwnames[] = {
4655 (char *) "self", NULL
4656 };
4657
4658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
4659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4660 {
4661 PyThreadState* __tstate = wxPyBeginAllowThreads();
4662 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
4663
4664 wxPyEndAllowThreads(__tstate);
4665 if (PyErr_Occurred()) SWIG_fail;
4666 }
4667 resultobj = PyInt_FromLong((long)result);
4668 return resultobj;
4669 fail:
4670 return NULL;
4671 }
4672
4673
4674 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4675 PyObject *resultobj;
4676 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4677 wxString *arg2 = 0 ;
4678 int arg3 = (int) 0 ;
4679 bool temp2 = False ;
4680 PyObject * obj0 = 0 ;
4681 PyObject * obj1 = 0 ;
4682 char *kwnames[] = {
4683 (char *) "self",(char *) "text",(char *) "number", NULL
4684 };
4685
4686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4688 {
4689 arg2 = wxString_in_helper(obj1);
4690 if (arg2 == NULL) SWIG_fail;
4691 temp2 = True;
4692 }
4693 {
4694 PyThreadState* __tstate = wxPyBeginAllowThreads();
4695 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
4696
4697 wxPyEndAllowThreads(__tstate);
4698 if (PyErr_Occurred()) SWIG_fail;
4699 }
4700 Py_INCREF(Py_None); resultobj = Py_None;
4701 {
4702 if (temp2)
4703 delete arg2;
4704 }
4705 return resultobj;
4706 fail:
4707 {
4708 if (temp2)
4709 delete arg2;
4710 }
4711 return NULL;
4712 }
4713
4714
4715 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4716 PyObject *resultobj;
4717 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4718 int arg2 = (int) 0 ;
4719 wxString result;
4720 PyObject * obj0 = 0 ;
4721 char *kwnames[] = {
4722 (char *) "self",(char *) "number", NULL
4723 };
4724
4725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_GetStatusText",kwnames,&obj0,&arg2)) goto fail;
4726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4727 {
4728 PyThreadState* __tstate = wxPyBeginAllowThreads();
4729 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
4730
4731 wxPyEndAllowThreads(__tstate);
4732 if (PyErr_Occurred()) SWIG_fail;
4733 }
4734 {
4735 #if wxUSE_UNICODE
4736 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4737 #else
4738 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4739 #endif
4740 }
4741 return resultobj;
4742 fail:
4743 return NULL;
4744 }
4745
4746
4747 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4748 PyObject *resultobj;
4749 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4750 wxString *arg2 = 0 ;
4751 int arg3 = (int) 0 ;
4752 bool temp2 = False ;
4753 PyObject * obj0 = 0 ;
4754 PyObject * obj1 = 0 ;
4755 char *kwnames[] = {
4756 (char *) "self",(char *) "text",(char *) "number", NULL
4757 };
4758
4759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4761 {
4762 arg2 = wxString_in_helper(obj1);
4763 if (arg2 == NULL) SWIG_fail;
4764 temp2 = True;
4765 }
4766 {
4767 PyThreadState* __tstate = wxPyBeginAllowThreads();
4768 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
4769
4770 wxPyEndAllowThreads(__tstate);
4771 if (PyErr_Occurred()) SWIG_fail;
4772 }
4773 Py_INCREF(Py_None); resultobj = Py_None;
4774 {
4775 if (temp2)
4776 delete arg2;
4777 }
4778 return resultobj;
4779 fail:
4780 {
4781 if (temp2)
4782 delete arg2;
4783 }
4784 return NULL;
4785 }
4786
4787
4788 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4789 PyObject *resultobj;
4790 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4791 int arg2 = (int) 0 ;
4792 PyObject * obj0 = 0 ;
4793 char *kwnames[] = {
4794 (char *) "self",(char *) "number", NULL
4795 };
4796
4797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
4798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4799 {
4800 PyThreadState* __tstate = wxPyBeginAllowThreads();
4801 (arg1)->PopStatusText(arg2);
4802
4803 wxPyEndAllowThreads(__tstate);
4804 if (PyErr_Occurred()) SWIG_fail;
4805 }
4806 Py_INCREF(Py_None); resultobj = Py_None;
4807 return resultobj;
4808 fail:
4809 return NULL;
4810 }
4811
4812
4813 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
4814 PyObject *resultobj;
4815 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4816 int arg2 ;
4817 int *arg3 = (int *) 0 ;
4818 PyObject * obj0 = 0 ;
4819 PyObject * obj1 = 0 ;
4820 char *kwnames[] = {
4821 (char *) "self",(char *) "widths", NULL
4822 };
4823
4824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
4825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4826 {
4827 arg2 = PyList_Size(obj1);
4828 arg3 = int_LIST_helper(obj1);
4829 if (arg3 == NULL) SWIG_fail;
4830 }
4831 {
4832 PyThreadState* __tstate = wxPyBeginAllowThreads();
4833 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
4834
4835 wxPyEndAllowThreads(__tstate);
4836 if (PyErr_Occurred()) SWIG_fail;
4837 }
4838 Py_INCREF(Py_None); resultobj = Py_None;
4839 {
4840 if (arg3) delete [] arg3;
4841 }
4842 return resultobj;
4843 fail:
4844 {
4845 if (arg3) delete [] arg3;
4846 }
4847 return NULL;
4848 }
4849
4850
4851 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4852 PyObject *resultobj;
4853 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4854 int arg2 ;
4855 wxRect result;
4856 PyObject * obj0 = 0 ;
4857 char *kwnames[] = {
4858 (char *) "self",(char *) "i", NULL
4859 };
4860
4861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_GetFieldRect",kwnames,&obj0,&arg2)) goto fail;
4862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4863 {
4864 PyThreadState* __tstate = wxPyBeginAllowThreads();
4865 result = wxStatusBar_GetFieldRect(arg1,arg2);
4866
4867 wxPyEndAllowThreads(__tstate);
4868 if (PyErr_Occurred()) SWIG_fail;
4869 }
4870 {
4871 wxRect * resultptr;
4872 resultptr = new wxRect((wxRect &) result);
4873 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
4874 }
4875 return resultobj;
4876 fail:
4877 return NULL;
4878 }
4879
4880
4881 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
4882 PyObject *resultobj;
4883 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4884 int arg2 ;
4885 PyObject * obj0 = 0 ;
4886 char *kwnames[] = {
4887 (char *) "self",(char *) "height", NULL
4888 };
4889
4890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_SetMinHeight",kwnames,&obj0,&arg2)) goto fail;
4891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4892 {
4893 PyThreadState* __tstate = wxPyBeginAllowThreads();
4894 (arg1)->SetMinHeight(arg2);
4895
4896 wxPyEndAllowThreads(__tstate);
4897 if (PyErr_Occurred()) SWIG_fail;
4898 }
4899 Py_INCREF(Py_None); resultobj = Py_None;
4900 return resultobj;
4901 fail:
4902 return NULL;
4903 }
4904
4905
4906 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
4907 PyObject *resultobj;
4908 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4909 int result;
4910 PyObject * obj0 = 0 ;
4911 char *kwnames[] = {
4912 (char *) "self", NULL
4913 };
4914
4915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
4916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4917 {
4918 PyThreadState* __tstate = wxPyBeginAllowThreads();
4919 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
4920
4921 wxPyEndAllowThreads(__tstate);
4922 if (PyErr_Occurred()) SWIG_fail;
4923 }
4924 resultobj = PyInt_FromLong((long)result);
4925 return resultobj;
4926 fail:
4927 return NULL;
4928 }
4929
4930
4931 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
4932 PyObject *resultobj;
4933 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4934 int result;
4935 PyObject * obj0 = 0 ;
4936 char *kwnames[] = {
4937 (char *) "self", NULL
4938 };
4939
4940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
4941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4942 {
4943 PyThreadState* __tstate = wxPyBeginAllowThreads();
4944 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
4945
4946 wxPyEndAllowThreads(__tstate);
4947 if (PyErr_Occurred()) SWIG_fail;
4948 }
4949 resultobj = PyInt_FromLong((long)result);
4950 return resultobj;
4951 fail:
4952 return NULL;
4953 }
4954
4955
4956 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
4957 PyObject *obj;
4958 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4959 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
4960 Py_INCREF(obj);
4961 return Py_BuildValue((char *)"");
4962 }
4963 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4964 PyObject *resultobj;
4965 wxWindow *arg1 = (wxWindow *) 0 ;
4966 int arg2 ;
4967 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4968 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4969 wxSize const &arg4_defvalue = wxDefaultSize ;
4970 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4971 long arg5 = (long) wxSP_3D ;
4972 wxString const &arg6_defvalue = wxPySplitterNameStr ;
4973 wxString *arg6 = (wxString *) &arg6_defvalue ;
4974 wxSplitterWindow *result;
4975 wxPoint temp3 ;
4976 wxSize temp4 ;
4977 bool temp6 = False ;
4978 PyObject * obj0 = 0 ;
4979 PyObject * obj2 = 0 ;
4980 PyObject * obj3 = 0 ;
4981 PyObject * obj5 = 0 ;
4982 char *kwnames[] = {
4983 (char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4984 };
4985
4986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SplitterWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
4987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4988 if (obj2) {
4989 {
4990 arg3 = &temp3;
4991 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4992 }
4993 }
4994 if (obj3) {
4995 {
4996 arg4 = &temp4;
4997 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4998 }
4999 }
5000 if (obj5) {
5001 {
5002 arg6 = wxString_in_helper(obj5);
5003 if (arg6 == NULL) SWIG_fail;
5004 temp6 = True;
5005 }
5006 }
5007 {
5008 PyThreadState* __tstate = wxPyBeginAllowThreads();
5009 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5010
5011 wxPyEndAllowThreads(__tstate);
5012 if (PyErr_Occurred()) SWIG_fail;
5013 }
5014 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
5015 {
5016 if (temp6)
5017 delete arg6;
5018 }
5019 return resultobj;
5020 fail:
5021 {
5022 if (temp6)
5023 delete arg6;
5024 }
5025 return NULL;
5026 }
5027
5028
5029 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5030 PyObject *resultobj;
5031 wxSplitterWindow *result;
5032 char *kwnames[] = {
5033 NULL
5034 };
5035
5036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5037 {
5038 PyThreadState* __tstate = wxPyBeginAllowThreads();
5039 result = (wxSplitterWindow *)new wxSplitterWindow();
5040
5041 wxPyEndAllowThreads(__tstate);
5042 if (PyErr_Occurred()) SWIG_fail;
5043 }
5044 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
5045 return resultobj;
5046 fail:
5047 return NULL;
5048 }
5049
5050
5051 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5052 PyObject *resultobj;
5053 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5054 wxWindow *arg2 = (wxWindow *) 0 ;
5055 int arg3 ;
5056 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5057 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5058 wxSize const &arg5_defvalue = wxDefaultSize ;
5059 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5060 long arg6 = (long) wxSP_3D ;
5061 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5062 wxString *arg7 = (wxString *) &arg7_defvalue ;
5063 bool result;
5064 wxPoint temp4 ;
5065 wxSize temp5 ;
5066 bool temp7 = False ;
5067 PyObject * obj0 = 0 ;
5068 PyObject * obj1 = 0 ;
5069 PyObject * obj3 = 0 ;
5070 PyObject * obj4 = 0 ;
5071 PyObject * obj6 = 0 ;
5072 char *kwnames[] = {
5073 (char *) "self",(char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
5074 };
5075
5076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SplitterWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
5077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5078 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5079 if (obj3) {
5080 {
5081 arg4 = &temp4;
5082 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5083 }
5084 }
5085 if (obj4) {
5086 {
5087 arg5 = &temp5;
5088 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5089 }
5090 }
5091 if (obj6) {
5092 {
5093 arg7 = wxString_in_helper(obj6);
5094 if (arg7 == NULL) SWIG_fail;
5095 temp7 = True;
5096 }
5097 }
5098 {
5099 PyThreadState* __tstate = wxPyBeginAllowThreads();
5100 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5101
5102 wxPyEndAllowThreads(__tstate);
5103 if (PyErr_Occurred()) SWIG_fail;
5104 }
5105 resultobj = PyInt_FromLong((long)result);
5106 {
5107 if (temp7)
5108 delete arg7;
5109 }
5110 return resultobj;
5111 fail:
5112 {
5113 if (temp7)
5114 delete arg7;
5115 }
5116 return NULL;
5117 }
5118
5119
5120 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5121 PyObject *resultobj;
5122 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5123 wxWindow *result;
5124 PyObject * obj0 = 0 ;
5125 char *kwnames[] = {
5126 (char *) "self", NULL
5127 };
5128
5129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5131 {
5132 PyThreadState* __tstate = wxPyBeginAllowThreads();
5133 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5134
5135 wxPyEndAllowThreads(__tstate);
5136 if (PyErr_Occurred()) SWIG_fail;
5137 }
5138 {
5139 resultobj = wxPyMake_wxObject(result);
5140 }
5141 return resultobj;
5142 fail:
5143 return NULL;
5144 }
5145
5146
5147 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5148 PyObject *resultobj;
5149 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5150 wxWindow *result;
5151 PyObject * obj0 = 0 ;
5152 char *kwnames[] = {
5153 (char *) "self", NULL
5154 };
5155
5156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5158 {
5159 PyThreadState* __tstate = wxPyBeginAllowThreads();
5160 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5161
5162 wxPyEndAllowThreads(__tstate);
5163 if (PyErr_Occurred()) SWIG_fail;
5164 }
5165 {
5166 resultobj = wxPyMake_wxObject(result);
5167 }
5168 return resultobj;
5169 fail:
5170 return NULL;
5171 }
5172
5173
5174 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5175 PyObject *resultobj;
5176 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5177 int arg2 ;
5178 PyObject * obj0 = 0 ;
5179 char *kwnames[] = {
5180 (char *) "self",(char *) "mode", NULL
5181 };
5182
5183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSplitMode",kwnames,&obj0,&arg2)) goto fail;
5184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5185 {
5186 PyThreadState* __tstate = wxPyBeginAllowThreads();
5187 (arg1)->SetSplitMode(arg2);
5188
5189 wxPyEndAllowThreads(__tstate);
5190 if (PyErr_Occurred()) SWIG_fail;
5191 }
5192 Py_INCREF(Py_None); resultobj = Py_None;
5193 return resultobj;
5194 fail:
5195 return NULL;
5196 }
5197
5198
5199 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5200 PyObject *resultobj;
5201 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5202 int result;
5203 PyObject * obj0 = 0 ;
5204 char *kwnames[] = {
5205 (char *) "self", NULL
5206 };
5207
5208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5210 {
5211 PyThreadState* __tstate = wxPyBeginAllowThreads();
5212 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5213
5214 wxPyEndAllowThreads(__tstate);
5215 if (PyErr_Occurred()) SWIG_fail;
5216 }
5217 resultobj = PyInt_FromLong((long)result);
5218 return resultobj;
5219 fail:
5220 return NULL;
5221 }
5222
5223
5224 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5225 PyObject *resultobj;
5226 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5227 wxWindow *arg2 = (wxWindow *) 0 ;
5228 PyObject * obj0 = 0 ;
5229 PyObject * obj1 = 0 ;
5230 char *kwnames[] = {
5231 (char *) "self",(char *) "window", NULL
5232 };
5233
5234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5236 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5237 {
5238 PyThreadState* __tstate = wxPyBeginAllowThreads();
5239 (arg1)->Initialize(arg2);
5240
5241 wxPyEndAllowThreads(__tstate);
5242 if (PyErr_Occurred()) SWIG_fail;
5243 }
5244 Py_INCREF(Py_None); resultobj = Py_None;
5245 return resultobj;
5246 fail:
5247 return NULL;
5248 }
5249
5250
5251 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5252 PyObject *resultobj;
5253 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5254 wxWindow *arg2 = (wxWindow *) 0 ;
5255 wxWindow *arg3 = (wxWindow *) 0 ;
5256 int arg4 = (int) 0 ;
5257 bool result;
5258 PyObject * obj0 = 0 ;
5259 PyObject * obj1 = 0 ;
5260 PyObject * obj2 = 0 ;
5261 char *kwnames[] = {
5262 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5263 };
5264
5265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
5266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5267 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5268 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5269 {
5270 PyThreadState* __tstate = wxPyBeginAllowThreads();
5271 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5272
5273 wxPyEndAllowThreads(__tstate);
5274 if (PyErr_Occurred()) SWIG_fail;
5275 }
5276 resultobj = PyInt_FromLong((long)result);
5277 return resultobj;
5278 fail:
5279 return NULL;
5280 }
5281
5282
5283 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5284 PyObject *resultobj;
5285 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5286 wxWindow *arg2 = (wxWindow *) 0 ;
5287 wxWindow *arg3 = (wxWindow *) 0 ;
5288 int arg4 = (int) 0 ;
5289 bool result;
5290 PyObject * obj0 = 0 ;
5291 PyObject * obj1 = 0 ;
5292 PyObject * obj2 = 0 ;
5293 char *kwnames[] = {
5294 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5295 };
5296
5297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
5298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5299 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5300 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5301 {
5302 PyThreadState* __tstate = wxPyBeginAllowThreads();
5303 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5304
5305 wxPyEndAllowThreads(__tstate);
5306 if (PyErr_Occurred()) SWIG_fail;
5307 }
5308 resultobj = PyInt_FromLong((long)result);
5309 return resultobj;
5310 fail:
5311 return NULL;
5312 }
5313
5314
5315 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5316 PyObject *resultobj;
5317 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5318 wxWindow *arg2 = (wxWindow *) NULL ;
5319 bool result;
5320 PyObject * obj0 = 0 ;
5321 PyObject * obj1 = 0 ;
5322 char *kwnames[] = {
5323 (char *) "self",(char *) "toRemove", NULL
5324 };
5325
5326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5328 if (obj1) {
5329 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5330 }
5331 {
5332 PyThreadState* __tstate = wxPyBeginAllowThreads();
5333 result = (bool)(arg1)->Unsplit(arg2);
5334
5335 wxPyEndAllowThreads(__tstate);
5336 if (PyErr_Occurred()) SWIG_fail;
5337 }
5338 resultobj = PyInt_FromLong((long)result);
5339 return resultobj;
5340 fail:
5341 return NULL;
5342 }
5343
5344
5345 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5346 PyObject *resultobj;
5347 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5348 wxWindow *arg2 = (wxWindow *) 0 ;
5349 wxWindow *arg3 = (wxWindow *) 0 ;
5350 bool result;
5351 PyObject * obj0 = 0 ;
5352 PyObject * obj1 = 0 ;
5353 PyObject * obj2 = 0 ;
5354 char *kwnames[] = {
5355 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5356 };
5357
5358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5360 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5361 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5362 {
5363 PyThreadState* __tstate = wxPyBeginAllowThreads();
5364 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5365
5366 wxPyEndAllowThreads(__tstate);
5367 if (PyErr_Occurred()) SWIG_fail;
5368 }
5369 resultobj = PyInt_FromLong((long)result);
5370 return resultobj;
5371 fail:
5372 return NULL;
5373 }
5374
5375
5376 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5377 PyObject *resultobj;
5378 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5379 bool result;
5380 PyObject * obj0 = 0 ;
5381 char *kwnames[] = {
5382 (char *) "self", NULL
5383 };
5384
5385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5387 {
5388 PyThreadState* __tstate = wxPyBeginAllowThreads();
5389 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5390
5391 wxPyEndAllowThreads(__tstate);
5392 if (PyErr_Occurred()) SWIG_fail;
5393 }
5394 resultobj = PyInt_FromLong((long)result);
5395 return resultobj;
5396 fail:
5397 return NULL;
5398 }
5399
5400
5401 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5402 PyObject *resultobj;
5403 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5404 int arg2 ;
5405 PyObject * obj0 = 0 ;
5406 char *kwnames[] = {
5407 (char *) "self",(char *) "width", NULL
5408 };
5409
5410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSashSize",kwnames,&obj0,&arg2)) goto fail;
5411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5412 {
5413 PyThreadState* __tstate = wxPyBeginAllowThreads();
5414 (arg1)->SetSashSize(arg2);
5415
5416 wxPyEndAllowThreads(__tstate);
5417 if (PyErr_Occurred()) SWIG_fail;
5418 }
5419 Py_INCREF(Py_None); resultobj = Py_None;
5420 return resultobj;
5421 fail:
5422 return NULL;
5423 }
5424
5425
5426 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5427 PyObject *resultobj;
5428 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5429 int arg2 ;
5430 PyObject * obj0 = 0 ;
5431 char *kwnames[] = {
5432 (char *) "self",(char *) "width", NULL
5433 };
5434
5435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetBorderSize",kwnames,&obj0,&arg2)) goto fail;
5436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5437 {
5438 PyThreadState* __tstate = wxPyBeginAllowThreads();
5439 (arg1)->SetBorderSize(arg2);
5440
5441 wxPyEndAllowThreads(__tstate);
5442 if (PyErr_Occurred()) SWIG_fail;
5443 }
5444 Py_INCREF(Py_None); resultobj = Py_None;
5445 return resultobj;
5446 fail:
5447 return NULL;
5448 }
5449
5450
5451 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5452 PyObject *resultobj;
5453 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5454 int result;
5455 PyObject * obj0 = 0 ;
5456 char *kwnames[] = {
5457 (char *) "self", NULL
5458 };
5459
5460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
5461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5462 {
5463 PyThreadState* __tstate = wxPyBeginAllowThreads();
5464 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
5465
5466 wxPyEndAllowThreads(__tstate);
5467 if (PyErr_Occurred()) SWIG_fail;
5468 }
5469 resultobj = PyInt_FromLong((long)result);
5470 return resultobj;
5471 fail:
5472 return NULL;
5473 }
5474
5475
5476 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5477 PyObject *resultobj;
5478 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5479 int result;
5480 PyObject * obj0 = 0 ;
5481 char *kwnames[] = {
5482 (char *) "self", NULL
5483 };
5484
5485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
5486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5487 {
5488 PyThreadState* __tstate = wxPyBeginAllowThreads();
5489 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
5490
5491 wxPyEndAllowThreads(__tstate);
5492 if (PyErr_Occurred()) SWIG_fail;
5493 }
5494 resultobj = PyInt_FromLong((long)result);
5495 return resultobj;
5496 fail:
5497 return NULL;
5498 }
5499
5500
5501 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5502 PyObject *resultobj;
5503 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5504 int arg2 ;
5505 bool arg3 = (bool) True ;
5506 PyObject * obj0 = 0 ;
5507 PyObject * obj2 = 0 ;
5508 char *kwnames[] = {
5509 (char *) "self",(char *) "position",(char *) "redraw", NULL
5510 };
5511
5512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
5513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5514 if (obj2) {
5515 arg3 = PyInt_AsLong(obj2) ? true : false;
5516 if (PyErr_Occurred()) SWIG_fail;
5517 }
5518 {
5519 PyThreadState* __tstate = wxPyBeginAllowThreads();
5520 (arg1)->SetSashPosition(arg2,arg3);
5521
5522 wxPyEndAllowThreads(__tstate);
5523 if (PyErr_Occurred()) SWIG_fail;
5524 }
5525 Py_INCREF(Py_None); resultobj = Py_None;
5526 return resultobj;
5527 fail:
5528 return NULL;
5529 }
5530
5531
5532 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5533 PyObject *resultobj;
5534 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5535 int result;
5536 PyObject * obj0 = 0 ;
5537 char *kwnames[] = {
5538 (char *) "self", NULL
5539 };
5540
5541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
5542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5543 {
5544 PyThreadState* __tstate = wxPyBeginAllowThreads();
5545 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
5546
5547 wxPyEndAllowThreads(__tstate);
5548 if (PyErr_Occurred()) SWIG_fail;
5549 }
5550 resultobj = PyInt_FromLong((long)result);
5551 return resultobj;
5552 fail:
5553 return NULL;
5554 }
5555
5556
5557 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5558 PyObject *resultobj;
5559 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5560 int arg2 ;
5561 PyObject * obj0 = 0 ;
5562 char *kwnames[] = {
5563 (char *) "self",(char *) "min", NULL
5564 };
5565
5566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&arg2)) goto fail;
5567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5568 {
5569 PyThreadState* __tstate = wxPyBeginAllowThreads();
5570 (arg1)->SetMinimumPaneSize(arg2);
5571
5572 wxPyEndAllowThreads(__tstate);
5573 if (PyErr_Occurred()) SWIG_fail;
5574 }
5575 Py_INCREF(Py_None); resultobj = Py_None;
5576 return resultobj;
5577 fail:
5578 return NULL;
5579 }
5580
5581
5582 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5583 PyObject *resultobj;
5584 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5585 int result;
5586 PyObject * obj0 = 0 ;
5587 char *kwnames[] = {
5588 (char *) "self", NULL
5589 };
5590
5591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
5592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5593 {
5594 PyThreadState* __tstate = wxPyBeginAllowThreads();
5595 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
5596
5597 wxPyEndAllowThreads(__tstate);
5598 if (PyErr_Occurred()) SWIG_fail;
5599 }
5600 resultobj = PyInt_FromLong((long)result);
5601 return resultobj;
5602 fail:
5603 return NULL;
5604 }
5605
5606
5607 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5608 PyObject *resultobj;
5609 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5610 int arg2 ;
5611 int arg3 ;
5612 int arg4 = (int) 5 ;
5613 bool result;
5614 PyObject * obj0 = 0 ;
5615 char *kwnames[] = {
5616 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5617 };
5618
5619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SplitterWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
5620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5621 {
5622 PyThreadState* __tstate = wxPyBeginAllowThreads();
5623 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
5624
5625 wxPyEndAllowThreads(__tstate);
5626 if (PyErr_Occurred()) SWIG_fail;
5627 }
5628 resultobj = PyInt_FromLong((long)result);
5629 return resultobj;
5630 fail:
5631 return NULL;
5632 }
5633
5634
5635 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
5636 PyObject *resultobj;
5637 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5638 PyObject * obj0 = 0 ;
5639 char *kwnames[] = {
5640 (char *) "self", NULL
5641 };
5642
5643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
5644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5645 {
5646 PyThreadState* __tstate = wxPyBeginAllowThreads();
5647 (arg1)->SizeWindows();
5648
5649 wxPyEndAllowThreads(__tstate);
5650 if (PyErr_Occurred()) SWIG_fail;
5651 }
5652 Py_INCREF(Py_None); resultobj = Py_None;
5653 return resultobj;
5654 fail:
5655 return NULL;
5656 }
5657
5658
5659 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5660 PyObject *resultobj;
5661 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5662 bool arg2 ;
5663 PyObject * obj0 = 0 ;
5664 PyObject * obj1 = 0 ;
5665 char *kwnames[] = {
5666 (char *) "self",(char *) "needUpdating", NULL
5667 };
5668
5669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
5670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5671 arg2 = PyInt_AsLong(obj1) ? true : false;
5672 if (PyErr_Occurred()) SWIG_fail;
5673 {
5674 PyThreadState* __tstate = wxPyBeginAllowThreads();
5675 (arg1)->SetNeedUpdating(arg2);
5676
5677 wxPyEndAllowThreads(__tstate);
5678 if (PyErr_Occurred()) SWIG_fail;
5679 }
5680 Py_INCREF(Py_None); resultobj = Py_None;
5681 return resultobj;
5682 fail:
5683 return NULL;
5684 }
5685
5686
5687 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5688 PyObject *resultobj;
5689 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5690 bool result;
5691 PyObject * obj0 = 0 ;
5692 char *kwnames[] = {
5693 (char *) "self", NULL
5694 };
5695
5696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
5697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5698 {
5699 PyThreadState* __tstate = wxPyBeginAllowThreads();
5700 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
5701
5702 wxPyEndAllowThreads(__tstate);
5703 if (PyErr_Occurred()) SWIG_fail;
5704 }
5705 resultobj = PyInt_FromLong((long)result);
5706 return resultobj;
5707 fail:
5708 return NULL;
5709 }
5710
5711
5712 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
5713 PyObject *obj;
5714 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5715 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
5716 Py_INCREF(obj);
5717 return Py_BuildValue((char *)"");
5718 }
5719 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5720 PyObject *resultobj;
5721 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
5722 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
5723 wxSplitterEvent *result;
5724 PyObject * obj1 = 0 ;
5725 char *kwnames[] = {
5726 (char *) "type",(char *) "splitter", NULL
5727 };
5728
5729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_SplitterEvent",kwnames,&arg1,&obj1)) goto fail;
5730 if (obj1) {
5731 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5732 }
5733 {
5734 PyThreadState* __tstate = wxPyBeginAllowThreads();
5735 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
5736
5737 wxPyEndAllowThreads(__tstate);
5738 if (PyErr_Occurred()) SWIG_fail;
5739 }
5740 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterEvent, 1);
5741 return resultobj;
5742 fail:
5743 return NULL;
5744 }
5745
5746
5747 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5748 PyObject *resultobj;
5749 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5750 int arg2 ;
5751 PyObject * obj0 = 0 ;
5752 char *kwnames[] = {
5753 (char *) "self",(char *) "pos", NULL
5754 };
5755
5756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterEvent_SetSashPosition",kwnames,&obj0,&arg2)) goto fail;
5757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5758 {
5759 PyThreadState* __tstate = wxPyBeginAllowThreads();
5760 (arg1)->SetSashPosition(arg2);
5761
5762 wxPyEndAllowThreads(__tstate);
5763 if (PyErr_Occurred()) SWIG_fail;
5764 }
5765 Py_INCREF(Py_None); resultobj = Py_None;
5766 return resultobj;
5767 fail:
5768 return NULL;
5769 }
5770
5771
5772 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5773 PyObject *resultobj;
5774 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5775 int result;
5776 PyObject * obj0 = 0 ;
5777 char *kwnames[] = {
5778 (char *) "self", NULL
5779 };
5780
5781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
5782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5783 {
5784 PyThreadState* __tstate = wxPyBeginAllowThreads();
5785 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
5786
5787 wxPyEndAllowThreads(__tstate);
5788 if (PyErr_Occurred()) SWIG_fail;
5789 }
5790 resultobj = PyInt_FromLong((long)result);
5791 return resultobj;
5792 fail:
5793 return NULL;
5794 }
5795
5796
5797 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
5798 PyObject *resultobj;
5799 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5800 wxWindow *result;
5801 PyObject * obj0 = 0 ;
5802 char *kwnames[] = {
5803 (char *) "self", NULL
5804 };
5805
5806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
5807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5808 {
5809 PyThreadState* __tstate = wxPyBeginAllowThreads();
5810 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
5811
5812 wxPyEndAllowThreads(__tstate);
5813 if (PyErr_Occurred()) SWIG_fail;
5814 }
5815 {
5816 resultobj = wxPyMake_wxObject(result);
5817 }
5818 return resultobj;
5819 fail:
5820 return NULL;
5821 }
5822
5823
5824 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
5825 PyObject *resultobj;
5826 wxSplitterEvent *arg1 = (wxSplitterEvent *) 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:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
5834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5835 {
5836 PyThreadState* __tstate = wxPyBeginAllowThreads();
5837 result = (int)((wxSplitterEvent const *)arg1)->GetX();
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_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
5850 PyObject *resultobj;
5851 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5852 int result;
5853 PyObject * obj0 = 0 ;
5854 char *kwnames[] = {
5855 (char *) "self", NULL
5856 };
5857
5858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
5859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5860 {
5861 PyThreadState* __tstate = wxPyBeginAllowThreads();
5862 result = (int)((wxSplitterEvent const *)arg1)->GetY();
5863
5864 wxPyEndAllowThreads(__tstate);
5865 if (PyErr_Occurred()) SWIG_fail;
5866 }
5867 resultobj = PyInt_FromLong((long)result);
5868 return resultobj;
5869 fail:
5870 return NULL;
5871 }
5872
5873
5874 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
5875 PyObject *obj;
5876 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5877 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
5878 Py_INCREF(obj);
5879 return Py_BuildValue((char *)"");
5880 }
5881 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5882 PyObject *resultobj;
5883 wxWindow *arg1 = (wxWindow *) 0 ;
5884 int arg2 ;
5885 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5886 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5887 wxSize const &arg4_defvalue = wxDefaultSize ;
5888 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5889 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
5890 wxString const &arg6_defvalue = wxPySashNameStr ;
5891 wxString *arg6 = (wxString *) &arg6_defvalue ;
5892 wxSashWindow *result;
5893 wxPoint temp3 ;
5894 wxSize temp4 ;
5895 bool temp6 = False ;
5896 PyObject * obj0 = 0 ;
5897 PyObject * obj2 = 0 ;
5898 PyObject * obj3 = 0 ;
5899 PyObject * obj5 = 0 ;
5900 char *kwnames[] = {
5901 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5902 };
5903
5904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
5905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5906 if (obj2) {
5907 {
5908 arg3 = &temp3;
5909 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5910 }
5911 }
5912 if (obj3) {
5913 {
5914 arg4 = &temp4;
5915 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5916 }
5917 }
5918 if (obj5) {
5919 {
5920 arg6 = wxString_in_helper(obj5);
5921 if (arg6 == NULL) SWIG_fail;
5922 temp6 = True;
5923 }
5924 }
5925 {
5926 PyThreadState* __tstate = wxPyBeginAllowThreads();
5927 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5928
5929 wxPyEndAllowThreads(__tstate);
5930 if (PyErr_Occurred()) SWIG_fail;
5931 }
5932 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
5933 {
5934 if (temp6)
5935 delete arg6;
5936 }
5937 return resultobj;
5938 fail:
5939 {
5940 if (temp6)
5941 delete arg6;
5942 }
5943 return NULL;
5944 }
5945
5946
5947 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5948 PyObject *resultobj;
5949 wxSashWindow *result;
5950 char *kwnames[] = {
5951 NULL
5952 };
5953
5954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
5955 {
5956 PyThreadState* __tstate = wxPyBeginAllowThreads();
5957 result = (wxSashWindow *)new wxSashWindow();
5958
5959 wxPyEndAllowThreads(__tstate);
5960 if (PyErr_Occurred()) SWIG_fail;
5961 }
5962 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
5963 return resultobj;
5964 fail:
5965 return NULL;
5966 }
5967
5968
5969 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5970 PyObject *resultobj;
5971 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5972 wxWindow *arg2 = (wxWindow *) 0 ;
5973 int arg3 ;
5974 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5975 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5976 wxSize const &arg5_defvalue = wxDefaultSize ;
5977 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5978 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
5979 wxString const &arg7_defvalue = wxPySashNameStr ;
5980 wxString *arg7 = (wxString *) &arg7_defvalue ;
5981 bool result;
5982 wxPoint temp4 ;
5983 wxSize temp5 ;
5984 bool temp7 = False ;
5985 PyObject * obj0 = 0 ;
5986 PyObject * obj1 = 0 ;
5987 PyObject * obj3 = 0 ;
5988 PyObject * obj4 = 0 ;
5989 PyObject * obj6 = 0 ;
5990 char *kwnames[] = {
5991 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5992 };
5993
5994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
5995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5996 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5997 if (obj3) {
5998 {
5999 arg4 = &temp4;
6000 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6001 }
6002 }
6003 if (obj4) {
6004 {
6005 arg5 = &temp5;
6006 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6007 }
6008 }
6009 if (obj6) {
6010 {
6011 arg7 = wxString_in_helper(obj6);
6012 if (arg7 == NULL) SWIG_fail;
6013 temp7 = True;
6014 }
6015 }
6016 {
6017 PyThreadState* __tstate = wxPyBeginAllowThreads();
6018 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6019
6020 wxPyEndAllowThreads(__tstate);
6021 if (PyErr_Occurred()) SWIG_fail;
6022 }
6023 resultobj = PyInt_FromLong((long)result);
6024 {
6025 if (temp7)
6026 delete arg7;
6027 }
6028 return resultobj;
6029 fail:
6030 {
6031 if (temp7)
6032 delete arg7;
6033 }
6034 return NULL;
6035 }
6036
6037
6038 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6039 PyObject *resultobj;
6040 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6041 int arg2 ;
6042 bool arg3 ;
6043 PyObject * obj0 = 0 ;
6044 PyObject * obj2 = 0 ;
6045 char *kwnames[] = {
6046 (char *) "self",(char *) "edge",(char *) "sash", NULL
6047 };
6048
6049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashVisible",kwnames,&obj0,&arg2,&obj2)) goto fail;
6050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6051 arg3 = PyInt_AsLong(obj2) ? true : false;
6052 if (PyErr_Occurred()) SWIG_fail;
6053 {
6054 PyThreadState* __tstate = wxPyBeginAllowThreads();
6055 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6056
6057 wxPyEndAllowThreads(__tstate);
6058 if (PyErr_Occurred()) SWIG_fail;
6059 }
6060 Py_INCREF(Py_None); resultobj = Py_None;
6061 return resultobj;
6062 fail:
6063 return NULL;
6064 }
6065
6066
6067 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6068 PyObject *resultobj;
6069 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6070 int arg2 ;
6071 bool result;
6072 PyObject * obj0 = 0 ;
6073 char *kwnames[] = {
6074 (char *) "self",(char *) "edge", NULL
6075 };
6076
6077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetSashVisible",kwnames,&obj0,&arg2)) goto fail;
6078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6079 {
6080 PyThreadState* __tstate = wxPyBeginAllowThreads();
6081 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6082
6083 wxPyEndAllowThreads(__tstate);
6084 if (PyErr_Occurred()) SWIG_fail;
6085 }
6086 resultobj = PyInt_FromLong((long)result);
6087 return resultobj;
6088 fail:
6089 return NULL;
6090 }
6091
6092
6093 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6094 PyObject *resultobj;
6095 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6096 int arg2 ;
6097 bool arg3 ;
6098 PyObject * obj0 = 0 ;
6099 PyObject * obj2 = 0 ;
6100 char *kwnames[] = {
6101 (char *) "self",(char *) "edge",(char *) "border", NULL
6102 };
6103
6104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashBorder",kwnames,&obj0,&arg2,&obj2)) goto fail;
6105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6106 arg3 = PyInt_AsLong(obj2) ? true : false;
6107 if (PyErr_Occurred()) SWIG_fail;
6108 {
6109 PyThreadState* __tstate = wxPyBeginAllowThreads();
6110 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
6111
6112 wxPyEndAllowThreads(__tstate);
6113 if (PyErr_Occurred()) SWIG_fail;
6114 }
6115 Py_INCREF(Py_None); resultobj = Py_None;
6116 return resultobj;
6117 fail:
6118 return NULL;
6119 }
6120
6121
6122 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6123 PyObject *resultobj;
6124 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6125 int arg2 ;
6126 bool result;
6127 PyObject * obj0 = 0 ;
6128 char *kwnames[] = {
6129 (char *) "self",(char *) "edge", NULL
6130 };
6131
6132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_HasBorder",kwnames,&obj0,&arg2)) goto fail;
6133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6134 {
6135 PyThreadState* __tstate = wxPyBeginAllowThreads();
6136 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
6137
6138 wxPyEndAllowThreads(__tstate);
6139 if (PyErr_Occurred()) SWIG_fail;
6140 }
6141 resultobj = PyInt_FromLong((long)result);
6142 return resultobj;
6143 fail:
6144 return NULL;
6145 }
6146
6147
6148 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
6149 PyObject *resultobj;
6150 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6151 int arg2 ;
6152 int result;
6153 PyObject * obj0 = 0 ;
6154 char *kwnames[] = {
6155 (char *) "self",(char *) "edge", NULL
6156 };
6157
6158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetEdgeMargin",kwnames,&obj0,&arg2)) goto fail;
6159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6160 {
6161 PyThreadState* __tstate = wxPyBeginAllowThreads();
6162 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
6163
6164 wxPyEndAllowThreads(__tstate);
6165 if (PyErr_Occurred()) SWIG_fail;
6166 }
6167 resultobj = PyInt_FromLong((long)result);
6168 return resultobj;
6169 fail:
6170 return NULL;
6171 }
6172
6173
6174 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6175 PyObject *resultobj;
6176 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6177 int arg2 ;
6178 PyObject * obj0 = 0 ;
6179 char *kwnames[] = {
6180 (char *) "self",(char *) "width", NULL
6181 };
6182
6183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&arg2)) goto fail;
6184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6185 {
6186 PyThreadState* __tstate = wxPyBeginAllowThreads();
6187 (arg1)->SetDefaultBorderSize(arg2);
6188
6189 wxPyEndAllowThreads(__tstate);
6190 if (PyErr_Occurred()) SWIG_fail;
6191 }
6192 Py_INCREF(Py_None); resultobj = Py_None;
6193 return resultobj;
6194 fail:
6195 return NULL;
6196 }
6197
6198
6199 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6200 PyObject *resultobj;
6201 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6202 int result;
6203 PyObject * obj0 = 0 ;
6204 char *kwnames[] = {
6205 (char *) "self", NULL
6206 };
6207
6208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
6209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6210 {
6211 PyThreadState* __tstate = wxPyBeginAllowThreads();
6212 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
6213
6214 wxPyEndAllowThreads(__tstate);
6215 if (PyErr_Occurred()) SWIG_fail;
6216 }
6217 resultobj = PyInt_FromLong((long)result);
6218 return resultobj;
6219 fail:
6220 return NULL;
6221 }
6222
6223
6224 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6225 PyObject *resultobj;
6226 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6227 int arg2 ;
6228 PyObject * obj0 = 0 ;
6229 char *kwnames[] = {
6230 (char *) "self",(char *) "width", NULL
6231 };
6232
6233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetExtraBorderSize",kwnames,&obj0,&arg2)) goto fail;
6234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6235 {
6236 PyThreadState* __tstate = wxPyBeginAllowThreads();
6237 (arg1)->SetExtraBorderSize(arg2);
6238
6239 wxPyEndAllowThreads(__tstate);
6240 if (PyErr_Occurred()) SWIG_fail;
6241 }
6242 Py_INCREF(Py_None); resultobj = Py_None;
6243 return resultobj;
6244 fail:
6245 return NULL;
6246 }
6247
6248
6249 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6250 PyObject *resultobj;
6251 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6252 int result;
6253 PyObject * obj0 = 0 ;
6254 char *kwnames[] = {
6255 (char *) "self", NULL
6256 };
6257
6258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
6259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6260 {
6261 PyThreadState* __tstate = wxPyBeginAllowThreads();
6262 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
6263
6264 wxPyEndAllowThreads(__tstate);
6265 if (PyErr_Occurred()) SWIG_fail;
6266 }
6267 resultobj = PyInt_FromLong((long)result);
6268 return resultobj;
6269 fail:
6270 return NULL;
6271 }
6272
6273
6274 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6275 PyObject *resultobj;
6276 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6277 int arg2 ;
6278 PyObject * obj0 = 0 ;
6279 char *kwnames[] = {
6280 (char *) "self",(char *) "min", NULL
6281 };
6282
6283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeX",kwnames,&obj0,&arg2)) goto fail;
6284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6285 {
6286 PyThreadState* __tstate = wxPyBeginAllowThreads();
6287 (arg1)->SetMinimumSizeX(arg2);
6288
6289 wxPyEndAllowThreads(__tstate);
6290 if (PyErr_Occurred()) SWIG_fail;
6291 }
6292 Py_INCREF(Py_None); resultobj = Py_None;
6293 return resultobj;
6294 fail:
6295 return NULL;
6296 }
6297
6298
6299 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6300 PyObject *resultobj;
6301 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6302 int arg2 ;
6303 PyObject * obj0 = 0 ;
6304 char *kwnames[] = {
6305 (char *) "self",(char *) "min", NULL
6306 };
6307
6308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeY",kwnames,&obj0,&arg2)) goto fail;
6309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6310 {
6311 PyThreadState* __tstate = wxPyBeginAllowThreads();
6312 (arg1)->SetMinimumSizeY(arg2);
6313
6314 wxPyEndAllowThreads(__tstate);
6315 if (PyErr_Occurred()) SWIG_fail;
6316 }
6317 Py_INCREF(Py_None); resultobj = Py_None;
6318 return resultobj;
6319 fail:
6320 return NULL;
6321 }
6322
6323
6324 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6325 PyObject *resultobj;
6326 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6327 int result;
6328 PyObject * obj0 = 0 ;
6329 char *kwnames[] = {
6330 (char *) "self", NULL
6331 };
6332
6333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
6334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6335 {
6336 PyThreadState* __tstate = wxPyBeginAllowThreads();
6337 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
6338
6339 wxPyEndAllowThreads(__tstate);
6340 if (PyErr_Occurred()) SWIG_fail;
6341 }
6342 resultobj = PyInt_FromLong((long)result);
6343 return resultobj;
6344 fail:
6345 return NULL;
6346 }
6347
6348
6349 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6350 PyObject *resultobj;
6351 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6352 int result;
6353 PyObject * obj0 = 0 ;
6354 char *kwnames[] = {
6355 (char *) "self", NULL
6356 };
6357
6358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
6359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6360 {
6361 PyThreadState* __tstate = wxPyBeginAllowThreads();
6362 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
6363
6364 wxPyEndAllowThreads(__tstate);
6365 if (PyErr_Occurred()) SWIG_fail;
6366 }
6367 resultobj = PyInt_FromLong((long)result);
6368 return resultobj;
6369 fail:
6370 return NULL;
6371 }
6372
6373
6374 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6375 PyObject *resultobj;
6376 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6377 int arg2 ;
6378 PyObject * obj0 = 0 ;
6379 char *kwnames[] = {
6380 (char *) "self",(char *) "max", NULL
6381 };
6382
6383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeX",kwnames,&obj0,&arg2)) goto fail;
6384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6385 {
6386 PyThreadState* __tstate = wxPyBeginAllowThreads();
6387 (arg1)->SetMaximumSizeX(arg2);
6388
6389 wxPyEndAllowThreads(__tstate);
6390 if (PyErr_Occurred()) SWIG_fail;
6391 }
6392 Py_INCREF(Py_None); resultobj = Py_None;
6393 return resultobj;
6394 fail:
6395 return NULL;
6396 }
6397
6398
6399 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6400 PyObject *resultobj;
6401 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6402 int arg2 ;
6403 PyObject * obj0 = 0 ;
6404 char *kwnames[] = {
6405 (char *) "self",(char *) "max", NULL
6406 };
6407
6408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeY",kwnames,&obj0,&arg2)) goto fail;
6409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6410 {
6411 PyThreadState* __tstate = wxPyBeginAllowThreads();
6412 (arg1)->SetMaximumSizeY(arg2);
6413
6414 wxPyEndAllowThreads(__tstate);
6415 if (PyErr_Occurred()) SWIG_fail;
6416 }
6417 Py_INCREF(Py_None); resultobj = Py_None;
6418 return resultobj;
6419 fail:
6420 return NULL;
6421 }
6422
6423
6424 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6425 PyObject *resultobj;
6426 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6427 int result;
6428 PyObject * obj0 = 0 ;
6429 char *kwnames[] = {
6430 (char *) "self", NULL
6431 };
6432
6433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
6434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6435 {
6436 PyThreadState* __tstate = wxPyBeginAllowThreads();
6437 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
6438
6439 wxPyEndAllowThreads(__tstate);
6440 if (PyErr_Occurred()) SWIG_fail;
6441 }
6442 resultobj = PyInt_FromLong((long)result);
6443 return resultobj;
6444 fail:
6445 return NULL;
6446 }
6447
6448
6449 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6450 PyObject *resultobj;
6451 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6452 int result;
6453 PyObject * obj0 = 0 ;
6454 char *kwnames[] = {
6455 (char *) "self", NULL
6456 };
6457
6458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
6459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6460 {
6461 PyThreadState* __tstate = wxPyBeginAllowThreads();
6462 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
6463
6464 wxPyEndAllowThreads(__tstate);
6465 if (PyErr_Occurred()) SWIG_fail;
6466 }
6467 resultobj = PyInt_FromLong((long)result);
6468 return resultobj;
6469 fail:
6470 return NULL;
6471 }
6472
6473
6474 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6475 PyObject *resultobj;
6476 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6477 int arg2 ;
6478 int arg3 ;
6479 int arg4 = (int) 2 ;
6480 int result;
6481 PyObject * obj0 = 0 ;
6482 char *kwnames[] = {
6483 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6484 };
6485
6486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SashWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
6487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6488 {
6489 PyThreadState* __tstate = wxPyBeginAllowThreads();
6490 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
6491
6492 wxPyEndAllowThreads(__tstate);
6493 if (PyErr_Occurred()) SWIG_fail;
6494 }
6495 resultobj = PyInt_FromLong((long)result);
6496 return resultobj;
6497 fail:
6498 return NULL;
6499 }
6500
6501
6502 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6503 PyObject *resultobj;
6504 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6505 PyObject * obj0 = 0 ;
6506 char *kwnames[] = {
6507 (char *) "self", NULL
6508 };
6509
6510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
6511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6512 {
6513 PyThreadState* __tstate = wxPyBeginAllowThreads();
6514 (arg1)->SizeWindows();
6515
6516 wxPyEndAllowThreads(__tstate);
6517 if (PyErr_Occurred()) SWIG_fail;
6518 }
6519 Py_INCREF(Py_None); resultobj = Py_None;
6520 return resultobj;
6521 fail:
6522 return NULL;
6523 }
6524
6525
6526 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
6527 PyObject *obj;
6528 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6529 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
6530 Py_INCREF(obj);
6531 return Py_BuildValue((char *)"");
6532 }
6533 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6534 PyObject *resultobj;
6535 int arg1 = (int) 0 ;
6536 int arg2 = (int) wxSASH_NONE ;
6537 wxSashEvent *result;
6538 char *kwnames[] = {
6539 (char *) "id",(char *) "edge", NULL
6540 };
6541
6542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_SashEvent",kwnames,&arg1,&arg2)) goto fail;
6543 {
6544 PyThreadState* __tstate = wxPyBeginAllowThreads();
6545 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
6546
6547 wxPyEndAllowThreads(__tstate);
6548 if (PyErr_Occurred()) SWIG_fail;
6549 }
6550 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashEvent, 1);
6551 return resultobj;
6552 fail:
6553 return NULL;
6554 }
6555
6556
6557 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6558 PyObject *resultobj;
6559 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6560 int arg2 ;
6561 PyObject * obj0 = 0 ;
6562 char *kwnames[] = {
6563 (char *) "self",(char *) "edge", NULL
6564 };
6565
6566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetEdge",kwnames,&obj0,&arg2)) goto fail;
6567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6568 {
6569 PyThreadState* __tstate = wxPyBeginAllowThreads();
6570 (arg1)->SetEdge((wxSashEdgePosition )arg2);
6571
6572 wxPyEndAllowThreads(__tstate);
6573 if (PyErr_Occurred()) SWIG_fail;
6574 }
6575 Py_INCREF(Py_None); resultobj = Py_None;
6576 return resultobj;
6577 fail:
6578 return NULL;
6579 }
6580
6581
6582 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6583 PyObject *resultobj;
6584 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6585 int result;
6586 PyObject * obj0 = 0 ;
6587 char *kwnames[] = {
6588 (char *) "self", NULL
6589 };
6590
6591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
6592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6593 {
6594 PyThreadState* __tstate = wxPyBeginAllowThreads();
6595 result = (int)((wxSashEvent const *)arg1)->GetEdge();
6596
6597 wxPyEndAllowThreads(__tstate);
6598 if (PyErr_Occurred()) SWIG_fail;
6599 }
6600 resultobj = PyInt_FromLong((long)result);
6601 return resultobj;
6602 fail:
6603 return NULL;
6604 }
6605
6606
6607 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6608 PyObject *resultobj;
6609 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6610 wxRect *arg2 = 0 ;
6611 wxRect temp2 ;
6612 PyObject * obj0 = 0 ;
6613 PyObject * obj1 = 0 ;
6614 char *kwnames[] = {
6615 (char *) "self",(char *) "rect", NULL
6616 };
6617
6618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
6619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6620 {
6621 arg2 = &temp2;
6622 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6623 }
6624 {
6625 PyThreadState* __tstate = wxPyBeginAllowThreads();
6626 (arg1)->SetDragRect((wxRect const &)*arg2);
6627
6628 wxPyEndAllowThreads(__tstate);
6629 if (PyErr_Occurred()) SWIG_fail;
6630 }
6631 Py_INCREF(Py_None); resultobj = Py_None;
6632 return resultobj;
6633 fail:
6634 return NULL;
6635 }
6636
6637
6638 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6639 PyObject *resultobj;
6640 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6641 wxRect result;
6642 PyObject * obj0 = 0 ;
6643 char *kwnames[] = {
6644 (char *) "self", NULL
6645 };
6646
6647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
6648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6649 {
6650 PyThreadState* __tstate = wxPyBeginAllowThreads();
6651 result = ((wxSashEvent const *)arg1)->GetDragRect();
6652
6653 wxPyEndAllowThreads(__tstate);
6654 if (PyErr_Occurred()) SWIG_fail;
6655 }
6656 {
6657 wxRect * resultptr;
6658 resultptr = new wxRect((wxRect &) result);
6659 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
6660 }
6661 return resultobj;
6662 fail:
6663 return NULL;
6664 }
6665
6666
6667 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6668 PyObject *resultobj;
6669 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6670 int arg2 ;
6671 PyObject * obj0 = 0 ;
6672 char *kwnames[] = {
6673 (char *) "self",(char *) "status", NULL
6674 };
6675
6676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetDragStatus",kwnames,&obj0,&arg2)) goto fail;
6677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6678 {
6679 PyThreadState* __tstate = wxPyBeginAllowThreads();
6680 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
6681
6682 wxPyEndAllowThreads(__tstate);
6683 if (PyErr_Occurred()) SWIG_fail;
6684 }
6685 Py_INCREF(Py_None); resultobj = Py_None;
6686 return resultobj;
6687 fail:
6688 return NULL;
6689 }
6690
6691
6692 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6693 PyObject *resultobj;
6694 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6695 int result;
6696 PyObject * obj0 = 0 ;
6697 char *kwnames[] = {
6698 (char *) "self", NULL
6699 };
6700
6701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
6702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6703 {
6704 PyThreadState* __tstate = wxPyBeginAllowThreads();
6705 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
6706
6707 wxPyEndAllowThreads(__tstate);
6708 if (PyErr_Occurred()) SWIG_fail;
6709 }
6710 resultobj = PyInt_FromLong((long)result);
6711 return resultobj;
6712 fail:
6713 return NULL;
6714 }
6715
6716
6717 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
6718 PyObject *obj;
6719 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6720 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
6721 Py_INCREF(obj);
6722 return Py_BuildValue((char *)"");
6723 }
6724 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6725 PyObject *resultobj;
6726 int arg1 = (int) 0 ;
6727 wxQueryLayoutInfoEvent *result;
6728 char *kwnames[] = {
6729 (char *) "id", NULL
6730 };
6731
6732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_QueryLayoutInfoEvent",kwnames,&arg1)) goto fail;
6733 {
6734 PyThreadState* __tstate = wxPyBeginAllowThreads();
6735 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
6736
6737 wxPyEndAllowThreads(__tstate);
6738 if (PyErr_Occurred()) SWIG_fail;
6739 }
6740 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
6741 return resultobj;
6742 fail:
6743 return NULL;
6744 }
6745
6746
6747 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6748 PyObject *resultobj;
6749 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6750 int arg2 ;
6751 PyObject * obj0 = 0 ;
6752 char *kwnames[] = {
6753 (char *) "self",(char *) "length", NULL
6754 };
6755
6756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&arg2)) goto fail;
6757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6758 {
6759 PyThreadState* __tstate = wxPyBeginAllowThreads();
6760 (arg1)->SetRequestedLength(arg2);
6761
6762 wxPyEndAllowThreads(__tstate);
6763 if (PyErr_Occurred()) SWIG_fail;
6764 }
6765 Py_INCREF(Py_None); resultobj = Py_None;
6766 return resultobj;
6767 fail:
6768 return NULL;
6769 }
6770
6771
6772 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6773 PyObject *resultobj;
6774 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6775 int result;
6776 PyObject * obj0 = 0 ;
6777 char *kwnames[] = {
6778 (char *) "self", NULL
6779 };
6780
6781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
6782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6783 {
6784 PyThreadState* __tstate = wxPyBeginAllowThreads();
6785 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
6786
6787 wxPyEndAllowThreads(__tstate);
6788 if (PyErr_Occurred()) SWIG_fail;
6789 }
6790 resultobj = PyInt_FromLong((long)result);
6791 return resultobj;
6792 fail:
6793 return NULL;
6794 }
6795
6796
6797 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6798 PyObject *resultobj;
6799 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6800 int arg2 ;
6801 PyObject * obj0 = 0 ;
6802 char *kwnames[] = {
6803 (char *) "self",(char *) "flags", NULL
6804 };
6805
6806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6808 {
6809 PyThreadState* __tstate = wxPyBeginAllowThreads();
6810 (arg1)->SetFlags(arg2);
6811
6812 wxPyEndAllowThreads(__tstate);
6813 if (PyErr_Occurred()) SWIG_fail;
6814 }
6815 Py_INCREF(Py_None); resultobj = Py_None;
6816 return resultobj;
6817 fail:
6818 return NULL;
6819 }
6820
6821
6822 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6823 PyObject *resultobj;
6824 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6825 int result;
6826 PyObject * obj0 = 0 ;
6827 char *kwnames[] = {
6828 (char *) "self", NULL
6829 };
6830
6831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
6832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6833 {
6834 PyThreadState* __tstate = wxPyBeginAllowThreads();
6835 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
6836
6837 wxPyEndAllowThreads(__tstate);
6838 if (PyErr_Occurred()) SWIG_fail;
6839 }
6840 resultobj = PyInt_FromLong((long)result);
6841 return resultobj;
6842 fail:
6843 return NULL;
6844 }
6845
6846
6847 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6848 PyObject *resultobj;
6849 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6850 wxSize *arg2 = 0 ;
6851 wxSize temp2 ;
6852 PyObject * obj0 = 0 ;
6853 PyObject * obj1 = 0 ;
6854 char *kwnames[] = {
6855 (char *) "self",(char *) "size", NULL
6856 };
6857
6858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
6859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6860 {
6861 arg2 = &temp2;
6862 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
6863 }
6864 {
6865 PyThreadState* __tstate = wxPyBeginAllowThreads();
6866 (arg1)->SetSize((wxSize const &)*arg2);
6867
6868 wxPyEndAllowThreads(__tstate);
6869 if (PyErr_Occurred()) SWIG_fail;
6870 }
6871 Py_INCREF(Py_None); resultobj = Py_None;
6872 return resultobj;
6873 fail:
6874 return NULL;
6875 }
6876
6877
6878 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6879 PyObject *resultobj;
6880 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6881 wxSize result;
6882 PyObject * obj0 = 0 ;
6883 char *kwnames[] = {
6884 (char *) "self", NULL
6885 };
6886
6887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
6888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6889 {
6890 PyThreadState* __tstate = wxPyBeginAllowThreads();
6891 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
6892
6893 wxPyEndAllowThreads(__tstate);
6894 if (PyErr_Occurred()) SWIG_fail;
6895 }
6896 {
6897 wxSize * resultptr;
6898 resultptr = new wxSize((wxSize &) result);
6899 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
6900 }
6901 return resultobj;
6902 fail:
6903 return NULL;
6904 }
6905
6906
6907 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6908 PyObject *resultobj;
6909 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6910 int arg2 ;
6911 PyObject * obj0 = 0 ;
6912 char *kwnames[] = {
6913 (char *) "self",(char *) "orient", NULL
6914 };
6915
6916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
6917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6918 {
6919 PyThreadState* __tstate = wxPyBeginAllowThreads();
6920 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
6921
6922 wxPyEndAllowThreads(__tstate);
6923 if (PyErr_Occurred()) SWIG_fail;
6924 }
6925 Py_INCREF(Py_None); resultobj = Py_None;
6926 return resultobj;
6927 fail:
6928 return NULL;
6929 }
6930
6931
6932 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6933 PyObject *resultobj;
6934 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6935 int result;
6936 PyObject * obj0 = 0 ;
6937 char *kwnames[] = {
6938 (char *) "self", NULL
6939 };
6940
6941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
6942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6943 {
6944 PyThreadState* __tstate = wxPyBeginAllowThreads();
6945 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
6946
6947 wxPyEndAllowThreads(__tstate);
6948 if (PyErr_Occurred()) SWIG_fail;
6949 }
6950 resultobj = PyInt_FromLong((long)result);
6951 return resultobj;
6952 fail:
6953 return NULL;
6954 }
6955
6956
6957 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6958 PyObject *resultobj;
6959 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6960 int arg2 ;
6961 PyObject * obj0 = 0 ;
6962 char *kwnames[] = {
6963 (char *) "self",(char *) "align", NULL
6964 };
6965
6966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
6967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6968 {
6969 PyThreadState* __tstate = wxPyBeginAllowThreads();
6970 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
6971
6972 wxPyEndAllowThreads(__tstate);
6973 if (PyErr_Occurred()) SWIG_fail;
6974 }
6975 Py_INCREF(Py_None); resultobj = Py_None;
6976 return resultobj;
6977 fail:
6978 return NULL;
6979 }
6980
6981
6982 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6983 PyObject *resultobj;
6984 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6985 int result;
6986 PyObject * obj0 = 0 ;
6987 char *kwnames[] = {
6988 (char *) "self", NULL
6989 };
6990
6991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
6992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6993 {
6994 PyThreadState* __tstate = wxPyBeginAllowThreads();
6995 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
6996
6997 wxPyEndAllowThreads(__tstate);
6998 if (PyErr_Occurred()) SWIG_fail;
6999 }
7000 resultobj = PyInt_FromLong((long)result);
7001 return resultobj;
7002 fail:
7003 return NULL;
7004 }
7005
7006
7007 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
7008 PyObject *obj;
7009 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7010 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
7011 Py_INCREF(obj);
7012 return Py_BuildValue((char *)"");
7013 }
7014 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7015 PyObject *resultobj;
7016 int arg1 = (int) 0 ;
7017 wxCalculateLayoutEvent *result;
7018 char *kwnames[] = {
7019 (char *) "id", NULL
7020 };
7021
7022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_CalculateLayoutEvent",kwnames,&arg1)) goto fail;
7023 {
7024 PyThreadState* __tstate = wxPyBeginAllowThreads();
7025 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
7026
7027 wxPyEndAllowThreads(__tstate);
7028 if (PyErr_Occurred()) SWIG_fail;
7029 }
7030 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCalculateLayoutEvent, 1);
7031 return resultobj;
7032 fail:
7033 return NULL;
7034 }
7035
7036
7037 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7038 PyObject *resultobj;
7039 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7040 int arg2 ;
7041 PyObject * obj0 = 0 ;
7042 char *kwnames[] = {
7043 (char *) "self",(char *) "flags", NULL
7044 };
7045
7046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
7047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7048 {
7049 PyThreadState* __tstate = wxPyBeginAllowThreads();
7050 (arg1)->SetFlags(arg2);
7051
7052 wxPyEndAllowThreads(__tstate);
7053 if (PyErr_Occurred()) SWIG_fail;
7054 }
7055 Py_INCREF(Py_None); resultobj = Py_None;
7056 return resultobj;
7057 fail:
7058 return NULL;
7059 }
7060
7061
7062 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7063 PyObject *resultobj;
7064 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7065 int result;
7066 PyObject * obj0 = 0 ;
7067 char *kwnames[] = {
7068 (char *) "self", NULL
7069 };
7070
7071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
7072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7073 {
7074 PyThreadState* __tstate = wxPyBeginAllowThreads();
7075 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
7076
7077 wxPyEndAllowThreads(__tstate);
7078 if (PyErr_Occurred()) SWIG_fail;
7079 }
7080 resultobj = PyInt_FromLong((long)result);
7081 return resultobj;
7082 fail:
7083 return NULL;
7084 }
7085
7086
7087 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7088 PyObject *resultobj;
7089 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7090 wxRect *arg2 = 0 ;
7091 wxRect temp2 ;
7092 PyObject * obj0 = 0 ;
7093 PyObject * obj1 = 0 ;
7094 char *kwnames[] = {
7095 (char *) "self",(char *) "rect", NULL
7096 };
7097
7098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
7099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7100 {
7101 arg2 = &temp2;
7102 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7103 }
7104 {
7105 PyThreadState* __tstate = wxPyBeginAllowThreads();
7106 (arg1)->SetRect((wxRect const &)*arg2);
7107
7108 wxPyEndAllowThreads(__tstate);
7109 if (PyErr_Occurred()) SWIG_fail;
7110 }
7111 Py_INCREF(Py_None); resultobj = Py_None;
7112 return resultobj;
7113 fail:
7114 return NULL;
7115 }
7116
7117
7118 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7119 PyObject *resultobj;
7120 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7121 wxRect result;
7122 PyObject * obj0 = 0 ;
7123 char *kwnames[] = {
7124 (char *) "self", NULL
7125 };
7126
7127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
7128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7129 {
7130 PyThreadState* __tstate = wxPyBeginAllowThreads();
7131 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
7132
7133 wxPyEndAllowThreads(__tstate);
7134 if (PyErr_Occurred()) SWIG_fail;
7135 }
7136 {
7137 wxRect * resultptr;
7138 resultptr = new wxRect((wxRect &) result);
7139 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
7140 }
7141 return resultobj;
7142 fail:
7143 return NULL;
7144 }
7145
7146
7147 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
7148 PyObject *obj;
7149 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7150 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
7151 Py_INCREF(obj);
7152 return Py_BuildValue((char *)"");
7153 }
7154 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7155 PyObject *resultobj;
7156 wxWindow *arg1 = (wxWindow *) 0 ;
7157 int arg2 ;
7158 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7159 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7160 wxSize const &arg4_defvalue = wxDefaultSize ;
7161 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7162 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7163 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
7164 wxString *arg6 = (wxString *) &arg6_defvalue ;
7165 wxSashLayoutWindow *result;
7166 wxPoint temp3 ;
7167 wxSize temp4 ;
7168 bool temp6 = False ;
7169 PyObject * obj0 = 0 ;
7170 PyObject * obj2 = 0 ;
7171 PyObject * obj3 = 0 ;
7172 PyObject * obj5 = 0 ;
7173 char *kwnames[] = {
7174 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7175 };
7176
7177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashLayoutWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
7178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7179 if (obj2) {
7180 {
7181 arg3 = &temp3;
7182 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7183 }
7184 }
7185 if (obj3) {
7186 {
7187 arg4 = &temp4;
7188 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7189 }
7190 }
7191 if (obj5) {
7192 {
7193 arg6 = wxString_in_helper(obj5);
7194 if (arg6 == NULL) SWIG_fail;
7195 temp6 = True;
7196 }
7197 }
7198 {
7199 PyThreadState* __tstate = wxPyBeginAllowThreads();
7200 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7201
7202 wxPyEndAllowThreads(__tstate);
7203 if (PyErr_Occurred()) SWIG_fail;
7204 }
7205 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
7206 {
7207 if (temp6)
7208 delete arg6;
7209 }
7210 return resultobj;
7211 fail:
7212 {
7213 if (temp6)
7214 delete arg6;
7215 }
7216 return NULL;
7217 }
7218
7219
7220 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7221 PyObject *resultobj;
7222 wxSashLayoutWindow *result;
7223 char *kwnames[] = {
7224 NULL
7225 };
7226
7227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
7228 {
7229 PyThreadState* __tstate = wxPyBeginAllowThreads();
7230 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
7231
7232 wxPyEndAllowThreads(__tstate);
7233 if (PyErr_Occurred()) SWIG_fail;
7234 }
7235 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
7236 return resultobj;
7237 fail:
7238 return NULL;
7239 }
7240
7241
7242 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7243 PyObject *resultobj;
7244 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7245 wxWindow *arg2 = (wxWindow *) 0 ;
7246 int arg3 ;
7247 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7248 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7249 wxSize const &arg5_defvalue = wxDefaultSize ;
7250 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7251 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7252 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
7253 wxString *arg7 = (wxString *) &arg7_defvalue ;
7254 bool result;
7255 wxPoint temp4 ;
7256 wxSize temp5 ;
7257 bool temp7 = False ;
7258 PyObject * obj0 = 0 ;
7259 PyObject * obj1 = 0 ;
7260 PyObject * obj3 = 0 ;
7261 PyObject * obj4 = 0 ;
7262 PyObject * obj6 = 0 ;
7263 char *kwnames[] = {
7264 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7265 };
7266
7267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
7268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7269 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7270 if (obj3) {
7271 {
7272 arg4 = &temp4;
7273 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7274 }
7275 }
7276 if (obj4) {
7277 {
7278 arg5 = &temp5;
7279 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7280 }
7281 }
7282 if (obj6) {
7283 {
7284 arg7 = wxString_in_helper(obj6);
7285 if (arg7 == NULL) SWIG_fail;
7286 temp7 = True;
7287 }
7288 }
7289 {
7290 PyThreadState* __tstate = wxPyBeginAllowThreads();
7291 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7292
7293 wxPyEndAllowThreads(__tstate);
7294 if (PyErr_Occurred()) SWIG_fail;
7295 }
7296 resultobj = PyInt_FromLong((long)result);
7297 {
7298 if (temp7)
7299 delete arg7;
7300 }
7301 return resultobj;
7302 fail:
7303 {
7304 if (temp7)
7305 delete arg7;
7306 }
7307 return NULL;
7308 }
7309
7310
7311 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7312 PyObject *resultobj;
7313 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7314 int result;
7315 PyObject * obj0 = 0 ;
7316 char *kwnames[] = {
7317 (char *) "self", NULL
7318 };
7319
7320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
7321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7322 {
7323 PyThreadState* __tstate = wxPyBeginAllowThreads();
7324 result = (int)(arg1)->GetAlignment();
7325
7326 wxPyEndAllowThreads(__tstate);
7327 if (PyErr_Occurred()) SWIG_fail;
7328 }
7329 resultobj = PyInt_FromLong((long)result);
7330 return resultobj;
7331 fail:
7332 return NULL;
7333 }
7334
7335
7336 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7337 PyObject *resultobj;
7338 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7339 int result;
7340 PyObject * obj0 = 0 ;
7341 char *kwnames[] = {
7342 (char *) "self", NULL
7343 };
7344
7345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
7346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7347 {
7348 PyThreadState* __tstate = wxPyBeginAllowThreads();
7349 result = (int)(arg1)->GetOrientation();
7350
7351 wxPyEndAllowThreads(__tstate);
7352 if (PyErr_Occurred()) SWIG_fail;
7353 }
7354 resultobj = PyInt_FromLong((long)result);
7355 return resultobj;
7356 fail:
7357 return NULL;
7358 }
7359
7360
7361 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7362 PyObject *resultobj;
7363 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7364 int arg2 ;
7365 PyObject * obj0 = 0 ;
7366 char *kwnames[] = {
7367 (char *) "self",(char *) "alignment", NULL
7368 };
7369
7370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
7371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7372 {
7373 PyThreadState* __tstate = wxPyBeginAllowThreads();
7374 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7375
7376 wxPyEndAllowThreads(__tstate);
7377 if (PyErr_Occurred()) SWIG_fail;
7378 }
7379 Py_INCREF(Py_None); resultobj = Py_None;
7380 return resultobj;
7381 fail:
7382 return NULL;
7383 }
7384
7385
7386 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7387 PyObject *resultobj;
7388 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7389 wxSize *arg2 = 0 ;
7390 wxSize temp2 ;
7391 PyObject * obj0 = 0 ;
7392 PyObject * obj1 = 0 ;
7393 char *kwnames[] = {
7394 (char *) "self",(char *) "size", NULL
7395 };
7396
7397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
7398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7399 {
7400 arg2 = &temp2;
7401 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7402 }
7403 {
7404 PyThreadState* __tstate = wxPyBeginAllowThreads();
7405 (arg1)->SetDefaultSize((wxSize const &)*arg2);
7406
7407 wxPyEndAllowThreads(__tstate);
7408 if (PyErr_Occurred()) SWIG_fail;
7409 }
7410 Py_INCREF(Py_None); resultobj = Py_None;
7411 return resultobj;
7412 fail:
7413 return NULL;
7414 }
7415
7416
7417 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7418 PyObject *resultobj;
7419 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7420 int arg2 ;
7421 PyObject * obj0 = 0 ;
7422 char *kwnames[] = {
7423 (char *) "self",(char *) "orientation", NULL
7424 };
7425
7426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
7427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7428 {
7429 PyThreadState* __tstate = wxPyBeginAllowThreads();
7430 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7431
7432 wxPyEndAllowThreads(__tstate);
7433 if (PyErr_Occurred()) SWIG_fail;
7434 }
7435 Py_INCREF(Py_None); resultobj = Py_None;
7436 return resultobj;
7437 fail:
7438 return NULL;
7439 }
7440
7441
7442 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
7443 PyObject *obj;
7444 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7445 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
7446 Py_INCREF(obj);
7447 return Py_BuildValue((char *)"");
7448 }
7449 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7450 PyObject *resultobj;
7451 wxLayoutAlgorithm *result;
7452 char *kwnames[] = {
7453 NULL
7454 };
7455
7456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
7457 {
7458 PyThreadState* __tstate = wxPyBeginAllowThreads();
7459 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
7460
7461 wxPyEndAllowThreads(__tstate);
7462 if (PyErr_Occurred()) SWIG_fail;
7463 }
7464 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutAlgorithm, 1);
7465 return resultobj;
7466 fail:
7467 return NULL;
7468 }
7469
7470
7471 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7472 PyObject *resultobj;
7473 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7474 PyObject * obj0 = 0 ;
7475 char *kwnames[] = {
7476 (char *) "self", NULL
7477 };
7478
7479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
7480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7481 {
7482 PyThreadState* __tstate = wxPyBeginAllowThreads();
7483 delete arg1;
7484
7485 wxPyEndAllowThreads(__tstate);
7486 if (PyErr_Occurred()) SWIG_fail;
7487 }
7488 Py_INCREF(Py_None); resultobj = Py_None;
7489 return resultobj;
7490 fail:
7491 return NULL;
7492 }
7493
7494
7495 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7496 PyObject *resultobj;
7497 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7498 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
7499 wxRect *arg3 = (wxRect *) NULL ;
7500 bool result;
7501 PyObject * obj0 = 0 ;
7502 PyObject * obj1 = 0 ;
7503 PyObject * obj2 = 0 ;
7504 char *kwnames[] = {
7505 (char *) "self",(char *) "frame",(char *) "rect", NULL
7506 };
7507
7508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7510 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7511 if (obj2) {
7512 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7513 }
7514 {
7515 PyThreadState* __tstate = wxPyBeginAllowThreads();
7516 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
7517
7518 wxPyEndAllowThreads(__tstate);
7519 if (PyErr_Occurred()) SWIG_fail;
7520 }
7521 resultobj = PyInt_FromLong((long)result);
7522 return resultobj;
7523 fail:
7524 return NULL;
7525 }
7526
7527
7528 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7529 PyObject *resultobj;
7530 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7531 wxFrame *arg2 = (wxFrame *) 0 ;
7532 wxWindow *arg3 = (wxWindow *) NULL ;
7533 bool result;
7534 PyObject * obj0 = 0 ;
7535 PyObject * obj1 = 0 ;
7536 PyObject * obj2 = 0 ;
7537 char *kwnames[] = {
7538 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
7539 };
7540
7541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7543 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7544 if (obj2) {
7545 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7546 }
7547 {
7548 PyThreadState* __tstate = wxPyBeginAllowThreads();
7549 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
7550
7551 wxPyEndAllowThreads(__tstate);
7552 if (PyErr_Occurred()) SWIG_fail;
7553 }
7554 resultobj = PyInt_FromLong((long)result);
7555 return resultobj;
7556 fail:
7557 return NULL;
7558 }
7559
7560
7561 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7562 PyObject *resultobj;
7563 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7564 wxWindow *arg2 = (wxWindow *) 0 ;
7565 wxWindow *arg3 = (wxWindow *) NULL ;
7566 bool result;
7567 PyObject * obj0 = 0 ;
7568 PyObject * obj1 = 0 ;
7569 PyObject * obj2 = 0 ;
7570 char *kwnames[] = {
7571 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
7572 };
7573
7574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
7575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7576 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7577 if (obj2) {
7578 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7579 }
7580 {
7581 PyThreadState* __tstate = wxPyBeginAllowThreads();
7582 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
7583
7584 wxPyEndAllowThreads(__tstate);
7585 if (PyErr_Occurred()) SWIG_fail;
7586 }
7587 resultobj = PyInt_FromLong((long)result);
7588 return resultobj;
7589 fail:
7590 return NULL;
7591 }
7592
7593
7594 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
7595 PyObject *obj;
7596 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7597 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
7598 Py_INCREF(obj);
7599 return Py_BuildValue((char *)"");
7600 }
7601 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7602 PyObject *resultobj;
7603 wxWindow *arg1 = (wxWindow *) 0 ;
7604 int arg2 = (int) wxBORDER_NONE ;
7605 wxPopupWindow *result;
7606 PyObject * obj0 = 0 ;
7607 char *kwnames[] = {
7608 (char *) "parent",(char *) "flags", NULL
7609 };
7610
7611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupWindow",kwnames,&obj0,&arg2)) goto fail;
7612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7613 {
7614 PyThreadState* __tstate = wxPyBeginAllowThreads();
7615 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
7616
7617 wxPyEndAllowThreads(__tstate);
7618 if (PyErr_Occurred()) SWIG_fail;
7619 }
7620 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7621 return resultobj;
7622 fail:
7623 return NULL;
7624 }
7625
7626
7627 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7628 PyObject *resultobj;
7629 wxPopupWindow *result;
7630 char *kwnames[] = {
7631 NULL
7632 };
7633
7634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
7635 {
7636 PyThreadState* __tstate = wxPyBeginAllowThreads();
7637 result = (wxPopupWindow *)new wxPopupWindow();
7638
7639 wxPyEndAllowThreads(__tstate);
7640 if (PyErr_Occurred()) SWIG_fail;
7641 }
7642 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7643 return resultobj;
7644 fail:
7645 return NULL;
7646 }
7647
7648
7649 static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7650 PyObject *resultobj;
7651 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
7652 wxWindow *arg2 = (wxWindow *) 0 ;
7653 int arg3 = (int) wxBORDER_NONE ;
7654 bool result;
7655 PyObject * obj0 = 0 ;
7656 PyObject * obj1 = 0 ;
7657 char *kwnames[] = {
7658 (char *) "self",(char *) "parent",(char *) "flags", NULL
7659 };
7660
7661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:PopupWindow_Create",kwnames,&obj0,&obj1,&arg3)) goto fail;
7662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7663 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7664 {
7665 PyThreadState* __tstate = wxPyBeginAllowThreads();
7666 result = (bool)(arg1)->Create(arg2,arg3);
7667
7668 wxPyEndAllowThreads(__tstate);
7669 if (PyErr_Occurred()) SWIG_fail;
7670 }
7671 resultobj = PyInt_FromLong((long)result);
7672 return resultobj;
7673 fail:
7674 return NULL;
7675 }
7676
7677
7678 static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
7679 PyObject *resultobj;
7680 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
7681 wxPoint *arg2 = 0 ;
7682 wxSize *arg3 = 0 ;
7683 wxPoint temp2 ;
7684 wxSize temp3 ;
7685 PyObject * obj0 = 0 ;
7686 PyObject * obj1 = 0 ;
7687 PyObject * obj2 = 0 ;
7688 char *kwnames[] = {
7689 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
7690 };
7691
7692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
7693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7694 {
7695 arg2 = &temp2;
7696 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7697 }
7698 {
7699 arg3 = &temp3;
7700 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
7701 }
7702 {
7703 PyThreadState* __tstate = wxPyBeginAllowThreads();
7704 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
7705
7706 wxPyEndAllowThreads(__tstate);
7707 if (PyErr_Occurred()) SWIG_fail;
7708 }
7709 Py_INCREF(Py_None); resultobj = Py_None;
7710 return resultobj;
7711 fail:
7712 return NULL;
7713 }
7714
7715
7716 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
7717 PyObject *obj;
7718 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7719 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
7720 Py_INCREF(obj);
7721 return Py_BuildValue((char *)"");
7722 }
7723 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7724 PyObject *resultobj;
7725 wxWindow *arg1 = (wxWindow *) 0 ;
7726 int arg2 = (int) wxBORDER_NONE ;
7727 wxPyPopupTransientWindow *result;
7728 PyObject * obj0 = 0 ;
7729 char *kwnames[] = {
7730 (char *) "parent",(char *) "style", NULL
7731 };
7732
7733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupTransientWindow",kwnames,&obj0,&arg2)) goto fail;
7734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7735 {
7736 PyThreadState* __tstate = wxPyBeginAllowThreads();
7737 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
7738
7739 wxPyEndAllowThreads(__tstate);
7740 if (PyErr_Occurred()) SWIG_fail;
7741 }
7742 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7743 return resultobj;
7744 fail:
7745 return NULL;
7746 }
7747
7748
7749 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7750 PyObject *resultobj;
7751 wxPyPopupTransientWindow *result;
7752 char *kwnames[] = {
7753 NULL
7754 };
7755
7756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
7757 {
7758 PyThreadState* __tstate = wxPyBeginAllowThreads();
7759 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
7760
7761 wxPyEndAllowThreads(__tstate);
7762 if (PyErr_Occurred()) SWIG_fail;
7763 }
7764 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7765 return resultobj;
7766 fail:
7767 return NULL;
7768 }
7769
7770
7771 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7772 PyObject *resultobj;
7773 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7774 PyObject *arg2 = (PyObject *) 0 ;
7775 PyObject *arg3 = (PyObject *) 0 ;
7776 PyObject * obj0 = 0 ;
7777 PyObject * obj1 = 0 ;
7778 PyObject * obj2 = 0 ;
7779 char *kwnames[] = {
7780 (char *) "self",(char *) "self",(char *) "_class", NULL
7781 };
7782
7783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7785 arg2 = obj1;
7786 arg3 = obj2;
7787 {
7788 PyThreadState* __tstate = wxPyBeginAllowThreads();
7789 (arg1)->_setCallbackInfo(arg2,arg3);
7790
7791 wxPyEndAllowThreads(__tstate);
7792 if (PyErr_Occurred()) SWIG_fail;
7793 }
7794 Py_INCREF(Py_None); resultobj = Py_None;
7795 return resultobj;
7796 fail:
7797 return NULL;
7798 }
7799
7800
7801 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
7802 PyObject *resultobj;
7803 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7804 wxWindow *arg2 = (wxWindow *) NULL ;
7805 PyObject * obj0 = 0 ;
7806 PyObject * obj1 = 0 ;
7807 char *kwnames[] = {
7808 (char *) "self",(char *) "focus", NULL
7809 };
7810
7811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
7812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7813 if (obj1) {
7814 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7815 }
7816 {
7817 PyThreadState* __tstate = wxPyBeginAllowThreads();
7818 (arg1)->Popup(arg2);
7819
7820 wxPyEndAllowThreads(__tstate);
7821 if (PyErr_Occurred()) SWIG_fail;
7822 }
7823 Py_INCREF(Py_None); resultobj = Py_None;
7824 return resultobj;
7825 fail:
7826 return NULL;
7827 }
7828
7829
7830 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
7831 PyObject *resultobj;
7832 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7833 PyObject * obj0 = 0 ;
7834 char *kwnames[] = {
7835 (char *) "self", NULL
7836 };
7837
7838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
7839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7840 {
7841 PyThreadState* __tstate = wxPyBeginAllowThreads();
7842 (arg1)->Dismiss();
7843
7844 wxPyEndAllowThreads(__tstate);
7845 if (PyErr_Occurred()) SWIG_fail;
7846 }
7847 Py_INCREF(Py_None); resultobj = Py_None;
7848 return resultobj;
7849 fail:
7850 return NULL;
7851 }
7852
7853
7854 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
7855 PyObject *obj;
7856 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7857 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
7858 Py_INCREF(obj);
7859 return Py_BuildValue((char *)"");
7860 }
7861 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7862 PyObject *resultobj;
7863 wxWindow *arg1 = (wxWindow *) 0 ;
7864 wxString *arg2 = 0 ;
7865 int arg3 = (int) 100 ;
7866 wxRect *arg4 = (wxRect *) NULL ;
7867 wxTipWindow *result;
7868 bool temp2 = False ;
7869 PyObject * obj0 = 0 ;
7870 PyObject * obj1 = 0 ;
7871 PyObject * obj3 = 0 ;
7872 char *kwnames[] = {
7873 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
7874 };
7875
7876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iO:new_TipWindow",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
7877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7878 {
7879 arg2 = wxString_in_helper(obj1);
7880 if (arg2 == NULL) SWIG_fail;
7881 temp2 = True;
7882 }
7883 if (obj3) {
7884 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7885 }
7886 {
7887 PyThreadState* __tstate = wxPyBeginAllowThreads();
7888 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
7889
7890 wxPyEndAllowThreads(__tstate);
7891 if (PyErr_Occurred()) SWIG_fail;
7892 }
7893 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipWindow, 1);
7894 {
7895 if (temp2)
7896 delete arg2;
7897 }
7898 return resultobj;
7899 fail:
7900 {
7901 if (temp2)
7902 delete arg2;
7903 }
7904 return NULL;
7905 }
7906
7907
7908 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7909 PyObject *resultobj;
7910 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7911 wxRect *arg2 = 0 ;
7912 wxRect temp2 ;
7913 PyObject * obj0 = 0 ;
7914 PyObject * obj1 = 0 ;
7915 char *kwnames[] = {
7916 (char *) "self",(char *) "rectBound", NULL
7917 };
7918
7919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
7920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7921 {
7922 arg2 = &temp2;
7923 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7924 }
7925 {
7926 PyThreadState* __tstate = wxPyBeginAllowThreads();
7927 (arg1)->SetBoundingRect((wxRect const &)*arg2);
7928
7929 wxPyEndAllowThreads(__tstate);
7930 if (PyErr_Occurred()) SWIG_fail;
7931 }
7932 Py_INCREF(Py_None); resultobj = Py_None;
7933 return resultobj;
7934 fail:
7935 return NULL;
7936 }
7937
7938
7939 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
7940 PyObject *resultobj;
7941 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7942 PyObject * obj0 = 0 ;
7943 char *kwnames[] = {
7944 (char *) "self", NULL
7945 };
7946
7947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
7948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7949 {
7950 PyThreadState* __tstate = wxPyBeginAllowThreads();
7951 (arg1)->Close();
7952
7953 wxPyEndAllowThreads(__tstate);
7954 if (PyErr_Occurred()) SWIG_fail;
7955 }
7956 Py_INCREF(Py_None); resultobj = Py_None;
7957 return resultobj;
7958 fail:
7959 return NULL;
7960 }
7961
7962
7963 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
7964 PyObject *obj;
7965 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7966 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
7967 Py_INCREF(obj);
7968 return Py_BuildValue((char *)"");
7969 }
7970 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7971 PyObject *resultobj;
7972 wxWindow *arg1 = (wxWindow *) 0 ;
7973 int arg2 = (int) wxID_ANY ;
7974 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7975 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7976 wxSize const &arg4_defvalue = wxDefaultSize ;
7977 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7978 long arg5 = (long) 0 ;
7979 wxString const &arg6_defvalue = wxPyPanelNameStr ;
7980 wxString *arg6 = (wxString *) &arg6_defvalue ;
7981 wxPyVScrolledWindow *result;
7982 wxPoint temp3 ;
7983 wxSize temp4 ;
7984 bool temp6 = False ;
7985 PyObject * obj0 = 0 ;
7986 PyObject * obj2 = 0 ;
7987 PyObject * obj3 = 0 ;
7988 PyObject * obj5 = 0 ;
7989 char *kwnames[] = {
7990 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7991 };
7992
7993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
7994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7995 if (obj2) {
7996 {
7997 arg3 = &temp3;
7998 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7999 }
8000 }
8001 if (obj3) {
8002 {
8003 arg4 = &temp4;
8004 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8005 }
8006 }
8007 if (obj5) {
8008 {
8009 arg6 = wxString_in_helper(obj5);
8010 if (arg6 == NULL) SWIG_fail;
8011 temp6 = True;
8012 }
8013 }
8014 {
8015 PyThreadState* __tstate = wxPyBeginAllowThreads();
8016 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8017
8018 wxPyEndAllowThreads(__tstate);
8019 if (PyErr_Occurred()) SWIG_fail;
8020 }
8021 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
8022 {
8023 if (temp6)
8024 delete arg6;
8025 }
8026 return resultobj;
8027 fail:
8028 {
8029 if (temp6)
8030 delete arg6;
8031 }
8032 return NULL;
8033 }
8034
8035
8036 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8037 PyObject *resultobj;
8038 wxPyVScrolledWindow *result;
8039 char *kwnames[] = {
8040 NULL
8041 };
8042
8043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
8044 {
8045 PyThreadState* __tstate = wxPyBeginAllowThreads();
8046 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
8047
8048 wxPyEndAllowThreads(__tstate);
8049 if (PyErr_Occurred()) SWIG_fail;
8050 }
8051 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
8052 return resultobj;
8053 fail:
8054 return NULL;
8055 }
8056
8057
8058 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8059 PyObject *resultobj;
8060 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8061 PyObject *arg2 = (PyObject *) 0 ;
8062 PyObject *arg3 = (PyObject *) 0 ;
8063 PyObject * obj0 = 0 ;
8064 PyObject * obj1 = 0 ;
8065 PyObject * obj2 = 0 ;
8066 char *kwnames[] = {
8067 (char *) "self",(char *) "self",(char *) "_class", NULL
8068 };
8069
8070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8072 arg2 = obj1;
8073 arg3 = obj2;
8074 {
8075 PyThreadState* __tstate = wxPyBeginAllowThreads();
8076 (arg1)->_setCallbackInfo(arg2,arg3);
8077
8078 wxPyEndAllowThreads(__tstate);
8079 if (PyErr_Occurred()) SWIG_fail;
8080 }
8081 Py_INCREF(Py_None); resultobj = Py_None;
8082 return resultobj;
8083 fail:
8084 return NULL;
8085 }
8086
8087
8088 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8089 PyObject *resultobj;
8090 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8091 wxWindow *arg2 = (wxWindow *) 0 ;
8092 int arg3 = (int) wxID_ANY ;
8093 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8094 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8095 wxSize const &arg5_defvalue = wxDefaultSize ;
8096 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8097 long arg6 = (long) 0 ;
8098 wxString const &arg7_defvalue = wxPyPanelNameStr ;
8099 wxString *arg7 = (wxString *) &arg7_defvalue ;
8100 bool result;
8101 wxPoint temp4 ;
8102 wxSize temp5 ;
8103 bool temp7 = False ;
8104 PyObject * obj0 = 0 ;
8105 PyObject * obj1 = 0 ;
8106 PyObject * obj3 = 0 ;
8107 PyObject * obj4 = 0 ;
8108 PyObject * obj6 = 0 ;
8109 char *kwnames[] = {
8110 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8111 };
8112
8113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8115 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8116 if (obj3) {
8117 {
8118 arg4 = &temp4;
8119 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8120 }
8121 }
8122 if (obj4) {
8123 {
8124 arg5 = &temp5;
8125 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8126 }
8127 }
8128 if (obj6) {
8129 {
8130 arg7 = wxString_in_helper(obj6);
8131 if (arg7 == NULL) SWIG_fail;
8132 temp7 = True;
8133 }
8134 }
8135 {
8136 PyThreadState* __tstate = wxPyBeginAllowThreads();
8137 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8138
8139 wxPyEndAllowThreads(__tstate);
8140 if (PyErr_Occurred()) SWIG_fail;
8141 }
8142 resultobj = PyInt_FromLong((long)result);
8143 {
8144 if (temp7)
8145 delete arg7;
8146 }
8147 return resultobj;
8148 fail:
8149 {
8150 if (temp7)
8151 delete arg7;
8152 }
8153 return NULL;
8154 }
8155
8156
8157 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8158 PyObject *resultobj;
8159 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8160 size_t arg2 ;
8161 PyObject * obj0 = 0 ;
8162 PyObject * obj1 = 0 ;
8163 char *kwnames[] = {
8164 (char *) "self",(char *) "count", NULL
8165 };
8166
8167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
8168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8169 arg2 = (size_t) PyInt_AsLong(obj1);
8170 if (PyErr_Occurred()) SWIG_fail;
8171 {
8172 PyThreadState* __tstate = wxPyBeginAllowThreads();
8173 (arg1)->SetLineCount(arg2);
8174
8175 wxPyEndAllowThreads(__tstate);
8176 if (PyErr_Occurred()) SWIG_fail;
8177 }
8178 Py_INCREF(Py_None); resultobj = Py_None;
8179 return resultobj;
8180 fail:
8181 return NULL;
8182 }
8183
8184
8185 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8186 PyObject *resultobj;
8187 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8188 size_t arg2 ;
8189 bool result;
8190 PyObject * obj0 = 0 ;
8191 PyObject * obj1 = 0 ;
8192 char *kwnames[] = {
8193 (char *) "self",(char *) "line", NULL
8194 };
8195
8196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
8197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8198 arg2 = (size_t) PyInt_AsLong(obj1);
8199 if (PyErr_Occurred()) SWIG_fail;
8200 {
8201 PyThreadState* __tstate = wxPyBeginAllowThreads();
8202 result = (bool)(arg1)->ScrollToLine(arg2);
8203
8204 wxPyEndAllowThreads(__tstate);
8205 if (PyErr_Occurred()) SWIG_fail;
8206 }
8207 resultobj = PyInt_FromLong((long)result);
8208 return resultobj;
8209 fail:
8210 return NULL;
8211 }
8212
8213
8214 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8215 PyObject *resultobj;
8216 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8217 int arg2 ;
8218 bool result;
8219 PyObject * obj0 = 0 ;
8220 char *kwnames[] = {
8221 (char *) "self",(char *) "lines", NULL
8222 };
8223
8224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollLines",kwnames,&obj0,&arg2)) goto fail;
8225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8226 {
8227 PyThreadState* __tstate = wxPyBeginAllowThreads();
8228 result = (bool)(arg1)->ScrollLines(arg2);
8229
8230 wxPyEndAllowThreads(__tstate);
8231 if (PyErr_Occurred()) SWIG_fail;
8232 }
8233 resultobj = PyInt_FromLong((long)result);
8234 return resultobj;
8235 fail:
8236 return NULL;
8237 }
8238
8239
8240 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
8241 PyObject *resultobj;
8242 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8243 int arg2 ;
8244 bool result;
8245 PyObject * obj0 = 0 ;
8246 char *kwnames[] = {
8247 (char *) "self",(char *) "pages", NULL
8248 };
8249
8250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollPages",kwnames,&obj0,&arg2)) goto fail;
8251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8252 {
8253 PyThreadState* __tstate = wxPyBeginAllowThreads();
8254 result = (bool)(arg1)->ScrollPages(arg2);
8255
8256 wxPyEndAllowThreads(__tstate);
8257 if (PyErr_Occurred()) SWIG_fail;
8258 }
8259 resultobj = PyInt_FromLong((long)result);
8260 return resultobj;
8261 fail:
8262 return NULL;
8263 }
8264
8265
8266 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8267 PyObject *resultobj;
8268 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8269 size_t arg2 ;
8270 PyObject * obj0 = 0 ;
8271 PyObject * obj1 = 0 ;
8272 char *kwnames[] = {
8273 (char *) "self",(char *) "line", NULL
8274 };
8275
8276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
8277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8278 arg2 = (size_t) PyInt_AsLong(obj1);
8279 if (PyErr_Occurred()) SWIG_fail;
8280 {
8281 PyThreadState* __tstate = wxPyBeginAllowThreads();
8282 (arg1)->RefreshLine(arg2);
8283
8284 wxPyEndAllowThreads(__tstate);
8285 if (PyErr_Occurred()) SWIG_fail;
8286 }
8287 Py_INCREF(Py_None); resultobj = Py_None;
8288 return resultobj;
8289 fail:
8290 return NULL;
8291 }
8292
8293
8294 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8295 PyObject *resultobj;
8296 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8297 size_t arg2 ;
8298 size_t arg3 ;
8299 PyObject * obj0 = 0 ;
8300 PyObject * obj1 = 0 ;
8301 PyObject * obj2 = 0 ;
8302 char *kwnames[] = {
8303 (char *) "self",(char *) "from",(char *) "to", NULL
8304 };
8305
8306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
8307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8308 arg2 = (size_t) PyInt_AsLong(obj1);
8309 if (PyErr_Occurred()) SWIG_fail;
8310 arg3 = (size_t) PyInt_AsLong(obj2);
8311 if (PyErr_Occurred()) SWIG_fail;
8312 {
8313 PyThreadState* __tstate = wxPyBeginAllowThreads();
8314 (arg1)->RefreshLines(arg2,arg3);
8315
8316 wxPyEndAllowThreads(__tstate);
8317 if (PyErr_Occurred()) SWIG_fail;
8318 }
8319 Py_INCREF(Py_None); resultobj = Py_None;
8320 return resultobj;
8321 fail:
8322 return NULL;
8323 }
8324
8325
8326 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
8327 PyObject *resultobj;
8328 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8329 int arg2 ;
8330 int arg3 ;
8331 int result;
8332 PyObject * obj0 = 0 ;
8333 char *kwnames[] = {
8334 (char *) "self",(char *) "x",(char *) "y", NULL
8335 };
8336
8337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VScrolledWindow_HitTestXT",kwnames,&obj0,&arg2,&arg3)) goto fail;
8338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8339 {
8340 PyThreadState* __tstate = wxPyBeginAllowThreads();
8341 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
8342
8343 wxPyEndAllowThreads(__tstate);
8344 if (PyErr_Occurred()) SWIG_fail;
8345 }
8346 resultobj = PyInt_FromLong((long)result);
8347 return resultobj;
8348 fail:
8349 return NULL;
8350 }
8351
8352
8353 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8354 PyObject *resultobj;
8355 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8356 wxPoint *arg2 = 0 ;
8357 int result;
8358 wxPoint temp2 ;
8359 PyObject * obj0 = 0 ;
8360 PyObject * obj1 = 0 ;
8361 char *kwnames[] = {
8362 (char *) "self",(char *) "pt", NULL
8363 };
8364
8365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
8366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8367 {
8368 arg2 = &temp2;
8369 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8370 }
8371 {
8372 PyThreadState* __tstate = wxPyBeginAllowThreads();
8373 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
8374
8375 wxPyEndAllowThreads(__tstate);
8376 if (PyErr_Occurred()) SWIG_fail;
8377 }
8378 resultobj = PyInt_FromLong((long)result);
8379 return resultobj;
8380 fail:
8381 return NULL;
8382 }
8383
8384
8385 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8386 PyObject *resultobj;
8387 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8388 PyObject * obj0 = 0 ;
8389 char *kwnames[] = {
8390 (char *) "self", NULL
8391 };
8392
8393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
8394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8395 {
8396 PyThreadState* __tstate = wxPyBeginAllowThreads();
8397 (arg1)->RefreshAll();
8398
8399 wxPyEndAllowThreads(__tstate);
8400 if (PyErr_Occurred()) SWIG_fail;
8401 }
8402 Py_INCREF(Py_None); resultobj = Py_None;
8403 return resultobj;
8404 fail:
8405 return NULL;
8406 }
8407
8408
8409 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8410 PyObject *resultobj;
8411 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8412 size_t result;
8413 PyObject * obj0 = 0 ;
8414 char *kwnames[] = {
8415 (char *) "self", NULL
8416 };
8417
8418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
8419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8420 {
8421 PyThreadState* __tstate = wxPyBeginAllowThreads();
8422 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
8423
8424 wxPyEndAllowThreads(__tstate);
8425 if (PyErr_Occurred()) SWIG_fail;
8426 }
8427 resultobj = PyInt_FromLong((long)result);
8428 return resultobj;
8429 fail:
8430 return NULL;
8431 }
8432
8433
8434 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8435 PyObject *resultobj;
8436 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8437 size_t result;
8438 PyObject * obj0 = 0 ;
8439 char *kwnames[] = {
8440 (char *) "self", NULL
8441 };
8442
8443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
8444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8445 {
8446 PyThreadState* __tstate = wxPyBeginAllowThreads();
8447 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
8448
8449 wxPyEndAllowThreads(__tstate);
8450 if (PyErr_Occurred()) SWIG_fail;
8451 }
8452 resultobj = PyInt_FromLong((long)result);
8453 return resultobj;
8454 fail:
8455 return NULL;
8456 }
8457
8458
8459 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8460 PyObject *resultobj;
8461 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8462 size_t result;
8463 PyObject * obj0 = 0 ;
8464 char *kwnames[] = {
8465 (char *) "self", NULL
8466 };
8467
8468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
8469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8470 {
8471 PyThreadState* __tstate = wxPyBeginAllowThreads();
8472 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
8473
8474 wxPyEndAllowThreads(__tstate);
8475 if (PyErr_Occurred()) SWIG_fail;
8476 }
8477 resultobj = PyInt_FromLong((long)result);
8478 return resultobj;
8479 fail:
8480 return NULL;
8481 }
8482
8483
8484 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8485 PyObject *resultobj;
8486 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8487 size_t arg2 ;
8488 bool result;
8489 PyObject * obj0 = 0 ;
8490 PyObject * obj1 = 0 ;
8491 char *kwnames[] = {
8492 (char *) "self",(char *) "line", NULL
8493 };
8494
8495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
8496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8497 arg2 = (size_t) PyInt_AsLong(obj1);
8498 if (PyErr_Occurred()) SWIG_fail;
8499 {
8500 PyThreadState* __tstate = wxPyBeginAllowThreads();
8501 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
8502
8503 wxPyEndAllowThreads(__tstate);
8504 if (PyErr_Occurred()) SWIG_fail;
8505 }
8506 resultobj = PyInt_FromLong((long)result);
8507 return resultobj;
8508 fail:
8509 return NULL;
8510 }
8511
8512
8513 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
8514 PyObject *obj;
8515 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8516 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
8517 Py_INCREF(obj);
8518 return Py_BuildValue((char *)"");
8519 }
8520 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8521 PyObject *resultobj;
8522 wxWindow *arg1 = (wxWindow *) 0 ;
8523 int arg2 = (int) wxID_ANY ;
8524 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8525 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8526 wxSize const &arg4_defvalue = wxDefaultSize ;
8527 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8528 long arg5 = (long) 0 ;
8529 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
8530 wxString *arg6 = (wxString *) &arg6_defvalue ;
8531 wxPyVListBox *result;
8532 wxPoint temp3 ;
8533 wxSize temp4 ;
8534 bool temp6 = False ;
8535 PyObject * obj0 = 0 ;
8536 PyObject * obj2 = 0 ;
8537 PyObject * obj3 = 0 ;
8538 PyObject * obj5 = 0 ;
8539 char *kwnames[] = {
8540 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8541 };
8542
8543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8545 if (obj2) {
8546 {
8547 arg3 = &temp3;
8548 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8549 }
8550 }
8551 if (obj3) {
8552 {
8553 arg4 = &temp4;
8554 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8555 }
8556 }
8557 if (obj5) {
8558 {
8559 arg6 = wxString_in_helper(obj5);
8560 if (arg6 == NULL) SWIG_fail;
8561 temp6 = True;
8562 }
8563 }
8564 {
8565 PyThreadState* __tstate = wxPyBeginAllowThreads();
8566 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8567
8568 wxPyEndAllowThreads(__tstate);
8569 if (PyErr_Occurred()) SWIG_fail;
8570 }
8571 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8572 {
8573 if (temp6)
8574 delete arg6;
8575 }
8576 return resultobj;
8577 fail:
8578 {
8579 if (temp6)
8580 delete arg6;
8581 }
8582 return NULL;
8583 }
8584
8585
8586 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8587 PyObject *resultobj;
8588 wxPyVListBox *result;
8589 char *kwnames[] = {
8590 NULL
8591 };
8592
8593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
8594 {
8595 PyThreadState* __tstate = wxPyBeginAllowThreads();
8596 result = (wxPyVListBox *)new wxPyVListBox();
8597
8598 wxPyEndAllowThreads(__tstate);
8599 if (PyErr_Occurred()) SWIG_fail;
8600 }
8601 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8602 return resultobj;
8603 fail:
8604 return NULL;
8605 }
8606
8607
8608 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8609 PyObject *resultobj;
8610 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8611 PyObject *arg2 = (PyObject *) 0 ;
8612 PyObject *arg3 = (PyObject *) 0 ;
8613 PyObject * obj0 = 0 ;
8614 PyObject * obj1 = 0 ;
8615 PyObject * obj2 = 0 ;
8616 char *kwnames[] = {
8617 (char *) "self",(char *) "self",(char *) "_class", NULL
8618 };
8619
8620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8622 arg2 = obj1;
8623 arg3 = obj2;
8624 {
8625 PyThreadState* __tstate = wxPyBeginAllowThreads();
8626 (arg1)->_setCallbackInfo(arg2,arg3);
8627
8628 wxPyEndAllowThreads(__tstate);
8629 if (PyErr_Occurred()) SWIG_fail;
8630 }
8631 Py_INCREF(Py_None); resultobj = Py_None;
8632 return resultobj;
8633 fail:
8634 return NULL;
8635 }
8636
8637
8638 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8639 PyObject *resultobj;
8640 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8641 wxWindow *arg2 = (wxWindow *) 0 ;
8642 int arg3 = (int) wxID_ANY ;
8643 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8644 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8645 wxSize const &arg5_defvalue = wxDefaultSize ;
8646 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8647 long arg6 = (long) 0 ;
8648 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
8649 wxString *arg7 = (wxString *) &arg7_defvalue ;
8650 bool result;
8651 wxPoint temp4 ;
8652 wxSize temp5 ;
8653 bool temp7 = False ;
8654 PyObject * obj0 = 0 ;
8655 PyObject * obj1 = 0 ;
8656 PyObject * obj3 = 0 ;
8657 PyObject * obj4 = 0 ;
8658 PyObject * obj6 = 0 ;
8659 char *kwnames[] = {
8660 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8661 };
8662
8663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8665 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8666 if (obj3) {
8667 {
8668 arg4 = &temp4;
8669 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8670 }
8671 }
8672 if (obj4) {
8673 {
8674 arg5 = &temp5;
8675 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8676 }
8677 }
8678 if (obj6) {
8679 {
8680 arg7 = wxString_in_helper(obj6);
8681 if (arg7 == NULL) SWIG_fail;
8682 temp7 = True;
8683 }
8684 }
8685 {
8686 PyThreadState* __tstate = wxPyBeginAllowThreads();
8687 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8688
8689 wxPyEndAllowThreads(__tstate);
8690 if (PyErr_Occurred()) SWIG_fail;
8691 }
8692 resultobj = PyInt_FromLong((long)result);
8693 {
8694 if (temp7)
8695 delete arg7;
8696 }
8697 return resultobj;
8698 fail:
8699 {
8700 if (temp7)
8701 delete arg7;
8702 }
8703 return NULL;
8704 }
8705
8706
8707 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8708 PyObject *resultobj;
8709 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8710 size_t result;
8711 PyObject * obj0 = 0 ;
8712 char *kwnames[] = {
8713 (char *) "self", NULL
8714 };
8715
8716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
8717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8718 {
8719 PyThreadState* __tstate = wxPyBeginAllowThreads();
8720 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
8721
8722 wxPyEndAllowThreads(__tstate);
8723 if (PyErr_Occurred()) SWIG_fail;
8724 }
8725 resultobj = PyInt_FromLong((long)result);
8726 return resultobj;
8727 fail:
8728 return NULL;
8729 }
8730
8731
8732 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8733 PyObject *resultobj;
8734 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8735 bool result;
8736 PyObject * obj0 = 0 ;
8737 char *kwnames[] = {
8738 (char *) "self", NULL
8739 };
8740
8741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
8742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8743 {
8744 PyThreadState* __tstate = wxPyBeginAllowThreads();
8745 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
8746
8747 wxPyEndAllowThreads(__tstate);
8748 if (PyErr_Occurred()) SWIG_fail;
8749 }
8750 resultobj = PyInt_FromLong((long)result);
8751 return resultobj;
8752 fail:
8753 return NULL;
8754 }
8755
8756
8757 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8758 PyObject *resultobj;
8759 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8760 int result;
8761 PyObject * obj0 = 0 ;
8762 char *kwnames[] = {
8763 (char *) "self", NULL
8764 };
8765
8766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
8767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8768 {
8769 PyThreadState* __tstate = wxPyBeginAllowThreads();
8770 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
8771
8772 wxPyEndAllowThreads(__tstate);
8773 if (PyErr_Occurred()) SWIG_fail;
8774 }
8775 resultobj = PyInt_FromLong((long)result);
8776 return resultobj;
8777 fail:
8778 return NULL;
8779 }
8780
8781
8782 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
8783 PyObject *resultobj;
8784 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8785 size_t arg2 ;
8786 bool result;
8787 PyObject * obj0 = 0 ;
8788 PyObject * obj1 = 0 ;
8789 char *kwnames[] = {
8790 (char *) "self",(char *) "item", NULL
8791 };
8792
8793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
8794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8795 arg2 = (size_t) PyInt_AsLong(obj1);
8796 if (PyErr_Occurred()) SWIG_fail;
8797 {
8798 PyThreadState* __tstate = wxPyBeginAllowThreads();
8799 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
8800
8801 wxPyEndAllowThreads(__tstate);
8802 if (PyErr_Occurred()) SWIG_fail;
8803 }
8804 resultobj = PyInt_FromLong((long)result);
8805 return resultobj;
8806 fail:
8807 return NULL;
8808 }
8809
8810
8811 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8812 PyObject *resultobj;
8813 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8814 size_t arg2 ;
8815 bool result;
8816 PyObject * obj0 = 0 ;
8817 PyObject * obj1 = 0 ;
8818 char *kwnames[] = {
8819 (char *) "self",(char *) "item", NULL
8820 };
8821
8822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
8823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8824 arg2 = (size_t) PyInt_AsLong(obj1);
8825 if (PyErr_Occurred()) SWIG_fail;
8826 {
8827 PyThreadState* __tstate = wxPyBeginAllowThreads();
8828 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
8829
8830 wxPyEndAllowThreads(__tstate);
8831 if (PyErr_Occurred()) SWIG_fail;
8832 }
8833 resultobj = PyInt_FromLong((long)result);
8834 return resultobj;
8835 fail:
8836 return NULL;
8837 }
8838
8839
8840 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8841 PyObject *resultobj;
8842 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8843 size_t result;
8844 PyObject * obj0 = 0 ;
8845 char *kwnames[] = {
8846 (char *) "self", NULL
8847 };
8848
8849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
8850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8851 {
8852 PyThreadState* __tstate = wxPyBeginAllowThreads();
8853 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
8854
8855 wxPyEndAllowThreads(__tstate);
8856 if (PyErr_Occurred()) SWIG_fail;
8857 }
8858 resultobj = PyInt_FromLong((long)result);
8859 return resultobj;
8860 fail:
8861 return NULL;
8862 }
8863
8864
8865 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8866 PyObject *resultobj;
8867 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8868 unsigned long *arg2 = 0 ;
8869 int result;
8870 PyObject * obj0 = 0 ;
8871 PyObject * obj1 = 0 ;
8872 char *kwnames[] = {
8873 (char *) "self",(char *) "cookie", NULL
8874 };
8875
8876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
8877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8878 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8879 if (arg2 == NULL) {
8880 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8881 }
8882 {
8883 PyThreadState* __tstate = wxPyBeginAllowThreads();
8884 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
8885
8886 wxPyEndAllowThreads(__tstate);
8887 if (PyErr_Occurred()) SWIG_fail;
8888 }
8889 resultobj = PyInt_FromLong((long)result);
8890 return resultobj;
8891 fail:
8892 return NULL;
8893 }
8894
8895
8896 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8897 PyObject *resultobj;
8898 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8899 unsigned long *arg2 = 0 ;
8900 int result;
8901 PyObject * obj0 = 0 ;
8902 PyObject * obj1 = 0 ;
8903 char *kwnames[] = {
8904 (char *) "self",(char *) "cookie", NULL
8905 };
8906
8907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
8908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8909 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8910 if (arg2 == NULL) {
8911 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8912 }
8913 {
8914 PyThreadState* __tstate = wxPyBeginAllowThreads();
8915 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
8916
8917 wxPyEndAllowThreads(__tstate);
8918 if (PyErr_Occurred()) SWIG_fail;
8919 }
8920 resultobj = PyInt_FromLong((long)result);
8921 return resultobj;
8922 fail:
8923 return NULL;
8924 }
8925
8926
8927 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
8928 PyObject *resultobj;
8929 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8930 wxPoint result;
8931 PyObject * obj0 = 0 ;
8932 char *kwnames[] = {
8933 (char *) "self", NULL
8934 };
8935
8936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
8937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8938 {
8939 PyThreadState* __tstate = wxPyBeginAllowThreads();
8940 result = ((wxPyVListBox const *)arg1)->GetMargins();
8941
8942 wxPyEndAllowThreads(__tstate);
8943 if (PyErr_Occurred()) SWIG_fail;
8944 }
8945 {
8946 wxPoint * resultptr;
8947 resultptr = new wxPoint((wxPoint &) result);
8948 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
8949 }
8950 return resultobj;
8951 fail:
8952 return NULL;
8953 }
8954
8955
8956 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8957 PyObject *resultobj;
8958 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8959 wxColour *result;
8960 PyObject * obj0 = 0 ;
8961 char *kwnames[] = {
8962 (char *) "self", NULL
8963 };
8964
8965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
8966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8967 {
8968 PyThreadState* __tstate = wxPyBeginAllowThreads();
8969 {
8970 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
8971 result = (wxColour *) &_result_ref;
8972 }
8973
8974 wxPyEndAllowThreads(__tstate);
8975 if (PyErr_Occurred()) SWIG_fail;
8976 }
8977 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
8978 return resultobj;
8979 fail:
8980 return NULL;
8981 }
8982
8983
8984 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8985 PyObject *resultobj;
8986 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8987 size_t arg2 ;
8988 PyObject * obj0 = 0 ;
8989 PyObject * obj1 = 0 ;
8990 char *kwnames[] = {
8991 (char *) "self",(char *) "count", NULL
8992 };
8993
8994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
8995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8996 arg2 = (size_t) PyInt_AsLong(obj1);
8997 if (PyErr_Occurred()) SWIG_fail;
8998 {
8999 PyThreadState* __tstate = wxPyBeginAllowThreads();
9000 (arg1)->SetItemCount(arg2);
9001
9002 wxPyEndAllowThreads(__tstate);
9003 if (PyErr_Occurred()) SWIG_fail;
9004 }
9005 Py_INCREF(Py_None); resultobj = Py_None;
9006 return resultobj;
9007 fail:
9008 return NULL;
9009 }
9010
9011
9012 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
9013 PyObject *resultobj;
9014 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9015 PyObject * obj0 = 0 ;
9016 char *kwnames[] = {
9017 (char *) "self", NULL
9018 };
9019
9020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
9021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9022 {
9023 PyThreadState* __tstate = wxPyBeginAllowThreads();
9024 (arg1)->Clear();
9025
9026 wxPyEndAllowThreads(__tstate);
9027 if (PyErr_Occurred()) SWIG_fail;
9028 }
9029 Py_INCREF(Py_None); resultobj = Py_None;
9030 return resultobj;
9031 fail:
9032 return NULL;
9033 }
9034
9035
9036 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9037 PyObject *resultobj;
9038 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9039 int arg2 ;
9040 PyObject * obj0 = 0 ;
9041 char *kwnames[] = {
9042 (char *) "self",(char *) "selection", NULL
9043 };
9044
9045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VListBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
9046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9047 {
9048 PyThreadState* __tstate = wxPyBeginAllowThreads();
9049 (arg1)->SetSelection(arg2);
9050
9051 wxPyEndAllowThreads(__tstate);
9052 if (PyErr_Occurred()) SWIG_fail;
9053 }
9054 Py_INCREF(Py_None); resultobj = Py_None;
9055 return resultobj;
9056 fail:
9057 return NULL;
9058 }
9059
9060
9061 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
9062 PyObject *resultobj;
9063 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9064 size_t arg2 ;
9065 bool arg3 = (bool) True ;
9066 bool result;
9067 PyObject * obj0 = 0 ;
9068 PyObject * obj1 = 0 ;
9069 PyObject * obj2 = 0 ;
9070 char *kwnames[] = {
9071 (char *) "self",(char *) "item",(char *) "select", NULL
9072 };
9073
9074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
9075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9076 arg2 = (size_t) PyInt_AsLong(obj1);
9077 if (PyErr_Occurred()) SWIG_fail;
9078 if (obj2) {
9079 arg3 = PyInt_AsLong(obj2) ? true : false;
9080 if (PyErr_Occurred()) SWIG_fail;
9081 }
9082 {
9083 PyThreadState* __tstate = wxPyBeginAllowThreads();
9084 result = (bool)(arg1)->Select(arg2,arg3);
9085
9086 wxPyEndAllowThreads(__tstate);
9087 if (PyErr_Occurred()) SWIG_fail;
9088 }
9089 resultobj = PyInt_FromLong((long)result);
9090 return resultobj;
9091 fail:
9092 return NULL;
9093 }
9094
9095
9096 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9097 PyObject *resultobj;
9098 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9099 size_t arg2 ;
9100 size_t arg3 ;
9101 bool result;
9102 PyObject * obj0 = 0 ;
9103 PyObject * obj1 = 0 ;
9104 PyObject * obj2 = 0 ;
9105 char *kwnames[] = {
9106 (char *) "self",(char *) "from",(char *) "to", NULL
9107 };
9108
9109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
9110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9111 arg2 = (size_t) PyInt_AsLong(obj1);
9112 if (PyErr_Occurred()) SWIG_fail;
9113 arg3 = (size_t) PyInt_AsLong(obj2);
9114 if (PyErr_Occurred()) SWIG_fail;
9115 {
9116 PyThreadState* __tstate = wxPyBeginAllowThreads();
9117 result = (bool)(arg1)->SelectRange(arg2,arg3);
9118
9119 wxPyEndAllowThreads(__tstate);
9120 if (PyErr_Occurred()) SWIG_fail;
9121 }
9122 resultobj = PyInt_FromLong((long)result);
9123 return resultobj;
9124 fail:
9125 return NULL;
9126 }
9127
9128
9129 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
9130 PyObject *resultobj;
9131 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9132 size_t arg2 ;
9133 PyObject * obj0 = 0 ;
9134 PyObject * obj1 = 0 ;
9135 char *kwnames[] = {
9136 (char *) "self",(char *) "item", NULL
9137 };
9138
9139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
9140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9141 arg2 = (size_t) PyInt_AsLong(obj1);
9142 if (PyErr_Occurred()) SWIG_fail;
9143 {
9144 PyThreadState* __tstate = wxPyBeginAllowThreads();
9145 (arg1)->Toggle(arg2);
9146
9147 wxPyEndAllowThreads(__tstate);
9148 if (PyErr_Occurred()) SWIG_fail;
9149 }
9150 Py_INCREF(Py_None); resultobj = Py_None;
9151 return resultobj;
9152 fail:
9153 return NULL;
9154 }
9155
9156
9157 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9158 PyObject *resultobj;
9159 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9160 bool result;
9161 PyObject * obj0 = 0 ;
9162 char *kwnames[] = {
9163 (char *) "self", NULL
9164 };
9165
9166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
9167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9168 {
9169 PyThreadState* __tstate = wxPyBeginAllowThreads();
9170 result = (bool)(arg1)->SelectAll();
9171
9172 wxPyEndAllowThreads(__tstate);
9173 if (PyErr_Occurred()) SWIG_fail;
9174 }
9175 resultobj = PyInt_FromLong((long)result);
9176 return resultobj;
9177 fail:
9178 return NULL;
9179 }
9180
9181
9182 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9183 PyObject *resultobj;
9184 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9185 bool result;
9186 PyObject * obj0 = 0 ;
9187 char *kwnames[] = {
9188 (char *) "self", NULL
9189 };
9190
9191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
9192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9193 {
9194 PyThreadState* __tstate = wxPyBeginAllowThreads();
9195 result = (bool)(arg1)->DeselectAll();
9196
9197 wxPyEndAllowThreads(__tstate);
9198 if (PyErr_Occurred()) SWIG_fail;
9199 }
9200 resultobj = PyInt_FromLong((long)result);
9201 return resultobj;
9202 fail:
9203 return NULL;
9204 }
9205
9206
9207 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9208 PyObject *resultobj;
9209 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9210 wxPoint *arg2 = 0 ;
9211 wxPoint temp2 ;
9212 PyObject * obj0 = 0 ;
9213 PyObject * obj1 = 0 ;
9214 char *kwnames[] = {
9215 (char *) "self",(char *) "pt", NULL
9216 };
9217
9218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
9219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9220 {
9221 arg2 = &temp2;
9222 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9223 }
9224 {
9225 PyThreadState* __tstate = wxPyBeginAllowThreads();
9226 (arg1)->SetMargins((wxPoint const &)*arg2);
9227
9228 wxPyEndAllowThreads(__tstate);
9229 if (PyErr_Occurred()) SWIG_fail;
9230 }
9231 Py_INCREF(Py_None); resultobj = Py_None;
9232 return resultobj;
9233 fail:
9234 return NULL;
9235 }
9236
9237
9238 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
9239 PyObject *resultobj;
9240 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9241 int arg2 ;
9242 int arg3 ;
9243 PyObject * obj0 = 0 ;
9244 char *kwnames[] = {
9245 (char *) "self",(char *) "x",(char *) "y", NULL
9246 };
9247
9248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VListBox_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
9249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9250 {
9251 PyThreadState* __tstate = wxPyBeginAllowThreads();
9252 (arg1)->SetMargins(arg2,arg3);
9253
9254 wxPyEndAllowThreads(__tstate);
9255 if (PyErr_Occurred()) SWIG_fail;
9256 }
9257 Py_INCREF(Py_None); resultobj = Py_None;
9258 return resultobj;
9259 fail:
9260 return NULL;
9261 }
9262
9263
9264 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9265 PyObject *resultobj;
9266 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9267 wxColour *arg2 = 0 ;
9268 wxColour temp2 ;
9269 PyObject * obj0 = 0 ;
9270 PyObject * obj1 = 0 ;
9271 char *kwnames[] = {
9272 (char *) "self",(char *) "col", NULL
9273 };
9274
9275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
9276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9277 {
9278 arg2 = &temp2;
9279 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9280 }
9281 {
9282 PyThreadState* __tstate = wxPyBeginAllowThreads();
9283 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
9284
9285 wxPyEndAllowThreads(__tstate);
9286 if (PyErr_Occurred()) SWIG_fail;
9287 }
9288 Py_INCREF(Py_None); resultobj = Py_None;
9289 return resultobj;
9290 fail:
9291 return NULL;
9292 }
9293
9294
9295 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
9296 PyObject *obj;
9297 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9298 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
9299 Py_INCREF(obj);
9300 return Py_BuildValue((char *)"");
9301 }
9302 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9303 PyObject *resultobj;
9304 wxWindow *arg1 = (wxWindow *) 0 ;
9305 int arg2 = (int) wxID_ANY ;
9306 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9307 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9308 wxSize const &arg4_defvalue = wxDefaultSize ;
9309 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9310 long arg5 = (long) 0 ;
9311 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9312 wxString *arg6 = (wxString *) &arg6_defvalue ;
9313 wxPyHtmlListBox *result;
9314 wxPoint temp3 ;
9315 wxSize temp4 ;
9316 bool temp6 = False ;
9317 PyObject * obj0 = 0 ;
9318 PyObject * obj2 = 0 ;
9319 PyObject * obj3 = 0 ;
9320 PyObject * obj5 = 0 ;
9321 char *kwnames[] = {
9322 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9323 };
9324
9325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_HtmlListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
9326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9327 if (obj2) {
9328 {
9329 arg3 = &temp3;
9330 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9331 }
9332 }
9333 if (obj3) {
9334 {
9335 arg4 = &temp4;
9336 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9337 }
9338 }
9339 if (obj5) {
9340 {
9341 arg6 = wxString_in_helper(obj5);
9342 if (arg6 == NULL) SWIG_fail;
9343 temp6 = True;
9344 }
9345 }
9346 {
9347 PyThreadState* __tstate = wxPyBeginAllowThreads();
9348 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9349
9350 wxPyEndAllowThreads(__tstate);
9351 if (PyErr_Occurred()) SWIG_fail;
9352 }
9353 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
9354 {
9355 if (temp6)
9356 delete arg6;
9357 }
9358 return resultobj;
9359 fail:
9360 {
9361 if (temp6)
9362 delete arg6;
9363 }
9364 return NULL;
9365 }
9366
9367
9368 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9369 PyObject *resultobj;
9370 wxPyHtmlListBox *result;
9371 char *kwnames[] = {
9372 NULL
9373 };
9374
9375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
9376 {
9377 PyThreadState* __tstate = wxPyBeginAllowThreads();
9378 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
9379
9380 wxPyEndAllowThreads(__tstate);
9381 if (PyErr_Occurred()) SWIG_fail;
9382 }
9383 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
9384 return resultobj;
9385 fail:
9386 return NULL;
9387 }
9388
9389
9390 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9391 PyObject *resultobj;
9392 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9393 PyObject *arg2 = (PyObject *) 0 ;
9394 PyObject *arg3 = (PyObject *) 0 ;
9395 PyObject * obj0 = 0 ;
9396 PyObject * obj1 = 0 ;
9397 PyObject * obj2 = 0 ;
9398 char *kwnames[] = {
9399 (char *) "self",(char *) "self",(char *) "_class", NULL
9400 };
9401
9402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9404 arg2 = obj1;
9405 arg3 = obj2;
9406 {
9407 PyThreadState* __tstate = wxPyBeginAllowThreads();
9408 (arg1)->_setCallbackInfo(arg2,arg3);
9409
9410 wxPyEndAllowThreads(__tstate);
9411 if (PyErr_Occurred()) SWIG_fail;
9412 }
9413 Py_INCREF(Py_None); resultobj = Py_None;
9414 return resultobj;
9415 fail:
9416 return NULL;
9417 }
9418
9419
9420 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9421 PyObject *resultobj;
9422 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9423 wxWindow *arg2 = (wxWindow *) 0 ;
9424 int arg3 = (int) wxID_ANY ;
9425 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9426 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9427 wxSize const &arg5_defvalue = wxDefaultSize ;
9428 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9429 long arg6 = (long) 0 ;
9430 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9431 wxString *arg7 = (wxString *) &arg7_defvalue ;
9432 bool result;
9433 wxPoint temp4 ;
9434 wxSize temp5 ;
9435 bool temp7 = False ;
9436 PyObject * obj0 = 0 ;
9437 PyObject * obj1 = 0 ;
9438 PyObject * obj3 = 0 ;
9439 PyObject * obj4 = 0 ;
9440 PyObject * obj6 = 0 ;
9441 char *kwnames[] = {
9442 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9443 };
9444
9445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:HtmlListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
9446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9447 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9448 if (obj3) {
9449 {
9450 arg4 = &temp4;
9451 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9452 }
9453 }
9454 if (obj4) {
9455 {
9456 arg5 = &temp5;
9457 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9458 }
9459 }
9460 if (obj6) {
9461 {
9462 arg7 = wxString_in_helper(obj6);
9463 if (arg7 == NULL) SWIG_fail;
9464 temp7 = True;
9465 }
9466 }
9467 {
9468 PyThreadState* __tstate = wxPyBeginAllowThreads();
9469 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9470
9471 wxPyEndAllowThreads(__tstate);
9472 if (PyErr_Occurred()) SWIG_fail;
9473 }
9474 resultobj = PyInt_FromLong((long)result);
9475 {
9476 if (temp7)
9477 delete arg7;
9478 }
9479 return resultobj;
9480 fail:
9481 {
9482 if (temp7)
9483 delete arg7;
9484 }
9485 return NULL;
9486 }
9487
9488
9489 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9490 PyObject *resultobj;
9491 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9492 PyObject * obj0 = 0 ;
9493 char *kwnames[] = {
9494 (char *) "self", NULL
9495 };
9496
9497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
9498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9499 {
9500 PyThreadState* __tstate = wxPyBeginAllowThreads();
9501 (arg1)->RefreshAll();
9502
9503 wxPyEndAllowThreads(__tstate);
9504 if (PyErr_Occurred()) SWIG_fail;
9505 }
9506 Py_INCREF(Py_None); resultobj = Py_None;
9507 return resultobj;
9508 fail:
9509 return NULL;
9510 }
9511
9512
9513 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9514 PyObject *resultobj;
9515 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9516 size_t arg2 ;
9517 PyObject * obj0 = 0 ;
9518 PyObject * obj1 = 0 ;
9519 char *kwnames[] = {
9520 (char *) "self",(char *) "count", NULL
9521 };
9522
9523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9525 arg2 = (size_t) PyInt_AsLong(obj1);
9526 if (PyErr_Occurred()) SWIG_fail;
9527 {
9528 PyThreadState* __tstate = wxPyBeginAllowThreads();
9529 (arg1)->SetItemCount(arg2);
9530
9531 wxPyEndAllowThreads(__tstate);
9532 if (PyErr_Occurred()) SWIG_fail;
9533 }
9534 Py_INCREF(Py_None); resultobj = Py_None;
9535 return resultobj;
9536 fail:
9537 return NULL;
9538 }
9539
9540
9541 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
9542 PyObject *obj;
9543 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9544 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
9545 Py_INCREF(obj);
9546 return Py_BuildValue((char *)"");
9547 }
9548 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9549 PyObject *resultobj;
9550 wxTaskBarIcon *result;
9551 char *kwnames[] = {
9552 NULL
9553 };
9554
9555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
9556 {
9557 PyThreadState* __tstate = wxPyBeginAllowThreads();
9558 result = (wxTaskBarIcon *)new wxTaskBarIcon();
9559
9560 wxPyEndAllowThreads(__tstate);
9561 if (PyErr_Occurred()) SWIG_fail;
9562 }
9563 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIcon, 1);
9564 return resultobj;
9565 fail:
9566 return NULL;
9567 }
9568
9569
9570 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9571 PyObject *resultobj;
9572 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9573 PyObject * obj0 = 0 ;
9574 char *kwnames[] = {
9575 (char *) "self", NULL
9576 };
9577
9578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
9579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9580 {
9581 PyThreadState* __tstate = wxPyBeginAllowThreads();
9582 delete arg1;
9583
9584 wxPyEndAllowThreads(__tstate);
9585 if (PyErr_Occurred()) SWIG_fail;
9586 }
9587 Py_INCREF(Py_None); resultobj = Py_None;
9588 return resultobj;
9589 fail:
9590 return NULL;
9591 }
9592
9593
9594 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
9595 PyObject *resultobj;
9596 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9597 bool result;
9598 PyObject * obj0 = 0 ;
9599 char *kwnames[] = {
9600 (char *) "self", NULL
9601 };
9602
9603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
9604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9605 {
9606 PyThreadState* __tstate = wxPyBeginAllowThreads();
9607 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
9608
9609 wxPyEndAllowThreads(__tstate);
9610 if (PyErr_Occurred()) SWIG_fail;
9611 }
9612 resultobj = PyInt_FromLong((long)result);
9613 return resultobj;
9614 fail:
9615 return NULL;
9616 }
9617
9618
9619 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
9620 PyObject *resultobj;
9621 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9622 bool result;
9623 PyObject * obj0 = 0 ;
9624 char *kwnames[] = {
9625 (char *) "self", NULL
9626 };
9627
9628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
9629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9630 {
9631 PyThreadState* __tstate = wxPyBeginAllowThreads();
9632 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
9633
9634 wxPyEndAllowThreads(__tstate);
9635 if (PyErr_Occurred()) SWIG_fail;
9636 }
9637 resultobj = PyInt_FromLong((long)result);
9638 return resultobj;
9639 fail:
9640 return NULL;
9641 }
9642
9643
9644 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9645 PyObject *resultobj;
9646 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9647 wxIcon *arg2 = 0 ;
9648 wxString const &arg3_defvalue = wxPyEmptyString ;
9649 wxString *arg3 = (wxString *) &arg3_defvalue ;
9650 bool result;
9651 bool temp3 = False ;
9652 PyObject * obj0 = 0 ;
9653 PyObject * obj1 = 0 ;
9654 PyObject * obj2 = 0 ;
9655 char *kwnames[] = {
9656 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
9657 };
9658
9659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
9660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9661 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9662 if (arg2 == NULL) {
9663 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9664 }
9665 if (obj2) {
9666 {
9667 arg3 = wxString_in_helper(obj2);
9668 if (arg3 == NULL) SWIG_fail;
9669 temp3 = True;
9670 }
9671 }
9672 {
9673 PyThreadState* __tstate = wxPyBeginAllowThreads();
9674 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
9675
9676 wxPyEndAllowThreads(__tstate);
9677 if (PyErr_Occurred()) SWIG_fail;
9678 }
9679 resultobj = PyInt_FromLong((long)result);
9680 {
9681 if (temp3)
9682 delete arg3;
9683 }
9684 return resultobj;
9685 fail:
9686 {
9687 if (temp3)
9688 delete arg3;
9689 }
9690 return NULL;
9691 }
9692
9693
9694 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9695 PyObject *resultobj;
9696 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9697 bool result;
9698 PyObject * obj0 = 0 ;
9699 char *kwnames[] = {
9700 (char *) "self", NULL
9701 };
9702
9703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
9704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9705 {
9706 PyThreadState* __tstate = wxPyBeginAllowThreads();
9707 result = (bool)(arg1)->RemoveIcon();
9708
9709 wxPyEndAllowThreads(__tstate);
9710 if (PyErr_Occurred()) SWIG_fail;
9711 }
9712 resultobj = PyInt_FromLong((long)result);
9713 return resultobj;
9714 fail:
9715 return NULL;
9716 }
9717
9718
9719 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
9720 PyObject *resultobj;
9721 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9722 wxMenu *arg2 = (wxMenu *) 0 ;
9723 bool result;
9724 PyObject * obj0 = 0 ;
9725 PyObject * obj1 = 0 ;
9726 char *kwnames[] = {
9727 (char *) "self",(char *) "menu", NULL
9728 };
9729
9730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
9731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9732 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9733 {
9734 PyThreadState* __tstate = wxPyBeginAllowThreads();
9735 result = (bool)(arg1)->PopupMenu(arg2);
9736
9737 wxPyEndAllowThreads(__tstate);
9738 if (PyErr_Occurred()) SWIG_fail;
9739 }
9740 resultobj = PyInt_FromLong((long)result);
9741 return resultobj;
9742 fail:
9743 return NULL;
9744 }
9745
9746
9747 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
9748 PyObject *obj;
9749 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9750 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
9751 Py_INCREF(obj);
9752 return Py_BuildValue((char *)"");
9753 }
9754 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9755 PyObject *resultobj;
9756 wxEventType arg1 ;
9757 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
9758 wxTaskBarIconEvent *result;
9759 PyObject * obj1 = 0 ;
9760 char *kwnames[] = {
9761 (char *) "evtType",(char *) "tbIcon", NULL
9762 };
9763
9764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iO:new_TaskBarIconEvent",kwnames,&arg1,&obj1)) goto fail;
9765 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9766 {
9767 PyThreadState* __tstate = wxPyBeginAllowThreads();
9768 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
9769
9770 wxPyEndAllowThreads(__tstate);
9771 if (PyErr_Occurred()) SWIG_fail;
9772 }
9773 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIconEvent, 1);
9774 return resultobj;
9775 fail:
9776 return NULL;
9777 }
9778
9779
9780 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
9781 PyObject *obj;
9782 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9783 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
9784 Py_INCREF(obj);
9785 return Py_BuildValue((char *)"");
9786 }
9787 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9788 PyObject *resultobj;
9789 wxColourData *result;
9790 char *kwnames[] = {
9791 NULL
9792 };
9793
9794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
9795 {
9796 PyThreadState* __tstate = wxPyBeginAllowThreads();
9797 result = (wxColourData *)new wxColourData();
9798
9799 wxPyEndAllowThreads(__tstate);
9800 if (PyErr_Occurred()) SWIG_fail;
9801 }
9802 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 1);
9803 return resultobj;
9804 fail:
9805 return NULL;
9806 }
9807
9808
9809 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9810 PyObject *resultobj;
9811 wxColourData *arg1 = (wxColourData *) 0 ;
9812 PyObject * obj0 = 0 ;
9813 char *kwnames[] = {
9814 (char *) "self", NULL
9815 };
9816
9817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
9818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9819 {
9820 PyThreadState* __tstate = wxPyBeginAllowThreads();
9821 delete arg1;
9822
9823 wxPyEndAllowThreads(__tstate);
9824 if (PyErr_Occurred()) SWIG_fail;
9825 }
9826 Py_INCREF(Py_None); resultobj = Py_None;
9827 return resultobj;
9828 fail:
9829 return NULL;
9830 }
9831
9832
9833 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9834 PyObject *resultobj;
9835 wxColourData *arg1 = (wxColourData *) 0 ;
9836 bool result;
9837 PyObject * obj0 = 0 ;
9838 char *kwnames[] = {
9839 (char *) "self", NULL
9840 };
9841
9842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
9843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9844 {
9845 PyThreadState* __tstate = wxPyBeginAllowThreads();
9846 result = (bool)(arg1)->GetChooseFull();
9847
9848 wxPyEndAllowThreads(__tstate);
9849 if (PyErr_Occurred()) SWIG_fail;
9850 }
9851 resultobj = PyInt_FromLong((long)result);
9852 return resultobj;
9853 fail:
9854 return NULL;
9855 }
9856
9857
9858 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9859 PyObject *resultobj;
9860 wxColourData *arg1 = (wxColourData *) 0 ;
9861 wxColour result;
9862 PyObject * obj0 = 0 ;
9863 char *kwnames[] = {
9864 (char *) "self", NULL
9865 };
9866
9867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
9868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9869 {
9870 PyThreadState* __tstate = wxPyBeginAllowThreads();
9871 result = (arg1)->GetColour();
9872
9873 wxPyEndAllowThreads(__tstate);
9874 if (PyErr_Occurred()) SWIG_fail;
9875 }
9876 {
9877 wxColour * resultptr;
9878 resultptr = new wxColour((wxColour &) result);
9879 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9880 }
9881 return resultobj;
9882 fail:
9883 return NULL;
9884 }
9885
9886
9887 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9888 PyObject *resultobj;
9889 wxColourData *arg1 = (wxColourData *) 0 ;
9890 int arg2 ;
9891 wxColour result;
9892 PyObject * obj0 = 0 ;
9893 char *kwnames[] = {
9894 (char *) "self",(char *) "i", NULL
9895 };
9896
9897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_GetCustomColour",kwnames,&obj0,&arg2)) goto fail;
9898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9899 {
9900 PyThreadState* __tstate = wxPyBeginAllowThreads();
9901 result = (arg1)->GetCustomColour(arg2);
9902
9903 wxPyEndAllowThreads(__tstate);
9904 if (PyErr_Occurred()) SWIG_fail;
9905 }
9906 {
9907 wxColour * resultptr;
9908 resultptr = new wxColour((wxColour &) result);
9909 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9910 }
9911 return resultobj;
9912 fail:
9913 return NULL;
9914 }
9915
9916
9917 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9918 PyObject *resultobj;
9919 wxColourData *arg1 = (wxColourData *) 0 ;
9920 int arg2 ;
9921 PyObject * obj0 = 0 ;
9922 char *kwnames[] = {
9923 (char *) "self",(char *) "flag", NULL
9924 };
9925
9926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_SetChooseFull",kwnames,&obj0,&arg2)) goto fail;
9927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9928 {
9929 PyThreadState* __tstate = wxPyBeginAllowThreads();
9930 (arg1)->SetChooseFull(arg2);
9931
9932 wxPyEndAllowThreads(__tstate);
9933 if (PyErr_Occurred()) SWIG_fail;
9934 }
9935 Py_INCREF(Py_None); resultobj = Py_None;
9936 return resultobj;
9937 fail:
9938 return NULL;
9939 }
9940
9941
9942 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9943 PyObject *resultobj;
9944 wxColourData *arg1 = (wxColourData *) 0 ;
9945 wxColour *arg2 = 0 ;
9946 wxColour temp2 ;
9947 PyObject * obj0 = 0 ;
9948 PyObject * obj1 = 0 ;
9949 char *kwnames[] = {
9950 (char *) "self",(char *) "colour", NULL
9951 };
9952
9953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
9954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9955 {
9956 arg2 = &temp2;
9957 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9958 }
9959 {
9960 PyThreadState* __tstate = wxPyBeginAllowThreads();
9961 (arg1)->SetColour((wxColour const &)*arg2);
9962
9963 wxPyEndAllowThreads(__tstate);
9964 if (PyErr_Occurred()) SWIG_fail;
9965 }
9966 Py_INCREF(Py_None); resultobj = Py_None;
9967 return resultobj;
9968 fail:
9969 return NULL;
9970 }
9971
9972
9973 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9974 PyObject *resultobj;
9975 wxColourData *arg1 = (wxColourData *) 0 ;
9976 int arg2 ;
9977 wxColour *arg3 = 0 ;
9978 wxColour temp3 ;
9979 PyObject * obj0 = 0 ;
9980 PyObject * obj2 = 0 ;
9981 char *kwnames[] = {
9982 (char *) "self",(char *) "i",(char *) "colour", NULL
9983 };
9984
9985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ColourData_SetCustomColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
9986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9987 {
9988 arg3 = &temp3;
9989 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9990 }
9991 {
9992 PyThreadState* __tstate = wxPyBeginAllowThreads();
9993 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
9994
9995 wxPyEndAllowThreads(__tstate);
9996 if (PyErr_Occurred()) SWIG_fail;
9997 }
9998 Py_INCREF(Py_None); resultobj = Py_None;
9999 return resultobj;
10000 fail:
10001 return NULL;
10002 }
10003
10004
10005 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
10006 PyObject *obj;
10007 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10008 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
10009 Py_INCREF(obj);
10010 return Py_BuildValue((char *)"");
10011 }
10012 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10013 PyObject *resultobj;
10014 wxWindow *arg1 = (wxWindow *) 0 ;
10015 wxColourData *arg2 = (wxColourData *) NULL ;
10016 wxColourDialog *result;
10017 PyObject * obj0 = 0 ;
10018 PyObject * obj1 = 0 ;
10019 char *kwnames[] = {
10020 (char *) "parent",(char *) "data", NULL
10021 };
10022
10023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
10024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10025 if (obj1) {
10026 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10027 }
10028 {
10029 PyThreadState* __tstate = wxPyBeginAllowThreads();
10030 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
10031
10032 wxPyEndAllowThreads(__tstate);
10033 if (PyErr_Occurred()) SWIG_fail;
10034 }
10035 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourDialog, 1);
10036 return resultobj;
10037 fail:
10038 return NULL;
10039 }
10040
10041
10042 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10043 PyObject *resultobj;
10044 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
10045 wxColourData *result;
10046 PyObject * obj0 = 0 ;
10047 char *kwnames[] = {
10048 (char *) "self", NULL
10049 };
10050
10051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
10052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10053 {
10054 PyThreadState* __tstate = wxPyBeginAllowThreads();
10055 {
10056 wxColourData &_result_ref = (arg1)->GetColourData();
10057 result = (wxColourData *) &_result_ref;
10058 }
10059
10060 wxPyEndAllowThreads(__tstate);
10061 if (PyErr_Occurred()) SWIG_fail;
10062 }
10063 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 0);
10064 return resultobj;
10065 fail:
10066 return NULL;
10067 }
10068
10069
10070 static PyObject *_wrap_ColourDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
10071 PyObject *resultobj;
10072 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
10073 int result;
10074 PyObject * obj0 = 0 ;
10075 char *kwnames[] = {
10076 (char *) "self", NULL
10077 };
10078
10079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_ShowModal",kwnames,&obj0)) goto fail;
10080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10081 {
10082 PyThreadState* __tstate = wxPyBeginAllowThreads();
10083 result = (int)(arg1)->ShowModal();
10084
10085 wxPyEndAllowThreads(__tstate);
10086 if (PyErr_Occurred()) SWIG_fail;
10087 }
10088 resultobj = PyInt_FromLong((long)result);
10089 return resultobj;
10090 fail:
10091 return NULL;
10092 }
10093
10094
10095 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
10096 PyObject *obj;
10097 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10098 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
10099 Py_INCREF(obj);
10100 return Py_BuildValue((char *)"");
10101 }
10102 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10103 PyObject *resultobj;
10104 wxWindow *arg1 = (wxWindow *) 0 ;
10105 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
10106 wxString *arg2 = (wxString *) &arg2_defvalue ;
10107 wxString const &arg3_defvalue = wxPyEmptyString ;
10108 wxString *arg3 = (wxString *) &arg3_defvalue ;
10109 long arg4 = (long) 0 ;
10110 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10111 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10112 wxSize const &arg6_defvalue = wxDefaultSize ;
10113 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10114 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
10115 wxString *arg7 = (wxString *) &arg7_defvalue ;
10116 wxDirDialog *result;
10117 bool temp2 = False ;
10118 bool temp3 = False ;
10119 wxPoint temp5 ;
10120 wxSize temp6 ;
10121 bool temp7 = False ;
10122 PyObject * obj0 = 0 ;
10123 PyObject * obj1 = 0 ;
10124 PyObject * obj2 = 0 ;
10125 PyObject * obj4 = 0 ;
10126 PyObject * obj5 = 0 ;
10127 PyObject * obj6 = 0 ;
10128 char *kwnames[] = {
10129 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
10130 };
10131
10132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOlOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&obj5,&obj6)) goto fail;
10133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10134 if (obj1) {
10135 {
10136 arg2 = wxString_in_helper(obj1);
10137 if (arg2 == NULL) SWIG_fail;
10138 temp2 = True;
10139 }
10140 }
10141 if (obj2) {
10142 {
10143 arg3 = wxString_in_helper(obj2);
10144 if (arg3 == NULL) SWIG_fail;
10145 temp3 = True;
10146 }
10147 }
10148 if (obj4) {
10149 {
10150 arg5 = &temp5;
10151 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10152 }
10153 }
10154 if (obj5) {
10155 {
10156 arg6 = &temp6;
10157 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10158 }
10159 }
10160 if (obj6) {
10161 {
10162 arg7 = wxString_in_helper(obj6);
10163 if (arg7 == NULL) SWIG_fail;
10164 temp7 = True;
10165 }
10166 }
10167 {
10168 PyThreadState* __tstate = wxPyBeginAllowThreads();
10169 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
10170
10171 wxPyEndAllowThreads(__tstate);
10172 if (PyErr_Occurred()) SWIG_fail;
10173 }
10174 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirDialog, 1);
10175 {
10176 if (temp2)
10177 delete arg2;
10178 }
10179 {
10180 if (temp3)
10181 delete arg3;
10182 }
10183 {
10184 if (temp7)
10185 delete arg7;
10186 }
10187 return resultobj;
10188 fail:
10189 {
10190 if (temp2)
10191 delete arg2;
10192 }
10193 {
10194 if (temp3)
10195 delete arg3;
10196 }
10197 {
10198 if (temp7)
10199 delete arg7;
10200 }
10201 return NULL;
10202 }
10203
10204
10205 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10206 PyObject *resultobj;
10207 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10208 wxString result;
10209 PyObject * obj0 = 0 ;
10210 char *kwnames[] = {
10211 (char *) "self", NULL
10212 };
10213
10214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
10215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10216 {
10217 PyThreadState* __tstate = wxPyBeginAllowThreads();
10218 result = (arg1)->GetPath();
10219
10220 wxPyEndAllowThreads(__tstate);
10221 if (PyErr_Occurred()) SWIG_fail;
10222 }
10223 {
10224 #if wxUSE_UNICODE
10225 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10226 #else
10227 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10228 #endif
10229 }
10230 return resultobj;
10231 fail:
10232 return NULL;
10233 }
10234
10235
10236 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10237 PyObject *resultobj;
10238 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10239 wxString result;
10240 PyObject * obj0 = 0 ;
10241 char *kwnames[] = {
10242 (char *) "self", NULL
10243 };
10244
10245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
10246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10247 {
10248 PyThreadState* __tstate = wxPyBeginAllowThreads();
10249 result = (arg1)->GetMessage();
10250
10251 wxPyEndAllowThreads(__tstate);
10252 if (PyErr_Occurred()) SWIG_fail;
10253 }
10254 {
10255 #if wxUSE_UNICODE
10256 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10257 #else
10258 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10259 #endif
10260 }
10261 return resultobj;
10262 fail:
10263 return NULL;
10264 }
10265
10266
10267 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10268 PyObject *resultobj;
10269 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10270 long result;
10271 PyObject * obj0 = 0 ;
10272 char *kwnames[] = {
10273 (char *) "self", NULL
10274 };
10275
10276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
10277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10278 {
10279 PyThreadState* __tstate = wxPyBeginAllowThreads();
10280 result = (long)(arg1)->GetStyle();
10281
10282 wxPyEndAllowThreads(__tstate);
10283 if (PyErr_Occurred()) SWIG_fail;
10284 }
10285 resultobj = PyInt_FromLong((long)result);
10286 return resultobj;
10287 fail:
10288 return NULL;
10289 }
10290
10291
10292 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10293 PyObject *resultobj;
10294 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10295 wxString *arg2 = 0 ;
10296 bool temp2 = False ;
10297 PyObject * obj0 = 0 ;
10298 PyObject * obj1 = 0 ;
10299 char *kwnames[] = {
10300 (char *) "self",(char *) "message", NULL
10301 };
10302
10303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
10304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10305 {
10306 arg2 = wxString_in_helper(obj1);
10307 if (arg2 == NULL) SWIG_fail;
10308 temp2 = True;
10309 }
10310 {
10311 PyThreadState* __tstate = wxPyBeginAllowThreads();
10312 (arg1)->SetMessage((wxString const &)*arg2);
10313
10314 wxPyEndAllowThreads(__tstate);
10315 if (PyErr_Occurred()) SWIG_fail;
10316 }
10317 Py_INCREF(Py_None); resultobj = Py_None;
10318 {
10319 if (temp2)
10320 delete arg2;
10321 }
10322 return resultobj;
10323 fail:
10324 {
10325 if (temp2)
10326 delete arg2;
10327 }
10328 return NULL;
10329 }
10330
10331
10332 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10333 PyObject *resultobj;
10334 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10335 wxString *arg2 = 0 ;
10336 bool temp2 = False ;
10337 PyObject * obj0 = 0 ;
10338 PyObject * obj1 = 0 ;
10339 char *kwnames[] = {
10340 (char *) "self",(char *) "path", NULL
10341 };
10342
10343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
10344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10345 {
10346 arg2 = wxString_in_helper(obj1);
10347 if (arg2 == NULL) SWIG_fail;
10348 temp2 = True;
10349 }
10350 {
10351 PyThreadState* __tstate = wxPyBeginAllowThreads();
10352 (arg1)->SetPath((wxString const &)*arg2);
10353
10354 wxPyEndAllowThreads(__tstate);
10355 if (PyErr_Occurred()) SWIG_fail;
10356 }
10357 Py_INCREF(Py_None); resultobj = Py_None;
10358 {
10359 if (temp2)
10360 delete arg2;
10361 }
10362 return resultobj;
10363 fail:
10364 {
10365 if (temp2)
10366 delete arg2;
10367 }
10368 return NULL;
10369 }
10370
10371
10372 static PyObject *_wrap_DirDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
10373 PyObject *resultobj;
10374 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10375 int result;
10376 PyObject * obj0 = 0 ;
10377 char *kwnames[] = {
10378 (char *) "self", NULL
10379 };
10380
10381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_ShowModal",kwnames,&obj0)) goto fail;
10382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10383 {
10384 PyThreadState* __tstate = wxPyBeginAllowThreads();
10385 result = (int)(arg1)->ShowModal();
10386
10387 wxPyEndAllowThreads(__tstate);
10388 if (PyErr_Occurred()) SWIG_fail;
10389 }
10390 resultobj = PyInt_FromLong((long)result);
10391 return resultobj;
10392 fail:
10393 return NULL;
10394 }
10395
10396
10397 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
10398 PyObject *obj;
10399 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10400 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
10401 Py_INCREF(obj);
10402 return Py_BuildValue((char *)"");
10403 }
10404 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10405 PyObject *resultobj;
10406 wxWindow *arg1 = (wxWindow *) 0 ;
10407 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
10408 wxString *arg2 = (wxString *) &arg2_defvalue ;
10409 wxString const &arg3_defvalue = wxPyEmptyString ;
10410 wxString *arg3 = (wxString *) &arg3_defvalue ;
10411 wxString const &arg4_defvalue = wxPyEmptyString ;
10412 wxString *arg4 = (wxString *) &arg4_defvalue ;
10413 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
10414 wxString *arg5 = (wxString *) &arg5_defvalue ;
10415 long arg6 = (long) 0 ;
10416 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10417 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10418 wxFileDialog *result;
10419 bool temp2 = False ;
10420 bool temp3 = False ;
10421 bool temp4 = False ;
10422 bool temp5 = False ;
10423 wxPoint temp7 ;
10424 PyObject * obj0 = 0 ;
10425 PyObject * obj1 = 0 ;
10426 PyObject * obj2 = 0 ;
10427 PyObject * obj3 = 0 ;
10428 PyObject * obj4 = 0 ;
10429 PyObject * obj6 = 0 ;
10430 char *kwnames[] = {
10431 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
10432 };
10433
10434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOlO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
10435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10436 if (obj1) {
10437 {
10438 arg2 = wxString_in_helper(obj1);
10439 if (arg2 == NULL) SWIG_fail;
10440 temp2 = True;
10441 }
10442 }
10443 if (obj2) {
10444 {
10445 arg3 = wxString_in_helper(obj2);
10446 if (arg3 == NULL) SWIG_fail;
10447 temp3 = True;
10448 }
10449 }
10450 if (obj3) {
10451 {
10452 arg4 = wxString_in_helper(obj3);
10453 if (arg4 == NULL) SWIG_fail;
10454 temp4 = True;
10455 }
10456 }
10457 if (obj4) {
10458 {
10459 arg5 = wxString_in_helper(obj4);
10460 if (arg5 == NULL) SWIG_fail;
10461 temp5 = True;
10462 }
10463 }
10464 if (obj6) {
10465 {
10466 arg7 = &temp7;
10467 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10468 }
10469 }
10470 {
10471 PyThreadState* __tstate = wxPyBeginAllowThreads();
10472 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
10473
10474 wxPyEndAllowThreads(__tstate);
10475 if (PyErr_Occurred()) SWIG_fail;
10476 }
10477 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDialog, 1);
10478 {
10479 if (temp2)
10480 delete arg2;
10481 }
10482 {
10483 if (temp3)
10484 delete arg3;
10485 }
10486 {
10487 if (temp4)
10488 delete arg4;
10489 }
10490 {
10491 if (temp5)
10492 delete arg5;
10493 }
10494 return resultobj;
10495 fail:
10496 {
10497 if (temp2)
10498 delete arg2;
10499 }
10500 {
10501 if (temp3)
10502 delete arg3;
10503 }
10504 {
10505 if (temp4)
10506 delete arg4;
10507 }
10508 {
10509 if (temp5)
10510 delete arg5;
10511 }
10512 return NULL;
10513 }
10514
10515
10516 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10517 PyObject *resultobj;
10518 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10519 wxString *arg2 = 0 ;
10520 bool temp2 = False ;
10521 PyObject * obj0 = 0 ;
10522 PyObject * obj1 = 0 ;
10523 char *kwnames[] = {
10524 (char *) "self",(char *) "message", NULL
10525 };
10526
10527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
10528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10529 {
10530 arg2 = wxString_in_helper(obj1);
10531 if (arg2 == NULL) SWIG_fail;
10532 temp2 = True;
10533 }
10534 {
10535 PyThreadState* __tstate = wxPyBeginAllowThreads();
10536 (arg1)->SetMessage((wxString const &)*arg2);
10537
10538 wxPyEndAllowThreads(__tstate);
10539 if (PyErr_Occurred()) SWIG_fail;
10540 }
10541 Py_INCREF(Py_None); resultobj = Py_None;
10542 {
10543 if (temp2)
10544 delete arg2;
10545 }
10546 return resultobj;
10547 fail:
10548 {
10549 if (temp2)
10550 delete arg2;
10551 }
10552 return NULL;
10553 }
10554
10555
10556 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10557 PyObject *resultobj;
10558 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10559 wxString *arg2 = 0 ;
10560 bool temp2 = False ;
10561 PyObject * obj0 = 0 ;
10562 PyObject * obj1 = 0 ;
10563 char *kwnames[] = {
10564 (char *) "self",(char *) "path", NULL
10565 };
10566
10567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
10568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10569 {
10570 arg2 = wxString_in_helper(obj1);
10571 if (arg2 == NULL) SWIG_fail;
10572 temp2 = True;
10573 }
10574 {
10575 PyThreadState* __tstate = wxPyBeginAllowThreads();
10576 (arg1)->SetPath((wxString const &)*arg2);
10577
10578 wxPyEndAllowThreads(__tstate);
10579 if (PyErr_Occurred()) SWIG_fail;
10580 }
10581 Py_INCREF(Py_None); resultobj = Py_None;
10582 {
10583 if (temp2)
10584 delete arg2;
10585 }
10586 return resultobj;
10587 fail:
10588 {
10589 if (temp2)
10590 delete arg2;
10591 }
10592 return NULL;
10593 }
10594
10595
10596 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10597 PyObject *resultobj;
10598 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10599 wxString *arg2 = 0 ;
10600 bool temp2 = False ;
10601 PyObject * obj0 = 0 ;
10602 PyObject * obj1 = 0 ;
10603 char *kwnames[] = {
10604 (char *) "self",(char *) "dir", NULL
10605 };
10606
10607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
10608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10609 {
10610 arg2 = wxString_in_helper(obj1);
10611 if (arg2 == NULL) SWIG_fail;
10612 temp2 = True;
10613 }
10614 {
10615 PyThreadState* __tstate = wxPyBeginAllowThreads();
10616 (arg1)->SetDirectory((wxString const &)*arg2);
10617
10618 wxPyEndAllowThreads(__tstate);
10619 if (PyErr_Occurred()) SWIG_fail;
10620 }
10621 Py_INCREF(Py_None); resultobj = Py_None;
10622 {
10623 if (temp2)
10624 delete arg2;
10625 }
10626 return resultobj;
10627 fail:
10628 {
10629 if (temp2)
10630 delete arg2;
10631 }
10632 return NULL;
10633 }
10634
10635
10636 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10637 PyObject *resultobj;
10638 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10639 wxString *arg2 = 0 ;
10640 bool temp2 = False ;
10641 PyObject * obj0 = 0 ;
10642 PyObject * obj1 = 0 ;
10643 char *kwnames[] = {
10644 (char *) "self",(char *) "name", NULL
10645 };
10646
10647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
10648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10649 {
10650 arg2 = wxString_in_helper(obj1);
10651 if (arg2 == NULL) SWIG_fail;
10652 temp2 = True;
10653 }
10654 {
10655 PyThreadState* __tstate = wxPyBeginAllowThreads();
10656 (arg1)->SetFilename((wxString const &)*arg2);
10657
10658 wxPyEndAllowThreads(__tstate);
10659 if (PyErr_Occurred()) SWIG_fail;
10660 }
10661 Py_INCREF(Py_None); resultobj = Py_None;
10662 {
10663 if (temp2)
10664 delete arg2;
10665 }
10666 return resultobj;
10667 fail:
10668 {
10669 if (temp2)
10670 delete arg2;
10671 }
10672 return NULL;
10673 }
10674
10675
10676 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10677 PyObject *resultobj;
10678 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10679 wxString *arg2 = 0 ;
10680 bool temp2 = False ;
10681 PyObject * obj0 = 0 ;
10682 PyObject * obj1 = 0 ;
10683 char *kwnames[] = {
10684 (char *) "self",(char *) "wildCard", NULL
10685 };
10686
10687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
10688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10689 {
10690 arg2 = wxString_in_helper(obj1);
10691 if (arg2 == NULL) SWIG_fail;
10692 temp2 = True;
10693 }
10694 {
10695 PyThreadState* __tstate = wxPyBeginAllowThreads();
10696 (arg1)->SetWildcard((wxString const &)*arg2);
10697
10698 wxPyEndAllowThreads(__tstate);
10699 if (PyErr_Occurred()) SWIG_fail;
10700 }
10701 Py_INCREF(Py_None); resultobj = Py_None;
10702 {
10703 if (temp2)
10704 delete arg2;
10705 }
10706 return resultobj;
10707 fail:
10708 {
10709 if (temp2)
10710 delete arg2;
10711 }
10712 return NULL;
10713 }
10714
10715
10716 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10717 PyObject *resultobj;
10718 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10719 long arg2 ;
10720 PyObject * obj0 = 0 ;
10721 char *kwnames[] = {
10722 (char *) "self",(char *) "style", NULL
10723 };
10724
10725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:FileDialog_SetStyle",kwnames,&obj0,&arg2)) goto fail;
10726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10727 {
10728 PyThreadState* __tstate = wxPyBeginAllowThreads();
10729 (arg1)->SetStyle(arg2);
10730
10731 wxPyEndAllowThreads(__tstate);
10732 if (PyErr_Occurred()) SWIG_fail;
10733 }
10734 Py_INCREF(Py_None); resultobj = Py_None;
10735 return resultobj;
10736 fail:
10737 return NULL;
10738 }
10739
10740
10741 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10742 PyObject *resultobj;
10743 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10744 int arg2 ;
10745 PyObject * obj0 = 0 ;
10746 char *kwnames[] = {
10747 (char *) "self",(char *) "filterIndex", NULL
10748 };
10749
10750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileDialog_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
10751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10752 {
10753 PyThreadState* __tstate = wxPyBeginAllowThreads();
10754 (arg1)->SetFilterIndex(arg2);
10755
10756 wxPyEndAllowThreads(__tstate);
10757 if (PyErr_Occurred()) SWIG_fail;
10758 }
10759 Py_INCREF(Py_None); resultobj = Py_None;
10760 return resultobj;
10761 fail:
10762 return NULL;
10763 }
10764
10765
10766 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10767 PyObject *resultobj;
10768 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10769 wxString result;
10770 PyObject * obj0 = 0 ;
10771 char *kwnames[] = {
10772 (char *) "self", NULL
10773 };
10774
10775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
10776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10777 {
10778 PyThreadState* __tstate = wxPyBeginAllowThreads();
10779 result = ((wxFileDialog const *)arg1)->GetMessage();
10780
10781 wxPyEndAllowThreads(__tstate);
10782 if (PyErr_Occurred()) SWIG_fail;
10783 }
10784 {
10785 #if wxUSE_UNICODE
10786 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10787 #else
10788 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10789 #endif
10790 }
10791 return resultobj;
10792 fail:
10793 return NULL;
10794 }
10795
10796
10797 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10798 PyObject *resultobj;
10799 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10800 wxString result;
10801 PyObject * obj0 = 0 ;
10802 char *kwnames[] = {
10803 (char *) "self", NULL
10804 };
10805
10806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
10807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10808 {
10809 PyThreadState* __tstate = wxPyBeginAllowThreads();
10810 result = ((wxFileDialog const *)arg1)->GetPath();
10811
10812 wxPyEndAllowThreads(__tstate);
10813 if (PyErr_Occurred()) SWIG_fail;
10814 }
10815 {
10816 #if wxUSE_UNICODE
10817 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10818 #else
10819 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10820 #endif
10821 }
10822 return resultobj;
10823 fail:
10824 return NULL;
10825 }
10826
10827
10828 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10829 PyObject *resultobj;
10830 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10831 wxString result;
10832 PyObject * obj0 = 0 ;
10833 char *kwnames[] = {
10834 (char *) "self", NULL
10835 };
10836
10837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
10838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10839 {
10840 PyThreadState* __tstate = wxPyBeginAllowThreads();
10841 result = ((wxFileDialog const *)arg1)->GetDirectory();
10842
10843 wxPyEndAllowThreads(__tstate);
10844 if (PyErr_Occurred()) SWIG_fail;
10845 }
10846 {
10847 #if wxUSE_UNICODE
10848 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10849 #else
10850 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10851 #endif
10852 }
10853 return resultobj;
10854 fail:
10855 return NULL;
10856 }
10857
10858
10859 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10860 PyObject *resultobj;
10861 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10862 wxString result;
10863 PyObject * obj0 = 0 ;
10864 char *kwnames[] = {
10865 (char *) "self", NULL
10866 };
10867
10868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
10869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10870 {
10871 PyThreadState* __tstate = wxPyBeginAllowThreads();
10872 result = ((wxFileDialog const *)arg1)->GetFilename();
10873
10874 wxPyEndAllowThreads(__tstate);
10875 if (PyErr_Occurred()) SWIG_fail;
10876 }
10877 {
10878 #if wxUSE_UNICODE
10879 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10880 #else
10881 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10882 #endif
10883 }
10884 return resultobj;
10885 fail:
10886 return NULL;
10887 }
10888
10889
10890 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10891 PyObject *resultobj;
10892 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10893 wxString result;
10894 PyObject * obj0 = 0 ;
10895 char *kwnames[] = {
10896 (char *) "self", NULL
10897 };
10898
10899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
10900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10901 {
10902 PyThreadState* __tstate = wxPyBeginAllowThreads();
10903 result = ((wxFileDialog const *)arg1)->GetWildcard();
10904
10905 wxPyEndAllowThreads(__tstate);
10906 if (PyErr_Occurred()) SWIG_fail;
10907 }
10908 {
10909 #if wxUSE_UNICODE
10910 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10911 #else
10912 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10913 #endif
10914 }
10915 return resultobj;
10916 fail:
10917 return NULL;
10918 }
10919
10920
10921 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10922 PyObject *resultobj;
10923 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10924 long result;
10925 PyObject * obj0 = 0 ;
10926 char *kwnames[] = {
10927 (char *) "self", NULL
10928 };
10929
10930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
10931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10932 {
10933 PyThreadState* __tstate = wxPyBeginAllowThreads();
10934 result = (long)((wxFileDialog const *)arg1)->GetStyle();
10935
10936 wxPyEndAllowThreads(__tstate);
10937 if (PyErr_Occurred()) SWIG_fail;
10938 }
10939 resultobj = PyInt_FromLong((long)result);
10940 return resultobj;
10941 fail:
10942 return NULL;
10943 }
10944
10945
10946 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10947 PyObject *resultobj;
10948 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10949 int result;
10950 PyObject * obj0 = 0 ;
10951 char *kwnames[] = {
10952 (char *) "self", NULL
10953 };
10954
10955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
10956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10957 {
10958 PyThreadState* __tstate = wxPyBeginAllowThreads();
10959 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
10960
10961 wxPyEndAllowThreads(__tstate);
10962 if (PyErr_Occurred()) SWIG_fail;
10963 }
10964 resultobj = PyInt_FromLong((long)result);
10965 return resultobj;
10966 fail:
10967 return NULL;
10968 }
10969
10970
10971 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
10972 PyObject *resultobj;
10973 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10974 PyObject *result;
10975 PyObject * obj0 = 0 ;
10976 char *kwnames[] = {
10977 (char *) "self", NULL
10978 };
10979
10980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
10981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10982 {
10983 PyThreadState* __tstate = wxPyBeginAllowThreads();
10984 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
10985
10986 wxPyEndAllowThreads(__tstate);
10987 if (PyErr_Occurred()) SWIG_fail;
10988 }
10989 resultobj = result;
10990 return resultobj;
10991 fail:
10992 return NULL;
10993 }
10994
10995
10996 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
10997 PyObject *resultobj;
10998 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10999 PyObject *result;
11000 PyObject * obj0 = 0 ;
11001 char *kwnames[] = {
11002 (char *) "self", NULL
11003 };
11004
11005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
11006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11007 {
11008 PyThreadState* __tstate = wxPyBeginAllowThreads();
11009 result = (PyObject *)wxFileDialog_GetPaths(arg1);
11010
11011 wxPyEndAllowThreads(__tstate);
11012 if (PyErr_Occurred()) SWIG_fail;
11013 }
11014 resultobj = result;
11015 return resultobj;
11016 fail:
11017 return NULL;
11018 }
11019
11020
11021 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
11022 PyObject *obj;
11023 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11024 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
11025 Py_INCREF(obj);
11026 return Py_BuildValue((char *)"");
11027 }
11028 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11029 PyObject *resultobj;
11030 wxWindow *arg1 = (wxWindow *) 0 ;
11031 wxString *arg2 = 0 ;
11032 wxString *arg3 = 0 ;
11033 int arg4 ;
11034 wxString *arg5 = (wxString *) 0 ;
11035 long arg6 = (long) wxCHOICEDLG_STYLE ;
11036 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11037 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11038 wxMultiChoiceDialog *result;
11039 bool temp2 = False ;
11040 bool temp3 = False ;
11041 wxPoint temp7 ;
11042 PyObject * obj0 = 0 ;
11043 PyObject * obj1 = 0 ;
11044 PyObject * obj2 = 0 ;
11045 PyObject * obj4 = 0 ;
11046 PyObject * obj6 = 0 ;
11047 char *kwnames[] = {
11048 (char *) "parent",(char *) "message",(char *) "caption",(char *) "LCOUNT",(char *) "choices",(char *) "style",(char *) "pos", NULL
11049 };
11050
11051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiO|lO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&arg6,&obj6)) goto fail;
11052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11053 {
11054 arg2 = wxString_in_helper(obj1);
11055 if (arg2 == NULL) SWIG_fail;
11056 temp2 = True;
11057 }
11058 {
11059 arg3 = wxString_in_helper(obj2);
11060 if (arg3 == NULL) SWIG_fail;
11061 temp3 = True;
11062 }
11063 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11064 if (obj6) {
11065 {
11066 arg7 = &temp7;
11067 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11068 }
11069 }
11070 {
11071 PyThreadState* __tstate = wxPyBeginAllowThreads();
11072 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
11073
11074 wxPyEndAllowThreads(__tstate);
11075 if (PyErr_Occurred()) SWIG_fail;
11076 }
11077 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMultiChoiceDialog, 1);
11078 {
11079 if (temp2)
11080 delete arg2;
11081 }
11082 {
11083 if (temp3)
11084 delete arg3;
11085 }
11086 return resultobj;
11087 fail:
11088 {
11089 if (temp2)
11090 delete arg2;
11091 }
11092 {
11093 if (temp3)
11094 delete arg3;
11095 }
11096 return NULL;
11097 }
11098
11099
11100 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
11101 PyObject *resultobj;
11102 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
11103 wxArrayInt *arg2 = 0 ;
11104 PyObject * obj0 = 0 ;
11105 PyObject * obj1 = 0 ;
11106 char *kwnames[] = {
11107 (char *) "self",(char *) "selections", NULL
11108 };
11109
11110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
11111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11112 {
11113 if (! PySequence_Check(obj1)) {
11114 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
11115 SWIG_fail;
11116 }
11117 arg2 = new wxArrayInt;
11118 int i, len=PySequence_Length(obj1);
11119 for (i=0; i<len; i++) {
11120 PyObject* item = PySequence_GetItem(obj1, i);
11121 PyObject* number = PyNumber_Int(item);
11122 arg2->Add(PyInt_AS_LONG(number));
11123 Py_DECREF(item);
11124 Py_DECREF(number);
11125 }
11126 }
11127 {
11128 PyThreadState* __tstate = wxPyBeginAllowThreads();
11129 (arg1)->SetSelections((wxArrayInt const &)*arg2);
11130
11131 wxPyEndAllowThreads(__tstate);
11132 if (PyErr_Occurred()) SWIG_fail;
11133 }
11134 Py_INCREF(Py_None); resultobj = Py_None;
11135 {
11136 if (arg2) delete arg2;
11137 }
11138 return resultobj;
11139 fail:
11140 {
11141 if (arg2) delete arg2;
11142 }
11143 return NULL;
11144 }
11145
11146
11147 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
11148 PyObject *resultobj;
11149 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
11150 PyObject *result;
11151 PyObject * obj0 = 0 ;
11152 char *kwnames[] = {
11153 (char *) "self", NULL
11154 };
11155
11156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
11157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11158 {
11159 PyThreadState* __tstate = wxPyBeginAllowThreads();
11160 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
11161
11162 wxPyEndAllowThreads(__tstate);
11163 if (PyErr_Occurred()) SWIG_fail;
11164 }
11165 resultobj = result;
11166 return resultobj;
11167 fail:
11168 return NULL;
11169 }
11170
11171
11172 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
11173 PyObject *obj;
11174 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11175 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
11176 Py_INCREF(obj);
11177 return Py_BuildValue((char *)"");
11178 }
11179 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11180 PyObject *resultobj;
11181 wxWindow *arg1 = (wxWindow *) 0 ;
11182 wxString *arg2 = 0 ;
11183 wxString *arg3 = 0 ;
11184 int arg4 ;
11185 wxString *arg5 = (wxString *) 0 ;
11186 long arg6 = (long) wxCHOICEDLG_STYLE ;
11187 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11188 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11189 wxSingleChoiceDialog *result;
11190 bool temp2 = False ;
11191 bool temp3 = False ;
11192 wxPoint temp6 ;
11193 PyObject * obj0 = 0 ;
11194 PyObject * obj1 = 0 ;
11195 PyObject * obj2 = 0 ;
11196 PyObject * obj3 = 0 ;
11197 PyObject * obj5 = 0 ;
11198 char *kwnames[] = {
11199 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11200 };
11201
11202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|lO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&obj5)) goto fail;
11203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11204 {
11205 arg2 = wxString_in_helper(obj1);
11206 if (arg2 == NULL) SWIG_fail;
11207 temp2 = True;
11208 }
11209 {
11210 arg3 = wxString_in_helper(obj2);
11211 if (arg3 == NULL) SWIG_fail;
11212 temp3 = True;
11213 }
11214 {
11215 arg4 = PyList_Size(obj3);
11216 arg5 = wxString_LIST_helper(obj3);
11217 if (arg5 == NULL) SWIG_fail;
11218 }
11219 if (obj5) {
11220 {
11221 arg7 = &temp6;
11222 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
11223 }
11224 }
11225 {
11226 PyThreadState* __tstate = wxPyBeginAllowThreads();
11227 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
11228
11229 wxPyEndAllowThreads(__tstate);
11230 if (PyErr_Occurred()) SWIG_fail;
11231 }
11232 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleChoiceDialog, 1);
11233 {
11234 if (temp2)
11235 delete arg2;
11236 }
11237 {
11238 if (temp3)
11239 delete arg3;
11240 }
11241 {
11242 if (arg5) delete [] arg5;
11243 }
11244 return resultobj;
11245 fail:
11246 {
11247 if (temp2)
11248 delete arg2;
11249 }
11250 {
11251 if (temp3)
11252 delete arg3;
11253 }
11254 {
11255 if (arg5) delete [] arg5;
11256 }
11257 return NULL;
11258 }
11259
11260
11261 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11262 PyObject *resultobj;
11263 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11264 int result;
11265 PyObject * obj0 = 0 ;
11266 char *kwnames[] = {
11267 (char *) "self", NULL
11268 };
11269
11270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
11271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11272 {
11273 PyThreadState* __tstate = wxPyBeginAllowThreads();
11274 result = (int)(arg1)->GetSelection();
11275
11276 wxPyEndAllowThreads(__tstate);
11277 if (PyErr_Occurred()) SWIG_fail;
11278 }
11279 resultobj = PyInt_FromLong((long)result);
11280 return resultobj;
11281 fail:
11282 return NULL;
11283 }
11284
11285
11286 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11287 PyObject *resultobj;
11288 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11289 wxString result;
11290 PyObject * obj0 = 0 ;
11291 char *kwnames[] = {
11292 (char *) "self", NULL
11293 };
11294
11295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
11296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11297 {
11298 PyThreadState* __tstate = wxPyBeginAllowThreads();
11299 result = (arg1)->GetStringSelection();
11300
11301 wxPyEndAllowThreads(__tstate);
11302 if (PyErr_Occurred()) SWIG_fail;
11303 }
11304 {
11305 #if wxUSE_UNICODE
11306 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11307 #else
11308 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11309 #endif
11310 }
11311 return resultobj;
11312 fail:
11313 return NULL;
11314 }
11315
11316
11317 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11318 PyObject *resultobj;
11319 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11320 int arg2 ;
11321 PyObject * obj0 = 0 ;
11322 char *kwnames[] = {
11323 (char *) "self",(char *) "sel", NULL
11324 };
11325
11326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SingleChoiceDialog_SetSelection",kwnames,&obj0,&arg2)) goto fail;
11327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11328 {
11329 PyThreadState* __tstate = wxPyBeginAllowThreads();
11330 (arg1)->SetSelection(arg2);
11331
11332 wxPyEndAllowThreads(__tstate);
11333 if (PyErr_Occurred()) SWIG_fail;
11334 }
11335 Py_INCREF(Py_None); resultobj = Py_None;
11336 return resultobj;
11337 fail:
11338 return NULL;
11339 }
11340
11341
11342 static PyObject *_wrap_SingleChoiceDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11343 PyObject *resultobj;
11344 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11345 int result;
11346 PyObject * obj0 = 0 ;
11347 char *kwnames[] = {
11348 (char *) "self", NULL
11349 };
11350
11351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_ShowModal",kwnames,&obj0)) goto fail;
11352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11353 {
11354 PyThreadState* __tstate = wxPyBeginAllowThreads();
11355 result = (int)(arg1)->ShowModal();
11356
11357 wxPyEndAllowThreads(__tstate);
11358 if (PyErr_Occurred()) SWIG_fail;
11359 }
11360 resultobj = PyInt_FromLong((long)result);
11361 return resultobj;
11362 fail:
11363 return NULL;
11364 }
11365
11366
11367 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
11368 PyObject *obj;
11369 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11370 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
11371 Py_INCREF(obj);
11372 return Py_BuildValue((char *)"");
11373 }
11374 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11375 PyObject *resultobj;
11376 wxWindow *arg1 = (wxWindow *) 0 ;
11377 wxString *arg2 = 0 ;
11378 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
11379 wxString *arg3 = (wxString *) &arg3_defvalue ;
11380 wxString const &arg4_defvalue = wxPyEmptyString ;
11381 wxString *arg4 = (wxString *) &arg4_defvalue ;
11382 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
11383 wxPoint const &arg6_defvalue = wxDefaultPosition ;
11384 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
11385 wxTextEntryDialog *result;
11386 bool temp2 = False ;
11387 bool temp3 = False ;
11388 bool temp4 = False ;
11389 wxPoint temp6 ;
11390 PyObject * obj0 = 0 ;
11391 PyObject * obj1 = 0 ;
11392 PyObject * obj2 = 0 ;
11393 PyObject * obj3 = 0 ;
11394 PyObject * obj5 = 0 ;
11395 char *kwnames[] = {
11396 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
11397 };
11398
11399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
11400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11401 {
11402 arg2 = wxString_in_helper(obj1);
11403 if (arg2 == NULL) SWIG_fail;
11404 temp2 = True;
11405 }
11406 if (obj2) {
11407 {
11408 arg3 = wxString_in_helper(obj2);
11409 if (arg3 == NULL) SWIG_fail;
11410 temp3 = True;
11411 }
11412 }
11413 if (obj3) {
11414 {
11415 arg4 = wxString_in_helper(obj3);
11416 if (arg4 == NULL) SWIG_fail;
11417 temp4 = True;
11418 }
11419 }
11420 if (obj5) {
11421 {
11422 arg6 = &temp6;
11423 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
11424 }
11425 }
11426 {
11427 PyThreadState* __tstate = wxPyBeginAllowThreads();
11428 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
11429
11430 wxPyEndAllowThreads(__tstate);
11431 if (PyErr_Occurred()) SWIG_fail;
11432 }
11433 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextEntryDialog, 1);
11434 {
11435 if (temp2)
11436 delete arg2;
11437 }
11438 {
11439 if (temp3)
11440 delete arg3;
11441 }
11442 {
11443 if (temp4)
11444 delete arg4;
11445 }
11446 return resultobj;
11447 fail:
11448 {
11449 if (temp2)
11450 delete arg2;
11451 }
11452 {
11453 if (temp3)
11454 delete arg3;
11455 }
11456 {
11457 if (temp4)
11458 delete arg4;
11459 }
11460 return NULL;
11461 }
11462
11463
11464 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11465 PyObject *resultobj;
11466 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11467 wxString result;
11468 PyObject * obj0 = 0 ;
11469 char *kwnames[] = {
11470 (char *) "self", NULL
11471 };
11472
11473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
11474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11475 {
11476 PyThreadState* __tstate = wxPyBeginAllowThreads();
11477 result = (arg1)->GetValue();
11478
11479 wxPyEndAllowThreads(__tstate);
11480 if (PyErr_Occurred()) SWIG_fail;
11481 }
11482 {
11483 #if wxUSE_UNICODE
11484 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11485 #else
11486 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11487 #endif
11488 }
11489 return resultobj;
11490 fail:
11491 return NULL;
11492 }
11493
11494
11495 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11496 PyObject *resultobj;
11497 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11498 wxString *arg2 = 0 ;
11499 bool temp2 = False ;
11500 PyObject * obj0 = 0 ;
11501 PyObject * obj1 = 0 ;
11502 char *kwnames[] = {
11503 (char *) "self",(char *) "value", NULL
11504 };
11505
11506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
11507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11508 {
11509 arg2 = wxString_in_helper(obj1);
11510 if (arg2 == NULL) SWIG_fail;
11511 temp2 = True;
11512 }
11513 {
11514 PyThreadState* __tstate = wxPyBeginAllowThreads();
11515 (arg1)->SetValue((wxString const &)*arg2);
11516
11517 wxPyEndAllowThreads(__tstate);
11518 if (PyErr_Occurred()) SWIG_fail;
11519 }
11520 Py_INCREF(Py_None); resultobj = Py_None;
11521 {
11522 if (temp2)
11523 delete arg2;
11524 }
11525 return resultobj;
11526 fail:
11527 {
11528 if (temp2)
11529 delete arg2;
11530 }
11531 return NULL;
11532 }
11533
11534
11535 static PyObject *_wrap_TextEntryDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11536 PyObject *resultobj;
11537 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11538 int result;
11539 PyObject * obj0 = 0 ;
11540 char *kwnames[] = {
11541 (char *) "self", NULL
11542 };
11543
11544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_ShowModal",kwnames,&obj0)) goto fail;
11545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11546 {
11547 PyThreadState* __tstate = wxPyBeginAllowThreads();
11548 result = (int)(arg1)->ShowModal();
11549
11550 wxPyEndAllowThreads(__tstate);
11551 if (PyErr_Occurred()) SWIG_fail;
11552 }
11553 resultobj = PyInt_FromLong((long)result);
11554 return resultobj;
11555 fail:
11556 return NULL;
11557 }
11558
11559
11560 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
11561 PyObject *obj;
11562 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11563 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
11564 Py_INCREF(obj);
11565 return Py_BuildValue((char *)"");
11566 }
11567 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11568 PyObject *resultobj;
11569 wxFontData *result;
11570 char *kwnames[] = {
11571 NULL
11572 };
11573
11574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
11575 {
11576 PyThreadState* __tstate = wxPyBeginAllowThreads();
11577 result = (wxFontData *)new wxFontData();
11578
11579 wxPyEndAllowThreads(__tstate);
11580 if (PyErr_Occurred()) SWIG_fail;
11581 }
11582 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 1);
11583 return resultobj;
11584 fail:
11585 return NULL;
11586 }
11587
11588
11589 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11590 PyObject *resultobj;
11591 wxFontData *arg1 = (wxFontData *) 0 ;
11592 PyObject * obj0 = 0 ;
11593 char *kwnames[] = {
11594 (char *) "self", NULL
11595 };
11596
11597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
11598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11599 {
11600 PyThreadState* __tstate = wxPyBeginAllowThreads();
11601 delete arg1;
11602
11603 wxPyEndAllowThreads(__tstate);
11604 if (PyErr_Occurred()) SWIG_fail;
11605 }
11606 Py_INCREF(Py_None); resultobj = Py_None;
11607 return resultobj;
11608 fail:
11609 return NULL;
11610 }
11611
11612
11613 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11614 PyObject *resultobj;
11615 wxFontData *arg1 = (wxFontData *) 0 ;
11616 bool arg2 ;
11617 PyObject * obj0 = 0 ;
11618 PyObject * obj1 = 0 ;
11619 char *kwnames[] = {
11620 (char *) "self",(char *) "enable", NULL
11621 };
11622
11623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
11624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11625 arg2 = PyInt_AsLong(obj1) ? true : false;
11626 if (PyErr_Occurred()) SWIG_fail;
11627 {
11628 PyThreadState* __tstate = wxPyBeginAllowThreads();
11629 (arg1)->EnableEffects(arg2);
11630
11631 wxPyEndAllowThreads(__tstate);
11632 if (PyErr_Occurred()) SWIG_fail;
11633 }
11634 Py_INCREF(Py_None); resultobj = Py_None;
11635 return resultobj;
11636 fail:
11637 return NULL;
11638 }
11639
11640
11641 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11642 PyObject *resultobj;
11643 wxFontData *arg1 = (wxFontData *) 0 ;
11644 bool result;
11645 PyObject * obj0 = 0 ;
11646 char *kwnames[] = {
11647 (char *) "self", NULL
11648 };
11649
11650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
11651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11652 {
11653 PyThreadState* __tstate = wxPyBeginAllowThreads();
11654 result = (bool)(arg1)->GetAllowSymbols();
11655
11656 wxPyEndAllowThreads(__tstate);
11657 if (PyErr_Occurred()) SWIG_fail;
11658 }
11659 resultobj = PyInt_FromLong((long)result);
11660 return resultobj;
11661 fail:
11662 return NULL;
11663 }
11664
11665
11666 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11667 PyObject *resultobj;
11668 wxFontData *arg1 = (wxFontData *) 0 ;
11669 wxColour result;
11670 PyObject * obj0 = 0 ;
11671 char *kwnames[] = {
11672 (char *) "self", NULL
11673 };
11674
11675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
11676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11677 {
11678 PyThreadState* __tstate = wxPyBeginAllowThreads();
11679 result = (arg1)->GetColour();
11680
11681 wxPyEndAllowThreads(__tstate);
11682 if (PyErr_Occurred()) SWIG_fail;
11683 }
11684 {
11685 wxColour * resultptr;
11686 resultptr = new wxColour((wxColour &) result);
11687 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
11688 }
11689 return resultobj;
11690 fail:
11691 return NULL;
11692 }
11693
11694
11695 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11696 PyObject *resultobj;
11697 wxFontData *arg1 = (wxFontData *) 0 ;
11698 wxFont result;
11699 PyObject * obj0 = 0 ;
11700 char *kwnames[] = {
11701 (char *) "self", NULL
11702 };
11703
11704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
11705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11706 {
11707 PyThreadState* __tstate = wxPyBeginAllowThreads();
11708 result = (arg1)->GetChosenFont();
11709
11710 wxPyEndAllowThreads(__tstate);
11711 if (PyErr_Occurred()) SWIG_fail;
11712 }
11713 {
11714 wxFont * resultptr;
11715 resultptr = new wxFont((wxFont &) result);
11716 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11717 }
11718 return resultobj;
11719 fail:
11720 return NULL;
11721 }
11722
11723
11724 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11725 PyObject *resultobj;
11726 wxFontData *arg1 = (wxFontData *) 0 ;
11727 bool result;
11728 PyObject * obj0 = 0 ;
11729 char *kwnames[] = {
11730 (char *) "self", NULL
11731 };
11732
11733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
11734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11735 {
11736 PyThreadState* __tstate = wxPyBeginAllowThreads();
11737 result = (bool)(arg1)->GetEnableEffects();
11738
11739 wxPyEndAllowThreads(__tstate);
11740 if (PyErr_Occurred()) SWIG_fail;
11741 }
11742 resultobj = PyInt_FromLong((long)result);
11743 return resultobj;
11744 fail:
11745 return NULL;
11746 }
11747
11748
11749 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11750 PyObject *resultobj;
11751 wxFontData *arg1 = (wxFontData *) 0 ;
11752 wxFont result;
11753 PyObject * obj0 = 0 ;
11754 char *kwnames[] = {
11755 (char *) "self", NULL
11756 };
11757
11758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
11759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11760 {
11761 PyThreadState* __tstate = wxPyBeginAllowThreads();
11762 result = (arg1)->GetInitialFont();
11763
11764 wxPyEndAllowThreads(__tstate);
11765 if (PyErr_Occurred()) SWIG_fail;
11766 }
11767 {
11768 wxFont * resultptr;
11769 resultptr = new wxFont((wxFont &) result);
11770 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11771 }
11772 return resultobj;
11773 fail:
11774 return NULL;
11775 }
11776
11777
11778 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11779 PyObject *resultobj;
11780 wxFontData *arg1 = (wxFontData *) 0 ;
11781 bool result;
11782 PyObject * obj0 = 0 ;
11783 char *kwnames[] = {
11784 (char *) "self", NULL
11785 };
11786
11787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
11788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11789 {
11790 PyThreadState* __tstate = wxPyBeginAllowThreads();
11791 result = (bool)(arg1)->GetShowHelp();
11792
11793 wxPyEndAllowThreads(__tstate);
11794 if (PyErr_Occurred()) SWIG_fail;
11795 }
11796 resultobj = PyInt_FromLong((long)result);
11797 return resultobj;
11798 fail:
11799 return NULL;
11800 }
11801
11802
11803 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11804 PyObject *resultobj;
11805 wxFontData *arg1 = (wxFontData *) 0 ;
11806 bool arg2 ;
11807 PyObject * obj0 = 0 ;
11808 PyObject * obj1 = 0 ;
11809 char *kwnames[] = {
11810 (char *) "self",(char *) "allowSymbols", NULL
11811 };
11812
11813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
11814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11815 arg2 = PyInt_AsLong(obj1) ? true : false;
11816 if (PyErr_Occurred()) SWIG_fail;
11817 {
11818 PyThreadState* __tstate = wxPyBeginAllowThreads();
11819 (arg1)->SetAllowSymbols(arg2);
11820
11821 wxPyEndAllowThreads(__tstate);
11822 if (PyErr_Occurred()) SWIG_fail;
11823 }
11824 Py_INCREF(Py_None); resultobj = Py_None;
11825 return resultobj;
11826 fail:
11827 return NULL;
11828 }
11829
11830
11831 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11832 PyObject *resultobj;
11833 wxFontData *arg1 = (wxFontData *) 0 ;
11834 wxFont *arg2 = 0 ;
11835 PyObject * obj0 = 0 ;
11836 PyObject * obj1 = 0 ;
11837 char *kwnames[] = {
11838 (char *) "self",(char *) "font", NULL
11839 };
11840
11841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
11842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11843 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11844 if (arg2 == NULL) {
11845 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11846 }
11847 {
11848 PyThreadState* __tstate = wxPyBeginAllowThreads();
11849 (arg1)->SetChosenFont((wxFont const &)*arg2);
11850
11851 wxPyEndAllowThreads(__tstate);
11852 if (PyErr_Occurred()) SWIG_fail;
11853 }
11854 Py_INCREF(Py_None); resultobj = Py_None;
11855 return resultobj;
11856 fail:
11857 return NULL;
11858 }
11859
11860
11861 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11862 PyObject *resultobj;
11863 wxFontData *arg1 = (wxFontData *) 0 ;
11864 wxColour *arg2 = 0 ;
11865 wxColour temp2 ;
11866 PyObject * obj0 = 0 ;
11867 PyObject * obj1 = 0 ;
11868 char *kwnames[] = {
11869 (char *) "self",(char *) "colour", NULL
11870 };
11871
11872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11874 {
11875 arg2 = &temp2;
11876 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11877 }
11878 {
11879 PyThreadState* __tstate = wxPyBeginAllowThreads();
11880 (arg1)->SetColour((wxColour const &)*arg2);
11881
11882 wxPyEndAllowThreads(__tstate);
11883 if (PyErr_Occurred()) SWIG_fail;
11884 }
11885 Py_INCREF(Py_None); resultobj = Py_None;
11886 return resultobj;
11887 fail:
11888 return NULL;
11889 }
11890
11891
11892 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11893 PyObject *resultobj;
11894 wxFontData *arg1 = (wxFontData *) 0 ;
11895 wxFont *arg2 = 0 ;
11896 PyObject * obj0 = 0 ;
11897 PyObject * obj1 = 0 ;
11898 char *kwnames[] = {
11899 (char *) "self",(char *) "font", NULL
11900 };
11901
11902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
11903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11904 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11905 if (arg2 == NULL) {
11906 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11907 }
11908 {
11909 PyThreadState* __tstate = wxPyBeginAllowThreads();
11910 (arg1)->SetInitialFont((wxFont const &)*arg2);
11911
11912 wxPyEndAllowThreads(__tstate);
11913 if (PyErr_Occurred()) SWIG_fail;
11914 }
11915 Py_INCREF(Py_None); resultobj = Py_None;
11916 return resultobj;
11917 fail:
11918 return NULL;
11919 }
11920
11921
11922 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11923 PyObject *resultobj;
11924 wxFontData *arg1 = (wxFontData *) 0 ;
11925 int arg2 ;
11926 int arg3 ;
11927 PyObject * obj0 = 0 ;
11928 char *kwnames[] = {
11929 (char *) "self",(char *) "min",(char *) "max", NULL
11930 };
11931
11932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:FontData_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
11933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11934 {
11935 PyThreadState* __tstate = wxPyBeginAllowThreads();
11936 (arg1)->SetRange(arg2,arg3);
11937
11938 wxPyEndAllowThreads(__tstate);
11939 if (PyErr_Occurred()) SWIG_fail;
11940 }
11941 Py_INCREF(Py_None); resultobj = Py_None;
11942 return resultobj;
11943 fail:
11944 return NULL;
11945 }
11946
11947
11948 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11949 PyObject *resultobj;
11950 wxFontData *arg1 = (wxFontData *) 0 ;
11951 bool arg2 ;
11952 PyObject * obj0 = 0 ;
11953 PyObject * obj1 = 0 ;
11954 char *kwnames[] = {
11955 (char *) "self",(char *) "showHelp", NULL
11956 };
11957
11958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
11959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11960 arg2 = PyInt_AsLong(obj1) ? true : false;
11961 if (PyErr_Occurred()) SWIG_fail;
11962 {
11963 PyThreadState* __tstate = wxPyBeginAllowThreads();
11964 (arg1)->SetShowHelp(arg2);
11965
11966 wxPyEndAllowThreads(__tstate);
11967 if (PyErr_Occurred()) SWIG_fail;
11968 }
11969 Py_INCREF(Py_None); resultobj = Py_None;
11970 return resultobj;
11971 fail:
11972 return NULL;
11973 }
11974
11975
11976 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
11977 PyObject *obj;
11978 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11979 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
11980 Py_INCREF(obj);
11981 return Py_BuildValue((char *)"");
11982 }
11983 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11984 PyObject *resultobj;
11985 wxWindow *arg1 = (wxWindow *) 0 ;
11986 wxFontData *arg2 = 0 ;
11987 wxFontDialog *result;
11988 PyObject * obj0 = 0 ;
11989 PyObject * obj1 = 0 ;
11990 char *kwnames[] = {
11991 (char *) "parent",(char *) "data", NULL
11992 };
11993
11994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
11995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11996 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11997 if (arg2 == NULL) {
11998 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11999 }
12000 {
12001 PyThreadState* __tstate = wxPyBeginAllowThreads();
12002 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
12003
12004 wxPyEndAllowThreads(__tstate);
12005 if (PyErr_Occurred()) SWIG_fail;
12006 }
12007 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontDialog, 1);
12008 return resultobj;
12009 fail:
12010 return NULL;
12011 }
12012
12013
12014 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12015 PyObject *resultobj;
12016 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
12017 wxFontData *result;
12018 PyObject * obj0 = 0 ;
12019 char *kwnames[] = {
12020 (char *) "self", NULL
12021 };
12022
12023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
12024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12025 {
12026 PyThreadState* __tstate = wxPyBeginAllowThreads();
12027 {
12028 wxFontData &_result_ref = (arg1)->GetFontData();
12029 result = (wxFontData *) &_result_ref;
12030 }
12031
12032 wxPyEndAllowThreads(__tstate);
12033 if (PyErr_Occurred()) SWIG_fail;
12034 }
12035 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 0);
12036 return resultobj;
12037 fail:
12038 return NULL;
12039 }
12040
12041
12042 static PyObject *_wrap_FontDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
12043 PyObject *resultobj;
12044 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
12045 int result;
12046 PyObject * obj0 = 0 ;
12047 char *kwnames[] = {
12048 (char *) "self", NULL
12049 };
12050
12051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_ShowModal",kwnames,&obj0)) goto fail;
12052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12053 {
12054 PyThreadState* __tstate = wxPyBeginAllowThreads();
12055 result = (int)(arg1)->ShowModal();
12056
12057 wxPyEndAllowThreads(__tstate);
12058 if (PyErr_Occurred()) SWIG_fail;
12059 }
12060 resultobj = PyInt_FromLong((long)result);
12061 return resultobj;
12062 fail:
12063 return NULL;
12064 }
12065
12066
12067 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
12068 PyObject *obj;
12069 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12070 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
12071 Py_INCREF(obj);
12072 return Py_BuildValue((char *)"");
12073 }
12074 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12075 PyObject *resultobj;
12076 wxWindow *arg1 = (wxWindow *) 0 ;
12077 wxString *arg2 = 0 ;
12078 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
12079 wxString *arg3 = (wxString *) &arg3_defvalue ;
12080 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
12081 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12082 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12083 wxMessageDialog *result;
12084 bool temp2 = False ;
12085 bool temp3 = False ;
12086 wxPoint temp5 ;
12087 PyObject * obj0 = 0 ;
12088 PyObject * obj1 = 0 ;
12089 PyObject * obj2 = 0 ;
12090 PyObject * obj4 = 0 ;
12091 char *kwnames[] = {
12092 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
12093 };
12094
12095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OlO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4)) goto fail;
12096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12097 {
12098 arg2 = wxString_in_helper(obj1);
12099 if (arg2 == NULL) SWIG_fail;
12100 temp2 = True;
12101 }
12102 if (obj2) {
12103 {
12104 arg3 = wxString_in_helper(obj2);
12105 if (arg3 == NULL) SWIG_fail;
12106 temp3 = True;
12107 }
12108 }
12109 if (obj4) {
12110 {
12111 arg5 = &temp5;
12112 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12113 }
12114 }
12115 {
12116 PyThreadState* __tstate = wxPyBeginAllowThreads();
12117 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
12118
12119 wxPyEndAllowThreads(__tstate);
12120 if (PyErr_Occurred()) SWIG_fail;
12121 }
12122 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMessageDialog, 1);
12123 {
12124 if (temp2)
12125 delete arg2;
12126 }
12127 {
12128 if (temp3)
12129 delete arg3;
12130 }
12131 return resultobj;
12132 fail:
12133 {
12134 if (temp2)
12135 delete arg2;
12136 }
12137 {
12138 if (temp3)
12139 delete arg3;
12140 }
12141 return NULL;
12142 }
12143
12144
12145 static PyObject *_wrap_MessageDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
12146 PyObject *resultobj;
12147 wxMessageDialog *arg1 = (wxMessageDialog *) 0 ;
12148 int result;
12149 PyObject * obj0 = 0 ;
12150 char *kwnames[] = {
12151 (char *) "self", NULL
12152 };
12153
12154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MessageDialog_ShowModal",kwnames,&obj0)) goto fail;
12155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMessageDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12156 {
12157 PyThreadState* __tstate = wxPyBeginAllowThreads();
12158 result = (int)(arg1)->ShowModal();
12159
12160 wxPyEndAllowThreads(__tstate);
12161 if (PyErr_Occurred()) SWIG_fail;
12162 }
12163 resultobj = PyInt_FromLong((long)result);
12164 return resultobj;
12165 fail:
12166 return NULL;
12167 }
12168
12169
12170 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
12171 PyObject *obj;
12172 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12173 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
12174 Py_INCREF(obj);
12175 return Py_BuildValue((char *)"");
12176 }
12177 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12178 PyObject *resultobj;
12179 wxString *arg1 = 0 ;
12180 wxString *arg2 = 0 ;
12181 int arg3 = (int) 100 ;
12182 wxWindow *arg4 = (wxWindow *) NULL ;
12183 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
12184 wxProgressDialog *result;
12185 bool temp1 = False ;
12186 bool temp2 = False ;
12187 PyObject * obj0 = 0 ;
12188 PyObject * obj1 = 0 ;
12189 PyObject * obj3 = 0 ;
12190 char *kwnames[] = {
12191 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
12192 };
12193
12194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOi:new_ProgressDialog",kwnames,&obj0,&obj1,&arg3,&obj3,&arg5)) goto fail;
12195 {
12196 arg1 = wxString_in_helper(obj0);
12197 if (arg1 == NULL) SWIG_fail;
12198 temp1 = True;
12199 }
12200 {
12201 arg2 = wxString_in_helper(obj1);
12202 if (arg2 == NULL) SWIG_fail;
12203 temp2 = True;
12204 }
12205 if (obj3) {
12206 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12207 }
12208 {
12209 PyThreadState* __tstate = wxPyBeginAllowThreads();
12210 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
12211
12212 wxPyEndAllowThreads(__tstate);
12213 if (PyErr_Occurred()) SWIG_fail;
12214 }
12215 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProgressDialog, 1);
12216 {
12217 if (temp1)
12218 delete arg1;
12219 }
12220 {
12221 if (temp2)
12222 delete arg2;
12223 }
12224 return resultobj;
12225 fail:
12226 {
12227 if (temp1)
12228 delete arg1;
12229 }
12230 {
12231 if (temp2)
12232 delete arg2;
12233 }
12234 return NULL;
12235 }
12236
12237
12238 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
12239 PyObject *resultobj;
12240 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
12241 int arg2 ;
12242 wxString const &arg3_defvalue = wxPyEmptyString ;
12243 wxString *arg3 = (wxString *) &arg3_defvalue ;
12244 bool result;
12245 bool temp3 = False ;
12246 PyObject * obj0 = 0 ;
12247 PyObject * obj2 = 0 ;
12248 char *kwnames[] = {
12249 (char *) "self",(char *) "value",(char *) "newmsg", NULL
12250 };
12251
12252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ProgressDialog_Update",kwnames,&obj0,&arg2,&obj2)) goto fail;
12253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12254 if (obj2) {
12255 {
12256 arg3 = wxString_in_helper(obj2);
12257 if (arg3 == NULL) SWIG_fail;
12258 temp3 = True;
12259 }
12260 }
12261 {
12262 PyThreadState* __tstate = wxPyBeginAllowThreads();
12263 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
12264
12265 wxPyEndAllowThreads(__tstate);
12266 if (PyErr_Occurred()) SWIG_fail;
12267 }
12268 resultobj = PyInt_FromLong((long)result);
12269 {
12270 if (temp3)
12271 delete arg3;
12272 }
12273 return resultobj;
12274 fail:
12275 {
12276 if (temp3)
12277 delete arg3;
12278 }
12279 return NULL;
12280 }
12281
12282
12283 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
12284 PyObject *resultobj;
12285 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
12286 PyObject * obj0 = 0 ;
12287 char *kwnames[] = {
12288 (char *) "self", NULL
12289 };
12290
12291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
12292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12293 {
12294 PyThreadState* __tstate = wxPyBeginAllowThreads();
12295 (arg1)->Resume();
12296
12297 wxPyEndAllowThreads(__tstate);
12298 if (PyErr_Occurred()) SWIG_fail;
12299 }
12300 Py_INCREF(Py_None); resultobj = Py_None;
12301 return resultobj;
12302 fail:
12303 return NULL;
12304 }
12305
12306
12307 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
12308 PyObject *obj;
12309 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12310 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
12311 Py_INCREF(obj);
12312 return Py_BuildValue((char *)"");
12313 }
12314 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12315 PyObject *resultobj;
12316 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12317 int arg2 = (int) 0 ;
12318 wxFindDialogEvent *result;
12319 char *kwnames[] = {
12320 (char *) "commandType",(char *) "id", NULL
12321 };
12322
12323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_FindDialogEvent",kwnames,&arg1,&arg2)) goto fail;
12324 {
12325 PyThreadState* __tstate = wxPyBeginAllowThreads();
12326 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
12327
12328 wxPyEndAllowThreads(__tstate);
12329 if (PyErr_Occurred()) SWIG_fail;
12330 }
12331 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindDialogEvent, 1);
12332 return resultobj;
12333 fail:
12334 return NULL;
12335 }
12336
12337
12338 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12339 PyObject *resultobj;
12340 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12341 int result;
12342 PyObject * obj0 = 0 ;
12343 char *kwnames[] = {
12344 (char *) "self", NULL
12345 };
12346
12347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
12348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12349 {
12350 PyThreadState* __tstate = wxPyBeginAllowThreads();
12351 result = (int)(arg1)->GetFlags();
12352
12353 wxPyEndAllowThreads(__tstate);
12354 if (PyErr_Occurred()) SWIG_fail;
12355 }
12356 resultobj = PyInt_FromLong((long)result);
12357 return resultobj;
12358 fail:
12359 return NULL;
12360 }
12361
12362
12363 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12364 PyObject *resultobj;
12365 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12366 wxString result;
12367 PyObject * obj0 = 0 ;
12368 char *kwnames[] = {
12369 (char *) "self", NULL
12370 };
12371
12372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
12373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12374 {
12375 PyThreadState* __tstate = wxPyBeginAllowThreads();
12376 result = (arg1)->GetFindString();
12377
12378 wxPyEndAllowThreads(__tstate);
12379 if (PyErr_Occurred()) SWIG_fail;
12380 }
12381 {
12382 #if wxUSE_UNICODE
12383 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12384 #else
12385 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12386 #endif
12387 }
12388 return resultobj;
12389 fail:
12390 return NULL;
12391 }
12392
12393
12394 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12395 PyObject *resultobj;
12396 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12397 wxString *result;
12398 PyObject * obj0 = 0 ;
12399 char *kwnames[] = {
12400 (char *) "self", NULL
12401 };
12402
12403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
12404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12405 {
12406 PyThreadState* __tstate = wxPyBeginAllowThreads();
12407 {
12408 wxString const &_result_ref = (arg1)->GetReplaceString();
12409 result = (wxString *) &_result_ref;
12410 }
12411
12412 wxPyEndAllowThreads(__tstate);
12413 if (PyErr_Occurred()) SWIG_fail;
12414 }
12415 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
12416 return resultobj;
12417 fail:
12418 return NULL;
12419 }
12420
12421
12422 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12423 PyObject *resultobj;
12424 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12425 wxFindReplaceDialog *result;
12426 PyObject * obj0 = 0 ;
12427 char *kwnames[] = {
12428 (char *) "self", NULL
12429 };
12430
12431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
12432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12433 {
12434 PyThreadState* __tstate = wxPyBeginAllowThreads();
12435 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
12436
12437 wxPyEndAllowThreads(__tstate);
12438 if (PyErr_Occurred()) SWIG_fail;
12439 }
12440 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 0);
12441 return resultobj;
12442 fail:
12443 return NULL;
12444 }
12445
12446
12447 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12448 PyObject *resultobj;
12449 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12450 int arg2 ;
12451 PyObject * obj0 = 0 ;
12452 char *kwnames[] = {
12453 (char *) "self",(char *) "flags", NULL
12454 };
12455
12456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindDialogEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12458 {
12459 PyThreadState* __tstate = wxPyBeginAllowThreads();
12460 (arg1)->SetFlags(arg2);
12461
12462 wxPyEndAllowThreads(__tstate);
12463 if (PyErr_Occurred()) SWIG_fail;
12464 }
12465 Py_INCREF(Py_None); resultobj = Py_None;
12466 return resultobj;
12467 fail:
12468 return NULL;
12469 }
12470
12471
12472 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12473 PyObject *resultobj;
12474 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12475 wxString *arg2 = 0 ;
12476 bool temp2 = False ;
12477 PyObject * obj0 = 0 ;
12478 PyObject * obj1 = 0 ;
12479 char *kwnames[] = {
12480 (char *) "self",(char *) "str", NULL
12481 };
12482
12483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12485 {
12486 arg2 = wxString_in_helper(obj1);
12487 if (arg2 == NULL) SWIG_fail;
12488 temp2 = True;
12489 }
12490 {
12491 PyThreadState* __tstate = wxPyBeginAllowThreads();
12492 (arg1)->SetFindString((wxString const &)*arg2);
12493
12494 wxPyEndAllowThreads(__tstate);
12495 if (PyErr_Occurred()) SWIG_fail;
12496 }
12497 Py_INCREF(Py_None); resultobj = Py_None;
12498 {
12499 if (temp2)
12500 delete arg2;
12501 }
12502 return resultobj;
12503 fail:
12504 {
12505 if (temp2)
12506 delete arg2;
12507 }
12508 return NULL;
12509 }
12510
12511
12512 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12513 PyObject *resultobj;
12514 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12515 wxString *arg2 = 0 ;
12516 bool temp2 = False ;
12517 PyObject * obj0 = 0 ;
12518 PyObject * obj1 = 0 ;
12519 char *kwnames[] = {
12520 (char *) "self",(char *) "str", NULL
12521 };
12522
12523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12525 {
12526 arg2 = wxString_in_helper(obj1);
12527 if (arg2 == NULL) SWIG_fail;
12528 temp2 = True;
12529 }
12530 {
12531 PyThreadState* __tstate = wxPyBeginAllowThreads();
12532 (arg1)->SetReplaceString((wxString const &)*arg2);
12533
12534 wxPyEndAllowThreads(__tstate);
12535 if (PyErr_Occurred()) SWIG_fail;
12536 }
12537 Py_INCREF(Py_None); resultobj = Py_None;
12538 {
12539 if (temp2)
12540 delete arg2;
12541 }
12542 return resultobj;
12543 fail:
12544 {
12545 if (temp2)
12546 delete arg2;
12547 }
12548 return NULL;
12549 }
12550
12551
12552 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
12553 PyObject *obj;
12554 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12555 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
12556 Py_INCREF(obj);
12557 return Py_BuildValue((char *)"");
12558 }
12559 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12560 PyObject *resultobj;
12561 int arg1 = (int) 0 ;
12562 wxFindReplaceData *result;
12563 char *kwnames[] = {
12564 (char *) "flags", NULL
12565 };
12566
12567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_FindReplaceData",kwnames,&arg1)) goto fail;
12568 {
12569 PyThreadState* __tstate = wxPyBeginAllowThreads();
12570 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
12571
12572 wxPyEndAllowThreads(__tstate);
12573 if (PyErr_Occurred()) SWIG_fail;
12574 }
12575 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 1);
12576 return resultobj;
12577 fail:
12578 return NULL;
12579 }
12580
12581
12582 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12583 PyObject *resultobj;
12584 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12585 PyObject * obj0 = 0 ;
12586 char *kwnames[] = {
12587 (char *) "self", NULL
12588 };
12589
12590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
12591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12592 {
12593 PyThreadState* __tstate = wxPyBeginAllowThreads();
12594 delete arg1;
12595
12596 wxPyEndAllowThreads(__tstate);
12597 if (PyErr_Occurred()) SWIG_fail;
12598 }
12599 Py_INCREF(Py_None); resultobj = Py_None;
12600 return resultobj;
12601 fail:
12602 return NULL;
12603 }
12604
12605
12606 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12607 PyObject *resultobj;
12608 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12609 wxString *result;
12610 PyObject * obj0 = 0 ;
12611 char *kwnames[] = {
12612 (char *) "self", NULL
12613 };
12614
12615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
12616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12617 {
12618 PyThreadState* __tstate = wxPyBeginAllowThreads();
12619 {
12620 wxString const &_result_ref = (arg1)->GetFindString();
12621 result = (wxString *) &_result_ref;
12622 }
12623
12624 wxPyEndAllowThreads(__tstate);
12625 if (PyErr_Occurred()) SWIG_fail;
12626 }
12627 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
12628 return resultobj;
12629 fail:
12630 return NULL;
12631 }
12632
12633
12634 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12635 PyObject *resultobj;
12636 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12637 wxString *result;
12638 PyObject * obj0 = 0 ;
12639 char *kwnames[] = {
12640 (char *) "self", NULL
12641 };
12642
12643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
12644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12645 {
12646 PyThreadState* __tstate = wxPyBeginAllowThreads();
12647 {
12648 wxString const &_result_ref = (arg1)->GetReplaceString();
12649 result = (wxString *) &_result_ref;
12650 }
12651
12652 wxPyEndAllowThreads(__tstate);
12653 if (PyErr_Occurred()) SWIG_fail;
12654 }
12655 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
12656 return resultobj;
12657 fail:
12658 return NULL;
12659 }
12660
12661
12662 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12663 PyObject *resultobj;
12664 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12665 int result;
12666 PyObject * obj0 = 0 ;
12667 char *kwnames[] = {
12668 (char *) "self", NULL
12669 };
12670
12671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
12672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12673 {
12674 PyThreadState* __tstate = wxPyBeginAllowThreads();
12675 result = (int)(arg1)->GetFlags();
12676
12677 wxPyEndAllowThreads(__tstate);
12678 if (PyErr_Occurred()) SWIG_fail;
12679 }
12680 resultobj = PyInt_FromLong((long)result);
12681 return resultobj;
12682 fail:
12683 return NULL;
12684 }
12685
12686
12687 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12688 PyObject *resultobj;
12689 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12690 int arg2 ;
12691 PyObject * obj0 = 0 ;
12692 char *kwnames[] = {
12693 (char *) "self",(char *) "flags", NULL
12694 };
12695
12696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindReplaceData_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12698 {
12699 PyThreadState* __tstate = wxPyBeginAllowThreads();
12700 (arg1)->SetFlags(arg2);
12701
12702 wxPyEndAllowThreads(__tstate);
12703 if (PyErr_Occurred()) SWIG_fail;
12704 }
12705 Py_INCREF(Py_None); resultobj = Py_None;
12706 return resultobj;
12707 fail:
12708 return NULL;
12709 }
12710
12711
12712 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12713 PyObject *resultobj;
12714 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12715 wxString *arg2 = 0 ;
12716 bool temp2 = False ;
12717 PyObject * obj0 = 0 ;
12718 PyObject * obj1 = 0 ;
12719 char *kwnames[] = {
12720 (char *) "self",(char *) "str", NULL
12721 };
12722
12723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12725 {
12726 arg2 = wxString_in_helper(obj1);
12727 if (arg2 == NULL) SWIG_fail;
12728 temp2 = True;
12729 }
12730 {
12731 PyThreadState* __tstate = wxPyBeginAllowThreads();
12732 (arg1)->SetFindString((wxString const &)*arg2);
12733
12734 wxPyEndAllowThreads(__tstate);
12735 if (PyErr_Occurred()) SWIG_fail;
12736 }
12737 Py_INCREF(Py_None); resultobj = Py_None;
12738 {
12739 if (temp2)
12740 delete arg2;
12741 }
12742 return resultobj;
12743 fail:
12744 {
12745 if (temp2)
12746 delete arg2;
12747 }
12748 return NULL;
12749 }
12750
12751
12752 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12753 PyObject *resultobj;
12754 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12755 wxString *arg2 = 0 ;
12756 bool temp2 = False ;
12757 PyObject * obj0 = 0 ;
12758 PyObject * obj1 = 0 ;
12759 char *kwnames[] = {
12760 (char *) "self",(char *) "str", NULL
12761 };
12762
12763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12765 {
12766 arg2 = wxString_in_helper(obj1);
12767 if (arg2 == NULL) SWIG_fail;
12768 temp2 = True;
12769 }
12770 {
12771 PyThreadState* __tstate = wxPyBeginAllowThreads();
12772 (arg1)->SetReplaceString((wxString const &)*arg2);
12773
12774 wxPyEndAllowThreads(__tstate);
12775 if (PyErr_Occurred()) SWIG_fail;
12776 }
12777 Py_INCREF(Py_None); resultobj = Py_None;
12778 {
12779 if (temp2)
12780 delete arg2;
12781 }
12782 return resultobj;
12783 fail:
12784 {
12785 if (temp2)
12786 delete arg2;
12787 }
12788 return NULL;
12789 }
12790
12791
12792 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
12793 PyObject *obj;
12794 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12795 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
12796 Py_INCREF(obj);
12797 return Py_BuildValue((char *)"");
12798 }
12799 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12800 PyObject *resultobj;
12801 wxWindow *arg1 = (wxWindow *) 0 ;
12802 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12803 wxString *arg3 = 0 ;
12804 int arg4 = (int) 0 ;
12805 wxFindReplaceDialog *result;
12806 bool temp3 = False ;
12807 PyObject * obj0 = 0 ;
12808 PyObject * obj1 = 0 ;
12809 PyObject * obj2 = 0 ;
12810 char *kwnames[] = {
12811 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12812 };
12813
12814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
12815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12816 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12817 {
12818 arg3 = wxString_in_helper(obj2);
12819 if (arg3 == NULL) SWIG_fail;
12820 temp3 = True;
12821 }
12822 {
12823 PyThreadState* __tstate = wxPyBeginAllowThreads();
12824 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
12825
12826 wxPyEndAllowThreads(__tstate);
12827 if (PyErr_Occurred()) SWIG_fail;
12828 }
12829 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12830 {
12831 if (temp3)
12832 delete arg3;
12833 }
12834 return resultobj;
12835 fail:
12836 {
12837 if (temp3)
12838 delete arg3;
12839 }
12840 return NULL;
12841 }
12842
12843
12844 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12845 PyObject *resultobj;
12846 wxFindReplaceDialog *result;
12847 char *kwnames[] = {
12848 NULL
12849 };
12850
12851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
12852 {
12853 PyThreadState* __tstate = wxPyBeginAllowThreads();
12854 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
12855
12856 wxPyEndAllowThreads(__tstate);
12857 if (PyErr_Occurred()) SWIG_fail;
12858 }
12859 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12860 return resultobj;
12861 fail:
12862 return NULL;
12863 }
12864
12865
12866 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12867 PyObject *resultobj;
12868 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12869 wxWindow *arg2 = (wxWindow *) 0 ;
12870 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
12871 wxString *arg4 = 0 ;
12872 int arg5 = (int) 0 ;
12873 bool result;
12874 bool temp4 = False ;
12875 PyObject * obj0 = 0 ;
12876 PyObject * obj1 = 0 ;
12877 PyObject * obj2 = 0 ;
12878 PyObject * obj3 = 0 ;
12879 char *kwnames[] = {
12880 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12881 };
12882
12883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|i:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
12884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12885 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12886 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12887 {
12888 arg4 = wxString_in_helper(obj3);
12889 if (arg4 == NULL) SWIG_fail;
12890 temp4 = True;
12891 }
12892 {
12893 PyThreadState* __tstate = wxPyBeginAllowThreads();
12894 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
12895
12896 wxPyEndAllowThreads(__tstate);
12897 if (PyErr_Occurred()) SWIG_fail;
12898 }
12899 resultobj = PyInt_FromLong((long)result);
12900 {
12901 if (temp4)
12902 delete arg4;
12903 }
12904 return resultobj;
12905 fail:
12906 {
12907 if (temp4)
12908 delete arg4;
12909 }
12910 return NULL;
12911 }
12912
12913
12914 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12915 PyObject *resultobj;
12916 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12917 wxFindReplaceData *result;
12918 PyObject * obj0 = 0 ;
12919 char *kwnames[] = {
12920 (char *) "self", NULL
12921 };
12922
12923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
12924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12925 {
12926 PyThreadState* __tstate = wxPyBeginAllowThreads();
12927 result = (wxFindReplaceData *)(arg1)->GetData();
12928
12929 wxPyEndAllowThreads(__tstate);
12930 if (PyErr_Occurred()) SWIG_fail;
12931 }
12932 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 0);
12933 return resultobj;
12934 fail:
12935 return NULL;
12936 }
12937
12938
12939 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12940 PyObject *resultobj;
12941 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12942 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12943 PyObject * obj0 = 0 ;
12944 PyObject * obj1 = 0 ;
12945 char *kwnames[] = {
12946 (char *) "self",(char *) "data", NULL
12947 };
12948
12949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
12950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12951 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12952 {
12953 PyThreadState* __tstate = wxPyBeginAllowThreads();
12954 (arg1)->SetData(arg2);
12955
12956 wxPyEndAllowThreads(__tstate);
12957 if (PyErr_Occurred()) SWIG_fail;
12958 }
12959 Py_INCREF(Py_None); resultobj = Py_None;
12960 return resultobj;
12961 fail:
12962 return NULL;
12963 }
12964
12965
12966 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
12967 PyObject *obj;
12968 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12969 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
12970 Py_INCREF(obj);
12971 return Py_BuildValue((char *)"");
12972 }
12973 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
12974 PyObject *resultobj;
12975 wxWindow *arg1 = (wxWindow *) 0 ;
12976 int arg2 ;
12977 wxString *arg3 = 0 ;
12978 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12979 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12980 wxSize const &arg5_defvalue = wxDefaultSize ;
12981 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12982 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
12983 wxString const &arg7_defvalue = wxPyFrameNameStr ;
12984 wxString *arg7 = (wxString *) &arg7_defvalue ;
12985 wxMDIParentFrame *result;
12986 bool temp3 = False ;
12987 wxPoint temp4 ;
12988 wxSize temp5 ;
12989 bool temp7 = False ;
12990 PyObject * obj0 = 0 ;
12991 PyObject * obj2 = 0 ;
12992 PyObject * obj3 = 0 ;
12993 PyObject * obj4 = 0 ;
12994 PyObject * obj6 = 0 ;
12995 char *kwnames[] = {
12996 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12997 };
12998
12999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIParentFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
13000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13001 {
13002 arg3 = wxString_in_helper(obj2);
13003 if (arg3 == NULL) SWIG_fail;
13004 temp3 = True;
13005 }
13006 if (obj3) {
13007 {
13008 arg4 = &temp4;
13009 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13010 }
13011 }
13012 if (obj4) {
13013 {
13014 arg5 = &temp5;
13015 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13016 }
13017 }
13018 if (obj6) {
13019 {
13020 arg7 = wxString_in_helper(obj6);
13021 if (arg7 == NULL) SWIG_fail;
13022 temp7 = True;
13023 }
13024 }
13025 {
13026 PyThreadState* __tstate = wxPyBeginAllowThreads();
13027 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13028
13029 wxPyEndAllowThreads(__tstate);
13030 if (PyErr_Occurred()) SWIG_fail;
13031 }
13032 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
13033 {
13034 if (temp3)
13035 delete arg3;
13036 }
13037 {
13038 if (temp7)
13039 delete arg7;
13040 }
13041 return resultobj;
13042 fail:
13043 {
13044 if (temp3)
13045 delete arg3;
13046 }
13047 {
13048 if (temp7)
13049 delete arg7;
13050 }
13051 return NULL;
13052 }
13053
13054
13055 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13056 PyObject *resultobj;
13057 wxMDIParentFrame *result;
13058 char *kwnames[] = {
13059 NULL
13060 };
13061
13062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
13063 {
13064 PyThreadState* __tstate = wxPyBeginAllowThreads();
13065 result = (wxMDIParentFrame *)new wxMDIParentFrame();
13066
13067 wxPyEndAllowThreads(__tstate);
13068 if (PyErr_Occurred()) SWIG_fail;
13069 }
13070 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
13071 return resultobj;
13072 fail:
13073 return NULL;
13074 }
13075
13076
13077 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13078 PyObject *resultobj;
13079 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13080 wxWindow *arg2 = (wxWindow *) 0 ;
13081 int arg3 ;
13082 wxString *arg4 = 0 ;
13083 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13084 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13085 wxSize const &arg6_defvalue = wxDefaultSize ;
13086 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13087 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
13088 wxString const &arg8_defvalue = wxPyFrameNameStr ;
13089 wxString *arg8 = (wxString *) &arg8_defvalue ;
13090 bool result;
13091 bool temp4 = False ;
13092 wxPoint temp5 ;
13093 wxSize temp6 ;
13094 bool temp8 = False ;
13095 PyObject * obj0 = 0 ;
13096 PyObject * obj1 = 0 ;
13097 PyObject * obj3 = 0 ;
13098 PyObject * obj4 = 0 ;
13099 PyObject * obj5 = 0 ;
13100 PyObject * obj7 = 0 ;
13101 char *kwnames[] = {
13102 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13103 };
13104
13105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
13106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13107 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13108 {
13109 arg4 = wxString_in_helper(obj3);
13110 if (arg4 == NULL) SWIG_fail;
13111 temp4 = True;
13112 }
13113 if (obj4) {
13114 {
13115 arg5 = &temp5;
13116 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13117 }
13118 }
13119 if (obj5) {
13120 {
13121 arg6 = &temp6;
13122 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13123 }
13124 }
13125 if (obj7) {
13126 {
13127 arg8 = wxString_in_helper(obj7);
13128 if (arg8 == NULL) SWIG_fail;
13129 temp8 = True;
13130 }
13131 }
13132 {
13133 PyThreadState* __tstate = wxPyBeginAllowThreads();
13134 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
13135
13136 wxPyEndAllowThreads(__tstate);
13137 if (PyErr_Occurred()) SWIG_fail;
13138 }
13139 resultobj = PyInt_FromLong((long)result);
13140 {
13141 if (temp4)
13142 delete arg4;
13143 }
13144 {
13145 if (temp8)
13146 delete arg8;
13147 }
13148 return resultobj;
13149 fail:
13150 {
13151 if (temp4)
13152 delete arg4;
13153 }
13154 {
13155 if (temp8)
13156 delete arg8;
13157 }
13158 return NULL;
13159 }
13160
13161
13162 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
13163 PyObject *resultobj;
13164 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13165 PyObject * obj0 = 0 ;
13166 char *kwnames[] = {
13167 (char *) "self", NULL
13168 };
13169
13170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
13171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13172 {
13173 PyThreadState* __tstate = wxPyBeginAllowThreads();
13174 (arg1)->ActivateNext();
13175
13176 wxPyEndAllowThreads(__tstate);
13177 if (PyErr_Occurred()) SWIG_fail;
13178 }
13179 Py_INCREF(Py_None); resultobj = Py_None;
13180 return resultobj;
13181 fail:
13182 return NULL;
13183 }
13184
13185
13186 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
13187 PyObject *resultobj;
13188 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13189 PyObject * obj0 = 0 ;
13190 char *kwnames[] = {
13191 (char *) "self", NULL
13192 };
13193
13194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
13195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13196 {
13197 PyThreadState* __tstate = wxPyBeginAllowThreads();
13198 (arg1)->ActivatePrevious();
13199
13200 wxPyEndAllowThreads(__tstate);
13201 if (PyErr_Occurred()) SWIG_fail;
13202 }
13203 Py_INCREF(Py_None); resultobj = Py_None;
13204 return resultobj;
13205 fail:
13206 return NULL;
13207 }
13208
13209
13210 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
13211 PyObject *resultobj;
13212 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13213 PyObject * obj0 = 0 ;
13214 char *kwnames[] = {
13215 (char *) "self", NULL
13216 };
13217
13218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
13219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13220 {
13221 PyThreadState* __tstate = wxPyBeginAllowThreads();
13222 (arg1)->ArrangeIcons();
13223
13224 wxPyEndAllowThreads(__tstate);
13225 if (PyErr_Occurred()) SWIG_fail;
13226 }
13227 Py_INCREF(Py_None); resultobj = Py_None;
13228 return resultobj;
13229 fail:
13230 return NULL;
13231 }
13232
13233
13234 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
13235 PyObject *resultobj;
13236 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13237 PyObject * obj0 = 0 ;
13238 char *kwnames[] = {
13239 (char *) "self", NULL
13240 };
13241
13242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
13243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13244 {
13245 PyThreadState* __tstate = wxPyBeginAllowThreads();
13246 (arg1)->Cascade();
13247
13248 wxPyEndAllowThreads(__tstate);
13249 if (PyErr_Occurred()) SWIG_fail;
13250 }
13251 Py_INCREF(Py_None); resultobj = Py_None;
13252 return resultobj;
13253 fail:
13254 return NULL;
13255 }
13256
13257
13258 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
13259 PyObject *resultobj;
13260 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13261 wxMDIChildFrame *result;
13262 PyObject * obj0 = 0 ;
13263 char *kwnames[] = {
13264 (char *) "self", NULL
13265 };
13266
13267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
13268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13269 {
13270 PyThreadState* __tstate = wxPyBeginAllowThreads();
13271 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
13272
13273 wxPyEndAllowThreads(__tstate);
13274 if (PyErr_Occurred()) SWIG_fail;
13275 }
13276 {
13277 resultobj = wxPyMake_wxObject(result);
13278 }
13279 return resultobj;
13280 fail:
13281 return NULL;
13282 }
13283
13284
13285 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13286 PyObject *resultobj;
13287 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13288 wxMDIClientWindow *result;
13289 PyObject * obj0 = 0 ;
13290 char *kwnames[] = {
13291 (char *) "self", NULL
13292 };
13293
13294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
13295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13296 {
13297 PyThreadState* __tstate = wxPyBeginAllowThreads();
13298 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
13299
13300 wxPyEndAllowThreads(__tstate);
13301 if (PyErr_Occurred()) SWIG_fail;
13302 }
13303 {
13304 resultobj = wxPyMake_wxObject(result);
13305 }
13306 return resultobj;
13307 fail:
13308 return NULL;
13309 }
13310
13311
13312 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
13313 PyObject *resultobj;
13314 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13315 wxWindow *result;
13316 PyObject * obj0 = 0 ;
13317 char *kwnames[] = {
13318 (char *) "self", NULL
13319 };
13320
13321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
13322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13323 {
13324 PyThreadState* __tstate = wxPyBeginAllowThreads();
13325 result = (wxWindow *)(arg1)->GetToolBar();
13326
13327 wxPyEndAllowThreads(__tstate);
13328 if (PyErr_Occurred()) SWIG_fail;
13329 }
13330 {
13331 resultobj = wxPyMake_wxObject(result);
13332 }
13333 return resultobj;
13334 fail:
13335 return NULL;
13336 }
13337
13338
13339 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
13340 PyObject *resultobj;
13341 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13342 PyObject * obj0 = 0 ;
13343 char *kwnames[] = {
13344 (char *) "self", NULL
13345 };
13346
13347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
13348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13349 {
13350 PyThreadState* __tstate = wxPyBeginAllowThreads();
13351 (arg1)->Tile();
13352
13353 wxPyEndAllowThreads(__tstate);
13354 if (PyErr_Occurred()) SWIG_fail;
13355 }
13356 Py_INCREF(Py_None); resultobj = Py_None;
13357 return resultobj;
13358 fail:
13359 return NULL;
13360 }
13361
13362
13363 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
13364 PyObject *obj;
13365 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13366 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
13367 Py_INCREF(obj);
13368 return Py_BuildValue((char *)"");
13369 }
13370 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13371 PyObject *resultobj;
13372 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13373 int arg2 ;
13374 wxString *arg3 = 0 ;
13375 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13376 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13377 wxSize const &arg5_defvalue = wxDefaultSize ;
13378 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13379 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
13380 wxString const &arg7_defvalue = wxPyFrameNameStr ;
13381 wxString *arg7 = (wxString *) &arg7_defvalue ;
13382 wxMDIChildFrame *result;
13383 bool temp3 = False ;
13384 wxPoint temp4 ;
13385 wxSize temp5 ;
13386 bool temp7 = False ;
13387 PyObject * obj0 = 0 ;
13388 PyObject * obj2 = 0 ;
13389 PyObject * obj3 = 0 ;
13390 PyObject * obj4 = 0 ;
13391 PyObject * obj6 = 0 ;
13392 char *kwnames[] = {
13393 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13394 };
13395
13396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIChildFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
13397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13398 {
13399 arg3 = wxString_in_helper(obj2);
13400 if (arg3 == NULL) SWIG_fail;
13401 temp3 = True;
13402 }
13403 if (obj3) {
13404 {
13405 arg4 = &temp4;
13406 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13407 }
13408 }
13409 if (obj4) {
13410 {
13411 arg5 = &temp5;
13412 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13413 }
13414 }
13415 if (obj6) {
13416 {
13417 arg7 = wxString_in_helper(obj6);
13418 if (arg7 == NULL) SWIG_fail;
13419 temp7 = True;
13420 }
13421 }
13422 {
13423 PyThreadState* __tstate = wxPyBeginAllowThreads();
13424 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13425
13426 wxPyEndAllowThreads(__tstate);
13427 if (PyErr_Occurred()) SWIG_fail;
13428 }
13429 {
13430 resultobj = wxPyMake_wxObject(result);
13431 }
13432 {
13433 if (temp3)
13434 delete arg3;
13435 }
13436 {
13437 if (temp7)
13438 delete arg7;
13439 }
13440 return resultobj;
13441 fail:
13442 {
13443 if (temp3)
13444 delete arg3;
13445 }
13446 {
13447 if (temp7)
13448 delete arg7;
13449 }
13450 return NULL;
13451 }
13452
13453
13454 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13455 PyObject *resultobj;
13456 wxMDIChildFrame *result;
13457 char *kwnames[] = {
13458 NULL
13459 };
13460
13461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
13462 {
13463 PyThreadState* __tstate = wxPyBeginAllowThreads();
13464 result = (wxMDIChildFrame *)new wxMDIChildFrame();
13465
13466 wxPyEndAllowThreads(__tstate);
13467 if (PyErr_Occurred()) SWIG_fail;
13468 }
13469 {
13470 resultobj = wxPyMake_wxObject(result);
13471 }
13472 return resultobj;
13473 fail:
13474 return NULL;
13475 }
13476
13477
13478 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13479 PyObject *resultobj;
13480 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13481 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13482 int arg3 ;
13483 wxString *arg4 = 0 ;
13484 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13485 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13486 wxSize const &arg6_defvalue = wxDefaultSize ;
13487 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13488 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
13489 wxString const &arg8_defvalue = wxPyFrameNameStr ;
13490 wxString *arg8 = (wxString *) &arg8_defvalue ;
13491 bool result;
13492 bool temp4 = False ;
13493 wxPoint temp5 ;
13494 wxSize temp6 ;
13495 bool temp8 = False ;
13496 PyObject * obj0 = 0 ;
13497 PyObject * obj1 = 0 ;
13498 PyObject * obj3 = 0 ;
13499 PyObject * obj4 = 0 ;
13500 PyObject * obj5 = 0 ;
13501 PyObject * obj7 = 0 ;
13502 char *kwnames[] = {
13503 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13504 };
13505
13506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
13507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13508 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13509 {
13510 arg4 = wxString_in_helper(obj3);
13511 if (arg4 == NULL) SWIG_fail;
13512 temp4 = True;
13513 }
13514 if (obj4) {
13515 {
13516 arg5 = &temp5;
13517 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13518 }
13519 }
13520 if (obj5) {
13521 {
13522 arg6 = &temp6;
13523 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13524 }
13525 }
13526 if (obj7) {
13527 {
13528 arg8 = wxString_in_helper(obj7);
13529 if (arg8 == NULL) SWIG_fail;
13530 temp8 = True;
13531 }
13532 }
13533 {
13534 PyThreadState* __tstate = wxPyBeginAllowThreads();
13535 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
13536
13537 wxPyEndAllowThreads(__tstate);
13538 if (PyErr_Occurred()) SWIG_fail;
13539 }
13540 resultobj = PyInt_FromLong((long)result);
13541 {
13542 if (temp4)
13543 delete arg4;
13544 }
13545 {
13546 if (temp8)
13547 delete arg8;
13548 }
13549 return resultobj;
13550 fail:
13551 {
13552 if (temp4)
13553 delete arg4;
13554 }
13555 {
13556 if (temp8)
13557 delete arg8;
13558 }
13559 return NULL;
13560 }
13561
13562
13563 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
13564 PyObject *resultobj;
13565 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13566 PyObject * obj0 = 0 ;
13567 char *kwnames[] = {
13568 (char *) "self", NULL
13569 };
13570
13571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
13572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13573 {
13574 PyThreadState* __tstate = wxPyBeginAllowThreads();
13575 (arg1)->Activate();
13576
13577 wxPyEndAllowThreads(__tstate);
13578 if (PyErr_Occurred()) SWIG_fail;
13579 }
13580 Py_INCREF(Py_None); resultobj = Py_None;
13581 return resultobj;
13582 fail:
13583 return NULL;
13584 }
13585
13586
13587 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
13588 PyObject *resultobj;
13589 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13590 bool arg2 ;
13591 PyObject * obj0 = 0 ;
13592 PyObject * obj1 = 0 ;
13593 char *kwnames[] = {
13594 (char *) "self",(char *) "maximize", NULL
13595 };
13596
13597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
13598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13599 arg2 = PyInt_AsLong(obj1) ? true : false;
13600 if (PyErr_Occurred()) SWIG_fail;
13601 {
13602 PyThreadState* __tstate = wxPyBeginAllowThreads();
13603 (arg1)->Maximize(arg2);
13604
13605 wxPyEndAllowThreads(__tstate);
13606 if (PyErr_Occurred()) SWIG_fail;
13607 }
13608 Py_INCREF(Py_None); resultobj = Py_None;
13609 return resultobj;
13610 fail:
13611 return NULL;
13612 }
13613
13614
13615 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
13616 PyObject *resultobj;
13617 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13618 PyObject * obj0 = 0 ;
13619 char *kwnames[] = {
13620 (char *) "self", NULL
13621 };
13622
13623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
13624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13625 {
13626 PyThreadState* __tstate = wxPyBeginAllowThreads();
13627 (arg1)->Restore();
13628
13629 wxPyEndAllowThreads(__tstate);
13630 if (PyErr_Occurred()) SWIG_fail;
13631 }
13632 Py_INCREF(Py_None); resultobj = Py_None;
13633 return resultobj;
13634 fail:
13635 return NULL;
13636 }
13637
13638
13639 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
13640 PyObject *obj;
13641 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13642 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
13643 Py_INCREF(obj);
13644 return Py_BuildValue((char *)"");
13645 }
13646 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13647 PyObject *resultobj;
13648 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13649 long arg2 = (long) 0 ;
13650 wxMDIClientWindow *result;
13651 PyObject * obj0 = 0 ;
13652 char *kwnames[] = {
13653 (char *) "parent",(char *) "style", NULL
13654 };
13655
13656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:new_MDIClientWindow",kwnames,&obj0,&arg2)) goto fail;
13657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13658 {
13659 PyThreadState* __tstate = wxPyBeginAllowThreads();
13660 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
13661
13662 wxPyEndAllowThreads(__tstate);
13663 if (PyErr_Occurred()) SWIG_fail;
13664 }
13665 {
13666 resultobj = wxPyMake_wxObject(result);
13667 }
13668 return resultobj;
13669 fail:
13670 return NULL;
13671 }
13672
13673
13674 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13675 PyObject *resultobj;
13676 wxMDIClientWindow *result;
13677 char *kwnames[] = {
13678 NULL
13679 };
13680
13681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
13682 {
13683 PyThreadState* __tstate = wxPyBeginAllowThreads();
13684 result = (wxMDIClientWindow *)new wxMDIClientWindow();
13685
13686 wxPyEndAllowThreads(__tstate);
13687 if (PyErr_Occurred()) SWIG_fail;
13688 }
13689 {
13690 resultobj = wxPyMake_wxObject(result);
13691 }
13692 return resultobj;
13693 fail:
13694 return NULL;
13695 }
13696
13697
13698 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13699 PyObject *resultobj;
13700 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
13701 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13702 long arg3 = (long) 0 ;
13703 bool result;
13704 PyObject * obj0 = 0 ;
13705 PyObject * obj1 = 0 ;
13706 char *kwnames[] = {
13707 (char *) "self",(char *) "parent",(char *) "style", NULL
13708 };
13709
13710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:MDIClientWindow_Create",kwnames,&obj0,&obj1,&arg3)) goto fail;
13711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIClientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13712 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13713 {
13714 PyThreadState* __tstate = wxPyBeginAllowThreads();
13715 result = (bool)(arg1)->Create(arg2,arg3);
13716
13717 wxPyEndAllowThreads(__tstate);
13718 if (PyErr_Occurred()) SWIG_fail;
13719 }
13720 resultobj = PyInt_FromLong((long)result);
13721 return resultobj;
13722 fail:
13723 return NULL;
13724 }
13725
13726
13727 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
13728 PyObject *obj;
13729 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13730 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
13731 Py_INCREF(obj);
13732 return Py_BuildValue((char *)"");
13733 }
13734 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13735 PyObject *resultobj;
13736 wxWindow *arg1 = (wxWindow *) 0 ;
13737 int arg2 ;
13738 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13739 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13740 wxSize const &arg4_defvalue = wxDefaultSize ;
13741 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13742 long arg5 = (long) 0 ;
13743 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13744 wxString *arg6 = (wxString *) &arg6_defvalue ;
13745 wxPyWindow *result;
13746 wxPoint temp3 ;
13747 wxSize temp4 ;
13748 bool temp6 = False ;
13749 PyObject * obj0 = 0 ;
13750 PyObject * obj2 = 0 ;
13751 PyObject * obj3 = 0 ;
13752 PyObject * obj5 = 0 ;
13753 char *kwnames[] = {
13754 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13755 };
13756
13757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
13758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13759 if (obj2) {
13760 {
13761 arg3 = &temp3;
13762 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13763 }
13764 }
13765 if (obj3) {
13766 {
13767 arg4 = &temp4;
13768 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13769 }
13770 }
13771 if (obj5) {
13772 {
13773 arg6 = wxString_in_helper(obj5);
13774 if (arg6 == NULL) SWIG_fail;
13775 temp6 = True;
13776 }
13777 }
13778 {
13779 PyThreadState* __tstate = wxPyBeginAllowThreads();
13780 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13781
13782 wxPyEndAllowThreads(__tstate);
13783 if (PyErr_Occurred()) SWIG_fail;
13784 }
13785 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyWindow, 1);
13786 {
13787 if (temp6)
13788 delete arg6;
13789 }
13790 return resultobj;
13791 fail:
13792 {
13793 if (temp6)
13794 delete arg6;
13795 }
13796 return NULL;
13797 }
13798
13799
13800 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
13801 PyObject *resultobj;
13802 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13803 PyObject *arg2 = (PyObject *) 0 ;
13804 PyObject *arg3 = (PyObject *) 0 ;
13805 PyObject * obj0 = 0 ;
13806 PyObject * obj1 = 0 ;
13807 PyObject * obj2 = 0 ;
13808 char *kwnames[] = {
13809 (char *) "self",(char *) "self",(char *) "_class", NULL
13810 };
13811
13812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
13813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13814 arg2 = obj1;
13815 arg3 = obj2;
13816 {
13817 PyThreadState* __tstate = wxPyBeginAllowThreads();
13818 (arg1)->_setCallbackInfo(arg2,arg3);
13819
13820 wxPyEndAllowThreads(__tstate);
13821 if (PyErr_Occurred()) SWIG_fail;
13822 }
13823 Py_INCREF(Py_None); resultobj = Py_None;
13824 return resultobj;
13825 fail:
13826 return NULL;
13827 }
13828
13829
13830 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13831 PyObject *resultobj;
13832 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13833 int arg2 ;
13834 int arg3 ;
13835 int arg4 ;
13836 int arg5 ;
13837 PyObject * obj0 = 0 ;
13838 char *kwnames[] = {
13839 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13840 };
13841
13842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyWindow_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13844 {
13845 PyThreadState* __tstate = wxPyBeginAllowThreads();
13846 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
13847
13848 wxPyEndAllowThreads(__tstate);
13849 if (PyErr_Occurred()) SWIG_fail;
13850 }
13851 Py_INCREF(Py_None); resultobj = Py_None;
13852 return resultobj;
13853 fail:
13854 return NULL;
13855 }
13856
13857
13858 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13859 PyObject *resultobj;
13860 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13861 int arg2 ;
13862 int arg3 ;
13863 int arg4 ;
13864 int arg5 ;
13865 int arg6 = (int) wxSIZE_AUTO ;
13866 PyObject * obj0 = 0 ;
13867 char *kwnames[] = {
13868 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
13869 };
13870
13871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyWindow_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
13872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13873 {
13874 PyThreadState* __tstate = wxPyBeginAllowThreads();
13875 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
13876
13877 wxPyEndAllowThreads(__tstate);
13878 if (PyErr_Occurred()) SWIG_fail;
13879 }
13880 Py_INCREF(Py_None); resultobj = Py_None;
13881 return resultobj;
13882 fail:
13883 return NULL;
13884 }
13885
13886
13887 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13888 PyObject *resultobj;
13889 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13890 int arg2 ;
13891 int arg3 ;
13892 PyObject * obj0 = 0 ;
13893 char *kwnames[] = {
13894 (char *) "self",(char *) "width",(char *) "height", NULL
13895 };
13896
13897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13899 {
13900 PyThreadState* __tstate = wxPyBeginAllowThreads();
13901 (arg1)->base_DoSetClientSize(arg2,arg3);
13902
13903 wxPyEndAllowThreads(__tstate);
13904 if (PyErr_Occurred()) SWIG_fail;
13905 }
13906 Py_INCREF(Py_None); resultobj = Py_None;
13907 return resultobj;
13908 fail:
13909 return NULL;
13910 }
13911
13912
13913 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13914 PyObject *resultobj;
13915 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13916 int arg2 ;
13917 int arg3 ;
13918 PyObject * obj0 = 0 ;
13919 char *kwnames[] = {
13920 (char *) "self",(char *) "x",(char *) "y", NULL
13921 };
13922
13923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13925 {
13926 PyThreadState* __tstate = wxPyBeginAllowThreads();
13927 (arg1)->base_DoSetVirtualSize(arg2,arg3);
13928
13929 wxPyEndAllowThreads(__tstate);
13930 if (PyErr_Occurred()) SWIG_fail;
13931 }
13932 Py_INCREF(Py_None); resultobj = Py_None;
13933 return resultobj;
13934 fail:
13935 return NULL;
13936 }
13937
13938
13939 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13940 PyObject *resultobj;
13941 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13942 int *arg2 = (int *) 0 ;
13943 int *arg3 = (int *) 0 ;
13944 int temp2 ;
13945 int temp3 ;
13946 PyObject * obj0 = 0 ;
13947 char *kwnames[] = {
13948 (char *) "self", NULL
13949 };
13950
13951 arg2 = &temp2;
13952 arg3 = &temp3;
13953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
13954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13955 {
13956 PyThreadState* __tstate = wxPyBeginAllowThreads();
13957 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
13958
13959 wxPyEndAllowThreads(__tstate);
13960 if (PyErr_Occurred()) SWIG_fail;
13961 }
13962 Py_INCREF(Py_None); resultobj = Py_None;
13963 {
13964 PyObject *o = PyInt_FromLong((long) (*arg2));
13965 resultobj = t_output_helper(resultobj,o);
13966 }
13967 {
13968 PyObject *o = PyInt_FromLong((long) (*arg3));
13969 resultobj = t_output_helper(resultobj,o);
13970 }
13971 return resultobj;
13972 fail:
13973 return NULL;
13974 }
13975
13976
13977 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13978 PyObject *resultobj;
13979 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13980 int *arg2 = (int *) 0 ;
13981 int *arg3 = (int *) 0 ;
13982 int temp2 ;
13983 int temp3 ;
13984 PyObject * obj0 = 0 ;
13985 char *kwnames[] = {
13986 (char *) "self", NULL
13987 };
13988
13989 arg2 = &temp2;
13990 arg3 = &temp3;
13991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
13992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13993 {
13994 PyThreadState* __tstate = wxPyBeginAllowThreads();
13995 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
13996
13997 wxPyEndAllowThreads(__tstate);
13998 if (PyErr_Occurred()) SWIG_fail;
13999 }
14000 Py_INCREF(Py_None); resultobj = Py_None;
14001 {
14002 PyObject *o = PyInt_FromLong((long) (*arg2));
14003 resultobj = t_output_helper(resultobj,o);
14004 }
14005 {
14006 PyObject *o = PyInt_FromLong((long) (*arg3));
14007 resultobj = t_output_helper(resultobj,o);
14008 }
14009 return resultobj;
14010 fail:
14011 return NULL;
14012 }
14013
14014
14015 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14016 PyObject *resultobj;
14017 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14018 int *arg2 = (int *) 0 ;
14019 int *arg3 = (int *) 0 ;
14020 int temp2 ;
14021 int temp3 ;
14022 PyObject * obj0 = 0 ;
14023 char *kwnames[] = {
14024 (char *) "self", NULL
14025 };
14026
14027 arg2 = &temp2;
14028 arg3 = &temp3;
14029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
14030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14031 {
14032 PyThreadState* __tstate = wxPyBeginAllowThreads();
14033 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
14034
14035 wxPyEndAllowThreads(__tstate);
14036 if (PyErr_Occurred()) SWIG_fail;
14037 }
14038 Py_INCREF(Py_None); resultobj = Py_None;
14039 {
14040 PyObject *o = PyInt_FromLong((long) (*arg2));
14041 resultobj = t_output_helper(resultobj,o);
14042 }
14043 {
14044 PyObject *o = PyInt_FromLong((long) (*arg3));
14045 resultobj = t_output_helper(resultobj,o);
14046 }
14047 return resultobj;
14048 fail:
14049 return NULL;
14050 }
14051
14052
14053 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14054 PyObject *resultobj;
14055 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14056 wxSize result;
14057 PyObject * obj0 = 0 ;
14058 char *kwnames[] = {
14059 (char *) "self", NULL
14060 };
14061
14062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
14063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14064 {
14065 PyThreadState* __tstate = wxPyBeginAllowThreads();
14066 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
14067
14068 wxPyEndAllowThreads(__tstate);
14069 if (PyErr_Occurred()) SWIG_fail;
14070 }
14071 {
14072 wxSize * resultptr;
14073 resultptr = new wxSize((wxSize &) result);
14074 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14075 }
14076 return resultobj;
14077 fail:
14078 return NULL;
14079 }
14080
14081
14082 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14083 PyObject *resultobj;
14084 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14085 wxSize result;
14086 PyObject * obj0 = 0 ;
14087 char *kwnames[] = {
14088 (char *) "self", NULL
14089 };
14090
14091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
14092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14093 {
14094 PyThreadState* __tstate = wxPyBeginAllowThreads();
14095 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
14096
14097 wxPyEndAllowThreads(__tstate);
14098 if (PyErr_Occurred()) SWIG_fail;
14099 }
14100 {
14101 wxSize * resultptr;
14102 resultptr = new wxSize((wxSize &) result);
14103 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14104 }
14105 return resultobj;
14106 fail:
14107 return NULL;
14108 }
14109
14110
14111 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14112 PyObject *resultobj;
14113 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14114 PyObject * obj0 = 0 ;
14115 char *kwnames[] = {
14116 (char *) "self", NULL
14117 };
14118
14119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
14120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14121 {
14122 PyThreadState* __tstate = wxPyBeginAllowThreads();
14123 (arg1)->base_InitDialog();
14124
14125 wxPyEndAllowThreads(__tstate);
14126 if (PyErr_Occurred()) SWIG_fail;
14127 }
14128 Py_INCREF(Py_None); resultobj = Py_None;
14129 return resultobj;
14130 fail:
14131 return NULL;
14132 }
14133
14134
14135 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14136 PyObject *resultobj;
14137 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14138 bool result;
14139 PyObject * obj0 = 0 ;
14140 char *kwnames[] = {
14141 (char *) "self", NULL
14142 };
14143
14144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
14145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14146 {
14147 PyThreadState* __tstate = wxPyBeginAllowThreads();
14148 result = (bool)(arg1)->base_TransferDataToWindow();
14149
14150 wxPyEndAllowThreads(__tstate);
14151 if (PyErr_Occurred()) SWIG_fail;
14152 }
14153 resultobj = PyInt_FromLong((long)result);
14154 return resultobj;
14155 fail:
14156 return NULL;
14157 }
14158
14159
14160 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14161 PyObject *resultobj;
14162 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14163 bool result;
14164 PyObject * obj0 = 0 ;
14165 char *kwnames[] = {
14166 (char *) "self", NULL
14167 };
14168
14169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
14170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14171 {
14172 PyThreadState* __tstate = wxPyBeginAllowThreads();
14173 result = (bool)(arg1)->base_TransferDataFromWindow();
14174
14175 wxPyEndAllowThreads(__tstate);
14176 if (PyErr_Occurred()) SWIG_fail;
14177 }
14178 resultobj = PyInt_FromLong((long)result);
14179 return resultobj;
14180 fail:
14181 return NULL;
14182 }
14183
14184
14185 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
14186 PyObject *resultobj;
14187 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14188 bool result;
14189 PyObject * obj0 = 0 ;
14190 char *kwnames[] = {
14191 (char *) "self", NULL
14192 };
14193
14194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
14195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14196 {
14197 PyThreadState* __tstate = wxPyBeginAllowThreads();
14198 result = (bool)(arg1)->base_Validate();
14199
14200 wxPyEndAllowThreads(__tstate);
14201 if (PyErr_Occurred()) SWIG_fail;
14202 }
14203 resultobj = PyInt_FromLong((long)result);
14204 return resultobj;
14205 fail:
14206 return NULL;
14207 }
14208
14209
14210 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
14211 PyObject *resultobj;
14212 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14213 bool result;
14214 PyObject * obj0 = 0 ;
14215 char *kwnames[] = {
14216 (char *) "self", NULL
14217 };
14218
14219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
14220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14221 {
14222 PyThreadState* __tstate = wxPyBeginAllowThreads();
14223 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
14224
14225 wxPyEndAllowThreads(__tstate);
14226 if (PyErr_Occurred()) SWIG_fail;
14227 }
14228 resultobj = PyInt_FromLong((long)result);
14229 return resultobj;
14230 fail:
14231 return NULL;
14232 }
14233
14234
14235 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
14236 PyObject *resultobj;
14237 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14238 bool result;
14239 PyObject * obj0 = 0 ;
14240 char *kwnames[] = {
14241 (char *) "self", NULL
14242 };
14243
14244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
14245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14246 {
14247 PyThreadState* __tstate = wxPyBeginAllowThreads();
14248 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
14249
14250 wxPyEndAllowThreads(__tstate);
14251 if (PyErr_Occurred()) SWIG_fail;
14252 }
14253 resultobj = PyInt_FromLong((long)result);
14254 return resultobj;
14255 fail:
14256 return NULL;
14257 }
14258
14259
14260 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14261 PyObject *resultobj;
14262 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14263 wxSize result;
14264 PyObject * obj0 = 0 ;
14265 char *kwnames[] = {
14266 (char *) "self", NULL
14267 };
14268
14269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
14270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14271 {
14272 PyThreadState* __tstate = wxPyBeginAllowThreads();
14273 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
14274
14275 wxPyEndAllowThreads(__tstate);
14276 if (PyErr_Occurred()) SWIG_fail;
14277 }
14278 {
14279 wxSize * resultptr;
14280 resultptr = new wxSize((wxSize &) result);
14281 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14282 }
14283 return resultobj;
14284 fail:
14285 return NULL;
14286 }
14287
14288
14289 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14290 PyObject *resultobj;
14291 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14292 wxWindow *arg2 = (wxWindow *) 0 ;
14293 PyObject * obj0 = 0 ;
14294 PyObject * obj1 = 0 ;
14295 char *kwnames[] = {
14296 (char *) "self",(char *) "child", NULL
14297 };
14298
14299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
14300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14301 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14302 {
14303 PyThreadState* __tstate = wxPyBeginAllowThreads();
14304 (arg1)->base_AddChild(arg2);
14305
14306 wxPyEndAllowThreads(__tstate);
14307 if (PyErr_Occurred()) SWIG_fail;
14308 }
14309 Py_INCREF(Py_None); resultobj = Py_None;
14310 return resultobj;
14311 fail:
14312 return NULL;
14313 }
14314
14315
14316 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14317 PyObject *resultobj;
14318 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14319 wxWindow *arg2 = (wxWindow *) 0 ;
14320 PyObject * obj0 = 0 ;
14321 PyObject * obj1 = 0 ;
14322 char *kwnames[] = {
14323 (char *) "self",(char *) "child", NULL
14324 };
14325
14326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
14327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14328 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14329 {
14330 PyThreadState* __tstate = wxPyBeginAllowThreads();
14331 (arg1)->base_RemoveChild(arg2);
14332
14333 wxPyEndAllowThreads(__tstate);
14334 if (PyErr_Occurred()) SWIG_fail;
14335 }
14336 Py_INCREF(Py_None); resultobj = Py_None;
14337 return resultobj;
14338 fail:
14339 return NULL;
14340 }
14341
14342
14343 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
14344 PyObject *obj;
14345 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14346 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
14347 Py_INCREF(obj);
14348 return Py_BuildValue((char *)"");
14349 }
14350 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
14351 PyObject *resultobj;
14352 wxWindow *arg1 = (wxWindow *) 0 ;
14353 int arg2 ;
14354 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14355 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14356 wxSize const &arg4_defvalue = wxDefaultSize ;
14357 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14358 long arg5 = (long) 0 ;
14359 wxString const &arg6_defvalue = wxPyPanelNameStr ;
14360 wxString *arg6 = (wxString *) &arg6_defvalue ;
14361 wxPyPanel *result;
14362 wxPoint temp3 ;
14363 wxSize temp4 ;
14364 bool temp6 = False ;
14365 PyObject * obj0 = 0 ;
14366 PyObject * obj2 = 0 ;
14367 PyObject * obj3 = 0 ;
14368 PyObject * obj5 = 0 ;
14369 char *kwnames[] = {
14370 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14371 };
14372
14373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyPanel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
14374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14375 if (obj2) {
14376 {
14377 arg3 = &temp3;
14378 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14379 }
14380 }
14381 if (obj3) {
14382 {
14383 arg4 = &temp4;
14384 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14385 }
14386 }
14387 if (obj5) {
14388 {
14389 arg6 = wxString_in_helper(obj5);
14390 if (arg6 == NULL) SWIG_fail;
14391 temp6 = True;
14392 }
14393 }
14394 {
14395 PyThreadState* __tstate = wxPyBeginAllowThreads();
14396 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14397
14398 wxPyEndAllowThreads(__tstate);
14399 if (PyErr_Occurred()) SWIG_fail;
14400 }
14401 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPanel, 1);
14402 {
14403 if (temp6)
14404 delete arg6;
14405 }
14406 return resultobj;
14407 fail:
14408 {
14409 if (temp6)
14410 delete arg6;
14411 }
14412 return NULL;
14413 }
14414
14415
14416 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14417 PyObject *resultobj;
14418 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14419 PyObject *arg2 = (PyObject *) 0 ;
14420 PyObject *arg3 = (PyObject *) 0 ;
14421 PyObject * obj0 = 0 ;
14422 PyObject * obj1 = 0 ;
14423 PyObject * obj2 = 0 ;
14424 char *kwnames[] = {
14425 (char *) "self",(char *) "self",(char *) "_class", NULL
14426 };
14427
14428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14430 arg2 = obj1;
14431 arg3 = obj2;
14432 {
14433 PyThreadState* __tstate = wxPyBeginAllowThreads();
14434 (arg1)->_setCallbackInfo(arg2,arg3);
14435
14436 wxPyEndAllowThreads(__tstate);
14437 if (PyErr_Occurred()) SWIG_fail;
14438 }
14439 Py_INCREF(Py_None); resultobj = Py_None;
14440 return resultobj;
14441 fail:
14442 return NULL;
14443 }
14444
14445
14446 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14447 PyObject *resultobj;
14448 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14449 int arg2 ;
14450 int arg3 ;
14451 int arg4 ;
14452 int arg5 ;
14453 PyObject * obj0 = 0 ;
14454 char *kwnames[] = {
14455 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14456 };
14457
14458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyPanel_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14460 {
14461 PyThreadState* __tstate = wxPyBeginAllowThreads();
14462 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
14463
14464 wxPyEndAllowThreads(__tstate);
14465 if (PyErr_Occurred()) SWIG_fail;
14466 }
14467 Py_INCREF(Py_None); resultobj = Py_None;
14468 return resultobj;
14469 fail:
14470 return NULL;
14471 }
14472
14473
14474 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14475 PyObject *resultobj;
14476 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14477 int arg2 ;
14478 int arg3 ;
14479 int arg4 ;
14480 int arg5 ;
14481 int arg6 = (int) wxSIZE_AUTO ;
14482 PyObject * obj0 = 0 ;
14483 char *kwnames[] = {
14484 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14485 };
14486
14487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyPanel_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
14488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14489 {
14490 PyThreadState* __tstate = wxPyBeginAllowThreads();
14491 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
14492
14493 wxPyEndAllowThreads(__tstate);
14494 if (PyErr_Occurred()) SWIG_fail;
14495 }
14496 Py_INCREF(Py_None); resultobj = Py_None;
14497 return resultobj;
14498 fail:
14499 return NULL;
14500 }
14501
14502
14503 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14504 PyObject *resultobj;
14505 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14506 int arg2 ;
14507 int arg3 ;
14508 PyObject * obj0 = 0 ;
14509 char *kwnames[] = {
14510 (char *) "self",(char *) "width",(char *) "height", NULL
14511 };
14512
14513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14515 {
14516 PyThreadState* __tstate = wxPyBeginAllowThreads();
14517 (arg1)->base_DoSetClientSize(arg2,arg3);
14518
14519 wxPyEndAllowThreads(__tstate);
14520 if (PyErr_Occurred()) SWIG_fail;
14521 }
14522 Py_INCREF(Py_None); resultobj = Py_None;
14523 return resultobj;
14524 fail:
14525 return NULL;
14526 }
14527
14528
14529 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14530 PyObject *resultobj;
14531 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14532 int arg2 ;
14533 int arg3 ;
14534 PyObject * obj0 = 0 ;
14535 char *kwnames[] = {
14536 (char *) "self",(char *) "x",(char *) "y", NULL
14537 };
14538
14539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14541 {
14542 PyThreadState* __tstate = wxPyBeginAllowThreads();
14543 (arg1)->base_DoSetVirtualSize(arg2,arg3);
14544
14545 wxPyEndAllowThreads(__tstate);
14546 if (PyErr_Occurred()) SWIG_fail;
14547 }
14548 Py_INCREF(Py_None); resultobj = Py_None;
14549 return resultobj;
14550 fail:
14551 return NULL;
14552 }
14553
14554
14555 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14556 PyObject *resultobj;
14557 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14558 int *arg2 = (int *) 0 ;
14559 int *arg3 = (int *) 0 ;
14560 int temp2 ;
14561 int temp3 ;
14562 PyObject * obj0 = 0 ;
14563 char *kwnames[] = {
14564 (char *) "self", NULL
14565 };
14566
14567 arg2 = &temp2;
14568 arg3 = &temp3;
14569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
14570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14571 {
14572 PyThreadState* __tstate = wxPyBeginAllowThreads();
14573 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
14574
14575 wxPyEndAllowThreads(__tstate);
14576 if (PyErr_Occurred()) SWIG_fail;
14577 }
14578 Py_INCREF(Py_None); resultobj = Py_None;
14579 {
14580 PyObject *o = PyInt_FromLong((long) (*arg2));
14581 resultobj = t_output_helper(resultobj,o);
14582 }
14583 {
14584 PyObject *o = PyInt_FromLong((long) (*arg3));
14585 resultobj = t_output_helper(resultobj,o);
14586 }
14587 return resultobj;
14588 fail:
14589 return NULL;
14590 }
14591
14592
14593 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14594 PyObject *resultobj;
14595 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14596 int *arg2 = (int *) 0 ;
14597 int *arg3 = (int *) 0 ;
14598 int temp2 ;
14599 int temp3 ;
14600 PyObject * obj0 = 0 ;
14601 char *kwnames[] = {
14602 (char *) "self", NULL
14603 };
14604
14605 arg2 = &temp2;
14606 arg3 = &temp3;
14607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
14608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14609 {
14610 PyThreadState* __tstate = wxPyBeginAllowThreads();
14611 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
14612
14613 wxPyEndAllowThreads(__tstate);
14614 if (PyErr_Occurred()) SWIG_fail;
14615 }
14616 Py_INCREF(Py_None); resultobj = Py_None;
14617 {
14618 PyObject *o = PyInt_FromLong((long) (*arg2));
14619 resultobj = t_output_helper(resultobj,o);
14620 }
14621 {
14622 PyObject *o = PyInt_FromLong((long) (*arg3));
14623 resultobj = t_output_helper(resultobj,o);
14624 }
14625 return resultobj;
14626 fail:
14627 return NULL;
14628 }
14629
14630
14631 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14632 PyObject *resultobj;
14633 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14634 int *arg2 = (int *) 0 ;
14635 int *arg3 = (int *) 0 ;
14636 int temp2 ;
14637 int temp3 ;
14638 PyObject * obj0 = 0 ;
14639 char *kwnames[] = {
14640 (char *) "self", NULL
14641 };
14642
14643 arg2 = &temp2;
14644 arg3 = &temp3;
14645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
14646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14647 {
14648 PyThreadState* __tstate = wxPyBeginAllowThreads();
14649 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
14650
14651 wxPyEndAllowThreads(__tstate);
14652 if (PyErr_Occurred()) SWIG_fail;
14653 }
14654 Py_INCREF(Py_None); resultobj = Py_None;
14655 {
14656 PyObject *o = PyInt_FromLong((long) (*arg2));
14657 resultobj = t_output_helper(resultobj,o);
14658 }
14659 {
14660 PyObject *o = PyInt_FromLong((long) (*arg3));
14661 resultobj = t_output_helper(resultobj,o);
14662 }
14663 return resultobj;
14664 fail:
14665 return NULL;
14666 }
14667
14668
14669 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14670 PyObject *resultobj;
14671 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14672 wxSize result;
14673 PyObject * obj0 = 0 ;
14674 char *kwnames[] = {
14675 (char *) "self", NULL
14676 };
14677
14678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
14679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14680 {
14681 PyThreadState* __tstate = wxPyBeginAllowThreads();
14682 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
14683
14684 wxPyEndAllowThreads(__tstate);
14685 if (PyErr_Occurred()) SWIG_fail;
14686 }
14687 {
14688 wxSize * resultptr;
14689 resultptr = new wxSize((wxSize &) result);
14690 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14691 }
14692 return resultobj;
14693 fail:
14694 return NULL;
14695 }
14696
14697
14698 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14699 PyObject *resultobj;
14700 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14701 wxSize result;
14702 PyObject * obj0 = 0 ;
14703 char *kwnames[] = {
14704 (char *) "self", NULL
14705 };
14706
14707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
14708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14709 {
14710 PyThreadState* __tstate = wxPyBeginAllowThreads();
14711 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
14712
14713 wxPyEndAllowThreads(__tstate);
14714 if (PyErr_Occurred()) SWIG_fail;
14715 }
14716 {
14717 wxSize * resultptr;
14718 resultptr = new wxSize((wxSize &) result);
14719 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14720 }
14721 return resultobj;
14722 fail:
14723 return NULL;
14724 }
14725
14726
14727 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14728 PyObject *resultobj;
14729 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14730 PyObject * obj0 = 0 ;
14731 char *kwnames[] = {
14732 (char *) "self", NULL
14733 };
14734
14735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
14736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14737 {
14738 PyThreadState* __tstate = wxPyBeginAllowThreads();
14739 (arg1)->base_InitDialog();
14740
14741 wxPyEndAllowThreads(__tstate);
14742 if (PyErr_Occurred()) SWIG_fail;
14743 }
14744 Py_INCREF(Py_None); resultobj = Py_None;
14745 return resultobj;
14746 fail:
14747 return NULL;
14748 }
14749
14750
14751 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14752 PyObject *resultobj;
14753 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14754 bool result;
14755 PyObject * obj0 = 0 ;
14756 char *kwnames[] = {
14757 (char *) "self", NULL
14758 };
14759
14760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
14761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14762 {
14763 PyThreadState* __tstate = wxPyBeginAllowThreads();
14764 result = (bool)(arg1)->base_TransferDataToWindow();
14765
14766 wxPyEndAllowThreads(__tstate);
14767 if (PyErr_Occurred()) SWIG_fail;
14768 }
14769 resultobj = PyInt_FromLong((long)result);
14770 return resultobj;
14771 fail:
14772 return NULL;
14773 }
14774
14775
14776 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14777 PyObject *resultobj;
14778 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14779 bool result;
14780 PyObject * obj0 = 0 ;
14781 char *kwnames[] = {
14782 (char *) "self", NULL
14783 };
14784
14785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
14786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14787 {
14788 PyThreadState* __tstate = wxPyBeginAllowThreads();
14789 result = (bool)(arg1)->base_TransferDataFromWindow();
14790
14791 wxPyEndAllowThreads(__tstate);
14792 if (PyErr_Occurred()) SWIG_fail;
14793 }
14794 resultobj = PyInt_FromLong((long)result);
14795 return resultobj;
14796 fail:
14797 return NULL;
14798 }
14799
14800
14801 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
14802 PyObject *resultobj;
14803 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14804 bool result;
14805 PyObject * obj0 = 0 ;
14806 char *kwnames[] = {
14807 (char *) "self", NULL
14808 };
14809
14810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
14811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14812 {
14813 PyThreadState* __tstate = wxPyBeginAllowThreads();
14814 result = (bool)(arg1)->base_Validate();
14815
14816 wxPyEndAllowThreads(__tstate);
14817 if (PyErr_Occurred()) SWIG_fail;
14818 }
14819 resultobj = PyInt_FromLong((long)result);
14820 return resultobj;
14821 fail:
14822 return NULL;
14823 }
14824
14825
14826 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
14827 PyObject *resultobj;
14828 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14829 bool result;
14830 PyObject * obj0 = 0 ;
14831 char *kwnames[] = {
14832 (char *) "self", NULL
14833 };
14834
14835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
14836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14837 {
14838 PyThreadState* __tstate = wxPyBeginAllowThreads();
14839 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
14840
14841 wxPyEndAllowThreads(__tstate);
14842 if (PyErr_Occurred()) SWIG_fail;
14843 }
14844 resultobj = PyInt_FromLong((long)result);
14845 return resultobj;
14846 fail:
14847 return NULL;
14848 }
14849
14850
14851 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
14852 PyObject *resultobj;
14853 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14854 bool result;
14855 PyObject * obj0 = 0 ;
14856 char *kwnames[] = {
14857 (char *) "self", NULL
14858 };
14859
14860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
14861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14862 {
14863 PyThreadState* __tstate = wxPyBeginAllowThreads();
14864 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
14865
14866 wxPyEndAllowThreads(__tstate);
14867 if (PyErr_Occurred()) SWIG_fail;
14868 }
14869 resultobj = PyInt_FromLong((long)result);
14870 return resultobj;
14871 fail:
14872 return NULL;
14873 }
14874
14875
14876 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14877 PyObject *resultobj;
14878 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14879 wxSize result;
14880 PyObject * obj0 = 0 ;
14881 char *kwnames[] = {
14882 (char *) "self", NULL
14883 };
14884
14885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
14886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14887 {
14888 PyThreadState* __tstate = wxPyBeginAllowThreads();
14889 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
14890
14891 wxPyEndAllowThreads(__tstate);
14892 if (PyErr_Occurred()) SWIG_fail;
14893 }
14894 {
14895 wxSize * resultptr;
14896 resultptr = new wxSize((wxSize &) result);
14897 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14898 }
14899 return resultobj;
14900 fail:
14901 return NULL;
14902 }
14903
14904
14905 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14906 PyObject *resultobj;
14907 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14908 wxWindow *arg2 = (wxWindow *) 0 ;
14909 PyObject * obj0 = 0 ;
14910 PyObject * obj1 = 0 ;
14911 char *kwnames[] = {
14912 (char *) "self",(char *) "child", NULL
14913 };
14914
14915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
14916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14917 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14918 {
14919 PyThreadState* __tstate = wxPyBeginAllowThreads();
14920 (arg1)->base_AddChild(arg2);
14921
14922 wxPyEndAllowThreads(__tstate);
14923 if (PyErr_Occurred()) SWIG_fail;
14924 }
14925 Py_INCREF(Py_None); resultobj = Py_None;
14926 return resultobj;
14927 fail:
14928 return NULL;
14929 }
14930
14931
14932 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14933 PyObject *resultobj;
14934 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14935 wxWindow *arg2 = (wxWindow *) 0 ;
14936 PyObject * obj0 = 0 ;
14937 PyObject * obj1 = 0 ;
14938 char *kwnames[] = {
14939 (char *) "self",(char *) "child", NULL
14940 };
14941
14942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
14943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14944 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14945 {
14946 PyThreadState* __tstate = wxPyBeginAllowThreads();
14947 (arg1)->base_RemoveChild(arg2);
14948
14949 wxPyEndAllowThreads(__tstate);
14950 if (PyErr_Occurred()) SWIG_fail;
14951 }
14952 Py_INCREF(Py_None); resultobj = Py_None;
14953 return resultobj;
14954 fail:
14955 return NULL;
14956 }
14957
14958
14959 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
14960 PyObject *obj;
14961 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14962 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
14963 Py_INCREF(obj);
14964 return Py_BuildValue((char *)"");
14965 }
14966 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
14967 PyObject *resultobj;
14968 wxPrintData *result;
14969 char *kwnames[] = {
14970 NULL
14971 };
14972
14973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
14974 {
14975 PyThreadState* __tstate = wxPyBeginAllowThreads();
14976 result = (wxPrintData *)new wxPrintData();
14977
14978 wxPyEndAllowThreads(__tstate);
14979 if (PyErr_Occurred()) SWIG_fail;
14980 }
14981 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 1);
14982 return resultobj;
14983 fail:
14984 return NULL;
14985 }
14986
14987
14988 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
14989 PyObject *resultobj;
14990 wxPrintData *arg1 = (wxPrintData *) 0 ;
14991 PyObject * obj0 = 0 ;
14992 char *kwnames[] = {
14993 (char *) "self", NULL
14994 };
14995
14996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
14997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14998 {
14999 PyThreadState* __tstate = wxPyBeginAllowThreads();
15000 delete arg1;
15001
15002 wxPyEndAllowThreads(__tstate);
15003 if (PyErr_Occurred()) SWIG_fail;
15004 }
15005 Py_INCREF(Py_None); resultobj = Py_None;
15006 return resultobj;
15007 fail:
15008 return NULL;
15009 }
15010
15011
15012 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
15013 PyObject *resultobj;
15014 wxPrintData *arg1 = (wxPrintData *) 0 ;
15015 int result;
15016 PyObject * obj0 = 0 ;
15017 char *kwnames[] = {
15018 (char *) "self", NULL
15019 };
15020
15021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
15022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15023 {
15024 PyThreadState* __tstate = wxPyBeginAllowThreads();
15025 result = (int)(arg1)->GetNoCopies();
15026
15027 wxPyEndAllowThreads(__tstate);
15028 if (PyErr_Occurred()) SWIG_fail;
15029 }
15030 resultobj = PyInt_FromLong((long)result);
15031 return resultobj;
15032 fail:
15033 return NULL;
15034 }
15035
15036
15037 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
15038 PyObject *resultobj;
15039 wxPrintData *arg1 = (wxPrintData *) 0 ;
15040 bool result;
15041 PyObject * obj0 = 0 ;
15042 char *kwnames[] = {
15043 (char *) "self", NULL
15044 };
15045
15046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
15047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15048 {
15049 PyThreadState* __tstate = wxPyBeginAllowThreads();
15050 result = (bool)(arg1)->GetCollate();
15051
15052 wxPyEndAllowThreads(__tstate);
15053 if (PyErr_Occurred()) SWIG_fail;
15054 }
15055 resultobj = PyInt_FromLong((long)result);
15056 return resultobj;
15057 fail:
15058 return NULL;
15059 }
15060
15061
15062 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
15063 PyObject *resultobj;
15064 wxPrintData *arg1 = (wxPrintData *) 0 ;
15065 int result;
15066 PyObject * obj0 = 0 ;
15067 char *kwnames[] = {
15068 (char *) "self", NULL
15069 };
15070
15071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
15072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15073 {
15074 PyThreadState* __tstate = wxPyBeginAllowThreads();
15075 result = (int)(arg1)->GetOrientation();
15076
15077 wxPyEndAllowThreads(__tstate);
15078 if (PyErr_Occurred()) SWIG_fail;
15079 }
15080 resultobj = PyInt_FromLong((long)result);
15081 return resultobj;
15082 fail:
15083 return NULL;
15084 }
15085
15086
15087 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
15088 PyObject *resultobj;
15089 wxPrintData *arg1 = (wxPrintData *) 0 ;
15090 bool result;
15091 PyObject * obj0 = 0 ;
15092 char *kwnames[] = {
15093 (char *) "self", NULL
15094 };
15095
15096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
15097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15098 {
15099 PyThreadState* __tstate = wxPyBeginAllowThreads();
15100 result = (bool)(arg1)->Ok();
15101
15102 wxPyEndAllowThreads(__tstate);
15103 if (PyErr_Occurred()) SWIG_fail;
15104 }
15105 resultobj = PyInt_FromLong((long)result);
15106 return resultobj;
15107 fail:
15108 return NULL;
15109 }
15110
15111
15112 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
15113 PyObject *resultobj;
15114 wxPrintData *arg1 = (wxPrintData *) 0 ;
15115 wxString *result;
15116 PyObject * obj0 = 0 ;
15117 char *kwnames[] = {
15118 (char *) "self", NULL
15119 };
15120
15121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
15122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15123 {
15124 PyThreadState* __tstate = wxPyBeginAllowThreads();
15125 {
15126 wxString const &_result_ref = (arg1)->GetPrinterName();
15127 result = (wxString *) &_result_ref;
15128 }
15129
15130 wxPyEndAllowThreads(__tstate);
15131 if (PyErr_Occurred()) SWIG_fail;
15132 }
15133 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15134 return resultobj;
15135 fail:
15136 return NULL;
15137 }
15138
15139
15140 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15141 PyObject *resultobj;
15142 wxPrintData *arg1 = (wxPrintData *) 0 ;
15143 bool result;
15144 PyObject * obj0 = 0 ;
15145 char *kwnames[] = {
15146 (char *) "self", NULL
15147 };
15148
15149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
15150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15151 {
15152 PyThreadState* __tstate = wxPyBeginAllowThreads();
15153 result = (bool)(arg1)->GetColour();
15154
15155 wxPyEndAllowThreads(__tstate);
15156 if (PyErr_Occurred()) SWIG_fail;
15157 }
15158 resultobj = PyInt_FromLong((long)result);
15159 return resultobj;
15160 fail:
15161 return NULL;
15162 }
15163
15164
15165 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
15166 PyObject *resultobj;
15167 wxPrintData *arg1 = (wxPrintData *) 0 ;
15168 int result;
15169 PyObject * obj0 = 0 ;
15170 char *kwnames[] = {
15171 (char *) "self", NULL
15172 };
15173
15174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
15175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15176 {
15177 PyThreadState* __tstate = wxPyBeginAllowThreads();
15178 result = (int)(arg1)->GetDuplex();
15179
15180 wxPyEndAllowThreads(__tstate);
15181 if (PyErr_Occurred()) SWIG_fail;
15182 }
15183 resultobj = PyInt_FromLong((long)result);
15184 return resultobj;
15185 fail:
15186 return NULL;
15187 }
15188
15189
15190 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
15191 PyObject *resultobj;
15192 wxPrintData *arg1 = (wxPrintData *) 0 ;
15193 int result;
15194 PyObject * obj0 = 0 ;
15195 char *kwnames[] = {
15196 (char *) "self", NULL
15197 };
15198
15199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
15200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15201 {
15202 PyThreadState* __tstate = wxPyBeginAllowThreads();
15203 result = (int)(arg1)->GetPaperId();
15204
15205 wxPyEndAllowThreads(__tstate);
15206 if (PyErr_Occurred()) SWIG_fail;
15207 }
15208 resultobj = PyInt_FromLong((long)result);
15209 return resultobj;
15210 fail:
15211 return NULL;
15212 }
15213
15214
15215 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15216 PyObject *resultobj;
15217 wxPrintData *arg1 = (wxPrintData *) 0 ;
15218 wxSize *result;
15219 PyObject * obj0 = 0 ;
15220 char *kwnames[] = {
15221 (char *) "self", NULL
15222 };
15223
15224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
15225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15226 {
15227 PyThreadState* __tstate = wxPyBeginAllowThreads();
15228 {
15229 wxSize const &_result_ref = (arg1)->GetPaperSize();
15230 result = (wxSize *) &_result_ref;
15231 }
15232
15233 wxPyEndAllowThreads(__tstate);
15234 if (PyErr_Occurred()) SWIG_fail;
15235 }
15236 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
15237 return resultobj;
15238 fail:
15239 return NULL;
15240 }
15241
15242
15243 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
15244 PyObject *resultobj;
15245 wxPrintData *arg1 = (wxPrintData *) 0 ;
15246 wxPrintQuality result;
15247 PyObject * obj0 = 0 ;
15248 char *kwnames[] = {
15249 (char *) "self", NULL
15250 };
15251
15252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
15253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15254 {
15255 PyThreadState* __tstate = wxPyBeginAllowThreads();
15256 result = (arg1)->GetQuality();
15257
15258 wxPyEndAllowThreads(__tstate);
15259 if (PyErr_Occurred()) SWIG_fail;
15260 }
15261 {
15262 wxPrintQuality * resultptr;
15263 resultptr = new wxPrintQuality((wxPrintQuality &) result);
15264 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPrintQuality, 1);
15265 }
15266 return resultobj;
15267 fail:
15268 return NULL;
15269 }
15270
15271
15272 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
15273 PyObject *resultobj;
15274 wxPrintData *arg1 = (wxPrintData *) 0 ;
15275 int arg2 ;
15276 PyObject * obj0 = 0 ;
15277 char *kwnames[] = {
15278 (char *) "self",(char *) "v", NULL
15279 };
15280
15281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
15282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15283 {
15284 PyThreadState* __tstate = wxPyBeginAllowThreads();
15285 (arg1)->SetNoCopies(arg2);
15286
15287 wxPyEndAllowThreads(__tstate);
15288 if (PyErr_Occurred()) SWIG_fail;
15289 }
15290 Py_INCREF(Py_None); resultobj = Py_None;
15291 return resultobj;
15292 fail:
15293 return NULL;
15294 }
15295
15296
15297 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
15298 PyObject *resultobj;
15299 wxPrintData *arg1 = (wxPrintData *) 0 ;
15300 bool arg2 ;
15301 PyObject * obj0 = 0 ;
15302 PyObject * obj1 = 0 ;
15303 char *kwnames[] = {
15304 (char *) "self",(char *) "flag", NULL
15305 };
15306
15307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
15308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15309 arg2 = PyInt_AsLong(obj1) ? true : false;
15310 if (PyErr_Occurred()) SWIG_fail;
15311 {
15312 PyThreadState* __tstate = wxPyBeginAllowThreads();
15313 (arg1)->SetCollate(arg2);
15314
15315 wxPyEndAllowThreads(__tstate);
15316 if (PyErr_Occurred()) SWIG_fail;
15317 }
15318 Py_INCREF(Py_None); resultobj = Py_None;
15319 return resultobj;
15320 fail:
15321 return NULL;
15322 }
15323
15324
15325 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
15326 PyObject *resultobj;
15327 wxPrintData *arg1 = (wxPrintData *) 0 ;
15328 int arg2 ;
15329 PyObject * obj0 = 0 ;
15330 char *kwnames[] = {
15331 (char *) "self",(char *) "orient", NULL
15332 };
15333
15334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
15335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15336 {
15337 PyThreadState* __tstate = wxPyBeginAllowThreads();
15338 (arg1)->SetOrientation(arg2);
15339
15340 wxPyEndAllowThreads(__tstate);
15341 if (PyErr_Occurred()) SWIG_fail;
15342 }
15343 Py_INCREF(Py_None); resultobj = Py_None;
15344 return resultobj;
15345 fail:
15346 return NULL;
15347 }
15348
15349
15350 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
15351 PyObject *resultobj;
15352 wxPrintData *arg1 = (wxPrintData *) 0 ;
15353 wxString *arg2 = 0 ;
15354 bool temp2 = False ;
15355 PyObject * obj0 = 0 ;
15356 PyObject * obj1 = 0 ;
15357 char *kwnames[] = {
15358 (char *) "self",(char *) "name", NULL
15359 };
15360
15361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
15362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15363 {
15364 arg2 = wxString_in_helper(obj1);
15365 if (arg2 == NULL) SWIG_fail;
15366 temp2 = True;
15367 }
15368 {
15369 PyThreadState* __tstate = wxPyBeginAllowThreads();
15370 (arg1)->SetPrinterName((wxString const &)*arg2);
15371
15372 wxPyEndAllowThreads(__tstate);
15373 if (PyErr_Occurred()) SWIG_fail;
15374 }
15375 Py_INCREF(Py_None); resultobj = Py_None;
15376 {
15377 if (temp2)
15378 delete arg2;
15379 }
15380 return resultobj;
15381 fail:
15382 {
15383 if (temp2)
15384 delete arg2;
15385 }
15386 return NULL;
15387 }
15388
15389
15390 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15391 PyObject *resultobj;
15392 wxPrintData *arg1 = (wxPrintData *) 0 ;
15393 bool arg2 ;
15394 PyObject * obj0 = 0 ;
15395 PyObject * obj1 = 0 ;
15396 char *kwnames[] = {
15397 (char *) "self",(char *) "colour", NULL
15398 };
15399
15400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15402 arg2 = PyInt_AsLong(obj1) ? true : false;
15403 if (PyErr_Occurred()) SWIG_fail;
15404 {
15405 PyThreadState* __tstate = wxPyBeginAllowThreads();
15406 (arg1)->SetColour(arg2);
15407
15408 wxPyEndAllowThreads(__tstate);
15409 if (PyErr_Occurred()) SWIG_fail;
15410 }
15411 Py_INCREF(Py_None); resultobj = Py_None;
15412 return resultobj;
15413 fail:
15414 return NULL;
15415 }
15416
15417
15418 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
15419 PyObject *resultobj;
15420 wxPrintData *arg1 = (wxPrintData *) 0 ;
15421 int arg2 ;
15422 PyObject * obj0 = 0 ;
15423 char *kwnames[] = {
15424 (char *) "self",(char *) "duplex", NULL
15425 };
15426
15427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetDuplex",kwnames,&obj0,&arg2)) goto fail;
15428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15429 {
15430 PyThreadState* __tstate = wxPyBeginAllowThreads();
15431 (arg1)->SetDuplex((wxDuplexMode )arg2);
15432
15433 wxPyEndAllowThreads(__tstate);
15434 if (PyErr_Occurred()) SWIG_fail;
15435 }
15436 Py_INCREF(Py_None); resultobj = Py_None;
15437 return resultobj;
15438 fail:
15439 return NULL;
15440 }
15441
15442
15443 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
15444 PyObject *resultobj;
15445 wxPrintData *arg1 = (wxPrintData *) 0 ;
15446 int arg2 ;
15447 PyObject * obj0 = 0 ;
15448 char *kwnames[] = {
15449 (char *) "self",(char *) "sizeId", NULL
15450 };
15451
15452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
15453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15454 {
15455 PyThreadState* __tstate = wxPyBeginAllowThreads();
15456 (arg1)->SetPaperId((wxPaperSize )arg2);
15457
15458 wxPyEndAllowThreads(__tstate);
15459 if (PyErr_Occurred()) SWIG_fail;
15460 }
15461 Py_INCREF(Py_None); resultobj = Py_None;
15462 return resultobj;
15463 fail:
15464 return NULL;
15465 }
15466
15467
15468 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15469 PyObject *resultobj;
15470 wxPrintData *arg1 = (wxPrintData *) 0 ;
15471 wxSize *arg2 = 0 ;
15472 wxSize temp2 ;
15473 PyObject * obj0 = 0 ;
15474 PyObject * obj1 = 0 ;
15475 char *kwnames[] = {
15476 (char *) "self",(char *) "sz", NULL
15477 };
15478
15479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
15480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15481 {
15482 arg2 = &temp2;
15483 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15484 }
15485 {
15486 PyThreadState* __tstate = wxPyBeginAllowThreads();
15487 (arg1)->SetPaperSize((wxSize const &)*arg2);
15488
15489 wxPyEndAllowThreads(__tstate);
15490 if (PyErr_Occurred()) SWIG_fail;
15491 }
15492 Py_INCREF(Py_None); resultobj = Py_None;
15493 return resultobj;
15494 fail:
15495 return NULL;
15496 }
15497
15498
15499 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
15500 PyObject *resultobj;
15501 wxPrintData *arg1 = (wxPrintData *) 0 ;
15502 wxPrintQuality arg2 ;
15503 wxPrintQuality *argp2 ;
15504 PyObject * obj0 = 0 ;
15505 PyObject * obj1 = 0 ;
15506 char *kwnames[] = {
15507 (char *) "self",(char *) "quality", NULL
15508 };
15509
15510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
15511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15512 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxPrintQuality,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
15513 arg2 = *argp2;
15514 {
15515 PyThreadState* __tstate = wxPyBeginAllowThreads();
15516 (arg1)->SetQuality(arg2);
15517
15518 wxPyEndAllowThreads(__tstate);
15519 if (PyErr_Occurred()) SWIG_fail;
15520 }
15521 Py_INCREF(Py_None); resultobj = Py_None;
15522 return resultobj;
15523 fail:
15524 return NULL;
15525 }
15526
15527
15528 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15529 PyObject *resultobj;
15530 wxPrintData *arg1 = (wxPrintData *) 0 ;
15531 wxString *result;
15532 PyObject * obj0 = 0 ;
15533 char *kwnames[] = {
15534 (char *) "self", NULL
15535 };
15536
15537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
15538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15539 {
15540 PyThreadState* __tstate = wxPyBeginAllowThreads();
15541 {
15542 wxString const &_result_ref = (arg1)->GetPrinterCommand();
15543 result = (wxString *) &_result_ref;
15544 }
15545
15546 wxPyEndAllowThreads(__tstate);
15547 if (PyErr_Occurred()) SWIG_fail;
15548 }
15549 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15550 return resultobj;
15551 fail:
15552 return NULL;
15553 }
15554
15555
15556 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15557 PyObject *resultobj;
15558 wxPrintData *arg1 = (wxPrintData *) 0 ;
15559 wxString *result;
15560 PyObject * obj0 = 0 ;
15561 char *kwnames[] = {
15562 (char *) "self", NULL
15563 };
15564
15565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
15566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15567 {
15568 PyThreadState* __tstate = wxPyBeginAllowThreads();
15569 {
15570 wxString const &_result_ref = (arg1)->GetPrinterOptions();
15571 result = (wxString *) &_result_ref;
15572 }
15573
15574 wxPyEndAllowThreads(__tstate);
15575 if (PyErr_Occurred()) SWIG_fail;
15576 }
15577 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15578 return resultobj;
15579 fail:
15580 return NULL;
15581 }
15582
15583
15584 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15585 PyObject *resultobj;
15586 wxPrintData *arg1 = (wxPrintData *) 0 ;
15587 wxString *result;
15588 PyObject * obj0 = 0 ;
15589 char *kwnames[] = {
15590 (char *) "self", NULL
15591 };
15592
15593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
15594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15595 {
15596 PyThreadState* __tstate = wxPyBeginAllowThreads();
15597 {
15598 wxString const &_result_ref = (arg1)->GetPreviewCommand();
15599 result = (wxString *) &_result_ref;
15600 }
15601
15602 wxPyEndAllowThreads(__tstate);
15603 if (PyErr_Occurred()) SWIG_fail;
15604 }
15605 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15606 return resultobj;
15607 fail:
15608 return NULL;
15609 }
15610
15611
15612 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
15613 PyObject *resultobj;
15614 wxPrintData *arg1 = (wxPrintData *) 0 ;
15615 wxString *result;
15616 PyObject * obj0 = 0 ;
15617 char *kwnames[] = {
15618 (char *) "self", NULL
15619 };
15620
15621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
15622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15623 {
15624 PyThreadState* __tstate = wxPyBeginAllowThreads();
15625 {
15626 wxString const &_result_ref = (arg1)->GetFilename();
15627 result = (wxString *) &_result_ref;
15628 }
15629
15630 wxPyEndAllowThreads(__tstate);
15631 if (PyErr_Occurred()) SWIG_fail;
15632 }
15633 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15634 return resultobj;
15635 fail:
15636 return NULL;
15637 }
15638
15639
15640 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
15641 PyObject *resultobj;
15642 wxPrintData *arg1 = (wxPrintData *) 0 ;
15643 wxString *result;
15644 PyObject * obj0 = 0 ;
15645 char *kwnames[] = {
15646 (char *) "self", NULL
15647 };
15648
15649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
15650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15651 {
15652 PyThreadState* __tstate = wxPyBeginAllowThreads();
15653 {
15654 wxString const &_result_ref = (arg1)->GetFontMetricPath();
15655 result = (wxString *) &_result_ref;
15656 }
15657
15658 wxPyEndAllowThreads(__tstate);
15659 if (PyErr_Occurred()) SWIG_fail;
15660 }
15661 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15662 return resultobj;
15663 fail:
15664 return NULL;
15665 }
15666
15667
15668 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
15669 PyObject *resultobj;
15670 wxPrintData *arg1 = (wxPrintData *) 0 ;
15671 double result;
15672 PyObject * obj0 = 0 ;
15673 char *kwnames[] = {
15674 (char *) "self", NULL
15675 };
15676
15677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
15678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15679 {
15680 PyThreadState* __tstate = wxPyBeginAllowThreads();
15681 result = (double)(arg1)->GetPrinterScaleX();
15682
15683 wxPyEndAllowThreads(__tstate);
15684 if (PyErr_Occurred()) SWIG_fail;
15685 }
15686 resultobj = PyFloat_FromDouble(result);
15687 return resultobj;
15688 fail:
15689 return NULL;
15690 }
15691
15692
15693 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
15694 PyObject *resultobj;
15695 wxPrintData *arg1 = (wxPrintData *) 0 ;
15696 double result;
15697 PyObject * obj0 = 0 ;
15698 char *kwnames[] = {
15699 (char *) "self", NULL
15700 };
15701
15702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
15703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15704 {
15705 PyThreadState* __tstate = wxPyBeginAllowThreads();
15706 result = (double)(arg1)->GetPrinterScaleY();
15707
15708 wxPyEndAllowThreads(__tstate);
15709 if (PyErr_Occurred()) SWIG_fail;
15710 }
15711 resultobj = PyFloat_FromDouble(result);
15712 return resultobj;
15713 fail:
15714 return NULL;
15715 }
15716
15717
15718 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
15719 PyObject *resultobj;
15720 wxPrintData *arg1 = (wxPrintData *) 0 ;
15721 long result;
15722 PyObject * obj0 = 0 ;
15723 char *kwnames[] = {
15724 (char *) "self", NULL
15725 };
15726
15727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
15728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15729 {
15730 PyThreadState* __tstate = wxPyBeginAllowThreads();
15731 result = (long)(arg1)->GetPrinterTranslateX();
15732
15733 wxPyEndAllowThreads(__tstate);
15734 if (PyErr_Occurred()) SWIG_fail;
15735 }
15736 resultobj = PyInt_FromLong((long)result);
15737 return resultobj;
15738 fail:
15739 return NULL;
15740 }
15741
15742
15743 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
15744 PyObject *resultobj;
15745 wxPrintData *arg1 = (wxPrintData *) 0 ;
15746 long result;
15747 PyObject * obj0 = 0 ;
15748 char *kwnames[] = {
15749 (char *) "self", NULL
15750 };
15751
15752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
15753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15754 {
15755 PyThreadState* __tstate = wxPyBeginAllowThreads();
15756 result = (long)(arg1)->GetPrinterTranslateY();
15757
15758 wxPyEndAllowThreads(__tstate);
15759 if (PyErr_Occurred()) SWIG_fail;
15760 }
15761 resultobj = PyInt_FromLong((long)result);
15762 return resultobj;
15763 fail:
15764 return NULL;
15765 }
15766
15767
15768 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
15769 PyObject *resultobj;
15770 wxPrintData *arg1 = (wxPrintData *) 0 ;
15771 int result;
15772 PyObject * obj0 = 0 ;
15773 char *kwnames[] = {
15774 (char *) "self", NULL
15775 };
15776
15777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
15778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15779 {
15780 PyThreadState* __tstate = wxPyBeginAllowThreads();
15781 result = (int)(arg1)->GetPrintMode();
15782
15783 wxPyEndAllowThreads(__tstate);
15784 if (PyErr_Occurred()) SWIG_fail;
15785 }
15786 resultobj = PyInt_FromLong((long)result);
15787 return resultobj;
15788 fail:
15789 return NULL;
15790 }
15791
15792
15793 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15794 PyObject *resultobj;
15795 wxPrintData *arg1 = (wxPrintData *) 0 ;
15796 wxString *arg2 = 0 ;
15797 bool temp2 = False ;
15798 PyObject * obj0 = 0 ;
15799 PyObject * obj1 = 0 ;
15800 char *kwnames[] = {
15801 (char *) "self",(char *) "command", NULL
15802 };
15803
15804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
15805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15806 {
15807 arg2 = wxString_in_helper(obj1);
15808 if (arg2 == NULL) SWIG_fail;
15809 temp2 = True;
15810 }
15811 {
15812 PyThreadState* __tstate = wxPyBeginAllowThreads();
15813 (arg1)->SetPrinterCommand((wxString const &)*arg2);
15814
15815 wxPyEndAllowThreads(__tstate);
15816 if (PyErr_Occurred()) SWIG_fail;
15817 }
15818 Py_INCREF(Py_None); resultobj = Py_None;
15819 {
15820 if (temp2)
15821 delete arg2;
15822 }
15823 return resultobj;
15824 fail:
15825 {
15826 if (temp2)
15827 delete arg2;
15828 }
15829 return NULL;
15830 }
15831
15832
15833 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15834 PyObject *resultobj;
15835 wxPrintData *arg1 = (wxPrintData *) 0 ;
15836 wxString *arg2 = 0 ;
15837 bool temp2 = False ;
15838 PyObject * obj0 = 0 ;
15839 PyObject * obj1 = 0 ;
15840 char *kwnames[] = {
15841 (char *) "self",(char *) "options", NULL
15842 };
15843
15844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
15845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15846 {
15847 arg2 = wxString_in_helper(obj1);
15848 if (arg2 == NULL) SWIG_fail;
15849 temp2 = True;
15850 }
15851 {
15852 PyThreadState* __tstate = wxPyBeginAllowThreads();
15853 (arg1)->SetPrinterOptions((wxString const &)*arg2);
15854
15855 wxPyEndAllowThreads(__tstate);
15856 if (PyErr_Occurred()) SWIG_fail;
15857 }
15858 Py_INCREF(Py_None); resultobj = Py_None;
15859 {
15860 if (temp2)
15861 delete arg2;
15862 }
15863 return resultobj;
15864 fail:
15865 {
15866 if (temp2)
15867 delete arg2;
15868 }
15869 return NULL;
15870 }
15871
15872
15873 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15874 PyObject *resultobj;
15875 wxPrintData *arg1 = (wxPrintData *) 0 ;
15876 wxString *arg2 = 0 ;
15877 bool temp2 = False ;
15878 PyObject * obj0 = 0 ;
15879 PyObject * obj1 = 0 ;
15880 char *kwnames[] = {
15881 (char *) "self",(char *) "command", NULL
15882 };
15883
15884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
15885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15886 {
15887 arg2 = wxString_in_helper(obj1);
15888 if (arg2 == NULL) SWIG_fail;
15889 temp2 = True;
15890 }
15891 {
15892 PyThreadState* __tstate = wxPyBeginAllowThreads();
15893 (arg1)->SetPreviewCommand((wxString const &)*arg2);
15894
15895 wxPyEndAllowThreads(__tstate);
15896 if (PyErr_Occurred()) SWIG_fail;
15897 }
15898 Py_INCREF(Py_None); resultobj = Py_None;
15899 {
15900 if (temp2)
15901 delete arg2;
15902 }
15903 return resultobj;
15904 fail:
15905 {
15906 if (temp2)
15907 delete arg2;
15908 }
15909 return NULL;
15910 }
15911
15912
15913 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
15914 PyObject *resultobj;
15915 wxPrintData *arg1 = (wxPrintData *) 0 ;
15916 wxString *arg2 = 0 ;
15917 bool temp2 = False ;
15918 PyObject * obj0 = 0 ;
15919 PyObject * obj1 = 0 ;
15920 char *kwnames[] = {
15921 (char *) "self",(char *) "filename", NULL
15922 };
15923
15924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
15925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15926 {
15927 arg2 = wxString_in_helper(obj1);
15928 if (arg2 == NULL) SWIG_fail;
15929 temp2 = True;
15930 }
15931 {
15932 PyThreadState* __tstate = wxPyBeginAllowThreads();
15933 (arg1)->SetFilename((wxString const &)*arg2);
15934
15935 wxPyEndAllowThreads(__tstate);
15936 if (PyErr_Occurred()) SWIG_fail;
15937 }
15938 Py_INCREF(Py_None); resultobj = Py_None;
15939 {
15940 if (temp2)
15941 delete arg2;
15942 }
15943 return resultobj;
15944 fail:
15945 {
15946 if (temp2)
15947 delete arg2;
15948 }
15949 return NULL;
15950 }
15951
15952
15953 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
15954 PyObject *resultobj;
15955 wxPrintData *arg1 = (wxPrintData *) 0 ;
15956 wxString *arg2 = 0 ;
15957 bool temp2 = False ;
15958 PyObject * obj0 = 0 ;
15959 PyObject * obj1 = 0 ;
15960 char *kwnames[] = {
15961 (char *) "self",(char *) "path", NULL
15962 };
15963
15964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
15965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15966 {
15967 arg2 = wxString_in_helper(obj1);
15968 if (arg2 == NULL) SWIG_fail;
15969 temp2 = True;
15970 }
15971 {
15972 PyThreadState* __tstate = wxPyBeginAllowThreads();
15973 (arg1)->SetFontMetricPath((wxString const &)*arg2);
15974
15975 wxPyEndAllowThreads(__tstate);
15976 if (PyErr_Occurred()) SWIG_fail;
15977 }
15978 Py_INCREF(Py_None); resultobj = Py_None;
15979 {
15980 if (temp2)
15981 delete arg2;
15982 }
15983 return resultobj;
15984 fail:
15985 {
15986 if (temp2)
15987 delete arg2;
15988 }
15989 return NULL;
15990 }
15991
15992
15993 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
15994 PyObject *resultobj;
15995 wxPrintData *arg1 = (wxPrintData *) 0 ;
15996 double arg2 ;
15997 PyObject * obj0 = 0 ;
15998 char *kwnames[] = {
15999 (char *) "self",(char *) "x", NULL
16000 };
16001
16002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleX",kwnames,&obj0,&arg2)) goto fail;
16003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16004 {
16005 PyThreadState* __tstate = wxPyBeginAllowThreads();
16006 (arg1)->SetPrinterScaleX(arg2);
16007
16008 wxPyEndAllowThreads(__tstate);
16009 if (PyErr_Occurred()) SWIG_fail;
16010 }
16011 Py_INCREF(Py_None); resultobj = Py_None;
16012 return resultobj;
16013 fail:
16014 return NULL;
16015 }
16016
16017
16018 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
16019 PyObject *resultobj;
16020 wxPrintData *arg1 = (wxPrintData *) 0 ;
16021 double arg2 ;
16022 PyObject * obj0 = 0 ;
16023 char *kwnames[] = {
16024 (char *) "self",(char *) "y", NULL
16025 };
16026
16027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleY",kwnames,&obj0,&arg2)) goto fail;
16028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16029 {
16030 PyThreadState* __tstate = wxPyBeginAllowThreads();
16031 (arg1)->SetPrinterScaleY(arg2);
16032
16033 wxPyEndAllowThreads(__tstate);
16034 if (PyErr_Occurred()) SWIG_fail;
16035 }
16036 Py_INCREF(Py_None); resultobj = Py_None;
16037 return resultobj;
16038 fail:
16039 return NULL;
16040 }
16041
16042
16043 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
16044 PyObject *resultobj;
16045 wxPrintData *arg1 = (wxPrintData *) 0 ;
16046 double arg2 ;
16047 double arg3 ;
16048 PyObject * obj0 = 0 ;
16049 char *kwnames[] = {
16050 (char *) "self",(char *) "x",(char *) "y", NULL
16051 };
16052
16053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PrintData_SetPrinterScaling",kwnames,&obj0,&arg2,&arg3)) goto fail;
16054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16055 {
16056 PyThreadState* __tstate = wxPyBeginAllowThreads();
16057 (arg1)->SetPrinterScaling(arg2,arg3);
16058
16059 wxPyEndAllowThreads(__tstate);
16060 if (PyErr_Occurred()) SWIG_fail;
16061 }
16062 Py_INCREF(Py_None); resultobj = Py_None;
16063 return resultobj;
16064 fail:
16065 return NULL;
16066 }
16067
16068
16069 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
16070 PyObject *resultobj;
16071 wxPrintData *arg1 = (wxPrintData *) 0 ;
16072 long arg2 ;
16073 PyObject * obj0 = 0 ;
16074 char *kwnames[] = {
16075 (char *) "self",(char *) "x", NULL
16076 };
16077
16078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateX",kwnames,&obj0,&arg2)) goto fail;
16079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16080 {
16081 PyThreadState* __tstate = wxPyBeginAllowThreads();
16082 (arg1)->SetPrinterTranslateX(arg2);
16083
16084 wxPyEndAllowThreads(__tstate);
16085 if (PyErr_Occurred()) SWIG_fail;
16086 }
16087 Py_INCREF(Py_None); resultobj = Py_None;
16088 return resultobj;
16089 fail:
16090 return NULL;
16091 }
16092
16093
16094 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
16095 PyObject *resultobj;
16096 wxPrintData *arg1 = (wxPrintData *) 0 ;
16097 long arg2 ;
16098 PyObject * obj0 = 0 ;
16099 char *kwnames[] = {
16100 (char *) "self",(char *) "y", NULL
16101 };
16102
16103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateY",kwnames,&obj0,&arg2)) goto fail;
16104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16105 {
16106 PyThreadState* __tstate = wxPyBeginAllowThreads();
16107 (arg1)->SetPrinterTranslateY(arg2);
16108
16109 wxPyEndAllowThreads(__tstate);
16110 if (PyErr_Occurred()) SWIG_fail;
16111 }
16112 Py_INCREF(Py_None); resultobj = Py_None;
16113 return resultobj;
16114 fail:
16115 return NULL;
16116 }
16117
16118
16119 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
16120 PyObject *resultobj;
16121 wxPrintData *arg1 = (wxPrintData *) 0 ;
16122 long arg2 ;
16123 long arg3 ;
16124 PyObject * obj0 = 0 ;
16125 char *kwnames[] = {
16126 (char *) "self",(char *) "x",(char *) "y", NULL
16127 };
16128
16129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:PrintData_SetPrinterTranslation",kwnames,&obj0,&arg2,&arg3)) goto fail;
16130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16131 {
16132 PyThreadState* __tstate = wxPyBeginAllowThreads();
16133 (arg1)->SetPrinterTranslation(arg2,arg3);
16134
16135 wxPyEndAllowThreads(__tstate);
16136 if (PyErr_Occurred()) SWIG_fail;
16137 }
16138 Py_INCREF(Py_None); resultobj = Py_None;
16139 return resultobj;
16140 fail:
16141 return NULL;
16142 }
16143
16144
16145 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
16146 PyObject *resultobj;
16147 wxPrintData *arg1 = (wxPrintData *) 0 ;
16148 int arg2 ;
16149 PyObject * obj0 = 0 ;
16150 char *kwnames[] = {
16151 (char *) "self",(char *) "printMode", NULL
16152 };
16153
16154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPrintMode",kwnames,&obj0,&arg2)) goto fail;
16155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16156 {
16157 PyThreadState* __tstate = wxPyBeginAllowThreads();
16158 (arg1)->SetPrintMode((wxPrintMode )arg2);
16159
16160 wxPyEndAllowThreads(__tstate);
16161 if (PyErr_Occurred()) SWIG_fail;
16162 }
16163 Py_INCREF(Py_None); resultobj = Py_None;
16164 return resultobj;
16165 fail:
16166 return NULL;
16167 }
16168
16169
16170 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
16171 PyObject *obj;
16172 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16173 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
16174 Py_INCREF(obj);
16175 return Py_BuildValue((char *)"");
16176 }
16177 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16178 PyObject *resultobj;
16179 wxPageSetupDialogData *result;
16180 char *kwnames[] = {
16181 NULL
16182 };
16183
16184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
16185 {
16186 PyThreadState* __tstate = wxPyBeginAllowThreads();
16187 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
16188
16189 wxPyEndAllowThreads(__tstate);
16190 if (PyErr_Occurred()) SWIG_fail;
16191 }
16192 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 1);
16193 return resultobj;
16194 fail:
16195 return NULL;
16196 }
16197
16198
16199 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16200 PyObject *resultobj;
16201 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16202 PyObject * obj0 = 0 ;
16203 char *kwnames[] = {
16204 (char *) "self", NULL
16205 };
16206
16207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
16208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16209 {
16210 PyThreadState* __tstate = wxPyBeginAllowThreads();
16211 delete arg1;
16212
16213 wxPyEndAllowThreads(__tstate);
16214 if (PyErr_Occurred()) SWIG_fail;
16215 }
16216 Py_INCREF(Py_None); resultobj = Py_None;
16217 return resultobj;
16218 fail:
16219 return NULL;
16220 }
16221
16222
16223 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16224 PyObject *resultobj;
16225 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16226 bool arg2 ;
16227 PyObject * obj0 = 0 ;
16228 PyObject * obj1 = 0 ;
16229 char *kwnames[] = {
16230 (char *) "self",(char *) "flag", NULL
16231 };
16232
16233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
16234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16235 arg2 = PyInt_AsLong(obj1) ? true : false;
16236 if (PyErr_Occurred()) SWIG_fail;
16237 {
16238 PyThreadState* __tstate = wxPyBeginAllowThreads();
16239 (arg1)->EnableHelp(arg2);
16240
16241 wxPyEndAllowThreads(__tstate);
16242 if (PyErr_Occurred()) SWIG_fail;
16243 }
16244 Py_INCREF(Py_None); resultobj = Py_None;
16245 return resultobj;
16246 fail:
16247 return NULL;
16248 }
16249
16250
16251 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16252 PyObject *resultobj;
16253 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16254 bool arg2 ;
16255 PyObject * obj0 = 0 ;
16256 PyObject * obj1 = 0 ;
16257 char *kwnames[] = {
16258 (char *) "self",(char *) "flag", NULL
16259 };
16260
16261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
16262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16263 arg2 = PyInt_AsLong(obj1) ? true : false;
16264 if (PyErr_Occurred()) SWIG_fail;
16265 {
16266 PyThreadState* __tstate = wxPyBeginAllowThreads();
16267 (arg1)->EnableMargins(arg2);
16268
16269 wxPyEndAllowThreads(__tstate);
16270 if (PyErr_Occurred()) SWIG_fail;
16271 }
16272 Py_INCREF(Py_None); resultobj = Py_None;
16273 return resultobj;
16274 fail:
16275 return NULL;
16276 }
16277
16278
16279 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16280 PyObject *resultobj;
16281 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16282 bool arg2 ;
16283 PyObject * obj0 = 0 ;
16284 PyObject * obj1 = 0 ;
16285 char *kwnames[] = {
16286 (char *) "self",(char *) "flag", NULL
16287 };
16288
16289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
16290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16291 arg2 = PyInt_AsLong(obj1) ? true : false;
16292 if (PyErr_Occurred()) SWIG_fail;
16293 {
16294 PyThreadState* __tstate = wxPyBeginAllowThreads();
16295 (arg1)->EnableOrientation(arg2);
16296
16297 wxPyEndAllowThreads(__tstate);
16298 if (PyErr_Occurred()) SWIG_fail;
16299 }
16300 Py_INCREF(Py_None); resultobj = Py_None;
16301 return resultobj;
16302 fail:
16303 return NULL;
16304 }
16305
16306
16307 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
16308 PyObject *resultobj;
16309 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16310 bool arg2 ;
16311 PyObject * obj0 = 0 ;
16312 PyObject * obj1 = 0 ;
16313 char *kwnames[] = {
16314 (char *) "self",(char *) "flag", NULL
16315 };
16316
16317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
16318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16319 arg2 = PyInt_AsLong(obj1) ? true : false;
16320 if (PyErr_Occurred()) SWIG_fail;
16321 {
16322 PyThreadState* __tstate = wxPyBeginAllowThreads();
16323 (arg1)->EnablePaper(arg2);
16324
16325 wxPyEndAllowThreads(__tstate);
16326 if (PyErr_Occurred()) SWIG_fail;
16327 }
16328 Py_INCREF(Py_None); resultobj = Py_None;
16329 return resultobj;
16330 fail:
16331 return NULL;
16332 }
16333
16334
16335 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16336 PyObject *resultobj;
16337 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16338 bool arg2 ;
16339 PyObject * obj0 = 0 ;
16340 PyObject * obj1 = 0 ;
16341 char *kwnames[] = {
16342 (char *) "self",(char *) "flag", NULL
16343 };
16344
16345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
16346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16347 arg2 = PyInt_AsLong(obj1) ? true : false;
16348 if (PyErr_Occurred()) SWIG_fail;
16349 {
16350 PyThreadState* __tstate = wxPyBeginAllowThreads();
16351 (arg1)->EnablePrinter(arg2);
16352
16353 wxPyEndAllowThreads(__tstate);
16354 if (PyErr_Occurred()) SWIG_fail;
16355 }
16356 Py_INCREF(Py_None); resultobj = Py_None;
16357 return resultobj;
16358 fail:
16359 return NULL;
16360 }
16361
16362
16363 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16364 PyObject *resultobj;
16365 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16366 bool result;
16367 PyObject * obj0 = 0 ;
16368 char *kwnames[] = {
16369 (char *) "self", NULL
16370 };
16371
16372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
16373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16374 {
16375 PyThreadState* __tstate = wxPyBeginAllowThreads();
16376 result = (bool)(arg1)->GetDefaultMinMargins();
16377
16378 wxPyEndAllowThreads(__tstate);
16379 if (PyErr_Occurred()) SWIG_fail;
16380 }
16381 resultobj = PyInt_FromLong((long)result);
16382 return resultobj;
16383 fail:
16384 return NULL;
16385 }
16386
16387
16388 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16389 PyObject *resultobj;
16390 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16391 bool result;
16392 PyObject * obj0 = 0 ;
16393 char *kwnames[] = {
16394 (char *) "self", NULL
16395 };
16396
16397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
16398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16399 {
16400 PyThreadState* __tstate = wxPyBeginAllowThreads();
16401 result = (bool)(arg1)->GetEnableMargins();
16402
16403 wxPyEndAllowThreads(__tstate);
16404 if (PyErr_Occurred()) SWIG_fail;
16405 }
16406 resultobj = PyInt_FromLong((long)result);
16407 return resultobj;
16408 fail:
16409 return NULL;
16410 }
16411
16412
16413 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16414 PyObject *resultobj;
16415 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16416 bool result;
16417 PyObject * obj0 = 0 ;
16418 char *kwnames[] = {
16419 (char *) "self", NULL
16420 };
16421
16422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
16423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16424 {
16425 PyThreadState* __tstate = wxPyBeginAllowThreads();
16426 result = (bool)(arg1)->GetEnableOrientation();
16427
16428 wxPyEndAllowThreads(__tstate);
16429 if (PyErr_Occurred()) SWIG_fail;
16430 }
16431 resultobj = PyInt_FromLong((long)result);
16432 return resultobj;
16433 fail:
16434 return NULL;
16435 }
16436
16437
16438 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
16439 PyObject *resultobj;
16440 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16441 bool result;
16442 PyObject * obj0 = 0 ;
16443 char *kwnames[] = {
16444 (char *) "self", NULL
16445 };
16446
16447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
16448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16449 {
16450 PyThreadState* __tstate = wxPyBeginAllowThreads();
16451 result = (bool)(arg1)->GetEnablePaper();
16452
16453 wxPyEndAllowThreads(__tstate);
16454 if (PyErr_Occurred()) SWIG_fail;
16455 }
16456 resultobj = PyInt_FromLong((long)result);
16457 return resultobj;
16458 fail:
16459 return NULL;
16460 }
16461
16462
16463 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16464 PyObject *resultobj;
16465 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16466 bool result;
16467 PyObject * obj0 = 0 ;
16468 char *kwnames[] = {
16469 (char *) "self", NULL
16470 };
16471
16472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
16473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16474 {
16475 PyThreadState* __tstate = wxPyBeginAllowThreads();
16476 result = (bool)(arg1)->GetEnablePrinter();
16477
16478 wxPyEndAllowThreads(__tstate);
16479 if (PyErr_Occurred()) SWIG_fail;
16480 }
16481 resultobj = PyInt_FromLong((long)result);
16482 return resultobj;
16483 fail:
16484 return NULL;
16485 }
16486
16487
16488 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16489 PyObject *resultobj;
16490 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16491 bool result;
16492 PyObject * obj0 = 0 ;
16493 char *kwnames[] = {
16494 (char *) "self", NULL
16495 };
16496
16497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
16498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16499 {
16500 PyThreadState* __tstate = wxPyBeginAllowThreads();
16501 result = (bool)(arg1)->GetEnableHelp();
16502
16503 wxPyEndAllowThreads(__tstate);
16504 if (PyErr_Occurred()) SWIG_fail;
16505 }
16506 resultobj = PyInt_FromLong((long)result);
16507 return resultobj;
16508 fail:
16509 return NULL;
16510 }
16511
16512
16513 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16514 PyObject *resultobj;
16515 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16516 bool result;
16517 PyObject * obj0 = 0 ;
16518 char *kwnames[] = {
16519 (char *) "self", NULL
16520 };
16521
16522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
16523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16524 {
16525 PyThreadState* __tstate = wxPyBeginAllowThreads();
16526 result = (bool)(arg1)->GetDefaultInfo();
16527
16528 wxPyEndAllowThreads(__tstate);
16529 if (PyErr_Occurred()) SWIG_fail;
16530 }
16531 resultobj = PyInt_FromLong((long)result);
16532 return resultobj;
16533 fail:
16534 return NULL;
16535 }
16536
16537
16538 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16539 PyObject *resultobj;
16540 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16541 wxPoint result;
16542 PyObject * obj0 = 0 ;
16543 char *kwnames[] = {
16544 (char *) "self", NULL
16545 };
16546
16547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
16548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16549 {
16550 PyThreadState* __tstate = wxPyBeginAllowThreads();
16551 result = (arg1)->GetMarginTopLeft();
16552
16553 wxPyEndAllowThreads(__tstate);
16554 if (PyErr_Occurred()) SWIG_fail;
16555 }
16556 {
16557 wxPoint * resultptr;
16558 resultptr = new wxPoint((wxPoint &) result);
16559 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16560 }
16561 return resultobj;
16562 fail:
16563 return NULL;
16564 }
16565
16566
16567 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16568 PyObject *resultobj;
16569 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16570 wxPoint result;
16571 PyObject * obj0 = 0 ;
16572 char *kwnames[] = {
16573 (char *) "self", NULL
16574 };
16575
16576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
16577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16578 {
16579 PyThreadState* __tstate = wxPyBeginAllowThreads();
16580 result = (arg1)->GetMarginBottomRight();
16581
16582 wxPyEndAllowThreads(__tstate);
16583 if (PyErr_Occurred()) SWIG_fail;
16584 }
16585 {
16586 wxPoint * resultptr;
16587 resultptr = new wxPoint((wxPoint &) result);
16588 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16589 }
16590 return resultobj;
16591 fail:
16592 return NULL;
16593 }
16594
16595
16596 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16597 PyObject *resultobj;
16598 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16599 wxPoint result;
16600 PyObject * obj0 = 0 ;
16601 char *kwnames[] = {
16602 (char *) "self", NULL
16603 };
16604
16605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
16606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16607 {
16608 PyThreadState* __tstate = wxPyBeginAllowThreads();
16609 result = (arg1)->GetMinMarginTopLeft();
16610
16611 wxPyEndAllowThreads(__tstate);
16612 if (PyErr_Occurred()) SWIG_fail;
16613 }
16614 {
16615 wxPoint * resultptr;
16616 resultptr = new wxPoint((wxPoint &) result);
16617 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16618 }
16619 return resultobj;
16620 fail:
16621 return NULL;
16622 }
16623
16624
16625 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16626 PyObject *resultobj;
16627 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16628 wxPoint result;
16629 PyObject * obj0 = 0 ;
16630 char *kwnames[] = {
16631 (char *) "self", NULL
16632 };
16633
16634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
16635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16636 {
16637 PyThreadState* __tstate = wxPyBeginAllowThreads();
16638 result = (arg1)->GetMinMarginBottomRight();
16639
16640 wxPyEndAllowThreads(__tstate);
16641 if (PyErr_Occurred()) SWIG_fail;
16642 }
16643 {
16644 wxPoint * resultptr;
16645 resultptr = new wxPoint((wxPoint &) result);
16646 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16647 }
16648 return resultobj;
16649 fail:
16650 return NULL;
16651 }
16652
16653
16654 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16655 PyObject *resultobj;
16656 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16657 int result;
16658 PyObject * obj0 = 0 ;
16659 char *kwnames[] = {
16660 (char *) "self", NULL
16661 };
16662
16663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
16664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16665 {
16666 PyThreadState* __tstate = wxPyBeginAllowThreads();
16667 result = (int)(arg1)->GetPaperId();
16668
16669 wxPyEndAllowThreads(__tstate);
16670 if (PyErr_Occurred()) SWIG_fail;
16671 }
16672 resultobj = PyInt_FromLong((long)result);
16673 return resultobj;
16674 fail:
16675 return NULL;
16676 }
16677
16678
16679 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16680 PyObject *resultobj;
16681 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16682 wxSize result;
16683 PyObject * obj0 = 0 ;
16684 char *kwnames[] = {
16685 (char *) "self", NULL
16686 };
16687
16688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
16689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16690 {
16691 PyThreadState* __tstate = wxPyBeginAllowThreads();
16692 result = (arg1)->GetPaperSize();
16693
16694 wxPyEndAllowThreads(__tstate);
16695 if (PyErr_Occurred()) SWIG_fail;
16696 }
16697 {
16698 wxSize * resultptr;
16699 resultptr = new wxSize((wxSize &) result);
16700 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16701 }
16702 return resultobj;
16703 fail:
16704 return NULL;
16705 }
16706
16707
16708 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16709 PyObject *resultobj;
16710 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16711 wxPrintData *result;
16712 PyObject * obj0 = 0 ;
16713 char *kwnames[] = {
16714 (char *) "self", NULL
16715 };
16716
16717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
16718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16719 {
16720 PyThreadState* __tstate = wxPyBeginAllowThreads();
16721 {
16722 wxPrintData &_result_ref = (arg1)->GetPrintData();
16723 result = (wxPrintData *) &_result_ref;
16724 }
16725
16726 wxPyEndAllowThreads(__tstate);
16727 if (PyErr_Occurred()) SWIG_fail;
16728 }
16729 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
16730 return resultobj;
16731 fail:
16732 return NULL;
16733 }
16734
16735
16736 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
16737 PyObject *resultobj;
16738 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16739 bool result;
16740 PyObject * obj0 = 0 ;
16741 char *kwnames[] = {
16742 (char *) "self", NULL
16743 };
16744
16745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
16746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16747 {
16748 PyThreadState* __tstate = wxPyBeginAllowThreads();
16749 result = (bool)(arg1)->Ok();
16750
16751 wxPyEndAllowThreads(__tstate);
16752 if (PyErr_Occurred()) SWIG_fail;
16753 }
16754 resultobj = PyInt_FromLong((long)result);
16755 return resultobj;
16756 fail:
16757 return NULL;
16758 }
16759
16760
16761 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16762 PyObject *resultobj;
16763 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16764 bool arg2 ;
16765 PyObject * obj0 = 0 ;
16766 PyObject * obj1 = 0 ;
16767 char *kwnames[] = {
16768 (char *) "self",(char *) "flag", NULL
16769 };
16770
16771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
16772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16773 arg2 = PyInt_AsLong(obj1) ? true : false;
16774 if (PyErr_Occurred()) SWIG_fail;
16775 {
16776 PyThreadState* __tstate = wxPyBeginAllowThreads();
16777 (arg1)->SetDefaultInfo(arg2);
16778
16779 wxPyEndAllowThreads(__tstate);
16780 if (PyErr_Occurred()) SWIG_fail;
16781 }
16782 Py_INCREF(Py_None); resultobj = Py_None;
16783 return resultobj;
16784 fail:
16785 return NULL;
16786 }
16787
16788
16789 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16790 PyObject *resultobj;
16791 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16792 bool arg2 ;
16793 PyObject * obj0 = 0 ;
16794 PyObject * obj1 = 0 ;
16795 char *kwnames[] = {
16796 (char *) "self",(char *) "flag", NULL
16797 };
16798
16799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
16800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16801 arg2 = PyInt_AsLong(obj1) ? true : false;
16802 if (PyErr_Occurred()) SWIG_fail;
16803 {
16804 PyThreadState* __tstate = wxPyBeginAllowThreads();
16805 (arg1)->SetDefaultMinMargins(arg2);
16806
16807 wxPyEndAllowThreads(__tstate);
16808 if (PyErr_Occurred()) SWIG_fail;
16809 }
16810 Py_INCREF(Py_None); resultobj = Py_None;
16811 return resultobj;
16812 fail:
16813 return NULL;
16814 }
16815
16816
16817 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16818 PyObject *resultobj;
16819 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16820 wxPoint *arg2 = 0 ;
16821 wxPoint temp2 ;
16822 PyObject * obj0 = 0 ;
16823 PyObject * obj1 = 0 ;
16824 char *kwnames[] = {
16825 (char *) "self",(char *) "pt", NULL
16826 };
16827
16828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
16829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16830 {
16831 arg2 = &temp2;
16832 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16833 }
16834 {
16835 PyThreadState* __tstate = wxPyBeginAllowThreads();
16836 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
16837
16838 wxPyEndAllowThreads(__tstate);
16839 if (PyErr_Occurred()) SWIG_fail;
16840 }
16841 Py_INCREF(Py_None); resultobj = Py_None;
16842 return resultobj;
16843 fail:
16844 return NULL;
16845 }
16846
16847
16848 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16849 PyObject *resultobj;
16850 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16851 wxPoint *arg2 = 0 ;
16852 wxPoint temp2 ;
16853 PyObject * obj0 = 0 ;
16854 PyObject * obj1 = 0 ;
16855 char *kwnames[] = {
16856 (char *) "self",(char *) "pt", NULL
16857 };
16858
16859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
16860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16861 {
16862 arg2 = &temp2;
16863 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16864 }
16865 {
16866 PyThreadState* __tstate = wxPyBeginAllowThreads();
16867 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
16868
16869 wxPyEndAllowThreads(__tstate);
16870 if (PyErr_Occurred()) SWIG_fail;
16871 }
16872 Py_INCREF(Py_None); resultobj = Py_None;
16873 return resultobj;
16874 fail:
16875 return NULL;
16876 }
16877
16878
16879 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16880 PyObject *resultobj;
16881 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16882 wxPoint *arg2 = 0 ;
16883 wxPoint temp2 ;
16884 PyObject * obj0 = 0 ;
16885 PyObject * obj1 = 0 ;
16886 char *kwnames[] = {
16887 (char *) "self",(char *) "pt", NULL
16888 };
16889
16890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
16891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16892 {
16893 arg2 = &temp2;
16894 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16895 }
16896 {
16897 PyThreadState* __tstate = wxPyBeginAllowThreads();
16898 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
16899
16900 wxPyEndAllowThreads(__tstate);
16901 if (PyErr_Occurred()) SWIG_fail;
16902 }
16903 Py_INCREF(Py_None); resultobj = Py_None;
16904 return resultobj;
16905 fail:
16906 return NULL;
16907 }
16908
16909
16910 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16911 PyObject *resultobj;
16912 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16913 wxPoint *arg2 = 0 ;
16914 wxPoint temp2 ;
16915 PyObject * obj0 = 0 ;
16916 PyObject * obj1 = 0 ;
16917 char *kwnames[] = {
16918 (char *) "self",(char *) "pt", NULL
16919 };
16920
16921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
16922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16923 {
16924 arg2 = &temp2;
16925 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16926 }
16927 {
16928 PyThreadState* __tstate = wxPyBeginAllowThreads();
16929 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
16930
16931 wxPyEndAllowThreads(__tstate);
16932 if (PyErr_Occurred()) SWIG_fail;
16933 }
16934 Py_INCREF(Py_None); resultobj = Py_None;
16935 return resultobj;
16936 fail:
16937 return NULL;
16938 }
16939
16940
16941 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16942 PyObject *resultobj;
16943 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16944 int arg2 ;
16945 PyObject * obj0 = 0 ;
16946 char *kwnames[] = {
16947 (char *) "self",(char *) "id", NULL
16948 };
16949
16950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PageSetupDialogData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
16951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16952 {
16953 PyThreadState* __tstate = wxPyBeginAllowThreads();
16954 (arg1)->SetPaperId((wxPaperSize )arg2);
16955
16956 wxPyEndAllowThreads(__tstate);
16957 if (PyErr_Occurred()) SWIG_fail;
16958 }
16959 Py_INCREF(Py_None); resultobj = Py_None;
16960 return resultobj;
16961 fail:
16962 return NULL;
16963 }
16964
16965
16966 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16967 PyObject *resultobj;
16968 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16969 wxSize *arg2 = 0 ;
16970 wxSize temp2 ;
16971 PyObject * obj0 = 0 ;
16972 PyObject * obj1 = 0 ;
16973 char *kwnames[] = {
16974 (char *) "self",(char *) "size", NULL
16975 };
16976
16977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
16978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16979 {
16980 arg2 = &temp2;
16981 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16982 }
16983 {
16984 PyThreadState* __tstate = wxPyBeginAllowThreads();
16985 (arg1)->SetPaperSize((wxSize const &)*arg2);
16986
16987 wxPyEndAllowThreads(__tstate);
16988 if (PyErr_Occurred()) SWIG_fail;
16989 }
16990 Py_INCREF(Py_None); resultobj = Py_None;
16991 return resultobj;
16992 fail:
16993 return NULL;
16994 }
16995
16996
16997 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16998 PyObject *resultobj;
16999 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17000 wxPrintData *arg2 = 0 ;
17001 PyObject * obj0 = 0 ;
17002 PyObject * obj1 = 0 ;
17003 char *kwnames[] = {
17004 (char *) "self",(char *) "printData", NULL
17005 };
17006
17007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
17008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17009 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17010 if (arg2 == NULL) {
17011 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17012 }
17013 {
17014 PyThreadState* __tstate = wxPyBeginAllowThreads();
17015 (arg1)->SetPrintData((wxPrintData const &)*arg2);
17016
17017 wxPyEndAllowThreads(__tstate);
17018 if (PyErr_Occurred()) SWIG_fail;
17019 }
17020 Py_INCREF(Py_None); resultobj = Py_None;
17021 return resultobj;
17022 fail:
17023 return NULL;
17024 }
17025
17026
17027 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
17028 PyObject *obj;
17029 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17030 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
17031 Py_INCREF(obj);
17032 return Py_BuildValue((char *)"");
17033 }
17034 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17035 PyObject *resultobj;
17036 wxWindow *arg1 = (wxWindow *) 0 ;
17037 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
17038 wxPageSetupDialog *result;
17039 PyObject * obj0 = 0 ;
17040 PyObject * obj1 = 0 ;
17041 char *kwnames[] = {
17042 (char *) "parent",(char *) "data", NULL
17043 };
17044
17045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
17046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17047 if (obj1) {
17048 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17049 }
17050 {
17051 PyThreadState* __tstate = wxPyBeginAllowThreads();
17052 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
17053
17054 wxPyEndAllowThreads(__tstate);
17055 if (PyErr_Occurred()) SWIG_fail;
17056 }
17057 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialog, 1);
17058 return resultobj;
17059 fail:
17060 return NULL;
17061 }
17062
17063
17064 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
17065 PyObject *resultobj;
17066 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
17067 wxPageSetupDialogData *result;
17068 PyObject * obj0 = 0 ;
17069 char *kwnames[] = {
17070 (char *) "self", NULL
17071 };
17072
17073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
17074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17075 {
17076 PyThreadState* __tstate = wxPyBeginAllowThreads();
17077 {
17078 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
17079 result = (wxPageSetupDialogData *) &_result_ref;
17080 }
17081
17082 wxPyEndAllowThreads(__tstate);
17083 if (PyErr_Occurred()) SWIG_fail;
17084 }
17085 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 0);
17086 return resultobj;
17087 fail:
17088 return NULL;
17089 }
17090
17091
17092 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
17093 PyObject *resultobj;
17094 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
17095 int result;
17096 PyObject * obj0 = 0 ;
17097 char *kwnames[] = {
17098 (char *) "self", NULL
17099 };
17100
17101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
17102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17103 {
17104 PyThreadState* __tstate = wxPyBeginAllowThreads();
17105 result = (int)(arg1)->ShowModal();
17106
17107 wxPyEndAllowThreads(__tstate);
17108 if (PyErr_Occurred()) SWIG_fail;
17109 }
17110 resultobj = PyInt_FromLong((long)result);
17111 return resultobj;
17112 fail:
17113 return NULL;
17114 }
17115
17116
17117 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
17118 PyObject *obj;
17119 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17120 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
17121 Py_INCREF(obj);
17122 return Py_BuildValue((char *)"");
17123 }
17124 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17125 PyObject *resultobj;
17126 wxPrintDialogData *result;
17127 char *kwnames[] = {
17128 NULL
17129 };
17130
17131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintDialogData",kwnames)) goto fail;
17132 {
17133 PyThreadState* __tstate = wxPyBeginAllowThreads();
17134 result = (wxPrintDialogData *)new wxPrintDialogData();
17135
17136 wxPyEndAllowThreads(__tstate);
17137 if (PyErr_Occurred()) SWIG_fail;
17138 }
17139 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 1);
17140 return resultobj;
17141 fail:
17142 return NULL;
17143 }
17144
17145
17146 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17147 PyObject *resultobj;
17148 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17149 PyObject * obj0 = 0 ;
17150 char *kwnames[] = {
17151 (char *) "self", NULL
17152 };
17153
17154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
17155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17156 {
17157 PyThreadState* __tstate = wxPyBeginAllowThreads();
17158 delete arg1;
17159
17160 wxPyEndAllowThreads(__tstate);
17161 if (PyErr_Occurred()) SWIG_fail;
17162 }
17163 Py_INCREF(Py_None); resultobj = Py_None;
17164 return resultobj;
17165 fail:
17166 return NULL;
17167 }
17168
17169
17170 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17171 PyObject *resultobj;
17172 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17173 int result;
17174 PyObject * obj0 = 0 ;
17175 char *kwnames[] = {
17176 (char *) "self", NULL
17177 };
17178
17179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
17180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17181 {
17182 PyThreadState* __tstate = wxPyBeginAllowThreads();
17183 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
17184
17185 wxPyEndAllowThreads(__tstate);
17186 if (PyErr_Occurred()) SWIG_fail;
17187 }
17188 resultobj = PyInt_FromLong((long)result);
17189 return resultobj;
17190 fail:
17191 return NULL;
17192 }
17193
17194
17195 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17196 PyObject *resultobj;
17197 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17198 int result;
17199 PyObject * obj0 = 0 ;
17200 char *kwnames[] = {
17201 (char *) "self", NULL
17202 };
17203
17204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
17205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17206 {
17207 PyThreadState* __tstate = wxPyBeginAllowThreads();
17208 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
17209
17210 wxPyEndAllowThreads(__tstate);
17211 if (PyErr_Occurred()) SWIG_fail;
17212 }
17213 resultobj = PyInt_FromLong((long)result);
17214 return resultobj;
17215 fail:
17216 return NULL;
17217 }
17218
17219
17220 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17221 PyObject *resultobj;
17222 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17223 int result;
17224 PyObject * obj0 = 0 ;
17225 char *kwnames[] = {
17226 (char *) "self", NULL
17227 };
17228
17229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
17230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17231 {
17232 PyThreadState* __tstate = wxPyBeginAllowThreads();
17233 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
17234
17235 wxPyEndAllowThreads(__tstate);
17236 if (PyErr_Occurred()) SWIG_fail;
17237 }
17238 resultobj = PyInt_FromLong((long)result);
17239 return resultobj;
17240 fail:
17241 return NULL;
17242 }
17243
17244
17245 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17246 PyObject *resultobj;
17247 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17248 int result;
17249 PyObject * obj0 = 0 ;
17250 char *kwnames[] = {
17251 (char *) "self", NULL
17252 };
17253
17254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
17255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17256 {
17257 PyThreadState* __tstate = wxPyBeginAllowThreads();
17258 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
17259
17260 wxPyEndAllowThreads(__tstate);
17261 if (PyErr_Occurred()) SWIG_fail;
17262 }
17263 resultobj = PyInt_FromLong((long)result);
17264 return resultobj;
17265 fail:
17266 return NULL;
17267 }
17268
17269
17270 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17271 PyObject *resultobj;
17272 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17273 int result;
17274 PyObject * obj0 = 0 ;
17275 char *kwnames[] = {
17276 (char *) "self", NULL
17277 };
17278
17279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
17280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17281 {
17282 PyThreadState* __tstate = wxPyBeginAllowThreads();
17283 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
17284
17285 wxPyEndAllowThreads(__tstate);
17286 if (PyErr_Occurred()) SWIG_fail;
17287 }
17288 resultobj = PyInt_FromLong((long)result);
17289 return resultobj;
17290 fail:
17291 return NULL;
17292 }
17293
17294
17295 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
17296 PyObject *resultobj;
17297 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17298 bool result;
17299 PyObject * obj0 = 0 ;
17300 char *kwnames[] = {
17301 (char *) "self", NULL
17302 };
17303
17304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
17305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17306 {
17307 PyThreadState* __tstate = wxPyBeginAllowThreads();
17308 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
17309
17310 wxPyEndAllowThreads(__tstate);
17311 if (PyErr_Occurred()) SWIG_fail;
17312 }
17313 resultobj = PyInt_FromLong((long)result);
17314 return resultobj;
17315 fail:
17316 return NULL;
17317 }
17318
17319
17320 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17321 PyObject *resultobj;
17322 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17323 bool result;
17324 PyObject * obj0 = 0 ;
17325 char *kwnames[] = {
17326 (char *) "self", NULL
17327 };
17328
17329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
17330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17331 {
17332 PyThreadState* __tstate = wxPyBeginAllowThreads();
17333 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
17334
17335 wxPyEndAllowThreads(__tstate);
17336 if (PyErr_Occurred()) SWIG_fail;
17337 }
17338 resultobj = PyInt_FromLong((long)result);
17339 return resultobj;
17340 fail:
17341 return NULL;
17342 }
17343
17344
17345 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17346 PyObject *resultobj;
17347 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17348 bool result;
17349 PyObject * obj0 = 0 ;
17350 char *kwnames[] = {
17351 (char *) "self", NULL
17352 };
17353
17354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
17355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17356 {
17357 PyThreadState* __tstate = wxPyBeginAllowThreads();
17358 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
17359
17360 wxPyEndAllowThreads(__tstate);
17361 if (PyErr_Occurred()) SWIG_fail;
17362 }
17363 resultobj = PyInt_FromLong((long)result);
17364 return resultobj;
17365 fail:
17366 return NULL;
17367 }
17368
17369
17370 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17371 PyObject *resultobj;
17372 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17373 bool result;
17374 PyObject * obj0 = 0 ;
17375 char *kwnames[] = {
17376 (char *) "self", NULL
17377 };
17378
17379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
17380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17381 {
17382 PyThreadState* __tstate = wxPyBeginAllowThreads();
17383 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
17384
17385 wxPyEndAllowThreads(__tstate);
17386 if (PyErr_Occurred()) SWIG_fail;
17387 }
17388 resultobj = PyInt_FromLong((long)result);
17389 return resultobj;
17390 fail:
17391 return NULL;
17392 }
17393
17394
17395 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17396 PyObject *resultobj;
17397 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17398 bool result;
17399 PyObject * obj0 = 0 ;
17400 char *kwnames[] = {
17401 (char *) "self", NULL
17402 };
17403
17404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
17405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17406 {
17407 PyThreadState* __tstate = wxPyBeginAllowThreads();
17408 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
17409
17410 wxPyEndAllowThreads(__tstate);
17411 if (PyErr_Occurred()) SWIG_fail;
17412 }
17413 resultobj = PyInt_FromLong((long)result);
17414 return resultobj;
17415 fail:
17416 return NULL;
17417 }
17418
17419
17420 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17421 PyObject *resultobj;
17422 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17423 int arg2 ;
17424 PyObject * obj0 = 0 ;
17425 char *kwnames[] = {
17426 (char *) "self",(char *) "v", NULL
17427 };
17428
17429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetFromPage",kwnames,&obj0,&arg2)) goto fail;
17430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17431 {
17432 PyThreadState* __tstate = wxPyBeginAllowThreads();
17433 (arg1)->SetFromPage(arg2);
17434
17435 wxPyEndAllowThreads(__tstate);
17436 if (PyErr_Occurred()) SWIG_fail;
17437 }
17438 Py_INCREF(Py_None); resultobj = Py_None;
17439 return resultobj;
17440 fail:
17441 return NULL;
17442 }
17443
17444
17445 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17446 PyObject *resultobj;
17447 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17448 int arg2 ;
17449 PyObject * obj0 = 0 ;
17450 char *kwnames[] = {
17451 (char *) "self",(char *) "v", NULL
17452 };
17453
17454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetToPage",kwnames,&obj0,&arg2)) goto fail;
17455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17456 {
17457 PyThreadState* __tstate = wxPyBeginAllowThreads();
17458 (arg1)->SetToPage(arg2);
17459
17460 wxPyEndAllowThreads(__tstate);
17461 if (PyErr_Occurred()) SWIG_fail;
17462 }
17463 Py_INCREF(Py_None); resultobj = Py_None;
17464 return resultobj;
17465 fail:
17466 return NULL;
17467 }
17468
17469
17470 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17471 PyObject *resultobj;
17472 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17473 int arg2 ;
17474 PyObject * obj0 = 0 ;
17475 char *kwnames[] = {
17476 (char *) "self",(char *) "v", NULL
17477 };
17478
17479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMinPage",kwnames,&obj0,&arg2)) goto fail;
17480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17481 {
17482 PyThreadState* __tstate = wxPyBeginAllowThreads();
17483 (arg1)->SetMinPage(arg2);
17484
17485 wxPyEndAllowThreads(__tstate);
17486 if (PyErr_Occurred()) SWIG_fail;
17487 }
17488 Py_INCREF(Py_None); resultobj = Py_None;
17489 return resultobj;
17490 fail:
17491 return NULL;
17492 }
17493
17494
17495 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17496 PyObject *resultobj;
17497 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17498 int arg2 ;
17499 PyObject * obj0 = 0 ;
17500 char *kwnames[] = {
17501 (char *) "self",(char *) "v", NULL
17502 };
17503
17504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMaxPage",kwnames,&obj0,&arg2)) goto fail;
17505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17506 {
17507 PyThreadState* __tstate = wxPyBeginAllowThreads();
17508 (arg1)->SetMaxPage(arg2);
17509
17510 wxPyEndAllowThreads(__tstate);
17511 if (PyErr_Occurred()) SWIG_fail;
17512 }
17513 Py_INCREF(Py_None); resultobj = Py_None;
17514 return resultobj;
17515 fail:
17516 return NULL;
17517 }
17518
17519
17520 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17521 PyObject *resultobj;
17522 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17523 int arg2 ;
17524 PyObject * obj0 = 0 ;
17525 char *kwnames[] = {
17526 (char *) "self",(char *) "v", NULL
17527 };
17528
17529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
17530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17531 {
17532 PyThreadState* __tstate = wxPyBeginAllowThreads();
17533 (arg1)->SetNoCopies(arg2);
17534
17535 wxPyEndAllowThreads(__tstate);
17536 if (PyErr_Occurred()) SWIG_fail;
17537 }
17538 Py_INCREF(Py_None); resultobj = Py_None;
17539 return resultobj;
17540 fail:
17541 return NULL;
17542 }
17543
17544
17545 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
17546 PyObject *resultobj;
17547 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17548 bool arg2 ;
17549 PyObject * obj0 = 0 ;
17550 PyObject * obj1 = 0 ;
17551 char *kwnames[] = {
17552 (char *) "self",(char *) "flag", NULL
17553 };
17554
17555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
17556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17557 arg2 = PyInt_AsLong(obj1) ? true : false;
17558 if (PyErr_Occurred()) SWIG_fail;
17559 {
17560 PyThreadState* __tstate = wxPyBeginAllowThreads();
17561 (arg1)->SetAllPages(arg2);
17562
17563 wxPyEndAllowThreads(__tstate);
17564 if (PyErr_Occurred()) SWIG_fail;
17565 }
17566 Py_INCREF(Py_None); resultobj = Py_None;
17567 return resultobj;
17568 fail:
17569 return NULL;
17570 }
17571
17572
17573 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17574 PyObject *resultobj;
17575 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17576 bool arg2 ;
17577 PyObject * obj0 = 0 ;
17578 PyObject * obj1 = 0 ;
17579 char *kwnames[] = {
17580 (char *) "self",(char *) "flag", NULL
17581 };
17582
17583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
17584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17585 arg2 = PyInt_AsLong(obj1) ? true : false;
17586 if (PyErr_Occurred()) SWIG_fail;
17587 {
17588 PyThreadState* __tstate = wxPyBeginAllowThreads();
17589 (arg1)->SetSelection(arg2);
17590
17591 wxPyEndAllowThreads(__tstate);
17592 if (PyErr_Occurred()) SWIG_fail;
17593 }
17594 Py_INCREF(Py_None); resultobj = Py_None;
17595 return resultobj;
17596 fail:
17597 return NULL;
17598 }
17599
17600
17601 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17602 PyObject *resultobj;
17603 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17604 bool arg2 ;
17605 PyObject * obj0 = 0 ;
17606 PyObject * obj1 = 0 ;
17607 char *kwnames[] = {
17608 (char *) "self",(char *) "flag", NULL
17609 };
17610
17611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
17612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17613 arg2 = PyInt_AsLong(obj1) ? true : false;
17614 if (PyErr_Occurred()) SWIG_fail;
17615 {
17616 PyThreadState* __tstate = wxPyBeginAllowThreads();
17617 (arg1)->SetCollate(arg2);
17618
17619 wxPyEndAllowThreads(__tstate);
17620 if (PyErr_Occurred()) SWIG_fail;
17621 }
17622 Py_INCREF(Py_None); resultobj = Py_None;
17623 return resultobj;
17624 fail:
17625 return NULL;
17626 }
17627
17628
17629 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17630 PyObject *resultobj;
17631 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17632 bool arg2 ;
17633 PyObject * obj0 = 0 ;
17634 PyObject * obj1 = 0 ;
17635 char *kwnames[] = {
17636 (char *) "self",(char *) "flag", NULL
17637 };
17638
17639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
17640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17641 arg2 = PyInt_AsLong(obj1) ? true : false;
17642 if (PyErr_Occurred()) SWIG_fail;
17643 {
17644 PyThreadState* __tstate = wxPyBeginAllowThreads();
17645 (arg1)->SetPrintToFile(arg2);
17646
17647 wxPyEndAllowThreads(__tstate);
17648 if (PyErr_Occurred()) SWIG_fail;
17649 }
17650 Py_INCREF(Py_None); resultobj = Py_None;
17651 return resultobj;
17652 fail:
17653 return NULL;
17654 }
17655
17656
17657 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17658 PyObject *resultobj;
17659 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17660 bool arg2 ;
17661 PyObject * obj0 = 0 ;
17662 PyObject * obj1 = 0 ;
17663 char *kwnames[] = {
17664 (char *) "self",(char *) "flag", NULL
17665 };
17666
17667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
17668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17669 arg2 = PyInt_AsLong(obj1) ? true : false;
17670 if (PyErr_Occurred()) SWIG_fail;
17671 {
17672 PyThreadState* __tstate = wxPyBeginAllowThreads();
17673 (arg1)->SetSetupDialog(arg2);
17674
17675 wxPyEndAllowThreads(__tstate);
17676 if (PyErr_Occurred()) SWIG_fail;
17677 }
17678 Py_INCREF(Py_None); resultobj = Py_None;
17679 return resultobj;
17680 fail:
17681 return NULL;
17682 }
17683
17684
17685 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17686 PyObject *resultobj;
17687 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17688 bool arg2 ;
17689 PyObject * obj0 = 0 ;
17690 PyObject * obj1 = 0 ;
17691 char *kwnames[] = {
17692 (char *) "self",(char *) "flag", NULL
17693 };
17694
17695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
17696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17697 arg2 = PyInt_AsLong(obj1) ? true : false;
17698 if (PyErr_Occurred()) SWIG_fail;
17699 {
17700 PyThreadState* __tstate = wxPyBeginAllowThreads();
17701 (arg1)->EnablePrintToFile(arg2);
17702
17703 wxPyEndAllowThreads(__tstate);
17704 if (PyErr_Occurred()) SWIG_fail;
17705 }
17706 Py_INCREF(Py_None); resultobj = Py_None;
17707 return resultobj;
17708 fail:
17709 return NULL;
17710 }
17711
17712
17713 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17714 PyObject *resultobj;
17715 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17716 bool arg2 ;
17717 PyObject * obj0 = 0 ;
17718 PyObject * obj1 = 0 ;
17719 char *kwnames[] = {
17720 (char *) "self",(char *) "flag", NULL
17721 };
17722
17723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
17724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17725 arg2 = PyInt_AsLong(obj1) ? true : false;
17726 if (PyErr_Occurred()) SWIG_fail;
17727 {
17728 PyThreadState* __tstate = wxPyBeginAllowThreads();
17729 (arg1)->EnableSelection(arg2);
17730
17731 wxPyEndAllowThreads(__tstate);
17732 if (PyErr_Occurred()) SWIG_fail;
17733 }
17734 Py_INCREF(Py_None); resultobj = Py_None;
17735 return resultobj;
17736 fail:
17737 return NULL;
17738 }
17739
17740
17741 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17742 PyObject *resultobj;
17743 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17744 bool arg2 ;
17745 PyObject * obj0 = 0 ;
17746 PyObject * obj1 = 0 ;
17747 char *kwnames[] = {
17748 (char *) "self",(char *) "flag", NULL
17749 };
17750
17751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
17752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17753 arg2 = PyInt_AsLong(obj1) ? true : false;
17754 if (PyErr_Occurred()) SWIG_fail;
17755 {
17756 PyThreadState* __tstate = wxPyBeginAllowThreads();
17757 (arg1)->EnablePageNumbers(arg2);
17758
17759 wxPyEndAllowThreads(__tstate);
17760 if (PyErr_Occurred()) SWIG_fail;
17761 }
17762 Py_INCREF(Py_None); resultobj = Py_None;
17763 return resultobj;
17764 fail:
17765 return NULL;
17766 }
17767
17768
17769 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17770 PyObject *resultobj;
17771 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17772 bool arg2 ;
17773 PyObject * obj0 = 0 ;
17774 PyObject * obj1 = 0 ;
17775 char *kwnames[] = {
17776 (char *) "self",(char *) "flag", NULL
17777 };
17778
17779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
17780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17781 arg2 = PyInt_AsLong(obj1) ? true : false;
17782 if (PyErr_Occurred()) SWIG_fail;
17783 {
17784 PyThreadState* __tstate = wxPyBeginAllowThreads();
17785 (arg1)->EnableHelp(arg2);
17786
17787 wxPyEndAllowThreads(__tstate);
17788 if (PyErr_Occurred()) SWIG_fail;
17789 }
17790 Py_INCREF(Py_None); resultobj = Py_None;
17791 return resultobj;
17792 fail:
17793 return NULL;
17794 }
17795
17796
17797 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17798 PyObject *resultobj;
17799 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17800 bool result;
17801 PyObject * obj0 = 0 ;
17802 char *kwnames[] = {
17803 (char *) "self", NULL
17804 };
17805
17806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
17807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17808 {
17809 PyThreadState* __tstate = wxPyBeginAllowThreads();
17810 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
17811
17812 wxPyEndAllowThreads(__tstate);
17813 if (PyErr_Occurred()) SWIG_fail;
17814 }
17815 resultobj = PyInt_FromLong((long)result);
17816 return resultobj;
17817 fail:
17818 return NULL;
17819 }
17820
17821
17822 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17823 PyObject *resultobj;
17824 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17825 bool result;
17826 PyObject * obj0 = 0 ;
17827 char *kwnames[] = {
17828 (char *) "self", NULL
17829 };
17830
17831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
17832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17833 {
17834 PyThreadState* __tstate = wxPyBeginAllowThreads();
17835 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
17836
17837 wxPyEndAllowThreads(__tstate);
17838 if (PyErr_Occurred()) SWIG_fail;
17839 }
17840 resultobj = PyInt_FromLong((long)result);
17841 return resultobj;
17842 fail:
17843 return NULL;
17844 }
17845
17846
17847 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17848 PyObject *resultobj;
17849 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17850 bool result;
17851 PyObject * obj0 = 0 ;
17852 char *kwnames[] = {
17853 (char *) "self", NULL
17854 };
17855
17856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
17857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17858 {
17859 PyThreadState* __tstate = wxPyBeginAllowThreads();
17860 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
17861
17862 wxPyEndAllowThreads(__tstate);
17863 if (PyErr_Occurred()) SWIG_fail;
17864 }
17865 resultobj = PyInt_FromLong((long)result);
17866 return resultobj;
17867 fail:
17868 return NULL;
17869 }
17870
17871
17872 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17873 PyObject *resultobj;
17874 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17875 bool result;
17876 PyObject * obj0 = 0 ;
17877 char *kwnames[] = {
17878 (char *) "self", NULL
17879 };
17880
17881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
17882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17883 {
17884 PyThreadState* __tstate = wxPyBeginAllowThreads();
17885 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
17886
17887 wxPyEndAllowThreads(__tstate);
17888 if (PyErr_Occurred()) SWIG_fail;
17889 }
17890 resultobj = PyInt_FromLong((long)result);
17891 return resultobj;
17892 fail:
17893 return NULL;
17894 }
17895
17896
17897 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
17898 PyObject *resultobj;
17899 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17900 bool result;
17901 PyObject * obj0 = 0 ;
17902 char *kwnames[] = {
17903 (char *) "self", NULL
17904 };
17905
17906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
17907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17908 {
17909 PyThreadState* __tstate = wxPyBeginAllowThreads();
17910 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
17911
17912 wxPyEndAllowThreads(__tstate);
17913 if (PyErr_Occurred()) SWIG_fail;
17914 }
17915 resultobj = PyInt_FromLong((long)result);
17916 return resultobj;
17917 fail:
17918 return NULL;
17919 }
17920
17921
17922 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17923 PyObject *resultobj;
17924 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17925 wxPrintData *result;
17926 PyObject * obj0 = 0 ;
17927 char *kwnames[] = {
17928 (char *) "self", NULL
17929 };
17930
17931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
17932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17933 {
17934 PyThreadState* __tstate = wxPyBeginAllowThreads();
17935 {
17936 wxPrintData &_result_ref = (arg1)->GetPrintData();
17937 result = (wxPrintData *) &_result_ref;
17938 }
17939
17940 wxPyEndAllowThreads(__tstate);
17941 if (PyErr_Occurred()) SWIG_fail;
17942 }
17943 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
17944 return resultobj;
17945 fail:
17946 return NULL;
17947 }
17948
17949
17950 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17951 PyObject *resultobj;
17952 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17953 wxPrintData *arg2 = 0 ;
17954 PyObject * obj0 = 0 ;
17955 PyObject * obj1 = 0 ;
17956 char *kwnames[] = {
17957 (char *) "self",(char *) "printData", NULL
17958 };
17959
17960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
17961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17962 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17963 if (arg2 == NULL) {
17964 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17965 }
17966 {
17967 PyThreadState* __tstate = wxPyBeginAllowThreads();
17968 (arg1)->SetPrintData((wxPrintData const &)*arg2);
17969
17970 wxPyEndAllowThreads(__tstate);
17971 if (PyErr_Occurred()) SWIG_fail;
17972 }
17973 Py_INCREF(Py_None); resultobj = Py_None;
17974 return resultobj;
17975 fail:
17976 return NULL;
17977 }
17978
17979
17980 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
17981 PyObject *obj;
17982 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17983 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
17984 Py_INCREF(obj);
17985 return Py_BuildValue((char *)"");
17986 }
17987 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17988 PyObject *resultobj;
17989 wxWindow *arg1 = (wxWindow *) 0 ;
17990 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
17991 wxPrintDialog *result;
17992 PyObject * obj0 = 0 ;
17993 PyObject * obj1 = 0 ;
17994 char *kwnames[] = {
17995 (char *) "parent",(char *) "data", NULL
17996 };
17997
17998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
17999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18000 if (obj1) {
18001 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18002 }
18003 {
18004 PyThreadState* __tstate = wxPyBeginAllowThreads();
18005 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
18006
18007 wxPyEndAllowThreads(__tstate);
18008 if (PyErr_Occurred()) SWIG_fail;
18009 }
18010 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialog, 1);
18011 return resultobj;
18012 fail:
18013 return NULL;
18014 }
18015
18016
18017 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18018 PyObject *resultobj;
18019 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
18020 wxPrintDialogData *result;
18021 PyObject * obj0 = 0 ;
18022 char *kwnames[] = {
18023 (char *) "self", NULL
18024 };
18025
18026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
18027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18028 {
18029 PyThreadState* __tstate = wxPyBeginAllowThreads();
18030 {
18031 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
18032 result = (wxPrintDialogData *) &_result_ref;
18033 }
18034
18035 wxPyEndAllowThreads(__tstate);
18036 if (PyErr_Occurred()) SWIG_fail;
18037 }
18038 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
18039 return resultobj;
18040 fail:
18041 return NULL;
18042 }
18043
18044
18045 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18046 PyObject *resultobj;
18047 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
18048 wxDC *result;
18049 PyObject * obj0 = 0 ;
18050 char *kwnames[] = {
18051 (char *) "self", NULL
18052 };
18053
18054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
18055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18056 {
18057 PyThreadState* __tstate = wxPyBeginAllowThreads();
18058 result = (wxDC *)(arg1)->GetPrintDC();
18059
18060 wxPyEndAllowThreads(__tstate);
18061 if (PyErr_Occurred()) SWIG_fail;
18062 }
18063 {
18064 resultobj = wxPyMake_wxObject(result);
18065 }
18066 return resultobj;
18067 fail:
18068 return NULL;
18069 }
18070
18071
18072 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
18073 PyObject *resultobj;
18074 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
18075 int result;
18076 PyObject * obj0 = 0 ;
18077 char *kwnames[] = {
18078 (char *) "self", NULL
18079 };
18080
18081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
18082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18083 {
18084 PyThreadState* __tstate = wxPyBeginAllowThreads();
18085 result = (int)(arg1)->ShowModal();
18086
18087 wxPyEndAllowThreads(__tstate);
18088 if (PyErr_Occurred()) SWIG_fail;
18089 }
18090 resultobj = PyInt_FromLong((long)result);
18091 return resultobj;
18092 fail:
18093 return NULL;
18094 }
18095
18096
18097 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
18098 PyObject *obj;
18099 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18100 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
18101 Py_INCREF(obj);
18102 return Py_BuildValue((char *)"");
18103 }
18104 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
18105 PyObject *resultobj;
18106 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
18107 wxPrinter *result;
18108 PyObject * obj0 = 0 ;
18109 char *kwnames[] = {
18110 (char *) "data", NULL
18111 };
18112
18113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
18114 if (obj0) {
18115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18116 }
18117 {
18118 PyThreadState* __tstate = wxPyBeginAllowThreads();
18119 result = (wxPrinter *)new wxPrinter(arg1);
18120
18121 wxPyEndAllowThreads(__tstate);
18122 if (PyErr_Occurred()) SWIG_fail;
18123 }
18124 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrinter, 1);
18125 return resultobj;
18126 fail:
18127 return NULL;
18128 }
18129
18130
18131 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
18132 PyObject *resultobj;
18133 wxPrinter *arg1 = (wxPrinter *) 0 ;
18134 PyObject * obj0 = 0 ;
18135 char *kwnames[] = {
18136 (char *) "self", NULL
18137 };
18138
18139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
18140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18141 {
18142 PyThreadState* __tstate = wxPyBeginAllowThreads();
18143 delete arg1;
18144
18145 wxPyEndAllowThreads(__tstate);
18146 if (PyErr_Occurred()) SWIG_fail;
18147 }
18148 Py_INCREF(Py_None); resultobj = Py_None;
18149 return resultobj;
18150 fail:
18151 return NULL;
18152 }
18153
18154
18155 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18156 PyObject *resultobj;
18157 wxPrinter *arg1 = (wxPrinter *) 0 ;
18158 wxWindow *arg2 = (wxWindow *) 0 ;
18159 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
18160 PyObject * obj0 = 0 ;
18161 PyObject * obj1 = 0 ;
18162 PyObject * obj2 = 0 ;
18163 char *kwnames[] = {
18164 (char *) "self",(char *) "parent",(char *) "printout", NULL
18165 };
18166
18167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
18168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18169 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18170 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18171 {
18172 PyThreadState* __tstate = wxPyBeginAllowThreads();
18173 (arg1)->CreateAbortWindow(arg2,arg3);
18174
18175 wxPyEndAllowThreads(__tstate);
18176 if (PyErr_Occurred()) SWIG_fail;
18177 }
18178 Py_INCREF(Py_None); resultobj = Py_None;
18179 return resultobj;
18180 fail:
18181 return NULL;
18182 }
18183
18184
18185 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18186 PyObject *resultobj;
18187 wxPrinter *arg1 = (wxPrinter *) 0 ;
18188 wxPrintDialogData *result;
18189 PyObject * obj0 = 0 ;
18190 char *kwnames[] = {
18191 (char *) "self", NULL
18192 };
18193
18194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
18195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18196 {
18197 PyThreadState* __tstate = wxPyBeginAllowThreads();
18198 {
18199 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
18200 result = (wxPrintDialogData *) &_result_ref;
18201 }
18202
18203 wxPyEndAllowThreads(__tstate);
18204 if (PyErr_Occurred()) SWIG_fail;
18205 }
18206 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
18207 return resultobj;
18208 fail:
18209 return NULL;
18210 }
18211
18212
18213 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
18214 PyObject *resultobj;
18215 wxPrinter *arg1 = (wxPrinter *) 0 ;
18216 wxWindow *arg2 = (wxWindow *) 0 ;
18217 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
18218 int arg4 = (int) True ;
18219 bool result;
18220 PyObject * obj0 = 0 ;
18221 PyObject * obj1 = 0 ;
18222 PyObject * obj2 = 0 ;
18223 char *kwnames[] = {
18224 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
18225 };
18226
18227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:Printer_Print",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
18228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18229 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18230 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18231 {
18232 PyThreadState* __tstate = wxPyBeginAllowThreads();
18233 result = (bool)(arg1)->Print(arg2,arg3,arg4);
18234
18235 wxPyEndAllowThreads(__tstate);
18236 if (PyErr_Occurred()) SWIG_fail;
18237 }
18238 resultobj = PyInt_FromLong((long)result);
18239 return resultobj;
18240 fail:
18241 return NULL;
18242 }
18243
18244
18245 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
18246 PyObject *resultobj;
18247 wxPrinter *arg1 = (wxPrinter *) 0 ;
18248 wxWindow *arg2 = (wxWindow *) 0 ;
18249 wxDC *result;
18250 PyObject * obj0 = 0 ;
18251 PyObject * obj1 = 0 ;
18252 char *kwnames[] = {
18253 (char *) "self",(char *) "parent", NULL
18254 };
18255
18256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
18257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18258 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18259 {
18260 PyThreadState* __tstate = wxPyBeginAllowThreads();
18261 result = (wxDC *)(arg1)->PrintDialog(arg2);
18262
18263 wxPyEndAllowThreads(__tstate);
18264 if (PyErr_Occurred()) SWIG_fail;
18265 }
18266 {
18267 resultobj = wxPyMake_wxObject(result);
18268 }
18269 return resultobj;
18270 fail:
18271 return NULL;
18272 }
18273
18274
18275 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
18276 PyObject *resultobj;
18277 wxPrinter *arg1 = (wxPrinter *) 0 ;
18278 wxWindow *arg2 = (wxWindow *) 0 ;
18279 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
18280 wxString *arg4 = 0 ;
18281 bool temp4 = False ;
18282 PyObject * obj0 = 0 ;
18283 PyObject * obj1 = 0 ;
18284 PyObject * obj2 = 0 ;
18285 PyObject * obj3 = 0 ;
18286 char *kwnames[] = {
18287 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
18288 };
18289
18290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18292 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18293 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18294 {
18295 arg4 = wxString_in_helper(obj3);
18296 if (arg4 == NULL) SWIG_fail;
18297 temp4 = True;
18298 }
18299 {
18300 PyThreadState* __tstate = wxPyBeginAllowThreads();
18301 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
18302
18303 wxPyEndAllowThreads(__tstate);
18304 if (PyErr_Occurred()) SWIG_fail;
18305 }
18306 Py_INCREF(Py_None); resultobj = Py_None;
18307 {
18308 if (temp4)
18309 delete arg4;
18310 }
18311 return resultobj;
18312 fail:
18313 {
18314 if (temp4)
18315 delete arg4;
18316 }
18317 return NULL;
18318 }
18319
18320
18321 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
18322 PyObject *resultobj;
18323 wxPrinter *arg1 = (wxPrinter *) 0 ;
18324 wxWindow *arg2 = (wxWindow *) 0 ;
18325 bool result;
18326 PyObject * obj0 = 0 ;
18327 PyObject * obj1 = 0 ;
18328 char *kwnames[] = {
18329 (char *) "self",(char *) "parent", NULL
18330 };
18331
18332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
18333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18334 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18335 {
18336 PyThreadState* __tstate = wxPyBeginAllowThreads();
18337 result = (bool)(arg1)->Setup(arg2);
18338
18339 wxPyEndAllowThreads(__tstate);
18340 if (PyErr_Occurred()) SWIG_fail;
18341 }
18342 resultobj = PyInt_FromLong((long)result);
18343 return resultobj;
18344 fail:
18345 return NULL;
18346 }
18347
18348
18349 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
18350 PyObject *resultobj;
18351 wxPrinter *arg1 = (wxPrinter *) 0 ;
18352 bool result;
18353 PyObject * obj0 = 0 ;
18354 char *kwnames[] = {
18355 (char *) "self", NULL
18356 };
18357
18358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
18359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18360 {
18361 PyThreadState* __tstate = wxPyBeginAllowThreads();
18362 result = (bool)(arg1)->GetAbort();
18363
18364 wxPyEndAllowThreads(__tstate);
18365 if (PyErr_Occurred()) SWIG_fail;
18366 }
18367 resultobj = PyInt_FromLong((long)result);
18368 return resultobj;
18369 fail:
18370 return NULL;
18371 }
18372
18373
18374 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
18375 PyObject *resultobj;
18376 int result;
18377 char *kwnames[] = {
18378 NULL
18379 };
18380
18381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
18382 {
18383 PyThreadState* __tstate = wxPyBeginAllowThreads();
18384 result = (int)wxPrinter::GetLastError();
18385
18386 wxPyEndAllowThreads(__tstate);
18387 if (PyErr_Occurred()) SWIG_fail;
18388 }
18389 resultobj = PyInt_FromLong((long)result);
18390 return resultobj;
18391 fail:
18392 return NULL;
18393 }
18394
18395
18396 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
18397 PyObject *obj;
18398 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18399 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
18400 Py_INCREF(obj);
18401 return Py_BuildValue((char *)"");
18402 }
18403 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
18404 PyObject *resultobj;
18405 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
18406 wxString *arg1 = (wxString *) &arg1_defvalue ;
18407 wxPyPrintout *result;
18408 bool temp1 = False ;
18409 PyObject * obj0 = 0 ;
18410 char *kwnames[] = {
18411 (char *) "title", NULL
18412 };
18413
18414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
18415 if (obj0) {
18416 {
18417 arg1 = wxString_in_helper(obj0);
18418 if (arg1 == NULL) SWIG_fail;
18419 temp1 = True;
18420 }
18421 }
18422 {
18423 PyThreadState* __tstate = wxPyBeginAllowThreads();
18424 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
18425
18426 wxPyEndAllowThreads(__tstate);
18427 if (PyErr_Occurred()) SWIG_fail;
18428 }
18429 {
18430 resultobj = wxPyMake_wxObject(result);
18431 }
18432 {
18433 if (temp1)
18434 delete arg1;
18435 }
18436 return resultobj;
18437 fail:
18438 {
18439 if (temp1)
18440 delete arg1;
18441 }
18442 return NULL;
18443 }
18444
18445
18446 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18447 PyObject *resultobj;
18448 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18449 PyObject *arg2 = (PyObject *) 0 ;
18450 PyObject *arg3 = (PyObject *) 0 ;
18451 PyObject * obj0 = 0 ;
18452 PyObject * obj1 = 0 ;
18453 PyObject * obj2 = 0 ;
18454 char *kwnames[] = {
18455 (char *) "self",(char *) "self",(char *) "_class", NULL
18456 };
18457
18458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18460 arg2 = obj1;
18461 arg3 = obj2;
18462 {
18463 PyThreadState* __tstate = wxPyBeginAllowThreads();
18464 (arg1)->_setCallbackInfo(arg2,arg3);
18465
18466 wxPyEndAllowThreads(__tstate);
18467 if (PyErr_Occurred()) SWIG_fail;
18468 }
18469 Py_INCREF(Py_None); resultobj = Py_None;
18470 return resultobj;
18471 fail:
18472 return NULL;
18473 }
18474
18475
18476 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
18477 PyObject *resultobj;
18478 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18479 wxString result;
18480 PyObject * obj0 = 0 ;
18481 char *kwnames[] = {
18482 (char *) "self", NULL
18483 };
18484
18485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
18486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18487 {
18488 PyThreadState* __tstate = wxPyBeginAllowThreads();
18489 result = ((wxPyPrintout const *)arg1)->GetTitle();
18490
18491 wxPyEndAllowThreads(__tstate);
18492 if (PyErr_Occurred()) SWIG_fail;
18493 }
18494 {
18495 #if wxUSE_UNICODE
18496 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18497 #else
18498 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18499 #endif
18500 }
18501 return resultobj;
18502 fail:
18503 return NULL;
18504 }
18505
18506
18507 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18508 PyObject *resultobj;
18509 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18510 wxDC *result;
18511 PyObject * obj0 = 0 ;
18512 char *kwnames[] = {
18513 (char *) "self", NULL
18514 };
18515
18516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
18517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18518 {
18519 PyThreadState* __tstate = wxPyBeginAllowThreads();
18520 result = (wxDC *)(arg1)->GetDC();
18521
18522 wxPyEndAllowThreads(__tstate);
18523 if (PyErr_Occurred()) SWIG_fail;
18524 }
18525 {
18526 resultobj = wxPyMake_wxObject(result);
18527 }
18528 return resultobj;
18529 fail:
18530 return NULL;
18531 }
18532
18533
18534 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18535 PyObject *resultobj;
18536 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18537 wxDC *arg2 = (wxDC *) 0 ;
18538 PyObject * obj0 = 0 ;
18539 PyObject * obj1 = 0 ;
18540 char *kwnames[] = {
18541 (char *) "self",(char *) "dc", NULL
18542 };
18543
18544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
18545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18546 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18547 {
18548 PyThreadState* __tstate = wxPyBeginAllowThreads();
18549 (arg1)->SetDC(arg2);
18550
18551 wxPyEndAllowThreads(__tstate);
18552 if (PyErr_Occurred()) SWIG_fail;
18553 }
18554 Py_INCREF(Py_None); resultobj = Py_None;
18555 return resultobj;
18556 fail:
18557 return NULL;
18558 }
18559
18560
18561 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
18562 PyObject *resultobj;
18563 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18564 int arg2 ;
18565 int arg3 ;
18566 PyObject * obj0 = 0 ;
18567 char *kwnames[] = {
18568 (char *) "self",(char *) "w",(char *) "h", NULL
18569 };
18570
18571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizePixels",kwnames,&obj0,&arg2,&arg3)) goto fail;
18572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18573 {
18574 PyThreadState* __tstate = wxPyBeginAllowThreads();
18575 (arg1)->SetPageSizePixels(arg2,arg3);
18576
18577 wxPyEndAllowThreads(__tstate);
18578 if (PyErr_Occurred()) SWIG_fail;
18579 }
18580 Py_INCREF(Py_None); resultobj = Py_None;
18581 return resultobj;
18582 fail:
18583 return NULL;
18584 }
18585
18586
18587 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
18588 PyObject *resultobj;
18589 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18590 int *arg2 = (int *) 0 ;
18591 int *arg3 = (int *) 0 ;
18592 int temp2 ;
18593 int temp3 ;
18594 PyObject * obj0 = 0 ;
18595 char *kwnames[] = {
18596 (char *) "self", NULL
18597 };
18598
18599 arg2 = &temp2;
18600 arg3 = &temp3;
18601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
18602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18603 {
18604 PyThreadState* __tstate = wxPyBeginAllowThreads();
18605 (arg1)->GetPageSizePixels(arg2,arg3);
18606
18607 wxPyEndAllowThreads(__tstate);
18608 if (PyErr_Occurred()) SWIG_fail;
18609 }
18610 Py_INCREF(Py_None); resultobj = Py_None;
18611 {
18612 PyObject *o = PyInt_FromLong((long) (*arg2));
18613 resultobj = t_output_helper(resultobj,o);
18614 }
18615 {
18616 PyObject *o = PyInt_FromLong((long) (*arg3));
18617 resultobj = t_output_helper(resultobj,o);
18618 }
18619 return resultobj;
18620 fail:
18621 return NULL;
18622 }
18623
18624
18625 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18626 PyObject *resultobj;
18627 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18628 int arg2 ;
18629 int arg3 ;
18630 PyObject * obj0 = 0 ;
18631 char *kwnames[] = {
18632 (char *) "self",(char *) "w",(char *) "h", NULL
18633 };
18634
18635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizeMM",kwnames,&obj0,&arg2,&arg3)) 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)->SetPageSizeMM(arg2,arg3);
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_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18652 PyObject *resultobj;
18653 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18654 int *arg2 = (int *) 0 ;
18655 int *arg3 = (int *) 0 ;
18656 int temp2 ;
18657 int temp3 ;
18658 PyObject * obj0 = 0 ;
18659 char *kwnames[] = {
18660 (char *) "self", NULL
18661 };
18662
18663 arg2 = &temp2;
18664 arg3 = &temp3;
18665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
18666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18667 {
18668 PyThreadState* __tstate = wxPyBeginAllowThreads();
18669 (arg1)->GetPageSizeMM(arg2,arg3);
18670
18671 wxPyEndAllowThreads(__tstate);
18672 if (PyErr_Occurred()) SWIG_fail;
18673 }
18674 Py_INCREF(Py_None); resultobj = Py_None;
18675 {
18676 PyObject *o = PyInt_FromLong((long) (*arg2));
18677 resultobj = t_output_helper(resultobj,o);
18678 }
18679 {
18680 PyObject *o = PyInt_FromLong((long) (*arg3));
18681 resultobj = t_output_helper(resultobj,o);
18682 }
18683 return resultobj;
18684 fail:
18685 return NULL;
18686 }
18687
18688
18689 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18690 PyObject *resultobj;
18691 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18692 int arg2 ;
18693 int arg3 ;
18694 PyObject * obj0 = 0 ;
18695 char *kwnames[] = {
18696 (char *) "self",(char *) "x",(char *) "y", NULL
18697 };
18698
18699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIScreen",kwnames,&obj0,&arg2,&arg3)) goto fail;
18700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18701 {
18702 PyThreadState* __tstate = wxPyBeginAllowThreads();
18703 (arg1)->SetPPIScreen(arg2,arg3);
18704
18705 wxPyEndAllowThreads(__tstate);
18706 if (PyErr_Occurred()) SWIG_fail;
18707 }
18708 Py_INCREF(Py_None); resultobj = Py_None;
18709 return resultobj;
18710 fail:
18711 return NULL;
18712 }
18713
18714
18715 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18716 PyObject *resultobj;
18717 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18718 int *arg2 = (int *) 0 ;
18719 int *arg3 = (int *) 0 ;
18720 int temp2 ;
18721 int temp3 ;
18722 PyObject * obj0 = 0 ;
18723 char *kwnames[] = {
18724 (char *) "self", NULL
18725 };
18726
18727 arg2 = &temp2;
18728 arg3 = &temp3;
18729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
18730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18731 {
18732 PyThreadState* __tstate = wxPyBeginAllowThreads();
18733 (arg1)->GetPPIScreen(arg2,arg3);
18734
18735 wxPyEndAllowThreads(__tstate);
18736 if (PyErr_Occurred()) SWIG_fail;
18737 }
18738 Py_INCREF(Py_None); resultobj = Py_None;
18739 {
18740 PyObject *o = PyInt_FromLong((long) (*arg2));
18741 resultobj = t_output_helper(resultobj,o);
18742 }
18743 {
18744 PyObject *o = PyInt_FromLong((long) (*arg3));
18745 resultobj = t_output_helper(resultobj,o);
18746 }
18747 return resultobj;
18748 fail:
18749 return NULL;
18750 }
18751
18752
18753 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18754 PyObject *resultobj;
18755 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18756 int arg2 ;
18757 int arg3 ;
18758 PyObject * obj0 = 0 ;
18759 char *kwnames[] = {
18760 (char *) "self",(char *) "x",(char *) "y", NULL
18761 };
18762
18763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIPrinter",kwnames,&obj0,&arg2,&arg3)) goto fail;
18764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18765 {
18766 PyThreadState* __tstate = wxPyBeginAllowThreads();
18767 (arg1)->SetPPIPrinter(arg2,arg3);
18768
18769 wxPyEndAllowThreads(__tstate);
18770 if (PyErr_Occurred()) SWIG_fail;
18771 }
18772 Py_INCREF(Py_None); resultobj = Py_None;
18773 return resultobj;
18774 fail:
18775 return NULL;
18776 }
18777
18778
18779 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18780 PyObject *resultobj;
18781 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18782 int *arg2 = (int *) 0 ;
18783 int *arg3 = (int *) 0 ;
18784 int temp2 ;
18785 int temp3 ;
18786 PyObject * obj0 = 0 ;
18787 char *kwnames[] = {
18788 (char *) "self", NULL
18789 };
18790
18791 arg2 = &temp2;
18792 arg3 = &temp3;
18793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
18794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18795 {
18796 PyThreadState* __tstate = wxPyBeginAllowThreads();
18797 (arg1)->GetPPIPrinter(arg2,arg3);
18798
18799 wxPyEndAllowThreads(__tstate);
18800 if (PyErr_Occurred()) SWIG_fail;
18801 }
18802 Py_INCREF(Py_None); resultobj = Py_None;
18803 {
18804 PyObject *o = PyInt_FromLong((long) (*arg2));
18805 resultobj = t_output_helper(resultobj,o);
18806 }
18807 {
18808 PyObject *o = PyInt_FromLong((long) (*arg3));
18809 resultobj = t_output_helper(resultobj,o);
18810 }
18811 return resultobj;
18812 fail:
18813 return NULL;
18814 }
18815
18816
18817 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18818 PyObject *resultobj;
18819 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18820 bool result;
18821 PyObject * obj0 = 0 ;
18822 char *kwnames[] = {
18823 (char *) "self", NULL
18824 };
18825
18826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
18827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18828 {
18829 PyThreadState* __tstate = wxPyBeginAllowThreads();
18830 result = (bool)(arg1)->IsPreview();
18831
18832 wxPyEndAllowThreads(__tstate);
18833 if (PyErr_Occurred()) SWIG_fail;
18834 }
18835 resultobj = PyInt_FromLong((long)result);
18836 return resultobj;
18837 fail:
18838 return NULL;
18839 }
18840
18841
18842 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18843 PyObject *resultobj;
18844 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18845 bool arg2 ;
18846 PyObject * obj0 = 0 ;
18847 PyObject * obj1 = 0 ;
18848 char *kwnames[] = {
18849 (char *) "self",(char *) "p", NULL
18850 };
18851
18852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
18853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18854 arg2 = PyInt_AsLong(obj1) ? true : false;
18855 if (PyErr_Occurred()) SWIG_fail;
18856 {
18857 PyThreadState* __tstate = wxPyBeginAllowThreads();
18858 (arg1)->SetIsPreview(arg2);
18859
18860 wxPyEndAllowThreads(__tstate);
18861 if (PyErr_Occurred()) SWIG_fail;
18862 }
18863 Py_INCREF(Py_None); resultobj = Py_None;
18864 return resultobj;
18865 fail:
18866 return NULL;
18867 }
18868
18869
18870 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
18871 PyObject *resultobj;
18872 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18873 int arg2 ;
18874 int arg3 ;
18875 bool result;
18876 PyObject * obj0 = 0 ;
18877 char *kwnames[] = {
18878 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
18879 };
18880
18881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_base_OnBeginDocument",kwnames,&obj0,&arg2,&arg3)) goto fail;
18882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18883 {
18884 PyThreadState* __tstate = wxPyBeginAllowThreads();
18885 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
18886
18887 wxPyEndAllowThreads(__tstate);
18888 if (PyErr_Occurred()) SWIG_fail;
18889 }
18890 resultobj = PyInt_FromLong((long)result);
18891 return resultobj;
18892 fail:
18893 return NULL;
18894 }
18895
18896
18897 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
18898 PyObject *resultobj;
18899 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18900 PyObject * obj0 = 0 ;
18901 char *kwnames[] = {
18902 (char *) "self", NULL
18903 };
18904
18905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
18906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18907 {
18908 PyThreadState* __tstate = wxPyBeginAllowThreads();
18909 (arg1)->base_OnEndDocument();
18910
18911 wxPyEndAllowThreads(__tstate);
18912 if (PyErr_Occurred()) SWIG_fail;
18913 }
18914 Py_INCREF(Py_None); resultobj = Py_None;
18915 return resultobj;
18916 fail:
18917 return NULL;
18918 }
18919
18920
18921 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18922 PyObject *resultobj;
18923 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18924 PyObject * obj0 = 0 ;
18925 char *kwnames[] = {
18926 (char *) "self", NULL
18927 };
18928
18929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
18930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18931 {
18932 PyThreadState* __tstate = wxPyBeginAllowThreads();
18933 (arg1)->base_OnBeginPrinting();
18934
18935 wxPyEndAllowThreads(__tstate);
18936 if (PyErr_Occurred()) SWIG_fail;
18937 }
18938 Py_INCREF(Py_None); resultobj = Py_None;
18939 return resultobj;
18940 fail:
18941 return NULL;
18942 }
18943
18944
18945 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18946 PyObject *resultobj;
18947 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18948 PyObject * obj0 = 0 ;
18949 char *kwnames[] = {
18950 (char *) "self", NULL
18951 };
18952
18953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
18954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18955 {
18956 PyThreadState* __tstate = wxPyBeginAllowThreads();
18957 (arg1)->base_OnEndPrinting();
18958
18959 wxPyEndAllowThreads(__tstate);
18960 if (PyErr_Occurred()) SWIG_fail;
18961 }
18962 Py_INCREF(Py_None); resultobj = Py_None;
18963 return resultobj;
18964 fail:
18965 return NULL;
18966 }
18967
18968
18969 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18970 PyObject *resultobj;
18971 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18972 PyObject * obj0 = 0 ;
18973 char *kwnames[] = {
18974 (char *) "self", NULL
18975 };
18976
18977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
18978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18979 {
18980 PyThreadState* __tstate = wxPyBeginAllowThreads();
18981 (arg1)->base_OnPreparePrinting();
18982
18983 wxPyEndAllowThreads(__tstate);
18984 if (PyErr_Occurred()) SWIG_fail;
18985 }
18986 Py_INCREF(Py_None); resultobj = Py_None;
18987 return resultobj;
18988 fail:
18989 return NULL;
18990 }
18991
18992
18993 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18994 PyObject *resultobj;
18995 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18996 int arg2 ;
18997 bool result;
18998 PyObject * obj0 = 0 ;
18999 char *kwnames[] = {
19000 (char *) "self",(char *) "page", NULL
19001 };
19002
19003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Printout_base_HasPage",kwnames,&obj0,&arg2)) goto fail;
19004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19005 {
19006 PyThreadState* __tstate = wxPyBeginAllowThreads();
19007 result = (bool)(arg1)->base_HasPage(arg2);
19008
19009 wxPyEndAllowThreads(__tstate);
19010 if (PyErr_Occurred()) SWIG_fail;
19011 }
19012 resultobj = PyInt_FromLong((long)result);
19013 return resultobj;
19014 fail:
19015 return NULL;
19016 }
19017
19018
19019 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19020 PyObject *resultobj;
19021 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19022 int *arg2 = (int *) 0 ;
19023 int *arg3 = (int *) 0 ;
19024 int *arg4 = (int *) 0 ;
19025 int *arg5 = (int *) 0 ;
19026 int temp2 ;
19027 int temp3 ;
19028 int temp4 ;
19029 int temp5 ;
19030 PyObject * obj0 = 0 ;
19031 char *kwnames[] = {
19032 (char *) "self", NULL
19033 };
19034
19035 arg2 = &temp2;
19036 arg3 = &temp3;
19037 arg4 = &temp4;
19038 arg5 = &temp5;
19039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
19040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19041 {
19042 PyThreadState* __tstate = wxPyBeginAllowThreads();
19043 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
19044
19045 wxPyEndAllowThreads(__tstate);
19046 if (PyErr_Occurred()) SWIG_fail;
19047 }
19048 Py_INCREF(Py_None); resultobj = Py_None;
19049 {
19050 PyObject *o = PyInt_FromLong((long) (*arg2));
19051 resultobj = t_output_helper(resultobj,o);
19052 }
19053 {
19054 PyObject *o = PyInt_FromLong((long) (*arg3));
19055 resultobj = t_output_helper(resultobj,o);
19056 }
19057 {
19058 PyObject *o = PyInt_FromLong((long) (*arg4));
19059 resultobj = t_output_helper(resultobj,o);
19060 }
19061 {
19062 PyObject *o = PyInt_FromLong((long) (*arg5));
19063 resultobj = t_output_helper(resultobj,o);
19064 }
19065 return resultobj;
19066 fail:
19067 return NULL;
19068 }
19069
19070
19071 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
19072 PyObject *obj;
19073 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19074 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
19075 Py_INCREF(obj);
19076 return Py_BuildValue((char *)"");
19077 }
19078 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19079 PyObject *resultobj;
19080 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19081 wxWindow *arg2 = (wxWindow *) 0 ;
19082 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19083 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19084 wxSize const &arg4_defvalue = wxDefaultSize ;
19085 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19086 long arg5 = (long) 0 ;
19087 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
19088 wxString *arg6 = (wxString *) &arg6_defvalue ;
19089 wxPreviewCanvas *result;
19090 wxPoint temp3 ;
19091 wxSize temp4 ;
19092 bool temp6 = False ;
19093 PyObject * obj0 = 0 ;
19094 PyObject * obj1 = 0 ;
19095 PyObject * obj2 = 0 ;
19096 PyObject * obj3 = 0 ;
19097 PyObject * obj5 = 0 ;
19098 char *kwnames[] = {
19099 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19100 };
19101
19102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
19103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19104 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19105 if (obj2) {
19106 {
19107 arg3 = &temp3;
19108 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19109 }
19110 }
19111 if (obj3) {
19112 {
19113 arg4 = &temp4;
19114 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19115 }
19116 }
19117 if (obj5) {
19118 {
19119 arg6 = wxString_in_helper(obj5);
19120 if (arg6 == NULL) SWIG_fail;
19121 temp6 = True;
19122 }
19123 }
19124 {
19125 PyThreadState* __tstate = wxPyBeginAllowThreads();
19126 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19127
19128 wxPyEndAllowThreads(__tstate);
19129 if (PyErr_Occurred()) SWIG_fail;
19130 }
19131 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 1);
19132 {
19133 if (temp6)
19134 delete arg6;
19135 }
19136 return resultobj;
19137 fail:
19138 {
19139 if (temp6)
19140 delete arg6;
19141 }
19142 return NULL;
19143 }
19144
19145
19146 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
19147 PyObject *obj;
19148 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19149 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
19150 Py_INCREF(obj);
19151 return Py_BuildValue((char *)"");
19152 }
19153 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19154 PyObject *resultobj;
19155 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19156 wxFrame *arg2 = (wxFrame *) 0 ;
19157 wxString *arg3 = 0 ;
19158 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19159 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19160 wxSize const &arg5_defvalue = wxDefaultSize ;
19161 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19162 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
19163 wxString const &arg7_defvalue = wxPyFrameNameStr ;
19164 wxString *arg7 = (wxString *) &arg7_defvalue ;
19165 wxPreviewFrame *result;
19166 bool temp3 = False ;
19167 wxPoint temp4 ;
19168 wxSize temp5 ;
19169 bool temp7 = False ;
19170 PyObject * obj0 = 0 ;
19171 PyObject * obj1 = 0 ;
19172 PyObject * obj2 = 0 ;
19173 PyObject * obj3 = 0 ;
19174 PyObject * obj4 = 0 ;
19175 PyObject * obj6 = 0 ;
19176 char *kwnames[] = {
19177 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19178 };
19179
19180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
19181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19182 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19183 {
19184 arg3 = wxString_in_helper(obj2);
19185 if (arg3 == NULL) SWIG_fail;
19186 temp3 = True;
19187 }
19188 if (obj3) {
19189 {
19190 arg4 = &temp4;
19191 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19192 }
19193 }
19194 if (obj4) {
19195 {
19196 arg5 = &temp5;
19197 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19198 }
19199 }
19200 if (obj6) {
19201 {
19202 arg7 = wxString_in_helper(obj6);
19203 if (arg7 == NULL) SWIG_fail;
19204 temp7 = True;
19205 }
19206 }
19207 {
19208 PyThreadState* __tstate = wxPyBeginAllowThreads();
19209 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19210
19211 wxPyEndAllowThreads(__tstate);
19212 if (PyErr_Occurred()) SWIG_fail;
19213 }
19214 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewFrame, 1);
19215 {
19216 if (temp3)
19217 delete arg3;
19218 }
19219 {
19220 if (temp7)
19221 delete arg7;
19222 }
19223 return resultobj;
19224 fail:
19225 {
19226 if (temp3)
19227 delete arg3;
19228 }
19229 {
19230 if (temp7)
19231 delete arg7;
19232 }
19233 return NULL;
19234 }
19235
19236
19237 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
19238 PyObject *resultobj;
19239 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19240 PyObject * obj0 = 0 ;
19241 char *kwnames[] = {
19242 (char *) "self", NULL
19243 };
19244
19245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
19246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19247 {
19248 PyThreadState* __tstate = wxPyBeginAllowThreads();
19249 (arg1)->Initialize();
19250
19251 wxPyEndAllowThreads(__tstate);
19252 if (PyErr_Occurred()) SWIG_fail;
19253 }
19254 Py_INCREF(Py_None); resultobj = Py_None;
19255 return resultobj;
19256 fail:
19257 return NULL;
19258 }
19259
19260
19261 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19262 PyObject *resultobj;
19263 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19264 PyObject * obj0 = 0 ;
19265 char *kwnames[] = {
19266 (char *) "self", NULL
19267 };
19268
19269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
19270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19271 {
19272 PyThreadState* __tstate = wxPyBeginAllowThreads();
19273 (arg1)->CreateControlBar();
19274
19275 wxPyEndAllowThreads(__tstate);
19276 if (PyErr_Occurred()) SWIG_fail;
19277 }
19278 Py_INCREF(Py_None); resultobj = Py_None;
19279 return resultobj;
19280 fail:
19281 return NULL;
19282 }
19283
19284
19285 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19286 PyObject *resultobj;
19287 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19288 PyObject * obj0 = 0 ;
19289 char *kwnames[] = {
19290 (char *) "self", NULL
19291 };
19292
19293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
19294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19295 {
19296 PyThreadState* __tstate = wxPyBeginAllowThreads();
19297 (arg1)->CreateCanvas();
19298
19299 wxPyEndAllowThreads(__tstate);
19300 if (PyErr_Occurred()) SWIG_fail;
19301 }
19302 Py_INCREF(Py_None); resultobj = Py_None;
19303 return resultobj;
19304 fail:
19305 return NULL;
19306 }
19307
19308
19309 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19310 PyObject *resultobj;
19311 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19312 wxPreviewControlBar *result;
19313 PyObject * obj0 = 0 ;
19314 char *kwnames[] = {
19315 (char *) "self", NULL
19316 };
19317
19318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
19319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19320 {
19321 PyThreadState* __tstate = wxPyBeginAllowThreads();
19322 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
19323
19324 wxPyEndAllowThreads(__tstate);
19325 if (PyErr_Occurred()) SWIG_fail;
19326 }
19327 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 0);
19328 return resultobj;
19329 fail:
19330 return NULL;
19331 }
19332
19333
19334 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
19335 PyObject *obj;
19336 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19337 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
19338 Py_INCREF(obj);
19339 return Py_BuildValue((char *)"");
19340 }
19341 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19342 PyObject *resultobj;
19343 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19344 long arg2 ;
19345 wxWindow *arg3 = (wxWindow *) 0 ;
19346 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19347 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19348 wxSize const &arg5_defvalue = wxDefaultSize ;
19349 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19350 long arg6 = (long) wxTAB_TRAVERSAL ;
19351 wxString const &arg7_defvalue = wxPyPanelNameStr ;
19352 wxString *arg7 = (wxString *) &arg7_defvalue ;
19353 wxPreviewControlBar *result;
19354 wxPoint temp4 ;
19355 wxSize temp5 ;
19356 bool temp7 = False ;
19357 PyObject * obj0 = 0 ;
19358 PyObject * obj2 = 0 ;
19359 PyObject * obj3 = 0 ;
19360 PyObject * obj4 = 0 ;
19361 PyObject * obj6 = 0 ;
19362 char *kwnames[] = {
19363 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19364 };
19365
19366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
19367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19368 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19369 if (obj3) {
19370 {
19371 arg4 = &temp4;
19372 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19373 }
19374 }
19375 if (obj4) {
19376 {
19377 arg5 = &temp5;
19378 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19379 }
19380 }
19381 if (obj6) {
19382 {
19383 arg7 = wxString_in_helper(obj6);
19384 if (arg7 == NULL) SWIG_fail;
19385 temp7 = True;
19386 }
19387 }
19388 {
19389 PyThreadState* __tstate = wxPyBeginAllowThreads();
19390 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19391
19392 wxPyEndAllowThreads(__tstate);
19393 if (PyErr_Occurred()) SWIG_fail;
19394 }
19395 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 1);
19396 {
19397 if (temp7)
19398 delete arg7;
19399 }
19400 return resultobj;
19401 fail:
19402 {
19403 if (temp7)
19404 delete arg7;
19405 }
19406 return NULL;
19407 }
19408
19409
19410 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19411 PyObject *resultobj;
19412 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19413 int result;
19414 PyObject * obj0 = 0 ;
19415 char *kwnames[] = {
19416 (char *) "self", NULL
19417 };
19418
19419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
19420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19421 {
19422 PyThreadState* __tstate = wxPyBeginAllowThreads();
19423 result = (int)(arg1)->GetZoomControl();
19424
19425 wxPyEndAllowThreads(__tstate);
19426 if (PyErr_Occurred()) SWIG_fail;
19427 }
19428 resultobj = PyInt_FromLong((long)result);
19429 return resultobj;
19430 fail:
19431 return NULL;
19432 }
19433
19434
19435 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19436 PyObject *resultobj;
19437 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19438 int arg2 ;
19439 PyObject * obj0 = 0 ;
19440 char *kwnames[] = {
19441 (char *) "self",(char *) "zoom", NULL
19442 };
19443
19444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PreviewControlBar_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
19445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19446 {
19447 PyThreadState* __tstate = wxPyBeginAllowThreads();
19448 (arg1)->SetZoomControl(arg2);
19449
19450 wxPyEndAllowThreads(__tstate);
19451 if (PyErr_Occurred()) SWIG_fail;
19452 }
19453 Py_INCREF(Py_None); resultobj = Py_None;
19454 return resultobj;
19455 fail:
19456 return NULL;
19457 }
19458
19459
19460 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19461 PyObject *resultobj;
19462 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19463 wxPrintPreview *result;
19464 PyObject * obj0 = 0 ;
19465 char *kwnames[] = {
19466 (char *) "self", NULL
19467 };
19468
19469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
19470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19471 {
19472 PyThreadState* __tstate = wxPyBeginAllowThreads();
19473 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
19474
19475 wxPyEndAllowThreads(__tstate);
19476 if (PyErr_Occurred()) SWIG_fail;
19477 }
19478 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 0);
19479 return resultobj;
19480 fail:
19481 return NULL;
19482 }
19483
19484
19485 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
19486 PyObject *resultobj;
19487 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19488 PyObject * obj0 = 0 ;
19489 char *kwnames[] = {
19490 (char *) "self", NULL
19491 };
19492
19493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
19494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19495 {
19496 PyThreadState* __tstate = wxPyBeginAllowThreads();
19497 (arg1)->OnNext();
19498
19499 wxPyEndAllowThreads(__tstate);
19500 if (PyErr_Occurred()) SWIG_fail;
19501 }
19502 Py_INCREF(Py_None); resultobj = Py_None;
19503 return resultobj;
19504 fail:
19505 return NULL;
19506 }
19507
19508
19509 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
19510 PyObject *resultobj;
19511 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19512 PyObject * obj0 = 0 ;
19513 char *kwnames[] = {
19514 (char *) "self", NULL
19515 };
19516
19517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
19518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19519 {
19520 PyThreadState* __tstate = wxPyBeginAllowThreads();
19521 (arg1)->OnPrevious();
19522
19523 wxPyEndAllowThreads(__tstate);
19524 if (PyErr_Occurred()) SWIG_fail;
19525 }
19526 Py_INCREF(Py_None); resultobj = Py_None;
19527 return resultobj;
19528 fail:
19529 return NULL;
19530 }
19531
19532
19533 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
19534 PyObject *resultobj;
19535 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19536 PyObject * obj0 = 0 ;
19537 char *kwnames[] = {
19538 (char *) "self", NULL
19539 };
19540
19541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
19542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19543 {
19544 PyThreadState* __tstate = wxPyBeginAllowThreads();
19545 (arg1)->OnFirst();
19546
19547 wxPyEndAllowThreads(__tstate);
19548 if (PyErr_Occurred()) SWIG_fail;
19549 }
19550 Py_INCREF(Py_None); resultobj = Py_None;
19551 return resultobj;
19552 fail:
19553 return NULL;
19554 }
19555
19556
19557 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
19558 PyObject *resultobj;
19559 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19560 PyObject * obj0 = 0 ;
19561 char *kwnames[] = {
19562 (char *) "self", NULL
19563 };
19564
19565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
19566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19567 {
19568 PyThreadState* __tstate = wxPyBeginAllowThreads();
19569 (arg1)->OnLast();
19570
19571 wxPyEndAllowThreads(__tstate);
19572 if (PyErr_Occurred()) SWIG_fail;
19573 }
19574 Py_INCREF(Py_None); resultobj = Py_None;
19575 return resultobj;
19576 fail:
19577 return NULL;
19578 }
19579
19580
19581 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
19582 PyObject *resultobj;
19583 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19584 PyObject * obj0 = 0 ;
19585 char *kwnames[] = {
19586 (char *) "self", NULL
19587 };
19588
19589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
19590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19591 {
19592 PyThreadState* __tstate = wxPyBeginAllowThreads();
19593 (arg1)->OnGoto();
19594
19595 wxPyEndAllowThreads(__tstate);
19596 if (PyErr_Occurred()) SWIG_fail;
19597 }
19598 Py_INCREF(Py_None); resultobj = Py_None;
19599 return resultobj;
19600 fail:
19601 return NULL;
19602 }
19603
19604
19605 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
19606 PyObject *obj;
19607 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19608 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
19609 Py_INCREF(obj);
19610 return Py_BuildValue((char *)"");
19611 }
19612 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19613 PyObject *resultobj;
19614 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19615 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19616 wxPrintData *arg3 = (wxPrintData *) NULL ;
19617 wxPrintPreview *result;
19618 PyObject * obj0 = 0 ;
19619 PyObject * obj1 = 0 ;
19620 PyObject * obj2 = 0 ;
19621 char *kwnames[] = {
19622 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19623 };
19624
19625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
19626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19627 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19628 if (obj2) {
19629 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19630 }
19631 {
19632 PyThreadState* __tstate = wxPyBeginAllowThreads();
19633 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
19634
19635 wxPyEndAllowThreads(__tstate);
19636 if (PyErr_Occurred()) SWIG_fail;
19637 }
19638 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 1);
19639 return resultobj;
19640 fail:
19641 return NULL;
19642 }
19643
19644
19645 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19646 PyObject *resultobj;
19647 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19648 int arg2 ;
19649 bool result;
19650 PyObject * obj0 = 0 ;
19651 char *kwnames[] = {
19652 (char *) "self",(char *) "pageNum", NULL
19653 };
19654
19655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
19656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19657 {
19658 PyThreadState* __tstate = wxPyBeginAllowThreads();
19659 result = (bool)(arg1)->SetCurrentPage(arg2);
19660
19661 wxPyEndAllowThreads(__tstate);
19662 if (PyErr_Occurred()) SWIG_fail;
19663 }
19664 resultobj = PyInt_FromLong((long)result);
19665 return resultobj;
19666 fail:
19667 return NULL;
19668 }
19669
19670
19671 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19672 PyObject *resultobj;
19673 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19674 int result;
19675 PyObject * obj0 = 0 ;
19676 char *kwnames[] = {
19677 (char *) "self", NULL
19678 };
19679
19680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
19681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19682 {
19683 PyThreadState* __tstate = wxPyBeginAllowThreads();
19684 result = (int)(arg1)->GetCurrentPage();
19685
19686 wxPyEndAllowThreads(__tstate);
19687 if (PyErr_Occurred()) SWIG_fail;
19688 }
19689 resultobj = PyInt_FromLong((long)result);
19690 return resultobj;
19691 fail:
19692 return NULL;
19693 }
19694
19695
19696 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19697 PyObject *resultobj;
19698 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19699 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19700 PyObject * obj0 = 0 ;
19701 PyObject * obj1 = 0 ;
19702 char *kwnames[] = {
19703 (char *) "self",(char *) "printout", NULL
19704 };
19705
19706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
19707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19708 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19709 {
19710 PyThreadState* __tstate = wxPyBeginAllowThreads();
19711 (arg1)->SetPrintout(arg2);
19712
19713 wxPyEndAllowThreads(__tstate);
19714 if (PyErr_Occurred()) SWIG_fail;
19715 }
19716 Py_INCREF(Py_None); resultobj = Py_None;
19717 return resultobj;
19718 fail:
19719 return NULL;
19720 }
19721
19722
19723 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19724 PyObject *resultobj;
19725 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19726 wxPyPrintout *result;
19727 PyObject * obj0 = 0 ;
19728 char *kwnames[] = {
19729 (char *) "self", NULL
19730 };
19731
19732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
19733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19734 {
19735 PyThreadState* __tstate = wxPyBeginAllowThreads();
19736 result = (wxPyPrintout *)(arg1)->GetPrintout();
19737
19738 wxPyEndAllowThreads(__tstate);
19739 if (PyErr_Occurred()) SWIG_fail;
19740 }
19741 {
19742 resultobj = wxPyMake_wxObject(result);
19743 }
19744 return resultobj;
19745 fail:
19746 return NULL;
19747 }
19748
19749
19750 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
19751 PyObject *resultobj;
19752 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19753 wxPyPrintout *result;
19754 PyObject * obj0 = 0 ;
19755 char *kwnames[] = {
19756 (char *) "self", NULL
19757 };
19758
19759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
19760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19761 {
19762 PyThreadState* __tstate = wxPyBeginAllowThreads();
19763 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
19764
19765 wxPyEndAllowThreads(__tstate);
19766 if (PyErr_Occurred()) SWIG_fail;
19767 }
19768 {
19769 resultobj = wxPyMake_wxObject(result);
19770 }
19771 return resultobj;
19772 fail:
19773 return NULL;
19774 }
19775
19776
19777 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19778 PyObject *resultobj;
19779 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19780 wxFrame *arg2 = (wxFrame *) 0 ;
19781 PyObject * obj0 = 0 ;
19782 PyObject * obj1 = 0 ;
19783 char *kwnames[] = {
19784 (char *) "self",(char *) "frame", NULL
19785 };
19786
19787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
19788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19789 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19790 {
19791 PyThreadState* __tstate = wxPyBeginAllowThreads();
19792 (arg1)->SetFrame(arg2);
19793
19794 wxPyEndAllowThreads(__tstate);
19795 if (PyErr_Occurred()) SWIG_fail;
19796 }
19797 Py_INCREF(Py_None); resultobj = Py_None;
19798 return resultobj;
19799 fail:
19800 return NULL;
19801 }
19802
19803
19804 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19805 PyObject *resultobj;
19806 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19807 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19808 PyObject * obj0 = 0 ;
19809 PyObject * obj1 = 0 ;
19810 char *kwnames[] = {
19811 (char *) "self",(char *) "canvas", NULL
19812 };
19813
19814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
19815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19816 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19817 {
19818 PyThreadState* __tstate = wxPyBeginAllowThreads();
19819 (arg1)->SetCanvas(arg2);
19820
19821 wxPyEndAllowThreads(__tstate);
19822 if (PyErr_Occurred()) SWIG_fail;
19823 }
19824 Py_INCREF(Py_None); resultobj = Py_None;
19825 return resultobj;
19826 fail:
19827 return NULL;
19828 }
19829
19830
19831 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19832 PyObject *resultobj;
19833 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19834 wxFrame *result;
19835 PyObject * obj0 = 0 ;
19836 char *kwnames[] = {
19837 (char *) "self", NULL
19838 };
19839
19840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
19841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19842 {
19843 PyThreadState* __tstate = wxPyBeginAllowThreads();
19844 result = (wxFrame *)(arg1)->GetFrame();
19845
19846 wxPyEndAllowThreads(__tstate);
19847 if (PyErr_Occurred()) SWIG_fail;
19848 }
19849 {
19850 resultobj = wxPyMake_wxObject(result);
19851 }
19852 return resultobj;
19853 fail:
19854 return NULL;
19855 }
19856
19857
19858 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19859 PyObject *resultobj;
19860 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19861 wxPreviewCanvas *result;
19862 PyObject * obj0 = 0 ;
19863 char *kwnames[] = {
19864 (char *) "self", NULL
19865 };
19866
19867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
19868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19869 {
19870 PyThreadState* __tstate = wxPyBeginAllowThreads();
19871 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
19872
19873 wxPyEndAllowThreads(__tstate);
19874 if (PyErr_Occurred()) SWIG_fail;
19875 }
19876 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 0);
19877 return resultobj;
19878 fail:
19879 return NULL;
19880 }
19881
19882
19883 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19884 PyObject *resultobj;
19885 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19886 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19887 wxDC *arg3 = 0 ;
19888 bool result;
19889 PyObject * obj0 = 0 ;
19890 PyObject * obj1 = 0 ;
19891 PyObject * obj2 = 0 ;
19892 char *kwnames[] = {
19893 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19894 };
19895
19896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
19897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19898 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19899 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19900 if (arg3 == NULL) {
19901 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19902 }
19903 {
19904 PyThreadState* __tstate = wxPyBeginAllowThreads();
19905 result = (bool)(arg1)->PaintPage(arg2,*arg3);
19906
19907 wxPyEndAllowThreads(__tstate);
19908 if (PyErr_Occurred()) SWIG_fail;
19909 }
19910 resultobj = PyInt_FromLong((long)result);
19911 return resultobj;
19912 fail:
19913 return NULL;
19914 }
19915
19916
19917 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19918 PyObject *resultobj;
19919 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19920 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19921 wxDC *arg3 = 0 ;
19922 bool result;
19923 PyObject * obj0 = 0 ;
19924 PyObject * obj1 = 0 ;
19925 PyObject * obj2 = 0 ;
19926 char *kwnames[] = {
19927 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19928 };
19929
19930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
19931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19932 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19933 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19934 if (arg3 == NULL) {
19935 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19936 }
19937 {
19938 PyThreadState* __tstate = wxPyBeginAllowThreads();
19939 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
19940
19941 wxPyEndAllowThreads(__tstate);
19942 if (PyErr_Occurred()) SWIG_fail;
19943 }
19944 resultobj = PyInt_FromLong((long)result);
19945 return resultobj;
19946 fail:
19947 return NULL;
19948 }
19949
19950
19951 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19952 PyObject *resultobj;
19953 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19954 int arg2 ;
19955 bool result;
19956 PyObject * obj0 = 0 ;
19957 char *kwnames[] = {
19958 (char *) "self",(char *) "pageNum", NULL
19959 };
19960
19961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_RenderPage",kwnames,&obj0,&arg2)) goto fail;
19962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19963 {
19964 PyThreadState* __tstate = wxPyBeginAllowThreads();
19965 result = (bool)(arg1)->RenderPage(arg2);
19966
19967 wxPyEndAllowThreads(__tstate);
19968 if (PyErr_Occurred()) SWIG_fail;
19969 }
19970 resultobj = PyInt_FromLong((long)result);
19971 return resultobj;
19972 fail:
19973 return NULL;
19974 }
19975
19976
19977 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
19978 PyObject *resultobj;
19979 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19980 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19981 PyObject * obj0 = 0 ;
19982 PyObject * obj1 = 0 ;
19983 char *kwnames[] = {
19984 (char *) "self",(char *) "canvas", NULL
19985 };
19986
19987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
19988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19989 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19990 {
19991 PyThreadState* __tstate = wxPyBeginAllowThreads();
19992 (arg1)->AdjustScrollbars(arg2);
19993
19994 wxPyEndAllowThreads(__tstate);
19995 if (PyErr_Occurred()) SWIG_fail;
19996 }
19997 Py_INCREF(Py_None); resultobj = Py_None;
19998 return resultobj;
19999 fail:
20000 return NULL;
20001 }
20002
20003
20004 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20005 PyObject *resultobj;
20006 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20007 wxPrintDialogData *result;
20008 PyObject * obj0 = 0 ;
20009 char *kwnames[] = {
20010 (char *) "self", NULL
20011 };
20012
20013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
20014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20015 {
20016 PyThreadState* __tstate = wxPyBeginAllowThreads();
20017 {
20018 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
20019 result = (wxPrintDialogData *) &_result_ref;
20020 }
20021
20022 wxPyEndAllowThreads(__tstate);
20023 if (PyErr_Occurred()) SWIG_fail;
20024 }
20025 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
20026 return resultobj;
20027 fail:
20028 return NULL;
20029 }
20030
20031
20032 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20033 PyObject *resultobj;
20034 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20035 int arg2 ;
20036 PyObject * obj0 = 0 ;
20037 char *kwnames[] = {
20038 (char *) "self",(char *) "percent", NULL
20039 };
20040
20041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetZoom",kwnames,&obj0,&arg2)) goto fail;
20042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20043 {
20044 PyThreadState* __tstate = wxPyBeginAllowThreads();
20045 (arg1)->SetZoom(arg2);
20046
20047 wxPyEndAllowThreads(__tstate);
20048 if (PyErr_Occurred()) SWIG_fail;
20049 }
20050 Py_INCREF(Py_None); resultobj = Py_None;
20051 return resultobj;
20052 fail:
20053 return NULL;
20054 }
20055
20056
20057 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20058 PyObject *resultobj;
20059 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20060 int result;
20061 PyObject * obj0 = 0 ;
20062 char *kwnames[] = {
20063 (char *) "self", NULL
20064 };
20065
20066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
20067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20068 {
20069 PyThreadState* __tstate = wxPyBeginAllowThreads();
20070 result = (int)(arg1)->GetZoom();
20071
20072 wxPyEndAllowThreads(__tstate);
20073 if (PyErr_Occurred()) SWIG_fail;
20074 }
20075 resultobj = PyInt_FromLong((long)result);
20076 return resultobj;
20077 fail:
20078 return NULL;
20079 }
20080
20081
20082 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20083 PyObject *resultobj;
20084 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20085 int result;
20086 PyObject * obj0 = 0 ;
20087 char *kwnames[] = {
20088 (char *) "self", NULL
20089 };
20090
20091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
20092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20093 {
20094 PyThreadState* __tstate = wxPyBeginAllowThreads();
20095 result = (int)(arg1)->GetMaxPage();
20096
20097 wxPyEndAllowThreads(__tstate);
20098 if (PyErr_Occurred()) SWIG_fail;
20099 }
20100 resultobj = PyInt_FromLong((long)result);
20101 return resultobj;
20102 fail:
20103 return NULL;
20104 }
20105
20106
20107 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20108 PyObject *resultobj;
20109 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20110 int result;
20111 PyObject * obj0 = 0 ;
20112 char *kwnames[] = {
20113 (char *) "self", NULL
20114 };
20115
20116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
20117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20118 {
20119 PyThreadState* __tstate = wxPyBeginAllowThreads();
20120 result = (int)(arg1)->GetMinPage();
20121
20122 wxPyEndAllowThreads(__tstate);
20123 if (PyErr_Occurred()) SWIG_fail;
20124 }
20125 resultobj = PyInt_FromLong((long)result);
20126 return resultobj;
20127 fail:
20128 return NULL;
20129 }
20130
20131
20132 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
20133 PyObject *resultobj;
20134 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20135 bool result;
20136 PyObject * obj0 = 0 ;
20137 char *kwnames[] = {
20138 (char *) "self", NULL
20139 };
20140
20141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
20142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20143 {
20144 PyThreadState* __tstate = wxPyBeginAllowThreads();
20145 result = (bool)(arg1)->Ok();
20146
20147 wxPyEndAllowThreads(__tstate);
20148 if (PyErr_Occurred()) SWIG_fail;
20149 }
20150 resultobj = PyInt_FromLong((long)result);
20151 return resultobj;
20152 fail:
20153 return NULL;
20154 }
20155
20156
20157 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
20158 PyObject *resultobj;
20159 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20160 bool arg2 ;
20161 PyObject * obj0 = 0 ;
20162 PyObject * obj1 = 0 ;
20163 char *kwnames[] = {
20164 (char *) "self",(char *) "ok", NULL
20165 };
20166
20167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
20168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20169 arg2 = PyInt_AsLong(obj1) ? true : false;
20170 if (PyErr_Occurred()) SWIG_fail;
20171 {
20172 PyThreadState* __tstate = wxPyBeginAllowThreads();
20173 (arg1)->SetOk(arg2);
20174
20175 wxPyEndAllowThreads(__tstate);
20176 if (PyErr_Occurred()) SWIG_fail;
20177 }
20178 Py_INCREF(Py_None); resultobj = Py_None;
20179 return resultobj;
20180 fail:
20181 return NULL;
20182 }
20183
20184
20185 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
20186 PyObject *resultobj;
20187 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20188 bool arg2 ;
20189 bool result;
20190 PyObject * obj0 = 0 ;
20191 PyObject * obj1 = 0 ;
20192 char *kwnames[] = {
20193 (char *) "self",(char *) "interactive", NULL
20194 };
20195
20196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
20197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20198 arg2 = PyInt_AsLong(obj1) ? true : false;
20199 if (PyErr_Occurred()) SWIG_fail;
20200 {
20201 PyThreadState* __tstate = wxPyBeginAllowThreads();
20202 result = (bool)(arg1)->Print(arg2);
20203
20204 wxPyEndAllowThreads(__tstate);
20205 if (PyErr_Occurred()) SWIG_fail;
20206 }
20207 resultobj = PyInt_FromLong((long)result);
20208 return resultobj;
20209 fail:
20210 return NULL;
20211 }
20212
20213
20214 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
20215 PyObject *resultobj;
20216 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20217 PyObject * obj0 = 0 ;
20218 char *kwnames[] = {
20219 (char *) "self", NULL
20220 };
20221
20222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
20223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20224 {
20225 PyThreadState* __tstate = wxPyBeginAllowThreads();
20226 (arg1)->DetermineScaling();
20227
20228 wxPyEndAllowThreads(__tstate);
20229 if (PyErr_Occurred()) SWIG_fail;
20230 }
20231 Py_INCREF(Py_None); resultobj = Py_None;
20232 return resultobj;
20233 fail:
20234 return NULL;
20235 }
20236
20237
20238 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
20239 PyObject *obj;
20240 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20241 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
20242 Py_INCREF(obj);
20243 return Py_BuildValue((char *)"");
20244 }
20245 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20246 PyObject *resultobj;
20247 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20248 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
20249 wxPrintData *arg3 = (wxPrintData *) NULL ;
20250 wxPyPrintPreview *result;
20251 PyObject * obj0 = 0 ;
20252 PyObject * obj1 = 0 ;
20253 PyObject * obj2 = 0 ;
20254 char *kwnames[] = {
20255 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
20256 };
20257
20258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PyPrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
20259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20260 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20261 if (obj2) {
20262 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20263 }
20264 {
20265 PyThreadState* __tstate = wxPyBeginAllowThreads();
20266 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
20267
20268 wxPyEndAllowThreads(__tstate);
20269 if (PyErr_Occurred()) SWIG_fail;
20270 }
20271 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPrintPreview, 1);
20272 return resultobj;
20273 fail:
20274 return NULL;
20275 }
20276
20277
20278 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20279 PyObject *resultobj;
20280 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20281 PyObject *arg2 = (PyObject *) 0 ;
20282 PyObject *arg3 = (PyObject *) 0 ;
20283 PyObject * obj0 = 0 ;
20284 PyObject * obj1 = 0 ;
20285 PyObject * obj2 = 0 ;
20286 char *kwnames[] = {
20287 (char *) "self",(char *) "self",(char *) "_class", NULL
20288 };
20289
20290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20292 arg2 = obj1;
20293 arg3 = obj2;
20294 {
20295 PyThreadState* __tstate = wxPyBeginAllowThreads();
20296 (arg1)->_setCallbackInfo(arg2,arg3);
20297
20298 wxPyEndAllowThreads(__tstate);
20299 if (PyErr_Occurred()) SWIG_fail;
20300 }
20301 Py_INCREF(Py_None); resultobj = Py_None;
20302 return resultobj;
20303 fail:
20304 return NULL;
20305 }
20306
20307
20308 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20309 PyObject *resultobj;
20310 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20311 int arg2 ;
20312 bool result;
20313 PyObject * obj0 = 0 ;
20314 char *kwnames[] = {
20315 (char *) "self",(char *) "pageNum", NULL
20316 };
20317
20318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
20319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20320 {
20321 PyThreadState* __tstate = wxPyBeginAllowThreads();
20322 result = (bool)(arg1)->base_SetCurrentPage(arg2);
20323
20324 wxPyEndAllowThreads(__tstate);
20325 if (PyErr_Occurred()) SWIG_fail;
20326 }
20327 resultobj = PyInt_FromLong((long)result);
20328 return resultobj;
20329 fail:
20330 return NULL;
20331 }
20332
20333
20334 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20335 PyObject *resultobj;
20336 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20337 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20338 wxDC *arg3 = 0 ;
20339 bool result;
20340 PyObject * obj0 = 0 ;
20341 PyObject * obj1 = 0 ;
20342 PyObject * obj2 = 0 ;
20343 char *kwnames[] = {
20344 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20345 };
20346
20347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20349 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20350 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20351 if (arg3 == NULL) {
20352 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20353 }
20354 {
20355 PyThreadState* __tstate = wxPyBeginAllowThreads();
20356 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
20357
20358 wxPyEndAllowThreads(__tstate);
20359 if (PyErr_Occurred()) SWIG_fail;
20360 }
20361 resultobj = PyInt_FromLong((long)result);
20362 return resultobj;
20363 fail:
20364 return NULL;
20365 }
20366
20367
20368 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20369 PyObject *resultobj;
20370 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20371 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20372 wxDC *arg3 = 0 ;
20373 bool result;
20374 PyObject * obj0 = 0 ;
20375 PyObject * obj1 = 0 ;
20376 PyObject * obj2 = 0 ;
20377 char *kwnames[] = {
20378 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20379 };
20380
20381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20383 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20384 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20385 if (arg3 == NULL) {
20386 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20387 }
20388 {
20389 PyThreadState* __tstate = wxPyBeginAllowThreads();
20390 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
20391
20392 wxPyEndAllowThreads(__tstate);
20393 if (PyErr_Occurred()) SWIG_fail;
20394 }
20395 resultobj = PyInt_FromLong((long)result);
20396 return resultobj;
20397 fail:
20398 return NULL;
20399 }
20400
20401
20402 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20403 PyObject *resultobj;
20404 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20405 int arg2 ;
20406 bool result;
20407 PyObject * obj0 = 0 ;
20408 char *kwnames[] = {
20409 (char *) "self",(char *) "pageNum", NULL
20410 };
20411
20412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_RenderPage",kwnames,&obj0,&arg2)) goto fail;
20413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20414 {
20415 PyThreadState* __tstate = wxPyBeginAllowThreads();
20416 result = (bool)(arg1)->base_RenderPage(arg2);
20417
20418 wxPyEndAllowThreads(__tstate);
20419 if (PyErr_Occurred()) SWIG_fail;
20420 }
20421 resultobj = PyInt_FromLong((long)result);
20422 return resultobj;
20423 fail:
20424 return NULL;
20425 }
20426
20427
20428 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20429 PyObject *resultobj;
20430 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20431 int arg2 ;
20432 PyObject * obj0 = 0 ;
20433 char *kwnames[] = {
20434 (char *) "self",(char *) "percent", NULL
20435 };
20436
20437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetZoom",kwnames,&obj0,&arg2)) goto fail;
20438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20439 {
20440 PyThreadState* __tstate = wxPyBeginAllowThreads();
20441 (arg1)->base_SetZoom(arg2);
20442
20443 wxPyEndAllowThreads(__tstate);
20444 if (PyErr_Occurred()) SWIG_fail;
20445 }
20446 Py_INCREF(Py_None); resultobj = Py_None;
20447 return resultobj;
20448 fail:
20449 return NULL;
20450 }
20451
20452
20453 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
20454 PyObject *resultobj;
20455 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20456 bool arg2 ;
20457 bool result;
20458 PyObject * obj0 = 0 ;
20459 PyObject * obj1 = 0 ;
20460 char *kwnames[] = {
20461 (char *) "self",(char *) "interactive", NULL
20462 };
20463
20464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
20465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20466 arg2 = PyInt_AsLong(obj1) ? true : false;
20467 if (PyErr_Occurred()) SWIG_fail;
20468 {
20469 PyThreadState* __tstate = wxPyBeginAllowThreads();
20470 result = (bool)(arg1)->base_Print(arg2);
20471
20472 wxPyEndAllowThreads(__tstate);
20473 if (PyErr_Occurred()) SWIG_fail;
20474 }
20475 resultobj = PyInt_FromLong((long)result);
20476 return resultobj;
20477 fail:
20478 return NULL;
20479 }
20480
20481
20482 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
20483 PyObject *resultobj;
20484 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20485 PyObject * obj0 = 0 ;
20486 char *kwnames[] = {
20487 (char *) "self", NULL
20488 };
20489
20490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
20491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20492 {
20493 PyThreadState* __tstate = wxPyBeginAllowThreads();
20494 (arg1)->base_DetermineScaling();
20495
20496 wxPyEndAllowThreads(__tstate);
20497 if (PyErr_Occurred()) SWIG_fail;
20498 }
20499 Py_INCREF(Py_None); resultobj = Py_None;
20500 return resultobj;
20501 fail:
20502 return NULL;
20503 }
20504
20505
20506 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
20507 PyObject *obj;
20508 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20509 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
20510 Py_INCREF(obj);
20511 return Py_BuildValue((char *)"");
20512 }
20513 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
20514 PyObject *resultobj;
20515 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20516 wxFrame *arg2 = (wxFrame *) 0 ;
20517 wxString *arg3 = 0 ;
20518 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20519 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20520 wxSize const &arg5_defvalue = wxDefaultSize ;
20521 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20522 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20523 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20524 wxString *arg7 = (wxString *) &arg7_defvalue ;
20525 wxPyPreviewFrame *result;
20526 bool temp3 = False ;
20527 wxPoint temp4 ;
20528 wxSize temp5 ;
20529 bool temp7 = False ;
20530 PyObject * obj0 = 0 ;
20531 PyObject * obj1 = 0 ;
20532 PyObject * obj2 = 0 ;
20533 PyObject * obj3 = 0 ;
20534 PyObject * obj4 = 0 ;
20535 PyObject * obj6 = 0 ;
20536 char *kwnames[] = {
20537 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20538 };
20539
20540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20542 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20543 {
20544 arg3 = wxString_in_helper(obj2);
20545 if (arg3 == NULL) SWIG_fail;
20546 temp3 = True;
20547 }
20548 if (obj3) {
20549 {
20550 arg4 = &temp4;
20551 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20552 }
20553 }
20554 if (obj4) {
20555 {
20556 arg5 = &temp5;
20557 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20558 }
20559 }
20560 if (obj6) {
20561 {
20562 arg7 = wxString_in_helper(obj6);
20563 if (arg7 == NULL) SWIG_fail;
20564 temp7 = True;
20565 }
20566 }
20567 {
20568 PyThreadState* __tstate = wxPyBeginAllowThreads();
20569 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20570
20571 wxPyEndAllowThreads(__tstate);
20572 if (PyErr_Occurred()) SWIG_fail;
20573 }
20574 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewFrame, 1);
20575 {
20576 if (temp3)
20577 delete arg3;
20578 }
20579 {
20580 if (temp7)
20581 delete arg7;
20582 }
20583 return resultobj;
20584 fail:
20585 {
20586 if (temp3)
20587 delete arg3;
20588 }
20589 {
20590 if (temp7)
20591 delete arg7;
20592 }
20593 return NULL;
20594 }
20595
20596
20597 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20598 PyObject *resultobj;
20599 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20600 PyObject *arg2 = (PyObject *) 0 ;
20601 PyObject *arg3 = (PyObject *) 0 ;
20602 PyObject * obj0 = 0 ;
20603 PyObject * obj1 = 0 ;
20604 PyObject * obj2 = 0 ;
20605 char *kwnames[] = {
20606 (char *) "self",(char *) "self",(char *) "_class", NULL
20607 };
20608
20609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20611 arg2 = obj1;
20612 arg3 = obj2;
20613 {
20614 PyThreadState* __tstate = wxPyBeginAllowThreads();
20615 (arg1)->_setCallbackInfo(arg2,arg3);
20616
20617 wxPyEndAllowThreads(__tstate);
20618 if (PyErr_Occurred()) SWIG_fail;
20619 }
20620 Py_INCREF(Py_None); resultobj = Py_None;
20621 return resultobj;
20622 fail:
20623 return NULL;
20624 }
20625
20626
20627 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20628 PyObject *resultobj;
20629 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20630 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20631 PyObject * obj0 = 0 ;
20632 PyObject * obj1 = 0 ;
20633 char *kwnames[] = {
20634 (char *) "self",(char *) "canvas", NULL
20635 };
20636
20637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
20638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20639 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20640 {
20641 PyThreadState* __tstate = wxPyBeginAllowThreads();
20642 (arg1)->SetPreviewCanvas(arg2);
20643
20644 wxPyEndAllowThreads(__tstate);
20645 if (PyErr_Occurred()) SWIG_fail;
20646 }
20647 Py_INCREF(Py_None); resultobj = Py_None;
20648 return resultobj;
20649 fail:
20650 return NULL;
20651 }
20652
20653
20654 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20655 PyObject *resultobj;
20656 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20657 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
20658 PyObject * obj0 = 0 ;
20659 PyObject * obj1 = 0 ;
20660 char *kwnames[] = {
20661 (char *) "self",(char *) "bar", NULL
20662 };
20663
20664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
20665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20666 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20667 {
20668 PyThreadState* __tstate = wxPyBeginAllowThreads();
20669 (arg1)->SetControlBar(arg2);
20670
20671 wxPyEndAllowThreads(__tstate);
20672 if (PyErr_Occurred()) SWIG_fail;
20673 }
20674 Py_INCREF(Py_None); resultobj = Py_None;
20675 return resultobj;
20676 fail:
20677 return NULL;
20678 }
20679
20680
20681 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
20682 PyObject *resultobj;
20683 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20684 PyObject * obj0 = 0 ;
20685 char *kwnames[] = {
20686 (char *) "self", NULL
20687 };
20688
20689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
20690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20691 {
20692 PyThreadState* __tstate = wxPyBeginAllowThreads();
20693 (arg1)->base_Initialize();
20694
20695 wxPyEndAllowThreads(__tstate);
20696 if (PyErr_Occurred()) SWIG_fail;
20697 }
20698 Py_INCREF(Py_None); resultobj = Py_None;
20699 return resultobj;
20700 fail:
20701 return NULL;
20702 }
20703
20704
20705 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20706 PyObject *resultobj;
20707 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20708 PyObject * obj0 = 0 ;
20709 char *kwnames[] = {
20710 (char *) "self", NULL
20711 };
20712
20713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
20714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20715 {
20716 PyThreadState* __tstate = wxPyBeginAllowThreads();
20717 (arg1)->base_CreateCanvas();
20718
20719 wxPyEndAllowThreads(__tstate);
20720 if (PyErr_Occurred()) SWIG_fail;
20721 }
20722 Py_INCREF(Py_None); resultobj = Py_None;
20723 return resultobj;
20724 fail:
20725 return NULL;
20726 }
20727
20728
20729 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20730 PyObject *resultobj;
20731 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20732 PyObject * obj0 = 0 ;
20733 char *kwnames[] = {
20734 (char *) "self", NULL
20735 };
20736
20737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
20738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20739 {
20740 PyThreadState* __tstate = wxPyBeginAllowThreads();
20741 (arg1)->base_CreateControlBar();
20742
20743 wxPyEndAllowThreads(__tstate);
20744 if (PyErr_Occurred()) SWIG_fail;
20745 }
20746 Py_INCREF(Py_None); resultobj = Py_None;
20747 return resultobj;
20748 fail:
20749 return NULL;
20750 }
20751
20752
20753 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
20754 PyObject *obj;
20755 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20756 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
20757 Py_INCREF(obj);
20758 return Py_BuildValue((char *)"");
20759 }
20760 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20761 PyObject *resultobj;
20762 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20763 long arg2 ;
20764 wxWindow *arg3 = (wxWindow *) 0 ;
20765 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20766 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20767 wxSize const &arg5_defvalue = wxDefaultSize ;
20768 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20769 long arg6 = (long) 0 ;
20770 wxString const &arg7_defvalue = wxPyPanelNameStr ;
20771 wxString *arg7 = (wxString *) &arg7_defvalue ;
20772 wxPyPreviewControlBar *result;
20773 wxPoint temp4 ;
20774 wxSize temp5 ;
20775 bool temp7 = False ;
20776 PyObject * obj0 = 0 ;
20777 PyObject * obj2 = 0 ;
20778 PyObject * obj3 = 0 ;
20779 PyObject * obj4 = 0 ;
20780 PyObject * obj6 = 0 ;
20781 char *kwnames[] = {
20782 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20783 };
20784
20785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PyPreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20787 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20788 if (obj3) {
20789 {
20790 arg4 = &temp4;
20791 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20792 }
20793 }
20794 if (obj4) {
20795 {
20796 arg5 = &temp5;
20797 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20798 }
20799 }
20800 if (obj6) {
20801 {
20802 arg7 = wxString_in_helper(obj6);
20803 if (arg7 == NULL) SWIG_fail;
20804 temp7 = True;
20805 }
20806 }
20807 {
20808 PyThreadState* __tstate = wxPyBeginAllowThreads();
20809 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20810
20811 wxPyEndAllowThreads(__tstate);
20812 if (PyErr_Occurred()) SWIG_fail;
20813 }
20814 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewControlBar, 1);
20815 {
20816 if (temp7)
20817 delete arg7;
20818 }
20819 return resultobj;
20820 fail:
20821 {
20822 if (temp7)
20823 delete arg7;
20824 }
20825 return NULL;
20826 }
20827
20828
20829 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20830 PyObject *resultobj;
20831 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20832 PyObject *arg2 = (PyObject *) 0 ;
20833 PyObject *arg3 = (PyObject *) 0 ;
20834 PyObject * obj0 = 0 ;
20835 PyObject * obj1 = 0 ;
20836 PyObject * obj2 = 0 ;
20837 char *kwnames[] = {
20838 (char *) "self",(char *) "self",(char *) "_class", NULL
20839 };
20840
20841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20843 arg2 = obj1;
20844 arg3 = obj2;
20845 {
20846 PyThreadState* __tstate = wxPyBeginAllowThreads();
20847 (arg1)->_setCallbackInfo(arg2,arg3);
20848
20849 wxPyEndAllowThreads(__tstate);
20850 if (PyErr_Occurred()) SWIG_fail;
20851 }
20852 Py_INCREF(Py_None); resultobj = Py_None;
20853 return resultobj;
20854 fail:
20855 return NULL;
20856 }
20857
20858
20859 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20860 PyObject *resultobj;
20861 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20862 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
20863 PyObject * obj0 = 0 ;
20864 PyObject * obj1 = 0 ;
20865 char *kwnames[] = {
20866 (char *) "self",(char *) "preview", NULL
20867 };
20868
20869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
20870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20871 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20872 {
20873 PyThreadState* __tstate = wxPyBeginAllowThreads();
20874 (arg1)->SetPrintPreview(arg2);
20875
20876 wxPyEndAllowThreads(__tstate);
20877 if (PyErr_Occurred()) SWIG_fail;
20878 }
20879 Py_INCREF(Py_None); resultobj = Py_None;
20880 return resultobj;
20881 fail:
20882 return NULL;
20883 }
20884
20885
20886 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
20887 PyObject *resultobj;
20888 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20889 PyObject * obj0 = 0 ;
20890 char *kwnames[] = {
20891 (char *) "self", NULL
20892 };
20893
20894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
20895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20896 {
20897 PyThreadState* __tstate = wxPyBeginAllowThreads();
20898 (arg1)->base_CreateButtons();
20899
20900 wxPyEndAllowThreads(__tstate);
20901 if (PyErr_Occurred()) SWIG_fail;
20902 }
20903 Py_INCREF(Py_None); resultobj = Py_None;
20904 return resultobj;
20905 fail:
20906 return NULL;
20907 }
20908
20909
20910 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
20911 PyObject *resultobj;
20912 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20913 int arg2 ;
20914 PyObject * obj0 = 0 ;
20915 char *kwnames[] = {
20916 (char *) "self",(char *) "zoom", NULL
20917 };
20918
20919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
20920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20921 {
20922 PyThreadState* __tstate = wxPyBeginAllowThreads();
20923 (arg1)->base_SetZoomControl(arg2);
20924
20925 wxPyEndAllowThreads(__tstate);
20926 if (PyErr_Occurred()) SWIG_fail;
20927 }
20928 Py_INCREF(Py_None); resultobj = Py_None;
20929 return resultobj;
20930 fail:
20931 return NULL;
20932 }
20933
20934
20935 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
20936 PyObject *obj;
20937 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20938 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
20939 Py_INCREF(obj);
20940 return Py_BuildValue((char *)"");
20941 }
20942 static PyMethodDef SwigMethods[] = {
20943 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
20944 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
20945 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
20946 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
20947 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
20948 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20949 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20950 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
20951 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
20952 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
20953 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
20954 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
20955 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
20956 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
20957 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
20958 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
20959 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
20960 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
20961 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
20962 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
20963 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
20964 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
20965 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
20966 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
20967 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
20968 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
20969 { (char *)"new_AcceleratorEntry", (PyCFunction) _wrap_new_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
20970 { (char *)"delete_AcceleratorEntry", (PyCFunction) _wrap_delete_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
20971 { (char *)"AcceleratorEntry_Set", (PyCFunction) _wrap_AcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS },
20972 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_SetMenuItem, METH_VARARGS | METH_KEYWORDS },
20973 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_GetMenuItem, METH_VARARGS | METH_KEYWORDS },
20974 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction) _wrap_AcceleratorEntry_GetFlags, METH_VARARGS | METH_KEYWORDS },
20975 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction) _wrap_AcceleratorEntry_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
20976 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction) _wrap_AcceleratorEntry_GetCommand, METH_VARARGS | METH_KEYWORDS },
20977 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister, METH_VARARGS },
20978 { (char *)"new_AcceleratorTable", (PyCFunction) _wrap_new_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
20979 { (char *)"delete_AcceleratorTable", (PyCFunction) _wrap_delete_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
20980 { (char *)"AcceleratorTable_Ok", (PyCFunction) _wrap_AcceleratorTable_Ok, METH_VARARGS | METH_KEYWORDS },
20981 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister, METH_VARARGS },
20982 { (char *)"GetAccelFromString", (PyCFunction) _wrap_GetAccelFromString, METH_VARARGS | METH_KEYWORDS },
20983 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
20984 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
20985 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
20986 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
20987 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
20988 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
20989 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
20990 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
20991 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
20992 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
20993 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
20994 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
20995 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
20996 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
20997 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
20998 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
20999 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
21000 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
21001 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
21002 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
21003 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
21004 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
21005 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
21006 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
21007 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
21008 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
21009 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
21010 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
21011 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
21012 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
21013 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
21014 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
21015 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
21016 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
21017 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
21018 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
21019 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
21020 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
21021 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
21022 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
21023 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
21024 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
21025 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
21026 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
21027 { (char *)"Dialog_SetModal", (PyCFunction) _wrap_Dialog_SetModal, METH_VARARGS | METH_KEYWORDS },
21028 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
21029 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21030 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
21031 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS },
21032 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
21033 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
21034 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
21035 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
21036 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
21037 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
21038 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
21039 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
21040 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
21041 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
21042 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
21043 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
21044 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
21045 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
21046 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
21047 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
21048 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
21049 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
21050 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
21051 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
21052 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
21053 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
21054 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
21055 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
21056 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
21057 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
21058 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
21059 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
21060 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
21061 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
21062 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
21063 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
21064 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
21065 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
21066 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
21067 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
21068 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
21069 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
21070 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
21071 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
21072 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
21073 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
21074 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
21075 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
21076 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
21077 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
21078 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
21079 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
21080 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
21081 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
21082 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
21083 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
21084 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
21085 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
21086 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
21087 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
21088 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
21089 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
21090 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
21091 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
21092 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
21093 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
21094 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
21095 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
21096 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
21097 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
21098 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
21099 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
21100 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
21101 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
21102 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
21103 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
21104 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
21105 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
21106 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
21107 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
21108 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
21109 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
21110 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
21111 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
21112 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
21113 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
21114 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
21115 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
21116 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
21117 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
21118 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
21119 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
21120 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
21121 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
21122 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
21123 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
21124 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
21125 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
21126 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
21127 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
21128 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21129 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21130 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
21131 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
21132 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21133 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21134 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
21135 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
21136 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
21137 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
21138 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21139 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21140 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
21141 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
21142 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
21143 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
21144 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
21145 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
21146 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
21147 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21148 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
21149 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
21150 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21151 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
21152 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
21153 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
21154 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
21155 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
21156 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
21157 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
21158 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
21159 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
21160 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
21161 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
21162 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
21163 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
21164 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
21165 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21166 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
21167 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
21168 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
21169 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
21170 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
21171 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
21172 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
21173 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
21174 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
21175 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21176 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
21177 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
21178 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
21179 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
21180 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
21181 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
21182 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
21183 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
21184 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
21185 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
21186 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
21187 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
21188 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
21189 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
21190 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
21191 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
21192 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
21193 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21194 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
21195 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
21196 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
21197 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
21198 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
21199 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
21200 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
21201 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
21202 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
21203 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
21204 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
21205 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
21206 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
21207 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
21208 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
21209 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
21210 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
21211 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
21212 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
21213 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
21214 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
21215 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
21216 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
21217 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
21218 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
21219 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21220 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
21221 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
21222 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
21223 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
21224 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
21225 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
21226 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS },
21227 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
21228 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
21229 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
21230 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
21231 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
21232 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
21233 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
21234 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
21235 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
21236 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
21237 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
21238 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
21239 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
21240 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
21241 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
21242 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
21243 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
21244 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
21245 { (char *)"ColourDialog_ShowModal", (PyCFunction) _wrap_ColourDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21246 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
21247 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
21248 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
21249 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
21250 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
21251 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
21252 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
21253 { (char *)"DirDialog_ShowModal", (PyCFunction) _wrap_DirDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21254 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
21255 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
21256 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
21257 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
21258 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
21259 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
21260 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
21261 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
21262 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
21263 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
21264 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
21265 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
21266 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
21267 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
21268 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
21269 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
21270 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
21271 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
21272 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
21273 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
21274 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
21275 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
21276 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
21277 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
21278 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
21279 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
21280 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
21281 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction) _wrap_SingleChoiceDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21282 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
21283 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
21284 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
21285 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
21286 { (char *)"TextEntryDialog_ShowModal", (PyCFunction) _wrap_TextEntryDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21287 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
21288 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
21289 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
21290 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
21291 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
21292 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
21293 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
21294 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
21295 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
21296 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
21297 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
21298 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
21299 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
21300 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
21301 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
21302 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
21303 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
21304 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
21305 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
21306 { (char *)"FontDialog_ShowModal", (PyCFunction) _wrap_FontDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21307 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
21308 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
21309 { (char *)"MessageDialog_ShowModal", (PyCFunction) _wrap_MessageDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21310 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
21311 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
21312 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
21313 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
21314 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
21315 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
21316 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21317 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
21318 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
21319 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
21320 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21321 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
21322 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
21323 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
21324 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
21325 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
21326 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
21327 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
21328 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
21329 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
21330 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
21331 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
21332 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
21333 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21334 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21335 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
21336 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
21337 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
21338 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
21339 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21340 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21341 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
21342 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
21343 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
21344 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
21345 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
21346 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
21347 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
21348 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
21349 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
21350 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
21351 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21352 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21353 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
21354 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
21355 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
21356 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
21357 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
21358 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21359 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21360 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
21361 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
21362 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
21363 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21364 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21365 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21366 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21367 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21368 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21369 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21370 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21371 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21372 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21373 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21374 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21375 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21376 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
21377 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21378 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21379 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21380 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21381 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21382 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
21383 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
21384 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21385 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21386 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21387 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21388 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21389 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21390 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21391 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21392 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21393 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21394 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21395 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21396 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21397 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
21398 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21399 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21400 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21401 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21402 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21403 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
21404 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
21405 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
21406 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21407 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21408 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21409 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
21410 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
21411 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
21412 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
21413 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21414 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21415 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
21416 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21417 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21418 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21419 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
21420 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
21421 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
21422 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21423 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21424 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
21425 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21426 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21427 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21428 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
21429 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21430 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21431 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21432 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21433 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21434 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
21435 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21436 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21437 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21438 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
21439 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21440 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21441 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21442 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
21443 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21444 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21445 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
21446 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
21447 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
21448 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21449 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21450 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21451 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
21452 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
21453 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
21454 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
21455 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21456 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
21457 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
21458 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
21459 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
21460 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21461 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21462 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21463 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21464 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21465 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21466 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21467 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21468 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21469 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21470 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21471 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21472 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21473 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21474 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21475 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21476 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21477 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21478 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21479 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
21480 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
21481 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
21482 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21483 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
21484 { (char *)"new_PrintDialogData", (PyCFunction) _wrap_new_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21485 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21486 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
21487 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
21488 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21489 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21490 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21491 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
21492 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
21493 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21494 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21495 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21496 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
21497 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
21498 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
21499 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
21500 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21501 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
21502 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
21503 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21504 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21505 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21506 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21507 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
21508 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21509 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21510 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21511 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
21512 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21513 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21514 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21515 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21516 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21517 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
21518 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21519 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21520 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
21521 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21522 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
21523 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
21524 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
21525 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
21526 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21527 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
21528 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21529 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
21530 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
21531 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
21532 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
21533 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
21534 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
21535 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21536 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
21537 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
21538 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
21539 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
21540 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
21541 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21542 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21543 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21544 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21545 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21546 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21547 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
21548 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
21549 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
21550 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
21551 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
21552 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
21553 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
21554 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
21555 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
21556 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
21557 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21558 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
21559 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
21560 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
21561 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21562 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21563 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
21564 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
21565 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21566 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
21567 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21568 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21569 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
21570 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
21571 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
21572 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
21573 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
21574 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
21575 { (char *)"new_PrintPreview", (PyCFunction) _wrap_new_PrintPreview, METH_VARARGS | METH_KEYWORDS },
21576 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21577 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21578 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
21579 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
21580 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
21581 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
21582 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
21583 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
21584 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
21585 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
21586 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21587 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
21588 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
21589 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21590 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
21591 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
21592 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21593 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21594 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
21595 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
21596 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
21597 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21598 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
21599 { (char *)"new_PyPrintPreview", (PyCFunction) _wrap_new_PyPrintPreview, METH_VARARGS | METH_KEYWORDS },
21600 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21601 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21602 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
21603 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21604 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
21605 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
21606 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
21607 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21608 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
21609 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
21610 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21611 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21612 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
21613 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
21614 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21615 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21616 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
21617 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21618 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21619 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21620 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
21621 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21622 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
21623 { NULL, NULL }
21624 };
21625
21626
21627 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21628
21629 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
21630 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21631 }
21632 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
21633 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
21634 }
21635 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
21636 return (void *)((wxEvent *) ((wxMenuEvent *) x));
21637 }
21638 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
21639 return (void *)((wxEvent *) ((wxCloseEvent *) x));
21640 }
21641 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
21642 return (void *)((wxEvent *) ((wxMouseEvent *) x));
21643 }
21644 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
21645 return (void *)((wxEvent *) ((wxEraseEvent *) x));
21646 }
21647 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
21648 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
21649 }
21650 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
21651 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
21652 }
21653 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
21654 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
21655 }
21656 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
21657 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
21658 }
21659 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
21660 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
21661 }
21662 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
21663 return (void *)((wxEvent *) ((wxPyEvent *) x));
21664 }
21665 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
21666 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
21667 }
21668 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
21669 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
21670 }
21671 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
21672 return (void *)((wxEvent *) ((wxIdleEvent *) x));
21673 }
21674 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
21675 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
21676 }
21677 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
21678 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
21679 }
21680 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
21681 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
21682 }
21683 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
21684 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
21685 }
21686 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
21687 return (void *)((wxEvent *) ((wxActivateEvent *) x));
21688 }
21689 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
21690 return (void *)((wxEvent *) ((wxSizeEvent *) x));
21691 }
21692 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
21693 return (void *)((wxEvent *) ((wxMoveEvent *) x));
21694 }
21695 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
21696 return (void *)((wxEvent *) ((wxPaintEvent *) x));
21697 }
21698 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
21699 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
21700 }
21701 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
21702 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
21703 }
21704 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
21705 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
21706 }
21707 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
21708 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
21709 }
21710 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
21711 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21712 }
21713 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
21714 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
21715 }
21716 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
21717 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
21718 }
21719 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
21720 return (void *)((wxEvent *) ((wxFocusEvent *) x));
21721 }
21722 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
21723 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
21724 }
21725 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
21726 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
21727 }
21728 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
21729 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
21730 }
21731 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
21732 return (void *)((wxEvent *) ((wxShowEvent *) x));
21733 }
21734 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
21735 return (void *)((wxEvent *) ((wxCommandEvent *) x));
21736 }
21737 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
21738 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
21739 }
21740 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
21741 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21742 }
21743 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
21744 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
21745 }
21746 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
21747 return (void *)((wxEvent *) ((wxKeyEvent *) x));
21748 }
21749 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
21750 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
21751 }
21752 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
21753 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
21754 }
21755 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
21756 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
21757 }
21758 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
21759 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
21760 }
21761 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
21762 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
21763 }
21764 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
21765 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
21766 }
21767 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
21768 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
21769 }
21770 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
21771 return (void *)((wxEvtHandler *) ((wxValidator *) x));
21772 }
21773 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
21774 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
21775 }
21776 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
21777 return (void *)((wxEvtHandler *) ((wxMenu *) x));
21778 }
21779 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
21780 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
21781 }
21782 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
21783 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
21784 }
21785 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
21786 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
21787 }
21788 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
21789 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
21790 }
21791 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
21792 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
21793 }
21794 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
21795 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
21796 }
21797 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
21798 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
21799 }
21800 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
21801 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
21802 }
21803 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
21804 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
21805 }
21806 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
21807 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
21808 }
21809 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
21810 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
21811 }
21812 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
21813 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
21814 }
21815 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
21816 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
21817 }
21818 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
21819 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
21820 }
21821 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
21822 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
21823 }
21824 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
21825 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
21826 }
21827 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
21828 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
21829 }
21830 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
21831 return (void *)((wxEvtHandler *) ((wxWindow *) x));
21832 }
21833 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
21834 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
21835 }
21836 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
21837 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
21838 }
21839 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
21840 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
21841 }
21842 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
21843 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
21844 }
21845 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
21846 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
21847 }
21848 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
21849 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21850 }
21851 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
21852 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
21853 }
21854 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
21855 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
21856 }
21857 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
21858 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
21859 }
21860 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
21861 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
21862 }
21863 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
21864 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
21865 }
21866 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
21867 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
21868 }
21869 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
21870 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
21871 }
21872 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
21873 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
21874 }
21875 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
21876 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
21877 }
21878 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
21879 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
21880 }
21881 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
21882 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
21883 }
21884 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
21885 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
21886 }
21887 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
21888 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
21889 }
21890 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
21891 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
21892 }
21893 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
21894 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
21895 }
21896 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
21897 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
21898 }
21899 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
21900 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
21901 }
21902 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
21903 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
21904 }
21905 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
21906 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
21907 }
21908 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
21909 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
21910 }
21911 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
21912 return (void *)((wxFrame *) ((wxProgressDialog *) x));
21913 }
21914 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
21915 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
21916 }
21917 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
21918 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21919 }
21920 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
21921 return (void *)((wxFrame *) ((wxMiniFrame *) x));
21922 }
21923 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
21924 return (void *)((wxFrame *) ((wxSplashScreen *) x));
21925 }
21926 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
21927 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
21928 }
21929 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
21930 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
21931 }
21932 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
21933 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
21934 }
21935 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
21936 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
21937 }
21938 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
21939 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21940 }
21941 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
21942 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
21943 }
21944 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
21945 return (void *)((wxObject *) ((wxSizerItem *) x));
21946 }
21947 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
21948 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
21949 }
21950 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
21951 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
21952 }
21953 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
21954 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
21955 }
21956 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
21957 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
21958 }
21959 static void *_p_wxSizerTo_p_wxObject(void *x) {
21960 return (void *)((wxObject *) ((wxSizer *) x));
21961 }
21962 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
21963 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
21964 }
21965 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
21966 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
21967 }
21968 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
21969 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
21970 }
21971 static void *_p_wxEventTo_p_wxObject(void *x) {
21972 return (void *)((wxObject *) ((wxEvent *) x));
21973 }
21974 static void *_p_wxFontDataTo_p_wxObject(void *x) {
21975 return (void *)((wxObject *) ((wxFontData *) x));
21976 }
21977 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
21978 return (void *)((wxObject *) ((wxPrintData *) x));
21979 }
21980 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
21981 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
21982 }
21983 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
21984 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
21985 }
21986 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
21987 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
21988 }
21989 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
21990 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
21991 }
21992 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
21993 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
21994 }
21995 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
21996 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
21997 }
21998 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
21999 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
22000 }
22001 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
22002 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
22003 }
22004 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
22005 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
22006 }
22007 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
22008 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
22009 }
22010 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
22011 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
22012 }
22013 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
22014 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
22015 }
22016 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
22017 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
22018 }
22019 static void *_p_wxControlTo_p_wxObject(void *x) {
22020 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
22021 }
22022 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
22023 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
22024 }
22025 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
22026 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
22027 }
22028 static void *_p_wxFSFileTo_p_wxObject(void *x) {
22029 return (void *)((wxObject *) ((wxFSFile *) x));
22030 }
22031 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
22032 return (void *)((wxObject *) ((wxFindReplaceData *) x));
22033 }
22034 static void *_p_wxPySizerTo_p_wxObject(void *x) {
22035 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
22036 }
22037 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
22038 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
22039 }
22040 static void *_p_wxColourDataTo_p_wxObject(void *x) {
22041 return (void *)((wxObject *) ((wxColourData *) x));
22042 }
22043 static void *_p_wxPyEventTo_p_wxObject(void *x) {
22044 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
22045 }
22046 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
22047 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
22048 }
22049 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
22050 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
22051 }
22052 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
22053 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
22054 }
22055 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
22056 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
22057 }
22058 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
22059 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
22060 }
22061 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
22062 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
22063 }
22064 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
22065 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
22066 }
22067 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
22068 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
22069 }
22070 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
22071 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
22072 }
22073 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
22074 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
22075 }
22076 static void *_p_wxShowEventTo_p_wxObject(void *x) {
22077 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
22078 }
22079 static void *_p_wxPrinterTo_p_wxObject(void *x) {
22080 return (void *)((wxObject *) ((wxPrinter *) x));
22081 }
22082 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
22083 return (void *)((wxObject *) ((wxMenuItem *) x));
22084 }
22085 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
22086 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
22087 }
22088 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
22089 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
22090 }
22091 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
22092 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
22093 }
22094 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
22095 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
22096 }
22097 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
22098 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
22099 }
22100 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
22101 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
22102 }
22103 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
22104 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
22105 }
22106 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
22107 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
22108 }
22109 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
22110 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
22111 }
22112 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
22113 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
22114 }
22115 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
22116 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
22117 }
22118 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
22119 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
22120 }
22121 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
22122 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
22123 }
22124 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
22125 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
22126 }
22127 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
22128 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
22129 }
22130 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
22131 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
22132 }
22133 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
22134 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
22135 }
22136 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
22137 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
22138 }
22139 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
22140 return (void *)((wxObject *) ((wxImageHandler *) x));
22141 }
22142 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
22143 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
22144 }
22145 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
22146 return (void *)((wxObject *) ((wxEvtHandler *) x));
22147 }
22148 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
22149 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
22150 }
22151 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
22152 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22153 }
22154 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
22155 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22156 }
22157 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
22158 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
22159 }
22160 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
22161 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
22162 }
22163 static void *_p_wxImageTo_p_wxObject(void *x) {
22164 return (void *)((wxObject *) ((wxImage *) x));
22165 }
22166 static void *_p_wxFrameTo_p_wxObject(void *x) {
22167 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
22168 }
22169 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
22170 return (void *)((wxObject *) ((wxPyPrintout *) x));
22171 }
22172 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
22173 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
22174 }
22175 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
22176 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
22177 }
22178 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
22179 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
22180 }
22181 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
22182 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
22183 }
22184 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
22185 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22186 }
22187 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
22188 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
22189 }
22190 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
22191 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
22192 }
22193 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
22194 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
22195 }
22196 static void *_p_wxWindowTo_p_wxObject(void *x) {
22197 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
22198 }
22199 static void *_p_wxMenuTo_p_wxObject(void *x) {
22200 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
22201 }
22202 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
22203 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
22204 }
22205 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
22206 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
22207 }
22208 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
22209 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
22210 }
22211 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
22212 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
22213 }
22214 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
22215 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
22216 }
22217 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
22218 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
22219 }
22220 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
22221 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
22222 }
22223 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
22224 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22225 }
22226 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
22227 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22228 }
22229 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
22230 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
22231 }
22232 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
22233 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
22234 }
22235 static void *_p_wxSashEventTo_p_wxObject(void *x) {
22236 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
22237 }
22238 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
22239 return (void *)((wxObject *) ((wxPrintPreview *) x));
22240 }
22241 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
22242 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
22243 }
22244 static void *_p_wxPanelTo_p_wxObject(void *x) {
22245 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
22246 }
22247 static void *_p_wxDialogTo_p_wxObject(void *x) {
22248 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
22249 }
22250 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
22251 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
22252 }
22253 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
22254 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
22255 }
22256 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
22257 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
22258 }
22259 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
22260 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22261 }
22262 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
22263 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22264 }
22265 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
22266 return (void *)((wxObject *) ((wxFileSystem *) x));
22267 }
22268 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
22269 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
22270 }
22271 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
22272 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
22273 }
22274 static void *_p_wxPyAppTo_p_wxObject(void *x) {
22275 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
22276 }
22277 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
22278 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
22279 }
22280 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
22281 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
22282 }
22283 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
22284 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
22285 }
22286 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
22287 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
22288 }
22289 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
22290 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
22291 }
22292 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
22293 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
22294 }
22295 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
22296 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22297 }
22298 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
22299 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
22300 }
22301 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
22302 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
22303 }
22304 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
22305 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
22306 }
22307 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
22308 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
22309 }
22310 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
22311 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
22312 }
22313 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
22314 return (void *)((wxObject *) ((wxPrintDialogData *) x));
22315 }
22316 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
22317 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
22318 }
22319 static void *_p_wxValidatorTo_p_wxObject(void *x) {
22320 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
22321 }
22322 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
22323 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22324 }
22325 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
22326 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
22327 }
22328 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
22329 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22330 }
22331 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
22332 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22333 }
22334 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
22335 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22336 }
22337 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
22338 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
22339 }
22340 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
22341 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
22342 }
22343 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
22344 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
22345 }
22346 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
22347 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
22348 }
22349 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
22350 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
22351 }
22352 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
22353 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
22354 }
22355 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
22356 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
22357 }
22358 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
22359 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
22360 }
22361 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
22362 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
22363 }
22364 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
22365 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
22366 }
22367 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
22368 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
22369 }
22370 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
22371 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
22372 }
22373 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
22374 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
22375 }
22376 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
22377 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
22378 }
22379 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
22380 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
22381 }
22382 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
22383 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
22384 }
22385 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22386 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
22387 }
22388 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22389 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
22390 }
22391 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
22392 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
22393 }
22394 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22395 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
22396 }
22397 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22398 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22399 }
22400 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
22401 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
22402 }
22403 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
22404 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
22405 }
22406 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
22407 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
22408 }
22409 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
22410 return (void *)((wxWindow *) ((wxMenuBar *) x));
22411 }
22412 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
22413 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
22414 }
22415 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
22416 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
22417 }
22418 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
22419 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
22420 }
22421 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
22422 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
22423 }
22424 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
22425 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
22426 }
22427 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
22428 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
22429 }
22430 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
22431 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
22432 }
22433 static void *_p_wxPanelTo_p_wxWindow(void *x) {
22434 return (void *)((wxWindow *) ((wxPanel *) x));
22435 }
22436 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
22437 return (void *)((wxWindow *) ((wxStatusBar *) x));
22438 }
22439 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
22440 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
22441 }
22442 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
22443 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
22444 }
22445 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
22446 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22447 }
22448 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
22449 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22450 }
22451 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
22452 return (void *)((wxWindow *) ((wxPopupWindow *) x));
22453 }
22454 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
22455 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
22456 }
22457 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
22458 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
22459 }
22460 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
22461 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
22462 }
22463 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
22464 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
22465 }
22466 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
22467 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
22468 }
22469 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
22470 return (void *)((wxWindow *) ((wxSashWindow *) x));
22471 }
22472 static void *_p_wxControlTo_p_wxWindow(void *x) {
22473 return (void *)((wxWindow *) ((wxControl *) x));
22474 }
22475 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
22476 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
22477 }
22478 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
22479 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22480 }
22481 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
22482 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
22483 }
22484 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
22485 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
22486 }
22487 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
22488 return (void *)((wxWindow *) ((wxPyWindow *) x));
22489 }
22490 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
22491 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
22492 }
22493 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
22494 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22495 }
22496 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
22497 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22498 }
22499 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
22500 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
22501 }
22502 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
22503 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22504 }
22505 static void *_p_wxFrameTo_p_wxWindow(void *x) {
22506 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
22507 }
22508 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
22509 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
22510 }
22511 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
22512 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
22513 }
22514 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
22515 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
22516 }
22517 static void *_p_wxDialogTo_p_wxWindow(void *x) {
22518 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
22519 }
22520 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
22521 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22522 }
22523 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
22524 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22525 }
22526 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
22527 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
22528 }
22529 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
22530 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
22531 }
22532 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
22533 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
22534 }
22535 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
22536 return (void *)((wxDialog *) ((wxColourDialog *) x));
22537 }
22538 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
22539 return (void *)((wxDialog *) ((wxDirDialog *) x));
22540 }
22541 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
22542 return (void *)((wxDialog *) ((wxFontDialog *) x));
22543 }
22544 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
22545 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
22546 }
22547 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
22548 return (void *)((wxDialog *) ((wxPrintDialog *) x));
22549 }
22550 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
22551 return (void *)((wxDialog *) ((wxFileDialog *) x));
22552 }
22553 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
22554 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
22555 }
22556 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
22557 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
22558 }
22559 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
22560 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
22561 }
22562 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
22563 return (void *)((wxDialog *) ((wxMessageDialog *) x));
22564 }
22565 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
22566 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
22567 }
22568 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
22569 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
22570 }
22571 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
22572 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
22573 }
22574 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
22575 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22576 }
22577 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
22578 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22579 }
22580 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
22581 return (void *)((wxPanel *) ((wxPyPanel *) x));
22582 }
22583 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
22584 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
22585 }
22586 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
22587 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
22588 }
22589 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
22590 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22591 }
22592 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
22593 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
22594 }
22595 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
22596 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
22597 }
22598 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
22599 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
22600 }
22601 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
22602 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
22603 }
22604 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
22605 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
22606 }
22607 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
22608 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22609 }
22610 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
22611 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
22612 }
22613 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
22614 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
22615 }
22616 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
22617 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
22618 }
22619 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
22620 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
22621 }
22622 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
22623 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
22624 }
22625 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
22626 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22627 }
22628 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
22629 static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame},{0}};
22630 static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
22631 static swig_type_info _swigt__p_wxAcceleratorEntry[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0},{"_p_wxAcceleratorEntry"},{0}};
22632 static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
22633 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
22634 static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
22635 static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
22636 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}};
22637 static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
22638 static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
22639 static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
22640 static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
22641 static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
22642 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
22643 static swig_type_info _swigt__p_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
22644 static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
22645 static swig_type_info _swigt__p_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
22646 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
22647 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
22648 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
22649 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
22650 static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
22651 static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
22652 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent},{"_p_wxNotifyEvent"},{0}};
22653 static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
22654 static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
22655 static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
22656 static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
22657 static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
22658 static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
22659 static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
22660 static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
22661 static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
22662 static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
22663 static swig_type_info _swigt__p_wxMenuItem[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0},{"_p_wxMenuItem"},{0}};
22664 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
22665 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}};
22666 static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
22667 static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
22668 static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox},{0}};
22669 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
22670 static swig_type_info _swigt__p_wxAcceleratorTable[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0},{"_p_wxAcceleratorTable"},{0}};
22671 static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
22672 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}};
22673 static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
22674 static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
22675 static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
22676 static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
22677 static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
22678 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
22679 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}};
22680 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
22681 static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
22682 static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
22683 static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
22684 static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
22685 static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
22686 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}};
22687 static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow},{0}};
22688 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}};
22689 static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow},{0}};
22690 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}};
22691 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}};
22692 static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}};
22693 static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
22694 static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview},{0}};
22695 static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
22696 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
22697 static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
22698 static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
22699 static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
22700 static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
22701 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}};
22702 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}};
22703 static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
22704 static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
22705 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
22706 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}};
22707 static swig_type_info _swigt__p_wxPrintQuality[] = {{"_p_wxPrintQuality", 0, "wxPrintQuality *", 0},{"_p_wxPrintQuality"},{0}};
22708 static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar},{0}};
22709 static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
22710 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
22711 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
22712 static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
22713 static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
22714
22715 static swig_type_info *swig_types_initial[] = {
22716 _swigt__p_wxQueryLayoutInfoEvent,
22717 _swigt__p_wxPreviewFrame,
22718 _swigt__p_wxPyPreviewFrame,
22719 _swigt__p_wxAcceleratorEntry,
22720 _swigt__p_wxPyPanel,
22721 _swigt__p_wxMenu,
22722 _swigt__p_wxPrintData,
22723 _swigt__p_wxFontData,
22724 _swigt__p_wxEvent,
22725 _swigt__p_wxTaskBarIcon,
22726 _swigt__p_wxIconBundle,
22727 _swigt__p_wxLayoutAlgorithm,
22728 _swigt__p_wxFindDialogEvent,
22729 _swigt__p_wxPreviewCanvas,
22730 _swigt__p_wxFont,
22731 _swigt__p_wxSplitterEvent,
22732 _swigt__p_wxRegion,
22733 _swigt__p_wxFindReplaceData,
22734 _swigt__p_int,
22735 _swigt__p_wxSize,
22736 _swigt__p_wxDC,
22737 _swigt__p_wxIcon,
22738 _swigt__p_wxMDIChildFrame,
22739 _swigt__p_wxColourData,
22740 _swigt__p_wxNotifyEvent,
22741 _swigt__p_wxPyWindow,
22742 _swigt__p_wxSplashScreen,
22743 _swigt__p_wxFindReplaceDialog,
22744 _swigt__p_wxProgressDialog,
22745 _swigt__p_wxMessageDialog,
22746 _swigt__p_wxTextEntryDialog,
22747 _swigt__p_wxSingleChoiceDialog,
22748 _swigt__p_wxMultiChoiceDialog,
22749 _swigt__p_wxFileDialog,
22750 _swigt__p_wxPrinter,
22751 _swigt__p_wxMenuItem,
22752 _swigt__p_wxArrayInt,
22753 _swigt__p_wxEvtHandler,
22754 _swigt__p_wxCalculateLayoutEvent,
22755 _swigt__p_wxPyHtmlListBox,
22756 _swigt__p_wxPyVListBox,
22757 _swigt__p_wxRect,
22758 _swigt__p_wxAcceleratorTable,
22759 _swigt__p_wxMiniFrame,
22760 _swigt__p_wxFrame,
22761 _swigt__p_wxPyPrintout,
22762 _swigt__p_wxTaskBarIconEvent,
22763 _swigt__p_wxScrollWinEvent,
22764 _swigt__p_wxStatusBar,
22765 _swigt__p_wxMDIParentFrame,
22766 _swigt__p_wxPoint,
22767 _swigt__p_wxObject,
22768 _swigt__p_unsigned_long,
22769 _swigt__p_wxMDIClientWindow,
22770 _swigt__p_wxTipWindow,
22771 _swigt__p_wxSashLayoutWindow,
22772 _swigt__p_wxSplitterWindow,
22773 _swigt__p_wxSplashScreenWindow,
22774 _swigt__p_wxPyVScrolledWindow,
22775 _swigt__p_wxPyPopupTransientWindow,
22776 _swigt__p_wxPopupWindow,
22777 _swigt__p_wxSashWindow,
22778 _swigt__p_wxTopLevelWindow,
22779 _swigt__p_wxWindow,
22780 _swigt__p_wxScrolledWindow,
22781 _swigt__p_wxMenuBar,
22782 _swigt__p_wxPrintPreview,
22783 _swigt__p_wxSashEvent,
22784 _swigt__p_wxString,
22785 _swigt__p_wxPyPrintPreview,
22786 _swigt__p_wxFontDialog,
22787 _swigt__p_wxDirDialog,
22788 _swigt__p_wxColourDialog,
22789 _swigt__p_wxDialog,
22790 _swigt__p_wxPanel,
22791 _swigt__p_wxPageSetupDialog,
22792 _swigt__p_wxPrintDialog,
22793 _swigt__p_wxBitmap,
22794 _swigt__p_wxCommandEvent,
22795 _swigt__p_wxPrintQuality,
22796 _swigt__p_wxPreviewControlBar,
22797 _swigt__p_wxPyPreviewControlBar,
22798 _swigt__p_wxColour,
22799 _swigt__p_wxToolBar,
22800 _swigt__p_wxPageSetupDialogData,
22801 _swigt__p_wxPrintDialogData,
22802 0
22803 };
22804
22805
22806 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22807
22808 static swig_const_info swig_const_table[] = {
22809 { SWIG_PY_INT, (char *)"FULLSCREEN_NOMENUBAR", (long) wxFULLSCREEN_NOMENUBAR, 0, 0, 0},
22810 { SWIG_PY_INT, (char *)"FULLSCREEN_NOTOOLBAR", (long) wxFULLSCREEN_NOTOOLBAR, 0, 0, 0},
22811 { SWIG_PY_INT, (char *)"FULLSCREEN_NOSTATUSBAR", (long) wxFULLSCREEN_NOSTATUSBAR, 0, 0, 0},
22812 { SWIG_PY_INT, (char *)"FULLSCREEN_NOBORDER", (long) wxFULLSCREEN_NOBORDER, 0, 0, 0},
22813 { SWIG_PY_INT, (char *)"FULLSCREEN_NOCAPTION", (long) wxFULLSCREEN_NOCAPTION, 0, 0, 0},
22814 { SWIG_PY_INT, (char *)"FULLSCREEN_ALL", (long) wxFULLSCREEN_ALL, 0, 0, 0},
22815 { SWIG_PY_INT, (char *)"TOPLEVEL_EX_DIALOG", (long) wxTOPLEVEL_EX_DIALOG, 0, 0, 0},
22816 { SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_PARENT", (long) wxSPLASH_CENTRE_ON_PARENT, 0, 0, 0},
22817 { SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_SCREEN", (long) wxSPLASH_CENTRE_ON_SCREEN, 0, 0, 0},
22818 { SWIG_PY_INT, (char *)"SPLASH_NO_CENTRE", (long) wxSPLASH_NO_CENTRE, 0, 0, 0},
22819 { SWIG_PY_INT, (char *)"SPLASH_TIMEOUT", (long) wxSPLASH_TIMEOUT, 0, 0, 0},
22820 { SWIG_PY_INT, (char *)"SPLASH_NO_TIMEOUT", (long) wxSPLASH_NO_TIMEOUT, 0, 0, 0},
22821 { SWIG_PY_INT, (char *)"SP_NOBORDER", (long) wxSP_NOBORDER, 0, 0, 0},
22822 { SWIG_PY_INT, (char *)"SP_NOSASH", (long) wxSP_NOSASH, 0, 0, 0},
22823 { SWIG_PY_INT, (char *)"SP_PERMIT_UNSPLIT", (long) wxSP_PERMIT_UNSPLIT, 0, 0, 0},
22824 { SWIG_PY_INT, (char *)"SP_LIVE_UPDATE", (long) wxSP_LIVE_UPDATE, 0, 0, 0},
22825 { SWIG_PY_INT, (char *)"SP_3DSASH", (long) wxSP_3DSASH, 0, 0, 0},
22826 { SWIG_PY_INT, (char *)"SP_3DBORDER", (long) wxSP_3DBORDER, 0, 0, 0},
22827 { SWIG_PY_INT, (char *)"SP_BORDER", (long) wxSP_BORDER, 0, 0, 0},
22828 { SWIG_PY_INT, (char *)"SP_3D", (long) wxSP_3D, 0, 0, 0},
22829 { SWIG_PY_INT, (char *)"SPLIT_HORIZONTAL", (long) wxSPLIT_HORIZONTAL, 0, 0, 0},
22830 { SWIG_PY_INT, (char *)"SPLIT_VERTICAL", (long) wxSPLIT_VERTICAL, 0, 0, 0},
22831 { SWIG_PY_INT, (char *)"SPLIT_DRAG_NONE", (long) wxSPLIT_DRAG_NONE, 0, 0, 0},
22832 { SWIG_PY_INT, (char *)"SPLIT_DRAG_DRAGGING", (long) wxSPLIT_DRAG_DRAGGING, 0, 0, 0},
22833 { SWIG_PY_INT, (char *)"SPLIT_DRAG_LEFT_DOWN", (long) wxSPLIT_DRAG_LEFT_DOWN, 0, 0, 0},
22834 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, 0, 0, 0},
22835 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 0, 0, 0},
22836 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", (long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 0, 0, 0},
22837 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_UNSPLIT", (long) wxEVT_COMMAND_SPLITTER_UNSPLIT, 0, 0, 0},
22838 { SWIG_PY_INT, (char *)"SASH_DRAG_NONE", (long) wxSASH_DRAG_NONE, 0, 0, 0},
22839 { SWIG_PY_INT, (char *)"SASH_DRAG_DRAGGING", (long) wxSASH_DRAG_DRAGGING, 0, 0, 0},
22840 { SWIG_PY_INT, (char *)"SASH_DRAG_LEFT_DOWN", (long) wxSASH_DRAG_LEFT_DOWN, 0, 0, 0},
22841 { SWIG_PY_INT, (char *)"SW_NOBORDER", (long) wxSW_NOBORDER, 0, 0, 0},
22842 { SWIG_PY_INT, (char *)"SW_BORDER", (long) wxSW_BORDER, 0, 0, 0},
22843 { SWIG_PY_INT, (char *)"SW_3DSASH", (long) wxSW_3DSASH, 0, 0, 0},
22844 { SWIG_PY_INT, (char *)"SW_3DBORDER", (long) wxSW_3DBORDER, 0, 0, 0},
22845 { SWIG_PY_INT, (char *)"SW_3D", (long) wxSW_3D, 0, 0, 0},
22846 { SWIG_PY_INT, (char *)"SASH_TOP", (long) wxSASH_TOP, 0, 0, 0},
22847 { SWIG_PY_INT, (char *)"SASH_RIGHT", (long) wxSASH_RIGHT, 0, 0, 0},
22848 { SWIG_PY_INT, (char *)"SASH_BOTTOM", (long) wxSASH_BOTTOM, 0, 0, 0},
22849 { SWIG_PY_INT, (char *)"SASH_LEFT", (long) wxSASH_LEFT, 0, 0, 0},
22850 { SWIG_PY_INT, (char *)"SASH_NONE", (long) wxSASH_NONE, 0, 0, 0},
22851 { SWIG_PY_INT, (char *)"SASH_STATUS_OK", (long) wxSASH_STATUS_OK, 0, 0, 0},
22852 { SWIG_PY_INT, (char *)"SASH_STATUS_OUT_OF_RANGE", (long) wxSASH_STATUS_OUT_OF_RANGE, 0, 0, 0},
22853 { SWIG_PY_INT, (char *)"wxEVT_SASH_DRAGGED", (long) wxEVT_SASH_DRAGGED, 0, 0, 0},
22854 { SWIG_PY_INT, (char *)"LAYOUT_HORIZONTAL", (long) wxLAYOUT_HORIZONTAL, 0, 0, 0},
22855 { SWIG_PY_INT, (char *)"LAYOUT_VERTICAL", (long) wxLAYOUT_VERTICAL, 0, 0, 0},
22856 { SWIG_PY_INT, (char *)"LAYOUT_NONE", (long) wxLAYOUT_NONE, 0, 0, 0},
22857 { SWIG_PY_INT, (char *)"LAYOUT_TOP", (long) wxLAYOUT_TOP, 0, 0, 0},
22858 { SWIG_PY_INT, (char *)"LAYOUT_LEFT", (long) wxLAYOUT_LEFT, 0, 0, 0},
22859 { SWIG_PY_INT, (char *)"LAYOUT_RIGHT", (long) wxLAYOUT_RIGHT, 0, 0, 0},
22860 { SWIG_PY_INT, (char *)"LAYOUT_BOTTOM", (long) wxLAYOUT_BOTTOM, 0, 0, 0},
22861 { SWIG_PY_INT, (char *)"LAYOUT_LENGTH_Y", (long) wxLAYOUT_LENGTH_Y, 0, 0, 0},
22862 { SWIG_PY_INT, (char *)"LAYOUT_LENGTH_X", (long) wxLAYOUT_LENGTH_X, 0, 0, 0},
22863 { SWIG_PY_INT, (char *)"LAYOUT_MRU_LENGTH", (long) wxLAYOUT_MRU_LENGTH, 0, 0, 0},
22864 { SWIG_PY_INT, (char *)"LAYOUT_QUERY", (long) wxLAYOUT_QUERY, 0, 0, 0},
22865 { SWIG_PY_INT, (char *)"wxEVT_QUERY_LAYOUT_INFO", (long) wxEVT_QUERY_LAYOUT_INFO, 0, 0, 0},
22866 { SWIG_PY_INT, (char *)"wxEVT_CALCULATE_LAYOUT", (long) wxEVT_CALCULATE_LAYOUT, 0, 0, 0},
22867 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_MOVE", (long) wxEVT_TASKBAR_MOVE, 0, 0, 0},
22868 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DOWN", (long) wxEVT_TASKBAR_LEFT_DOWN, 0, 0, 0},
22869 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_UP", (long) wxEVT_TASKBAR_LEFT_UP, 0, 0, 0},
22870 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DOWN", (long) wxEVT_TASKBAR_RIGHT_DOWN, 0, 0, 0},
22871 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_UP", (long) wxEVT_TASKBAR_RIGHT_UP, 0, 0, 0},
22872 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DCLICK", (long) wxEVT_TASKBAR_LEFT_DCLICK, 0, 0, 0},
22873 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DCLICK", (long) wxEVT_TASKBAR_RIGHT_DCLICK, 0, 0, 0},
22874 { SWIG_PY_INT, (char *)"CHOICEDLG_STYLE", (long) wxCHOICEDLG_STYLE, 0, 0, 0},
22875 { SWIG_PY_INT, (char *)"FR_DOWN", (long) wxFR_DOWN, 0, 0, 0},
22876 { SWIG_PY_INT, (char *)"FR_WHOLEWORD", (long) wxFR_WHOLEWORD, 0, 0, 0},
22877 { SWIG_PY_INT, (char *)"FR_MATCHCASE", (long) wxFR_MATCHCASE, 0, 0, 0},
22878 { SWIG_PY_INT, (char *)"FR_REPLACEDIALOG", (long) wxFR_REPLACEDIALOG, 0, 0, 0},
22879 { SWIG_PY_INT, (char *)"FR_NOUPDOWN", (long) wxFR_NOUPDOWN, 0, 0, 0},
22880 { SWIG_PY_INT, (char *)"FR_NOMATCHCASE", (long) wxFR_NOMATCHCASE, 0, 0, 0},
22881 { SWIG_PY_INT, (char *)"FR_NOWHOLEWORD", (long) wxFR_NOWHOLEWORD, 0, 0, 0},
22882 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND", (long) wxEVT_COMMAND_FIND, 0, 0, 0},
22883 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_NEXT", (long) wxEVT_COMMAND_FIND_NEXT, 0, 0, 0},
22884 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE", (long) wxEVT_COMMAND_FIND_REPLACE, 0, 0, 0},
22885 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE_ALL", (long) wxEVT_COMMAND_FIND_REPLACE_ALL, 0, 0, 0},
22886 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_CLOSE", (long) wxEVT_COMMAND_FIND_CLOSE, 0, 0, 0},
22887 { SWIG_PY_INT, (char *)"IDM_WINDOWTILE", (long) 4001, 0, 0, 0},
22888 { SWIG_PY_INT, (char *)"IDM_WINDOWTILEHOR", (long) 4001, 0, 0, 0},
22889 { SWIG_PY_INT, (char *)"IDM_WINDOWCASCADE", (long) 4002, 0, 0, 0},
22890 { SWIG_PY_INT, (char *)"IDM_WINDOWICONS", (long) 4003, 0, 0, 0},
22891 { SWIG_PY_INT, (char *)"IDM_WINDOWNEXT", (long) 4004, 0, 0, 0},
22892 { SWIG_PY_INT, (char *)"IDM_WINDOWTILEVERT", (long) 4005, 0, 0, 0},
22893 { SWIG_PY_INT, (char *)"FIRST_MDI_CHILD", (long) 4100, 0, 0, 0},
22894 { SWIG_PY_INT, (char *)"LAST_MDI_CHILD", (long) 4600, 0, 0, 0},
22895 { SWIG_PY_INT, (char *)"PRINT_MODE_NONE", (long) wxPRINT_MODE_NONE, 0, 0, 0},
22896 { SWIG_PY_INT, (char *)"PRINT_MODE_PREVIEW", (long) wxPRINT_MODE_PREVIEW, 0, 0, 0},
22897 { SWIG_PY_INT, (char *)"PRINT_MODE_FILE", (long) wxPRINT_MODE_FILE, 0, 0, 0},
22898 { SWIG_PY_INT, (char *)"PRINT_MODE_PRINTER", (long) wxPRINT_MODE_PRINTER, 0, 0, 0},
22899 { SWIG_PY_INT, (char *)"PRINTER_NO_ERROR", (long) wxPRINTER_NO_ERROR, 0, 0, 0},
22900 { SWIG_PY_INT, (char *)"PRINTER_CANCELLED", (long) wxPRINTER_CANCELLED, 0, 0, 0},
22901 { SWIG_PY_INT, (char *)"PRINTER_ERROR", (long) wxPRINTER_ERROR, 0, 0, 0},
22902 { SWIG_PY_INT, (char *)"PREVIEW_PRINT", (long) wxPREVIEW_PRINT, 0, 0, 0},
22903 { SWIG_PY_INT, (char *)"PREVIEW_PREVIOUS", (long) wxPREVIEW_PREVIOUS, 0, 0, 0},
22904 { SWIG_PY_INT, (char *)"PREVIEW_NEXT", (long) wxPREVIEW_NEXT, 0, 0, 0},
22905 { SWIG_PY_INT, (char *)"PREVIEW_ZOOM", (long) wxPREVIEW_ZOOM, 0, 0, 0},
22906 { SWIG_PY_INT, (char *)"PREVIEW_FIRST", (long) wxPREVIEW_FIRST, 0, 0, 0},
22907 { SWIG_PY_INT, (char *)"PREVIEW_LAST", (long) wxPREVIEW_LAST, 0, 0, 0},
22908 { SWIG_PY_INT, (char *)"PREVIEW_GOTO", (long) wxPREVIEW_GOTO, 0, 0, 0},
22909 { SWIG_PY_INT, (char *)"PREVIEW_DEFAULT", (long) wxPREVIEW_DEFAULT, 0, 0, 0},
22910 { SWIG_PY_INT, (char *)"ID_PREVIEW_CLOSE", (long) wxID_PREVIEW_CLOSE, 0, 0, 0},
22911 { SWIG_PY_INT, (char *)"ID_PREVIEW_NEXT", (long) wxID_PREVIEW_NEXT, 0, 0, 0},
22912 { SWIG_PY_INT, (char *)"ID_PREVIEW_PREVIOUS", (long) wxID_PREVIEW_PREVIOUS, 0, 0, 0},
22913 { SWIG_PY_INT, (char *)"ID_PREVIEW_PRINT", (long) wxID_PREVIEW_PRINT, 0, 0, 0},
22914 { SWIG_PY_INT, (char *)"ID_PREVIEW_ZOOM", (long) wxID_PREVIEW_ZOOM, 0, 0, 0},
22915 { SWIG_PY_INT, (char *)"ID_PREVIEW_FIRST", (long) wxID_PREVIEW_FIRST, 0, 0, 0},
22916 { SWIG_PY_INT, (char *)"ID_PREVIEW_LAST", (long) wxID_PREVIEW_LAST, 0, 0, 0},
22917 { SWIG_PY_INT, (char *)"ID_PREVIEW_GOTO", (long) wxID_PREVIEW_GOTO, 0, 0, 0},
22918 {0}};
22919
22920 #ifdef __cplusplus
22921 }
22922 #endif
22923
22924 #ifdef __cplusplus
22925 extern "C"
22926 #endif
22927 SWIGEXPORT(void) SWIG_init(void) {
22928 static PyObject *SWIG_globals = 0;
22929 static int typeinit = 0;
22930 PyObject *m, *d;
22931 int i;
22932 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
22933 m = Py_InitModule((char *) SWIG_name, SwigMethods);
22934 d = PyModule_GetDict(m);
22935
22936 if (!typeinit) {
22937 for (i = 0; swig_types_initial[i]; i++) {
22938 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
22939 }
22940 typeinit = 1;
22941 }
22942 SWIG_InstallConstants(d,swig_const_table);
22943
22944 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
22945 SWIG_addvarlink(SWIG_globals,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get, _wrap_NullAcceleratorTable_set);
22946 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
22947 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
22948 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
22949 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
22950 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
22951 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
22952 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
22953
22954 // Map renamed classes back to their common name for OOR
22955 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
22956 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
22957 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
22958
22959 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
22960 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
22961 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
22962 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
22963 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
22964 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
22965 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
22966 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
22967 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
22968 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
22969 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
22970 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
22971
22972 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
22973
22974 }
22975