]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/windows_wrap.cpp
reSWIGed
[wxWidgets.git] / wxPython / src / gtk / windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.20
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51 /***********************************************************************
52 * common.swg for wxPython
53 *
54 * Include only the function prototypes and such from SWIG's common.swg,
55 * but not the runtime functions themselves. This helps keep the
56 * wrapper files clean of unnecessary stuff that is in the libpy.c file
57 * anyway.
58 *
59 ************************************************************************/
60
61 #include <string.h>
62
63 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
64 # if defined(_MSC_VER) || defined(__GNUC__)
65 # if defined(STATIC_LINKED)
66 # define SWIGEXPORT(a) a
67 # define SWIGIMPORT(a) extern a
68 # else
69 # define SWIGEXPORT(a) __declspec(dllexport) a
70 # define SWIGIMPORT(a) extern a
71 # endif
72 # else
73 # if defined(__BORLANDC__)
74 # define SWIGEXPORT(a) a _export
75 # define SWIGIMPORT(a) a _export
76 # else
77 # define SWIGEXPORT(a) a
78 # define SWIGIMPORT(a) a
79 # endif
80 # endif
81 #else
82 # define SWIGEXPORT(a) a
83 # define SWIGIMPORT(a) a
84 #endif
85
86 #ifdef SWIG_GLOBAL
87 # define SWIGRUNTIME(a) SWIGEXPORT(a)
88 #else
89 # define SWIGRUNTIME(a) static a
90 #endif
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 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
118 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
119
120
121 #ifdef __cplusplus
122 }
123
124 #endif
125
126
127 /***********************************************************************
128 * pyrun.swg for wxPython
129 *
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
133 * anyway.
134 *
135 ************************************************************************/
136
137 #include "Python.h"
138
139 #ifdef __cplusplus
140 extern "C" {
141 #endif
142
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
148
149 /* Flags for pointer conversion */
150
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
153
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
156
157 /* Constant information structure */
158 typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165 } swig_const_info;
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_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
187
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198
199 /* Contract support */
200
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
202
203 #ifdef __cplusplus
204 }
205 #endif
206
207
208
209 /* -------- TYPES TABLE (BEGIN) -------- */
210
211 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
212 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
213 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
214 #define SWIGTYPE_p_wxPyPanel swig_types[3]
215 #define SWIGTYPE_p_wxMenu swig_types[4]
216 #define SWIGTYPE_p_wxPrintData swig_types[5]
217 #define SWIGTYPE_p_wxFontData swig_types[6]
218 #define SWIGTYPE_p_wxEvent swig_types[7]
219 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
220 #define SWIGTYPE_p_wxIconBundle swig_types[9]
221 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
222 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
223 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
224 #define SWIGTYPE_p_wxFont swig_types[13]
225 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
226 #define SWIGTYPE_p_wxRegion swig_types[15]
227 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
228 #define SWIGTYPE_p_int swig_types[17]
229 #define SWIGTYPE_p_wxSize swig_types[18]
230 #define SWIGTYPE_p_wxDC swig_types[19]
231 #define SWIGTYPE_p_wxIcon swig_types[20]
232 #define SWIGTYPE_p_wxMDIChildFrame swig_types[21]
233 #define SWIGTYPE_p_wxColourData swig_types[22]
234 #define SWIGTYPE_p_wxNotifyEvent swig_types[23]
235 #define SWIGTYPE_p_wxPyWindow swig_types[24]
236 #define SWIGTYPE_p_wxSplashScreen swig_types[25]
237 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
238 #define SWIGTYPE_p_wxProgressDialog swig_types[27]
239 #define SWIGTYPE_p_wxMessageDialog swig_types[28]
240 #define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
241 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
242 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
243 #define SWIGTYPE_p_wxFileDialog swig_types[32]
244 #define SWIGTYPE_p_wxPrinter swig_types[33]
245 #define SWIGTYPE_p_wxArrayInt swig_types[34]
246 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
247 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
248 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
249 #define SWIGTYPE_p_wxPyVListBox swig_types[38]
250 #define SWIGTYPE_p_wxRect swig_types[39]
251 #define SWIGTYPE_p_wxMiniFrame swig_types[40]
252 #define SWIGTYPE_p_wxFrame swig_types[41]
253 #define SWIGTYPE_p_wxPyPrintout swig_types[42]
254 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[43]
255 #define SWIGTYPE_p_wxScrollWinEvent swig_types[44]
256 #define SWIGTYPE_p_wxStatusBar swig_types[45]
257 #define SWIGTYPE_p_wxMDIParentFrame swig_types[46]
258 #define SWIGTYPE_p_wxPoint swig_types[47]
259 #define SWIGTYPE_p_wxObject swig_types[48]
260 #define SWIGTYPE_p_unsigned_long swig_types[49]
261 #define SWIGTYPE_p_wxMDIClientWindow swig_types[50]
262 #define SWIGTYPE_p_wxTipWindow swig_types[51]
263 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[52]
264 #define SWIGTYPE_p_wxSplitterWindow swig_types[53]
265 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[54]
266 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[55]
267 #define SWIGTYPE_p_wxPopupWindow swig_types[56]
268 #define SWIGTYPE_p_wxSashWindow swig_types[57]
269 #define SWIGTYPE_p_wxTopLevelWindow swig_types[58]
270 #define SWIGTYPE_p_wxWindow swig_types[59]
271 #define SWIGTYPE_p_wxScrolledWindow swig_types[60]
272 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[61]
273 #define SWIGTYPE_p_wxMenuBar swig_types[62]
274 #define SWIGTYPE_p_wxPrintPreview swig_types[63]
275 #define SWIGTYPE_p_wxSashEvent swig_types[64]
276 #define SWIGTYPE_p_wxString swig_types[65]
277 #define SWIGTYPE_p_wxPyPrintPreview swig_types[66]
278 #define SWIGTYPE_p_wxPageSetupDialog swig_types[67]
279 #define SWIGTYPE_p_wxFontDialog swig_types[68]
280 #define SWIGTYPE_p_wxDirDialog swig_types[69]
281 #define SWIGTYPE_p_wxColourDialog swig_types[70]
282 #define SWIGTYPE_p_wxDialog swig_types[71]
283 #define SWIGTYPE_p_wxPanel swig_types[72]
284 #define SWIGTYPE_p_wxPrintDialog swig_types[73]
285 #define SWIGTYPE_p_wxBitmap swig_types[74]
286 #define SWIGTYPE_p_wxCommandEvent swig_types[75]
287 #define SWIGTYPE_p_wxPrintQuality swig_types[76]
288 #define SWIGTYPE_p_wxPreviewControlBar swig_types[77]
289 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[78]
290 #define SWIGTYPE_p_wxColour swig_types[79]
291 #define SWIGTYPE_p_wxToolBar swig_types[80]
292 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[81]
293 #define SWIGTYPE_p_wxPrintDialogData swig_types[82]
294 static swig_type_info *swig_types[84];
295
296 /* -------- TYPES TABLE (END) -------- */
297
298
299 /*-----------------------------------------------
300 @(target):= _windows.so
301 ------------------------------------------------*/
302 #define SWIG_init init_windows
303
304 #define SWIG_name "_windows"
305
306 #include "wx/wxPython/wxPython.h"
307 #include "wx/wxPython/pyclasses.h"
308
309 DECLARE_DEF_STRING(PanelNameStr);
310 DECLARE_DEF_STRING(EmptyString);
311
312
313
314
315
316 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
317 PyObject* o2;
318 PyObject* o3;
319
320 if (!target) {
321 target = o;
322 } else if (target == Py_None) {
323 Py_DECREF(Py_None);
324 target = o;
325 } else {
326 if (!PyTuple_Check(target)) {
327 o2 = target;
328 target = PyTuple_New(1);
329 PyTuple_SetItem(target, 0, o2);
330 }
331 o3 = PyTuple_New(1);
332 PyTuple_SetItem(o3, 0, o);
333
334 o2 = target;
335 target = PySequence_Concat(o2, o3);
336 Py_DECREF(o2);
337 Py_DECREF(o3);
338 }
339 return target;
340 }
341
342
343 // Put some wx default wxChar* values into wxStrings.
344 DECLARE_DEF_STRING(FrameNameStr);
345 DECLARE_DEF_STRING(DialogNameStr);
346 DECLARE_DEF_STRING(StatusLineNameStr);
347 DECLARE_DEF_STRING(ToolBarNameStr);
348
349 bool wxDialog_IsModalShowing(wxDialog *self){
350
351 return self->m_modalShowing;
352
353
354
355 }
356
357
358 wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
359 wxRect r;
360 self->GetFieldRect(i, r);
361 return r;
362 }
363
364 static const wxChar* wxSplitterNameStr = wxT("splitter");
365 DECLARE_DEF_STRING(SplitterNameStr);
366
367
368 static const wxChar* wxSashNameStr = wxT("sashWindow");
369 DECLARE_DEF_STRING(SashNameStr);
370 static const wxChar* wxSashLayoutNameStr = wxT("layoutWindow");
371 DECLARE_DEF_STRING(SashLayoutNameStr);
372
373
374 #include <wx/popupwin.h>
375
376
377 class wxPyPopupTransientWindow : public wxPopupTransientWindow
378 {
379 public:
380 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
381 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
382 : wxPopupTransientWindow(parent, style) {}
383
384 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
385 DEC_PYCALLBACK__(OnDismiss);
386 DEC_PYCALLBACK_BOOL_(CanDismiss);
387 PYPRIVATE;
388 };
389
390
391 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
392 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
393 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
394
395
396 #include <wx/tipwin.h>
397
398 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
399 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
400 }
401
402 #include <wx/tipwin.h>
403
404
405 #include <wx/vscroll.h>
406
407
408 class wxPyVScrolledWindow : public wxVScrolledWindow
409 {
410 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
411 public:
412 wxPyVScrolledWindow() : wxVScrolledWindow() {}
413
414 wxPyVScrolledWindow(wxWindow *parent,
415 wxWindowID id = wxID_ANY,
416 const wxPoint& pos = wxDefaultPosition,
417 const wxSize& size = wxDefaultSize,
418 long style = 0,
419 const wxString& name = wxPyPanelNameStr)
420 : wxVScrolledWindow(parent, id, pos, size, style, name)
421 {}
422
423 // Overridable virtuals
424
425 // this function must be overridden in the derived class and it should
426 // return the height of the given line in pixels
427 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
428
429
430 // this function doesn't have to be overridden but it may be useful to do
431 // it if calculating the lines heights is a relatively expensive operation
432 // as it gives the user code a possibility to calculate several of them at
433 // once
434 //
435 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
436 // shouldn't rely on the latter being called for all lines in the interval
437 // specified here. It is also possible that OnGetLineHeight() will be
438 // called for the lines outside of this interval, so this is really just a
439 // hint, not a promise.
440 //
441 // finally note that lineMin is inclusive, while lineMax is exclusive, as
442 // usual
443 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
444
445
446 // when the number of lines changes, we try to estimate the total height
447 // of all lines which is a rather expensive operation in terms of lines
448 // access, so if the user code may estimate the average height
449 // better/faster than we do, it should override this function to implement
450 // its own logic
451 //
452 // this function should return the best guess for the total height it may
453 // make
454 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
455
456
457 // Also expose some other interesting protected methods
458
459
460 // find the index of the line we need to show at the top of the window such
461 // that the last (fully or partially) visible line is the given one
462 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
463 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
464
465 // get the total height of the lines between lineMin (inclusive) and
466 // lineMax (exclusive)
467 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
468 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
469
470
471 PYPRIVATE;
472 };
473
474 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
475
476 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
477 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
478 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
479
480
481 #include <wx/vlbox.h>
482 DECLARE_DEF_STRING(VListBoxNameStr);
483
484
485 class wxPyVListBox : public wxVListBox
486 {
487 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
488 public:
489 wxPyVListBox() : wxVListBox() {}
490
491 wxPyVListBox(wxWindow *parent,
492 wxWindowID id = wxID_ANY,
493 const wxPoint& pos = wxDefaultPosition,
494 const wxSize& size = wxDefaultSize,
495 long style = 0,
496 const wxString& name = wxPyVListBoxNameStr)
497 : wxVListBox(parent, id, pos, size, style, name)
498 {}
499
500 // Overridable virtuals
501
502 // the derived class must implement this function to actually draw the item
503 // with the given index on the provided DC
504 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
505 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
506
507
508 // the derived class must implement this method to return the height of the
509 // specified item
510 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
511 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
512
513
514 // this method may be used to draw separators between the lines; note that
515 // the rectangle may be modified, typically to deflate it a bit before
516 // passing to OnDrawItem()
517 //
518 // the base class version doesn't do anything
519 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
520 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
521
522
523 // this method is used to draw the items background and, maybe, a border
524 // around it
525 //
526 // the base class version implements a reasonable default behaviour which
527 // consists in drawing the selected item with the standard background
528 // colour and drawing a border around the item if it is either selected or
529 // current
530 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
531 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
532
533
534 PYPRIVATE;
535 };
536
537 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
538
539 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
540 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
541 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
542 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
543
544
545
546 #include <wx/htmllbox.h>
547
548
549 class wxPyHtmlListBox : public wxHtmlListBox
550 {
551 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
552 public:
553 wxPyHtmlListBox() : wxHtmlListBox() {}
554
555 wxPyHtmlListBox(wxWindow *parent,
556 wxWindowID id = wxID_ANY,
557 const wxPoint& pos = wxDefaultPosition,
558 const wxSize& size = wxDefaultSize,
559 long style = 0,
560 const wxString& name = wxPyVListBoxNameStr)
561 : wxHtmlListBox(parent, id, pos, size, style, name)
562 {}
563
564 // Overridable virtuals
565
566 // this method must be implemented in the derived class and should return
567 // the body (i.e. without <html>) of the HTML for the given item
568 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
569
570 // this function may be overridden to decorate HTML returned by OnGetItem()
571 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
572
573 // TODO:
574 // // this method allows to customize the selection appearance: it may be used
575 // // to specify the colour of the text which normally has the given colour
576 // // colFg when it is inside the selection
577 // //
578 // // by default, the original colour is not used at all and all text has the
579 // // same (default for this system) colour inside selection
580 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
581
582 // // this is the same as GetSelectedTextColour() but allows to customize the
583 // // background colour -- this is even more rarely used as you can change it
584 // // globally using SetSelectionBackground()
585 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
586
587
588 PYPRIVATE;
589 };
590
591
592 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
593
594 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
595 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
596
597
598
599
600
601 #ifdef __WXMAC__
602 // implement dummy classes and such for wxMac
603
604 class wxTaskBarIcon : public wxEvtHandler
605 {
606 public:
607 wxTaskBarIcon() { PyErr_SetNone(PyExc_NotImplementedError); }
608 };
609
610
611 class wxTaskBarIconEvent : public wxEvent
612 {
613 public:
614 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
615 { PyErr_SetNone(PyExc_NotImplementedError); }
616 virtual wxEvent* Clone() const { return NULL; }
617 };
618
619 enum {
620 wxEVT_TASKBAR_MOVE = 0,
621 wxEVT_TASKBAR_LEFT_DOWN = 0,
622 wxEVT_TASKBAR_LEFT_UP = 0,
623 wxEVT_TASKBAR_RIGHT_DOWN = 0,
624 wxEVT_TASKBAR_RIGHT_UP = 0,
625 wxEVT_TASKBAR_LEFT_DCLICK = 0,
626 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
627 };
628 #endif
629
630
631
632 DECLARE_DEF_STRING(FileSelectorPromptStr);
633 DECLARE_DEF_STRING(DirSelectorPromptStr);
634 DECLARE_DEF_STRING(DirDialogNameStr);
635 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr);
636 DECLARE_DEF_STRING(GetTextFromUserPromptStr);
637 DECLARE_DEF_STRING(MessageBoxCaptionStr);
638
639
640 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
641 wxArrayString arr;
642 self->GetFilenames(arr);
643 return wxArrayString2PyList_helper(arr);
644 }
645 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
646 wxArrayString arr;
647 self->GetPaths(arr);
648 return wxArrayString2PyList_helper(arr);
649 }
650 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
651 return wxArrayInt2PyList_helper(self->GetSelections());
652 }
653 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
654 return new wxSingleChoiceDialog(parent, message, caption,
655 choices, choices_array, NULL, style, pos);
656 }
657
658 #include <wx/mdi.h>
659
660 // C++ version of Python aware wxWindow
661 class wxPyWindow : public wxWindow
662 {
663 DECLARE_DYNAMIC_CLASS(wxPyWindow)
664 public:
665 wxPyWindow() : wxWindow() {}
666 wxPyWindow(wxWindow* parent, const wxWindowID id,
667 const wxPoint& pos = wxDefaultPosition,
668 const wxSize& size = wxDefaultSize,
669 long style = 0,
670 const wxString& name = wxPyPanelNameStr)
671 : wxWindow(parent, id, pos, size, style, name) {}
672
673
674 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
675 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
676 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
677 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
678
679 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
680 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
681 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
682
683 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
684 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
685
686 DEC_PYCALLBACK__(InitDialog);
687 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
688 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
689 DEC_PYCALLBACK_BOOL_(Validate);
690
691 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
692 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
693 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
694
695 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
696 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
697
698 PYPRIVATE;
699 };
700
701 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
702
703 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
704 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
705 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
706 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
707
708 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
709 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
710 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
711
712 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
713 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
714
715 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
716 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
717 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
718 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
719
720 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
721 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
722 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
723
724 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
725 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
726
727
728 // C++ version of Python aware wxPanel
729 class wxPyPanel : public wxPanel
730 {
731 DECLARE_DYNAMIC_CLASS(wxPyPanel)
732 public:
733 wxPyPanel() : wxPanel() {}
734 wxPyPanel(wxWindow* parent, const wxWindowID id,
735 const wxPoint& pos = wxDefaultPosition,
736 const wxSize& size = wxDefaultSize,
737 long style = 0,
738 const wxString& name = wxPyPanelNameStr)
739 : wxPanel(parent, id, pos, size, style, name) {}
740
741
742 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
743 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
744 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
745 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
746
747 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
748 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
749 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
750
751 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
752 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
753
754 DEC_PYCALLBACK__(InitDialog);
755 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
756 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
757 DEC_PYCALLBACK_BOOL_(Validate);
758
759 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
760 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
761 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
762
763 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
764 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
765
766 PYPRIVATE;
767 };
768
769 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
770
771 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
772 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
773 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
774 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
775
776 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
777 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
778 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
779
780 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
781 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
782
783 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
784 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
785 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
786 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
787
788 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
789 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
790 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
791
792 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
793 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
794
795
796
797 #include "wx/wxPython/printfw.h"
798
799 static const wxChar* wxPrintoutTitleStr = wxT("Printout");
800 DECLARE_DEF_STRING(PrintoutTitleStr);
801 static const wxChar* wxPreviewCanvasNameStr = wxT("previewcanvas");
802 DECLARE_DEF_STRING(PreviewCanvasNameStr);
803
804
805
806
807
808 // Since this one would be tough and ugly to do with the Macros...
809 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
810 bool hadErr = False;
811 bool found;
812
813 wxPyBeginBlockThreads();
814 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
815 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
816 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
817 PyObject* val;
818
819 val = PyTuple_GetItem(result, 0);
820 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
821 else hadErr = True;
822
823 val = PyTuple_GetItem(result, 1);
824 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
825 else hadErr = True;
826
827 val = PyTuple_GetItem(result, 2);
828 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
829 else hadErr = True;
830
831 val = PyTuple_GetItem(result, 3);
832 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
833 else hadErr = True;
834 }
835 else
836 hadErr = True;
837
838 if (hadErr) {
839 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
840 PyErr_Print();
841 }
842 Py_DECREF(result);
843 }
844 wxPyEndBlockThreads();
845 if (! found)
846 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
847 }
848
849 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
850 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
851 }
852
853
854 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
855 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
856 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
857 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
858 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
859 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
860 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
861
862
863
864
865
866 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
867 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
868 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
869
870
871 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
872 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
873 bool rval=False; \
874 bool found; \
875 wxPyBeginBlockThreads(); \
876 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
877 PyObject* win = wxPyMake_wxObject(a); \
878 PyObject* dc = wxPyMake_wxObject(&b); \
879 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
880 Py_DECREF(win); \
881 Py_DECREF(dc); \
882 } \
883 wxPyEndBlockThreads(); \
884 if (! found) \
885 rval = PCLASS::CBNAME(a, b); \
886 return rval; \
887 } \
888 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
889 return PCLASS::CBNAME(a, b); \
890 }
891
892
893
894
895 class wxPyPrintPreview : public wxPrintPreview
896 {
897 DECLARE_CLASS(wxPyPrintPreview)
898 public:
899 wxPyPrintPreview(wxPyPrintout* printout,
900 wxPyPrintout* printoutForPrinting,
901 wxPrintData* data=NULL)
902 : wxPrintPreview(printout, printoutForPrinting, data)
903 {}
904
905 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
906 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
907 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
908 DEC_PYCALLBACK_BOOL_INT(RenderPage);
909 DEC_PYCALLBACK_VOID_INT(SetZoom);
910 DEC_PYCALLBACK_BOOL_BOOL(Print);
911 DEC_PYCALLBACK_VOID_(DetermineScaling);
912
913 PYPRIVATE;
914 };
915
916 // Stupid renamed classes... Fix this in 2.5...
917 #if defined(__WXMSW__)
918 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
919 #elif defined(__WXMAC__)
920 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
921 #else
922 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
923 #endif
924
925 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
926 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
927 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
928 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
929 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
930 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
931 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
932
933
934 class wxPyPreviewFrame : public wxPreviewFrame
935 {
936 DECLARE_CLASS(wxPyPreviewFrame);
937 public:
938 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
939 const wxString& title,
940 const wxPoint& pos = wxDefaultPosition,
941 const wxSize& size = wxDefaultSize,
942 long style = wxDEFAULT_FRAME_STYLE,
943 const wxString& name = wxPyFrameNameStr)
944 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
945 {}
946
947 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
948 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
949
950 DEC_PYCALLBACK_VOID_(Initialize);
951 DEC_PYCALLBACK_VOID_(CreateCanvas);
952 DEC_PYCALLBACK_VOID_(CreateControlBar);
953
954 PYPRIVATE;
955 };
956
957 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
958
959 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
960 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
961 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
962
963
964 class wxPyPreviewControlBar : public wxPreviewControlBar
965 {
966 DECLARE_CLASS(wxPyPreviewControlBar);
967 public:
968 wxPyPreviewControlBar(wxPrintPreview *preview,
969 long buttons,
970 wxWindow *parent,
971 const wxPoint& pos = wxDefaultPosition,
972 const wxSize& size = wxDefaultSize,
973 long style = 0,
974 const wxString& name = wxPyPanelNameStr)
975 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
976 {}
977
978 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
979
980 DEC_PYCALLBACK_VOID_(CreateButtons);
981 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
982
983 PYPRIVATE;
984 };
985
986 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
987 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
988 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
989
990 #ifdef __cplusplus
991 extern "C" {
992 #endif
993 static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
994 PyObject *resultobj;
995 wxWindow *arg1 = (wxWindow *) 0 ;
996 int arg2 = (int) (int)-1 ;
997 wxPoint const &arg3_defvalue = wxDefaultPosition ;
998 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
999 wxSize const &arg4_defvalue = wxDefaultSize ;
1000 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1001 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1002 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1003 wxString *arg6 = (wxString *) &arg6_defvalue ;
1004 wxPanel *result;
1005 wxPoint temp3 ;
1006 wxSize temp4 ;
1007 bool temp6 = False ;
1008 PyObject * obj0 = 0 ;
1009 PyObject * obj2 = 0 ;
1010 PyObject * obj3 = 0 ;
1011 PyObject * obj5 = 0 ;
1012 char *kwnames[] = {
1013 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1014 };
1015
1016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_Panel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
1017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1018 if (obj2) {
1019 {
1020 arg3 = &temp3;
1021 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1022 }
1023 }
1024 if (obj3) {
1025 {
1026 arg4 = &temp4;
1027 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1028 }
1029 }
1030 if (obj5) {
1031 {
1032 arg6 = wxString_in_helper(obj5);
1033 if (arg6 == NULL) SWIG_fail;
1034 temp6 = True;
1035 }
1036 }
1037 {
1038 PyThreadState* __tstate = wxPyBeginAllowThreads();
1039 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1040
1041 wxPyEndAllowThreads(__tstate);
1042 if (PyErr_Occurred()) SWIG_fail;
1043 }
1044 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1045 {
1046 if (temp6)
1047 delete arg6;
1048 }
1049 return resultobj;
1050 fail:
1051 {
1052 if (temp6)
1053 delete arg6;
1054 }
1055 return NULL;
1056 }
1057
1058
1059 static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1060 PyObject *resultobj;
1061 wxPanel *result;
1062 char *kwnames[] = {
1063 NULL
1064 };
1065
1066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1067 {
1068 PyThreadState* __tstate = wxPyBeginAllowThreads();
1069 result = (wxPanel *)new wxPanel();
1070
1071 wxPyEndAllowThreads(__tstate);
1072 if (PyErr_Occurred()) SWIG_fail;
1073 }
1074 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1075 return resultobj;
1076 fail:
1077 return NULL;
1078 }
1079
1080
1081 static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1082 PyObject *resultobj;
1083 wxPanel *arg1 = (wxPanel *) 0 ;
1084 wxWindow *arg2 = (wxWindow *) 0 ;
1085 int arg3 ;
1086 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1087 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1088 wxSize const &arg5_defvalue = wxDefaultSize ;
1089 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1090 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1091 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1092 wxString *arg7 = (wxString *) &arg7_defvalue ;
1093 bool result;
1094 wxPoint temp4 ;
1095 wxSize temp5 ;
1096 bool temp7 = False ;
1097 PyObject * obj0 = 0 ;
1098 PyObject * obj1 = 0 ;
1099 PyObject * obj3 = 0 ;
1100 PyObject * obj4 = 0 ;
1101 PyObject * obj6 = 0 ;
1102 char *kwnames[] = {
1103 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1104 };
1105
1106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Panel_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1108 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1109 if (obj3) {
1110 {
1111 arg4 = &temp4;
1112 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1113 }
1114 }
1115 if (obj4) {
1116 {
1117 arg5 = &temp5;
1118 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1119 }
1120 }
1121 if (obj6) {
1122 {
1123 arg7 = wxString_in_helper(obj6);
1124 if (arg7 == NULL) SWIG_fail;
1125 temp7 = True;
1126 }
1127 }
1128 {
1129 PyThreadState* __tstate = wxPyBeginAllowThreads();
1130 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1131
1132 wxPyEndAllowThreads(__tstate);
1133 if (PyErr_Occurred()) SWIG_fail;
1134 }
1135 resultobj = PyInt_FromLong((long)result);
1136 {
1137 if (temp7)
1138 delete arg7;
1139 }
1140 return resultobj;
1141 fail:
1142 {
1143 if (temp7)
1144 delete arg7;
1145 }
1146 return NULL;
1147 }
1148
1149
1150 static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1151 PyObject *resultobj;
1152 wxPanel *arg1 = (wxPanel *) 0 ;
1153 PyObject * obj0 = 0 ;
1154 char *kwnames[] = {
1155 (char *) "self", NULL
1156 };
1157
1158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1160 {
1161 PyThreadState* __tstate = wxPyBeginAllowThreads();
1162 (arg1)->InitDialog();
1163
1164 wxPyEndAllowThreads(__tstate);
1165 if (PyErr_Occurred()) SWIG_fail;
1166 }
1167 Py_INCREF(Py_None); resultobj = Py_None;
1168 return resultobj;
1169 fail:
1170 return NULL;
1171 }
1172
1173
1174 static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1175 PyObject *obj;
1176 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1177 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1178 Py_INCREF(obj);
1179 return Py_BuildValue((char *)"");
1180 }
1181 static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1182 PyObject *resultobj;
1183 wxWindow *arg1 = (wxWindow *) 0 ;
1184 int arg2 = (int) (int)-1 ;
1185 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1186 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1187 wxSize const &arg4_defvalue = wxDefaultSize ;
1188 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1189 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1190 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1191 wxString *arg6 = (wxString *) &arg6_defvalue ;
1192 wxScrolledWindow *result;
1193 wxPoint temp3 ;
1194 wxSize temp4 ;
1195 bool temp6 = False ;
1196 PyObject * obj0 = 0 ;
1197 PyObject * obj2 = 0 ;
1198 PyObject * obj3 = 0 ;
1199 PyObject * obj5 = 0 ;
1200 char *kwnames[] = {
1201 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1202 };
1203
1204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_ScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
1205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1206 if (obj2) {
1207 {
1208 arg3 = &temp3;
1209 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1210 }
1211 }
1212 if (obj3) {
1213 {
1214 arg4 = &temp4;
1215 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1216 }
1217 }
1218 if (obj5) {
1219 {
1220 arg6 = wxString_in_helper(obj5);
1221 if (arg6 == NULL) SWIG_fail;
1222 temp6 = True;
1223 }
1224 }
1225 {
1226 PyThreadState* __tstate = wxPyBeginAllowThreads();
1227 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1228
1229 wxPyEndAllowThreads(__tstate);
1230 if (PyErr_Occurred()) SWIG_fail;
1231 }
1232 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1233 {
1234 if (temp6)
1235 delete arg6;
1236 }
1237 return resultobj;
1238 fail:
1239 {
1240 if (temp6)
1241 delete arg6;
1242 }
1243 return NULL;
1244 }
1245
1246
1247 static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1248 PyObject *resultobj;
1249 wxScrolledWindow *result;
1250 char *kwnames[] = {
1251 NULL
1252 };
1253
1254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1255 {
1256 PyThreadState* __tstate = wxPyBeginAllowThreads();
1257 result = (wxScrolledWindow *)new wxScrolledWindow();
1258
1259 wxPyEndAllowThreads(__tstate);
1260 if (PyErr_Occurred()) SWIG_fail;
1261 }
1262 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1263 return resultobj;
1264 fail:
1265 return NULL;
1266 }
1267
1268
1269 static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1270 PyObject *resultobj;
1271 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1272 wxWindow *arg2 = (wxWindow *) 0 ;
1273 int arg3 = (int) (int)-1 ;
1274 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1275 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1276 wxSize const &arg5_defvalue = wxDefaultSize ;
1277 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1278 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1279 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1280 wxString *arg7 = (wxString *) &arg7_defvalue ;
1281 bool result;
1282 wxPoint temp4 ;
1283 wxSize temp5 ;
1284 bool temp7 = False ;
1285 PyObject * obj0 = 0 ;
1286 PyObject * obj1 = 0 ;
1287 PyObject * obj3 = 0 ;
1288 PyObject * obj4 = 0 ;
1289 PyObject * obj6 = 0 ;
1290 char *kwnames[] = {
1291 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1292 };
1293
1294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1296 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1297 if (obj3) {
1298 {
1299 arg4 = &temp4;
1300 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1301 }
1302 }
1303 if (obj4) {
1304 {
1305 arg5 = &temp5;
1306 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1307 }
1308 }
1309 if (obj6) {
1310 {
1311 arg7 = wxString_in_helper(obj6);
1312 if (arg7 == NULL) SWIG_fail;
1313 temp7 = True;
1314 }
1315 }
1316 {
1317 PyThreadState* __tstate = wxPyBeginAllowThreads();
1318 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1319
1320 wxPyEndAllowThreads(__tstate);
1321 if (PyErr_Occurred()) SWIG_fail;
1322 }
1323 resultobj = PyInt_FromLong((long)result);
1324 {
1325 if (temp7)
1326 delete arg7;
1327 }
1328 return resultobj;
1329 fail:
1330 {
1331 if (temp7)
1332 delete arg7;
1333 }
1334 return NULL;
1335 }
1336
1337
1338 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1339 PyObject *resultobj;
1340 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1341 int arg2 ;
1342 int arg3 ;
1343 int arg4 ;
1344 int arg5 ;
1345 int arg6 = (int) 0 ;
1346 int arg7 = (int) 0 ;
1347 bool arg8 = (bool) False ;
1348 PyObject * obj0 = 0 ;
1349 PyObject * obj7 = 0 ;
1350 char *kwnames[] = {
1351 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1352 };
1353
1354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|iiO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7,&obj7)) goto fail;
1355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1356 if (obj7) {
1357 arg8 = PyInt_AsLong(obj7) ? true : false;
1358 if (PyErr_Occurred()) SWIG_fail;
1359 }
1360 {
1361 PyThreadState* __tstate = wxPyBeginAllowThreads();
1362 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1363
1364 wxPyEndAllowThreads(__tstate);
1365 if (PyErr_Occurred()) SWIG_fail;
1366 }
1367 Py_INCREF(Py_None); resultobj = Py_None;
1368 return resultobj;
1369 fail:
1370 return NULL;
1371 }
1372
1373
1374 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1375 PyObject *resultobj;
1376 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1377 int arg2 ;
1378 int arg3 ;
1379 PyObject * obj0 = 0 ;
1380 char *kwnames[] = {
1381 (char *) "self",(char *) "x",(char *) "y", NULL
1382 };
1383
1384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_Scroll",kwnames,&obj0,&arg2,&arg3)) goto fail;
1385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1386 {
1387 PyThreadState* __tstate = wxPyBeginAllowThreads();
1388 (arg1)->Scroll(arg2,arg3);
1389
1390 wxPyEndAllowThreads(__tstate);
1391 if (PyErr_Occurred()) SWIG_fail;
1392 }
1393 Py_INCREF(Py_None); resultobj = Py_None;
1394 return resultobj;
1395 fail:
1396 return NULL;
1397 }
1398
1399
1400 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1401 PyObject *resultobj;
1402 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1403 int arg2 ;
1404 int result;
1405 PyObject * obj0 = 0 ;
1406 char *kwnames[] = {
1407 (char *) "self",(char *) "orient", NULL
1408 };
1409
1410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&arg2)) goto fail;
1411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1412 {
1413 PyThreadState* __tstate = wxPyBeginAllowThreads();
1414 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1415
1416 wxPyEndAllowThreads(__tstate);
1417 if (PyErr_Occurred()) SWIG_fail;
1418 }
1419 resultobj = PyInt_FromLong((long)result);
1420 return resultobj;
1421 fail:
1422 return NULL;
1423 }
1424
1425
1426 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1427 PyObject *resultobj;
1428 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1429 int arg2 ;
1430 int arg3 ;
1431 PyObject * obj0 = 0 ;
1432 char *kwnames[] = {
1433 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1434 };
1435
1436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
1437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1438 {
1439 PyThreadState* __tstate = wxPyBeginAllowThreads();
1440 (arg1)->SetScrollPageSize(arg2,arg3);
1441
1442 wxPyEndAllowThreads(__tstate);
1443 if (PyErr_Occurred()) SWIG_fail;
1444 }
1445 Py_INCREF(Py_None); resultobj = Py_None;
1446 return resultobj;
1447 fail:
1448 return NULL;
1449 }
1450
1451
1452 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1453 PyObject *resultobj;
1454 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1455 int arg2 ;
1456 int arg3 ;
1457 PyObject * obj0 = 0 ;
1458 char *kwnames[] = {
1459 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1460 };
1461
1462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollRate",kwnames,&obj0,&arg2,&arg3)) goto fail;
1463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1464 {
1465 PyThreadState* __tstate = wxPyBeginAllowThreads();
1466 (arg1)->SetScrollRate(arg2,arg3);
1467
1468 wxPyEndAllowThreads(__tstate);
1469 if (PyErr_Occurred()) SWIG_fail;
1470 }
1471 Py_INCREF(Py_None); resultobj = Py_None;
1472 return resultobj;
1473 fail:
1474 return NULL;
1475 }
1476
1477
1478 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1479 PyObject *resultobj;
1480 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1481 int *arg2 = (int *) 0 ;
1482 int *arg3 = (int *) 0 ;
1483 int temp2 ;
1484 int temp3 ;
1485 PyObject * obj0 = 0 ;
1486 char *kwnames[] = {
1487 (char *) "self", NULL
1488 };
1489
1490 arg2 = &temp2;
1491 arg3 = &temp3;
1492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1494 {
1495 PyThreadState* __tstate = wxPyBeginAllowThreads();
1496 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1497
1498 wxPyEndAllowThreads(__tstate);
1499 if (PyErr_Occurred()) SWIG_fail;
1500 }
1501 Py_INCREF(Py_None); resultobj = Py_None;
1502 {
1503 PyObject *o = PyInt_FromLong((long) (*arg2));
1504 resultobj = t_output_helper(resultobj,o);
1505 }
1506 {
1507 PyObject *o = PyInt_FromLong((long) (*arg3));
1508 resultobj = t_output_helper(resultobj,o);
1509 }
1510 return resultobj;
1511 fail:
1512 return NULL;
1513 }
1514
1515
1516 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1517 PyObject *resultobj;
1518 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1519 bool arg2 ;
1520 bool arg3 ;
1521 PyObject * obj0 = 0 ;
1522 PyObject * obj1 = 0 ;
1523 PyObject * obj2 = 0 ;
1524 char *kwnames[] = {
1525 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1526 };
1527
1528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1530 arg2 = PyInt_AsLong(obj1) ? true : false;
1531 if (PyErr_Occurred()) SWIG_fail;
1532 arg3 = PyInt_AsLong(obj2) ? true : false;
1533 if (PyErr_Occurred()) SWIG_fail;
1534 {
1535 PyThreadState* __tstate = wxPyBeginAllowThreads();
1536 (arg1)->EnableScrolling(arg2,arg3);
1537
1538 wxPyEndAllowThreads(__tstate);
1539 if (PyErr_Occurred()) SWIG_fail;
1540 }
1541 Py_INCREF(Py_None); resultobj = Py_None;
1542 return resultobj;
1543 fail:
1544 return NULL;
1545 }
1546
1547
1548 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1549 PyObject *resultobj;
1550 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1551 int *arg2 = (int *) 0 ;
1552 int *arg3 = (int *) 0 ;
1553 int temp2 ;
1554 int temp3 ;
1555 PyObject * obj0 = 0 ;
1556 char *kwnames[] = {
1557 (char *) "self", NULL
1558 };
1559
1560 arg2 = &temp2;
1561 arg3 = &temp3;
1562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1564 {
1565 PyThreadState* __tstate = wxPyBeginAllowThreads();
1566 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1567
1568 wxPyEndAllowThreads(__tstate);
1569 if (PyErr_Occurred()) SWIG_fail;
1570 }
1571 Py_INCREF(Py_None); resultobj = Py_None;
1572 {
1573 PyObject *o = PyInt_FromLong((long) (*arg2));
1574 resultobj = t_output_helper(resultobj,o);
1575 }
1576 {
1577 PyObject *o = PyInt_FromLong((long) (*arg3));
1578 resultobj = t_output_helper(resultobj,o);
1579 }
1580 return resultobj;
1581 fail:
1582 return NULL;
1583 }
1584
1585
1586 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
1587 PyObject *resultobj;
1588 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1589 double arg2 ;
1590 double arg3 ;
1591 PyObject * obj0 = 0 ;
1592 char *kwnames[] = {
1593 (char *) "self",(char *) "xs",(char *) "ys", NULL
1594 };
1595
1596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ScrolledWindow_SetScale",kwnames,&obj0,&arg2,&arg3)) goto fail;
1597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1598 {
1599 PyThreadState* __tstate = wxPyBeginAllowThreads();
1600 (arg1)->SetScale(arg2,arg3);
1601
1602 wxPyEndAllowThreads(__tstate);
1603 if (PyErr_Occurred()) SWIG_fail;
1604 }
1605 Py_INCREF(Py_None); resultobj = Py_None;
1606 return resultobj;
1607 fail:
1608 return NULL;
1609 }
1610
1611
1612 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
1613 PyObject *resultobj;
1614 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1615 double result;
1616 PyObject * obj0 = 0 ;
1617 char *kwnames[] = {
1618 (char *) "self", NULL
1619 };
1620
1621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
1622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1623 {
1624 PyThreadState* __tstate = wxPyBeginAllowThreads();
1625 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
1626
1627 wxPyEndAllowThreads(__tstate);
1628 if (PyErr_Occurred()) SWIG_fail;
1629 }
1630 resultobj = PyFloat_FromDouble(result);
1631 return resultobj;
1632 fail:
1633 return NULL;
1634 }
1635
1636
1637 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
1638 PyObject *resultobj;
1639 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1640 double result;
1641 PyObject * obj0 = 0 ;
1642 char *kwnames[] = {
1643 (char *) "self", NULL
1644 };
1645
1646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
1647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1648 {
1649 PyThreadState* __tstate = wxPyBeginAllowThreads();
1650 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
1651
1652 wxPyEndAllowThreads(__tstate);
1653 if (PyErr_Occurred()) SWIG_fail;
1654 }
1655 resultobj = PyFloat_FromDouble(result);
1656 return resultobj;
1657 fail:
1658 return NULL;
1659 }
1660
1661
1662 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1663 PyObject *resultobj;
1664 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1665 wxPoint *arg2 = 0 ;
1666 wxPoint result;
1667 wxPoint temp2 ;
1668 PyObject * obj0 = 0 ;
1669 PyObject * obj1 = 0 ;
1670
1671 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
1672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1673 {
1674 arg2 = &temp2;
1675 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1676 }
1677 {
1678 PyThreadState* __tstate = wxPyBeginAllowThreads();
1679 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
1680
1681 wxPyEndAllowThreads(__tstate);
1682 if (PyErr_Occurred()) SWIG_fail;
1683 }
1684 {
1685 wxPoint * resultptr;
1686 resultptr = new wxPoint((wxPoint &) result);
1687 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
1688 }
1689 return resultobj;
1690 fail:
1691 return NULL;
1692 }
1693
1694
1695 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1696 PyObject *resultobj;
1697 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1698 int arg2 ;
1699 int arg3 ;
1700 int *arg4 = (int *) 0 ;
1701 int *arg5 = (int *) 0 ;
1702 int temp4 ;
1703 int temp5 ;
1704 PyObject * obj0 = 0 ;
1705
1706 arg4 = &temp4;
1707 arg5 = &temp5;
1708 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcScrolledPosition",&obj0,&arg2,&arg3)) goto fail;
1709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1710 {
1711 PyThreadState* __tstate = wxPyBeginAllowThreads();
1712 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
1713
1714 wxPyEndAllowThreads(__tstate);
1715 if (PyErr_Occurred()) SWIG_fail;
1716 }
1717 Py_INCREF(Py_None); resultobj = Py_None;
1718 {
1719 PyObject *o = PyInt_FromLong((long) (*arg4));
1720 resultobj = t_output_helper(resultobj,o);
1721 }
1722 {
1723 PyObject *o = PyInt_FromLong((long) (*arg5));
1724 resultobj = t_output_helper(resultobj,o);
1725 }
1726 return resultobj;
1727 fail:
1728 return NULL;
1729 }
1730
1731
1732 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
1733 int argc;
1734 PyObject *argv[4];
1735 int ii;
1736
1737 argc = PyObject_Length(args);
1738 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1739 argv[ii] = PyTuple_GetItem(args,ii);
1740 }
1741 if (argc == 2) {
1742 int _v;
1743 {
1744 void *ptr;
1745 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1746 _v = 0;
1747 PyErr_Clear();
1748 } else {
1749 _v = 1;
1750 }
1751 }
1752 if (_v) {
1753 {
1754 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1755 }
1756 if (_v) {
1757 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
1758 }
1759 }
1760 }
1761 if (argc == 3) {
1762 int _v;
1763 {
1764 void *ptr;
1765 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1766 _v = 0;
1767 PyErr_Clear();
1768 } else {
1769 _v = 1;
1770 }
1771 }
1772 if (_v) {
1773 {
1774 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1775 }
1776 if (_v) {
1777 {
1778 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1779 }
1780 if (_v) {
1781 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
1782 }
1783 }
1784 }
1785 }
1786
1787 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
1788 return NULL;
1789 }
1790
1791
1792 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1793 PyObject *resultobj;
1794 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1795 wxPoint *arg2 = 0 ;
1796 wxPoint result;
1797 wxPoint temp2 ;
1798 PyObject * obj0 = 0 ;
1799 PyObject * obj1 = 0 ;
1800
1801 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
1802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1803 {
1804 arg2 = &temp2;
1805 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1806 }
1807 {
1808 PyThreadState* __tstate = wxPyBeginAllowThreads();
1809 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
1810
1811 wxPyEndAllowThreads(__tstate);
1812 if (PyErr_Occurred()) SWIG_fail;
1813 }
1814 {
1815 wxPoint * resultptr;
1816 resultptr = new wxPoint((wxPoint &) result);
1817 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
1818 }
1819 return resultobj;
1820 fail:
1821 return NULL;
1822 }
1823
1824
1825 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1826 PyObject *resultobj;
1827 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1828 int arg2 ;
1829 int arg3 ;
1830 int *arg4 = (int *) 0 ;
1831 int *arg5 = (int *) 0 ;
1832 int temp4 ;
1833 int temp5 ;
1834 PyObject * obj0 = 0 ;
1835
1836 arg4 = &temp4;
1837 arg5 = &temp5;
1838 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcUnscrolledPosition",&obj0,&arg2,&arg3)) goto fail;
1839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1840 {
1841 PyThreadState* __tstate = wxPyBeginAllowThreads();
1842 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
1843
1844 wxPyEndAllowThreads(__tstate);
1845 if (PyErr_Occurred()) SWIG_fail;
1846 }
1847 Py_INCREF(Py_None); resultobj = Py_None;
1848 {
1849 PyObject *o = PyInt_FromLong((long) (*arg4));
1850 resultobj = t_output_helper(resultobj,o);
1851 }
1852 {
1853 PyObject *o = PyInt_FromLong((long) (*arg5));
1854 resultobj = t_output_helper(resultobj,o);
1855 }
1856 return resultobj;
1857 fail:
1858 return NULL;
1859 }
1860
1861
1862 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
1863 int argc;
1864 PyObject *argv[4];
1865 int ii;
1866
1867 argc = PyObject_Length(args);
1868 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1869 argv[ii] = PyTuple_GetItem(args,ii);
1870 }
1871 if (argc == 2) {
1872 int _v;
1873 {
1874 void *ptr;
1875 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1876 _v = 0;
1877 PyErr_Clear();
1878 } else {
1879 _v = 1;
1880 }
1881 }
1882 if (_v) {
1883 {
1884 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1885 }
1886 if (_v) {
1887 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
1888 }
1889 }
1890 }
1891 if (argc == 3) {
1892 int _v;
1893 {
1894 void *ptr;
1895 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1896 _v = 0;
1897 PyErr_Clear();
1898 } else {
1899 _v = 1;
1900 }
1901 }
1902 if (_v) {
1903 {
1904 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1905 }
1906 if (_v) {
1907 {
1908 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1909 }
1910 if (_v) {
1911 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
1912 }
1913 }
1914 }
1915 }
1916
1917 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
1918 return NULL;
1919 }
1920
1921
1922 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1923 PyObject *resultobj;
1924 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1925 PyObject * obj0 = 0 ;
1926 char *kwnames[] = {
1927 (char *) "self", NULL
1928 };
1929
1930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
1931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1932 {
1933 PyThreadState* __tstate = wxPyBeginAllowThreads();
1934 (arg1)->AdjustScrollbars();
1935
1936 wxPyEndAllowThreads(__tstate);
1937 if (PyErr_Occurred()) SWIG_fail;
1938 }
1939 Py_INCREF(Py_None); resultobj = Py_None;
1940 return resultobj;
1941 fail:
1942 return NULL;
1943 }
1944
1945
1946 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
1947 PyObject *resultobj;
1948 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1949 wxScrollWinEvent *arg2 = 0 ;
1950 int result;
1951 PyObject * obj0 = 0 ;
1952 PyObject * obj1 = 0 ;
1953 char *kwnames[] = {
1954 (char *) "self",(char *) "event", NULL
1955 };
1956
1957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
1958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1959 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1960 if (arg2 == NULL) {
1961 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1962 }
1963 {
1964 PyThreadState* __tstate = wxPyBeginAllowThreads();
1965 result = (int)(arg1)->CalcScrollInc(*arg2);
1966
1967 wxPyEndAllowThreads(__tstate);
1968 if (PyErr_Occurred()) SWIG_fail;
1969 }
1970 resultobj = PyInt_FromLong((long)result);
1971 return resultobj;
1972 fail:
1973 return NULL;
1974 }
1975
1976
1977 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1978 PyObject *resultobj;
1979 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1980 wxWindow *arg2 = (wxWindow *) 0 ;
1981 PyObject * obj0 = 0 ;
1982 PyObject * obj1 = 0 ;
1983 char *kwnames[] = {
1984 (char *) "self",(char *) "target", NULL
1985 };
1986
1987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
1988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1989 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1990 {
1991 PyThreadState* __tstate = wxPyBeginAllowThreads();
1992 (arg1)->SetTargetWindow(arg2);
1993
1994 wxPyEndAllowThreads(__tstate);
1995 if (PyErr_Occurred()) SWIG_fail;
1996 }
1997 Py_INCREF(Py_None); resultobj = Py_None;
1998 return resultobj;
1999 fail:
2000 return NULL;
2001 }
2002
2003
2004 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2005 PyObject *resultobj;
2006 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2007 wxWindow *result;
2008 PyObject * obj0 = 0 ;
2009 char *kwnames[] = {
2010 (char *) "self", NULL
2011 };
2012
2013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2015 {
2016 PyThreadState* __tstate = wxPyBeginAllowThreads();
2017 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2018
2019 wxPyEndAllowThreads(__tstate);
2020 if (PyErr_Occurred()) SWIG_fail;
2021 }
2022 {
2023 resultobj = wxPyMake_wxObject(result);
2024 }
2025 return resultobj;
2026 fail:
2027 return NULL;
2028 }
2029
2030
2031 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2032 PyObject *obj;
2033 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2034 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2035 Py_INCREF(obj);
2036 return Py_BuildValue((char *)"");
2037 }
2038 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2039 PyObject *resultobj;
2040 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2041 bool arg2 = (bool) True ;
2042 PyObject * obj0 = 0 ;
2043 PyObject * obj1 = 0 ;
2044 char *kwnames[] = {
2045 (char *) "self",(char *) "maximize", NULL
2046 };
2047
2048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2050 if (obj1) {
2051 arg2 = PyInt_AsLong(obj1) ? true : false;
2052 if (PyErr_Occurred()) SWIG_fail;
2053 }
2054 {
2055 PyThreadState* __tstate = wxPyBeginAllowThreads();
2056 (arg1)->Maximize(arg2);
2057
2058 wxPyEndAllowThreads(__tstate);
2059 if (PyErr_Occurred()) SWIG_fail;
2060 }
2061 Py_INCREF(Py_None); resultobj = Py_None;
2062 return resultobj;
2063 fail:
2064 return NULL;
2065 }
2066
2067
2068 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2069 PyObject *resultobj;
2070 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2071 PyObject * obj0 = 0 ;
2072 char *kwnames[] = {
2073 (char *) "self", NULL
2074 };
2075
2076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2078 {
2079 PyThreadState* __tstate = wxPyBeginAllowThreads();
2080 (arg1)->Restore();
2081
2082 wxPyEndAllowThreads(__tstate);
2083 if (PyErr_Occurred()) SWIG_fail;
2084 }
2085 Py_INCREF(Py_None); resultobj = Py_None;
2086 return resultobj;
2087 fail:
2088 return NULL;
2089 }
2090
2091
2092 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2093 PyObject *resultobj;
2094 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2095 bool arg2 = (bool) True ;
2096 PyObject * obj0 = 0 ;
2097 PyObject * obj1 = 0 ;
2098 char *kwnames[] = {
2099 (char *) "self",(char *) "iconize", NULL
2100 };
2101
2102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2104 if (obj1) {
2105 arg2 = PyInt_AsLong(obj1) ? true : false;
2106 if (PyErr_Occurred()) SWIG_fail;
2107 }
2108 {
2109 PyThreadState* __tstate = wxPyBeginAllowThreads();
2110 (arg1)->Iconize(arg2);
2111
2112 wxPyEndAllowThreads(__tstate);
2113 if (PyErr_Occurred()) SWIG_fail;
2114 }
2115 Py_INCREF(Py_None); resultobj = Py_None;
2116 return resultobj;
2117 fail:
2118 return NULL;
2119 }
2120
2121
2122 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2123 PyObject *resultobj;
2124 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2125 bool result;
2126 PyObject * obj0 = 0 ;
2127 char *kwnames[] = {
2128 (char *) "self", NULL
2129 };
2130
2131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2133 {
2134 PyThreadState* __tstate = wxPyBeginAllowThreads();
2135 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2136
2137 wxPyEndAllowThreads(__tstate);
2138 if (PyErr_Occurred()) SWIG_fail;
2139 }
2140 resultobj = PyInt_FromLong((long)result);
2141 return resultobj;
2142 fail:
2143 return NULL;
2144 }
2145
2146
2147 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2148 PyObject *resultobj;
2149 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2150 bool result;
2151 PyObject * obj0 = 0 ;
2152 char *kwnames[] = {
2153 (char *) "self", NULL
2154 };
2155
2156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2158 {
2159 PyThreadState* __tstate = wxPyBeginAllowThreads();
2160 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2161
2162 wxPyEndAllowThreads(__tstate);
2163 if (PyErr_Occurred()) SWIG_fail;
2164 }
2165 resultobj = PyInt_FromLong((long)result);
2166 return resultobj;
2167 fail:
2168 return NULL;
2169 }
2170
2171
2172 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2173 PyObject *resultobj;
2174 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2175 wxIcon result;
2176 PyObject * obj0 = 0 ;
2177 char *kwnames[] = {
2178 (char *) "self", NULL
2179 };
2180
2181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2183 {
2184 PyThreadState* __tstate = wxPyBeginAllowThreads();
2185 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2186
2187 wxPyEndAllowThreads(__tstate);
2188 if (PyErr_Occurred()) SWIG_fail;
2189 }
2190 {
2191 wxIcon * resultptr;
2192 resultptr = new wxIcon((wxIcon &) result);
2193 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
2194 }
2195 return resultobj;
2196 fail:
2197 return NULL;
2198 }
2199
2200
2201 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2202 PyObject *resultobj;
2203 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2204 wxIcon *arg2 = 0 ;
2205 PyObject * obj0 = 0 ;
2206 PyObject * obj1 = 0 ;
2207 char *kwnames[] = {
2208 (char *) "self",(char *) "icon", NULL
2209 };
2210
2211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2213 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2214 if (arg2 == NULL) {
2215 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2216 }
2217 {
2218 PyThreadState* __tstate = wxPyBeginAllowThreads();
2219 (arg1)->SetIcon((wxIcon const &)*arg2);
2220
2221 wxPyEndAllowThreads(__tstate);
2222 if (PyErr_Occurred()) SWIG_fail;
2223 }
2224 Py_INCREF(Py_None); resultobj = Py_None;
2225 return resultobj;
2226 fail:
2227 return NULL;
2228 }
2229
2230
2231 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2232 PyObject *resultobj;
2233 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2234 wxIconBundle *arg2 = 0 ;
2235 PyObject * obj0 = 0 ;
2236 PyObject * obj1 = 0 ;
2237 char *kwnames[] = {
2238 (char *) "self",(char *) "icons", NULL
2239 };
2240
2241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2243 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIconBundle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2244 if (arg2 == NULL) {
2245 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2246 }
2247 {
2248 PyThreadState* __tstate = wxPyBeginAllowThreads();
2249 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2250
2251 wxPyEndAllowThreads(__tstate);
2252 if (PyErr_Occurred()) SWIG_fail;
2253 }
2254 Py_INCREF(Py_None); resultobj = Py_None;
2255 return resultobj;
2256 fail:
2257 return NULL;
2258 }
2259
2260
2261 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2262 PyObject *resultobj;
2263 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2264 bool arg2 ;
2265 long arg3 = (long) wxFULLSCREEN_ALL ;
2266 bool result;
2267 PyObject * obj0 = 0 ;
2268 PyObject * obj1 = 0 ;
2269 char *kwnames[] = {
2270 (char *) "self",(char *) "show",(char *) "style", NULL
2271 };
2272
2273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&arg3)) goto fail;
2274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2275 arg2 = PyInt_AsLong(obj1) ? true : false;
2276 if (PyErr_Occurred()) SWIG_fail;
2277 {
2278 PyThreadState* __tstate = wxPyBeginAllowThreads();
2279 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2280
2281 wxPyEndAllowThreads(__tstate);
2282 if (PyErr_Occurred()) SWIG_fail;
2283 }
2284 resultobj = PyInt_FromLong((long)result);
2285 return resultobj;
2286 fail:
2287 return NULL;
2288 }
2289
2290
2291 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2292 PyObject *resultobj;
2293 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2294 bool result;
2295 PyObject * obj0 = 0 ;
2296 char *kwnames[] = {
2297 (char *) "self", NULL
2298 };
2299
2300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2302 {
2303 PyThreadState* __tstate = wxPyBeginAllowThreads();
2304 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2305
2306 wxPyEndAllowThreads(__tstate);
2307 if (PyErr_Occurred()) SWIG_fail;
2308 }
2309 resultobj = PyInt_FromLong((long)result);
2310 return resultobj;
2311 fail:
2312 return NULL;
2313 }
2314
2315
2316 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2317 PyObject *resultobj;
2318 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2319 wxString *arg2 = 0 ;
2320 bool temp2 = False ;
2321 PyObject * obj0 = 0 ;
2322 PyObject * obj1 = 0 ;
2323 char *kwnames[] = {
2324 (char *) "self",(char *) "title", NULL
2325 };
2326
2327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2329 {
2330 arg2 = wxString_in_helper(obj1);
2331 if (arg2 == NULL) SWIG_fail;
2332 temp2 = True;
2333 }
2334 {
2335 PyThreadState* __tstate = wxPyBeginAllowThreads();
2336 (arg1)->SetTitle((wxString const &)*arg2);
2337
2338 wxPyEndAllowThreads(__tstate);
2339 if (PyErr_Occurred()) SWIG_fail;
2340 }
2341 Py_INCREF(Py_None); resultobj = Py_None;
2342 {
2343 if (temp2)
2344 delete arg2;
2345 }
2346 return resultobj;
2347 fail:
2348 {
2349 if (temp2)
2350 delete arg2;
2351 }
2352 return NULL;
2353 }
2354
2355
2356 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2357 PyObject *resultobj;
2358 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2359 wxString result;
2360 PyObject * obj0 = 0 ;
2361 char *kwnames[] = {
2362 (char *) "self", NULL
2363 };
2364
2365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2367 {
2368 PyThreadState* __tstate = wxPyBeginAllowThreads();
2369 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2370
2371 wxPyEndAllowThreads(__tstate);
2372 if (PyErr_Occurred()) SWIG_fail;
2373 }
2374 {
2375 #if wxUSE_UNICODE
2376 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2377 #else
2378 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2379 #endif
2380 }
2381 return resultobj;
2382 fail:
2383 return NULL;
2384 }
2385
2386
2387 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2388 PyObject *resultobj;
2389 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2390 wxRegion *arg2 = 0 ;
2391 bool result;
2392 PyObject * obj0 = 0 ;
2393 PyObject * obj1 = 0 ;
2394 char *kwnames[] = {
2395 (char *) "self",(char *) "region", NULL
2396 };
2397
2398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2400 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2401 if (arg2 == NULL) {
2402 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2403 }
2404 {
2405 PyThreadState* __tstate = wxPyBeginAllowThreads();
2406 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2407
2408 wxPyEndAllowThreads(__tstate);
2409 if (PyErr_Occurred()) SWIG_fail;
2410 }
2411 resultobj = PyInt_FromLong((long)result);
2412 return resultobj;
2413 fail:
2414 return NULL;
2415 }
2416
2417
2418 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
2419 PyObject *obj;
2420 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2421 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
2422 Py_INCREF(obj);
2423 return Py_BuildValue((char *)"");
2424 }
2425 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
2426 PyObject *resultobj;
2427 wxWindow *arg1 = (wxWindow *) 0 ;
2428 int arg2 ;
2429 wxString *arg3 = 0 ;
2430 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2431 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2432 wxSize const &arg5_defvalue = wxDefaultSize ;
2433 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2434 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
2435 wxString const &arg7_defvalue = wxPyFrameNameStr ;
2436 wxString *arg7 = (wxString *) &arg7_defvalue ;
2437 wxFrame *result;
2438 bool temp3 = False ;
2439 wxPoint temp4 ;
2440 wxSize temp5 ;
2441 bool temp7 = False ;
2442 PyObject * obj0 = 0 ;
2443 PyObject * obj2 = 0 ;
2444 PyObject * obj3 = 0 ;
2445 PyObject * obj4 = 0 ;
2446 PyObject * obj6 = 0 ;
2447 char *kwnames[] = {
2448 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2449 };
2450
2451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Frame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
2452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2453 {
2454 arg3 = wxString_in_helper(obj2);
2455 if (arg3 == NULL) SWIG_fail;
2456 temp3 = True;
2457 }
2458 if (obj3) {
2459 {
2460 arg4 = &temp4;
2461 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2462 }
2463 }
2464 if (obj4) {
2465 {
2466 arg5 = &temp5;
2467 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2468 }
2469 }
2470 if (obj6) {
2471 {
2472 arg7 = wxString_in_helper(obj6);
2473 if (arg7 == NULL) SWIG_fail;
2474 temp7 = True;
2475 }
2476 }
2477 {
2478 PyThreadState* __tstate = wxPyBeginAllowThreads();
2479 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2480
2481 wxPyEndAllowThreads(__tstate);
2482 if (PyErr_Occurred()) SWIG_fail;
2483 }
2484 {
2485 resultobj = wxPyMake_wxObject(result);
2486 }
2487 {
2488 if (temp3)
2489 delete arg3;
2490 }
2491 {
2492 if (temp7)
2493 delete arg7;
2494 }
2495 return resultobj;
2496 fail:
2497 {
2498 if (temp3)
2499 delete arg3;
2500 }
2501 {
2502 if (temp7)
2503 delete arg7;
2504 }
2505 return NULL;
2506 }
2507
2508
2509 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
2510 PyObject *resultobj;
2511 wxFrame *result;
2512 char *kwnames[] = {
2513 NULL
2514 };
2515
2516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
2517 {
2518 PyThreadState* __tstate = wxPyBeginAllowThreads();
2519 result = (wxFrame *)new wxFrame();
2520
2521 wxPyEndAllowThreads(__tstate);
2522 if (PyErr_Occurred()) SWIG_fail;
2523 }
2524 {
2525 resultobj = wxPyMake_wxObject(result);
2526 }
2527 return resultobj;
2528 fail:
2529 return NULL;
2530 }
2531
2532
2533 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2534 PyObject *resultobj;
2535 wxFrame *arg1 = (wxFrame *) 0 ;
2536 wxWindow *arg2 = (wxWindow *) 0 ;
2537 int arg3 ;
2538 wxString *arg4 = 0 ;
2539 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2540 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2541 wxSize const &arg6_defvalue = wxDefaultSize ;
2542 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2543 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
2544 wxString const &arg8_defvalue = wxPyFrameNameStr ;
2545 wxString *arg8 = (wxString *) &arg8_defvalue ;
2546 bool result;
2547 bool temp4 = False ;
2548 wxPoint temp5 ;
2549 wxSize temp6 ;
2550 bool temp8 = False ;
2551 PyObject * obj0 = 0 ;
2552 PyObject * obj1 = 0 ;
2553 PyObject * obj3 = 0 ;
2554 PyObject * obj4 = 0 ;
2555 PyObject * obj5 = 0 ;
2556 PyObject * obj7 = 0 ;
2557 char *kwnames[] = {
2558 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2559 };
2560
2561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Frame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
2562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2563 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2564 {
2565 arg4 = wxString_in_helper(obj3);
2566 if (arg4 == NULL) SWIG_fail;
2567 temp4 = True;
2568 }
2569 if (obj4) {
2570 {
2571 arg5 = &temp5;
2572 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2573 }
2574 }
2575 if (obj5) {
2576 {
2577 arg6 = &temp6;
2578 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2579 }
2580 }
2581 if (obj7) {
2582 {
2583 arg8 = wxString_in_helper(obj7);
2584 if (arg8 == NULL) SWIG_fail;
2585 temp8 = True;
2586 }
2587 }
2588 {
2589 PyThreadState* __tstate = wxPyBeginAllowThreads();
2590 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
2591
2592 wxPyEndAllowThreads(__tstate);
2593 if (PyErr_Occurred()) SWIG_fail;
2594 }
2595 resultobj = PyInt_FromLong((long)result);
2596 {
2597 if (temp4)
2598 delete arg4;
2599 }
2600 {
2601 if (temp8)
2602 delete arg8;
2603 }
2604 return resultobj;
2605 fail:
2606 {
2607 if (temp4)
2608 delete arg4;
2609 }
2610 {
2611 if (temp8)
2612 delete arg8;
2613 }
2614 return NULL;
2615 }
2616
2617
2618 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
2619 PyObject *resultobj;
2620 wxFrame *arg1 = (wxFrame *) 0 ;
2621 wxPoint result;
2622 PyObject * obj0 = 0 ;
2623 char *kwnames[] = {
2624 (char *) "self", NULL
2625 };
2626
2627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
2628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2629 {
2630 PyThreadState* __tstate = wxPyBeginAllowThreads();
2631 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
2632
2633 wxPyEndAllowThreads(__tstate);
2634 if (PyErr_Occurred()) SWIG_fail;
2635 }
2636 {
2637 wxPoint * resultptr;
2638 resultptr = new wxPoint((wxPoint &) result);
2639 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2640 }
2641 return resultobj;
2642 fail:
2643 return NULL;
2644 }
2645
2646
2647 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
2648 PyObject *resultobj;
2649 wxFrame *arg1 = (wxFrame *) 0 ;
2650 PyObject * obj0 = 0 ;
2651 char *kwnames[] = {
2652 (char *) "self", NULL
2653 };
2654
2655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
2656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2657 {
2658 PyThreadState* __tstate = wxPyBeginAllowThreads();
2659 (arg1)->SendSizeEvent();
2660
2661 wxPyEndAllowThreads(__tstate);
2662 if (PyErr_Occurred()) SWIG_fail;
2663 }
2664 Py_INCREF(Py_None); resultobj = Py_None;
2665 return resultobj;
2666 fail:
2667 return NULL;
2668 }
2669
2670
2671 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2672 PyObject *resultobj;
2673 wxFrame *arg1 = (wxFrame *) 0 ;
2674 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
2675 PyObject * obj0 = 0 ;
2676 PyObject * obj1 = 0 ;
2677 char *kwnames[] = {
2678 (char *) "self",(char *) "menubar", NULL
2679 };
2680
2681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
2682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2683 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2684 {
2685 PyThreadState* __tstate = wxPyBeginAllowThreads();
2686 (arg1)->SetMenuBar(arg2);
2687
2688 wxPyEndAllowThreads(__tstate);
2689 if (PyErr_Occurred()) SWIG_fail;
2690 }
2691 Py_INCREF(Py_None); resultobj = Py_None;
2692 return resultobj;
2693 fail:
2694 return NULL;
2695 }
2696
2697
2698 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2699 PyObject *resultobj;
2700 wxFrame *arg1 = (wxFrame *) 0 ;
2701 wxMenuBar *result;
2702 PyObject * obj0 = 0 ;
2703 char *kwnames[] = {
2704 (char *) "self", NULL
2705 };
2706
2707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
2708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2709 {
2710 PyThreadState* __tstate = wxPyBeginAllowThreads();
2711 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
2712
2713 wxPyEndAllowThreads(__tstate);
2714 if (PyErr_Occurred()) SWIG_fail;
2715 }
2716 {
2717 resultobj = wxPyMake_wxObject(result);
2718 }
2719 return resultobj;
2720 fail:
2721 return NULL;
2722 }
2723
2724
2725 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
2726 PyObject *resultobj;
2727 wxFrame *arg1 = (wxFrame *) 0 ;
2728 int arg2 ;
2729 bool result;
2730 PyObject * obj0 = 0 ;
2731 char *kwnames[] = {
2732 (char *) "self",(char *) "winid", NULL
2733 };
2734
2735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_ProcessCommand",kwnames,&obj0,&arg2)) goto fail;
2736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2737 {
2738 PyThreadState* __tstate = wxPyBeginAllowThreads();
2739 result = (bool)(arg1)->ProcessCommand(arg2);
2740
2741 wxPyEndAllowThreads(__tstate);
2742 if (PyErr_Occurred()) SWIG_fail;
2743 }
2744 resultobj = PyInt_FromLong((long)result);
2745 return resultobj;
2746 fail:
2747 return NULL;
2748 }
2749
2750
2751 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2752 PyObject *resultobj;
2753 wxFrame *arg1 = (wxFrame *) 0 ;
2754 int arg2 = (int) 1 ;
2755 long arg3 = (long) wxST_SIZEGRIP ;
2756 int arg4 = (int) 0 ;
2757 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
2758 wxString *arg5 = (wxString *) &arg5_defvalue ;
2759 wxStatusBar *result;
2760 bool temp5 = False ;
2761 PyObject * obj0 = 0 ;
2762 PyObject * obj4 = 0 ;
2763 char *kwnames[] = {
2764 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
2765 };
2766
2767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iliO:Frame_CreateStatusBar",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
2768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2769 if (obj4) {
2770 {
2771 arg5 = wxString_in_helper(obj4);
2772 if (arg5 == NULL) SWIG_fail;
2773 temp5 = True;
2774 }
2775 }
2776 {
2777 PyThreadState* __tstate = wxPyBeginAllowThreads();
2778 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
2779
2780 wxPyEndAllowThreads(__tstate);
2781 if (PyErr_Occurred()) SWIG_fail;
2782 }
2783 {
2784 resultobj = wxPyMake_wxObject(result);
2785 }
2786 {
2787 if (temp5)
2788 delete arg5;
2789 }
2790 return resultobj;
2791 fail:
2792 {
2793 if (temp5)
2794 delete arg5;
2795 }
2796 return NULL;
2797 }
2798
2799
2800 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2801 PyObject *resultobj;
2802 wxFrame *arg1 = (wxFrame *) 0 ;
2803 wxStatusBar *result;
2804 PyObject * obj0 = 0 ;
2805 char *kwnames[] = {
2806 (char *) "self", NULL
2807 };
2808
2809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
2810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2811 {
2812 PyThreadState* __tstate = wxPyBeginAllowThreads();
2813 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
2814
2815 wxPyEndAllowThreads(__tstate);
2816 if (PyErr_Occurred()) SWIG_fail;
2817 }
2818 {
2819 resultobj = wxPyMake_wxObject(result);
2820 }
2821 return resultobj;
2822 fail:
2823 return NULL;
2824 }
2825
2826
2827 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2828 PyObject *resultobj;
2829 wxFrame *arg1 = (wxFrame *) 0 ;
2830 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
2831 PyObject * obj0 = 0 ;
2832 PyObject * obj1 = 0 ;
2833 char *kwnames[] = {
2834 (char *) "self",(char *) "statBar", NULL
2835 };
2836
2837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
2838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2839 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2840 {
2841 PyThreadState* __tstate = wxPyBeginAllowThreads();
2842 (arg1)->SetStatusBar(arg2);
2843
2844 wxPyEndAllowThreads(__tstate);
2845 if (PyErr_Occurred()) SWIG_fail;
2846 }
2847 Py_INCREF(Py_None); resultobj = Py_None;
2848 return resultobj;
2849 fail:
2850 return NULL;
2851 }
2852
2853
2854 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
2855 PyObject *resultobj;
2856 wxFrame *arg1 = (wxFrame *) 0 ;
2857 wxString *arg2 = 0 ;
2858 int arg3 = (int) 0 ;
2859 bool temp2 = False ;
2860 PyObject * obj0 = 0 ;
2861 PyObject * obj1 = 0 ;
2862 char *kwnames[] = {
2863 (char *) "self",(char *) "text",(char *) "number", NULL
2864 };
2865
2866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
2867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2868 {
2869 arg2 = wxString_in_helper(obj1);
2870 if (arg2 == NULL) SWIG_fail;
2871 temp2 = True;
2872 }
2873 {
2874 PyThreadState* __tstate = wxPyBeginAllowThreads();
2875 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
2876
2877 wxPyEndAllowThreads(__tstate);
2878 if (PyErr_Occurred()) SWIG_fail;
2879 }
2880 Py_INCREF(Py_None); resultobj = Py_None;
2881 {
2882 if (temp2)
2883 delete arg2;
2884 }
2885 return resultobj;
2886 fail:
2887 {
2888 if (temp2)
2889 delete arg2;
2890 }
2891 return NULL;
2892 }
2893
2894
2895 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
2896 PyObject *resultobj;
2897 wxFrame *arg1 = (wxFrame *) 0 ;
2898 int arg2 ;
2899 int *arg3 = (int *) 0 ;
2900 PyObject * obj0 = 0 ;
2901 PyObject * obj1 = 0 ;
2902 char *kwnames[] = {
2903 (char *) "self",(char *) "widths", NULL
2904 };
2905
2906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
2907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2908 {
2909 arg2 = PyList_Size(obj1);
2910 arg3 = int_LIST_helper(obj1);
2911 if (arg3 == NULL) SWIG_fail;
2912 }
2913 {
2914 PyThreadState* __tstate = wxPyBeginAllowThreads();
2915 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
2916
2917 wxPyEndAllowThreads(__tstate);
2918 if (PyErr_Occurred()) SWIG_fail;
2919 }
2920 Py_INCREF(Py_None); resultobj = Py_None;
2921 {
2922 if (arg3) delete [] arg3;
2923 }
2924 return resultobj;
2925 fail:
2926 {
2927 if (arg3) delete [] arg3;
2928 }
2929 return NULL;
2930 }
2931
2932
2933 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
2934 PyObject *resultobj;
2935 wxFrame *arg1 = (wxFrame *) 0 ;
2936 wxString *arg2 = 0 ;
2937 int arg3 = (int) 0 ;
2938 bool temp2 = False ;
2939 PyObject * obj0 = 0 ;
2940 PyObject * obj1 = 0 ;
2941 char *kwnames[] = {
2942 (char *) "self",(char *) "text",(char *) "number", NULL
2943 };
2944
2945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
2946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2947 {
2948 arg2 = wxString_in_helper(obj1);
2949 if (arg2 == NULL) SWIG_fail;
2950 temp2 = True;
2951 }
2952 {
2953 PyThreadState* __tstate = wxPyBeginAllowThreads();
2954 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
2955
2956 wxPyEndAllowThreads(__tstate);
2957 if (PyErr_Occurred()) SWIG_fail;
2958 }
2959 Py_INCREF(Py_None); resultobj = Py_None;
2960 {
2961 if (temp2)
2962 delete arg2;
2963 }
2964 return resultobj;
2965 fail:
2966 {
2967 if (temp2)
2968 delete arg2;
2969 }
2970 return NULL;
2971 }
2972
2973
2974 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
2975 PyObject *resultobj;
2976 wxFrame *arg1 = (wxFrame *) 0 ;
2977 int arg2 = (int) 0 ;
2978 PyObject * obj0 = 0 ;
2979 char *kwnames[] = {
2980 (char *) "self",(char *) "number", NULL
2981 };
2982
2983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Frame_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
2984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2985 {
2986 PyThreadState* __tstate = wxPyBeginAllowThreads();
2987 (arg1)->PopStatusText(arg2);
2988
2989 wxPyEndAllowThreads(__tstate);
2990 if (PyErr_Occurred()) SWIG_fail;
2991 }
2992 Py_INCREF(Py_None); resultobj = Py_None;
2993 return resultobj;
2994 fail:
2995 return NULL;
2996 }
2997
2998
2999 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3000 PyObject *resultobj;
3001 wxFrame *arg1 = (wxFrame *) 0 ;
3002 int arg2 ;
3003 PyObject * obj0 = 0 ;
3004 char *kwnames[] = {
3005 (char *) "self",(char *) "n", NULL
3006 };
3007
3008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_SetStatusBarPane",kwnames,&obj0,&arg2)) goto fail;
3009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3010 {
3011 PyThreadState* __tstate = wxPyBeginAllowThreads();
3012 (arg1)->SetStatusBarPane(arg2);
3013
3014 wxPyEndAllowThreads(__tstate);
3015 if (PyErr_Occurred()) SWIG_fail;
3016 }
3017 Py_INCREF(Py_None); resultobj = Py_None;
3018 return resultobj;
3019 fail:
3020 return NULL;
3021 }
3022
3023
3024 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3025 PyObject *resultobj;
3026 wxFrame *arg1 = (wxFrame *) 0 ;
3027 int result;
3028 PyObject * obj0 = 0 ;
3029 char *kwnames[] = {
3030 (char *) "self", NULL
3031 };
3032
3033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3035 {
3036 PyThreadState* __tstate = wxPyBeginAllowThreads();
3037 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3038
3039 wxPyEndAllowThreads(__tstate);
3040 if (PyErr_Occurred()) SWIG_fail;
3041 }
3042 resultobj = PyInt_FromLong((long)result);
3043 return resultobj;
3044 fail:
3045 return NULL;
3046 }
3047
3048
3049 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3050 PyObject *resultobj;
3051 wxFrame *arg1 = (wxFrame *) 0 ;
3052 long arg2 = (long) -1 ;
3053 int arg3 = (int) -1 ;
3054 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3055 wxString *arg4 = (wxString *) &arg4_defvalue ;
3056 wxToolBar *result;
3057 bool temp4 = False ;
3058 PyObject * obj0 = 0 ;
3059 PyObject * obj3 = 0 ;
3060 char *kwnames[] = {
3061 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3062 };
3063
3064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|liO:Frame_CreateToolBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
3065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3066 if (obj3) {
3067 {
3068 arg4 = wxString_in_helper(obj3);
3069 if (arg4 == NULL) SWIG_fail;
3070 temp4 = True;
3071 }
3072 }
3073 {
3074 PyThreadState* __tstate = wxPyBeginAllowThreads();
3075 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3076
3077 wxPyEndAllowThreads(__tstate);
3078 if (PyErr_Occurred()) SWIG_fail;
3079 }
3080 {
3081 resultobj = wxPyMake_wxObject(result);
3082 }
3083 {
3084 if (temp4)
3085 delete arg4;
3086 }
3087 return resultobj;
3088 fail:
3089 {
3090 if (temp4)
3091 delete arg4;
3092 }
3093 return NULL;
3094 }
3095
3096
3097 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3098 PyObject *resultobj;
3099 wxFrame *arg1 = (wxFrame *) 0 ;
3100 wxToolBar *result;
3101 PyObject * obj0 = 0 ;
3102 char *kwnames[] = {
3103 (char *) "self", NULL
3104 };
3105
3106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3108 {
3109 PyThreadState* __tstate = wxPyBeginAllowThreads();
3110 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3111
3112 wxPyEndAllowThreads(__tstate);
3113 if (PyErr_Occurred()) SWIG_fail;
3114 }
3115 {
3116 resultobj = wxPyMake_wxObject(result);
3117 }
3118 return resultobj;
3119 fail:
3120 return NULL;
3121 }
3122
3123
3124 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3125 PyObject *resultobj;
3126 wxFrame *arg1 = (wxFrame *) 0 ;
3127 wxToolBar *arg2 = (wxToolBar *) 0 ;
3128 PyObject * obj0 = 0 ;
3129 PyObject * obj1 = 0 ;
3130 char *kwnames[] = {
3131 (char *) "self",(char *) "toolbar", NULL
3132 };
3133
3134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3136 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3137 {
3138 PyThreadState* __tstate = wxPyBeginAllowThreads();
3139 (arg1)->SetToolBar(arg2);
3140
3141 wxPyEndAllowThreads(__tstate);
3142 if (PyErr_Occurred()) SWIG_fail;
3143 }
3144 Py_INCREF(Py_None); resultobj = Py_None;
3145 return resultobj;
3146 fail:
3147 return NULL;
3148 }
3149
3150
3151 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3152 PyObject *resultobj;
3153 wxFrame *arg1 = (wxFrame *) 0 ;
3154 wxString *arg2 = 0 ;
3155 bool arg3 ;
3156 bool temp2 = False ;
3157 PyObject * obj0 = 0 ;
3158 PyObject * obj1 = 0 ;
3159 PyObject * obj2 = 0 ;
3160 char *kwnames[] = {
3161 (char *) "self",(char *) "text",(char *) "show", NULL
3162 };
3163
3164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3166 {
3167 arg2 = wxString_in_helper(obj1);
3168 if (arg2 == NULL) SWIG_fail;
3169 temp2 = True;
3170 }
3171 arg3 = PyInt_AsLong(obj2) ? true : false;
3172 if (PyErr_Occurred()) SWIG_fail;
3173 {
3174 PyThreadState* __tstate = wxPyBeginAllowThreads();
3175 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3176
3177 wxPyEndAllowThreads(__tstate);
3178 if (PyErr_Occurred()) SWIG_fail;
3179 }
3180 Py_INCREF(Py_None); resultobj = Py_None;
3181 {
3182 if (temp2)
3183 delete arg2;
3184 }
3185 return resultobj;
3186 fail:
3187 {
3188 if (temp2)
3189 delete arg2;
3190 }
3191 return NULL;
3192 }
3193
3194
3195 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3196 PyObject *resultobj;
3197 wxFrame *arg1 = (wxFrame *) 0 ;
3198 wxMenu *arg2 = (wxMenu *) NULL ;
3199 PyObject * obj0 = 0 ;
3200 PyObject * obj1 = 0 ;
3201 char *kwnames[] = {
3202 (char *) "self",(char *) "menu", NULL
3203 };
3204
3205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3207 if (obj1) {
3208 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3209 }
3210 {
3211 PyThreadState* __tstate = wxPyBeginAllowThreads();
3212 (arg1)->DoMenuUpdates(arg2);
3213
3214 wxPyEndAllowThreads(__tstate);
3215 if (PyErr_Occurred()) SWIG_fail;
3216 }
3217 Py_INCREF(Py_None); resultobj = Py_None;
3218 return resultobj;
3219 fail:
3220 return NULL;
3221 }
3222
3223
3224 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3225 PyObject *obj;
3226 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3227 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3228 Py_INCREF(obj);
3229 return Py_BuildValue((char *)"");
3230 }
3231 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3232 PyObject *resultobj;
3233 wxWindow *arg1 = (wxWindow *) 0 ;
3234 int arg2 ;
3235 wxString *arg3 = 0 ;
3236 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3237 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3238 wxSize const &arg5_defvalue = wxDefaultSize ;
3239 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3240 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3241 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3242 wxString *arg7 = (wxString *) &arg7_defvalue ;
3243 wxDialog *result;
3244 bool temp3 = False ;
3245 wxPoint temp4 ;
3246 wxSize temp5 ;
3247 bool temp7 = False ;
3248 PyObject * obj0 = 0 ;
3249 PyObject * obj2 = 0 ;
3250 PyObject * obj3 = 0 ;
3251 PyObject * obj4 = 0 ;
3252 PyObject * obj6 = 0 ;
3253 char *kwnames[] = {
3254 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3255 };
3256
3257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Dialog",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3259 {
3260 arg3 = wxString_in_helper(obj2);
3261 if (arg3 == NULL) SWIG_fail;
3262 temp3 = True;
3263 }
3264 if (obj3) {
3265 {
3266 arg4 = &temp4;
3267 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3268 }
3269 }
3270 if (obj4) {
3271 {
3272 arg5 = &temp5;
3273 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3274 }
3275 }
3276 if (obj6) {
3277 {
3278 arg7 = wxString_in_helper(obj6);
3279 if (arg7 == NULL) SWIG_fail;
3280 temp7 = True;
3281 }
3282 }
3283 {
3284 PyThreadState* __tstate = wxPyBeginAllowThreads();
3285 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3286
3287 wxPyEndAllowThreads(__tstate);
3288 if (PyErr_Occurred()) SWIG_fail;
3289 }
3290 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3291 {
3292 if (temp3)
3293 delete arg3;
3294 }
3295 {
3296 if (temp7)
3297 delete arg7;
3298 }
3299 return resultobj;
3300 fail:
3301 {
3302 if (temp3)
3303 delete arg3;
3304 }
3305 {
3306 if (temp7)
3307 delete arg7;
3308 }
3309 return NULL;
3310 }
3311
3312
3313 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3314 PyObject *resultobj;
3315 wxDialog *result;
3316 char *kwnames[] = {
3317 NULL
3318 };
3319
3320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
3321 {
3322 PyThreadState* __tstate = wxPyBeginAllowThreads();
3323 result = (wxDialog *)new wxDialog();
3324
3325 wxPyEndAllowThreads(__tstate);
3326 if (PyErr_Occurred()) SWIG_fail;
3327 }
3328 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3329 return resultobj;
3330 fail:
3331 return NULL;
3332 }
3333
3334
3335 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3336 PyObject *resultobj;
3337 wxDialog *arg1 = (wxDialog *) 0 ;
3338 wxWindow *arg2 = (wxWindow *) 0 ;
3339 int arg3 ;
3340 wxString *arg4 = 0 ;
3341 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3342 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3343 wxSize const &arg6_defvalue = wxDefaultSize ;
3344 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3345 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
3346 wxString const &arg8_defvalue = wxPyDialogNameStr ;
3347 wxString *arg8 = (wxString *) &arg8_defvalue ;
3348 bool result;
3349 bool temp4 = False ;
3350 wxPoint temp5 ;
3351 wxSize temp6 ;
3352 bool temp8 = False ;
3353 PyObject * obj0 = 0 ;
3354 PyObject * obj1 = 0 ;
3355 PyObject * obj3 = 0 ;
3356 PyObject * obj4 = 0 ;
3357 PyObject * obj5 = 0 ;
3358 PyObject * obj7 = 0 ;
3359 char *kwnames[] = {
3360 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3361 };
3362
3363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Dialog_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3365 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3366 {
3367 arg4 = wxString_in_helper(obj3);
3368 if (arg4 == NULL) SWIG_fail;
3369 temp4 = True;
3370 }
3371 if (obj4) {
3372 {
3373 arg5 = &temp5;
3374 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3375 }
3376 }
3377 if (obj5) {
3378 {
3379 arg6 = &temp6;
3380 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3381 }
3382 }
3383 if (obj7) {
3384 {
3385 arg8 = wxString_in_helper(obj7);
3386 if (arg8 == NULL) SWIG_fail;
3387 temp8 = True;
3388 }
3389 }
3390 {
3391 PyThreadState* __tstate = wxPyBeginAllowThreads();
3392 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3393
3394 wxPyEndAllowThreads(__tstate);
3395 if (PyErr_Occurred()) SWIG_fail;
3396 }
3397 resultobj = PyInt_FromLong((long)result);
3398 {
3399 if (temp4)
3400 delete arg4;
3401 }
3402 {
3403 if (temp8)
3404 delete arg8;
3405 }
3406 return resultobj;
3407 fail:
3408 {
3409 if (temp4)
3410 delete arg4;
3411 }
3412 {
3413 if (temp8)
3414 delete arg8;
3415 }
3416 return NULL;
3417 }
3418
3419
3420 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3421 PyObject *resultobj;
3422 wxDialog *arg1 = (wxDialog *) 0 ;
3423 int arg2 ;
3424 PyObject * obj0 = 0 ;
3425 char *kwnames[] = {
3426 (char *) "self",(char *) "returnCode", NULL
3427 };
3428
3429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_SetReturnCode",kwnames,&obj0,&arg2)) goto fail;
3430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3431 {
3432 PyThreadState* __tstate = wxPyBeginAllowThreads();
3433 (arg1)->SetReturnCode(arg2);
3434
3435 wxPyEndAllowThreads(__tstate);
3436 if (PyErr_Occurred()) SWIG_fail;
3437 }
3438 Py_INCREF(Py_None); resultobj = Py_None;
3439 return resultobj;
3440 fail:
3441 return NULL;
3442 }
3443
3444
3445 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3446 PyObject *resultobj;
3447 wxDialog *arg1 = (wxDialog *) 0 ;
3448 int result;
3449 PyObject * obj0 = 0 ;
3450 char *kwnames[] = {
3451 (char *) "self", NULL
3452 };
3453
3454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
3455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3456 {
3457 PyThreadState* __tstate = wxPyBeginAllowThreads();
3458 result = (int)((wxDialog const *)arg1)->GetReturnCode();
3459
3460 wxPyEndAllowThreads(__tstate);
3461 if (PyErr_Occurred()) SWIG_fail;
3462 }
3463 resultobj = PyInt_FromLong((long)result);
3464 return resultobj;
3465 fail:
3466 return NULL;
3467 }
3468
3469
3470 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3471 PyObject *resultobj;
3472 wxDialog *arg1 = (wxDialog *) 0 ;
3473 wxString *arg2 = 0 ;
3474 wxSizer *result;
3475 bool temp2 = False ;
3476 PyObject * obj0 = 0 ;
3477 PyObject * obj1 = 0 ;
3478 char *kwnames[] = {
3479 (char *) "self",(char *) "message", NULL
3480 };
3481
3482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
3483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3484 {
3485 arg2 = wxString_in_helper(obj1);
3486 if (arg2 == NULL) SWIG_fail;
3487 temp2 = True;
3488 }
3489 {
3490 PyThreadState* __tstate = wxPyBeginAllowThreads();
3491 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
3492
3493 wxPyEndAllowThreads(__tstate);
3494 if (PyErr_Occurred()) SWIG_fail;
3495 }
3496 {
3497 resultobj = wxPyMake_wxSizer(result);
3498 }
3499 {
3500 if (temp2)
3501 delete arg2;
3502 }
3503 return resultobj;
3504 fail:
3505 {
3506 if (temp2)
3507 delete arg2;
3508 }
3509 return NULL;
3510 }
3511
3512
3513 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3514 PyObject *resultobj;
3515 wxDialog *arg1 = (wxDialog *) 0 ;
3516 long arg2 ;
3517 wxSizer *result;
3518 PyObject * obj0 = 0 ;
3519 char *kwnames[] = {
3520 (char *) "self",(char *) "flags", NULL
3521 };
3522
3523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Dialog_CreateButtonSizer",kwnames,&obj0,&arg2)) goto fail;
3524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3525 {
3526 PyThreadState* __tstate = wxPyBeginAllowThreads();
3527 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
3528
3529 wxPyEndAllowThreads(__tstate);
3530 if (PyErr_Occurred()) SWIG_fail;
3531 }
3532 {
3533 resultobj = wxPyMake_wxSizer(result);
3534 }
3535 return resultobj;
3536 fail:
3537 return NULL;
3538 }
3539
3540
3541 static PyObject *_wrap_Dialog_SetModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3542 PyObject *resultobj;
3543 wxDialog *arg1 = (wxDialog *) 0 ;
3544 bool arg2 ;
3545 PyObject * obj0 = 0 ;
3546 PyObject * obj1 = 0 ;
3547 char *kwnames[] = {
3548 (char *) "self",(char *) "flag", NULL
3549 };
3550
3551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetModal",kwnames,&obj0,&obj1)) goto fail;
3552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3553 arg2 = PyInt_AsLong(obj1) ? true : false;
3554 if (PyErr_Occurred()) SWIG_fail;
3555 {
3556 PyThreadState* __tstate = wxPyBeginAllowThreads();
3557 (arg1)->SetModal(arg2);
3558
3559 wxPyEndAllowThreads(__tstate);
3560 if (PyErr_Occurred()) SWIG_fail;
3561 }
3562 Py_INCREF(Py_None); resultobj = Py_None;
3563 return resultobj;
3564 fail:
3565 return NULL;
3566 }
3567
3568
3569 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3570 PyObject *resultobj;
3571 wxDialog *arg1 = (wxDialog *) 0 ;
3572 bool result;
3573 PyObject * obj0 = 0 ;
3574 char *kwnames[] = {
3575 (char *) "self", NULL
3576 };
3577
3578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
3579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3580 {
3581 PyThreadState* __tstate = wxPyBeginAllowThreads();
3582 result = (bool)((wxDialog const *)arg1)->IsModal();
3583
3584 wxPyEndAllowThreads(__tstate);
3585 if (PyErr_Occurred()) SWIG_fail;
3586 }
3587 resultobj = PyInt_FromLong((long)result);
3588 return resultobj;
3589 fail:
3590 return NULL;
3591 }
3592
3593
3594 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3595 PyObject *resultobj;
3596 wxDialog *arg1 = (wxDialog *) 0 ;
3597 int result;
3598 PyObject * obj0 = 0 ;
3599 char *kwnames[] = {
3600 (char *) "self", NULL
3601 };
3602
3603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
3604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3605 {
3606 PyThreadState* __tstate = wxPyBeginAllowThreads();
3607 result = (int)(arg1)->ShowModal();
3608
3609 wxPyEndAllowThreads(__tstate);
3610 if (PyErr_Occurred()) SWIG_fail;
3611 }
3612 resultobj = PyInt_FromLong((long)result);
3613 return resultobj;
3614 fail:
3615 return NULL;
3616 }
3617
3618
3619 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3620 PyObject *resultobj;
3621 wxDialog *arg1 = (wxDialog *) 0 ;
3622 int arg2 ;
3623 PyObject * obj0 = 0 ;
3624 char *kwnames[] = {
3625 (char *) "self",(char *) "retCode", NULL
3626 };
3627
3628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_EndModal",kwnames,&obj0,&arg2)) goto fail;
3629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3630 {
3631 PyThreadState* __tstate = wxPyBeginAllowThreads();
3632 (arg1)->EndModal(arg2);
3633
3634 wxPyEndAllowThreads(__tstate);
3635 if (PyErr_Occurred()) SWIG_fail;
3636 }
3637 Py_INCREF(Py_None); resultobj = Py_None;
3638 return resultobj;
3639 fail:
3640 return NULL;
3641 }
3642
3643
3644 static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) {
3645 PyObject *resultobj;
3646 wxDialog *arg1 = (wxDialog *) 0 ;
3647 bool result;
3648 PyObject * obj0 = 0 ;
3649 char *kwnames[] = {
3650 (char *) "self", NULL
3651 };
3652
3653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
3654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3655 {
3656 PyThreadState* __tstate = wxPyBeginAllowThreads();
3657 result = (bool)wxDialog_IsModalShowing(arg1);
3658
3659 wxPyEndAllowThreads(__tstate);
3660 if (PyErr_Occurred()) SWIG_fail;
3661 }
3662 resultobj = PyInt_FromLong((long)result);
3663 return resultobj;
3664 fail:
3665 return NULL;
3666 }
3667
3668
3669 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
3670 PyObject *obj;
3671 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3672 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
3673 Py_INCREF(obj);
3674 return Py_BuildValue((char *)"");
3675 }
3676 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3677 PyObject *resultobj;
3678 wxWindow *arg1 = (wxWindow *) 0 ;
3679 int arg2 ;
3680 wxString *arg3 = 0 ;
3681 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3682 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3683 wxSize const &arg5_defvalue = wxDefaultSize ;
3684 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3685 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3686 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3687 wxString *arg7 = (wxString *) &arg7_defvalue ;
3688 wxMiniFrame *result;
3689 bool temp3 = False ;
3690 wxPoint temp4 ;
3691 wxSize temp5 ;
3692 bool temp7 = False ;
3693 PyObject * obj0 = 0 ;
3694 PyObject * obj2 = 0 ;
3695 PyObject * obj3 = 0 ;
3696 PyObject * obj4 = 0 ;
3697 PyObject * obj6 = 0 ;
3698 char *kwnames[] = {
3699 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3700 };
3701
3702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MiniFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3704 {
3705 arg3 = wxString_in_helper(obj2);
3706 if (arg3 == NULL) SWIG_fail;
3707 temp3 = True;
3708 }
3709 if (obj3) {
3710 {
3711 arg4 = &temp4;
3712 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3713 }
3714 }
3715 if (obj4) {
3716 {
3717 arg5 = &temp5;
3718 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3719 }
3720 }
3721 if (obj6) {
3722 {
3723 arg7 = wxString_in_helper(obj6);
3724 if (arg7 == NULL) SWIG_fail;
3725 temp7 = True;
3726 }
3727 }
3728 {
3729 PyThreadState* __tstate = wxPyBeginAllowThreads();
3730 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3731
3732 wxPyEndAllowThreads(__tstate);
3733 if (PyErr_Occurred()) SWIG_fail;
3734 }
3735 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
3736 {
3737 if (temp3)
3738 delete arg3;
3739 }
3740 {
3741 if (temp7)
3742 delete arg7;
3743 }
3744 return resultobj;
3745 fail:
3746 {
3747 if (temp3)
3748 delete arg3;
3749 }
3750 {
3751 if (temp7)
3752 delete arg7;
3753 }
3754 return NULL;
3755 }
3756
3757
3758 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3759 PyObject *resultobj;
3760 wxMiniFrame *result;
3761 char *kwnames[] = {
3762 NULL
3763 };
3764
3765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
3766 {
3767 PyThreadState* __tstate = wxPyBeginAllowThreads();
3768 result = (wxMiniFrame *)new wxMiniFrame();
3769
3770 wxPyEndAllowThreads(__tstate);
3771 if (PyErr_Occurred()) SWIG_fail;
3772 }
3773 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
3774 return resultobj;
3775 fail:
3776 return NULL;
3777 }
3778
3779
3780 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3781 PyObject *resultobj;
3782 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
3783 wxWindow *arg2 = (wxWindow *) 0 ;
3784 int arg3 ;
3785 wxString *arg4 = 0 ;
3786 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3787 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3788 wxSize const &arg6_defvalue = wxDefaultSize ;
3789 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3790 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3791 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3792 wxString *arg8 = (wxString *) &arg8_defvalue ;
3793 bool result;
3794 bool temp4 = False ;
3795 wxPoint temp5 ;
3796 wxSize temp6 ;
3797 bool temp8 = False ;
3798 PyObject * obj0 = 0 ;
3799 PyObject * obj1 = 0 ;
3800 PyObject * obj3 = 0 ;
3801 PyObject * obj4 = 0 ;
3802 PyObject * obj5 = 0 ;
3803 PyObject * obj7 = 0 ;
3804 char *kwnames[] = {
3805 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3806 };
3807
3808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MiniFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMiniFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3810 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3811 {
3812 arg4 = wxString_in_helper(obj3);
3813 if (arg4 == NULL) SWIG_fail;
3814 temp4 = True;
3815 }
3816 if (obj4) {
3817 {
3818 arg5 = &temp5;
3819 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3820 }
3821 }
3822 if (obj5) {
3823 {
3824 arg6 = &temp6;
3825 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3826 }
3827 }
3828 if (obj7) {
3829 {
3830 arg8 = wxString_in_helper(obj7);
3831 if (arg8 == NULL) SWIG_fail;
3832 temp8 = True;
3833 }
3834 }
3835 {
3836 PyThreadState* __tstate = wxPyBeginAllowThreads();
3837 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3838
3839 wxPyEndAllowThreads(__tstate);
3840 if (PyErr_Occurred()) SWIG_fail;
3841 }
3842 resultobj = PyInt_FromLong((long)result);
3843 {
3844 if (temp4)
3845 delete arg4;
3846 }
3847 {
3848 if (temp8)
3849 delete arg8;
3850 }
3851 return resultobj;
3852 fail:
3853 {
3854 if (temp4)
3855 delete arg4;
3856 }
3857 {
3858 if (temp8)
3859 delete arg8;
3860 }
3861 return NULL;
3862 }
3863
3864
3865 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
3866 PyObject *obj;
3867 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3868 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
3869 Py_INCREF(obj);
3870 return Py_BuildValue((char *)"");
3871 }
3872 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3873 PyObject *resultobj;
3874 wxBitmap *arg1 = 0 ;
3875 wxWindow *arg2 = (wxWindow *) 0 ;
3876 int arg3 ;
3877 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3878 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3879 wxSize const &arg5_defvalue = wxDefaultSize ;
3880 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3881 long arg6 = (long) wxNO_BORDER ;
3882 wxSplashScreenWindow *result;
3883 wxPoint temp4 ;
3884 wxSize temp5 ;
3885 PyObject * obj0 = 0 ;
3886 PyObject * obj1 = 0 ;
3887 PyObject * obj3 = 0 ;
3888 PyObject * obj4 = 0 ;
3889 char *kwnames[] = {
3890 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3891 };
3892
3893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOl:new_SplashScreenWindow",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
3894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3895 if (arg1 == NULL) {
3896 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3897 }
3898 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3899 if (obj3) {
3900 {
3901 arg4 = &temp4;
3902 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3903 }
3904 }
3905 if (obj4) {
3906 {
3907 arg5 = &temp5;
3908 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3909 }
3910 }
3911 {
3912 PyThreadState* __tstate = wxPyBeginAllowThreads();
3913 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
3914
3915 wxPyEndAllowThreads(__tstate);
3916 if (PyErr_Occurred()) SWIG_fail;
3917 }
3918 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 1);
3919 return resultobj;
3920 fail:
3921 return NULL;
3922 }
3923
3924
3925 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
3926 PyObject *resultobj;
3927 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
3928 wxBitmap *arg2 = 0 ;
3929 PyObject * obj0 = 0 ;
3930 PyObject * obj1 = 0 ;
3931 char *kwnames[] = {
3932 (char *) "self",(char *) "bitmap", NULL
3933 };
3934
3935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
3936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3937 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3938 if (arg2 == NULL) {
3939 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3940 }
3941 {
3942 PyThreadState* __tstate = wxPyBeginAllowThreads();
3943 (arg1)->SetBitmap((wxBitmap const &)*arg2);
3944
3945 wxPyEndAllowThreads(__tstate);
3946 if (PyErr_Occurred()) SWIG_fail;
3947 }
3948 Py_INCREF(Py_None); resultobj = Py_None;
3949 return resultobj;
3950 fail:
3951 return NULL;
3952 }
3953
3954
3955 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
3956 PyObject *resultobj;
3957 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
3958 wxBitmap *result;
3959 PyObject * obj0 = 0 ;
3960 char *kwnames[] = {
3961 (char *) "self", NULL
3962 };
3963
3964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
3965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3966 {
3967 PyThreadState* __tstate = wxPyBeginAllowThreads();
3968 {
3969 wxBitmap &_result_ref = (arg1)->GetBitmap();
3970 result = (wxBitmap *) &_result_ref;
3971 }
3972
3973 wxPyEndAllowThreads(__tstate);
3974 if (PyErr_Occurred()) SWIG_fail;
3975 }
3976 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
3977 return resultobj;
3978 fail:
3979 return NULL;
3980 }
3981
3982
3983 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
3984 PyObject *obj;
3985 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3986 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
3987 Py_INCREF(obj);
3988 return Py_BuildValue((char *)"");
3989 }
3990 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
3991 PyObject *resultobj;
3992 wxBitmap *arg1 = 0 ;
3993 long arg2 ;
3994 int arg3 ;
3995 wxWindow *arg4 = (wxWindow *) 0 ;
3996 int arg5 ;
3997 wxPoint const &arg6_defvalue = wxDefaultPosition ;
3998 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
3999 wxSize const &arg7_defvalue = wxDefaultSize ;
4000 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4001 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4002 wxSplashScreen *result;
4003 wxPoint temp6 ;
4004 wxSize temp7 ;
4005 PyObject * obj0 = 0 ;
4006 PyObject * obj3 = 0 ;
4007 PyObject * obj5 = 0 ;
4008 PyObject * obj6 = 0 ;
4009 char *kwnames[] = {
4010 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4011 };
4012
4013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliOi|OOl:new_SplashScreen",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5,&obj5,&obj6,&arg8)) goto fail;
4014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4015 if (arg1 == NULL) {
4016 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4017 }
4018 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4019 if (obj5) {
4020 {
4021 arg6 = &temp6;
4022 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4023 }
4024 }
4025 if (obj6) {
4026 {
4027 arg7 = &temp7;
4028 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4029 }
4030 }
4031 {
4032 PyThreadState* __tstate = wxPyBeginAllowThreads();
4033 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4034
4035 wxPyEndAllowThreads(__tstate);
4036 if (PyErr_Occurred()) SWIG_fail;
4037 }
4038 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreen, 1);
4039 return resultobj;
4040 fail:
4041 return NULL;
4042 }
4043
4044
4045 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4046 PyObject *resultobj;
4047 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4048 long result;
4049 PyObject * obj0 = 0 ;
4050 char *kwnames[] = {
4051 (char *) "self", NULL
4052 };
4053
4054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4056 {
4057 PyThreadState* __tstate = wxPyBeginAllowThreads();
4058 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4059
4060 wxPyEndAllowThreads(__tstate);
4061 if (PyErr_Occurred()) SWIG_fail;
4062 }
4063 resultobj = PyInt_FromLong((long)result);
4064 return resultobj;
4065 fail:
4066 return NULL;
4067 }
4068
4069
4070 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4071 PyObject *resultobj;
4072 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4073 wxSplashScreenWindow *result;
4074 PyObject * obj0 = 0 ;
4075 char *kwnames[] = {
4076 (char *) "self", NULL
4077 };
4078
4079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4081 {
4082 PyThreadState* __tstate = wxPyBeginAllowThreads();
4083 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4084
4085 wxPyEndAllowThreads(__tstate);
4086 if (PyErr_Occurred()) SWIG_fail;
4087 }
4088 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 0);
4089 return resultobj;
4090 fail:
4091 return NULL;
4092 }
4093
4094
4095 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4096 PyObject *resultobj;
4097 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4098 int result;
4099 PyObject * obj0 = 0 ;
4100 char *kwnames[] = {
4101 (char *) "self", NULL
4102 };
4103
4104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4106 {
4107 PyThreadState* __tstate = wxPyBeginAllowThreads();
4108 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4109
4110 wxPyEndAllowThreads(__tstate);
4111 if (PyErr_Occurred()) SWIG_fail;
4112 }
4113 resultobj = PyInt_FromLong((long)result);
4114 return resultobj;
4115 fail:
4116 return NULL;
4117 }
4118
4119
4120 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4121 PyObject *obj;
4122 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4123 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4124 Py_INCREF(obj);
4125 return Py_BuildValue((char *)"");
4126 }
4127 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4128 PyObject *resultobj;
4129 wxWindow *arg1 = (wxWindow *) 0 ;
4130 int arg2 = (int) -1 ;
4131 long arg3 = (long) wxST_SIZEGRIP ;
4132 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4133 wxString *arg4 = (wxString *) &arg4_defvalue ;
4134 wxStatusBar *result;
4135 bool temp4 = False ;
4136 PyObject * obj0 = 0 ;
4137 PyObject * obj3 = 0 ;
4138 char *kwnames[] = {
4139 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4140 };
4141
4142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ilO:new_StatusBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
4143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4144 if (obj3) {
4145 {
4146 arg4 = wxString_in_helper(obj3);
4147 if (arg4 == NULL) SWIG_fail;
4148 temp4 = True;
4149 }
4150 }
4151 {
4152 PyThreadState* __tstate = wxPyBeginAllowThreads();
4153 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4154
4155 wxPyEndAllowThreads(__tstate);
4156 if (PyErr_Occurred()) SWIG_fail;
4157 }
4158 {
4159 resultobj = wxPyMake_wxObject(result);
4160 }
4161 {
4162 if (temp4)
4163 delete arg4;
4164 }
4165 return resultobj;
4166 fail:
4167 {
4168 if (temp4)
4169 delete arg4;
4170 }
4171 return NULL;
4172 }
4173
4174
4175 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4176 PyObject *resultobj;
4177 wxStatusBar *result;
4178 char *kwnames[] = {
4179 NULL
4180 };
4181
4182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4183 {
4184 PyThreadState* __tstate = wxPyBeginAllowThreads();
4185 result = (wxStatusBar *)new wxStatusBar();
4186
4187 wxPyEndAllowThreads(__tstate);
4188 if (PyErr_Occurred()) SWIG_fail;
4189 }
4190 {
4191 resultobj = wxPyMake_wxObject(result);
4192 }
4193 return resultobj;
4194 fail:
4195 return NULL;
4196 }
4197
4198
4199 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4200 PyObject *resultobj;
4201 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4202 wxWindow *arg2 = (wxWindow *) 0 ;
4203 int arg3 ;
4204 long arg4 = (long) wxST_SIZEGRIP ;
4205 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4206 wxString *arg5 = (wxString *) &arg5_defvalue ;
4207 bool result;
4208 bool temp5 = False ;
4209 PyObject * obj0 = 0 ;
4210 PyObject * obj1 = 0 ;
4211 PyObject * obj4 = 0 ;
4212 char *kwnames[] = {
4213 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4214 };
4215
4216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|lO:StatusBar_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
4217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4218 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4219 if (obj4) {
4220 {
4221 arg5 = wxString_in_helper(obj4);
4222 if (arg5 == NULL) SWIG_fail;
4223 temp5 = True;
4224 }
4225 }
4226 {
4227 PyThreadState* __tstate = wxPyBeginAllowThreads();
4228 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4229
4230 wxPyEndAllowThreads(__tstate);
4231 if (PyErr_Occurred()) SWIG_fail;
4232 }
4233 resultobj = PyInt_FromLong((long)result);
4234 {
4235 if (temp5)
4236 delete arg5;
4237 }
4238 return resultobj;
4239 fail:
4240 {
4241 if (temp5)
4242 delete arg5;
4243 }
4244 return NULL;
4245 }
4246
4247
4248 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4249 PyObject *resultobj;
4250 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4251 int arg2 = (int) 1 ;
4252 PyObject * obj0 = 0 ;
4253 char *kwnames[] = {
4254 (char *) "self",(char *) "number", NULL
4255 };
4256
4257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_SetFieldsCount",kwnames,&obj0,&arg2)) goto fail;
4258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4259 {
4260 PyThreadState* __tstate = wxPyBeginAllowThreads();
4261 (arg1)->SetFieldsCount(arg2);
4262
4263 wxPyEndAllowThreads(__tstate);
4264 if (PyErr_Occurred()) SWIG_fail;
4265 }
4266 Py_INCREF(Py_None); resultobj = Py_None;
4267 return resultobj;
4268 fail:
4269 return NULL;
4270 }
4271
4272
4273 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4274 PyObject *resultobj;
4275 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4276 int result;
4277 PyObject * obj0 = 0 ;
4278 char *kwnames[] = {
4279 (char *) "self", NULL
4280 };
4281
4282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
4283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4284 {
4285 PyThreadState* __tstate = wxPyBeginAllowThreads();
4286 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
4287
4288 wxPyEndAllowThreads(__tstate);
4289 if (PyErr_Occurred()) SWIG_fail;
4290 }
4291 resultobj = PyInt_FromLong((long)result);
4292 return resultobj;
4293 fail:
4294 return NULL;
4295 }
4296
4297
4298 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4299 PyObject *resultobj;
4300 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4301 wxString *arg2 = 0 ;
4302 int arg3 = (int) 0 ;
4303 bool temp2 = False ;
4304 PyObject * obj0 = 0 ;
4305 PyObject * obj1 = 0 ;
4306 char *kwnames[] = {
4307 (char *) "self",(char *) "text",(char *) "number", NULL
4308 };
4309
4310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4312 {
4313 arg2 = wxString_in_helper(obj1);
4314 if (arg2 == NULL) SWIG_fail;
4315 temp2 = True;
4316 }
4317 {
4318 PyThreadState* __tstate = wxPyBeginAllowThreads();
4319 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
4320
4321 wxPyEndAllowThreads(__tstate);
4322 if (PyErr_Occurred()) SWIG_fail;
4323 }
4324 Py_INCREF(Py_None); resultobj = Py_None;
4325 {
4326 if (temp2)
4327 delete arg2;
4328 }
4329 return resultobj;
4330 fail:
4331 {
4332 if (temp2)
4333 delete arg2;
4334 }
4335 return NULL;
4336 }
4337
4338
4339 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4340 PyObject *resultobj;
4341 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4342 int arg2 = (int) 0 ;
4343 wxString result;
4344 PyObject * obj0 = 0 ;
4345 char *kwnames[] = {
4346 (char *) "self",(char *) "number", NULL
4347 };
4348
4349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_GetStatusText",kwnames,&obj0,&arg2)) goto fail;
4350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4351 {
4352 PyThreadState* __tstate = wxPyBeginAllowThreads();
4353 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
4354
4355 wxPyEndAllowThreads(__tstate);
4356 if (PyErr_Occurred()) SWIG_fail;
4357 }
4358 {
4359 #if wxUSE_UNICODE
4360 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4361 #else
4362 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4363 #endif
4364 }
4365 return resultobj;
4366 fail:
4367 return NULL;
4368 }
4369
4370
4371 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4372 PyObject *resultobj;
4373 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4374 wxString *arg2 = 0 ;
4375 int arg3 = (int) 0 ;
4376 bool temp2 = False ;
4377 PyObject * obj0 = 0 ;
4378 PyObject * obj1 = 0 ;
4379 char *kwnames[] = {
4380 (char *) "self",(char *) "text",(char *) "number", NULL
4381 };
4382
4383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4385 {
4386 arg2 = wxString_in_helper(obj1);
4387 if (arg2 == NULL) SWIG_fail;
4388 temp2 = True;
4389 }
4390 {
4391 PyThreadState* __tstate = wxPyBeginAllowThreads();
4392 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
4393
4394 wxPyEndAllowThreads(__tstate);
4395 if (PyErr_Occurred()) SWIG_fail;
4396 }
4397 Py_INCREF(Py_None); resultobj = Py_None;
4398 {
4399 if (temp2)
4400 delete arg2;
4401 }
4402 return resultobj;
4403 fail:
4404 {
4405 if (temp2)
4406 delete arg2;
4407 }
4408 return NULL;
4409 }
4410
4411
4412 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4413 PyObject *resultobj;
4414 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4415 int arg2 = (int) 0 ;
4416 PyObject * obj0 = 0 ;
4417 char *kwnames[] = {
4418 (char *) "self",(char *) "number", NULL
4419 };
4420
4421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
4422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4423 {
4424 PyThreadState* __tstate = wxPyBeginAllowThreads();
4425 (arg1)->PopStatusText(arg2);
4426
4427 wxPyEndAllowThreads(__tstate);
4428 if (PyErr_Occurred()) SWIG_fail;
4429 }
4430 Py_INCREF(Py_None); resultobj = Py_None;
4431 return resultobj;
4432 fail:
4433 return NULL;
4434 }
4435
4436
4437 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
4438 PyObject *resultobj;
4439 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4440 int arg2 ;
4441 int *arg3 = (int *) 0 ;
4442 PyObject * obj0 = 0 ;
4443 PyObject * obj1 = 0 ;
4444 char *kwnames[] = {
4445 (char *) "self",(char *) "widths", NULL
4446 };
4447
4448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
4449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4450 {
4451 arg2 = PyList_Size(obj1);
4452 arg3 = int_LIST_helper(obj1);
4453 if (arg3 == NULL) SWIG_fail;
4454 }
4455 {
4456 PyThreadState* __tstate = wxPyBeginAllowThreads();
4457 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
4458
4459 wxPyEndAllowThreads(__tstate);
4460 if (PyErr_Occurred()) SWIG_fail;
4461 }
4462 Py_INCREF(Py_None); resultobj = Py_None;
4463 {
4464 if (arg3) delete [] arg3;
4465 }
4466 return resultobj;
4467 fail:
4468 {
4469 if (arg3) delete [] arg3;
4470 }
4471 return NULL;
4472 }
4473
4474
4475 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4476 PyObject *resultobj;
4477 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4478 int arg2 ;
4479 wxRect result;
4480 PyObject * obj0 = 0 ;
4481 char *kwnames[] = {
4482 (char *) "self",(char *) "i", NULL
4483 };
4484
4485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_GetFieldRect",kwnames,&obj0,&arg2)) goto fail;
4486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4487 {
4488 PyThreadState* __tstate = wxPyBeginAllowThreads();
4489 result = wxStatusBar_GetFieldRect(arg1,arg2);
4490
4491 wxPyEndAllowThreads(__tstate);
4492 if (PyErr_Occurred()) SWIG_fail;
4493 }
4494 {
4495 wxRect * resultptr;
4496 resultptr = new wxRect((wxRect &) result);
4497 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
4498 }
4499 return resultobj;
4500 fail:
4501 return NULL;
4502 }
4503
4504
4505 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
4506 PyObject *resultobj;
4507 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4508 int arg2 ;
4509 PyObject * obj0 = 0 ;
4510 char *kwnames[] = {
4511 (char *) "self",(char *) "height", NULL
4512 };
4513
4514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_SetMinHeight",kwnames,&obj0,&arg2)) goto fail;
4515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4516 {
4517 PyThreadState* __tstate = wxPyBeginAllowThreads();
4518 (arg1)->SetMinHeight(arg2);
4519
4520 wxPyEndAllowThreads(__tstate);
4521 if (PyErr_Occurred()) SWIG_fail;
4522 }
4523 Py_INCREF(Py_None); resultobj = Py_None;
4524 return resultobj;
4525 fail:
4526 return NULL;
4527 }
4528
4529
4530 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
4531 PyObject *resultobj;
4532 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4533 int result;
4534 PyObject * obj0 = 0 ;
4535 char *kwnames[] = {
4536 (char *) "self", NULL
4537 };
4538
4539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
4540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4541 {
4542 PyThreadState* __tstate = wxPyBeginAllowThreads();
4543 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
4544
4545 wxPyEndAllowThreads(__tstate);
4546 if (PyErr_Occurred()) SWIG_fail;
4547 }
4548 resultobj = PyInt_FromLong((long)result);
4549 return resultobj;
4550 fail:
4551 return NULL;
4552 }
4553
4554
4555 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
4556 PyObject *resultobj;
4557 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4558 int result;
4559 PyObject * obj0 = 0 ;
4560 char *kwnames[] = {
4561 (char *) "self", NULL
4562 };
4563
4564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
4565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4566 {
4567 PyThreadState* __tstate = wxPyBeginAllowThreads();
4568 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
4569
4570 wxPyEndAllowThreads(__tstate);
4571 if (PyErr_Occurred()) SWIG_fail;
4572 }
4573 resultobj = PyInt_FromLong((long)result);
4574 return resultobj;
4575 fail:
4576 return NULL;
4577 }
4578
4579
4580 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
4581 PyObject *obj;
4582 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4583 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
4584 Py_INCREF(obj);
4585 return Py_BuildValue((char *)"");
4586 }
4587 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4588 PyObject *resultobj;
4589 wxWindow *arg1 = (wxWindow *) 0 ;
4590 int arg2 ;
4591 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4592 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4593 wxSize const &arg4_defvalue = wxDefaultSize ;
4594 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4595 long arg5 = (long) wxSP_3D ;
4596 wxString const &arg6_defvalue = wxPySplitterNameStr ;
4597 wxString *arg6 = (wxString *) &arg6_defvalue ;
4598 wxSplitterWindow *result;
4599 wxPoint temp3 ;
4600 wxSize temp4 ;
4601 bool temp6 = False ;
4602 PyObject * obj0 = 0 ;
4603 PyObject * obj2 = 0 ;
4604 PyObject * obj3 = 0 ;
4605 PyObject * obj5 = 0 ;
4606 char *kwnames[] = {
4607 (char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4608 };
4609
4610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SplitterWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
4611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4612 if (obj2) {
4613 {
4614 arg3 = &temp3;
4615 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4616 }
4617 }
4618 if (obj3) {
4619 {
4620 arg4 = &temp4;
4621 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4622 }
4623 }
4624 if (obj5) {
4625 {
4626 arg6 = wxString_in_helper(obj5);
4627 if (arg6 == NULL) SWIG_fail;
4628 temp6 = True;
4629 }
4630 }
4631 {
4632 PyThreadState* __tstate = wxPyBeginAllowThreads();
4633 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4634
4635 wxPyEndAllowThreads(__tstate);
4636 if (PyErr_Occurred()) SWIG_fail;
4637 }
4638 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
4639 {
4640 if (temp6)
4641 delete arg6;
4642 }
4643 return resultobj;
4644 fail:
4645 {
4646 if (temp6)
4647 delete arg6;
4648 }
4649 return NULL;
4650 }
4651
4652
4653 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4654 PyObject *resultobj;
4655 wxSplitterWindow *result;
4656 char *kwnames[] = {
4657 NULL
4658 };
4659
4660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
4661 {
4662 PyThreadState* __tstate = wxPyBeginAllowThreads();
4663 result = (wxSplitterWindow *)new wxSplitterWindow();
4664
4665 wxPyEndAllowThreads(__tstate);
4666 if (PyErr_Occurred()) SWIG_fail;
4667 }
4668 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
4669 return resultobj;
4670 fail:
4671 return NULL;
4672 }
4673
4674
4675 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4676 PyObject *resultobj;
4677 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4678 wxWindow *arg2 = (wxWindow *) 0 ;
4679 int arg3 ;
4680 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4681 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4682 wxSize const &arg5_defvalue = wxDefaultSize ;
4683 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4684 long arg6 = (long) wxSP_3D ;
4685 wxString const &arg7_defvalue = wxPySplitterNameStr ;
4686 wxString *arg7 = (wxString *) &arg7_defvalue ;
4687 bool result;
4688 wxPoint temp4 ;
4689 wxSize temp5 ;
4690 bool temp7 = False ;
4691 PyObject * obj0 = 0 ;
4692 PyObject * obj1 = 0 ;
4693 PyObject * obj3 = 0 ;
4694 PyObject * obj4 = 0 ;
4695 PyObject * obj6 = 0 ;
4696 char *kwnames[] = {
4697 (char *) "self",(char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4698 };
4699
4700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SplitterWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
4701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4702 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4703 if (obj3) {
4704 {
4705 arg4 = &temp4;
4706 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4707 }
4708 }
4709 if (obj4) {
4710 {
4711 arg5 = &temp5;
4712 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4713 }
4714 }
4715 if (obj6) {
4716 {
4717 arg7 = wxString_in_helper(obj6);
4718 if (arg7 == NULL) SWIG_fail;
4719 temp7 = True;
4720 }
4721 }
4722 {
4723 PyThreadState* __tstate = wxPyBeginAllowThreads();
4724 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4725
4726 wxPyEndAllowThreads(__tstate);
4727 if (PyErr_Occurred()) SWIG_fail;
4728 }
4729 resultobj = PyInt_FromLong((long)result);
4730 {
4731 if (temp7)
4732 delete arg7;
4733 }
4734 return resultobj;
4735 fail:
4736 {
4737 if (temp7)
4738 delete arg7;
4739 }
4740 return NULL;
4741 }
4742
4743
4744 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
4745 PyObject *resultobj;
4746 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4747 wxWindow *result;
4748 PyObject * obj0 = 0 ;
4749 char *kwnames[] = {
4750 (char *) "self", NULL
4751 };
4752
4753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
4754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4755 {
4756 PyThreadState* __tstate = wxPyBeginAllowThreads();
4757 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
4758
4759 wxPyEndAllowThreads(__tstate);
4760 if (PyErr_Occurred()) SWIG_fail;
4761 }
4762 {
4763 resultobj = wxPyMake_wxObject(result);
4764 }
4765 return resultobj;
4766 fail:
4767 return NULL;
4768 }
4769
4770
4771 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
4772 PyObject *resultobj;
4773 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4774 wxWindow *result;
4775 PyObject * obj0 = 0 ;
4776 char *kwnames[] = {
4777 (char *) "self", NULL
4778 };
4779
4780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
4781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4782 {
4783 PyThreadState* __tstate = wxPyBeginAllowThreads();
4784 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
4785
4786 wxPyEndAllowThreads(__tstate);
4787 if (PyErr_Occurred()) SWIG_fail;
4788 }
4789 {
4790 resultobj = wxPyMake_wxObject(result);
4791 }
4792 return resultobj;
4793 fail:
4794 return NULL;
4795 }
4796
4797
4798 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4799 PyObject *resultobj;
4800 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4801 int arg2 ;
4802 PyObject * obj0 = 0 ;
4803 char *kwnames[] = {
4804 (char *) "self",(char *) "mode", NULL
4805 };
4806
4807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSplitMode",kwnames,&obj0,&arg2)) goto fail;
4808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4809 {
4810 PyThreadState* __tstate = wxPyBeginAllowThreads();
4811 (arg1)->SetSplitMode(arg2);
4812
4813 wxPyEndAllowThreads(__tstate);
4814 if (PyErr_Occurred()) SWIG_fail;
4815 }
4816 Py_INCREF(Py_None); resultobj = Py_None;
4817 return resultobj;
4818 fail:
4819 return NULL;
4820 }
4821
4822
4823 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4824 PyObject *resultobj;
4825 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4826 int result;
4827 PyObject * obj0 = 0 ;
4828 char *kwnames[] = {
4829 (char *) "self", NULL
4830 };
4831
4832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
4833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4834 {
4835 PyThreadState* __tstate = wxPyBeginAllowThreads();
4836 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
4837
4838 wxPyEndAllowThreads(__tstate);
4839 if (PyErr_Occurred()) SWIG_fail;
4840 }
4841 resultobj = PyInt_FromLong((long)result);
4842 return resultobj;
4843 fail:
4844 return NULL;
4845 }
4846
4847
4848 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
4849 PyObject *resultobj;
4850 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4851 wxWindow *arg2 = (wxWindow *) 0 ;
4852 PyObject * obj0 = 0 ;
4853 PyObject * obj1 = 0 ;
4854 char *kwnames[] = {
4855 (char *) "self",(char *) "window", NULL
4856 };
4857
4858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
4859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4860 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4861 {
4862 PyThreadState* __tstate = wxPyBeginAllowThreads();
4863 (arg1)->Initialize(arg2);
4864
4865 wxPyEndAllowThreads(__tstate);
4866 if (PyErr_Occurred()) SWIG_fail;
4867 }
4868 Py_INCREF(Py_None); resultobj = Py_None;
4869 return resultobj;
4870 fail:
4871 return NULL;
4872 }
4873
4874
4875 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
4876 PyObject *resultobj;
4877 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4878 wxWindow *arg2 = (wxWindow *) 0 ;
4879 wxWindow *arg3 = (wxWindow *) 0 ;
4880 int arg4 = (int) 0 ;
4881 bool result;
4882 PyObject * obj0 = 0 ;
4883 PyObject * obj1 = 0 ;
4884 PyObject * obj2 = 0 ;
4885 char *kwnames[] = {
4886 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
4887 };
4888
4889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
4890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4891 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4892 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4893 {
4894 PyThreadState* __tstate = wxPyBeginAllowThreads();
4895 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
4896
4897 wxPyEndAllowThreads(__tstate);
4898 if (PyErr_Occurred()) SWIG_fail;
4899 }
4900 resultobj = PyInt_FromLong((long)result);
4901 return resultobj;
4902 fail:
4903 return NULL;
4904 }
4905
4906
4907 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
4908 PyObject *resultobj;
4909 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4910 wxWindow *arg2 = (wxWindow *) 0 ;
4911 wxWindow *arg3 = (wxWindow *) 0 ;
4912 int arg4 = (int) 0 ;
4913 bool result;
4914 PyObject * obj0 = 0 ;
4915 PyObject * obj1 = 0 ;
4916 PyObject * obj2 = 0 ;
4917 char *kwnames[] = {
4918 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
4919 };
4920
4921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
4922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4923 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4924 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4925 {
4926 PyThreadState* __tstate = wxPyBeginAllowThreads();
4927 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
4928
4929 wxPyEndAllowThreads(__tstate);
4930 if (PyErr_Occurred()) SWIG_fail;
4931 }
4932 resultobj = PyInt_FromLong((long)result);
4933 return resultobj;
4934 fail:
4935 return NULL;
4936 }
4937
4938
4939 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
4940 PyObject *resultobj;
4941 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4942 wxWindow *arg2 = (wxWindow *) NULL ;
4943 bool result;
4944 PyObject * obj0 = 0 ;
4945 PyObject * obj1 = 0 ;
4946 char *kwnames[] = {
4947 (char *) "self",(char *) "toRemove", NULL
4948 };
4949
4950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
4951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4952 if (obj1) {
4953 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4954 }
4955 {
4956 PyThreadState* __tstate = wxPyBeginAllowThreads();
4957 result = (bool)(arg1)->Unsplit(arg2);
4958
4959 wxPyEndAllowThreads(__tstate);
4960 if (PyErr_Occurred()) SWIG_fail;
4961 }
4962 resultobj = PyInt_FromLong((long)result);
4963 return resultobj;
4964 fail:
4965 return NULL;
4966 }
4967
4968
4969 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4970 PyObject *resultobj;
4971 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4972 wxWindow *arg2 = (wxWindow *) 0 ;
4973 wxWindow *arg3 = (wxWindow *) 0 ;
4974 bool result;
4975 PyObject * obj0 = 0 ;
4976 PyObject * obj1 = 0 ;
4977 PyObject * obj2 = 0 ;
4978 char *kwnames[] = {
4979 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
4980 };
4981
4982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
4983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4984 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4985 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4986 {
4987 PyThreadState* __tstate = wxPyBeginAllowThreads();
4988 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
4989
4990 wxPyEndAllowThreads(__tstate);
4991 if (PyErr_Occurred()) SWIG_fail;
4992 }
4993 resultobj = PyInt_FromLong((long)result);
4994 return resultobj;
4995 fail:
4996 return NULL;
4997 }
4998
4999
5000 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5001 PyObject *resultobj;
5002 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5003 bool result;
5004 PyObject * obj0 = 0 ;
5005 char *kwnames[] = {
5006 (char *) "self", NULL
5007 };
5008
5009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5011 {
5012 PyThreadState* __tstate = wxPyBeginAllowThreads();
5013 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5014
5015 wxPyEndAllowThreads(__tstate);
5016 if (PyErr_Occurred()) SWIG_fail;
5017 }
5018 resultobj = PyInt_FromLong((long)result);
5019 return resultobj;
5020 fail:
5021 return NULL;
5022 }
5023
5024
5025 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5026 PyObject *resultobj;
5027 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5028 int arg2 ;
5029 PyObject * obj0 = 0 ;
5030 char *kwnames[] = {
5031 (char *) "self",(char *) "width", NULL
5032 };
5033
5034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSashSize",kwnames,&obj0,&arg2)) goto fail;
5035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5036 {
5037 PyThreadState* __tstate = wxPyBeginAllowThreads();
5038 (arg1)->SetSashSize(arg2);
5039
5040 wxPyEndAllowThreads(__tstate);
5041 if (PyErr_Occurred()) SWIG_fail;
5042 }
5043 Py_INCREF(Py_None); resultobj = Py_None;
5044 return resultobj;
5045 fail:
5046 return NULL;
5047 }
5048
5049
5050 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5051 PyObject *resultobj;
5052 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5053 int arg2 ;
5054 PyObject * obj0 = 0 ;
5055 char *kwnames[] = {
5056 (char *) "self",(char *) "width", NULL
5057 };
5058
5059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetBorderSize",kwnames,&obj0,&arg2)) goto fail;
5060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5061 {
5062 PyThreadState* __tstate = wxPyBeginAllowThreads();
5063 (arg1)->SetBorderSize(arg2);
5064
5065 wxPyEndAllowThreads(__tstate);
5066 if (PyErr_Occurred()) SWIG_fail;
5067 }
5068 Py_INCREF(Py_None); resultobj = Py_None;
5069 return resultobj;
5070 fail:
5071 return NULL;
5072 }
5073
5074
5075 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5076 PyObject *resultobj;
5077 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5078 int result;
5079 PyObject * obj0 = 0 ;
5080 char *kwnames[] = {
5081 (char *) "self", NULL
5082 };
5083
5084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
5085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5086 {
5087 PyThreadState* __tstate = wxPyBeginAllowThreads();
5088 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
5089
5090 wxPyEndAllowThreads(__tstate);
5091 if (PyErr_Occurred()) SWIG_fail;
5092 }
5093 resultobj = PyInt_FromLong((long)result);
5094 return resultobj;
5095 fail:
5096 return NULL;
5097 }
5098
5099
5100 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5101 PyObject *resultobj;
5102 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5103 int result;
5104 PyObject * obj0 = 0 ;
5105 char *kwnames[] = {
5106 (char *) "self", NULL
5107 };
5108
5109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
5110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5111 {
5112 PyThreadState* __tstate = wxPyBeginAllowThreads();
5113 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
5114
5115 wxPyEndAllowThreads(__tstate);
5116 if (PyErr_Occurred()) SWIG_fail;
5117 }
5118 resultobj = PyInt_FromLong((long)result);
5119 return resultobj;
5120 fail:
5121 return NULL;
5122 }
5123
5124
5125 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5126 PyObject *resultobj;
5127 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5128 int arg2 ;
5129 bool arg3 = (bool) True ;
5130 PyObject * obj0 = 0 ;
5131 PyObject * obj2 = 0 ;
5132 char *kwnames[] = {
5133 (char *) "self",(char *) "position",(char *) "redraw", NULL
5134 };
5135
5136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
5137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5138 if (obj2) {
5139 arg3 = PyInt_AsLong(obj2) ? true : false;
5140 if (PyErr_Occurred()) SWIG_fail;
5141 }
5142 {
5143 PyThreadState* __tstate = wxPyBeginAllowThreads();
5144 (arg1)->SetSashPosition(arg2,arg3);
5145
5146 wxPyEndAllowThreads(__tstate);
5147 if (PyErr_Occurred()) SWIG_fail;
5148 }
5149 Py_INCREF(Py_None); resultobj = Py_None;
5150 return resultobj;
5151 fail:
5152 return NULL;
5153 }
5154
5155
5156 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5157 PyObject *resultobj;
5158 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5159 int result;
5160 PyObject * obj0 = 0 ;
5161 char *kwnames[] = {
5162 (char *) "self", NULL
5163 };
5164
5165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
5166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5167 {
5168 PyThreadState* __tstate = wxPyBeginAllowThreads();
5169 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
5170
5171 wxPyEndAllowThreads(__tstate);
5172 if (PyErr_Occurred()) SWIG_fail;
5173 }
5174 resultobj = PyInt_FromLong((long)result);
5175 return resultobj;
5176 fail:
5177 return NULL;
5178 }
5179
5180
5181 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5182 PyObject *resultobj;
5183 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5184 int arg2 ;
5185 PyObject * obj0 = 0 ;
5186 char *kwnames[] = {
5187 (char *) "self",(char *) "min", NULL
5188 };
5189
5190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&arg2)) goto fail;
5191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5192 {
5193 PyThreadState* __tstate = wxPyBeginAllowThreads();
5194 (arg1)->SetMinimumPaneSize(arg2);
5195
5196 wxPyEndAllowThreads(__tstate);
5197 if (PyErr_Occurred()) SWIG_fail;
5198 }
5199 Py_INCREF(Py_None); resultobj = Py_None;
5200 return resultobj;
5201 fail:
5202 return NULL;
5203 }
5204
5205
5206 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5207 PyObject *resultobj;
5208 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5209 int result;
5210 PyObject * obj0 = 0 ;
5211 char *kwnames[] = {
5212 (char *) "self", NULL
5213 };
5214
5215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
5216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5217 {
5218 PyThreadState* __tstate = wxPyBeginAllowThreads();
5219 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
5220
5221 wxPyEndAllowThreads(__tstate);
5222 if (PyErr_Occurred()) SWIG_fail;
5223 }
5224 resultobj = PyInt_FromLong((long)result);
5225 return resultobj;
5226 fail:
5227 return NULL;
5228 }
5229
5230
5231 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5232 PyObject *resultobj;
5233 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5234 int arg2 ;
5235 int arg3 ;
5236 int arg4 = (int) 5 ;
5237 bool result;
5238 PyObject * obj0 = 0 ;
5239 char *kwnames[] = {
5240 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5241 };
5242
5243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SplitterWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
5244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5245 {
5246 PyThreadState* __tstate = wxPyBeginAllowThreads();
5247 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
5248
5249 wxPyEndAllowThreads(__tstate);
5250 if (PyErr_Occurred()) SWIG_fail;
5251 }
5252 resultobj = PyInt_FromLong((long)result);
5253 return resultobj;
5254 fail:
5255 return NULL;
5256 }
5257
5258
5259 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
5260 PyObject *resultobj;
5261 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5262 PyObject * obj0 = 0 ;
5263 char *kwnames[] = {
5264 (char *) "self", NULL
5265 };
5266
5267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
5268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5269 {
5270 PyThreadState* __tstate = wxPyBeginAllowThreads();
5271 (arg1)->SizeWindows();
5272
5273 wxPyEndAllowThreads(__tstate);
5274 if (PyErr_Occurred()) SWIG_fail;
5275 }
5276 Py_INCREF(Py_None); resultobj = Py_None;
5277 return resultobj;
5278 fail:
5279 return NULL;
5280 }
5281
5282
5283 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5284 PyObject *resultobj;
5285 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5286 bool arg2 ;
5287 PyObject * obj0 = 0 ;
5288 PyObject * obj1 = 0 ;
5289 char *kwnames[] = {
5290 (char *) "self",(char *) "needUpdating", NULL
5291 };
5292
5293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
5294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5295 arg2 = PyInt_AsLong(obj1) ? true : false;
5296 if (PyErr_Occurred()) SWIG_fail;
5297 {
5298 PyThreadState* __tstate = wxPyBeginAllowThreads();
5299 (arg1)->SetNeedUpdating(arg2);
5300
5301 wxPyEndAllowThreads(__tstate);
5302 if (PyErr_Occurred()) SWIG_fail;
5303 }
5304 Py_INCREF(Py_None); resultobj = Py_None;
5305 return resultobj;
5306 fail:
5307 return NULL;
5308 }
5309
5310
5311 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5312 PyObject *resultobj;
5313 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5314 bool result;
5315 PyObject * obj0 = 0 ;
5316 char *kwnames[] = {
5317 (char *) "self", NULL
5318 };
5319
5320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
5321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5322 {
5323 PyThreadState* __tstate = wxPyBeginAllowThreads();
5324 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
5325
5326 wxPyEndAllowThreads(__tstate);
5327 if (PyErr_Occurred()) SWIG_fail;
5328 }
5329 resultobj = PyInt_FromLong((long)result);
5330 return resultobj;
5331 fail:
5332 return NULL;
5333 }
5334
5335
5336 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
5337 PyObject *obj;
5338 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5339 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
5340 Py_INCREF(obj);
5341 return Py_BuildValue((char *)"");
5342 }
5343 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5344 PyObject *resultobj;
5345 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
5346 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
5347 wxSplitterEvent *result;
5348 PyObject * obj1 = 0 ;
5349 char *kwnames[] = {
5350 (char *) "type",(char *) "splitter", NULL
5351 };
5352
5353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_SplitterEvent",kwnames,&arg1,&obj1)) goto fail;
5354 if (obj1) {
5355 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5356 }
5357 {
5358 PyThreadState* __tstate = wxPyBeginAllowThreads();
5359 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
5360
5361 wxPyEndAllowThreads(__tstate);
5362 if (PyErr_Occurred()) SWIG_fail;
5363 }
5364 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterEvent, 1);
5365 return resultobj;
5366 fail:
5367 return NULL;
5368 }
5369
5370
5371 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5372 PyObject *resultobj;
5373 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5374 int arg2 ;
5375 PyObject * obj0 = 0 ;
5376 char *kwnames[] = {
5377 (char *) "self",(char *) "pos", NULL
5378 };
5379
5380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterEvent_SetSashPosition",kwnames,&obj0,&arg2)) goto fail;
5381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5382 {
5383 PyThreadState* __tstate = wxPyBeginAllowThreads();
5384 (arg1)->SetSashPosition(arg2);
5385
5386 wxPyEndAllowThreads(__tstate);
5387 if (PyErr_Occurred()) SWIG_fail;
5388 }
5389 Py_INCREF(Py_None); resultobj = Py_None;
5390 return resultobj;
5391 fail:
5392 return NULL;
5393 }
5394
5395
5396 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5397 PyObject *resultobj;
5398 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5399 int result;
5400 PyObject * obj0 = 0 ;
5401 char *kwnames[] = {
5402 (char *) "self", NULL
5403 };
5404
5405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
5406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5407 {
5408 PyThreadState* __tstate = wxPyBeginAllowThreads();
5409 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
5410
5411 wxPyEndAllowThreads(__tstate);
5412 if (PyErr_Occurred()) SWIG_fail;
5413 }
5414 resultobj = PyInt_FromLong((long)result);
5415 return resultobj;
5416 fail:
5417 return NULL;
5418 }
5419
5420
5421 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
5422 PyObject *resultobj;
5423 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5424 wxWindow *result;
5425 PyObject * obj0 = 0 ;
5426 char *kwnames[] = {
5427 (char *) "self", NULL
5428 };
5429
5430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
5431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5432 {
5433 PyThreadState* __tstate = wxPyBeginAllowThreads();
5434 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
5435
5436 wxPyEndAllowThreads(__tstate);
5437 if (PyErr_Occurred()) SWIG_fail;
5438 }
5439 {
5440 resultobj = wxPyMake_wxObject(result);
5441 }
5442 return resultobj;
5443 fail:
5444 return NULL;
5445 }
5446
5447
5448 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
5449 PyObject *resultobj;
5450 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5451 int result;
5452 PyObject * obj0 = 0 ;
5453 char *kwnames[] = {
5454 (char *) "self", NULL
5455 };
5456
5457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
5458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5459 {
5460 PyThreadState* __tstate = wxPyBeginAllowThreads();
5461 result = (int)((wxSplitterEvent const *)arg1)->GetX();
5462
5463 wxPyEndAllowThreads(__tstate);
5464 if (PyErr_Occurred()) SWIG_fail;
5465 }
5466 resultobj = PyInt_FromLong((long)result);
5467 return resultobj;
5468 fail:
5469 return NULL;
5470 }
5471
5472
5473 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
5474 PyObject *resultobj;
5475 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5476 int result;
5477 PyObject * obj0 = 0 ;
5478 char *kwnames[] = {
5479 (char *) "self", NULL
5480 };
5481
5482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
5483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5484 {
5485 PyThreadState* __tstate = wxPyBeginAllowThreads();
5486 result = (int)((wxSplitterEvent const *)arg1)->GetY();
5487
5488 wxPyEndAllowThreads(__tstate);
5489 if (PyErr_Occurred()) SWIG_fail;
5490 }
5491 resultobj = PyInt_FromLong((long)result);
5492 return resultobj;
5493 fail:
5494 return NULL;
5495 }
5496
5497
5498 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
5499 PyObject *obj;
5500 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5501 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
5502 Py_INCREF(obj);
5503 return Py_BuildValue((char *)"");
5504 }
5505 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5506 PyObject *resultobj;
5507 wxWindow *arg1 = (wxWindow *) 0 ;
5508 int arg2 ;
5509 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5510 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5511 wxSize const &arg4_defvalue = wxDefaultSize ;
5512 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5513 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
5514 wxString const &arg6_defvalue = wxPySashNameStr ;
5515 wxString *arg6 = (wxString *) &arg6_defvalue ;
5516 wxSashWindow *result;
5517 wxPoint temp3 ;
5518 wxSize temp4 ;
5519 bool temp6 = False ;
5520 PyObject * obj0 = 0 ;
5521 PyObject * obj2 = 0 ;
5522 PyObject * obj3 = 0 ;
5523 PyObject * obj5 = 0 ;
5524 char *kwnames[] = {
5525 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5526 };
5527
5528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
5529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5530 if (obj2) {
5531 {
5532 arg3 = &temp3;
5533 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5534 }
5535 }
5536 if (obj3) {
5537 {
5538 arg4 = &temp4;
5539 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5540 }
5541 }
5542 if (obj5) {
5543 {
5544 arg6 = wxString_in_helper(obj5);
5545 if (arg6 == NULL) SWIG_fail;
5546 temp6 = True;
5547 }
5548 }
5549 {
5550 PyThreadState* __tstate = wxPyBeginAllowThreads();
5551 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5552
5553 wxPyEndAllowThreads(__tstate);
5554 if (PyErr_Occurred()) SWIG_fail;
5555 }
5556 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
5557 {
5558 if (temp6)
5559 delete arg6;
5560 }
5561 return resultobj;
5562 fail:
5563 {
5564 if (temp6)
5565 delete arg6;
5566 }
5567 return NULL;
5568 }
5569
5570
5571 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5572 PyObject *resultobj;
5573 wxSashWindow *result;
5574 char *kwnames[] = {
5575 NULL
5576 };
5577
5578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
5579 {
5580 PyThreadState* __tstate = wxPyBeginAllowThreads();
5581 result = (wxSashWindow *)new wxSashWindow();
5582
5583 wxPyEndAllowThreads(__tstate);
5584 if (PyErr_Occurred()) SWIG_fail;
5585 }
5586 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
5587 return resultobj;
5588 fail:
5589 return NULL;
5590 }
5591
5592
5593 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5594 PyObject *resultobj;
5595 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5596 wxWindow *arg2 = (wxWindow *) 0 ;
5597 int arg3 ;
5598 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5599 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5600 wxSize const &arg5_defvalue = wxDefaultSize ;
5601 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5602 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
5603 wxString const &arg7_defvalue = wxPySashNameStr ;
5604 wxString *arg7 = (wxString *) &arg7_defvalue ;
5605 bool result;
5606 wxPoint temp4 ;
5607 wxSize temp5 ;
5608 bool temp7 = False ;
5609 PyObject * obj0 = 0 ;
5610 PyObject * obj1 = 0 ;
5611 PyObject * obj3 = 0 ;
5612 PyObject * obj4 = 0 ;
5613 PyObject * obj6 = 0 ;
5614 char *kwnames[] = {
5615 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5616 };
5617
5618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
5619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5620 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5621 if (obj3) {
5622 {
5623 arg4 = &temp4;
5624 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5625 }
5626 }
5627 if (obj4) {
5628 {
5629 arg5 = &temp5;
5630 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5631 }
5632 }
5633 if (obj6) {
5634 {
5635 arg7 = wxString_in_helper(obj6);
5636 if (arg7 == NULL) SWIG_fail;
5637 temp7 = True;
5638 }
5639 }
5640 {
5641 PyThreadState* __tstate = wxPyBeginAllowThreads();
5642 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5643
5644 wxPyEndAllowThreads(__tstate);
5645 if (PyErr_Occurred()) SWIG_fail;
5646 }
5647 resultobj = PyInt_FromLong((long)result);
5648 {
5649 if (temp7)
5650 delete arg7;
5651 }
5652 return resultobj;
5653 fail:
5654 {
5655 if (temp7)
5656 delete arg7;
5657 }
5658 return NULL;
5659 }
5660
5661
5662 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5663 PyObject *resultobj;
5664 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5665 int arg2 ;
5666 bool arg3 ;
5667 PyObject * obj0 = 0 ;
5668 PyObject * obj2 = 0 ;
5669 char *kwnames[] = {
5670 (char *) "self",(char *) "edge",(char *) "sash", NULL
5671 };
5672
5673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashVisible",kwnames,&obj0,&arg2,&obj2)) goto fail;
5674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5675 arg3 = PyInt_AsLong(obj2) ? true : false;
5676 if (PyErr_Occurred()) SWIG_fail;
5677 {
5678 PyThreadState* __tstate = wxPyBeginAllowThreads();
5679 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
5680
5681 wxPyEndAllowThreads(__tstate);
5682 if (PyErr_Occurred()) SWIG_fail;
5683 }
5684 Py_INCREF(Py_None); resultobj = Py_None;
5685 return resultobj;
5686 fail:
5687 return NULL;
5688 }
5689
5690
5691 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5692 PyObject *resultobj;
5693 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5694 int arg2 ;
5695 bool result;
5696 PyObject * obj0 = 0 ;
5697 char *kwnames[] = {
5698 (char *) "self",(char *) "edge", NULL
5699 };
5700
5701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetSashVisible",kwnames,&obj0,&arg2)) goto fail;
5702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5703 {
5704 PyThreadState* __tstate = wxPyBeginAllowThreads();
5705 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
5706
5707 wxPyEndAllowThreads(__tstate);
5708 if (PyErr_Occurred()) SWIG_fail;
5709 }
5710 resultobj = PyInt_FromLong((long)result);
5711 return resultobj;
5712 fail:
5713 return NULL;
5714 }
5715
5716
5717 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
5718 PyObject *resultobj;
5719 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5720 int arg2 ;
5721 bool arg3 ;
5722 PyObject * obj0 = 0 ;
5723 PyObject * obj2 = 0 ;
5724 char *kwnames[] = {
5725 (char *) "self",(char *) "edge",(char *) "border", NULL
5726 };
5727
5728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashBorder",kwnames,&obj0,&arg2,&obj2)) goto fail;
5729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5730 arg3 = PyInt_AsLong(obj2) ? true : false;
5731 if (PyErr_Occurred()) SWIG_fail;
5732 {
5733 PyThreadState* __tstate = wxPyBeginAllowThreads();
5734 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
5735
5736 wxPyEndAllowThreads(__tstate);
5737 if (PyErr_Occurred()) SWIG_fail;
5738 }
5739 Py_INCREF(Py_None); resultobj = Py_None;
5740 return resultobj;
5741 fail:
5742 return NULL;
5743 }
5744
5745
5746 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
5747 PyObject *resultobj;
5748 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5749 int arg2 ;
5750 bool result;
5751 PyObject * obj0 = 0 ;
5752 char *kwnames[] = {
5753 (char *) "self",(char *) "edge", NULL
5754 };
5755
5756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_HasBorder",kwnames,&obj0,&arg2)) goto fail;
5757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5758 {
5759 PyThreadState* __tstate = wxPyBeginAllowThreads();
5760 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
5761
5762 wxPyEndAllowThreads(__tstate);
5763 if (PyErr_Occurred()) SWIG_fail;
5764 }
5765 resultobj = PyInt_FromLong((long)result);
5766 return resultobj;
5767 fail:
5768 return NULL;
5769 }
5770
5771
5772 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
5773 PyObject *resultobj;
5774 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5775 int arg2 ;
5776 int result;
5777 PyObject * obj0 = 0 ;
5778 char *kwnames[] = {
5779 (char *) "self",(char *) "edge", NULL
5780 };
5781
5782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetEdgeMargin",kwnames,&obj0,&arg2)) goto fail;
5783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5784 {
5785 PyThreadState* __tstate = wxPyBeginAllowThreads();
5786 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
5787
5788 wxPyEndAllowThreads(__tstate);
5789 if (PyErr_Occurred()) SWIG_fail;
5790 }
5791 resultobj = PyInt_FromLong((long)result);
5792 return resultobj;
5793 fail:
5794 return NULL;
5795 }
5796
5797
5798 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5799 PyObject *resultobj;
5800 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5801 int arg2 ;
5802 PyObject * obj0 = 0 ;
5803 char *kwnames[] = {
5804 (char *) "self",(char *) "width", NULL
5805 };
5806
5807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&arg2)) goto fail;
5808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5809 {
5810 PyThreadState* __tstate = wxPyBeginAllowThreads();
5811 (arg1)->SetDefaultBorderSize(arg2);
5812
5813 wxPyEndAllowThreads(__tstate);
5814 if (PyErr_Occurred()) SWIG_fail;
5815 }
5816 Py_INCREF(Py_None); resultobj = Py_None;
5817 return resultobj;
5818 fail:
5819 return NULL;
5820 }
5821
5822
5823 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5824 PyObject *resultobj;
5825 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5826 int result;
5827 PyObject * obj0 = 0 ;
5828 char *kwnames[] = {
5829 (char *) "self", NULL
5830 };
5831
5832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
5833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5834 {
5835 PyThreadState* __tstate = wxPyBeginAllowThreads();
5836 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
5837
5838 wxPyEndAllowThreads(__tstate);
5839 if (PyErr_Occurred()) SWIG_fail;
5840 }
5841 resultobj = PyInt_FromLong((long)result);
5842 return resultobj;
5843 fail:
5844 return NULL;
5845 }
5846
5847
5848 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5849 PyObject *resultobj;
5850 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5851 int arg2 ;
5852 PyObject * obj0 = 0 ;
5853 char *kwnames[] = {
5854 (char *) "self",(char *) "width", NULL
5855 };
5856
5857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetExtraBorderSize",kwnames,&obj0,&arg2)) goto fail;
5858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5859 {
5860 PyThreadState* __tstate = wxPyBeginAllowThreads();
5861 (arg1)->SetExtraBorderSize(arg2);
5862
5863 wxPyEndAllowThreads(__tstate);
5864 if (PyErr_Occurred()) SWIG_fail;
5865 }
5866 Py_INCREF(Py_None); resultobj = Py_None;
5867 return resultobj;
5868 fail:
5869 return NULL;
5870 }
5871
5872
5873 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5874 PyObject *resultobj;
5875 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5876 int result;
5877 PyObject * obj0 = 0 ;
5878 char *kwnames[] = {
5879 (char *) "self", NULL
5880 };
5881
5882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
5883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5884 {
5885 PyThreadState* __tstate = wxPyBeginAllowThreads();
5886 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
5887
5888 wxPyEndAllowThreads(__tstate);
5889 if (PyErr_Occurred()) SWIG_fail;
5890 }
5891 resultobj = PyInt_FromLong((long)result);
5892 return resultobj;
5893 fail:
5894 return NULL;
5895 }
5896
5897
5898 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
5899 PyObject *resultobj;
5900 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5901 int arg2 ;
5902 PyObject * obj0 = 0 ;
5903 char *kwnames[] = {
5904 (char *) "self",(char *) "min", NULL
5905 };
5906
5907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeX",kwnames,&obj0,&arg2)) goto fail;
5908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5909 {
5910 PyThreadState* __tstate = wxPyBeginAllowThreads();
5911 (arg1)->SetMinimumSizeX(arg2);
5912
5913 wxPyEndAllowThreads(__tstate);
5914 if (PyErr_Occurred()) SWIG_fail;
5915 }
5916 Py_INCREF(Py_None); resultobj = Py_None;
5917 return resultobj;
5918 fail:
5919 return NULL;
5920 }
5921
5922
5923 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
5924 PyObject *resultobj;
5925 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5926 int arg2 ;
5927 PyObject * obj0 = 0 ;
5928 char *kwnames[] = {
5929 (char *) "self",(char *) "min", NULL
5930 };
5931
5932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeY",kwnames,&obj0,&arg2)) goto fail;
5933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5934 {
5935 PyThreadState* __tstate = wxPyBeginAllowThreads();
5936 (arg1)->SetMinimumSizeY(arg2);
5937
5938 wxPyEndAllowThreads(__tstate);
5939 if (PyErr_Occurred()) SWIG_fail;
5940 }
5941 Py_INCREF(Py_None); resultobj = Py_None;
5942 return resultobj;
5943 fail:
5944 return NULL;
5945 }
5946
5947
5948 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
5949 PyObject *resultobj;
5950 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5951 int result;
5952 PyObject * obj0 = 0 ;
5953 char *kwnames[] = {
5954 (char *) "self", NULL
5955 };
5956
5957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
5958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5959 {
5960 PyThreadState* __tstate = wxPyBeginAllowThreads();
5961 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
5962
5963 wxPyEndAllowThreads(__tstate);
5964 if (PyErr_Occurred()) SWIG_fail;
5965 }
5966 resultobj = PyInt_FromLong((long)result);
5967 return resultobj;
5968 fail:
5969 return NULL;
5970 }
5971
5972
5973 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
5974 PyObject *resultobj;
5975 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5976 int result;
5977 PyObject * obj0 = 0 ;
5978 char *kwnames[] = {
5979 (char *) "self", NULL
5980 };
5981
5982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
5983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5984 {
5985 PyThreadState* __tstate = wxPyBeginAllowThreads();
5986 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
5987
5988 wxPyEndAllowThreads(__tstate);
5989 if (PyErr_Occurred()) SWIG_fail;
5990 }
5991 resultobj = PyInt_FromLong((long)result);
5992 return resultobj;
5993 fail:
5994 return NULL;
5995 }
5996
5997
5998 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
5999 PyObject *resultobj;
6000 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6001 int arg2 ;
6002 PyObject * obj0 = 0 ;
6003 char *kwnames[] = {
6004 (char *) "self",(char *) "max", NULL
6005 };
6006
6007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeX",kwnames,&obj0,&arg2)) goto fail;
6008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6009 {
6010 PyThreadState* __tstate = wxPyBeginAllowThreads();
6011 (arg1)->SetMaximumSizeX(arg2);
6012
6013 wxPyEndAllowThreads(__tstate);
6014 if (PyErr_Occurred()) SWIG_fail;
6015 }
6016 Py_INCREF(Py_None); resultobj = Py_None;
6017 return resultobj;
6018 fail:
6019 return NULL;
6020 }
6021
6022
6023 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6024 PyObject *resultobj;
6025 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6026 int arg2 ;
6027 PyObject * obj0 = 0 ;
6028 char *kwnames[] = {
6029 (char *) "self",(char *) "max", NULL
6030 };
6031
6032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeY",kwnames,&obj0,&arg2)) goto fail;
6033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6034 {
6035 PyThreadState* __tstate = wxPyBeginAllowThreads();
6036 (arg1)->SetMaximumSizeY(arg2);
6037
6038 wxPyEndAllowThreads(__tstate);
6039 if (PyErr_Occurred()) SWIG_fail;
6040 }
6041 Py_INCREF(Py_None); resultobj = Py_None;
6042 return resultobj;
6043 fail:
6044 return NULL;
6045 }
6046
6047
6048 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6049 PyObject *resultobj;
6050 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6051 int result;
6052 PyObject * obj0 = 0 ;
6053 char *kwnames[] = {
6054 (char *) "self", NULL
6055 };
6056
6057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
6058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6059 {
6060 PyThreadState* __tstate = wxPyBeginAllowThreads();
6061 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
6062
6063 wxPyEndAllowThreads(__tstate);
6064 if (PyErr_Occurred()) SWIG_fail;
6065 }
6066 resultobj = PyInt_FromLong((long)result);
6067 return resultobj;
6068 fail:
6069 return NULL;
6070 }
6071
6072
6073 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6074 PyObject *resultobj;
6075 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6076 int result;
6077 PyObject * obj0 = 0 ;
6078 char *kwnames[] = {
6079 (char *) "self", NULL
6080 };
6081
6082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
6083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6084 {
6085 PyThreadState* __tstate = wxPyBeginAllowThreads();
6086 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
6087
6088 wxPyEndAllowThreads(__tstate);
6089 if (PyErr_Occurred()) SWIG_fail;
6090 }
6091 resultobj = PyInt_FromLong((long)result);
6092 return resultobj;
6093 fail:
6094 return NULL;
6095 }
6096
6097
6098 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6099 PyObject *resultobj;
6100 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6101 int arg2 ;
6102 int arg3 ;
6103 int arg4 = (int) 2 ;
6104 int result;
6105 PyObject * obj0 = 0 ;
6106 char *kwnames[] = {
6107 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6108 };
6109
6110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SashWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
6111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6112 {
6113 PyThreadState* __tstate = wxPyBeginAllowThreads();
6114 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
6115
6116 wxPyEndAllowThreads(__tstate);
6117 if (PyErr_Occurred()) SWIG_fail;
6118 }
6119 resultobj = PyInt_FromLong((long)result);
6120 return resultobj;
6121 fail:
6122 return NULL;
6123 }
6124
6125
6126 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6127 PyObject *resultobj;
6128 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6129 PyObject * obj0 = 0 ;
6130 char *kwnames[] = {
6131 (char *) "self", NULL
6132 };
6133
6134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
6135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6136 {
6137 PyThreadState* __tstate = wxPyBeginAllowThreads();
6138 (arg1)->SizeWindows();
6139
6140 wxPyEndAllowThreads(__tstate);
6141 if (PyErr_Occurred()) SWIG_fail;
6142 }
6143 Py_INCREF(Py_None); resultobj = Py_None;
6144 return resultobj;
6145 fail:
6146 return NULL;
6147 }
6148
6149
6150 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
6151 PyObject *obj;
6152 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6153 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
6154 Py_INCREF(obj);
6155 return Py_BuildValue((char *)"");
6156 }
6157 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6158 PyObject *resultobj;
6159 int arg1 = (int) 0 ;
6160 int arg2 = (int) wxSASH_NONE ;
6161 wxSashEvent *result;
6162 char *kwnames[] = {
6163 (char *) "id",(char *) "edge", NULL
6164 };
6165
6166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_SashEvent",kwnames,&arg1,&arg2)) goto fail;
6167 {
6168 PyThreadState* __tstate = wxPyBeginAllowThreads();
6169 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
6170
6171 wxPyEndAllowThreads(__tstate);
6172 if (PyErr_Occurred()) SWIG_fail;
6173 }
6174 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashEvent, 1);
6175 return resultobj;
6176 fail:
6177 return NULL;
6178 }
6179
6180
6181 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6182 PyObject *resultobj;
6183 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6184 int arg2 ;
6185 PyObject * obj0 = 0 ;
6186 char *kwnames[] = {
6187 (char *) "self",(char *) "edge", NULL
6188 };
6189
6190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetEdge",kwnames,&obj0,&arg2)) goto fail;
6191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6192 {
6193 PyThreadState* __tstate = wxPyBeginAllowThreads();
6194 (arg1)->SetEdge((wxSashEdgePosition )arg2);
6195
6196 wxPyEndAllowThreads(__tstate);
6197 if (PyErr_Occurred()) SWIG_fail;
6198 }
6199 Py_INCREF(Py_None); resultobj = Py_None;
6200 return resultobj;
6201 fail:
6202 return NULL;
6203 }
6204
6205
6206 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6207 PyObject *resultobj;
6208 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6209 int result;
6210 PyObject * obj0 = 0 ;
6211 char *kwnames[] = {
6212 (char *) "self", NULL
6213 };
6214
6215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
6216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6217 {
6218 PyThreadState* __tstate = wxPyBeginAllowThreads();
6219 result = (int)((wxSashEvent const *)arg1)->GetEdge();
6220
6221 wxPyEndAllowThreads(__tstate);
6222 if (PyErr_Occurred()) SWIG_fail;
6223 }
6224 resultobj = PyInt_FromLong((long)result);
6225 return resultobj;
6226 fail:
6227 return NULL;
6228 }
6229
6230
6231 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6232 PyObject *resultobj;
6233 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6234 wxRect *arg2 = 0 ;
6235 wxRect temp2 ;
6236 PyObject * obj0 = 0 ;
6237 PyObject * obj1 = 0 ;
6238 char *kwnames[] = {
6239 (char *) "self",(char *) "rect", NULL
6240 };
6241
6242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
6243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6244 {
6245 arg2 = &temp2;
6246 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6247 }
6248 {
6249 PyThreadState* __tstate = wxPyBeginAllowThreads();
6250 (arg1)->SetDragRect((wxRect const &)*arg2);
6251
6252 wxPyEndAllowThreads(__tstate);
6253 if (PyErr_Occurred()) SWIG_fail;
6254 }
6255 Py_INCREF(Py_None); resultobj = Py_None;
6256 return resultobj;
6257 fail:
6258 return NULL;
6259 }
6260
6261
6262 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6263 PyObject *resultobj;
6264 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6265 wxRect result;
6266 PyObject * obj0 = 0 ;
6267 char *kwnames[] = {
6268 (char *) "self", NULL
6269 };
6270
6271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
6272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6273 {
6274 PyThreadState* __tstate = wxPyBeginAllowThreads();
6275 result = ((wxSashEvent const *)arg1)->GetDragRect();
6276
6277 wxPyEndAllowThreads(__tstate);
6278 if (PyErr_Occurred()) SWIG_fail;
6279 }
6280 {
6281 wxRect * resultptr;
6282 resultptr = new wxRect((wxRect &) result);
6283 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
6284 }
6285 return resultobj;
6286 fail:
6287 return NULL;
6288 }
6289
6290
6291 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6292 PyObject *resultobj;
6293 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6294 int arg2 ;
6295 PyObject * obj0 = 0 ;
6296 char *kwnames[] = {
6297 (char *) "self",(char *) "status", NULL
6298 };
6299
6300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetDragStatus",kwnames,&obj0,&arg2)) goto fail;
6301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6302 {
6303 PyThreadState* __tstate = wxPyBeginAllowThreads();
6304 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
6305
6306 wxPyEndAllowThreads(__tstate);
6307 if (PyErr_Occurred()) SWIG_fail;
6308 }
6309 Py_INCREF(Py_None); resultobj = Py_None;
6310 return resultobj;
6311 fail:
6312 return NULL;
6313 }
6314
6315
6316 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6317 PyObject *resultobj;
6318 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6319 int result;
6320 PyObject * obj0 = 0 ;
6321 char *kwnames[] = {
6322 (char *) "self", NULL
6323 };
6324
6325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
6326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6327 {
6328 PyThreadState* __tstate = wxPyBeginAllowThreads();
6329 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
6330
6331 wxPyEndAllowThreads(__tstate);
6332 if (PyErr_Occurred()) SWIG_fail;
6333 }
6334 resultobj = PyInt_FromLong((long)result);
6335 return resultobj;
6336 fail:
6337 return NULL;
6338 }
6339
6340
6341 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
6342 PyObject *obj;
6343 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6344 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
6345 Py_INCREF(obj);
6346 return Py_BuildValue((char *)"");
6347 }
6348 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6349 PyObject *resultobj;
6350 int arg1 = (int) 0 ;
6351 wxQueryLayoutInfoEvent *result;
6352 char *kwnames[] = {
6353 (char *) "id", NULL
6354 };
6355
6356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_QueryLayoutInfoEvent",kwnames,&arg1)) goto fail;
6357 {
6358 PyThreadState* __tstate = wxPyBeginAllowThreads();
6359 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
6360
6361 wxPyEndAllowThreads(__tstate);
6362 if (PyErr_Occurred()) SWIG_fail;
6363 }
6364 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
6365 return resultobj;
6366 fail:
6367 return NULL;
6368 }
6369
6370
6371 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6372 PyObject *resultobj;
6373 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6374 int arg2 ;
6375 PyObject * obj0 = 0 ;
6376 char *kwnames[] = {
6377 (char *) "self",(char *) "length", NULL
6378 };
6379
6380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&arg2)) goto fail;
6381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6382 {
6383 PyThreadState* __tstate = wxPyBeginAllowThreads();
6384 (arg1)->SetRequestedLength(arg2);
6385
6386 wxPyEndAllowThreads(__tstate);
6387 if (PyErr_Occurred()) SWIG_fail;
6388 }
6389 Py_INCREF(Py_None); resultobj = Py_None;
6390 return resultobj;
6391 fail:
6392 return NULL;
6393 }
6394
6395
6396 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6397 PyObject *resultobj;
6398 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6399 int result;
6400 PyObject * obj0 = 0 ;
6401 char *kwnames[] = {
6402 (char *) "self", NULL
6403 };
6404
6405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
6406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6407 {
6408 PyThreadState* __tstate = wxPyBeginAllowThreads();
6409 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
6410
6411 wxPyEndAllowThreads(__tstate);
6412 if (PyErr_Occurred()) SWIG_fail;
6413 }
6414 resultobj = PyInt_FromLong((long)result);
6415 return resultobj;
6416 fail:
6417 return NULL;
6418 }
6419
6420
6421 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6422 PyObject *resultobj;
6423 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6424 int arg2 ;
6425 PyObject * obj0 = 0 ;
6426 char *kwnames[] = {
6427 (char *) "self",(char *) "flags", NULL
6428 };
6429
6430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6432 {
6433 PyThreadState* __tstate = wxPyBeginAllowThreads();
6434 (arg1)->SetFlags(arg2);
6435
6436 wxPyEndAllowThreads(__tstate);
6437 if (PyErr_Occurred()) SWIG_fail;
6438 }
6439 Py_INCREF(Py_None); resultobj = Py_None;
6440 return resultobj;
6441 fail:
6442 return NULL;
6443 }
6444
6445
6446 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6447 PyObject *resultobj;
6448 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6449 int result;
6450 PyObject * obj0 = 0 ;
6451 char *kwnames[] = {
6452 (char *) "self", NULL
6453 };
6454
6455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
6456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6457 {
6458 PyThreadState* __tstate = wxPyBeginAllowThreads();
6459 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
6460
6461 wxPyEndAllowThreads(__tstate);
6462 if (PyErr_Occurred()) SWIG_fail;
6463 }
6464 resultobj = PyInt_FromLong((long)result);
6465 return resultobj;
6466 fail:
6467 return NULL;
6468 }
6469
6470
6471 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6472 PyObject *resultobj;
6473 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6474 wxSize *arg2 = 0 ;
6475 wxSize temp2 ;
6476 PyObject * obj0 = 0 ;
6477 PyObject * obj1 = 0 ;
6478 char *kwnames[] = {
6479 (char *) "self",(char *) "size", NULL
6480 };
6481
6482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
6483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6484 {
6485 arg2 = &temp2;
6486 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
6487 }
6488 {
6489 PyThreadState* __tstate = wxPyBeginAllowThreads();
6490 (arg1)->SetSize((wxSize const &)*arg2);
6491
6492 wxPyEndAllowThreads(__tstate);
6493 if (PyErr_Occurred()) SWIG_fail;
6494 }
6495 Py_INCREF(Py_None); resultobj = Py_None;
6496 return resultobj;
6497 fail:
6498 return NULL;
6499 }
6500
6501
6502 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6503 PyObject *resultobj;
6504 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6505 wxSize result;
6506 PyObject * obj0 = 0 ;
6507 char *kwnames[] = {
6508 (char *) "self", NULL
6509 };
6510
6511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
6512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6513 {
6514 PyThreadState* __tstate = wxPyBeginAllowThreads();
6515 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
6516
6517 wxPyEndAllowThreads(__tstate);
6518 if (PyErr_Occurred()) SWIG_fail;
6519 }
6520 {
6521 wxSize * resultptr;
6522 resultptr = new wxSize((wxSize &) result);
6523 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
6524 }
6525 return resultobj;
6526 fail:
6527 return NULL;
6528 }
6529
6530
6531 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6532 PyObject *resultobj;
6533 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6534 int arg2 ;
6535 PyObject * obj0 = 0 ;
6536 char *kwnames[] = {
6537 (char *) "self",(char *) "orient", NULL
6538 };
6539
6540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
6541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6542 {
6543 PyThreadState* __tstate = wxPyBeginAllowThreads();
6544 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
6545
6546 wxPyEndAllowThreads(__tstate);
6547 if (PyErr_Occurred()) SWIG_fail;
6548 }
6549 Py_INCREF(Py_None); resultobj = Py_None;
6550 return resultobj;
6551 fail:
6552 return NULL;
6553 }
6554
6555
6556 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6557 PyObject *resultobj;
6558 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6559 int result;
6560 PyObject * obj0 = 0 ;
6561 char *kwnames[] = {
6562 (char *) "self", NULL
6563 };
6564
6565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
6566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6567 {
6568 PyThreadState* __tstate = wxPyBeginAllowThreads();
6569 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
6570
6571 wxPyEndAllowThreads(__tstate);
6572 if (PyErr_Occurred()) SWIG_fail;
6573 }
6574 resultobj = PyInt_FromLong((long)result);
6575 return resultobj;
6576 fail:
6577 return NULL;
6578 }
6579
6580
6581 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6582 PyObject *resultobj;
6583 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6584 int arg2 ;
6585 PyObject * obj0 = 0 ;
6586 char *kwnames[] = {
6587 (char *) "self",(char *) "align", NULL
6588 };
6589
6590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
6591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6592 {
6593 PyThreadState* __tstate = wxPyBeginAllowThreads();
6594 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
6595
6596 wxPyEndAllowThreads(__tstate);
6597 if (PyErr_Occurred()) SWIG_fail;
6598 }
6599 Py_INCREF(Py_None); resultobj = Py_None;
6600 return resultobj;
6601 fail:
6602 return NULL;
6603 }
6604
6605
6606 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6607 PyObject *resultobj;
6608 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6609 int result;
6610 PyObject * obj0 = 0 ;
6611 char *kwnames[] = {
6612 (char *) "self", NULL
6613 };
6614
6615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
6616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6617 {
6618 PyThreadState* __tstate = wxPyBeginAllowThreads();
6619 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
6620
6621 wxPyEndAllowThreads(__tstate);
6622 if (PyErr_Occurred()) SWIG_fail;
6623 }
6624 resultobj = PyInt_FromLong((long)result);
6625 return resultobj;
6626 fail:
6627 return NULL;
6628 }
6629
6630
6631 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
6632 PyObject *obj;
6633 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6634 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
6635 Py_INCREF(obj);
6636 return Py_BuildValue((char *)"");
6637 }
6638 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6639 PyObject *resultobj;
6640 int arg1 = (int) 0 ;
6641 wxCalculateLayoutEvent *result;
6642 char *kwnames[] = {
6643 (char *) "id", NULL
6644 };
6645
6646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_CalculateLayoutEvent",kwnames,&arg1)) goto fail;
6647 {
6648 PyThreadState* __tstate = wxPyBeginAllowThreads();
6649 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
6650
6651 wxPyEndAllowThreads(__tstate);
6652 if (PyErr_Occurred()) SWIG_fail;
6653 }
6654 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCalculateLayoutEvent, 1);
6655 return resultobj;
6656 fail:
6657 return NULL;
6658 }
6659
6660
6661 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6662 PyObject *resultobj;
6663 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6664 int arg2 ;
6665 PyObject * obj0 = 0 ;
6666 char *kwnames[] = {
6667 (char *) "self",(char *) "flags", NULL
6668 };
6669
6670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6672 {
6673 PyThreadState* __tstate = wxPyBeginAllowThreads();
6674 (arg1)->SetFlags(arg2);
6675
6676 wxPyEndAllowThreads(__tstate);
6677 if (PyErr_Occurred()) SWIG_fail;
6678 }
6679 Py_INCREF(Py_None); resultobj = Py_None;
6680 return resultobj;
6681 fail:
6682 return NULL;
6683 }
6684
6685
6686 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6687 PyObject *resultobj;
6688 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6689 int result;
6690 PyObject * obj0 = 0 ;
6691 char *kwnames[] = {
6692 (char *) "self", NULL
6693 };
6694
6695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
6696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6697 {
6698 PyThreadState* __tstate = wxPyBeginAllowThreads();
6699 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
6700
6701 wxPyEndAllowThreads(__tstate);
6702 if (PyErr_Occurred()) SWIG_fail;
6703 }
6704 resultobj = PyInt_FromLong((long)result);
6705 return resultobj;
6706 fail:
6707 return NULL;
6708 }
6709
6710
6711 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6712 PyObject *resultobj;
6713 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6714 wxRect *arg2 = 0 ;
6715 wxRect temp2 ;
6716 PyObject * obj0 = 0 ;
6717 PyObject * obj1 = 0 ;
6718 char *kwnames[] = {
6719 (char *) "self",(char *) "rect", NULL
6720 };
6721
6722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
6723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6724 {
6725 arg2 = &temp2;
6726 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6727 }
6728 {
6729 PyThreadState* __tstate = wxPyBeginAllowThreads();
6730 (arg1)->SetRect((wxRect const &)*arg2);
6731
6732 wxPyEndAllowThreads(__tstate);
6733 if (PyErr_Occurred()) SWIG_fail;
6734 }
6735 Py_INCREF(Py_None); resultobj = Py_None;
6736 return resultobj;
6737 fail:
6738 return NULL;
6739 }
6740
6741
6742 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6743 PyObject *resultobj;
6744 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6745 wxRect result;
6746 PyObject * obj0 = 0 ;
6747 char *kwnames[] = {
6748 (char *) "self", NULL
6749 };
6750
6751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
6752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6753 {
6754 PyThreadState* __tstate = wxPyBeginAllowThreads();
6755 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
6756
6757 wxPyEndAllowThreads(__tstate);
6758 if (PyErr_Occurred()) SWIG_fail;
6759 }
6760 {
6761 wxRect * resultptr;
6762 resultptr = new wxRect((wxRect &) result);
6763 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
6764 }
6765 return resultobj;
6766 fail:
6767 return NULL;
6768 }
6769
6770
6771 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
6772 PyObject *obj;
6773 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6774 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
6775 Py_INCREF(obj);
6776 return Py_BuildValue((char *)"");
6777 }
6778 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6779 PyObject *resultobj;
6780 wxWindow *arg1 = (wxWindow *) 0 ;
6781 int arg2 ;
6782 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6783 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6784 wxSize const &arg4_defvalue = wxDefaultSize ;
6785 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6786 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6787 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
6788 wxString *arg6 = (wxString *) &arg6_defvalue ;
6789 wxSashLayoutWindow *result;
6790 wxPoint temp3 ;
6791 wxSize temp4 ;
6792 bool temp6 = False ;
6793 PyObject * obj0 = 0 ;
6794 PyObject * obj2 = 0 ;
6795 PyObject * obj3 = 0 ;
6796 PyObject * obj5 = 0 ;
6797 char *kwnames[] = {
6798 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6799 };
6800
6801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashLayoutWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
6802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6803 if (obj2) {
6804 {
6805 arg3 = &temp3;
6806 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6807 }
6808 }
6809 if (obj3) {
6810 {
6811 arg4 = &temp4;
6812 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6813 }
6814 }
6815 if (obj5) {
6816 {
6817 arg6 = wxString_in_helper(obj5);
6818 if (arg6 == NULL) SWIG_fail;
6819 temp6 = True;
6820 }
6821 }
6822 {
6823 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6825
6826 wxPyEndAllowThreads(__tstate);
6827 if (PyErr_Occurred()) SWIG_fail;
6828 }
6829 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
6830 {
6831 if (temp6)
6832 delete arg6;
6833 }
6834 return resultobj;
6835 fail:
6836 {
6837 if (temp6)
6838 delete arg6;
6839 }
6840 return NULL;
6841 }
6842
6843
6844 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6845 PyObject *resultobj;
6846 wxSashLayoutWindow *result;
6847 char *kwnames[] = {
6848 NULL
6849 };
6850
6851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
6852 {
6853 PyThreadState* __tstate = wxPyBeginAllowThreads();
6854 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
6855
6856 wxPyEndAllowThreads(__tstate);
6857 if (PyErr_Occurred()) SWIG_fail;
6858 }
6859 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
6860 return resultobj;
6861 fail:
6862 return NULL;
6863 }
6864
6865
6866 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6867 PyObject *resultobj;
6868 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
6869 wxWindow *arg2 = (wxWindow *) 0 ;
6870 int arg3 ;
6871 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6872 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6873 wxSize const &arg5_defvalue = wxDefaultSize ;
6874 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6875 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6876 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
6877 wxString *arg7 = (wxString *) &arg7_defvalue ;
6878 bool result;
6879 wxPoint temp4 ;
6880 wxSize temp5 ;
6881 bool temp7 = False ;
6882 PyObject * obj0 = 0 ;
6883 PyObject * obj1 = 0 ;
6884 PyObject * obj3 = 0 ;
6885 PyObject * obj4 = 0 ;
6886 PyObject * obj6 = 0 ;
6887 char *kwnames[] = {
6888 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6889 };
6890
6891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
6892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6893 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6894 if (obj3) {
6895 {
6896 arg4 = &temp4;
6897 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6898 }
6899 }
6900 if (obj4) {
6901 {
6902 arg5 = &temp5;
6903 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6904 }
6905 }
6906 if (obj6) {
6907 {
6908 arg7 = wxString_in_helper(obj6);
6909 if (arg7 == NULL) SWIG_fail;
6910 temp7 = True;
6911 }
6912 }
6913 {
6914 PyThreadState* __tstate = wxPyBeginAllowThreads();
6915 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6916
6917 wxPyEndAllowThreads(__tstate);
6918 if (PyErr_Occurred()) SWIG_fail;
6919 }
6920 resultobj = PyInt_FromLong((long)result);
6921 {
6922 if (temp7)
6923 delete arg7;
6924 }
6925 return resultobj;
6926 fail:
6927 {
6928 if (temp7)
6929 delete arg7;
6930 }
6931 return NULL;
6932 }
6933
6934
6935 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6936 PyObject *resultobj;
6937 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
6938 int result;
6939 PyObject * obj0 = 0 ;
6940 char *kwnames[] = {
6941 (char *) "self", NULL
6942 };
6943
6944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
6945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6946 {
6947 PyThreadState* __tstate = wxPyBeginAllowThreads();
6948 result = (int)(arg1)->GetAlignment();
6949
6950 wxPyEndAllowThreads(__tstate);
6951 if (PyErr_Occurred()) SWIG_fail;
6952 }
6953 resultobj = PyInt_FromLong((long)result);
6954 return resultobj;
6955 fail:
6956 return NULL;
6957 }
6958
6959
6960 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6961 PyObject *resultobj;
6962 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
6963 int result;
6964 PyObject * obj0 = 0 ;
6965 char *kwnames[] = {
6966 (char *) "self", NULL
6967 };
6968
6969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
6970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6971 {
6972 PyThreadState* __tstate = wxPyBeginAllowThreads();
6973 result = (int)(arg1)->GetOrientation();
6974
6975 wxPyEndAllowThreads(__tstate);
6976 if (PyErr_Occurred()) SWIG_fail;
6977 }
6978 resultobj = PyInt_FromLong((long)result);
6979 return resultobj;
6980 fail:
6981 return NULL;
6982 }
6983
6984
6985 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6986 PyObject *resultobj;
6987 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
6988 int arg2 ;
6989 PyObject * obj0 = 0 ;
6990 char *kwnames[] = {
6991 (char *) "self",(char *) "alignment", NULL
6992 };
6993
6994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
6995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6996 {
6997 PyThreadState* __tstate = wxPyBeginAllowThreads();
6998 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
6999
7000 wxPyEndAllowThreads(__tstate);
7001 if (PyErr_Occurred()) SWIG_fail;
7002 }
7003 Py_INCREF(Py_None); resultobj = Py_None;
7004 return resultobj;
7005 fail:
7006 return NULL;
7007 }
7008
7009
7010 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7011 PyObject *resultobj;
7012 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7013 wxSize *arg2 = 0 ;
7014 wxSize temp2 ;
7015 PyObject * obj0 = 0 ;
7016 PyObject * obj1 = 0 ;
7017 char *kwnames[] = {
7018 (char *) "self",(char *) "size", NULL
7019 };
7020
7021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
7022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7023 {
7024 arg2 = &temp2;
7025 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7026 }
7027 {
7028 PyThreadState* __tstate = wxPyBeginAllowThreads();
7029 (arg1)->SetDefaultSize((wxSize const &)*arg2);
7030
7031 wxPyEndAllowThreads(__tstate);
7032 if (PyErr_Occurred()) SWIG_fail;
7033 }
7034 Py_INCREF(Py_None); resultobj = Py_None;
7035 return resultobj;
7036 fail:
7037 return NULL;
7038 }
7039
7040
7041 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7042 PyObject *resultobj;
7043 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7044 int arg2 ;
7045 PyObject * obj0 = 0 ;
7046 char *kwnames[] = {
7047 (char *) "self",(char *) "orientation", NULL
7048 };
7049
7050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
7051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7052 {
7053 PyThreadState* __tstate = wxPyBeginAllowThreads();
7054 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7055
7056 wxPyEndAllowThreads(__tstate);
7057 if (PyErr_Occurred()) SWIG_fail;
7058 }
7059 Py_INCREF(Py_None); resultobj = Py_None;
7060 return resultobj;
7061 fail:
7062 return NULL;
7063 }
7064
7065
7066 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
7067 PyObject *obj;
7068 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7069 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
7070 Py_INCREF(obj);
7071 return Py_BuildValue((char *)"");
7072 }
7073 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7074 PyObject *resultobj;
7075 wxLayoutAlgorithm *result;
7076 char *kwnames[] = {
7077 NULL
7078 };
7079
7080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
7081 {
7082 PyThreadState* __tstate = wxPyBeginAllowThreads();
7083 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
7084
7085 wxPyEndAllowThreads(__tstate);
7086 if (PyErr_Occurred()) SWIG_fail;
7087 }
7088 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutAlgorithm, 1);
7089 return resultobj;
7090 fail:
7091 return NULL;
7092 }
7093
7094
7095 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7096 PyObject *resultobj;
7097 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7098 PyObject * obj0 = 0 ;
7099 char *kwnames[] = {
7100 (char *) "self", NULL
7101 };
7102
7103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
7104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7105 {
7106 PyThreadState* __tstate = wxPyBeginAllowThreads();
7107 delete arg1;
7108
7109 wxPyEndAllowThreads(__tstate);
7110 if (PyErr_Occurred()) SWIG_fail;
7111 }
7112 Py_INCREF(Py_None); resultobj = Py_None;
7113 return resultobj;
7114 fail:
7115 return NULL;
7116 }
7117
7118
7119 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7120 PyObject *resultobj;
7121 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7122 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
7123 wxRect *arg3 = (wxRect *) NULL ;
7124 bool result;
7125 PyObject * obj0 = 0 ;
7126 PyObject * obj1 = 0 ;
7127 PyObject * obj2 = 0 ;
7128 char *kwnames[] = {
7129 (char *) "self",(char *) "frame",(char *) "rect", NULL
7130 };
7131
7132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7134 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7135 if (obj2) {
7136 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7137 }
7138 {
7139 PyThreadState* __tstate = wxPyBeginAllowThreads();
7140 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
7141
7142 wxPyEndAllowThreads(__tstate);
7143 if (PyErr_Occurred()) SWIG_fail;
7144 }
7145 resultobj = PyInt_FromLong((long)result);
7146 return resultobj;
7147 fail:
7148 return NULL;
7149 }
7150
7151
7152 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7153 PyObject *resultobj;
7154 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7155 wxFrame *arg2 = (wxFrame *) 0 ;
7156 wxWindow *arg3 = (wxWindow *) NULL ;
7157 bool result;
7158 PyObject * obj0 = 0 ;
7159 PyObject * obj1 = 0 ;
7160 PyObject * obj2 = 0 ;
7161 char *kwnames[] = {
7162 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
7163 };
7164
7165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7167 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7168 if (obj2) {
7169 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7170 }
7171 {
7172 PyThreadState* __tstate = wxPyBeginAllowThreads();
7173 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
7174
7175 wxPyEndAllowThreads(__tstate);
7176 if (PyErr_Occurred()) SWIG_fail;
7177 }
7178 resultobj = PyInt_FromLong((long)result);
7179 return resultobj;
7180 fail:
7181 return NULL;
7182 }
7183
7184
7185 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7186 PyObject *resultobj;
7187 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7188 wxWindow *arg2 = (wxWindow *) 0 ;
7189 wxWindow *arg3 = (wxWindow *) NULL ;
7190 bool result;
7191 PyObject * obj0 = 0 ;
7192 PyObject * obj1 = 0 ;
7193 PyObject * obj2 = 0 ;
7194 char *kwnames[] = {
7195 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
7196 };
7197
7198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
7199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7200 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7201 if (obj2) {
7202 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7203 }
7204 {
7205 PyThreadState* __tstate = wxPyBeginAllowThreads();
7206 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
7207
7208 wxPyEndAllowThreads(__tstate);
7209 if (PyErr_Occurred()) SWIG_fail;
7210 }
7211 resultobj = PyInt_FromLong((long)result);
7212 return resultobj;
7213 fail:
7214 return NULL;
7215 }
7216
7217
7218 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
7219 PyObject *obj;
7220 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7221 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
7222 Py_INCREF(obj);
7223 return Py_BuildValue((char *)"");
7224 }
7225 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7226 PyObject *resultobj;
7227 wxWindow *arg1 = (wxWindow *) 0 ;
7228 int arg2 = (int) wxBORDER_NONE ;
7229 wxPopupWindow *result;
7230 PyObject * obj0 = 0 ;
7231 char *kwnames[] = {
7232 (char *) "parent",(char *) "flags", NULL
7233 };
7234
7235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupWindow",kwnames,&obj0,&arg2)) goto fail;
7236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7237 {
7238 PyThreadState* __tstate = wxPyBeginAllowThreads();
7239 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
7240
7241 wxPyEndAllowThreads(__tstate);
7242 if (PyErr_Occurred()) SWIG_fail;
7243 }
7244 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7245 return resultobj;
7246 fail:
7247 return NULL;
7248 }
7249
7250
7251 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7252 PyObject *resultobj;
7253 wxPopupWindow *result;
7254 char *kwnames[] = {
7255 NULL
7256 };
7257
7258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
7259 {
7260 PyThreadState* __tstate = wxPyBeginAllowThreads();
7261 result = (wxPopupWindow *)new wxPopupWindow();
7262
7263 wxPyEndAllowThreads(__tstate);
7264 if (PyErr_Occurred()) SWIG_fail;
7265 }
7266 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7267 return resultobj;
7268 fail:
7269 return NULL;
7270 }
7271
7272
7273 static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7274 PyObject *resultobj;
7275 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
7276 wxWindow *arg2 = (wxWindow *) 0 ;
7277 int arg3 = (int) wxBORDER_NONE ;
7278 bool result;
7279 PyObject * obj0 = 0 ;
7280 PyObject * obj1 = 0 ;
7281 char *kwnames[] = {
7282 (char *) "self",(char *) "parent",(char *) "flags", NULL
7283 };
7284
7285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:PopupWindow_Create",kwnames,&obj0,&obj1,&arg3)) goto fail;
7286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7287 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7288 {
7289 PyThreadState* __tstate = wxPyBeginAllowThreads();
7290 result = (bool)(arg1)->Create(arg2,arg3);
7291
7292 wxPyEndAllowThreads(__tstate);
7293 if (PyErr_Occurred()) SWIG_fail;
7294 }
7295 resultobj = PyInt_FromLong((long)result);
7296 return resultobj;
7297 fail:
7298 return NULL;
7299 }
7300
7301
7302 static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
7303 PyObject *resultobj;
7304 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
7305 wxPoint *arg2 = 0 ;
7306 wxSize *arg3 = 0 ;
7307 wxPoint temp2 ;
7308 wxSize temp3 ;
7309 PyObject * obj0 = 0 ;
7310 PyObject * obj1 = 0 ;
7311 PyObject * obj2 = 0 ;
7312 char *kwnames[] = {
7313 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
7314 };
7315
7316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
7317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7318 {
7319 arg2 = &temp2;
7320 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7321 }
7322 {
7323 arg3 = &temp3;
7324 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
7325 }
7326 {
7327 PyThreadState* __tstate = wxPyBeginAllowThreads();
7328 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
7329
7330 wxPyEndAllowThreads(__tstate);
7331 if (PyErr_Occurred()) SWIG_fail;
7332 }
7333 Py_INCREF(Py_None); resultobj = Py_None;
7334 return resultobj;
7335 fail:
7336 return NULL;
7337 }
7338
7339
7340 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
7341 PyObject *obj;
7342 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7343 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
7344 Py_INCREF(obj);
7345 return Py_BuildValue((char *)"");
7346 }
7347 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7348 PyObject *resultobj;
7349 wxWindow *arg1 = (wxWindow *) 0 ;
7350 int arg2 = (int) wxBORDER_NONE ;
7351 wxPyPopupTransientWindow *result;
7352 PyObject * obj0 = 0 ;
7353 char *kwnames[] = {
7354 (char *) "parent",(char *) "style", NULL
7355 };
7356
7357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupTransientWindow",kwnames,&obj0,&arg2)) goto fail;
7358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7359 {
7360 PyThreadState* __tstate = wxPyBeginAllowThreads();
7361 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
7362
7363 wxPyEndAllowThreads(__tstate);
7364 if (PyErr_Occurred()) SWIG_fail;
7365 }
7366 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7367 return resultobj;
7368 fail:
7369 return NULL;
7370 }
7371
7372
7373 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7374 PyObject *resultobj;
7375 wxPyPopupTransientWindow *result;
7376 char *kwnames[] = {
7377 NULL
7378 };
7379
7380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
7381 {
7382 PyThreadState* __tstate = wxPyBeginAllowThreads();
7383 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
7384
7385 wxPyEndAllowThreads(__tstate);
7386 if (PyErr_Occurred()) SWIG_fail;
7387 }
7388 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7389 return resultobj;
7390 fail:
7391 return NULL;
7392 }
7393
7394
7395 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7396 PyObject *resultobj;
7397 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7398 PyObject *arg2 = (PyObject *) 0 ;
7399 PyObject *arg3 = (PyObject *) 0 ;
7400 PyObject * obj0 = 0 ;
7401 PyObject * obj1 = 0 ;
7402 PyObject * obj2 = 0 ;
7403 char *kwnames[] = {
7404 (char *) "self",(char *) "self",(char *) "_class", NULL
7405 };
7406
7407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7409 arg2 = obj1;
7410 arg3 = obj2;
7411 {
7412 PyThreadState* __tstate = wxPyBeginAllowThreads();
7413 (arg1)->_setCallbackInfo(arg2,arg3);
7414
7415 wxPyEndAllowThreads(__tstate);
7416 if (PyErr_Occurred()) SWIG_fail;
7417 }
7418 Py_INCREF(Py_None); resultobj = Py_None;
7419 return resultobj;
7420 fail:
7421 return NULL;
7422 }
7423
7424
7425 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
7426 PyObject *resultobj;
7427 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7428 wxWindow *arg2 = (wxWindow *) NULL ;
7429 PyObject * obj0 = 0 ;
7430 PyObject * obj1 = 0 ;
7431 char *kwnames[] = {
7432 (char *) "self",(char *) "focus", NULL
7433 };
7434
7435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
7436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7437 if (obj1) {
7438 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7439 }
7440 {
7441 PyThreadState* __tstate = wxPyBeginAllowThreads();
7442 (arg1)->Popup(arg2);
7443
7444 wxPyEndAllowThreads(__tstate);
7445 if (PyErr_Occurred()) SWIG_fail;
7446 }
7447 Py_INCREF(Py_None); resultobj = Py_None;
7448 return resultobj;
7449 fail:
7450 return NULL;
7451 }
7452
7453
7454 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
7455 PyObject *resultobj;
7456 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7457 PyObject * obj0 = 0 ;
7458 char *kwnames[] = {
7459 (char *) "self", NULL
7460 };
7461
7462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
7463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7464 {
7465 PyThreadState* __tstate = wxPyBeginAllowThreads();
7466 (arg1)->Dismiss();
7467
7468 wxPyEndAllowThreads(__tstate);
7469 if (PyErr_Occurred()) SWIG_fail;
7470 }
7471 Py_INCREF(Py_None); resultobj = Py_None;
7472 return resultobj;
7473 fail:
7474 return NULL;
7475 }
7476
7477
7478 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
7479 PyObject *obj;
7480 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7481 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
7482 Py_INCREF(obj);
7483 return Py_BuildValue((char *)"");
7484 }
7485 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7486 PyObject *resultobj;
7487 wxWindow *arg1 = (wxWindow *) 0 ;
7488 wxString *arg2 = 0 ;
7489 int arg3 = (int) 100 ;
7490 wxRect *arg4 = (wxRect *) NULL ;
7491 wxTipWindow *result;
7492 bool temp2 = False ;
7493 PyObject * obj0 = 0 ;
7494 PyObject * obj1 = 0 ;
7495 PyObject * obj3 = 0 ;
7496 char *kwnames[] = {
7497 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
7498 };
7499
7500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iO:new_TipWindow",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
7501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7502 {
7503 arg2 = wxString_in_helper(obj1);
7504 if (arg2 == NULL) SWIG_fail;
7505 temp2 = True;
7506 }
7507 if (obj3) {
7508 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7509 }
7510 {
7511 PyThreadState* __tstate = wxPyBeginAllowThreads();
7512 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
7513
7514 wxPyEndAllowThreads(__tstate);
7515 if (PyErr_Occurred()) SWIG_fail;
7516 }
7517 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipWindow, 1);
7518 {
7519 if (temp2)
7520 delete arg2;
7521 }
7522 return resultobj;
7523 fail:
7524 {
7525 if (temp2)
7526 delete arg2;
7527 }
7528 return NULL;
7529 }
7530
7531
7532 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7533 PyObject *resultobj;
7534 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7535 wxRect *arg2 = 0 ;
7536 wxRect temp2 ;
7537 PyObject * obj0 = 0 ;
7538 PyObject * obj1 = 0 ;
7539 char *kwnames[] = {
7540 (char *) "self",(char *) "rectBound", NULL
7541 };
7542
7543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
7544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7545 {
7546 arg2 = &temp2;
7547 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7548 }
7549 {
7550 PyThreadState* __tstate = wxPyBeginAllowThreads();
7551 (arg1)->SetBoundingRect((wxRect const &)*arg2);
7552
7553 wxPyEndAllowThreads(__tstate);
7554 if (PyErr_Occurred()) SWIG_fail;
7555 }
7556 Py_INCREF(Py_None); resultobj = Py_None;
7557 return resultobj;
7558 fail:
7559 return NULL;
7560 }
7561
7562
7563 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
7564 PyObject *resultobj;
7565 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7566 PyObject * obj0 = 0 ;
7567 char *kwnames[] = {
7568 (char *) "self", NULL
7569 };
7570
7571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
7572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7573 {
7574 PyThreadState* __tstate = wxPyBeginAllowThreads();
7575 (arg1)->Close();
7576
7577 wxPyEndAllowThreads(__tstate);
7578 if (PyErr_Occurred()) SWIG_fail;
7579 }
7580 Py_INCREF(Py_None); resultobj = Py_None;
7581 return resultobj;
7582 fail:
7583 return NULL;
7584 }
7585
7586
7587 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
7588 PyObject *obj;
7589 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7590 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
7591 Py_INCREF(obj);
7592 return Py_BuildValue((char *)"");
7593 }
7594 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7595 PyObject *resultobj;
7596 wxWindow *arg1 = (wxWindow *) 0 ;
7597 int arg2 = (int) wxID_ANY ;
7598 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7599 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7600 wxSize const &arg4_defvalue = wxDefaultSize ;
7601 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7602 long arg5 = (long) 0 ;
7603 wxString const &arg6_defvalue = wxPyPanelNameStr ;
7604 wxString *arg6 = (wxString *) &arg6_defvalue ;
7605 wxPyVScrolledWindow *result;
7606 wxPoint temp3 ;
7607 wxSize temp4 ;
7608 bool temp6 = False ;
7609 PyObject * obj0 = 0 ;
7610 PyObject * obj2 = 0 ;
7611 PyObject * obj3 = 0 ;
7612 PyObject * obj5 = 0 ;
7613 char *kwnames[] = {
7614 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7615 };
7616
7617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
7618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7619 if (obj2) {
7620 {
7621 arg3 = &temp3;
7622 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7623 }
7624 }
7625 if (obj3) {
7626 {
7627 arg4 = &temp4;
7628 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7629 }
7630 }
7631 if (obj5) {
7632 {
7633 arg6 = wxString_in_helper(obj5);
7634 if (arg6 == NULL) SWIG_fail;
7635 temp6 = True;
7636 }
7637 }
7638 {
7639 PyThreadState* __tstate = wxPyBeginAllowThreads();
7640 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7641
7642 wxPyEndAllowThreads(__tstate);
7643 if (PyErr_Occurred()) SWIG_fail;
7644 }
7645 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
7646 {
7647 if (temp6)
7648 delete arg6;
7649 }
7650 return resultobj;
7651 fail:
7652 {
7653 if (temp6)
7654 delete arg6;
7655 }
7656 return NULL;
7657 }
7658
7659
7660 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7661 PyObject *resultobj;
7662 wxPyVScrolledWindow *result;
7663 char *kwnames[] = {
7664 NULL
7665 };
7666
7667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
7668 {
7669 PyThreadState* __tstate = wxPyBeginAllowThreads();
7670 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
7671
7672 wxPyEndAllowThreads(__tstate);
7673 if (PyErr_Occurred()) SWIG_fail;
7674 }
7675 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
7676 return resultobj;
7677 fail:
7678 return NULL;
7679 }
7680
7681
7682 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7683 PyObject *resultobj;
7684 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7685 PyObject *arg2 = (PyObject *) 0 ;
7686 PyObject *arg3 = (PyObject *) 0 ;
7687 PyObject * obj0 = 0 ;
7688 PyObject * obj1 = 0 ;
7689 PyObject * obj2 = 0 ;
7690 char *kwnames[] = {
7691 (char *) "self",(char *) "self",(char *) "_class", NULL
7692 };
7693
7694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7696 arg2 = obj1;
7697 arg3 = obj2;
7698 {
7699 PyThreadState* __tstate = wxPyBeginAllowThreads();
7700 (arg1)->_setCallbackInfo(arg2,arg3);
7701
7702 wxPyEndAllowThreads(__tstate);
7703 if (PyErr_Occurred()) SWIG_fail;
7704 }
7705 Py_INCREF(Py_None); resultobj = Py_None;
7706 return resultobj;
7707 fail:
7708 return NULL;
7709 }
7710
7711
7712 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7713 PyObject *resultobj;
7714 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7715 wxWindow *arg2 = (wxWindow *) 0 ;
7716 int arg3 = (int) wxID_ANY ;
7717 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7718 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7719 wxSize const &arg5_defvalue = wxDefaultSize ;
7720 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7721 long arg6 = (long) 0 ;
7722 wxString const &arg7_defvalue = wxPyPanelNameStr ;
7723 wxString *arg7 = (wxString *) &arg7_defvalue ;
7724 bool result;
7725 wxPoint temp4 ;
7726 wxSize temp5 ;
7727 bool temp7 = False ;
7728 PyObject * obj0 = 0 ;
7729 PyObject * obj1 = 0 ;
7730 PyObject * obj3 = 0 ;
7731 PyObject * obj4 = 0 ;
7732 PyObject * obj6 = 0 ;
7733 char *kwnames[] = {
7734 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7735 };
7736
7737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
7738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7739 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7740 if (obj3) {
7741 {
7742 arg4 = &temp4;
7743 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7744 }
7745 }
7746 if (obj4) {
7747 {
7748 arg5 = &temp5;
7749 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7750 }
7751 }
7752 if (obj6) {
7753 {
7754 arg7 = wxString_in_helper(obj6);
7755 if (arg7 == NULL) SWIG_fail;
7756 temp7 = True;
7757 }
7758 }
7759 {
7760 PyThreadState* __tstate = wxPyBeginAllowThreads();
7761 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7762
7763 wxPyEndAllowThreads(__tstate);
7764 if (PyErr_Occurred()) SWIG_fail;
7765 }
7766 resultobj = PyInt_FromLong((long)result);
7767 {
7768 if (temp7)
7769 delete arg7;
7770 }
7771 return resultobj;
7772 fail:
7773 {
7774 if (temp7)
7775 delete arg7;
7776 }
7777 return NULL;
7778 }
7779
7780
7781 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7782 PyObject *resultobj;
7783 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7784 size_t arg2 ;
7785 PyObject * obj0 = 0 ;
7786 PyObject * obj1 = 0 ;
7787 char *kwnames[] = {
7788 (char *) "self",(char *) "count", NULL
7789 };
7790
7791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
7792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7793 arg2 = (size_t) PyInt_AsLong(obj1);
7794 if (PyErr_Occurred()) SWIG_fail;
7795 {
7796 PyThreadState* __tstate = wxPyBeginAllowThreads();
7797 (arg1)->SetLineCount(arg2);
7798
7799 wxPyEndAllowThreads(__tstate);
7800 if (PyErr_Occurred()) SWIG_fail;
7801 }
7802 Py_INCREF(Py_None); resultobj = Py_None;
7803 return resultobj;
7804 fail:
7805 return NULL;
7806 }
7807
7808
7809 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7810 PyObject *resultobj;
7811 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7812 size_t arg2 ;
7813 bool result;
7814 PyObject * obj0 = 0 ;
7815 PyObject * obj1 = 0 ;
7816 char *kwnames[] = {
7817 (char *) "self",(char *) "line", NULL
7818 };
7819
7820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
7821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7822 arg2 = (size_t) PyInt_AsLong(obj1);
7823 if (PyErr_Occurred()) SWIG_fail;
7824 {
7825 PyThreadState* __tstate = wxPyBeginAllowThreads();
7826 result = (bool)(arg1)->ScrollToLine(arg2);
7827
7828 wxPyEndAllowThreads(__tstate);
7829 if (PyErr_Occurred()) SWIG_fail;
7830 }
7831 resultobj = PyInt_FromLong((long)result);
7832 return resultobj;
7833 fail:
7834 return NULL;
7835 }
7836
7837
7838 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7839 PyObject *resultobj;
7840 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7841 int arg2 ;
7842 bool result;
7843 PyObject * obj0 = 0 ;
7844 char *kwnames[] = {
7845 (char *) "self",(char *) "lines", NULL
7846 };
7847
7848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollLines",kwnames,&obj0,&arg2)) goto fail;
7849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7850 {
7851 PyThreadState* __tstate = wxPyBeginAllowThreads();
7852 result = (bool)(arg1)->ScrollLines(arg2);
7853
7854 wxPyEndAllowThreads(__tstate);
7855 if (PyErr_Occurred()) SWIG_fail;
7856 }
7857 resultobj = PyInt_FromLong((long)result);
7858 return resultobj;
7859 fail:
7860 return NULL;
7861 }
7862
7863
7864 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
7865 PyObject *resultobj;
7866 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7867 int arg2 ;
7868 bool result;
7869 PyObject * obj0 = 0 ;
7870 char *kwnames[] = {
7871 (char *) "self",(char *) "pages", NULL
7872 };
7873
7874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollPages",kwnames,&obj0,&arg2)) goto fail;
7875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7876 {
7877 PyThreadState* __tstate = wxPyBeginAllowThreads();
7878 result = (bool)(arg1)->ScrollPages(arg2);
7879
7880 wxPyEndAllowThreads(__tstate);
7881 if (PyErr_Occurred()) SWIG_fail;
7882 }
7883 resultobj = PyInt_FromLong((long)result);
7884 return resultobj;
7885 fail:
7886 return NULL;
7887 }
7888
7889
7890 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7891 PyObject *resultobj;
7892 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7893 size_t arg2 ;
7894 PyObject * obj0 = 0 ;
7895 PyObject * obj1 = 0 ;
7896 char *kwnames[] = {
7897 (char *) "self",(char *) "line", NULL
7898 };
7899
7900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
7901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7902 arg2 = (size_t) PyInt_AsLong(obj1);
7903 if (PyErr_Occurred()) SWIG_fail;
7904 {
7905 PyThreadState* __tstate = wxPyBeginAllowThreads();
7906 (arg1)->RefreshLine(arg2);
7907
7908 wxPyEndAllowThreads(__tstate);
7909 if (PyErr_Occurred()) SWIG_fail;
7910 }
7911 Py_INCREF(Py_None); resultobj = Py_None;
7912 return resultobj;
7913 fail:
7914 return NULL;
7915 }
7916
7917
7918 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7919 PyObject *resultobj;
7920 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7921 size_t arg2 ;
7922 size_t arg3 ;
7923 PyObject * obj0 = 0 ;
7924 PyObject * obj1 = 0 ;
7925 PyObject * obj2 = 0 ;
7926 char *kwnames[] = {
7927 (char *) "self",(char *) "from",(char *) "to", NULL
7928 };
7929
7930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
7931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7932 arg2 = (size_t) PyInt_AsLong(obj1);
7933 if (PyErr_Occurred()) SWIG_fail;
7934 arg3 = (size_t) PyInt_AsLong(obj2);
7935 if (PyErr_Occurred()) SWIG_fail;
7936 {
7937 PyThreadState* __tstate = wxPyBeginAllowThreads();
7938 (arg1)->RefreshLines(arg2,arg3);
7939
7940 wxPyEndAllowThreads(__tstate);
7941 if (PyErr_Occurred()) SWIG_fail;
7942 }
7943 Py_INCREF(Py_None); resultobj = Py_None;
7944 return resultobj;
7945 fail:
7946 return NULL;
7947 }
7948
7949
7950 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
7951 PyObject *resultobj;
7952 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7953 int arg2 ;
7954 int arg3 ;
7955 int result;
7956 PyObject * obj0 = 0 ;
7957 char *kwnames[] = {
7958 (char *) "self",(char *) "x",(char *) "y", NULL
7959 };
7960
7961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VScrolledWindow_HitTestXT",kwnames,&obj0,&arg2,&arg3)) goto fail;
7962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7963 {
7964 PyThreadState* __tstate = wxPyBeginAllowThreads();
7965 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
7966
7967 wxPyEndAllowThreads(__tstate);
7968 if (PyErr_Occurred()) SWIG_fail;
7969 }
7970 resultobj = PyInt_FromLong((long)result);
7971 return resultobj;
7972 fail:
7973 return NULL;
7974 }
7975
7976
7977 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
7978 PyObject *resultobj;
7979 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7980 wxPoint *arg2 = 0 ;
7981 int result;
7982 wxPoint temp2 ;
7983 PyObject * obj0 = 0 ;
7984 PyObject * obj1 = 0 ;
7985 char *kwnames[] = {
7986 (char *) "self",(char *) "pt", NULL
7987 };
7988
7989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
7990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7991 {
7992 arg2 = &temp2;
7993 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7994 }
7995 {
7996 PyThreadState* __tstate = wxPyBeginAllowThreads();
7997 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
7998
7999 wxPyEndAllowThreads(__tstate);
8000 if (PyErr_Occurred()) SWIG_fail;
8001 }
8002 resultobj = PyInt_FromLong((long)result);
8003 return resultobj;
8004 fail:
8005 return NULL;
8006 }
8007
8008
8009 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8010 PyObject *resultobj;
8011 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8012 PyObject * obj0 = 0 ;
8013 char *kwnames[] = {
8014 (char *) "self", NULL
8015 };
8016
8017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
8018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8019 {
8020 PyThreadState* __tstate = wxPyBeginAllowThreads();
8021 (arg1)->RefreshAll();
8022
8023 wxPyEndAllowThreads(__tstate);
8024 if (PyErr_Occurred()) SWIG_fail;
8025 }
8026 Py_INCREF(Py_None); resultobj = Py_None;
8027 return resultobj;
8028 fail:
8029 return NULL;
8030 }
8031
8032
8033 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8034 PyObject *resultobj;
8035 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8036 size_t result;
8037 PyObject * obj0 = 0 ;
8038 char *kwnames[] = {
8039 (char *) "self", NULL
8040 };
8041
8042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
8043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8044 {
8045 PyThreadState* __tstate = wxPyBeginAllowThreads();
8046 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
8047
8048 wxPyEndAllowThreads(__tstate);
8049 if (PyErr_Occurred()) SWIG_fail;
8050 }
8051 resultobj = PyInt_FromLong((long)result);
8052 return resultobj;
8053 fail:
8054 return NULL;
8055 }
8056
8057
8058 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8059 PyObject *resultobj;
8060 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8061 size_t result;
8062 PyObject * obj0 = 0 ;
8063 char *kwnames[] = {
8064 (char *) "self", NULL
8065 };
8066
8067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
8068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8069 {
8070 PyThreadState* __tstate = wxPyBeginAllowThreads();
8071 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
8072
8073 wxPyEndAllowThreads(__tstate);
8074 if (PyErr_Occurred()) SWIG_fail;
8075 }
8076 resultobj = PyInt_FromLong((long)result);
8077 return resultobj;
8078 fail:
8079 return NULL;
8080 }
8081
8082
8083 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8084 PyObject *resultobj;
8085 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8086 size_t result;
8087 PyObject * obj0 = 0 ;
8088 char *kwnames[] = {
8089 (char *) "self", NULL
8090 };
8091
8092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
8093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8094 {
8095 PyThreadState* __tstate = wxPyBeginAllowThreads();
8096 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
8097
8098 wxPyEndAllowThreads(__tstate);
8099 if (PyErr_Occurred()) SWIG_fail;
8100 }
8101 resultobj = PyInt_FromLong((long)result);
8102 return resultobj;
8103 fail:
8104 return NULL;
8105 }
8106
8107
8108 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8109 PyObject *resultobj;
8110 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8111 size_t arg2 ;
8112 bool result;
8113 PyObject * obj0 = 0 ;
8114 PyObject * obj1 = 0 ;
8115 char *kwnames[] = {
8116 (char *) "self",(char *) "line", NULL
8117 };
8118
8119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
8120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8121 arg2 = (size_t) PyInt_AsLong(obj1);
8122 if (PyErr_Occurred()) SWIG_fail;
8123 {
8124 PyThreadState* __tstate = wxPyBeginAllowThreads();
8125 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
8126
8127 wxPyEndAllowThreads(__tstate);
8128 if (PyErr_Occurred()) SWIG_fail;
8129 }
8130 resultobj = PyInt_FromLong((long)result);
8131 return resultobj;
8132 fail:
8133 return NULL;
8134 }
8135
8136
8137 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
8138 PyObject *obj;
8139 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8140 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
8141 Py_INCREF(obj);
8142 return Py_BuildValue((char *)"");
8143 }
8144 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8145 PyObject *resultobj;
8146 wxWindow *arg1 = (wxWindow *) 0 ;
8147 int arg2 = (int) wxID_ANY ;
8148 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8149 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8150 wxSize const &arg4_defvalue = wxDefaultSize ;
8151 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8152 long arg5 = (long) 0 ;
8153 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
8154 wxString *arg6 = (wxString *) &arg6_defvalue ;
8155 wxPyVListBox *result;
8156 wxPoint temp3 ;
8157 wxSize temp4 ;
8158 bool temp6 = False ;
8159 PyObject * obj0 = 0 ;
8160 PyObject * obj2 = 0 ;
8161 PyObject * obj3 = 0 ;
8162 PyObject * obj5 = 0 ;
8163 char *kwnames[] = {
8164 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8165 };
8166
8167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8169 if (obj2) {
8170 {
8171 arg3 = &temp3;
8172 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8173 }
8174 }
8175 if (obj3) {
8176 {
8177 arg4 = &temp4;
8178 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8179 }
8180 }
8181 if (obj5) {
8182 {
8183 arg6 = wxString_in_helper(obj5);
8184 if (arg6 == NULL) SWIG_fail;
8185 temp6 = True;
8186 }
8187 }
8188 {
8189 PyThreadState* __tstate = wxPyBeginAllowThreads();
8190 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8191
8192 wxPyEndAllowThreads(__tstate);
8193 if (PyErr_Occurred()) SWIG_fail;
8194 }
8195 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8196 {
8197 if (temp6)
8198 delete arg6;
8199 }
8200 return resultobj;
8201 fail:
8202 {
8203 if (temp6)
8204 delete arg6;
8205 }
8206 return NULL;
8207 }
8208
8209
8210 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8211 PyObject *resultobj;
8212 wxPyVListBox *result;
8213 char *kwnames[] = {
8214 NULL
8215 };
8216
8217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
8218 {
8219 PyThreadState* __tstate = wxPyBeginAllowThreads();
8220 result = (wxPyVListBox *)new wxPyVListBox();
8221
8222 wxPyEndAllowThreads(__tstate);
8223 if (PyErr_Occurred()) SWIG_fail;
8224 }
8225 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8226 return resultobj;
8227 fail:
8228 return NULL;
8229 }
8230
8231
8232 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8233 PyObject *resultobj;
8234 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8235 PyObject *arg2 = (PyObject *) 0 ;
8236 PyObject *arg3 = (PyObject *) 0 ;
8237 PyObject * obj0 = 0 ;
8238 PyObject * obj1 = 0 ;
8239 PyObject * obj2 = 0 ;
8240 char *kwnames[] = {
8241 (char *) "self",(char *) "self",(char *) "_class", NULL
8242 };
8243
8244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8246 arg2 = obj1;
8247 arg3 = obj2;
8248 {
8249 PyThreadState* __tstate = wxPyBeginAllowThreads();
8250 (arg1)->_setCallbackInfo(arg2,arg3);
8251
8252 wxPyEndAllowThreads(__tstate);
8253 if (PyErr_Occurred()) SWIG_fail;
8254 }
8255 Py_INCREF(Py_None); resultobj = Py_None;
8256 return resultobj;
8257 fail:
8258 return NULL;
8259 }
8260
8261
8262 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8263 PyObject *resultobj;
8264 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8265 wxWindow *arg2 = (wxWindow *) 0 ;
8266 int arg3 = (int) wxID_ANY ;
8267 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8268 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8269 wxSize const &arg5_defvalue = wxDefaultSize ;
8270 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8271 long arg6 = (long) 0 ;
8272 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
8273 wxString *arg7 = (wxString *) &arg7_defvalue ;
8274 bool result;
8275 wxPoint temp4 ;
8276 wxSize temp5 ;
8277 bool temp7 = False ;
8278 PyObject * obj0 = 0 ;
8279 PyObject * obj1 = 0 ;
8280 PyObject * obj3 = 0 ;
8281 PyObject * obj4 = 0 ;
8282 PyObject * obj6 = 0 ;
8283 char *kwnames[] = {
8284 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8285 };
8286
8287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8289 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8290 if (obj3) {
8291 {
8292 arg4 = &temp4;
8293 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8294 }
8295 }
8296 if (obj4) {
8297 {
8298 arg5 = &temp5;
8299 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8300 }
8301 }
8302 if (obj6) {
8303 {
8304 arg7 = wxString_in_helper(obj6);
8305 if (arg7 == NULL) SWIG_fail;
8306 temp7 = True;
8307 }
8308 }
8309 {
8310 PyThreadState* __tstate = wxPyBeginAllowThreads();
8311 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8312
8313 wxPyEndAllowThreads(__tstate);
8314 if (PyErr_Occurred()) SWIG_fail;
8315 }
8316 resultobj = PyInt_FromLong((long)result);
8317 {
8318 if (temp7)
8319 delete arg7;
8320 }
8321 return resultobj;
8322 fail:
8323 {
8324 if (temp7)
8325 delete arg7;
8326 }
8327 return NULL;
8328 }
8329
8330
8331 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8332 PyObject *resultobj;
8333 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8334 size_t result;
8335 PyObject * obj0 = 0 ;
8336 char *kwnames[] = {
8337 (char *) "self", NULL
8338 };
8339
8340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
8341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8342 {
8343 PyThreadState* __tstate = wxPyBeginAllowThreads();
8344 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
8345
8346 wxPyEndAllowThreads(__tstate);
8347 if (PyErr_Occurred()) SWIG_fail;
8348 }
8349 resultobj = PyInt_FromLong((long)result);
8350 return resultobj;
8351 fail:
8352 return NULL;
8353 }
8354
8355
8356 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8357 PyObject *resultobj;
8358 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8359 bool result;
8360 PyObject * obj0 = 0 ;
8361 char *kwnames[] = {
8362 (char *) "self", NULL
8363 };
8364
8365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
8366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8367 {
8368 PyThreadState* __tstate = wxPyBeginAllowThreads();
8369 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
8370
8371 wxPyEndAllowThreads(__tstate);
8372 if (PyErr_Occurred()) SWIG_fail;
8373 }
8374 resultobj = PyInt_FromLong((long)result);
8375 return resultobj;
8376 fail:
8377 return NULL;
8378 }
8379
8380
8381 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8382 PyObject *resultobj;
8383 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8384 int result;
8385 PyObject * obj0 = 0 ;
8386 char *kwnames[] = {
8387 (char *) "self", NULL
8388 };
8389
8390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
8391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8392 {
8393 PyThreadState* __tstate = wxPyBeginAllowThreads();
8394 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
8395
8396 wxPyEndAllowThreads(__tstate);
8397 if (PyErr_Occurred()) SWIG_fail;
8398 }
8399 resultobj = PyInt_FromLong((long)result);
8400 return resultobj;
8401 fail:
8402 return NULL;
8403 }
8404
8405
8406 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
8407 PyObject *resultobj;
8408 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8409 size_t arg2 ;
8410 bool result;
8411 PyObject * obj0 = 0 ;
8412 PyObject * obj1 = 0 ;
8413 char *kwnames[] = {
8414 (char *) "self",(char *) "item", NULL
8415 };
8416
8417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
8418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8419 arg2 = (size_t) PyInt_AsLong(obj1);
8420 if (PyErr_Occurred()) SWIG_fail;
8421 {
8422 PyThreadState* __tstate = wxPyBeginAllowThreads();
8423 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
8424
8425 wxPyEndAllowThreads(__tstate);
8426 if (PyErr_Occurred()) SWIG_fail;
8427 }
8428 resultobj = PyInt_FromLong((long)result);
8429 return resultobj;
8430 fail:
8431 return NULL;
8432 }
8433
8434
8435 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8436 PyObject *resultobj;
8437 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8438 size_t arg2 ;
8439 bool result;
8440 PyObject * obj0 = 0 ;
8441 PyObject * obj1 = 0 ;
8442 char *kwnames[] = {
8443 (char *) "self",(char *) "item", NULL
8444 };
8445
8446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
8447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8448 arg2 = (size_t) PyInt_AsLong(obj1);
8449 if (PyErr_Occurred()) SWIG_fail;
8450 {
8451 PyThreadState* __tstate = wxPyBeginAllowThreads();
8452 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
8453
8454 wxPyEndAllowThreads(__tstate);
8455 if (PyErr_Occurred()) SWIG_fail;
8456 }
8457 resultobj = PyInt_FromLong((long)result);
8458 return resultobj;
8459 fail:
8460 return NULL;
8461 }
8462
8463
8464 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8465 PyObject *resultobj;
8466 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8467 size_t result;
8468 PyObject * obj0 = 0 ;
8469 char *kwnames[] = {
8470 (char *) "self", NULL
8471 };
8472
8473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
8474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8475 {
8476 PyThreadState* __tstate = wxPyBeginAllowThreads();
8477 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
8478
8479 wxPyEndAllowThreads(__tstate);
8480 if (PyErr_Occurred()) SWIG_fail;
8481 }
8482 resultobj = PyInt_FromLong((long)result);
8483 return resultobj;
8484 fail:
8485 return NULL;
8486 }
8487
8488
8489 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8490 PyObject *resultobj;
8491 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8492 unsigned long *arg2 = 0 ;
8493 int result;
8494 PyObject * obj0 = 0 ;
8495 PyObject * obj1 = 0 ;
8496 char *kwnames[] = {
8497 (char *) "self",(char *) "cookie", NULL
8498 };
8499
8500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
8501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8502 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8503 if (arg2 == NULL) {
8504 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8505 }
8506 {
8507 PyThreadState* __tstate = wxPyBeginAllowThreads();
8508 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
8509
8510 wxPyEndAllowThreads(__tstate);
8511 if (PyErr_Occurred()) SWIG_fail;
8512 }
8513 resultobj = PyInt_FromLong((long)result);
8514 return resultobj;
8515 fail:
8516 return NULL;
8517 }
8518
8519
8520 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8521 PyObject *resultobj;
8522 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8523 unsigned long *arg2 = 0 ;
8524 int result;
8525 PyObject * obj0 = 0 ;
8526 PyObject * obj1 = 0 ;
8527 char *kwnames[] = {
8528 (char *) "self",(char *) "cookie", NULL
8529 };
8530
8531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
8532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8533 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8534 if (arg2 == NULL) {
8535 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8536 }
8537 {
8538 PyThreadState* __tstate = wxPyBeginAllowThreads();
8539 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
8540
8541 wxPyEndAllowThreads(__tstate);
8542 if (PyErr_Occurred()) SWIG_fail;
8543 }
8544 resultobj = PyInt_FromLong((long)result);
8545 return resultobj;
8546 fail:
8547 return NULL;
8548 }
8549
8550
8551 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
8552 PyObject *resultobj;
8553 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8554 wxPoint result;
8555 PyObject * obj0 = 0 ;
8556 char *kwnames[] = {
8557 (char *) "self", NULL
8558 };
8559
8560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
8561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8562 {
8563 PyThreadState* __tstate = wxPyBeginAllowThreads();
8564 result = ((wxPyVListBox const *)arg1)->GetMargins();
8565
8566 wxPyEndAllowThreads(__tstate);
8567 if (PyErr_Occurred()) SWIG_fail;
8568 }
8569 {
8570 wxPoint * resultptr;
8571 resultptr = new wxPoint((wxPoint &) result);
8572 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
8573 }
8574 return resultobj;
8575 fail:
8576 return NULL;
8577 }
8578
8579
8580 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8581 PyObject *resultobj;
8582 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8583 wxColour *result;
8584 PyObject * obj0 = 0 ;
8585 char *kwnames[] = {
8586 (char *) "self", NULL
8587 };
8588
8589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
8590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8591 {
8592 PyThreadState* __tstate = wxPyBeginAllowThreads();
8593 {
8594 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
8595 result = (wxColour *) &_result_ref;
8596 }
8597
8598 wxPyEndAllowThreads(__tstate);
8599 if (PyErr_Occurred()) SWIG_fail;
8600 }
8601 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
8602 return resultobj;
8603 fail:
8604 return NULL;
8605 }
8606
8607
8608 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8609 PyObject *resultobj;
8610 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8611 size_t arg2 ;
8612 PyObject * obj0 = 0 ;
8613 PyObject * obj1 = 0 ;
8614 char *kwnames[] = {
8615 (char *) "self",(char *) "count", NULL
8616 };
8617
8618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
8619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8620 arg2 = (size_t) PyInt_AsLong(obj1);
8621 if (PyErr_Occurred()) SWIG_fail;
8622 {
8623 PyThreadState* __tstate = wxPyBeginAllowThreads();
8624 (arg1)->SetItemCount(arg2);
8625
8626 wxPyEndAllowThreads(__tstate);
8627 if (PyErr_Occurred()) SWIG_fail;
8628 }
8629 Py_INCREF(Py_None); resultobj = Py_None;
8630 return resultobj;
8631 fail:
8632 return NULL;
8633 }
8634
8635
8636 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8637 PyObject *resultobj;
8638 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8639 PyObject * obj0 = 0 ;
8640 char *kwnames[] = {
8641 (char *) "self", NULL
8642 };
8643
8644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
8645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8646 {
8647 PyThreadState* __tstate = wxPyBeginAllowThreads();
8648 (arg1)->Clear();
8649
8650 wxPyEndAllowThreads(__tstate);
8651 if (PyErr_Occurred()) SWIG_fail;
8652 }
8653 Py_INCREF(Py_None); resultobj = Py_None;
8654 return resultobj;
8655 fail:
8656 return NULL;
8657 }
8658
8659
8660 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8661 PyObject *resultobj;
8662 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8663 int arg2 ;
8664 PyObject * obj0 = 0 ;
8665 char *kwnames[] = {
8666 (char *) "self",(char *) "selection", NULL
8667 };
8668
8669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VListBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
8670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8671 {
8672 PyThreadState* __tstate = wxPyBeginAllowThreads();
8673 (arg1)->SetSelection(arg2);
8674
8675 wxPyEndAllowThreads(__tstate);
8676 if (PyErr_Occurred()) SWIG_fail;
8677 }
8678 Py_INCREF(Py_None); resultobj = Py_None;
8679 return resultobj;
8680 fail:
8681 return NULL;
8682 }
8683
8684
8685 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
8686 PyObject *resultobj;
8687 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8688 size_t arg2 ;
8689 bool arg3 = (bool) True ;
8690 bool result;
8691 PyObject * obj0 = 0 ;
8692 PyObject * obj1 = 0 ;
8693 PyObject * obj2 = 0 ;
8694 char *kwnames[] = {
8695 (char *) "self",(char *) "item",(char *) "select", NULL
8696 };
8697
8698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
8699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8700 arg2 = (size_t) PyInt_AsLong(obj1);
8701 if (PyErr_Occurred()) SWIG_fail;
8702 if (obj2) {
8703 arg3 = PyInt_AsLong(obj2) ? true : false;
8704 if (PyErr_Occurred()) SWIG_fail;
8705 }
8706 {
8707 PyThreadState* __tstate = wxPyBeginAllowThreads();
8708 result = (bool)(arg1)->Select(arg2,arg3);
8709
8710 wxPyEndAllowThreads(__tstate);
8711 if (PyErr_Occurred()) SWIG_fail;
8712 }
8713 resultobj = PyInt_FromLong((long)result);
8714 return resultobj;
8715 fail:
8716 return NULL;
8717 }
8718
8719
8720 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8721 PyObject *resultobj;
8722 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8723 size_t arg2 ;
8724 size_t arg3 ;
8725 bool result;
8726 PyObject * obj0 = 0 ;
8727 PyObject * obj1 = 0 ;
8728 PyObject * obj2 = 0 ;
8729 char *kwnames[] = {
8730 (char *) "self",(char *) "from",(char *) "to", NULL
8731 };
8732
8733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
8734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8735 arg2 = (size_t) PyInt_AsLong(obj1);
8736 if (PyErr_Occurred()) SWIG_fail;
8737 arg3 = (size_t) PyInt_AsLong(obj2);
8738 if (PyErr_Occurred()) SWIG_fail;
8739 {
8740 PyThreadState* __tstate = wxPyBeginAllowThreads();
8741 result = (bool)(arg1)->SelectRange(arg2,arg3);
8742
8743 wxPyEndAllowThreads(__tstate);
8744 if (PyErr_Occurred()) SWIG_fail;
8745 }
8746 resultobj = PyInt_FromLong((long)result);
8747 return resultobj;
8748 fail:
8749 return NULL;
8750 }
8751
8752
8753 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
8754 PyObject *resultobj;
8755 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8756 size_t arg2 ;
8757 PyObject * obj0 = 0 ;
8758 PyObject * obj1 = 0 ;
8759 char *kwnames[] = {
8760 (char *) "self",(char *) "item", NULL
8761 };
8762
8763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
8764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8765 arg2 = (size_t) PyInt_AsLong(obj1);
8766 if (PyErr_Occurred()) SWIG_fail;
8767 {
8768 PyThreadState* __tstate = wxPyBeginAllowThreads();
8769 (arg1)->Toggle(arg2);
8770
8771 wxPyEndAllowThreads(__tstate);
8772 if (PyErr_Occurred()) SWIG_fail;
8773 }
8774 Py_INCREF(Py_None); resultobj = Py_None;
8775 return resultobj;
8776 fail:
8777 return NULL;
8778 }
8779
8780
8781 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8782 PyObject *resultobj;
8783 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8784 bool result;
8785 PyObject * obj0 = 0 ;
8786 char *kwnames[] = {
8787 (char *) "self", NULL
8788 };
8789
8790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
8791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8792 {
8793 PyThreadState* __tstate = wxPyBeginAllowThreads();
8794 result = (bool)(arg1)->SelectAll();
8795
8796 wxPyEndAllowThreads(__tstate);
8797 if (PyErr_Occurred()) SWIG_fail;
8798 }
8799 resultobj = PyInt_FromLong((long)result);
8800 return resultobj;
8801 fail:
8802 return NULL;
8803 }
8804
8805
8806 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8807 PyObject *resultobj;
8808 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8809 bool result;
8810 PyObject * obj0 = 0 ;
8811 char *kwnames[] = {
8812 (char *) "self", NULL
8813 };
8814
8815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
8816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8817 {
8818 PyThreadState* __tstate = wxPyBeginAllowThreads();
8819 result = (bool)(arg1)->DeselectAll();
8820
8821 wxPyEndAllowThreads(__tstate);
8822 if (PyErr_Occurred()) SWIG_fail;
8823 }
8824 resultobj = PyInt_FromLong((long)result);
8825 return resultobj;
8826 fail:
8827 return NULL;
8828 }
8829
8830
8831 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
8832 PyObject *resultobj;
8833 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8834 wxPoint *arg2 = 0 ;
8835 wxPoint temp2 ;
8836 PyObject * obj0 = 0 ;
8837 PyObject * obj1 = 0 ;
8838 char *kwnames[] = {
8839 (char *) "self",(char *) "pt", NULL
8840 };
8841
8842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
8843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8844 {
8845 arg2 = &temp2;
8846 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8847 }
8848 {
8849 PyThreadState* __tstate = wxPyBeginAllowThreads();
8850 (arg1)->SetMargins((wxPoint const &)*arg2);
8851
8852 wxPyEndAllowThreads(__tstate);
8853 if (PyErr_Occurred()) SWIG_fail;
8854 }
8855 Py_INCREF(Py_None); resultobj = Py_None;
8856 return resultobj;
8857 fail:
8858 return NULL;
8859 }
8860
8861
8862 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8863 PyObject *resultobj;
8864 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8865 int arg2 ;
8866 int arg3 ;
8867 PyObject * obj0 = 0 ;
8868 char *kwnames[] = {
8869 (char *) "self",(char *) "x",(char *) "y", NULL
8870 };
8871
8872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VListBox_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
8873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8874 {
8875 PyThreadState* __tstate = wxPyBeginAllowThreads();
8876 (arg1)->SetMargins(arg2,arg3);
8877
8878 wxPyEndAllowThreads(__tstate);
8879 if (PyErr_Occurred()) SWIG_fail;
8880 }
8881 Py_INCREF(Py_None); resultobj = Py_None;
8882 return resultobj;
8883 fail:
8884 return NULL;
8885 }
8886
8887
8888 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8889 PyObject *resultobj;
8890 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8891 wxColour *arg2 = 0 ;
8892 wxColour temp2 ;
8893 PyObject * obj0 = 0 ;
8894 PyObject * obj1 = 0 ;
8895 char *kwnames[] = {
8896 (char *) "self",(char *) "col", NULL
8897 };
8898
8899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
8900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8901 {
8902 arg2 = &temp2;
8903 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8904 }
8905 {
8906 PyThreadState* __tstate = wxPyBeginAllowThreads();
8907 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
8908
8909 wxPyEndAllowThreads(__tstate);
8910 if (PyErr_Occurred()) SWIG_fail;
8911 }
8912 Py_INCREF(Py_None); resultobj = Py_None;
8913 return resultobj;
8914 fail:
8915 return NULL;
8916 }
8917
8918
8919 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
8920 PyObject *obj;
8921 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8922 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
8923 Py_INCREF(obj);
8924 return Py_BuildValue((char *)"");
8925 }
8926 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8927 PyObject *resultobj;
8928 wxWindow *arg1 = (wxWindow *) 0 ;
8929 int arg2 = (int) wxID_ANY ;
8930 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8931 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8932 wxSize const &arg4_defvalue = wxDefaultSize ;
8933 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8934 long arg5 = (long) 0 ;
8935 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
8936 wxString *arg6 = (wxString *) &arg6_defvalue ;
8937 wxPyHtmlListBox *result;
8938 wxPoint temp3 ;
8939 wxSize temp4 ;
8940 bool temp6 = False ;
8941 PyObject * obj0 = 0 ;
8942 PyObject * obj2 = 0 ;
8943 PyObject * obj3 = 0 ;
8944 PyObject * obj5 = 0 ;
8945 char *kwnames[] = {
8946 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8947 };
8948
8949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_HtmlListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8951 if (obj2) {
8952 {
8953 arg3 = &temp3;
8954 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8955 }
8956 }
8957 if (obj3) {
8958 {
8959 arg4 = &temp4;
8960 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8961 }
8962 }
8963 if (obj5) {
8964 {
8965 arg6 = wxString_in_helper(obj5);
8966 if (arg6 == NULL) SWIG_fail;
8967 temp6 = True;
8968 }
8969 }
8970 {
8971 PyThreadState* __tstate = wxPyBeginAllowThreads();
8972 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8973
8974 wxPyEndAllowThreads(__tstate);
8975 if (PyErr_Occurred()) SWIG_fail;
8976 }
8977 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
8978 {
8979 if (temp6)
8980 delete arg6;
8981 }
8982 return resultobj;
8983 fail:
8984 {
8985 if (temp6)
8986 delete arg6;
8987 }
8988 return NULL;
8989 }
8990
8991
8992 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8993 PyObject *resultobj;
8994 wxPyHtmlListBox *result;
8995 char *kwnames[] = {
8996 NULL
8997 };
8998
8999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
9000 {
9001 PyThreadState* __tstate = wxPyBeginAllowThreads();
9002 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
9003
9004 wxPyEndAllowThreads(__tstate);
9005 if (PyErr_Occurred()) SWIG_fail;
9006 }
9007 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
9008 return resultobj;
9009 fail:
9010 return NULL;
9011 }
9012
9013
9014 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9015 PyObject *resultobj;
9016 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9017 PyObject *arg2 = (PyObject *) 0 ;
9018 PyObject *arg3 = (PyObject *) 0 ;
9019 PyObject * obj0 = 0 ;
9020 PyObject * obj1 = 0 ;
9021 PyObject * obj2 = 0 ;
9022 char *kwnames[] = {
9023 (char *) "self",(char *) "self",(char *) "_class", NULL
9024 };
9025
9026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9028 arg2 = obj1;
9029 arg3 = obj2;
9030 {
9031 PyThreadState* __tstate = wxPyBeginAllowThreads();
9032 (arg1)->_setCallbackInfo(arg2,arg3);
9033
9034 wxPyEndAllowThreads(__tstate);
9035 if (PyErr_Occurred()) SWIG_fail;
9036 }
9037 Py_INCREF(Py_None); resultobj = Py_None;
9038 return resultobj;
9039 fail:
9040 return NULL;
9041 }
9042
9043
9044 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9045 PyObject *resultobj;
9046 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9047 wxWindow *arg2 = (wxWindow *) 0 ;
9048 int arg3 = (int) wxID_ANY ;
9049 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9050 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9051 wxSize const &arg5_defvalue = wxDefaultSize ;
9052 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9053 long arg6 = (long) 0 ;
9054 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9055 wxString *arg7 = (wxString *) &arg7_defvalue ;
9056 bool result;
9057 wxPoint temp4 ;
9058 wxSize temp5 ;
9059 bool temp7 = False ;
9060 PyObject * obj0 = 0 ;
9061 PyObject * obj1 = 0 ;
9062 PyObject * obj3 = 0 ;
9063 PyObject * obj4 = 0 ;
9064 PyObject * obj6 = 0 ;
9065 char *kwnames[] = {
9066 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9067 };
9068
9069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:HtmlListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
9070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9071 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9072 if (obj3) {
9073 {
9074 arg4 = &temp4;
9075 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9076 }
9077 }
9078 if (obj4) {
9079 {
9080 arg5 = &temp5;
9081 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9082 }
9083 }
9084 if (obj6) {
9085 {
9086 arg7 = wxString_in_helper(obj6);
9087 if (arg7 == NULL) SWIG_fail;
9088 temp7 = True;
9089 }
9090 }
9091 {
9092 PyThreadState* __tstate = wxPyBeginAllowThreads();
9093 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9094
9095 wxPyEndAllowThreads(__tstate);
9096 if (PyErr_Occurred()) SWIG_fail;
9097 }
9098 resultobj = PyInt_FromLong((long)result);
9099 {
9100 if (temp7)
9101 delete arg7;
9102 }
9103 return resultobj;
9104 fail:
9105 {
9106 if (temp7)
9107 delete arg7;
9108 }
9109 return NULL;
9110 }
9111
9112
9113 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9114 PyObject *resultobj;
9115 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9116 PyObject * obj0 = 0 ;
9117 char *kwnames[] = {
9118 (char *) "self", NULL
9119 };
9120
9121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
9122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9123 {
9124 PyThreadState* __tstate = wxPyBeginAllowThreads();
9125 (arg1)->RefreshAll();
9126
9127 wxPyEndAllowThreads(__tstate);
9128 if (PyErr_Occurred()) SWIG_fail;
9129 }
9130 Py_INCREF(Py_None); resultobj = Py_None;
9131 return resultobj;
9132 fail:
9133 return NULL;
9134 }
9135
9136
9137 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9138 PyObject *resultobj;
9139 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9140 size_t arg2 ;
9141 PyObject * obj0 = 0 ;
9142 PyObject * obj1 = 0 ;
9143 char *kwnames[] = {
9144 (char *) "self",(char *) "count", NULL
9145 };
9146
9147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9149 arg2 = (size_t) PyInt_AsLong(obj1);
9150 if (PyErr_Occurred()) SWIG_fail;
9151 {
9152 PyThreadState* __tstate = wxPyBeginAllowThreads();
9153 (arg1)->SetItemCount(arg2);
9154
9155 wxPyEndAllowThreads(__tstate);
9156 if (PyErr_Occurred()) SWIG_fail;
9157 }
9158 Py_INCREF(Py_None); resultobj = Py_None;
9159 return resultobj;
9160 fail:
9161 return NULL;
9162 }
9163
9164
9165 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
9166 PyObject *obj;
9167 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9168 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
9169 Py_INCREF(obj);
9170 return Py_BuildValue((char *)"");
9171 }
9172 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9173 PyObject *resultobj;
9174 wxTaskBarIcon *result;
9175 char *kwnames[] = {
9176 NULL
9177 };
9178
9179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
9180 {
9181 PyThreadState* __tstate = wxPyBeginAllowThreads();
9182 result = (wxTaskBarIcon *)new wxTaskBarIcon();
9183
9184 wxPyEndAllowThreads(__tstate);
9185 if (PyErr_Occurred()) SWIG_fail;
9186 }
9187 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIcon, 1);
9188 return resultobj;
9189 fail:
9190 return NULL;
9191 }
9192
9193
9194 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9195 PyObject *resultobj;
9196 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9197 PyObject * obj0 = 0 ;
9198 char *kwnames[] = {
9199 (char *) "self", NULL
9200 };
9201
9202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
9203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9204 {
9205 PyThreadState* __tstate = wxPyBeginAllowThreads();
9206 delete arg1;
9207
9208 wxPyEndAllowThreads(__tstate);
9209 if (PyErr_Occurred()) SWIG_fail;
9210 }
9211 Py_INCREF(Py_None); resultobj = Py_None;
9212 return resultobj;
9213 fail:
9214 return NULL;
9215 }
9216
9217
9218 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
9219 PyObject *resultobj;
9220 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9221 bool result;
9222 PyObject * obj0 = 0 ;
9223 char *kwnames[] = {
9224 (char *) "self", NULL
9225 };
9226
9227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
9228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9229 {
9230 PyThreadState* __tstate = wxPyBeginAllowThreads();
9231 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
9232
9233 wxPyEndAllowThreads(__tstate);
9234 if (PyErr_Occurred()) SWIG_fail;
9235 }
9236 resultobj = PyInt_FromLong((long)result);
9237 return resultobj;
9238 fail:
9239 return NULL;
9240 }
9241
9242
9243 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
9244 PyObject *resultobj;
9245 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9246 bool result;
9247 PyObject * obj0 = 0 ;
9248 char *kwnames[] = {
9249 (char *) "self", NULL
9250 };
9251
9252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
9253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9254 {
9255 PyThreadState* __tstate = wxPyBeginAllowThreads();
9256 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
9257
9258 wxPyEndAllowThreads(__tstate);
9259 if (PyErr_Occurred()) SWIG_fail;
9260 }
9261 resultobj = PyInt_FromLong((long)result);
9262 return resultobj;
9263 fail:
9264 return NULL;
9265 }
9266
9267
9268 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9269 PyObject *resultobj;
9270 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9271 wxIcon *arg2 = 0 ;
9272 wxString const &arg3_defvalue = wxPyEmptyString ;
9273 wxString *arg3 = (wxString *) &arg3_defvalue ;
9274 bool result;
9275 bool temp3 = False ;
9276 PyObject * obj0 = 0 ;
9277 PyObject * obj1 = 0 ;
9278 PyObject * obj2 = 0 ;
9279 char *kwnames[] = {
9280 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
9281 };
9282
9283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
9284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9285 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9286 if (arg2 == NULL) {
9287 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9288 }
9289 if (obj2) {
9290 {
9291 arg3 = wxString_in_helper(obj2);
9292 if (arg3 == NULL) SWIG_fail;
9293 temp3 = True;
9294 }
9295 }
9296 {
9297 PyThreadState* __tstate = wxPyBeginAllowThreads();
9298 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
9299
9300 wxPyEndAllowThreads(__tstate);
9301 if (PyErr_Occurred()) SWIG_fail;
9302 }
9303 resultobj = PyInt_FromLong((long)result);
9304 {
9305 if (temp3)
9306 delete arg3;
9307 }
9308 return resultobj;
9309 fail:
9310 {
9311 if (temp3)
9312 delete arg3;
9313 }
9314 return NULL;
9315 }
9316
9317
9318 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9319 PyObject *resultobj;
9320 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9321 bool result;
9322 PyObject * obj0 = 0 ;
9323 char *kwnames[] = {
9324 (char *) "self", NULL
9325 };
9326
9327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
9328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9329 {
9330 PyThreadState* __tstate = wxPyBeginAllowThreads();
9331 result = (bool)(arg1)->RemoveIcon();
9332
9333 wxPyEndAllowThreads(__tstate);
9334 if (PyErr_Occurred()) SWIG_fail;
9335 }
9336 resultobj = PyInt_FromLong((long)result);
9337 return resultobj;
9338 fail:
9339 return NULL;
9340 }
9341
9342
9343 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
9344 PyObject *resultobj;
9345 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9346 wxMenu *arg2 = (wxMenu *) 0 ;
9347 bool result;
9348 PyObject * obj0 = 0 ;
9349 PyObject * obj1 = 0 ;
9350 char *kwnames[] = {
9351 (char *) "self",(char *) "menu", NULL
9352 };
9353
9354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
9355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9356 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9357 {
9358 PyThreadState* __tstate = wxPyBeginAllowThreads();
9359 result = (bool)(arg1)->PopupMenu(arg2);
9360
9361 wxPyEndAllowThreads(__tstate);
9362 if (PyErr_Occurred()) SWIG_fail;
9363 }
9364 resultobj = PyInt_FromLong((long)result);
9365 return resultobj;
9366 fail:
9367 return NULL;
9368 }
9369
9370
9371 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
9372 PyObject *obj;
9373 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9374 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
9375 Py_INCREF(obj);
9376 return Py_BuildValue((char *)"");
9377 }
9378 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9379 PyObject *resultobj;
9380 wxEventType arg1 ;
9381 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
9382 wxTaskBarIconEvent *result;
9383 PyObject * obj1 = 0 ;
9384 char *kwnames[] = {
9385 (char *) "evtType",(char *) "tbIcon", NULL
9386 };
9387
9388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iO:new_TaskBarIconEvent",kwnames,&arg1,&obj1)) goto fail;
9389 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9390 {
9391 PyThreadState* __tstate = wxPyBeginAllowThreads();
9392 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
9393
9394 wxPyEndAllowThreads(__tstate);
9395 if (PyErr_Occurred()) SWIG_fail;
9396 }
9397 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIconEvent, 1);
9398 return resultobj;
9399 fail:
9400 return NULL;
9401 }
9402
9403
9404 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
9405 PyObject *obj;
9406 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9407 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
9408 Py_INCREF(obj);
9409 return Py_BuildValue((char *)"");
9410 }
9411 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9412 PyObject *resultobj;
9413 wxColourData *result;
9414 char *kwnames[] = {
9415 NULL
9416 };
9417
9418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
9419 {
9420 PyThreadState* __tstate = wxPyBeginAllowThreads();
9421 result = (wxColourData *)new wxColourData();
9422
9423 wxPyEndAllowThreads(__tstate);
9424 if (PyErr_Occurred()) SWIG_fail;
9425 }
9426 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 1);
9427 return resultobj;
9428 fail:
9429 return NULL;
9430 }
9431
9432
9433 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9434 PyObject *resultobj;
9435 wxColourData *arg1 = (wxColourData *) 0 ;
9436 PyObject * obj0 = 0 ;
9437 char *kwnames[] = {
9438 (char *) "self", NULL
9439 };
9440
9441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
9442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9443 {
9444 PyThreadState* __tstate = wxPyBeginAllowThreads();
9445 delete arg1;
9446
9447 wxPyEndAllowThreads(__tstate);
9448 if (PyErr_Occurred()) SWIG_fail;
9449 }
9450 Py_INCREF(Py_None); resultobj = Py_None;
9451 return resultobj;
9452 fail:
9453 return NULL;
9454 }
9455
9456
9457 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9458 PyObject *resultobj;
9459 wxColourData *arg1 = (wxColourData *) 0 ;
9460 bool result;
9461 PyObject * obj0 = 0 ;
9462 char *kwnames[] = {
9463 (char *) "self", NULL
9464 };
9465
9466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
9467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9468 {
9469 PyThreadState* __tstate = wxPyBeginAllowThreads();
9470 result = (bool)(arg1)->GetChooseFull();
9471
9472 wxPyEndAllowThreads(__tstate);
9473 if (PyErr_Occurred()) SWIG_fail;
9474 }
9475 resultobj = PyInt_FromLong((long)result);
9476 return resultobj;
9477 fail:
9478 return NULL;
9479 }
9480
9481
9482 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9483 PyObject *resultobj;
9484 wxColourData *arg1 = (wxColourData *) 0 ;
9485 wxColour result;
9486 PyObject * obj0 = 0 ;
9487 char *kwnames[] = {
9488 (char *) "self", NULL
9489 };
9490
9491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
9492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9493 {
9494 PyThreadState* __tstate = wxPyBeginAllowThreads();
9495 result = (arg1)->GetColour();
9496
9497 wxPyEndAllowThreads(__tstate);
9498 if (PyErr_Occurred()) SWIG_fail;
9499 }
9500 {
9501 wxColour * resultptr;
9502 resultptr = new wxColour((wxColour &) result);
9503 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9504 }
9505 return resultobj;
9506 fail:
9507 return NULL;
9508 }
9509
9510
9511 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9512 PyObject *resultobj;
9513 wxColourData *arg1 = (wxColourData *) 0 ;
9514 int arg2 ;
9515 wxColour result;
9516 PyObject * obj0 = 0 ;
9517 char *kwnames[] = {
9518 (char *) "self",(char *) "i", NULL
9519 };
9520
9521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_GetCustomColour",kwnames,&obj0,&arg2)) goto fail;
9522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9523 {
9524 PyThreadState* __tstate = wxPyBeginAllowThreads();
9525 result = (arg1)->GetCustomColour(arg2);
9526
9527 wxPyEndAllowThreads(__tstate);
9528 if (PyErr_Occurred()) SWIG_fail;
9529 }
9530 {
9531 wxColour * resultptr;
9532 resultptr = new wxColour((wxColour &) result);
9533 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9534 }
9535 return resultobj;
9536 fail:
9537 return NULL;
9538 }
9539
9540
9541 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9542 PyObject *resultobj;
9543 wxColourData *arg1 = (wxColourData *) 0 ;
9544 int arg2 ;
9545 PyObject * obj0 = 0 ;
9546 char *kwnames[] = {
9547 (char *) "self",(char *) "flag", NULL
9548 };
9549
9550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_SetChooseFull",kwnames,&obj0,&arg2)) goto fail;
9551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9552 {
9553 PyThreadState* __tstate = wxPyBeginAllowThreads();
9554 (arg1)->SetChooseFull(arg2);
9555
9556 wxPyEndAllowThreads(__tstate);
9557 if (PyErr_Occurred()) SWIG_fail;
9558 }
9559 Py_INCREF(Py_None); resultobj = Py_None;
9560 return resultobj;
9561 fail:
9562 return NULL;
9563 }
9564
9565
9566 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9567 PyObject *resultobj;
9568 wxColourData *arg1 = (wxColourData *) 0 ;
9569 wxColour *arg2 = 0 ;
9570 wxColour temp2 ;
9571 PyObject * obj0 = 0 ;
9572 PyObject * obj1 = 0 ;
9573 char *kwnames[] = {
9574 (char *) "self",(char *) "colour", NULL
9575 };
9576
9577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
9578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9579 {
9580 arg2 = &temp2;
9581 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9582 }
9583 {
9584 PyThreadState* __tstate = wxPyBeginAllowThreads();
9585 (arg1)->SetColour((wxColour const &)*arg2);
9586
9587 wxPyEndAllowThreads(__tstate);
9588 if (PyErr_Occurred()) SWIG_fail;
9589 }
9590 Py_INCREF(Py_None); resultobj = Py_None;
9591 return resultobj;
9592 fail:
9593 return NULL;
9594 }
9595
9596
9597 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9598 PyObject *resultobj;
9599 wxColourData *arg1 = (wxColourData *) 0 ;
9600 int arg2 ;
9601 wxColour *arg3 = 0 ;
9602 wxColour temp3 ;
9603 PyObject * obj0 = 0 ;
9604 PyObject * obj2 = 0 ;
9605 char *kwnames[] = {
9606 (char *) "self",(char *) "i",(char *) "colour", NULL
9607 };
9608
9609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ColourData_SetCustomColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
9610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9611 {
9612 arg3 = &temp3;
9613 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9614 }
9615 {
9616 PyThreadState* __tstate = wxPyBeginAllowThreads();
9617 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
9618
9619 wxPyEndAllowThreads(__tstate);
9620 if (PyErr_Occurred()) SWIG_fail;
9621 }
9622 Py_INCREF(Py_None); resultobj = Py_None;
9623 return resultobj;
9624 fail:
9625 return NULL;
9626 }
9627
9628
9629 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
9630 PyObject *obj;
9631 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9632 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
9633 Py_INCREF(obj);
9634 return Py_BuildValue((char *)"");
9635 }
9636 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
9637 PyObject *resultobj;
9638 wxWindow *arg1 = (wxWindow *) 0 ;
9639 wxColourData *arg2 = (wxColourData *) NULL ;
9640 wxColourDialog *result;
9641 PyObject * obj0 = 0 ;
9642 PyObject * obj1 = 0 ;
9643 char *kwnames[] = {
9644 (char *) "parent",(char *) "data", NULL
9645 };
9646
9647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
9648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9649 if (obj1) {
9650 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9651 }
9652 {
9653 PyThreadState* __tstate = wxPyBeginAllowThreads();
9654 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
9655
9656 wxPyEndAllowThreads(__tstate);
9657 if (PyErr_Occurred()) SWIG_fail;
9658 }
9659 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourDialog, 1);
9660 return resultobj;
9661 fail:
9662 return NULL;
9663 }
9664
9665
9666 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9667 PyObject *resultobj;
9668 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
9669 wxColourData *result;
9670 PyObject * obj0 = 0 ;
9671 char *kwnames[] = {
9672 (char *) "self", NULL
9673 };
9674
9675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
9676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9677 {
9678 PyThreadState* __tstate = wxPyBeginAllowThreads();
9679 {
9680 wxColourData &_result_ref = (arg1)->GetColourData();
9681 result = (wxColourData *) &_result_ref;
9682 }
9683
9684 wxPyEndAllowThreads(__tstate);
9685 if (PyErr_Occurred()) SWIG_fail;
9686 }
9687 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 0);
9688 return resultobj;
9689 fail:
9690 return NULL;
9691 }
9692
9693
9694 static PyObject *_wrap_ColourDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
9695 PyObject *resultobj;
9696 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
9697 int result;
9698 PyObject * obj0 = 0 ;
9699 char *kwnames[] = {
9700 (char *) "self", NULL
9701 };
9702
9703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_ShowModal",kwnames,&obj0)) goto fail;
9704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9705 {
9706 PyThreadState* __tstate = wxPyBeginAllowThreads();
9707 result = (int)(arg1)->ShowModal();
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 * ColourDialog_swigregister(PyObject *self, PyObject *args) {
9720 PyObject *obj;
9721 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9722 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
9723 Py_INCREF(obj);
9724 return Py_BuildValue((char *)"");
9725 }
9726 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
9727 PyObject *resultobj;
9728 wxWindow *arg1 = (wxWindow *) 0 ;
9729 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
9730 wxString *arg2 = (wxString *) &arg2_defvalue ;
9731 wxString const &arg3_defvalue = wxPyEmptyString ;
9732 wxString *arg3 = (wxString *) &arg3_defvalue ;
9733 long arg4 = (long) 0 ;
9734 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9735 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9736 wxSize const &arg6_defvalue = wxDefaultSize ;
9737 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9738 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
9739 wxString *arg7 = (wxString *) &arg7_defvalue ;
9740 wxDirDialog *result;
9741 bool temp2 = False ;
9742 bool temp3 = False ;
9743 wxPoint temp5 ;
9744 wxSize temp6 ;
9745 bool temp7 = False ;
9746 PyObject * obj0 = 0 ;
9747 PyObject * obj1 = 0 ;
9748 PyObject * obj2 = 0 ;
9749 PyObject * obj4 = 0 ;
9750 PyObject * obj5 = 0 ;
9751 PyObject * obj6 = 0 ;
9752 char *kwnames[] = {
9753 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
9754 };
9755
9756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOlOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&obj5,&obj6)) goto fail;
9757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9758 if (obj1) {
9759 {
9760 arg2 = wxString_in_helper(obj1);
9761 if (arg2 == NULL) SWIG_fail;
9762 temp2 = True;
9763 }
9764 }
9765 if (obj2) {
9766 {
9767 arg3 = wxString_in_helper(obj2);
9768 if (arg3 == NULL) SWIG_fail;
9769 temp3 = True;
9770 }
9771 }
9772 if (obj4) {
9773 {
9774 arg5 = &temp5;
9775 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9776 }
9777 }
9778 if (obj5) {
9779 {
9780 arg6 = &temp6;
9781 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9782 }
9783 }
9784 if (obj6) {
9785 {
9786 arg7 = wxString_in_helper(obj6);
9787 if (arg7 == NULL) SWIG_fail;
9788 temp7 = True;
9789 }
9790 }
9791 {
9792 PyThreadState* __tstate = wxPyBeginAllowThreads();
9793 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
9794
9795 wxPyEndAllowThreads(__tstate);
9796 if (PyErr_Occurred()) SWIG_fail;
9797 }
9798 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirDialog, 1);
9799 {
9800 if (temp2)
9801 delete arg2;
9802 }
9803 {
9804 if (temp3)
9805 delete arg3;
9806 }
9807 {
9808 if (temp7)
9809 delete arg7;
9810 }
9811 return resultobj;
9812 fail:
9813 {
9814 if (temp2)
9815 delete arg2;
9816 }
9817 {
9818 if (temp3)
9819 delete arg3;
9820 }
9821 {
9822 if (temp7)
9823 delete arg7;
9824 }
9825 return NULL;
9826 }
9827
9828
9829 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
9830 PyObject *resultobj;
9831 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9832 wxString result;
9833 PyObject * obj0 = 0 ;
9834 char *kwnames[] = {
9835 (char *) "self", NULL
9836 };
9837
9838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
9839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9840 {
9841 PyThreadState* __tstate = wxPyBeginAllowThreads();
9842 result = (arg1)->GetPath();
9843
9844 wxPyEndAllowThreads(__tstate);
9845 if (PyErr_Occurred()) SWIG_fail;
9846 }
9847 {
9848 #if wxUSE_UNICODE
9849 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9850 #else
9851 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9852 #endif
9853 }
9854 return resultobj;
9855 fail:
9856 return NULL;
9857 }
9858
9859
9860 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
9861 PyObject *resultobj;
9862 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9863 wxString result;
9864 PyObject * obj0 = 0 ;
9865 char *kwnames[] = {
9866 (char *) "self", NULL
9867 };
9868
9869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
9870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9871 {
9872 PyThreadState* __tstate = wxPyBeginAllowThreads();
9873 result = (arg1)->GetMessage();
9874
9875 wxPyEndAllowThreads(__tstate);
9876 if (PyErr_Occurred()) SWIG_fail;
9877 }
9878 {
9879 #if wxUSE_UNICODE
9880 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9881 #else
9882 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9883 #endif
9884 }
9885 return resultobj;
9886 fail:
9887 return NULL;
9888 }
9889
9890
9891 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9892 PyObject *resultobj;
9893 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9894 long result;
9895 PyObject * obj0 = 0 ;
9896 char *kwnames[] = {
9897 (char *) "self", NULL
9898 };
9899
9900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
9901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9902 {
9903 PyThreadState* __tstate = wxPyBeginAllowThreads();
9904 result = (long)(arg1)->GetStyle();
9905
9906 wxPyEndAllowThreads(__tstate);
9907 if (PyErr_Occurred()) SWIG_fail;
9908 }
9909 resultobj = PyInt_FromLong((long)result);
9910 return resultobj;
9911 fail:
9912 return NULL;
9913 }
9914
9915
9916 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
9917 PyObject *resultobj;
9918 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9919 wxString *arg2 = 0 ;
9920 bool temp2 = False ;
9921 PyObject * obj0 = 0 ;
9922 PyObject * obj1 = 0 ;
9923 char *kwnames[] = {
9924 (char *) "self",(char *) "message", NULL
9925 };
9926
9927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
9928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9929 {
9930 arg2 = wxString_in_helper(obj1);
9931 if (arg2 == NULL) SWIG_fail;
9932 temp2 = True;
9933 }
9934 {
9935 PyThreadState* __tstate = wxPyBeginAllowThreads();
9936 (arg1)->SetMessage((wxString const &)*arg2);
9937
9938 wxPyEndAllowThreads(__tstate);
9939 if (PyErr_Occurred()) SWIG_fail;
9940 }
9941 Py_INCREF(Py_None); resultobj = Py_None;
9942 {
9943 if (temp2)
9944 delete arg2;
9945 }
9946 return resultobj;
9947 fail:
9948 {
9949 if (temp2)
9950 delete arg2;
9951 }
9952 return NULL;
9953 }
9954
9955
9956 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
9957 PyObject *resultobj;
9958 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9959 wxString *arg2 = 0 ;
9960 bool temp2 = False ;
9961 PyObject * obj0 = 0 ;
9962 PyObject * obj1 = 0 ;
9963 char *kwnames[] = {
9964 (char *) "self",(char *) "path", NULL
9965 };
9966
9967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
9968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9969 {
9970 arg2 = wxString_in_helper(obj1);
9971 if (arg2 == NULL) SWIG_fail;
9972 temp2 = True;
9973 }
9974 {
9975 PyThreadState* __tstate = wxPyBeginAllowThreads();
9976 (arg1)->SetPath((wxString const &)*arg2);
9977
9978 wxPyEndAllowThreads(__tstate);
9979 if (PyErr_Occurred()) SWIG_fail;
9980 }
9981 Py_INCREF(Py_None); resultobj = Py_None;
9982 {
9983 if (temp2)
9984 delete arg2;
9985 }
9986 return resultobj;
9987 fail:
9988 {
9989 if (temp2)
9990 delete arg2;
9991 }
9992 return NULL;
9993 }
9994
9995
9996 static PyObject *_wrap_DirDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
9997 PyObject *resultobj;
9998 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9999 int result;
10000 PyObject * obj0 = 0 ;
10001 char *kwnames[] = {
10002 (char *) "self", NULL
10003 };
10004
10005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_ShowModal",kwnames,&obj0)) goto fail;
10006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10007 {
10008 PyThreadState* __tstate = wxPyBeginAllowThreads();
10009 result = (int)(arg1)->ShowModal();
10010
10011 wxPyEndAllowThreads(__tstate);
10012 if (PyErr_Occurred()) SWIG_fail;
10013 }
10014 resultobj = PyInt_FromLong((long)result);
10015 return resultobj;
10016 fail:
10017 return NULL;
10018 }
10019
10020
10021 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
10022 PyObject *obj;
10023 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10024 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
10025 Py_INCREF(obj);
10026 return Py_BuildValue((char *)"");
10027 }
10028 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10029 PyObject *resultobj;
10030 wxWindow *arg1 = (wxWindow *) 0 ;
10031 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
10032 wxString *arg2 = (wxString *) &arg2_defvalue ;
10033 wxString const &arg3_defvalue = wxPyEmptyString ;
10034 wxString *arg3 = (wxString *) &arg3_defvalue ;
10035 wxString const &arg4_defvalue = wxPyEmptyString ;
10036 wxString *arg4 = (wxString *) &arg4_defvalue ;
10037 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
10038 wxString *arg5 = (wxString *) &arg5_defvalue ;
10039 long arg6 = (long) 0 ;
10040 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10041 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10042 wxFileDialog *result;
10043 bool temp2 = False ;
10044 bool temp3 = False ;
10045 bool temp4 = False ;
10046 bool temp5 = False ;
10047 wxPoint temp7 ;
10048 PyObject * obj0 = 0 ;
10049 PyObject * obj1 = 0 ;
10050 PyObject * obj2 = 0 ;
10051 PyObject * obj3 = 0 ;
10052 PyObject * obj4 = 0 ;
10053 PyObject * obj6 = 0 ;
10054 char *kwnames[] = {
10055 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
10056 };
10057
10058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOlO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
10059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10060 if (obj1) {
10061 {
10062 arg2 = wxString_in_helper(obj1);
10063 if (arg2 == NULL) SWIG_fail;
10064 temp2 = True;
10065 }
10066 }
10067 if (obj2) {
10068 {
10069 arg3 = wxString_in_helper(obj2);
10070 if (arg3 == NULL) SWIG_fail;
10071 temp3 = True;
10072 }
10073 }
10074 if (obj3) {
10075 {
10076 arg4 = wxString_in_helper(obj3);
10077 if (arg4 == NULL) SWIG_fail;
10078 temp4 = True;
10079 }
10080 }
10081 if (obj4) {
10082 {
10083 arg5 = wxString_in_helper(obj4);
10084 if (arg5 == NULL) SWIG_fail;
10085 temp5 = True;
10086 }
10087 }
10088 if (obj6) {
10089 {
10090 arg7 = &temp7;
10091 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10092 }
10093 }
10094 {
10095 PyThreadState* __tstate = wxPyBeginAllowThreads();
10096 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
10097
10098 wxPyEndAllowThreads(__tstate);
10099 if (PyErr_Occurred()) SWIG_fail;
10100 }
10101 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDialog, 1);
10102 {
10103 if (temp2)
10104 delete arg2;
10105 }
10106 {
10107 if (temp3)
10108 delete arg3;
10109 }
10110 {
10111 if (temp4)
10112 delete arg4;
10113 }
10114 {
10115 if (temp5)
10116 delete arg5;
10117 }
10118 return resultobj;
10119 fail:
10120 {
10121 if (temp2)
10122 delete arg2;
10123 }
10124 {
10125 if (temp3)
10126 delete arg3;
10127 }
10128 {
10129 if (temp4)
10130 delete arg4;
10131 }
10132 {
10133 if (temp5)
10134 delete arg5;
10135 }
10136 return NULL;
10137 }
10138
10139
10140 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10141 PyObject *resultobj;
10142 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10143 wxString *arg2 = 0 ;
10144 bool temp2 = False ;
10145 PyObject * obj0 = 0 ;
10146 PyObject * obj1 = 0 ;
10147 char *kwnames[] = {
10148 (char *) "self",(char *) "message", NULL
10149 };
10150
10151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
10152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10153 {
10154 arg2 = wxString_in_helper(obj1);
10155 if (arg2 == NULL) SWIG_fail;
10156 temp2 = True;
10157 }
10158 {
10159 PyThreadState* __tstate = wxPyBeginAllowThreads();
10160 (arg1)->SetMessage((wxString const &)*arg2);
10161
10162 wxPyEndAllowThreads(__tstate);
10163 if (PyErr_Occurred()) SWIG_fail;
10164 }
10165 Py_INCREF(Py_None); resultobj = Py_None;
10166 {
10167 if (temp2)
10168 delete arg2;
10169 }
10170 return resultobj;
10171 fail:
10172 {
10173 if (temp2)
10174 delete arg2;
10175 }
10176 return NULL;
10177 }
10178
10179
10180 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10181 PyObject *resultobj;
10182 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10183 wxString *arg2 = 0 ;
10184 bool temp2 = False ;
10185 PyObject * obj0 = 0 ;
10186 PyObject * obj1 = 0 ;
10187 char *kwnames[] = {
10188 (char *) "self",(char *) "path", NULL
10189 };
10190
10191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
10192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10193 {
10194 arg2 = wxString_in_helper(obj1);
10195 if (arg2 == NULL) SWIG_fail;
10196 temp2 = True;
10197 }
10198 {
10199 PyThreadState* __tstate = wxPyBeginAllowThreads();
10200 (arg1)->SetPath((wxString const &)*arg2);
10201
10202 wxPyEndAllowThreads(__tstate);
10203 if (PyErr_Occurred()) SWIG_fail;
10204 }
10205 Py_INCREF(Py_None); resultobj = Py_None;
10206 {
10207 if (temp2)
10208 delete arg2;
10209 }
10210 return resultobj;
10211 fail:
10212 {
10213 if (temp2)
10214 delete arg2;
10215 }
10216 return NULL;
10217 }
10218
10219
10220 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10221 PyObject *resultobj;
10222 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10223 wxString *arg2 = 0 ;
10224 bool temp2 = False ;
10225 PyObject * obj0 = 0 ;
10226 PyObject * obj1 = 0 ;
10227 char *kwnames[] = {
10228 (char *) "self",(char *) "dir", NULL
10229 };
10230
10231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
10232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10233 {
10234 arg2 = wxString_in_helper(obj1);
10235 if (arg2 == NULL) SWIG_fail;
10236 temp2 = True;
10237 }
10238 {
10239 PyThreadState* __tstate = wxPyBeginAllowThreads();
10240 (arg1)->SetDirectory((wxString const &)*arg2);
10241
10242 wxPyEndAllowThreads(__tstate);
10243 if (PyErr_Occurred()) SWIG_fail;
10244 }
10245 Py_INCREF(Py_None); resultobj = Py_None;
10246 {
10247 if (temp2)
10248 delete arg2;
10249 }
10250 return resultobj;
10251 fail:
10252 {
10253 if (temp2)
10254 delete arg2;
10255 }
10256 return NULL;
10257 }
10258
10259
10260 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10261 PyObject *resultobj;
10262 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10263 wxString *arg2 = 0 ;
10264 bool temp2 = False ;
10265 PyObject * obj0 = 0 ;
10266 PyObject * obj1 = 0 ;
10267 char *kwnames[] = {
10268 (char *) "self",(char *) "name", NULL
10269 };
10270
10271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
10272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10273 {
10274 arg2 = wxString_in_helper(obj1);
10275 if (arg2 == NULL) SWIG_fail;
10276 temp2 = True;
10277 }
10278 {
10279 PyThreadState* __tstate = wxPyBeginAllowThreads();
10280 (arg1)->SetFilename((wxString const &)*arg2);
10281
10282 wxPyEndAllowThreads(__tstate);
10283 if (PyErr_Occurred()) SWIG_fail;
10284 }
10285 Py_INCREF(Py_None); resultobj = Py_None;
10286 {
10287 if (temp2)
10288 delete arg2;
10289 }
10290 return resultobj;
10291 fail:
10292 {
10293 if (temp2)
10294 delete arg2;
10295 }
10296 return NULL;
10297 }
10298
10299
10300 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10301 PyObject *resultobj;
10302 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10303 wxString *arg2 = 0 ;
10304 bool temp2 = False ;
10305 PyObject * obj0 = 0 ;
10306 PyObject * obj1 = 0 ;
10307 char *kwnames[] = {
10308 (char *) "self",(char *) "wildCard", NULL
10309 };
10310
10311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
10312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10313 {
10314 arg2 = wxString_in_helper(obj1);
10315 if (arg2 == NULL) SWIG_fail;
10316 temp2 = True;
10317 }
10318 {
10319 PyThreadState* __tstate = wxPyBeginAllowThreads();
10320 (arg1)->SetWildcard((wxString const &)*arg2);
10321
10322 wxPyEndAllowThreads(__tstate);
10323 if (PyErr_Occurred()) SWIG_fail;
10324 }
10325 Py_INCREF(Py_None); resultobj = Py_None;
10326 {
10327 if (temp2)
10328 delete arg2;
10329 }
10330 return resultobj;
10331 fail:
10332 {
10333 if (temp2)
10334 delete arg2;
10335 }
10336 return NULL;
10337 }
10338
10339
10340 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10341 PyObject *resultobj;
10342 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10343 long arg2 ;
10344 PyObject * obj0 = 0 ;
10345 char *kwnames[] = {
10346 (char *) "self",(char *) "style", NULL
10347 };
10348
10349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:FileDialog_SetStyle",kwnames,&obj0,&arg2)) goto fail;
10350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10351 {
10352 PyThreadState* __tstate = wxPyBeginAllowThreads();
10353 (arg1)->SetStyle(arg2);
10354
10355 wxPyEndAllowThreads(__tstate);
10356 if (PyErr_Occurred()) SWIG_fail;
10357 }
10358 Py_INCREF(Py_None); resultobj = Py_None;
10359 return resultobj;
10360 fail:
10361 return NULL;
10362 }
10363
10364
10365 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10366 PyObject *resultobj;
10367 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10368 int arg2 ;
10369 PyObject * obj0 = 0 ;
10370 char *kwnames[] = {
10371 (char *) "self",(char *) "filterIndex", NULL
10372 };
10373
10374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileDialog_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
10375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10376 {
10377 PyThreadState* __tstate = wxPyBeginAllowThreads();
10378 (arg1)->SetFilterIndex(arg2);
10379
10380 wxPyEndAllowThreads(__tstate);
10381 if (PyErr_Occurred()) SWIG_fail;
10382 }
10383 Py_INCREF(Py_None); resultobj = Py_None;
10384 return resultobj;
10385 fail:
10386 return NULL;
10387 }
10388
10389
10390 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10391 PyObject *resultobj;
10392 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10393 wxString result;
10394 PyObject * obj0 = 0 ;
10395 char *kwnames[] = {
10396 (char *) "self", NULL
10397 };
10398
10399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
10400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10401 {
10402 PyThreadState* __tstate = wxPyBeginAllowThreads();
10403 result = ((wxFileDialog const *)arg1)->GetMessage();
10404
10405 wxPyEndAllowThreads(__tstate);
10406 if (PyErr_Occurred()) SWIG_fail;
10407 }
10408 {
10409 #if wxUSE_UNICODE
10410 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10411 #else
10412 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10413 #endif
10414 }
10415 return resultobj;
10416 fail:
10417 return NULL;
10418 }
10419
10420
10421 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10422 PyObject *resultobj;
10423 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10424 wxString result;
10425 PyObject * obj0 = 0 ;
10426 char *kwnames[] = {
10427 (char *) "self", NULL
10428 };
10429
10430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
10431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10432 {
10433 PyThreadState* __tstate = wxPyBeginAllowThreads();
10434 result = ((wxFileDialog const *)arg1)->GetPath();
10435
10436 wxPyEndAllowThreads(__tstate);
10437 if (PyErr_Occurred()) SWIG_fail;
10438 }
10439 {
10440 #if wxUSE_UNICODE
10441 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10442 #else
10443 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10444 #endif
10445 }
10446 return resultobj;
10447 fail:
10448 return NULL;
10449 }
10450
10451
10452 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10453 PyObject *resultobj;
10454 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10455 wxString result;
10456 PyObject * obj0 = 0 ;
10457 char *kwnames[] = {
10458 (char *) "self", NULL
10459 };
10460
10461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
10462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10463 {
10464 PyThreadState* __tstate = wxPyBeginAllowThreads();
10465 result = ((wxFileDialog const *)arg1)->GetDirectory();
10466
10467 wxPyEndAllowThreads(__tstate);
10468 if (PyErr_Occurred()) SWIG_fail;
10469 }
10470 {
10471 #if wxUSE_UNICODE
10472 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10473 #else
10474 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10475 #endif
10476 }
10477 return resultobj;
10478 fail:
10479 return NULL;
10480 }
10481
10482
10483 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10484 PyObject *resultobj;
10485 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10486 wxString result;
10487 PyObject * obj0 = 0 ;
10488 char *kwnames[] = {
10489 (char *) "self", NULL
10490 };
10491
10492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
10493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10494 {
10495 PyThreadState* __tstate = wxPyBeginAllowThreads();
10496 result = ((wxFileDialog const *)arg1)->GetFilename();
10497
10498 wxPyEndAllowThreads(__tstate);
10499 if (PyErr_Occurred()) SWIG_fail;
10500 }
10501 {
10502 #if wxUSE_UNICODE
10503 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10504 #else
10505 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10506 #endif
10507 }
10508 return resultobj;
10509 fail:
10510 return NULL;
10511 }
10512
10513
10514 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10515 PyObject *resultobj;
10516 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10517 wxString result;
10518 PyObject * obj0 = 0 ;
10519 char *kwnames[] = {
10520 (char *) "self", NULL
10521 };
10522
10523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
10524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10525 {
10526 PyThreadState* __tstate = wxPyBeginAllowThreads();
10527 result = ((wxFileDialog const *)arg1)->GetWildcard();
10528
10529 wxPyEndAllowThreads(__tstate);
10530 if (PyErr_Occurred()) SWIG_fail;
10531 }
10532 {
10533 #if wxUSE_UNICODE
10534 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10535 #else
10536 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10537 #endif
10538 }
10539 return resultobj;
10540 fail:
10541 return NULL;
10542 }
10543
10544
10545 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10546 PyObject *resultobj;
10547 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10548 long result;
10549 PyObject * obj0 = 0 ;
10550 char *kwnames[] = {
10551 (char *) "self", NULL
10552 };
10553
10554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
10555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10556 {
10557 PyThreadState* __tstate = wxPyBeginAllowThreads();
10558 result = (long)((wxFileDialog const *)arg1)->GetStyle();
10559
10560 wxPyEndAllowThreads(__tstate);
10561 if (PyErr_Occurred()) SWIG_fail;
10562 }
10563 resultobj = PyInt_FromLong((long)result);
10564 return resultobj;
10565 fail:
10566 return NULL;
10567 }
10568
10569
10570 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10571 PyObject *resultobj;
10572 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10573 int result;
10574 PyObject * obj0 = 0 ;
10575 char *kwnames[] = {
10576 (char *) "self", NULL
10577 };
10578
10579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
10580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10581 {
10582 PyThreadState* __tstate = wxPyBeginAllowThreads();
10583 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
10584
10585 wxPyEndAllowThreads(__tstate);
10586 if (PyErr_Occurred()) SWIG_fail;
10587 }
10588 resultobj = PyInt_FromLong((long)result);
10589 return resultobj;
10590 fail:
10591 return NULL;
10592 }
10593
10594
10595 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
10596 PyObject *resultobj;
10597 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10598 PyObject *result;
10599 PyObject * obj0 = 0 ;
10600 char *kwnames[] = {
10601 (char *) "self", NULL
10602 };
10603
10604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
10605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10606 {
10607 PyThreadState* __tstate = wxPyBeginAllowThreads();
10608 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
10609
10610 wxPyEndAllowThreads(__tstate);
10611 if (PyErr_Occurred()) SWIG_fail;
10612 }
10613 resultobj = result;
10614 return resultobj;
10615 fail:
10616 return NULL;
10617 }
10618
10619
10620 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
10621 PyObject *resultobj;
10622 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10623 PyObject *result;
10624 PyObject * obj0 = 0 ;
10625 char *kwnames[] = {
10626 (char *) "self", NULL
10627 };
10628
10629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
10630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10631 {
10632 PyThreadState* __tstate = wxPyBeginAllowThreads();
10633 result = (PyObject *)wxFileDialog_GetPaths(arg1);
10634
10635 wxPyEndAllowThreads(__tstate);
10636 if (PyErr_Occurred()) SWIG_fail;
10637 }
10638 resultobj = result;
10639 return resultobj;
10640 fail:
10641 return NULL;
10642 }
10643
10644
10645 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
10646 PyObject *obj;
10647 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10648 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
10649 Py_INCREF(obj);
10650 return Py_BuildValue((char *)"");
10651 }
10652 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10653 PyObject *resultobj;
10654 wxWindow *arg1 = (wxWindow *) 0 ;
10655 wxString *arg2 = 0 ;
10656 wxString *arg3 = 0 ;
10657 int arg4 ;
10658 wxString *arg5 = (wxString *) 0 ;
10659 long arg6 = (long) wxCHOICEDLG_STYLE ;
10660 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10661 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10662 wxMultiChoiceDialog *result;
10663 bool temp2 = False ;
10664 bool temp3 = False ;
10665 wxPoint temp7 ;
10666 PyObject * obj0 = 0 ;
10667 PyObject * obj1 = 0 ;
10668 PyObject * obj2 = 0 ;
10669 PyObject * obj4 = 0 ;
10670 PyObject * obj6 = 0 ;
10671 char *kwnames[] = {
10672 (char *) "parent",(char *) "message",(char *) "caption",(char *) "LCOUNT",(char *) "choices",(char *) "style",(char *) "pos", NULL
10673 };
10674
10675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiO|lO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&arg6,&obj6)) goto fail;
10676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10677 {
10678 arg2 = wxString_in_helper(obj1);
10679 if (arg2 == NULL) SWIG_fail;
10680 temp2 = True;
10681 }
10682 {
10683 arg3 = wxString_in_helper(obj2);
10684 if (arg3 == NULL) SWIG_fail;
10685 temp3 = True;
10686 }
10687 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10688 if (obj6) {
10689 {
10690 arg7 = &temp7;
10691 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10692 }
10693 }
10694 {
10695 PyThreadState* __tstate = wxPyBeginAllowThreads();
10696 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
10697
10698 wxPyEndAllowThreads(__tstate);
10699 if (PyErr_Occurred()) SWIG_fail;
10700 }
10701 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMultiChoiceDialog, 1);
10702 {
10703 if (temp2)
10704 delete arg2;
10705 }
10706 {
10707 if (temp3)
10708 delete arg3;
10709 }
10710 return resultobj;
10711 fail:
10712 {
10713 if (temp2)
10714 delete arg2;
10715 }
10716 {
10717 if (temp3)
10718 delete arg3;
10719 }
10720 return NULL;
10721 }
10722
10723
10724 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
10725 PyObject *resultobj;
10726 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
10727 wxArrayInt *arg2 = 0 ;
10728 PyObject * obj0 = 0 ;
10729 PyObject * obj1 = 0 ;
10730 char *kwnames[] = {
10731 (char *) "self",(char *) "selections", NULL
10732 };
10733
10734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
10735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10736 {
10737 if (! PySequence_Check(obj1)) {
10738 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10739 SWIG_fail;
10740 }
10741 arg2 = new wxArrayInt;
10742 int i, len=PySequence_Length(obj1);
10743 for (i=0; i<len; i++) {
10744 PyObject* item = PySequence_GetItem(obj1, i);
10745 PyObject* number = PyNumber_Int(item);
10746 arg2->Add(PyInt_AS_LONG(number));
10747 Py_DECREF(item);
10748 Py_DECREF(number);
10749 }
10750 }
10751 {
10752 PyThreadState* __tstate = wxPyBeginAllowThreads();
10753 (arg1)->SetSelections((wxArrayInt const &)*arg2);
10754
10755 wxPyEndAllowThreads(__tstate);
10756 if (PyErr_Occurred()) SWIG_fail;
10757 }
10758 Py_INCREF(Py_None); resultobj = Py_None;
10759 {
10760 if (arg2) delete arg2;
10761 }
10762 return resultobj;
10763 fail:
10764 {
10765 if (arg2) delete arg2;
10766 }
10767 return NULL;
10768 }
10769
10770
10771 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
10772 PyObject *resultobj;
10773 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
10774 PyObject *result;
10775 PyObject * obj0 = 0 ;
10776 char *kwnames[] = {
10777 (char *) "self", NULL
10778 };
10779
10780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
10781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10782 {
10783 PyThreadState* __tstate = wxPyBeginAllowThreads();
10784 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
10785
10786 wxPyEndAllowThreads(__tstate);
10787 if (PyErr_Occurred()) SWIG_fail;
10788 }
10789 resultobj = result;
10790 return resultobj;
10791 fail:
10792 return NULL;
10793 }
10794
10795
10796 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
10797 PyObject *obj;
10798 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10799 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
10800 Py_INCREF(obj);
10801 return Py_BuildValue((char *)"");
10802 }
10803 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10804 PyObject *resultobj;
10805 wxWindow *arg1 = (wxWindow *) 0 ;
10806 wxString *arg2 = 0 ;
10807 wxString *arg3 = 0 ;
10808 int arg4 ;
10809 wxString *arg5 = (wxString *) 0 ;
10810 long arg6 = (long) wxCHOICEDLG_STYLE ;
10811 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10812 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10813 wxSingleChoiceDialog *result;
10814 bool temp2 = False ;
10815 bool temp3 = False ;
10816 wxPoint temp6 ;
10817 PyObject * obj0 = 0 ;
10818 PyObject * obj1 = 0 ;
10819 PyObject * obj2 = 0 ;
10820 PyObject * obj3 = 0 ;
10821 PyObject * obj5 = 0 ;
10822 char *kwnames[] = {
10823 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
10824 };
10825
10826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|lO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&obj5)) goto fail;
10827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10828 {
10829 arg2 = wxString_in_helper(obj1);
10830 if (arg2 == NULL) SWIG_fail;
10831 temp2 = True;
10832 }
10833 {
10834 arg3 = wxString_in_helper(obj2);
10835 if (arg3 == NULL) SWIG_fail;
10836 temp3 = True;
10837 }
10838 {
10839 arg4 = PyList_Size(obj3);
10840 arg5 = wxString_LIST_helper(obj3);
10841 if (arg5 == NULL) SWIG_fail;
10842 }
10843 if (obj5) {
10844 {
10845 arg7 = &temp6;
10846 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
10847 }
10848 }
10849 {
10850 PyThreadState* __tstate = wxPyBeginAllowThreads();
10851 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
10852
10853 wxPyEndAllowThreads(__tstate);
10854 if (PyErr_Occurred()) SWIG_fail;
10855 }
10856 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleChoiceDialog, 1);
10857 {
10858 if (temp2)
10859 delete arg2;
10860 }
10861 {
10862 if (temp3)
10863 delete arg3;
10864 }
10865 {
10866 if (arg5) delete [] arg5;
10867 }
10868 return resultobj;
10869 fail:
10870 {
10871 if (temp2)
10872 delete arg2;
10873 }
10874 {
10875 if (temp3)
10876 delete arg3;
10877 }
10878 {
10879 if (arg5) delete [] arg5;
10880 }
10881 return NULL;
10882 }
10883
10884
10885 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10886 PyObject *resultobj;
10887 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
10888 int result;
10889 PyObject * obj0 = 0 ;
10890 char *kwnames[] = {
10891 (char *) "self", NULL
10892 };
10893
10894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
10895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10896 {
10897 PyThreadState* __tstate = wxPyBeginAllowThreads();
10898 result = (int)(arg1)->GetSelection();
10899
10900 wxPyEndAllowThreads(__tstate);
10901 if (PyErr_Occurred()) SWIG_fail;
10902 }
10903 resultobj = PyInt_FromLong((long)result);
10904 return resultobj;
10905 fail:
10906 return NULL;
10907 }
10908
10909
10910 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10911 PyObject *resultobj;
10912 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
10913 wxString result;
10914 PyObject * obj0 = 0 ;
10915 char *kwnames[] = {
10916 (char *) "self", NULL
10917 };
10918
10919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
10920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10921 {
10922 PyThreadState* __tstate = wxPyBeginAllowThreads();
10923 result = (arg1)->GetStringSelection();
10924
10925 wxPyEndAllowThreads(__tstate);
10926 if (PyErr_Occurred()) SWIG_fail;
10927 }
10928 {
10929 #if wxUSE_UNICODE
10930 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10931 #else
10932 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10933 #endif
10934 }
10935 return resultobj;
10936 fail:
10937 return NULL;
10938 }
10939
10940
10941 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10942 PyObject *resultobj;
10943 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
10944 int arg2 ;
10945 PyObject * obj0 = 0 ;
10946 char *kwnames[] = {
10947 (char *) "self",(char *) "sel", NULL
10948 };
10949
10950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SingleChoiceDialog_SetSelection",kwnames,&obj0,&arg2)) goto fail;
10951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10952 {
10953 PyThreadState* __tstate = wxPyBeginAllowThreads();
10954 (arg1)->SetSelection(arg2);
10955
10956 wxPyEndAllowThreads(__tstate);
10957 if (PyErr_Occurred()) SWIG_fail;
10958 }
10959 Py_INCREF(Py_None); resultobj = Py_None;
10960 return resultobj;
10961 fail:
10962 return NULL;
10963 }
10964
10965
10966 static PyObject *_wrap_SingleChoiceDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
10967 PyObject *resultobj;
10968 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
10969 int result;
10970 PyObject * obj0 = 0 ;
10971 char *kwnames[] = {
10972 (char *) "self", NULL
10973 };
10974
10975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_ShowModal",kwnames,&obj0)) goto fail;
10976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10977 {
10978 PyThreadState* __tstate = wxPyBeginAllowThreads();
10979 result = (int)(arg1)->ShowModal();
10980
10981 wxPyEndAllowThreads(__tstate);
10982 if (PyErr_Occurred()) SWIG_fail;
10983 }
10984 resultobj = PyInt_FromLong((long)result);
10985 return resultobj;
10986 fail:
10987 return NULL;
10988 }
10989
10990
10991 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
10992 PyObject *obj;
10993 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10994 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
10995 Py_INCREF(obj);
10996 return Py_BuildValue((char *)"");
10997 }
10998 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10999 PyObject *resultobj;
11000 wxWindow *arg1 = (wxWindow *) 0 ;
11001 wxString *arg2 = 0 ;
11002 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
11003 wxString *arg3 = (wxString *) &arg3_defvalue ;
11004 wxString const &arg4_defvalue = wxPyEmptyString ;
11005 wxString *arg4 = (wxString *) &arg4_defvalue ;
11006 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
11007 wxPoint const &arg6_defvalue = wxDefaultPosition ;
11008 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
11009 wxTextEntryDialog *result;
11010 bool temp2 = False ;
11011 bool temp3 = False ;
11012 bool temp4 = False ;
11013 wxPoint temp6 ;
11014 PyObject * obj0 = 0 ;
11015 PyObject * obj1 = 0 ;
11016 PyObject * obj2 = 0 ;
11017 PyObject * obj3 = 0 ;
11018 PyObject * obj5 = 0 ;
11019 char *kwnames[] = {
11020 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
11021 };
11022
11023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
11024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11025 {
11026 arg2 = wxString_in_helper(obj1);
11027 if (arg2 == NULL) SWIG_fail;
11028 temp2 = True;
11029 }
11030 if (obj2) {
11031 {
11032 arg3 = wxString_in_helper(obj2);
11033 if (arg3 == NULL) SWIG_fail;
11034 temp3 = True;
11035 }
11036 }
11037 if (obj3) {
11038 {
11039 arg4 = wxString_in_helper(obj3);
11040 if (arg4 == NULL) SWIG_fail;
11041 temp4 = True;
11042 }
11043 }
11044 if (obj5) {
11045 {
11046 arg6 = &temp6;
11047 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
11048 }
11049 }
11050 {
11051 PyThreadState* __tstate = wxPyBeginAllowThreads();
11052 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
11053
11054 wxPyEndAllowThreads(__tstate);
11055 if (PyErr_Occurred()) SWIG_fail;
11056 }
11057 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextEntryDialog, 1);
11058 {
11059 if (temp2)
11060 delete arg2;
11061 }
11062 {
11063 if (temp3)
11064 delete arg3;
11065 }
11066 {
11067 if (temp4)
11068 delete arg4;
11069 }
11070 return resultobj;
11071 fail:
11072 {
11073 if (temp2)
11074 delete arg2;
11075 }
11076 {
11077 if (temp3)
11078 delete arg3;
11079 }
11080 {
11081 if (temp4)
11082 delete arg4;
11083 }
11084 return NULL;
11085 }
11086
11087
11088 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11089 PyObject *resultobj;
11090 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11091 wxString result;
11092 PyObject * obj0 = 0 ;
11093 char *kwnames[] = {
11094 (char *) "self", NULL
11095 };
11096
11097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
11098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11099 {
11100 PyThreadState* __tstate = wxPyBeginAllowThreads();
11101 result = (arg1)->GetValue();
11102
11103 wxPyEndAllowThreads(__tstate);
11104 if (PyErr_Occurred()) SWIG_fail;
11105 }
11106 {
11107 #if wxUSE_UNICODE
11108 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11109 #else
11110 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11111 #endif
11112 }
11113 return resultobj;
11114 fail:
11115 return NULL;
11116 }
11117
11118
11119 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11120 PyObject *resultobj;
11121 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11122 wxString *arg2 = 0 ;
11123 bool temp2 = False ;
11124 PyObject * obj0 = 0 ;
11125 PyObject * obj1 = 0 ;
11126 char *kwnames[] = {
11127 (char *) "self",(char *) "value", NULL
11128 };
11129
11130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
11131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11132 {
11133 arg2 = wxString_in_helper(obj1);
11134 if (arg2 == NULL) SWIG_fail;
11135 temp2 = True;
11136 }
11137 {
11138 PyThreadState* __tstate = wxPyBeginAllowThreads();
11139 (arg1)->SetValue((wxString const &)*arg2);
11140
11141 wxPyEndAllowThreads(__tstate);
11142 if (PyErr_Occurred()) SWIG_fail;
11143 }
11144 Py_INCREF(Py_None); resultobj = Py_None;
11145 {
11146 if (temp2)
11147 delete arg2;
11148 }
11149 return resultobj;
11150 fail:
11151 {
11152 if (temp2)
11153 delete arg2;
11154 }
11155 return NULL;
11156 }
11157
11158
11159 static PyObject *_wrap_TextEntryDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11160 PyObject *resultobj;
11161 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11162 int result;
11163 PyObject * obj0 = 0 ;
11164 char *kwnames[] = {
11165 (char *) "self", NULL
11166 };
11167
11168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_ShowModal",kwnames,&obj0)) goto fail;
11169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11170 {
11171 PyThreadState* __tstate = wxPyBeginAllowThreads();
11172 result = (int)(arg1)->ShowModal();
11173
11174 wxPyEndAllowThreads(__tstate);
11175 if (PyErr_Occurred()) SWIG_fail;
11176 }
11177 resultobj = PyInt_FromLong((long)result);
11178 return resultobj;
11179 fail:
11180 return NULL;
11181 }
11182
11183
11184 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
11185 PyObject *obj;
11186 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11187 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
11188 Py_INCREF(obj);
11189 return Py_BuildValue((char *)"");
11190 }
11191 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11192 PyObject *resultobj;
11193 wxFontData *result;
11194 char *kwnames[] = {
11195 NULL
11196 };
11197
11198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
11199 {
11200 PyThreadState* __tstate = wxPyBeginAllowThreads();
11201 result = (wxFontData *)new wxFontData();
11202
11203 wxPyEndAllowThreads(__tstate);
11204 if (PyErr_Occurred()) SWIG_fail;
11205 }
11206 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 1);
11207 return resultobj;
11208 fail:
11209 return NULL;
11210 }
11211
11212
11213 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11214 PyObject *resultobj;
11215 wxFontData *arg1 = (wxFontData *) 0 ;
11216 PyObject * obj0 = 0 ;
11217 char *kwnames[] = {
11218 (char *) "self", NULL
11219 };
11220
11221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
11222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11223 {
11224 PyThreadState* __tstate = wxPyBeginAllowThreads();
11225 delete arg1;
11226
11227 wxPyEndAllowThreads(__tstate);
11228 if (PyErr_Occurred()) SWIG_fail;
11229 }
11230 Py_INCREF(Py_None); resultobj = Py_None;
11231 return resultobj;
11232 fail:
11233 return NULL;
11234 }
11235
11236
11237 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11238 PyObject *resultobj;
11239 wxFontData *arg1 = (wxFontData *) 0 ;
11240 bool arg2 ;
11241 PyObject * obj0 = 0 ;
11242 PyObject * obj1 = 0 ;
11243 char *kwnames[] = {
11244 (char *) "self",(char *) "enable", NULL
11245 };
11246
11247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
11248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11249 arg2 = PyInt_AsLong(obj1) ? true : false;
11250 if (PyErr_Occurred()) SWIG_fail;
11251 {
11252 PyThreadState* __tstate = wxPyBeginAllowThreads();
11253 (arg1)->EnableEffects(arg2);
11254
11255 wxPyEndAllowThreads(__tstate);
11256 if (PyErr_Occurred()) SWIG_fail;
11257 }
11258 Py_INCREF(Py_None); resultobj = Py_None;
11259 return resultobj;
11260 fail:
11261 return NULL;
11262 }
11263
11264
11265 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11266 PyObject *resultobj;
11267 wxFontData *arg1 = (wxFontData *) 0 ;
11268 bool result;
11269 PyObject * obj0 = 0 ;
11270 char *kwnames[] = {
11271 (char *) "self", NULL
11272 };
11273
11274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
11275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11276 {
11277 PyThreadState* __tstate = wxPyBeginAllowThreads();
11278 result = (bool)(arg1)->GetAllowSymbols();
11279
11280 wxPyEndAllowThreads(__tstate);
11281 if (PyErr_Occurred()) SWIG_fail;
11282 }
11283 resultobj = PyInt_FromLong((long)result);
11284 return resultobj;
11285 fail:
11286 return NULL;
11287 }
11288
11289
11290 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11291 PyObject *resultobj;
11292 wxFontData *arg1 = (wxFontData *) 0 ;
11293 wxColour result;
11294 PyObject * obj0 = 0 ;
11295 char *kwnames[] = {
11296 (char *) "self", NULL
11297 };
11298
11299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
11300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11301 {
11302 PyThreadState* __tstate = wxPyBeginAllowThreads();
11303 result = (arg1)->GetColour();
11304
11305 wxPyEndAllowThreads(__tstate);
11306 if (PyErr_Occurred()) SWIG_fail;
11307 }
11308 {
11309 wxColour * resultptr;
11310 resultptr = new wxColour((wxColour &) result);
11311 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
11312 }
11313 return resultobj;
11314 fail:
11315 return NULL;
11316 }
11317
11318
11319 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11320 PyObject *resultobj;
11321 wxFontData *arg1 = (wxFontData *) 0 ;
11322 wxFont result;
11323 PyObject * obj0 = 0 ;
11324 char *kwnames[] = {
11325 (char *) "self", NULL
11326 };
11327
11328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
11329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11330 {
11331 PyThreadState* __tstate = wxPyBeginAllowThreads();
11332 result = (arg1)->GetChosenFont();
11333
11334 wxPyEndAllowThreads(__tstate);
11335 if (PyErr_Occurred()) SWIG_fail;
11336 }
11337 {
11338 wxFont * resultptr;
11339 resultptr = new wxFont((wxFont &) result);
11340 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11341 }
11342 return resultobj;
11343 fail:
11344 return NULL;
11345 }
11346
11347
11348 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11349 PyObject *resultobj;
11350 wxFontData *arg1 = (wxFontData *) 0 ;
11351 bool result;
11352 PyObject * obj0 = 0 ;
11353 char *kwnames[] = {
11354 (char *) "self", NULL
11355 };
11356
11357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
11358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11359 {
11360 PyThreadState* __tstate = wxPyBeginAllowThreads();
11361 result = (bool)(arg1)->GetEnableEffects();
11362
11363 wxPyEndAllowThreads(__tstate);
11364 if (PyErr_Occurred()) SWIG_fail;
11365 }
11366 resultobj = PyInt_FromLong((long)result);
11367 return resultobj;
11368 fail:
11369 return NULL;
11370 }
11371
11372
11373 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11374 PyObject *resultobj;
11375 wxFontData *arg1 = (wxFontData *) 0 ;
11376 wxFont result;
11377 PyObject * obj0 = 0 ;
11378 char *kwnames[] = {
11379 (char *) "self", NULL
11380 };
11381
11382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
11383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11384 {
11385 PyThreadState* __tstate = wxPyBeginAllowThreads();
11386 result = (arg1)->GetInitialFont();
11387
11388 wxPyEndAllowThreads(__tstate);
11389 if (PyErr_Occurred()) SWIG_fail;
11390 }
11391 {
11392 wxFont * resultptr;
11393 resultptr = new wxFont((wxFont &) result);
11394 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11395 }
11396 return resultobj;
11397 fail:
11398 return NULL;
11399 }
11400
11401
11402 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11403 PyObject *resultobj;
11404 wxFontData *arg1 = (wxFontData *) 0 ;
11405 bool result;
11406 PyObject * obj0 = 0 ;
11407 char *kwnames[] = {
11408 (char *) "self", NULL
11409 };
11410
11411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
11412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11413 {
11414 PyThreadState* __tstate = wxPyBeginAllowThreads();
11415 result = (bool)(arg1)->GetShowHelp();
11416
11417 wxPyEndAllowThreads(__tstate);
11418 if (PyErr_Occurred()) SWIG_fail;
11419 }
11420 resultobj = PyInt_FromLong((long)result);
11421 return resultobj;
11422 fail:
11423 return NULL;
11424 }
11425
11426
11427 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11428 PyObject *resultobj;
11429 wxFontData *arg1 = (wxFontData *) 0 ;
11430 bool arg2 ;
11431 PyObject * obj0 = 0 ;
11432 PyObject * obj1 = 0 ;
11433 char *kwnames[] = {
11434 (char *) "self",(char *) "allowSymbols", NULL
11435 };
11436
11437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
11438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11439 arg2 = PyInt_AsLong(obj1) ? true : false;
11440 if (PyErr_Occurred()) SWIG_fail;
11441 {
11442 PyThreadState* __tstate = wxPyBeginAllowThreads();
11443 (arg1)->SetAllowSymbols(arg2);
11444
11445 wxPyEndAllowThreads(__tstate);
11446 if (PyErr_Occurred()) SWIG_fail;
11447 }
11448 Py_INCREF(Py_None); resultobj = Py_None;
11449 return resultobj;
11450 fail:
11451 return NULL;
11452 }
11453
11454
11455 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11456 PyObject *resultobj;
11457 wxFontData *arg1 = (wxFontData *) 0 ;
11458 wxFont *arg2 = 0 ;
11459 PyObject * obj0 = 0 ;
11460 PyObject * obj1 = 0 ;
11461 char *kwnames[] = {
11462 (char *) "self",(char *) "font", NULL
11463 };
11464
11465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
11466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11467 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11468 if (arg2 == NULL) {
11469 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11470 }
11471 {
11472 PyThreadState* __tstate = wxPyBeginAllowThreads();
11473 (arg1)->SetChosenFont((wxFont const &)*arg2);
11474
11475 wxPyEndAllowThreads(__tstate);
11476 if (PyErr_Occurred()) SWIG_fail;
11477 }
11478 Py_INCREF(Py_None); resultobj = Py_None;
11479 return resultobj;
11480 fail:
11481 return NULL;
11482 }
11483
11484
11485 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11486 PyObject *resultobj;
11487 wxFontData *arg1 = (wxFontData *) 0 ;
11488 wxColour *arg2 = 0 ;
11489 wxColour temp2 ;
11490 PyObject * obj0 = 0 ;
11491 PyObject * obj1 = 0 ;
11492 char *kwnames[] = {
11493 (char *) "self",(char *) "colour", NULL
11494 };
11495
11496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11498 {
11499 arg2 = &temp2;
11500 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11501 }
11502 {
11503 PyThreadState* __tstate = wxPyBeginAllowThreads();
11504 (arg1)->SetColour((wxColour const &)*arg2);
11505
11506 wxPyEndAllowThreads(__tstate);
11507 if (PyErr_Occurred()) SWIG_fail;
11508 }
11509 Py_INCREF(Py_None); resultobj = Py_None;
11510 return resultobj;
11511 fail:
11512 return NULL;
11513 }
11514
11515
11516 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11517 PyObject *resultobj;
11518 wxFontData *arg1 = (wxFontData *) 0 ;
11519 wxFont *arg2 = 0 ;
11520 PyObject * obj0 = 0 ;
11521 PyObject * obj1 = 0 ;
11522 char *kwnames[] = {
11523 (char *) "self",(char *) "font", NULL
11524 };
11525
11526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
11527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11528 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11529 if (arg2 == NULL) {
11530 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11531 }
11532 {
11533 PyThreadState* __tstate = wxPyBeginAllowThreads();
11534 (arg1)->SetInitialFont((wxFont const &)*arg2);
11535
11536 wxPyEndAllowThreads(__tstate);
11537 if (PyErr_Occurred()) SWIG_fail;
11538 }
11539 Py_INCREF(Py_None); resultobj = Py_None;
11540 return resultobj;
11541 fail:
11542 return NULL;
11543 }
11544
11545
11546 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11547 PyObject *resultobj;
11548 wxFontData *arg1 = (wxFontData *) 0 ;
11549 int arg2 ;
11550 int arg3 ;
11551 PyObject * obj0 = 0 ;
11552 char *kwnames[] = {
11553 (char *) "self",(char *) "min",(char *) "max", NULL
11554 };
11555
11556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:FontData_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
11557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11558 {
11559 PyThreadState* __tstate = wxPyBeginAllowThreads();
11560 (arg1)->SetRange(arg2,arg3);
11561
11562 wxPyEndAllowThreads(__tstate);
11563 if (PyErr_Occurred()) SWIG_fail;
11564 }
11565 Py_INCREF(Py_None); resultobj = Py_None;
11566 return resultobj;
11567 fail:
11568 return NULL;
11569 }
11570
11571
11572 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11573 PyObject *resultobj;
11574 wxFontData *arg1 = (wxFontData *) 0 ;
11575 bool arg2 ;
11576 PyObject * obj0 = 0 ;
11577 PyObject * obj1 = 0 ;
11578 char *kwnames[] = {
11579 (char *) "self",(char *) "showHelp", NULL
11580 };
11581
11582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
11583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11584 arg2 = PyInt_AsLong(obj1) ? true : false;
11585 if (PyErr_Occurred()) SWIG_fail;
11586 {
11587 PyThreadState* __tstate = wxPyBeginAllowThreads();
11588 (arg1)->SetShowHelp(arg2);
11589
11590 wxPyEndAllowThreads(__tstate);
11591 if (PyErr_Occurred()) SWIG_fail;
11592 }
11593 Py_INCREF(Py_None); resultobj = Py_None;
11594 return resultobj;
11595 fail:
11596 return NULL;
11597 }
11598
11599
11600 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
11601 PyObject *obj;
11602 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11603 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
11604 Py_INCREF(obj);
11605 return Py_BuildValue((char *)"");
11606 }
11607 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11608 PyObject *resultobj;
11609 wxWindow *arg1 = (wxWindow *) 0 ;
11610 wxFontData *arg2 = 0 ;
11611 wxFontDialog *result;
11612 PyObject * obj0 = 0 ;
11613 PyObject * obj1 = 0 ;
11614 char *kwnames[] = {
11615 (char *) "parent",(char *) "data", NULL
11616 };
11617
11618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
11619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11620 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11621 if (arg2 == NULL) {
11622 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11623 }
11624 {
11625 PyThreadState* __tstate = wxPyBeginAllowThreads();
11626 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
11627
11628 wxPyEndAllowThreads(__tstate);
11629 if (PyErr_Occurred()) SWIG_fail;
11630 }
11631 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontDialog, 1);
11632 return resultobj;
11633 fail:
11634 return NULL;
11635 }
11636
11637
11638 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11639 PyObject *resultobj;
11640 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
11641 wxFontData *result;
11642 PyObject * obj0 = 0 ;
11643 char *kwnames[] = {
11644 (char *) "self", NULL
11645 };
11646
11647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
11648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11649 {
11650 PyThreadState* __tstate = wxPyBeginAllowThreads();
11651 {
11652 wxFontData &_result_ref = (arg1)->GetFontData();
11653 result = (wxFontData *) &_result_ref;
11654 }
11655
11656 wxPyEndAllowThreads(__tstate);
11657 if (PyErr_Occurred()) SWIG_fail;
11658 }
11659 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 0);
11660 return resultobj;
11661 fail:
11662 return NULL;
11663 }
11664
11665
11666 static PyObject *_wrap_FontDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11667 PyObject *resultobj;
11668 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
11669 int result;
11670 PyObject * obj0 = 0 ;
11671 char *kwnames[] = {
11672 (char *) "self", NULL
11673 };
11674
11675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_ShowModal",kwnames,&obj0)) goto fail;
11676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11677 {
11678 PyThreadState* __tstate = wxPyBeginAllowThreads();
11679 result = (int)(arg1)->ShowModal();
11680
11681 wxPyEndAllowThreads(__tstate);
11682 if (PyErr_Occurred()) SWIG_fail;
11683 }
11684 resultobj = PyInt_FromLong((long)result);
11685 return resultobj;
11686 fail:
11687 return NULL;
11688 }
11689
11690
11691 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
11692 PyObject *obj;
11693 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11694 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
11695 Py_INCREF(obj);
11696 return Py_BuildValue((char *)"");
11697 }
11698 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11699 PyObject *resultobj;
11700 wxWindow *arg1 = (wxWindow *) 0 ;
11701 wxString *arg2 = 0 ;
11702 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
11703 wxString *arg3 = (wxString *) &arg3_defvalue ;
11704 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
11705 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11706 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11707 wxMessageDialog *result;
11708 bool temp2 = False ;
11709 bool temp3 = False ;
11710 wxPoint temp5 ;
11711 PyObject * obj0 = 0 ;
11712 PyObject * obj1 = 0 ;
11713 PyObject * obj2 = 0 ;
11714 PyObject * obj4 = 0 ;
11715 char *kwnames[] = {
11716 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
11717 };
11718
11719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OlO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4)) goto fail;
11720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11721 {
11722 arg2 = wxString_in_helper(obj1);
11723 if (arg2 == NULL) SWIG_fail;
11724 temp2 = True;
11725 }
11726 if (obj2) {
11727 {
11728 arg3 = wxString_in_helper(obj2);
11729 if (arg3 == NULL) SWIG_fail;
11730 temp3 = True;
11731 }
11732 }
11733 if (obj4) {
11734 {
11735 arg5 = &temp5;
11736 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11737 }
11738 }
11739 {
11740 PyThreadState* __tstate = wxPyBeginAllowThreads();
11741 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
11742
11743 wxPyEndAllowThreads(__tstate);
11744 if (PyErr_Occurred()) SWIG_fail;
11745 }
11746 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMessageDialog, 1);
11747 {
11748 if (temp2)
11749 delete arg2;
11750 }
11751 {
11752 if (temp3)
11753 delete arg3;
11754 }
11755 return resultobj;
11756 fail:
11757 {
11758 if (temp2)
11759 delete arg2;
11760 }
11761 {
11762 if (temp3)
11763 delete arg3;
11764 }
11765 return NULL;
11766 }
11767
11768
11769 static PyObject *_wrap_MessageDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11770 PyObject *resultobj;
11771 wxMessageDialog *arg1 = (wxMessageDialog *) 0 ;
11772 int result;
11773 PyObject * obj0 = 0 ;
11774 char *kwnames[] = {
11775 (char *) "self", NULL
11776 };
11777
11778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MessageDialog_ShowModal",kwnames,&obj0)) goto fail;
11779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMessageDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11780 {
11781 PyThreadState* __tstate = wxPyBeginAllowThreads();
11782 result = (int)(arg1)->ShowModal();
11783
11784 wxPyEndAllowThreads(__tstate);
11785 if (PyErr_Occurred()) SWIG_fail;
11786 }
11787 resultobj = PyInt_FromLong((long)result);
11788 return resultobj;
11789 fail:
11790 return NULL;
11791 }
11792
11793
11794 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
11795 PyObject *obj;
11796 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11797 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
11798 Py_INCREF(obj);
11799 return Py_BuildValue((char *)"");
11800 }
11801 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11802 PyObject *resultobj;
11803 wxString *arg1 = 0 ;
11804 wxString *arg2 = 0 ;
11805 int arg3 = (int) 100 ;
11806 wxWindow *arg4 = (wxWindow *) NULL ;
11807 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
11808 wxProgressDialog *result;
11809 bool temp1 = False ;
11810 bool temp2 = False ;
11811 PyObject * obj0 = 0 ;
11812 PyObject * obj1 = 0 ;
11813 PyObject * obj3 = 0 ;
11814 char *kwnames[] = {
11815 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
11816 };
11817
11818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOi:new_ProgressDialog",kwnames,&obj0,&obj1,&arg3,&obj3,&arg5)) goto fail;
11819 {
11820 arg1 = wxString_in_helper(obj0);
11821 if (arg1 == NULL) SWIG_fail;
11822 temp1 = True;
11823 }
11824 {
11825 arg2 = wxString_in_helper(obj1);
11826 if (arg2 == NULL) SWIG_fail;
11827 temp2 = True;
11828 }
11829 if (obj3) {
11830 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11831 }
11832 {
11833 PyThreadState* __tstate = wxPyBeginAllowThreads();
11834 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
11835
11836 wxPyEndAllowThreads(__tstate);
11837 if (PyErr_Occurred()) SWIG_fail;
11838 }
11839 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProgressDialog, 1);
11840 {
11841 if (temp1)
11842 delete arg1;
11843 }
11844 {
11845 if (temp2)
11846 delete arg2;
11847 }
11848 return resultobj;
11849 fail:
11850 {
11851 if (temp1)
11852 delete arg1;
11853 }
11854 {
11855 if (temp2)
11856 delete arg2;
11857 }
11858 return NULL;
11859 }
11860
11861
11862 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
11863 PyObject *resultobj;
11864 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
11865 int arg2 ;
11866 wxString const &arg3_defvalue = wxPyEmptyString ;
11867 wxString *arg3 = (wxString *) &arg3_defvalue ;
11868 bool result;
11869 bool temp3 = False ;
11870 PyObject * obj0 = 0 ;
11871 PyObject * obj2 = 0 ;
11872 char *kwnames[] = {
11873 (char *) "self",(char *) "value",(char *) "newmsg", NULL
11874 };
11875
11876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ProgressDialog_Update",kwnames,&obj0,&arg2,&obj2)) goto fail;
11877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11878 if (obj2) {
11879 {
11880 arg3 = wxString_in_helper(obj2);
11881 if (arg3 == NULL) SWIG_fail;
11882 temp3 = True;
11883 }
11884 }
11885 {
11886 PyThreadState* __tstate = wxPyBeginAllowThreads();
11887 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
11888
11889 wxPyEndAllowThreads(__tstate);
11890 if (PyErr_Occurred()) SWIG_fail;
11891 }
11892 resultobj = PyInt_FromLong((long)result);
11893 {
11894 if (temp3)
11895 delete arg3;
11896 }
11897 return resultobj;
11898 fail:
11899 {
11900 if (temp3)
11901 delete arg3;
11902 }
11903 return NULL;
11904 }
11905
11906
11907 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
11908 PyObject *resultobj;
11909 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
11910 PyObject * obj0 = 0 ;
11911 char *kwnames[] = {
11912 (char *) "self", NULL
11913 };
11914
11915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
11916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11917 {
11918 PyThreadState* __tstate = wxPyBeginAllowThreads();
11919 (arg1)->Resume();
11920
11921 wxPyEndAllowThreads(__tstate);
11922 if (PyErr_Occurred()) SWIG_fail;
11923 }
11924 Py_INCREF(Py_None); resultobj = Py_None;
11925 return resultobj;
11926 fail:
11927 return NULL;
11928 }
11929
11930
11931 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
11932 PyObject *obj;
11933 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11934 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
11935 Py_INCREF(obj);
11936 return Py_BuildValue((char *)"");
11937 }
11938 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11939 PyObject *resultobj;
11940 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11941 int arg2 = (int) 0 ;
11942 wxFindDialogEvent *result;
11943 char *kwnames[] = {
11944 (char *) "commandType",(char *) "id", NULL
11945 };
11946
11947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_FindDialogEvent",kwnames,&arg1,&arg2)) goto fail;
11948 {
11949 PyThreadState* __tstate = wxPyBeginAllowThreads();
11950 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
11951
11952 wxPyEndAllowThreads(__tstate);
11953 if (PyErr_Occurred()) SWIG_fail;
11954 }
11955 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindDialogEvent, 1);
11956 return resultobj;
11957 fail:
11958 return NULL;
11959 }
11960
11961
11962 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
11963 PyObject *resultobj;
11964 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
11965 int result;
11966 PyObject * obj0 = 0 ;
11967 char *kwnames[] = {
11968 (char *) "self", NULL
11969 };
11970
11971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
11972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11973 {
11974 PyThreadState* __tstate = wxPyBeginAllowThreads();
11975 result = (int)(arg1)->GetFlags();
11976
11977 wxPyEndAllowThreads(__tstate);
11978 if (PyErr_Occurred()) SWIG_fail;
11979 }
11980 resultobj = PyInt_FromLong((long)result);
11981 return resultobj;
11982 fail:
11983 return NULL;
11984 }
11985
11986
11987 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
11988 PyObject *resultobj;
11989 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
11990 wxString *result;
11991 PyObject * obj0 = 0 ;
11992 char *kwnames[] = {
11993 (char *) "self", NULL
11994 };
11995
11996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
11997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11998 {
11999 PyThreadState* __tstate = wxPyBeginAllowThreads();
12000 {
12001 wxString const &_result_ref = (arg1)->GetFindString();
12002 result = (wxString *) &_result_ref;
12003 }
12004
12005 wxPyEndAllowThreads(__tstate);
12006 if (PyErr_Occurred()) SWIG_fail;
12007 }
12008 {
12009 #if wxUSE_UNICODE
12010 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12011 #else
12012 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12013 #endif
12014 }
12015 return resultobj;
12016 fail:
12017 return NULL;
12018 }
12019
12020
12021 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12022 PyObject *resultobj;
12023 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12024 wxString *result;
12025 PyObject * obj0 = 0 ;
12026 char *kwnames[] = {
12027 (char *) "self", NULL
12028 };
12029
12030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
12031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12032 {
12033 PyThreadState* __tstate = wxPyBeginAllowThreads();
12034 {
12035 wxString const &_result_ref = (arg1)->GetReplaceString();
12036 result = (wxString *) &_result_ref;
12037 }
12038
12039 wxPyEndAllowThreads(__tstate);
12040 if (PyErr_Occurred()) SWIG_fail;
12041 }
12042 {
12043 #if wxUSE_UNICODE
12044 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12045 #else
12046 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12047 #endif
12048 }
12049 return resultobj;
12050 fail:
12051 return NULL;
12052 }
12053
12054
12055 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12056 PyObject *resultobj;
12057 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12058 wxFindReplaceDialog *result;
12059 PyObject * obj0 = 0 ;
12060 char *kwnames[] = {
12061 (char *) "self", NULL
12062 };
12063
12064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
12065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12066 {
12067 PyThreadState* __tstate = wxPyBeginAllowThreads();
12068 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
12069
12070 wxPyEndAllowThreads(__tstate);
12071 if (PyErr_Occurred()) SWIG_fail;
12072 }
12073 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 0);
12074 return resultobj;
12075 fail:
12076 return NULL;
12077 }
12078
12079
12080 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12081 PyObject *resultobj;
12082 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12083 int arg2 ;
12084 PyObject * obj0 = 0 ;
12085 char *kwnames[] = {
12086 (char *) "self",(char *) "flags", NULL
12087 };
12088
12089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindDialogEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12091 {
12092 PyThreadState* __tstate = wxPyBeginAllowThreads();
12093 (arg1)->SetFlags(arg2);
12094
12095 wxPyEndAllowThreads(__tstate);
12096 if (PyErr_Occurred()) SWIG_fail;
12097 }
12098 Py_INCREF(Py_None); resultobj = Py_None;
12099 return resultobj;
12100 fail:
12101 return NULL;
12102 }
12103
12104
12105 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12106 PyObject *resultobj;
12107 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12108 wxString *arg2 = 0 ;
12109 bool temp2 = False ;
12110 PyObject * obj0 = 0 ;
12111 PyObject * obj1 = 0 ;
12112 char *kwnames[] = {
12113 (char *) "self",(char *) "str", NULL
12114 };
12115
12116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12118 {
12119 arg2 = wxString_in_helper(obj1);
12120 if (arg2 == NULL) SWIG_fail;
12121 temp2 = True;
12122 }
12123 {
12124 PyThreadState* __tstate = wxPyBeginAllowThreads();
12125 (arg1)->SetFindString((wxString const &)*arg2);
12126
12127 wxPyEndAllowThreads(__tstate);
12128 if (PyErr_Occurred()) SWIG_fail;
12129 }
12130 Py_INCREF(Py_None); resultobj = Py_None;
12131 {
12132 if (temp2)
12133 delete arg2;
12134 }
12135 return resultobj;
12136 fail:
12137 {
12138 if (temp2)
12139 delete arg2;
12140 }
12141 return NULL;
12142 }
12143
12144
12145 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12146 PyObject *resultobj;
12147 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12148 wxString *arg2 = 0 ;
12149 bool temp2 = False ;
12150 PyObject * obj0 = 0 ;
12151 PyObject * obj1 = 0 ;
12152 char *kwnames[] = {
12153 (char *) "self",(char *) "str", NULL
12154 };
12155
12156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12158 {
12159 arg2 = wxString_in_helper(obj1);
12160 if (arg2 == NULL) SWIG_fail;
12161 temp2 = True;
12162 }
12163 {
12164 PyThreadState* __tstate = wxPyBeginAllowThreads();
12165 (arg1)->SetReplaceString((wxString const &)*arg2);
12166
12167 wxPyEndAllowThreads(__tstate);
12168 if (PyErr_Occurred()) SWIG_fail;
12169 }
12170 Py_INCREF(Py_None); resultobj = Py_None;
12171 {
12172 if (temp2)
12173 delete arg2;
12174 }
12175 return resultobj;
12176 fail:
12177 {
12178 if (temp2)
12179 delete arg2;
12180 }
12181 return NULL;
12182 }
12183
12184
12185 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
12186 PyObject *obj;
12187 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12188 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
12189 Py_INCREF(obj);
12190 return Py_BuildValue((char *)"");
12191 }
12192 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12193 PyObject *resultobj;
12194 int arg1 = (int) 0 ;
12195 wxFindReplaceData *result;
12196 char *kwnames[] = {
12197 (char *) "flags", NULL
12198 };
12199
12200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_FindReplaceData",kwnames,&arg1)) goto fail;
12201 {
12202 PyThreadState* __tstate = wxPyBeginAllowThreads();
12203 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
12204
12205 wxPyEndAllowThreads(__tstate);
12206 if (PyErr_Occurred()) SWIG_fail;
12207 }
12208 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 1);
12209 return resultobj;
12210 fail:
12211 return NULL;
12212 }
12213
12214
12215 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12216 PyObject *resultobj;
12217 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12218 PyObject * obj0 = 0 ;
12219 char *kwnames[] = {
12220 (char *) "self", NULL
12221 };
12222
12223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
12224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12225 {
12226 PyThreadState* __tstate = wxPyBeginAllowThreads();
12227 delete arg1;
12228
12229 wxPyEndAllowThreads(__tstate);
12230 if (PyErr_Occurred()) SWIG_fail;
12231 }
12232 Py_INCREF(Py_None); resultobj = Py_None;
12233 return resultobj;
12234 fail:
12235 return NULL;
12236 }
12237
12238
12239 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12240 PyObject *resultobj;
12241 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12242 wxString *result;
12243 PyObject * obj0 = 0 ;
12244 char *kwnames[] = {
12245 (char *) "self", NULL
12246 };
12247
12248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
12249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12250 {
12251 PyThreadState* __tstate = wxPyBeginAllowThreads();
12252 {
12253 wxString const &_result_ref = (arg1)->GetFindString();
12254 result = (wxString *) &_result_ref;
12255 }
12256
12257 wxPyEndAllowThreads(__tstate);
12258 if (PyErr_Occurred()) SWIG_fail;
12259 }
12260 {
12261 #if wxUSE_UNICODE
12262 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12263 #else
12264 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12265 #endif
12266 }
12267 return resultobj;
12268 fail:
12269 return NULL;
12270 }
12271
12272
12273 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12274 PyObject *resultobj;
12275 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12276 wxString *result;
12277 PyObject * obj0 = 0 ;
12278 char *kwnames[] = {
12279 (char *) "self", NULL
12280 };
12281
12282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
12283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12284 {
12285 PyThreadState* __tstate = wxPyBeginAllowThreads();
12286 {
12287 wxString const &_result_ref = (arg1)->GetReplaceString();
12288 result = (wxString *) &_result_ref;
12289 }
12290
12291 wxPyEndAllowThreads(__tstate);
12292 if (PyErr_Occurred()) SWIG_fail;
12293 }
12294 {
12295 #if wxUSE_UNICODE
12296 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12297 #else
12298 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12299 #endif
12300 }
12301 return resultobj;
12302 fail:
12303 return NULL;
12304 }
12305
12306
12307 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12308 PyObject *resultobj;
12309 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12310 int result;
12311 PyObject * obj0 = 0 ;
12312 char *kwnames[] = {
12313 (char *) "self", NULL
12314 };
12315
12316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
12317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12318 {
12319 PyThreadState* __tstate = wxPyBeginAllowThreads();
12320 result = (int)(arg1)->GetFlags();
12321
12322 wxPyEndAllowThreads(__tstate);
12323 if (PyErr_Occurred()) SWIG_fail;
12324 }
12325 resultobj = PyInt_FromLong((long)result);
12326 return resultobj;
12327 fail:
12328 return NULL;
12329 }
12330
12331
12332 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12333 PyObject *resultobj;
12334 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12335 int arg2 ;
12336 PyObject * obj0 = 0 ;
12337 char *kwnames[] = {
12338 (char *) "self",(char *) "flags", NULL
12339 };
12340
12341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindReplaceData_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12343 {
12344 PyThreadState* __tstate = wxPyBeginAllowThreads();
12345 (arg1)->SetFlags(arg2);
12346
12347 wxPyEndAllowThreads(__tstate);
12348 if (PyErr_Occurred()) SWIG_fail;
12349 }
12350 Py_INCREF(Py_None); resultobj = Py_None;
12351 return resultobj;
12352 fail:
12353 return NULL;
12354 }
12355
12356
12357 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12358 PyObject *resultobj;
12359 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12360 wxString *arg2 = 0 ;
12361 bool temp2 = False ;
12362 PyObject * obj0 = 0 ;
12363 PyObject * obj1 = 0 ;
12364 char *kwnames[] = {
12365 (char *) "self",(char *) "str", NULL
12366 };
12367
12368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12370 {
12371 arg2 = wxString_in_helper(obj1);
12372 if (arg2 == NULL) SWIG_fail;
12373 temp2 = True;
12374 }
12375 {
12376 PyThreadState* __tstate = wxPyBeginAllowThreads();
12377 (arg1)->SetFindString((wxString const &)*arg2);
12378
12379 wxPyEndAllowThreads(__tstate);
12380 if (PyErr_Occurred()) SWIG_fail;
12381 }
12382 Py_INCREF(Py_None); resultobj = Py_None;
12383 {
12384 if (temp2)
12385 delete arg2;
12386 }
12387 return resultobj;
12388 fail:
12389 {
12390 if (temp2)
12391 delete arg2;
12392 }
12393 return NULL;
12394 }
12395
12396
12397 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12398 PyObject *resultobj;
12399 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12400 wxString *arg2 = 0 ;
12401 bool temp2 = False ;
12402 PyObject * obj0 = 0 ;
12403 PyObject * obj1 = 0 ;
12404 char *kwnames[] = {
12405 (char *) "self",(char *) "str", NULL
12406 };
12407
12408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12410 {
12411 arg2 = wxString_in_helper(obj1);
12412 if (arg2 == NULL) SWIG_fail;
12413 temp2 = True;
12414 }
12415 {
12416 PyThreadState* __tstate = wxPyBeginAllowThreads();
12417 (arg1)->SetReplaceString((wxString const &)*arg2);
12418
12419 wxPyEndAllowThreads(__tstate);
12420 if (PyErr_Occurred()) SWIG_fail;
12421 }
12422 Py_INCREF(Py_None); resultobj = Py_None;
12423 {
12424 if (temp2)
12425 delete arg2;
12426 }
12427 return resultobj;
12428 fail:
12429 {
12430 if (temp2)
12431 delete arg2;
12432 }
12433 return NULL;
12434 }
12435
12436
12437 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
12438 PyObject *obj;
12439 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12440 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
12441 Py_INCREF(obj);
12442 return Py_BuildValue((char *)"");
12443 }
12444 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12445 PyObject *resultobj;
12446 wxWindow *arg1 = (wxWindow *) 0 ;
12447 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12448 wxString *arg3 = 0 ;
12449 int arg4 = (int) 0 ;
12450 wxFindReplaceDialog *result;
12451 bool temp3 = False ;
12452 PyObject * obj0 = 0 ;
12453 PyObject * obj1 = 0 ;
12454 PyObject * obj2 = 0 ;
12455 char *kwnames[] = {
12456 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12457 };
12458
12459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
12460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12461 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12462 {
12463 arg3 = wxString_in_helper(obj2);
12464 if (arg3 == NULL) SWIG_fail;
12465 temp3 = True;
12466 }
12467 {
12468 PyThreadState* __tstate = wxPyBeginAllowThreads();
12469 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
12470
12471 wxPyEndAllowThreads(__tstate);
12472 if (PyErr_Occurred()) SWIG_fail;
12473 }
12474 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12475 {
12476 if (temp3)
12477 delete arg3;
12478 }
12479 return resultobj;
12480 fail:
12481 {
12482 if (temp3)
12483 delete arg3;
12484 }
12485 return NULL;
12486 }
12487
12488
12489 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12490 PyObject *resultobj;
12491 wxFindReplaceDialog *result;
12492 char *kwnames[] = {
12493 NULL
12494 };
12495
12496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
12497 {
12498 PyThreadState* __tstate = wxPyBeginAllowThreads();
12499 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
12500
12501 wxPyEndAllowThreads(__tstate);
12502 if (PyErr_Occurred()) SWIG_fail;
12503 }
12504 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12505 return resultobj;
12506 fail:
12507 return NULL;
12508 }
12509
12510
12511 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12512 PyObject *resultobj;
12513 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12514 wxWindow *arg2 = (wxWindow *) 0 ;
12515 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
12516 wxString *arg4 = 0 ;
12517 int arg5 = (int) 0 ;
12518 bool result;
12519 bool temp4 = False ;
12520 PyObject * obj0 = 0 ;
12521 PyObject * obj1 = 0 ;
12522 PyObject * obj2 = 0 ;
12523 PyObject * obj3 = 0 ;
12524 char *kwnames[] = {
12525 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12526 };
12527
12528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|i:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
12529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12530 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12531 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12532 {
12533 arg4 = wxString_in_helper(obj3);
12534 if (arg4 == NULL) SWIG_fail;
12535 temp4 = True;
12536 }
12537 {
12538 PyThreadState* __tstate = wxPyBeginAllowThreads();
12539 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
12540
12541 wxPyEndAllowThreads(__tstate);
12542 if (PyErr_Occurred()) SWIG_fail;
12543 }
12544 resultobj = PyInt_FromLong((long)result);
12545 {
12546 if (temp4)
12547 delete arg4;
12548 }
12549 return resultobj;
12550 fail:
12551 {
12552 if (temp4)
12553 delete arg4;
12554 }
12555 return NULL;
12556 }
12557
12558
12559 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12560 PyObject *resultobj;
12561 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12562 wxFindReplaceData *result;
12563 PyObject * obj0 = 0 ;
12564 char *kwnames[] = {
12565 (char *) "self", NULL
12566 };
12567
12568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
12569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12570 {
12571 PyThreadState* __tstate = wxPyBeginAllowThreads();
12572 result = (wxFindReplaceData *)(arg1)->GetData();
12573
12574 wxPyEndAllowThreads(__tstate);
12575 if (PyErr_Occurred()) SWIG_fail;
12576 }
12577 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 0);
12578 return resultobj;
12579 fail:
12580 return NULL;
12581 }
12582
12583
12584 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12585 PyObject *resultobj;
12586 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12587 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12588 PyObject * obj0 = 0 ;
12589 PyObject * obj1 = 0 ;
12590 char *kwnames[] = {
12591 (char *) "self",(char *) "data", NULL
12592 };
12593
12594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
12595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12596 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12597 {
12598 PyThreadState* __tstate = wxPyBeginAllowThreads();
12599 (arg1)->SetData(arg2);
12600
12601 wxPyEndAllowThreads(__tstate);
12602 if (PyErr_Occurred()) SWIG_fail;
12603 }
12604 Py_INCREF(Py_None); resultobj = Py_None;
12605 return resultobj;
12606 fail:
12607 return NULL;
12608 }
12609
12610
12611 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
12612 PyObject *obj;
12613 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12614 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
12615 Py_INCREF(obj);
12616 return Py_BuildValue((char *)"");
12617 }
12618 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
12619 PyObject *resultobj;
12620 wxWindow *arg1 = (wxWindow *) 0 ;
12621 int arg2 ;
12622 wxString *arg3 = 0 ;
12623 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12624 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12625 wxSize const &arg5_defvalue = wxDefaultSize ;
12626 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12627 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
12628 wxString const &arg7_defvalue = wxPyFrameNameStr ;
12629 wxString *arg7 = (wxString *) &arg7_defvalue ;
12630 wxMDIParentFrame *result;
12631 bool temp3 = False ;
12632 wxPoint temp4 ;
12633 wxSize temp5 ;
12634 bool temp7 = False ;
12635 PyObject * obj0 = 0 ;
12636 PyObject * obj2 = 0 ;
12637 PyObject * obj3 = 0 ;
12638 PyObject * obj4 = 0 ;
12639 PyObject * obj6 = 0 ;
12640 char *kwnames[] = {
12641 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12642 };
12643
12644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIParentFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
12645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12646 {
12647 arg3 = wxString_in_helper(obj2);
12648 if (arg3 == NULL) SWIG_fail;
12649 temp3 = True;
12650 }
12651 if (obj3) {
12652 {
12653 arg4 = &temp4;
12654 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12655 }
12656 }
12657 if (obj4) {
12658 {
12659 arg5 = &temp5;
12660 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12661 }
12662 }
12663 if (obj6) {
12664 {
12665 arg7 = wxString_in_helper(obj6);
12666 if (arg7 == NULL) SWIG_fail;
12667 temp7 = True;
12668 }
12669 }
12670 {
12671 PyThreadState* __tstate = wxPyBeginAllowThreads();
12672 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12673
12674 wxPyEndAllowThreads(__tstate);
12675 if (PyErr_Occurred()) SWIG_fail;
12676 }
12677 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
12678 {
12679 if (temp3)
12680 delete arg3;
12681 }
12682 {
12683 if (temp7)
12684 delete arg7;
12685 }
12686 return resultobj;
12687 fail:
12688 {
12689 if (temp3)
12690 delete arg3;
12691 }
12692 {
12693 if (temp7)
12694 delete arg7;
12695 }
12696 return NULL;
12697 }
12698
12699
12700 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
12701 PyObject *resultobj;
12702 wxMDIParentFrame *result;
12703 char *kwnames[] = {
12704 NULL
12705 };
12706
12707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
12708 {
12709 PyThreadState* __tstate = wxPyBeginAllowThreads();
12710 result = (wxMDIParentFrame *)new wxMDIParentFrame();
12711
12712 wxPyEndAllowThreads(__tstate);
12713 if (PyErr_Occurred()) SWIG_fail;
12714 }
12715 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
12716 return resultobj;
12717 fail:
12718 return NULL;
12719 }
12720
12721
12722 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12723 PyObject *resultobj;
12724 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12725 wxWindow *arg2 = (wxWindow *) 0 ;
12726 int arg3 ;
12727 wxString *arg4 = 0 ;
12728 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12729 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12730 wxSize const &arg6_defvalue = wxDefaultSize ;
12731 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12732 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
12733 wxString const &arg8_defvalue = wxPyFrameNameStr ;
12734 wxString *arg8 = (wxString *) &arg8_defvalue ;
12735 bool result;
12736 bool temp4 = False ;
12737 wxPoint temp5 ;
12738 wxSize temp6 ;
12739 bool temp8 = False ;
12740 PyObject * obj0 = 0 ;
12741 PyObject * obj1 = 0 ;
12742 PyObject * obj3 = 0 ;
12743 PyObject * obj4 = 0 ;
12744 PyObject * obj5 = 0 ;
12745 PyObject * obj7 = 0 ;
12746 char *kwnames[] = {
12747 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12748 };
12749
12750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
12751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12752 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12753 {
12754 arg4 = wxString_in_helper(obj3);
12755 if (arg4 == NULL) SWIG_fail;
12756 temp4 = True;
12757 }
12758 if (obj4) {
12759 {
12760 arg5 = &temp5;
12761 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12762 }
12763 }
12764 if (obj5) {
12765 {
12766 arg6 = &temp6;
12767 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12768 }
12769 }
12770 if (obj7) {
12771 {
12772 arg8 = wxString_in_helper(obj7);
12773 if (arg8 == NULL) SWIG_fail;
12774 temp8 = True;
12775 }
12776 }
12777 {
12778 PyThreadState* __tstate = wxPyBeginAllowThreads();
12779 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
12780
12781 wxPyEndAllowThreads(__tstate);
12782 if (PyErr_Occurred()) SWIG_fail;
12783 }
12784 resultobj = PyInt_FromLong((long)result);
12785 {
12786 if (temp4)
12787 delete arg4;
12788 }
12789 {
12790 if (temp8)
12791 delete arg8;
12792 }
12793 return resultobj;
12794 fail:
12795 {
12796 if (temp4)
12797 delete arg4;
12798 }
12799 {
12800 if (temp8)
12801 delete arg8;
12802 }
12803 return NULL;
12804 }
12805
12806
12807 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
12808 PyObject *resultobj;
12809 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12810 PyObject * obj0 = 0 ;
12811 char *kwnames[] = {
12812 (char *) "self", NULL
12813 };
12814
12815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
12816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12817 {
12818 PyThreadState* __tstate = wxPyBeginAllowThreads();
12819 (arg1)->ActivateNext();
12820
12821 wxPyEndAllowThreads(__tstate);
12822 if (PyErr_Occurred()) SWIG_fail;
12823 }
12824 Py_INCREF(Py_None); resultobj = Py_None;
12825 return resultobj;
12826 fail:
12827 return NULL;
12828 }
12829
12830
12831 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
12832 PyObject *resultobj;
12833 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12834 PyObject * obj0 = 0 ;
12835 char *kwnames[] = {
12836 (char *) "self", NULL
12837 };
12838
12839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
12840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12841 {
12842 PyThreadState* __tstate = wxPyBeginAllowThreads();
12843 (arg1)->ActivatePrevious();
12844
12845 wxPyEndAllowThreads(__tstate);
12846 if (PyErr_Occurred()) SWIG_fail;
12847 }
12848 Py_INCREF(Py_None); resultobj = Py_None;
12849 return resultobj;
12850 fail:
12851 return NULL;
12852 }
12853
12854
12855 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
12856 PyObject *resultobj;
12857 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12858 PyObject * obj0 = 0 ;
12859 char *kwnames[] = {
12860 (char *) "self", NULL
12861 };
12862
12863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
12864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12865 {
12866 PyThreadState* __tstate = wxPyBeginAllowThreads();
12867 (arg1)->ArrangeIcons();
12868
12869 wxPyEndAllowThreads(__tstate);
12870 if (PyErr_Occurred()) SWIG_fail;
12871 }
12872 Py_INCREF(Py_None); resultobj = Py_None;
12873 return resultobj;
12874 fail:
12875 return NULL;
12876 }
12877
12878
12879 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
12880 PyObject *resultobj;
12881 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12882 PyObject * obj0 = 0 ;
12883 char *kwnames[] = {
12884 (char *) "self", NULL
12885 };
12886
12887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
12888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12889 {
12890 PyThreadState* __tstate = wxPyBeginAllowThreads();
12891 (arg1)->Cascade();
12892
12893 wxPyEndAllowThreads(__tstate);
12894 if (PyErr_Occurred()) SWIG_fail;
12895 }
12896 Py_INCREF(Py_None); resultobj = Py_None;
12897 return resultobj;
12898 fail:
12899 return NULL;
12900 }
12901
12902
12903 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
12904 PyObject *resultobj;
12905 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12906 wxMDIChildFrame *result;
12907 PyObject * obj0 = 0 ;
12908 char *kwnames[] = {
12909 (char *) "self", NULL
12910 };
12911
12912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
12913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12914 {
12915 PyThreadState* __tstate = wxPyBeginAllowThreads();
12916 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
12917
12918 wxPyEndAllowThreads(__tstate);
12919 if (PyErr_Occurred()) SWIG_fail;
12920 }
12921 {
12922 resultobj = wxPyMake_wxObject(result);
12923 }
12924 return resultobj;
12925 fail:
12926 return NULL;
12927 }
12928
12929
12930 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12931 PyObject *resultobj;
12932 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12933 wxMDIClientWindow *result;
12934 PyObject * obj0 = 0 ;
12935 char *kwnames[] = {
12936 (char *) "self", NULL
12937 };
12938
12939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
12940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12941 {
12942 PyThreadState* __tstate = wxPyBeginAllowThreads();
12943 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
12944
12945 wxPyEndAllowThreads(__tstate);
12946 if (PyErr_Occurred()) SWIG_fail;
12947 }
12948 {
12949 resultobj = wxPyMake_wxObject(result);
12950 }
12951 return resultobj;
12952 fail:
12953 return NULL;
12954 }
12955
12956
12957 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
12958 PyObject *resultobj;
12959 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12960 wxWindow *result;
12961 PyObject * obj0 = 0 ;
12962 char *kwnames[] = {
12963 (char *) "self", NULL
12964 };
12965
12966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
12967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12968 {
12969 PyThreadState* __tstate = wxPyBeginAllowThreads();
12970 result = (wxWindow *)(arg1)->GetToolBar();
12971
12972 wxPyEndAllowThreads(__tstate);
12973 if (PyErr_Occurred()) SWIG_fail;
12974 }
12975 {
12976 resultobj = wxPyMake_wxObject(result);
12977 }
12978 return resultobj;
12979 fail:
12980 return NULL;
12981 }
12982
12983
12984 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
12985 PyObject *resultobj;
12986 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12987 PyObject * obj0 = 0 ;
12988 char *kwnames[] = {
12989 (char *) "self", NULL
12990 };
12991
12992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
12993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12994 {
12995 PyThreadState* __tstate = wxPyBeginAllowThreads();
12996 (arg1)->Tile();
12997
12998 wxPyEndAllowThreads(__tstate);
12999 if (PyErr_Occurred()) SWIG_fail;
13000 }
13001 Py_INCREF(Py_None); resultobj = Py_None;
13002 return resultobj;
13003 fail:
13004 return NULL;
13005 }
13006
13007
13008 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
13009 PyObject *obj;
13010 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13011 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
13012 Py_INCREF(obj);
13013 return Py_BuildValue((char *)"");
13014 }
13015 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13016 PyObject *resultobj;
13017 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13018 int arg2 ;
13019 wxString *arg3 = 0 ;
13020 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13021 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13022 wxSize const &arg5_defvalue = wxDefaultSize ;
13023 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13024 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
13025 wxString const &arg7_defvalue = wxPyFrameNameStr ;
13026 wxString *arg7 = (wxString *) &arg7_defvalue ;
13027 wxMDIChildFrame *result;
13028 bool temp3 = False ;
13029 wxPoint temp4 ;
13030 wxSize temp5 ;
13031 bool temp7 = False ;
13032 PyObject * obj0 = 0 ;
13033 PyObject * obj2 = 0 ;
13034 PyObject * obj3 = 0 ;
13035 PyObject * obj4 = 0 ;
13036 PyObject * obj6 = 0 ;
13037 char *kwnames[] = {
13038 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13039 };
13040
13041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIChildFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
13042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13043 {
13044 arg3 = wxString_in_helper(obj2);
13045 if (arg3 == NULL) SWIG_fail;
13046 temp3 = True;
13047 }
13048 if (obj3) {
13049 {
13050 arg4 = &temp4;
13051 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13052 }
13053 }
13054 if (obj4) {
13055 {
13056 arg5 = &temp5;
13057 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13058 }
13059 }
13060 if (obj6) {
13061 {
13062 arg7 = wxString_in_helper(obj6);
13063 if (arg7 == NULL) SWIG_fail;
13064 temp7 = True;
13065 }
13066 }
13067 {
13068 PyThreadState* __tstate = wxPyBeginAllowThreads();
13069 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13070
13071 wxPyEndAllowThreads(__tstate);
13072 if (PyErr_Occurred()) SWIG_fail;
13073 }
13074 {
13075 resultobj = wxPyMake_wxObject(result);
13076 }
13077 {
13078 if (temp3)
13079 delete arg3;
13080 }
13081 {
13082 if (temp7)
13083 delete arg7;
13084 }
13085 return resultobj;
13086 fail:
13087 {
13088 if (temp3)
13089 delete arg3;
13090 }
13091 {
13092 if (temp7)
13093 delete arg7;
13094 }
13095 return NULL;
13096 }
13097
13098
13099 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13100 PyObject *resultobj;
13101 wxMDIChildFrame *result;
13102 char *kwnames[] = {
13103 NULL
13104 };
13105
13106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
13107 {
13108 PyThreadState* __tstate = wxPyBeginAllowThreads();
13109 result = (wxMDIChildFrame *)new wxMDIChildFrame();
13110
13111 wxPyEndAllowThreads(__tstate);
13112 if (PyErr_Occurred()) SWIG_fail;
13113 }
13114 {
13115 resultobj = wxPyMake_wxObject(result);
13116 }
13117 return resultobj;
13118 fail:
13119 return NULL;
13120 }
13121
13122
13123 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13124 PyObject *resultobj;
13125 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13126 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13127 int arg3 ;
13128 wxString *arg4 = 0 ;
13129 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13130 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13131 wxSize const &arg6_defvalue = wxDefaultSize ;
13132 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13133 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
13134 wxString const &arg8_defvalue = wxPyFrameNameStr ;
13135 wxString *arg8 = (wxString *) &arg8_defvalue ;
13136 bool result;
13137 bool temp4 = False ;
13138 wxPoint temp5 ;
13139 wxSize temp6 ;
13140 bool temp8 = False ;
13141 PyObject * obj0 = 0 ;
13142 PyObject * obj1 = 0 ;
13143 PyObject * obj3 = 0 ;
13144 PyObject * obj4 = 0 ;
13145 PyObject * obj5 = 0 ;
13146 PyObject * obj7 = 0 ;
13147 char *kwnames[] = {
13148 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13149 };
13150
13151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
13152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13153 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13154 {
13155 arg4 = wxString_in_helper(obj3);
13156 if (arg4 == NULL) SWIG_fail;
13157 temp4 = True;
13158 }
13159 if (obj4) {
13160 {
13161 arg5 = &temp5;
13162 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13163 }
13164 }
13165 if (obj5) {
13166 {
13167 arg6 = &temp6;
13168 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13169 }
13170 }
13171 if (obj7) {
13172 {
13173 arg8 = wxString_in_helper(obj7);
13174 if (arg8 == NULL) SWIG_fail;
13175 temp8 = True;
13176 }
13177 }
13178 {
13179 PyThreadState* __tstate = wxPyBeginAllowThreads();
13180 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
13181
13182 wxPyEndAllowThreads(__tstate);
13183 if (PyErr_Occurred()) SWIG_fail;
13184 }
13185 resultobj = PyInt_FromLong((long)result);
13186 {
13187 if (temp4)
13188 delete arg4;
13189 }
13190 {
13191 if (temp8)
13192 delete arg8;
13193 }
13194 return resultobj;
13195 fail:
13196 {
13197 if (temp4)
13198 delete arg4;
13199 }
13200 {
13201 if (temp8)
13202 delete arg8;
13203 }
13204 return NULL;
13205 }
13206
13207
13208 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
13209 PyObject *resultobj;
13210 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13211 PyObject * obj0 = 0 ;
13212 char *kwnames[] = {
13213 (char *) "self", NULL
13214 };
13215
13216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
13217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13218 {
13219 PyThreadState* __tstate = wxPyBeginAllowThreads();
13220 (arg1)->Activate();
13221
13222 wxPyEndAllowThreads(__tstate);
13223 if (PyErr_Occurred()) SWIG_fail;
13224 }
13225 Py_INCREF(Py_None); resultobj = Py_None;
13226 return resultobj;
13227 fail:
13228 return NULL;
13229 }
13230
13231
13232 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
13233 PyObject *resultobj;
13234 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13235 bool arg2 ;
13236 PyObject * obj0 = 0 ;
13237 PyObject * obj1 = 0 ;
13238 char *kwnames[] = {
13239 (char *) "self",(char *) "maximize", NULL
13240 };
13241
13242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
13243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13244 arg2 = PyInt_AsLong(obj1) ? true : false;
13245 if (PyErr_Occurred()) SWIG_fail;
13246 {
13247 PyThreadState* __tstate = wxPyBeginAllowThreads();
13248 (arg1)->Maximize(arg2);
13249
13250 wxPyEndAllowThreads(__tstate);
13251 if (PyErr_Occurred()) SWIG_fail;
13252 }
13253 Py_INCREF(Py_None); resultobj = Py_None;
13254 return resultobj;
13255 fail:
13256 return NULL;
13257 }
13258
13259
13260 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
13261 PyObject *resultobj;
13262 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13263 PyObject * obj0 = 0 ;
13264 char *kwnames[] = {
13265 (char *) "self", NULL
13266 };
13267
13268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
13269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13270 {
13271 PyThreadState* __tstate = wxPyBeginAllowThreads();
13272 (arg1)->Restore();
13273
13274 wxPyEndAllowThreads(__tstate);
13275 if (PyErr_Occurred()) SWIG_fail;
13276 }
13277 Py_INCREF(Py_None); resultobj = Py_None;
13278 return resultobj;
13279 fail:
13280 return NULL;
13281 }
13282
13283
13284 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
13285 PyObject *obj;
13286 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13287 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
13288 Py_INCREF(obj);
13289 return Py_BuildValue((char *)"");
13290 }
13291 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13292 PyObject *resultobj;
13293 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13294 long arg2 = (long) 0 ;
13295 wxMDIClientWindow *result;
13296 PyObject * obj0 = 0 ;
13297 char *kwnames[] = {
13298 (char *) "parent",(char *) "style", NULL
13299 };
13300
13301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:new_MDIClientWindow",kwnames,&obj0,&arg2)) goto fail;
13302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13303 {
13304 PyThreadState* __tstate = wxPyBeginAllowThreads();
13305 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
13306
13307 wxPyEndAllowThreads(__tstate);
13308 if (PyErr_Occurred()) SWIG_fail;
13309 }
13310 {
13311 resultobj = wxPyMake_wxObject(result);
13312 }
13313 return resultobj;
13314 fail:
13315 return NULL;
13316 }
13317
13318
13319 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13320 PyObject *resultobj;
13321 wxMDIClientWindow *result;
13322 char *kwnames[] = {
13323 NULL
13324 };
13325
13326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
13327 {
13328 PyThreadState* __tstate = wxPyBeginAllowThreads();
13329 result = (wxMDIClientWindow *)new wxMDIClientWindow();
13330
13331 wxPyEndAllowThreads(__tstate);
13332 if (PyErr_Occurred()) SWIG_fail;
13333 }
13334 {
13335 resultobj = wxPyMake_wxObject(result);
13336 }
13337 return resultobj;
13338 fail:
13339 return NULL;
13340 }
13341
13342
13343 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13344 PyObject *resultobj;
13345 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
13346 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13347 long arg3 = (long) 0 ;
13348 bool result;
13349 PyObject * obj0 = 0 ;
13350 PyObject * obj1 = 0 ;
13351 char *kwnames[] = {
13352 (char *) "self",(char *) "parent",(char *) "style", NULL
13353 };
13354
13355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:MDIClientWindow_Create",kwnames,&obj0,&obj1,&arg3)) goto fail;
13356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIClientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13357 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13358 {
13359 PyThreadState* __tstate = wxPyBeginAllowThreads();
13360 result = (bool)(arg1)->Create(arg2,arg3);
13361
13362 wxPyEndAllowThreads(__tstate);
13363 if (PyErr_Occurred()) SWIG_fail;
13364 }
13365 resultobj = PyInt_FromLong((long)result);
13366 return resultobj;
13367 fail:
13368 return NULL;
13369 }
13370
13371
13372 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
13373 PyObject *obj;
13374 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13375 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
13376 Py_INCREF(obj);
13377 return Py_BuildValue((char *)"");
13378 }
13379 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13380 PyObject *resultobj;
13381 wxWindow *arg1 = (wxWindow *) 0 ;
13382 int arg2 ;
13383 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13384 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13385 wxSize const &arg4_defvalue = wxDefaultSize ;
13386 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13387 long arg5 = (long) 0 ;
13388 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13389 wxString *arg6 = (wxString *) &arg6_defvalue ;
13390 wxPyWindow *result;
13391 wxPoint temp3 ;
13392 wxSize temp4 ;
13393 bool temp6 = False ;
13394 PyObject * obj0 = 0 ;
13395 PyObject * obj2 = 0 ;
13396 PyObject * obj3 = 0 ;
13397 PyObject * obj5 = 0 ;
13398 char *kwnames[] = {
13399 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13400 };
13401
13402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
13403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13404 if (obj2) {
13405 {
13406 arg3 = &temp3;
13407 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13408 }
13409 }
13410 if (obj3) {
13411 {
13412 arg4 = &temp4;
13413 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13414 }
13415 }
13416 if (obj5) {
13417 {
13418 arg6 = wxString_in_helper(obj5);
13419 if (arg6 == NULL) SWIG_fail;
13420 temp6 = True;
13421 }
13422 }
13423 {
13424 PyThreadState* __tstate = wxPyBeginAllowThreads();
13425 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13426
13427 wxPyEndAllowThreads(__tstate);
13428 if (PyErr_Occurred()) SWIG_fail;
13429 }
13430 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyWindow, 1);
13431 {
13432 if (temp6)
13433 delete arg6;
13434 }
13435 return resultobj;
13436 fail:
13437 {
13438 if (temp6)
13439 delete arg6;
13440 }
13441 return NULL;
13442 }
13443
13444
13445 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
13446 PyObject *resultobj;
13447 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13448 PyObject *arg2 = (PyObject *) 0 ;
13449 PyObject *arg3 = (PyObject *) 0 ;
13450 PyObject * obj0 = 0 ;
13451 PyObject * obj1 = 0 ;
13452 PyObject * obj2 = 0 ;
13453 char *kwnames[] = {
13454 (char *) "self",(char *) "self",(char *) "_class", NULL
13455 };
13456
13457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
13458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13459 arg2 = obj1;
13460 arg3 = obj2;
13461 {
13462 PyThreadState* __tstate = wxPyBeginAllowThreads();
13463 (arg1)->_setCallbackInfo(arg2,arg3);
13464
13465 wxPyEndAllowThreads(__tstate);
13466 if (PyErr_Occurred()) SWIG_fail;
13467 }
13468 Py_INCREF(Py_None); resultobj = Py_None;
13469 return resultobj;
13470 fail:
13471 return NULL;
13472 }
13473
13474
13475 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13476 PyObject *resultobj;
13477 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13478 int arg2 ;
13479 int arg3 ;
13480 int arg4 ;
13481 int arg5 ;
13482 PyObject * obj0 = 0 ;
13483 char *kwnames[] = {
13484 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13485 };
13486
13487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyWindow_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13489 {
13490 PyThreadState* __tstate = wxPyBeginAllowThreads();
13491 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
13492
13493 wxPyEndAllowThreads(__tstate);
13494 if (PyErr_Occurred()) SWIG_fail;
13495 }
13496 Py_INCREF(Py_None); resultobj = Py_None;
13497 return resultobj;
13498 fail:
13499 return NULL;
13500 }
13501
13502
13503 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13504 PyObject *resultobj;
13505 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13506 int arg2 ;
13507 int arg3 ;
13508 int arg4 ;
13509 int arg5 ;
13510 int arg6 = (int) wxSIZE_AUTO ;
13511 PyObject * obj0 = 0 ;
13512 char *kwnames[] = {
13513 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
13514 };
13515
13516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyWindow_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
13517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13518 {
13519 PyThreadState* __tstate = wxPyBeginAllowThreads();
13520 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
13521
13522 wxPyEndAllowThreads(__tstate);
13523 if (PyErr_Occurred()) SWIG_fail;
13524 }
13525 Py_INCREF(Py_None); resultobj = Py_None;
13526 return resultobj;
13527 fail:
13528 return NULL;
13529 }
13530
13531
13532 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13533 PyObject *resultobj;
13534 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13535 int arg2 ;
13536 int arg3 ;
13537 PyObject * obj0 = 0 ;
13538 char *kwnames[] = {
13539 (char *) "self",(char *) "width",(char *) "height", NULL
13540 };
13541
13542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13544 {
13545 PyThreadState* __tstate = wxPyBeginAllowThreads();
13546 (arg1)->base_DoSetClientSize(arg2,arg3);
13547
13548 wxPyEndAllowThreads(__tstate);
13549 if (PyErr_Occurred()) SWIG_fail;
13550 }
13551 Py_INCREF(Py_None); resultobj = Py_None;
13552 return resultobj;
13553 fail:
13554 return NULL;
13555 }
13556
13557
13558 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13559 PyObject *resultobj;
13560 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13561 int arg2 ;
13562 int arg3 ;
13563 PyObject * obj0 = 0 ;
13564 char *kwnames[] = {
13565 (char *) "self",(char *) "x",(char *) "y", NULL
13566 };
13567
13568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13570 {
13571 PyThreadState* __tstate = wxPyBeginAllowThreads();
13572 (arg1)->base_DoSetVirtualSize(arg2,arg3);
13573
13574 wxPyEndAllowThreads(__tstate);
13575 if (PyErr_Occurred()) SWIG_fail;
13576 }
13577 Py_INCREF(Py_None); resultobj = Py_None;
13578 return resultobj;
13579 fail:
13580 return NULL;
13581 }
13582
13583
13584 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13585 PyObject *resultobj;
13586 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13587 int *arg2 = (int *) 0 ;
13588 int *arg3 = (int *) 0 ;
13589 int temp2 ;
13590 int temp3 ;
13591 PyObject * obj0 = 0 ;
13592 char *kwnames[] = {
13593 (char *) "self", NULL
13594 };
13595
13596 arg2 = &temp2;
13597 arg3 = &temp3;
13598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
13599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13600 {
13601 PyThreadState* __tstate = wxPyBeginAllowThreads();
13602 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
13603
13604 wxPyEndAllowThreads(__tstate);
13605 if (PyErr_Occurred()) SWIG_fail;
13606 }
13607 Py_INCREF(Py_None); resultobj = Py_None;
13608 {
13609 PyObject *o = PyInt_FromLong((long) (*arg2));
13610 resultobj = t_output_helper(resultobj,o);
13611 }
13612 {
13613 PyObject *o = PyInt_FromLong((long) (*arg3));
13614 resultobj = t_output_helper(resultobj,o);
13615 }
13616 return resultobj;
13617 fail:
13618 return NULL;
13619 }
13620
13621
13622 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13623 PyObject *resultobj;
13624 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13625 int *arg2 = (int *) 0 ;
13626 int *arg3 = (int *) 0 ;
13627 int temp2 ;
13628 int temp3 ;
13629 PyObject * obj0 = 0 ;
13630 char *kwnames[] = {
13631 (char *) "self", NULL
13632 };
13633
13634 arg2 = &temp2;
13635 arg3 = &temp3;
13636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
13637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13638 {
13639 PyThreadState* __tstate = wxPyBeginAllowThreads();
13640 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
13641
13642 wxPyEndAllowThreads(__tstate);
13643 if (PyErr_Occurred()) SWIG_fail;
13644 }
13645 Py_INCREF(Py_None); resultobj = Py_None;
13646 {
13647 PyObject *o = PyInt_FromLong((long) (*arg2));
13648 resultobj = t_output_helper(resultobj,o);
13649 }
13650 {
13651 PyObject *o = PyInt_FromLong((long) (*arg3));
13652 resultobj = t_output_helper(resultobj,o);
13653 }
13654 return resultobj;
13655 fail:
13656 return NULL;
13657 }
13658
13659
13660 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13661 PyObject *resultobj;
13662 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13663 int *arg2 = (int *) 0 ;
13664 int *arg3 = (int *) 0 ;
13665 int temp2 ;
13666 int temp3 ;
13667 PyObject * obj0 = 0 ;
13668 char *kwnames[] = {
13669 (char *) "self", NULL
13670 };
13671
13672 arg2 = &temp2;
13673 arg3 = &temp3;
13674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
13675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13676 {
13677 PyThreadState* __tstate = wxPyBeginAllowThreads();
13678 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
13679
13680 wxPyEndAllowThreads(__tstate);
13681 if (PyErr_Occurred()) SWIG_fail;
13682 }
13683 Py_INCREF(Py_None); resultobj = Py_None;
13684 {
13685 PyObject *o = PyInt_FromLong((long) (*arg2));
13686 resultobj = t_output_helper(resultobj,o);
13687 }
13688 {
13689 PyObject *o = PyInt_FromLong((long) (*arg3));
13690 resultobj = t_output_helper(resultobj,o);
13691 }
13692 return resultobj;
13693 fail:
13694 return NULL;
13695 }
13696
13697
13698 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13699 PyObject *resultobj;
13700 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13701 wxSize result;
13702 PyObject * obj0 = 0 ;
13703 char *kwnames[] = {
13704 (char *) "self", NULL
13705 };
13706
13707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
13708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13709 {
13710 PyThreadState* __tstate = wxPyBeginAllowThreads();
13711 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
13712
13713 wxPyEndAllowThreads(__tstate);
13714 if (PyErr_Occurred()) SWIG_fail;
13715 }
13716 {
13717 wxSize * resultptr;
13718 resultptr = new wxSize((wxSize &) result);
13719 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13720 }
13721 return resultobj;
13722 fail:
13723 return NULL;
13724 }
13725
13726
13727 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13728 PyObject *resultobj;
13729 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13730 wxSize result;
13731 PyObject * obj0 = 0 ;
13732 char *kwnames[] = {
13733 (char *) "self", NULL
13734 };
13735
13736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
13737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13738 {
13739 PyThreadState* __tstate = wxPyBeginAllowThreads();
13740 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
13741
13742 wxPyEndAllowThreads(__tstate);
13743 if (PyErr_Occurred()) SWIG_fail;
13744 }
13745 {
13746 wxSize * resultptr;
13747 resultptr = new wxSize((wxSize &) result);
13748 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13749 }
13750 return resultobj;
13751 fail:
13752 return NULL;
13753 }
13754
13755
13756 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13757 PyObject *resultobj;
13758 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13759 PyObject * obj0 = 0 ;
13760 char *kwnames[] = {
13761 (char *) "self", NULL
13762 };
13763
13764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
13765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13766 {
13767 PyThreadState* __tstate = wxPyBeginAllowThreads();
13768 (arg1)->base_InitDialog();
13769
13770 wxPyEndAllowThreads(__tstate);
13771 if (PyErr_Occurred()) SWIG_fail;
13772 }
13773 Py_INCREF(Py_None); resultobj = Py_None;
13774 return resultobj;
13775 fail:
13776 return NULL;
13777 }
13778
13779
13780 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13781 PyObject *resultobj;
13782 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13783 bool result;
13784 PyObject * obj0 = 0 ;
13785 char *kwnames[] = {
13786 (char *) "self", NULL
13787 };
13788
13789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
13790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13791 {
13792 PyThreadState* __tstate = wxPyBeginAllowThreads();
13793 result = (bool)(arg1)->base_TransferDataToWindow();
13794
13795 wxPyEndAllowThreads(__tstate);
13796 if (PyErr_Occurred()) SWIG_fail;
13797 }
13798 resultobj = PyInt_FromLong((long)result);
13799 return resultobj;
13800 fail:
13801 return NULL;
13802 }
13803
13804
13805 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13806 PyObject *resultobj;
13807 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13808 bool result;
13809 PyObject * obj0 = 0 ;
13810 char *kwnames[] = {
13811 (char *) "self", NULL
13812 };
13813
13814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
13815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13816 {
13817 PyThreadState* __tstate = wxPyBeginAllowThreads();
13818 result = (bool)(arg1)->base_TransferDataFromWindow();
13819
13820 wxPyEndAllowThreads(__tstate);
13821 if (PyErr_Occurred()) SWIG_fail;
13822 }
13823 resultobj = PyInt_FromLong((long)result);
13824 return resultobj;
13825 fail:
13826 return NULL;
13827 }
13828
13829
13830 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
13831 PyObject *resultobj;
13832 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13833 bool result;
13834 PyObject * obj0 = 0 ;
13835 char *kwnames[] = {
13836 (char *) "self", NULL
13837 };
13838
13839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
13840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13841 {
13842 PyThreadState* __tstate = wxPyBeginAllowThreads();
13843 result = (bool)(arg1)->base_Validate();
13844
13845 wxPyEndAllowThreads(__tstate);
13846 if (PyErr_Occurred()) SWIG_fail;
13847 }
13848 resultobj = PyInt_FromLong((long)result);
13849 return resultobj;
13850 fail:
13851 return NULL;
13852 }
13853
13854
13855 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
13856 PyObject *resultobj;
13857 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13858 bool result;
13859 PyObject * obj0 = 0 ;
13860 char *kwnames[] = {
13861 (char *) "self", NULL
13862 };
13863
13864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
13865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13866 {
13867 PyThreadState* __tstate = wxPyBeginAllowThreads();
13868 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
13869
13870 wxPyEndAllowThreads(__tstate);
13871 if (PyErr_Occurred()) SWIG_fail;
13872 }
13873 resultobj = PyInt_FromLong((long)result);
13874 return resultobj;
13875 fail:
13876 return NULL;
13877 }
13878
13879
13880 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
13881 PyObject *resultobj;
13882 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13883 bool result;
13884 PyObject * obj0 = 0 ;
13885 char *kwnames[] = {
13886 (char *) "self", NULL
13887 };
13888
13889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
13890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13891 {
13892 PyThreadState* __tstate = wxPyBeginAllowThreads();
13893 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
13894
13895 wxPyEndAllowThreads(__tstate);
13896 if (PyErr_Occurred()) SWIG_fail;
13897 }
13898 resultobj = PyInt_FromLong((long)result);
13899 return resultobj;
13900 fail:
13901 return NULL;
13902 }
13903
13904
13905 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13906 PyObject *resultobj;
13907 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13908 wxSize result;
13909 PyObject * obj0 = 0 ;
13910 char *kwnames[] = {
13911 (char *) "self", NULL
13912 };
13913
13914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
13915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13916 {
13917 PyThreadState* __tstate = wxPyBeginAllowThreads();
13918 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
13919
13920 wxPyEndAllowThreads(__tstate);
13921 if (PyErr_Occurred()) SWIG_fail;
13922 }
13923 {
13924 wxSize * resultptr;
13925 resultptr = new wxSize((wxSize &) result);
13926 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13927 }
13928 return resultobj;
13929 fail:
13930 return NULL;
13931 }
13932
13933
13934 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
13935 PyObject *resultobj;
13936 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13937 wxWindow *arg2 = (wxWindow *) 0 ;
13938 PyObject * obj0 = 0 ;
13939 PyObject * obj1 = 0 ;
13940 char *kwnames[] = {
13941 (char *) "self",(char *) "child", NULL
13942 };
13943
13944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
13945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13946 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13947 {
13948 PyThreadState* __tstate = wxPyBeginAllowThreads();
13949 (arg1)->base_AddChild(arg2);
13950
13951 wxPyEndAllowThreads(__tstate);
13952 if (PyErr_Occurred()) SWIG_fail;
13953 }
13954 Py_INCREF(Py_None); resultobj = Py_None;
13955 return resultobj;
13956 fail:
13957 return NULL;
13958 }
13959
13960
13961 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
13962 PyObject *resultobj;
13963 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13964 wxWindow *arg2 = (wxWindow *) 0 ;
13965 PyObject * obj0 = 0 ;
13966 PyObject * obj1 = 0 ;
13967 char *kwnames[] = {
13968 (char *) "self",(char *) "child", NULL
13969 };
13970
13971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
13972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13973 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13974 {
13975 PyThreadState* __tstate = wxPyBeginAllowThreads();
13976 (arg1)->base_RemoveChild(arg2);
13977
13978 wxPyEndAllowThreads(__tstate);
13979 if (PyErr_Occurred()) SWIG_fail;
13980 }
13981 Py_INCREF(Py_None); resultobj = Py_None;
13982 return resultobj;
13983 fail:
13984 return NULL;
13985 }
13986
13987
13988 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
13989 PyObject *obj;
13990 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13991 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
13992 Py_INCREF(obj);
13993 return Py_BuildValue((char *)"");
13994 }
13995 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
13996 PyObject *resultobj;
13997 wxWindow *arg1 = (wxWindow *) 0 ;
13998 int arg2 ;
13999 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14000 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14001 wxSize const &arg4_defvalue = wxDefaultSize ;
14002 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14003 long arg5 = (long) 0 ;
14004 wxString const &arg6_defvalue = wxPyPanelNameStr ;
14005 wxString *arg6 = (wxString *) &arg6_defvalue ;
14006 wxPyPanel *result;
14007 wxPoint temp3 ;
14008 wxSize temp4 ;
14009 bool temp6 = False ;
14010 PyObject * obj0 = 0 ;
14011 PyObject * obj2 = 0 ;
14012 PyObject * obj3 = 0 ;
14013 PyObject * obj5 = 0 ;
14014 char *kwnames[] = {
14015 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14016 };
14017
14018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyPanel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
14019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14020 if (obj2) {
14021 {
14022 arg3 = &temp3;
14023 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14024 }
14025 }
14026 if (obj3) {
14027 {
14028 arg4 = &temp4;
14029 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14030 }
14031 }
14032 if (obj5) {
14033 {
14034 arg6 = wxString_in_helper(obj5);
14035 if (arg6 == NULL) SWIG_fail;
14036 temp6 = True;
14037 }
14038 }
14039 {
14040 PyThreadState* __tstate = wxPyBeginAllowThreads();
14041 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14042
14043 wxPyEndAllowThreads(__tstate);
14044 if (PyErr_Occurred()) SWIG_fail;
14045 }
14046 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPanel, 1);
14047 {
14048 if (temp6)
14049 delete arg6;
14050 }
14051 return resultobj;
14052 fail:
14053 {
14054 if (temp6)
14055 delete arg6;
14056 }
14057 return NULL;
14058 }
14059
14060
14061 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14062 PyObject *resultobj;
14063 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14064 PyObject *arg2 = (PyObject *) 0 ;
14065 PyObject *arg3 = (PyObject *) 0 ;
14066 PyObject * obj0 = 0 ;
14067 PyObject * obj1 = 0 ;
14068 PyObject * obj2 = 0 ;
14069 char *kwnames[] = {
14070 (char *) "self",(char *) "self",(char *) "_class", NULL
14071 };
14072
14073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14075 arg2 = obj1;
14076 arg3 = obj2;
14077 {
14078 PyThreadState* __tstate = wxPyBeginAllowThreads();
14079 (arg1)->_setCallbackInfo(arg2,arg3);
14080
14081 wxPyEndAllowThreads(__tstate);
14082 if (PyErr_Occurred()) SWIG_fail;
14083 }
14084 Py_INCREF(Py_None); resultobj = Py_None;
14085 return resultobj;
14086 fail:
14087 return NULL;
14088 }
14089
14090
14091 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14092 PyObject *resultobj;
14093 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14094 int arg2 ;
14095 int arg3 ;
14096 int arg4 ;
14097 int arg5 ;
14098 PyObject * obj0 = 0 ;
14099 char *kwnames[] = {
14100 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14101 };
14102
14103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyPanel_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14105 {
14106 PyThreadState* __tstate = wxPyBeginAllowThreads();
14107 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
14108
14109 wxPyEndAllowThreads(__tstate);
14110 if (PyErr_Occurred()) SWIG_fail;
14111 }
14112 Py_INCREF(Py_None); resultobj = Py_None;
14113 return resultobj;
14114 fail:
14115 return NULL;
14116 }
14117
14118
14119 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14120 PyObject *resultobj;
14121 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14122 int arg2 ;
14123 int arg3 ;
14124 int arg4 ;
14125 int arg5 ;
14126 int arg6 = (int) wxSIZE_AUTO ;
14127 PyObject * obj0 = 0 ;
14128 char *kwnames[] = {
14129 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14130 };
14131
14132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyPanel_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
14133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14134 {
14135 PyThreadState* __tstate = wxPyBeginAllowThreads();
14136 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
14137
14138 wxPyEndAllowThreads(__tstate);
14139 if (PyErr_Occurred()) SWIG_fail;
14140 }
14141 Py_INCREF(Py_None); resultobj = Py_None;
14142 return resultobj;
14143 fail:
14144 return NULL;
14145 }
14146
14147
14148 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14149 PyObject *resultobj;
14150 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14151 int arg2 ;
14152 int arg3 ;
14153 PyObject * obj0 = 0 ;
14154 char *kwnames[] = {
14155 (char *) "self",(char *) "width",(char *) "height", NULL
14156 };
14157
14158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14160 {
14161 PyThreadState* __tstate = wxPyBeginAllowThreads();
14162 (arg1)->base_DoSetClientSize(arg2,arg3);
14163
14164 wxPyEndAllowThreads(__tstate);
14165 if (PyErr_Occurred()) SWIG_fail;
14166 }
14167 Py_INCREF(Py_None); resultobj = Py_None;
14168 return resultobj;
14169 fail:
14170 return NULL;
14171 }
14172
14173
14174 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14175 PyObject *resultobj;
14176 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14177 int arg2 ;
14178 int arg3 ;
14179 PyObject * obj0 = 0 ;
14180 char *kwnames[] = {
14181 (char *) "self",(char *) "x",(char *) "y", NULL
14182 };
14183
14184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14186 {
14187 PyThreadState* __tstate = wxPyBeginAllowThreads();
14188 (arg1)->base_DoSetVirtualSize(arg2,arg3);
14189
14190 wxPyEndAllowThreads(__tstate);
14191 if (PyErr_Occurred()) SWIG_fail;
14192 }
14193 Py_INCREF(Py_None); resultobj = Py_None;
14194 return resultobj;
14195 fail:
14196 return NULL;
14197 }
14198
14199
14200 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14201 PyObject *resultobj;
14202 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14203 int *arg2 = (int *) 0 ;
14204 int *arg3 = (int *) 0 ;
14205 int temp2 ;
14206 int temp3 ;
14207 PyObject * obj0 = 0 ;
14208 char *kwnames[] = {
14209 (char *) "self", NULL
14210 };
14211
14212 arg2 = &temp2;
14213 arg3 = &temp3;
14214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
14215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14216 {
14217 PyThreadState* __tstate = wxPyBeginAllowThreads();
14218 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
14219
14220 wxPyEndAllowThreads(__tstate);
14221 if (PyErr_Occurred()) SWIG_fail;
14222 }
14223 Py_INCREF(Py_None); resultobj = Py_None;
14224 {
14225 PyObject *o = PyInt_FromLong((long) (*arg2));
14226 resultobj = t_output_helper(resultobj,o);
14227 }
14228 {
14229 PyObject *o = PyInt_FromLong((long) (*arg3));
14230 resultobj = t_output_helper(resultobj,o);
14231 }
14232 return resultobj;
14233 fail:
14234 return NULL;
14235 }
14236
14237
14238 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14239 PyObject *resultobj;
14240 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14241 int *arg2 = (int *) 0 ;
14242 int *arg3 = (int *) 0 ;
14243 int temp2 ;
14244 int temp3 ;
14245 PyObject * obj0 = 0 ;
14246 char *kwnames[] = {
14247 (char *) "self", NULL
14248 };
14249
14250 arg2 = &temp2;
14251 arg3 = &temp3;
14252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
14253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14254 {
14255 PyThreadState* __tstate = wxPyBeginAllowThreads();
14256 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
14257
14258 wxPyEndAllowThreads(__tstate);
14259 if (PyErr_Occurred()) SWIG_fail;
14260 }
14261 Py_INCREF(Py_None); resultobj = Py_None;
14262 {
14263 PyObject *o = PyInt_FromLong((long) (*arg2));
14264 resultobj = t_output_helper(resultobj,o);
14265 }
14266 {
14267 PyObject *o = PyInt_FromLong((long) (*arg3));
14268 resultobj = t_output_helper(resultobj,o);
14269 }
14270 return resultobj;
14271 fail:
14272 return NULL;
14273 }
14274
14275
14276 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14277 PyObject *resultobj;
14278 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14279 int *arg2 = (int *) 0 ;
14280 int *arg3 = (int *) 0 ;
14281 int temp2 ;
14282 int temp3 ;
14283 PyObject * obj0 = 0 ;
14284 char *kwnames[] = {
14285 (char *) "self", NULL
14286 };
14287
14288 arg2 = &temp2;
14289 arg3 = &temp3;
14290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
14291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14292 {
14293 PyThreadState* __tstate = wxPyBeginAllowThreads();
14294 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
14295
14296 wxPyEndAllowThreads(__tstate);
14297 if (PyErr_Occurred()) SWIG_fail;
14298 }
14299 Py_INCREF(Py_None); resultobj = Py_None;
14300 {
14301 PyObject *o = PyInt_FromLong((long) (*arg2));
14302 resultobj = t_output_helper(resultobj,o);
14303 }
14304 {
14305 PyObject *o = PyInt_FromLong((long) (*arg3));
14306 resultobj = t_output_helper(resultobj,o);
14307 }
14308 return resultobj;
14309 fail:
14310 return NULL;
14311 }
14312
14313
14314 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14315 PyObject *resultobj;
14316 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14317 wxSize result;
14318 PyObject * obj0 = 0 ;
14319 char *kwnames[] = {
14320 (char *) "self", NULL
14321 };
14322
14323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
14324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14325 {
14326 PyThreadState* __tstate = wxPyBeginAllowThreads();
14327 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
14328
14329 wxPyEndAllowThreads(__tstate);
14330 if (PyErr_Occurred()) SWIG_fail;
14331 }
14332 {
14333 wxSize * resultptr;
14334 resultptr = new wxSize((wxSize &) result);
14335 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14336 }
14337 return resultobj;
14338 fail:
14339 return NULL;
14340 }
14341
14342
14343 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14344 PyObject *resultobj;
14345 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14346 wxSize result;
14347 PyObject * obj0 = 0 ;
14348 char *kwnames[] = {
14349 (char *) "self", NULL
14350 };
14351
14352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
14353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14354 {
14355 PyThreadState* __tstate = wxPyBeginAllowThreads();
14356 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
14357
14358 wxPyEndAllowThreads(__tstate);
14359 if (PyErr_Occurred()) SWIG_fail;
14360 }
14361 {
14362 wxSize * resultptr;
14363 resultptr = new wxSize((wxSize &) result);
14364 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14365 }
14366 return resultobj;
14367 fail:
14368 return NULL;
14369 }
14370
14371
14372 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14373 PyObject *resultobj;
14374 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14375 PyObject * obj0 = 0 ;
14376 char *kwnames[] = {
14377 (char *) "self", NULL
14378 };
14379
14380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
14381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14382 {
14383 PyThreadState* __tstate = wxPyBeginAllowThreads();
14384 (arg1)->base_InitDialog();
14385
14386 wxPyEndAllowThreads(__tstate);
14387 if (PyErr_Occurred()) SWIG_fail;
14388 }
14389 Py_INCREF(Py_None); resultobj = Py_None;
14390 return resultobj;
14391 fail:
14392 return NULL;
14393 }
14394
14395
14396 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14397 PyObject *resultobj;
14398 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14399 bool result;
14400 PyObject * obj0 = 0 ;
14401 char *kwnames[] = {
14402 (char *) "self", NULL
14403 };
14404
14405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
14406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14407 {
14408 PyThreadState* __tstate = wxPyBeginAllowThreads();
14409 result = (bool)(arg1)->base_TransferDataToWindow();
14410
14411 wxPyEndAllowThreads(__tstate);
14412 if (PyErr_Occurred()) SWIG_fail;
14413 }
14414 resultobj = PyInt_FromLong((long)result);
14415 return resultobj;
14416 fail:
14417 return NULL;
14418 }
14419
14420
14421 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14422 PyObject *resultobj;
14423 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14424 bool result;
14425 PyObject * obj0 = 0 ;
14426 char *kwnames[] = {
14427 (char *) "self", NULL
14428 };
14429
14430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
14431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14432 {
14433 PyThreadState* __tstate = wxPyBeginAllowThreads();
14434 result = (bool)(arg1)->base_TransferDataFromWindow();
14435
14436 wxPyEndAllowThreads(__tstate);
14437 if (PyErr_Occurred()) SWIG_fail;
14438 }
14439 resultobj = PyInt_FromLong((long)result);
14440 return resultobj;
14441 fail:
14442 return NULL;
14443 }
14444
14445
14446 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
14447 PyObject *resultobj;
14448 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14449 bool result;
14450 PyObject * obj0 = 0 ;
14451 char *kwnames[] = {
14452 (char *) "self", NULL
14453 };
14454
14455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
14456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14457 {
14458 PyThreadState* __tstate = wxPyBeginAllowThreads();
14459 result = (bool)(arg1)->base_Validate();
14460
14461 wxPyEndAllowThreads(__tstate);
14462 if (PyErr_Occurred()) SWIG_fail;
14463 }
14464 resultobj = PyInt_FromLong((long)result);
14465 return resultobj;
14466 fail:
14467 return NULL;
14468 }
14469
14470
14471 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
14472 PyObject *resultobj;
14473 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14474 bool result;
14475 PyObject * obj0 = 0 ;
14476 char *kwnames[] = {
14477 (char *) "self", NULL
14478 };
14479
14480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
14481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14482 {
14483 PyThreadState* __tstate = wxPyBeginAllowThreads();
14484 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
14485
14486 wxPyEndAllowThreads(__tstate);
14487 if (PyErr_Occurred()) SWIG_fail;
14488 }
14489 resultobj = PyInt_FromLong((long)result);
14490 return resultobj;
14491 fail:
14492 return NULL;
14493 }
14494
14495
14496 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
14497 PyObject *resultobj;
14498 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14499 bool result;
14500 PyObject * obj0 = 0 ;
14501 char *kwnames[] = {
14502 (char *) "self", NULL
14503 };
14504
14505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
14506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14507 {
14508 PyThreadState* __tstate = wxPyBeginAllowThreads();
14509 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
14510
14511 wxPyEndAllowThreads(__tstate);
14512 if (PyErr_Occurred()) SWIG_fail;
14513 }
14514 resultobj = PyInt_FromLong((long)result);
14515 return resultobj;
14516 fail:
14517 return NULL;
14518 }
14519
14520
14521 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14522 PyObject *resultobj;
14523 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14524 wxSize result;
14525 PyObject * obj0 = 0 ;
14526 char *kwnames[] = {
14527 (char *) "self", NULL
14528 };
14529
14530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
14531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14532 {
14533 PyThreadState* __tstate = wxPyBeginAllowThreads();
14534 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
14535
14536 wxPyEndAllowThreads(__tstate);
14537 if (PyErr_Occurred()) SWIG_fail;
14538 }
14539 {
14540 wxSize * resultptr;
14541 resultptr = new wxSize((wxSize &) result);
14542 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14543 }
14544 return resultobj;
14545 fail:
14546 return NULL;
14547 }
14548
14549
14550 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14551 PyObject *resultobj;
14552 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14553 wxWindow *arg2 = (wxWindow *) 0 ;
14554 PyObject * obj0 = 0 ;
14555 PyObject * obj1 = 0 ;
14556 char *kwnames[] = {
14557 (char *) "self",(char *) "child", NULL
14558 };
14559
14560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
14561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14562 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14563 {
14564 PyThreadState* __tstate = wxPyBeginAllowThreads();
14565 (arg1)->base_AddChild(arg2);
14566
14567 wxPyEndAllowThreads(__tstate);
14568 if (PyErr_Occurred()) SWIG_fail;
14569 }
14570 Py_INCREF(Py_None); resultobj = Py_None;
14571 return resultobj;
14572 fail:
14573 return NULL;
14574 }
14575
14576
14577 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14578 PyObject *resultobj;
14579 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14580 wxWindow *arg2 = (wxWindow *) 0 ;
14581 PyObject * obj0 = 0 ;
14582 PyObject * obj1 = 0 ;
14583 char *kwnames[] = {
14584 (char *) "self",(char *) "child", NULL
14585 };
14586
14587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
14588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14589 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14590 {
14591 PyThreadState* __tstate = wxPyBeginAllowThreads();
14592 (arg1)->base_RemoveChild(arg2);
14593
14594 wxPyEndAllowThreads(__tstate);
14595 if (PyErr_Occurred()) SWIG_fail;
14596 }
14597 Py_INCREF(Py_None); resultobj = Py_None;
14598 return resultobj;
14599 fail:
14600 return NULL;
14601 }
14602
14603
14604 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
14605 PyObject *obj;
14606 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14607 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
14608 Py_INCREF(obj);
14609 return Py_BuildValue((char *)"");
14610 }
14611 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
14612 PyObject *resultobj;
14613 wxPrintData *result;
14614 char *kwnames[] = {
14615 NULL
14616 };
14617
14618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
14619 {
14620 PyThreadState* __tstate = wxPyBeginAllowThreads();
14621 result = (wxPrintData *)new wxPrintData();
14622
14623 wxPyEndAllowThreads(__tstate);
14624 if (PyErr_Occurred()) SWIG_fail;
14625 }
14626 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 1);
14627 return resultobj;
14628 fail:
14629 return NULL;
14630 }
14631
14632
14633 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
14634 PyObject *resultobj;
14635 wxPrintData *arg1 = (wxPrintData *) 0 ;
14636 PyObject * obj0 = 0 ;
14637 char *kwnames[] = {
14638 (char *) "self", NULL
14639 };
14640
14641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
14642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14643 {
14644 PyThreadState* __tstate = wxPyBeginAllowThreads();
14645 delete arg1;
14646
14647 wxPyEndAllowThreads(__tstate);
14648 if (PyErr_Occurred()) SWIG_fail;
14649 }
14650 Py_INCREF(Py_None); resultobj = Py_None;
14651 return resultobj;
14652 fail:
14653 return NULL;
14654 }
14655
14656
14657 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
14658 PyObject *resultobj;
14659 wxPrintData *arg1 = (wxPrintData *) 0 ;
14660 int result;
14661 PyObject * obj0 = 0 ;
14662 char *kwnames[] = {
14663 (char *) "self", NULL
14664 };
14665
14666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
14667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14668 {
14669 PyThreadState* __tstate = wxPyBeginAllowThreads();
14670 result = (int)(arg1)->GetNoCopies();
14671
14672 wxPyEndAllowThreads(__tstate);
14673 if (PyErr_Occurred()) SWIG_fail;
14674 }
14675 resultobj = PyInt_FromLong((long)result);
14676 return resultobj;
14677 fail:
14678 return NULL;
14679 }
14680
14681
14682 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
14683 PyObject *resultobj;
14684 wxPrintData *arg1 = (wxPrintData *) 0 ;
14685 bool result;
14686 PyObject * obj0 = 0 ;
14687 char *kwnames[] = {
14688 (char *) "self", NULL
14689 };
14690
14691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
14692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14693 {
14694 PyThreadState* __tstate = wxPyBeginAllowThreads();
14695 result = (bool)(arg1)->GetCollate();
14696
14697 wxPyEndAllowThreads(__tstate);
14698 if (PyErr_Occurred()) SWIG_fail;
14699 }
14700 resultobj = PyInt_FromLong((long)result);
14701 return resultobj;
14702 fail:
14703 return NULL;
14704 }
14705
14706
14707 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
14708 PyObject *resultobj;
14709 wxPrintData *arg1 = (wxPrintData *) 0 ;
14710 int result;
14711 PyObject * obj0 = 0 ;
14712 char *kwnames[] = {
14713 (char *) "self", NULL
14714 };
14715
14716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
14717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14718 {
14719 PyThreadState* __tstate = wxPyBeginAllowThreads();
14720 result = (int)(arg1)->GetOrientation();
14721
14722 wxPyEndAllowThreads(__tstate);
14723 if (PyErr_Occurred()) SWIG_fail;
14724 }
14725 resultobj = PyInt_FromLong((long)result);
14726 return resultobj;
14727 fail:
14728 return NULL;
14729 }
14730
14731
14732 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
14733 PyObject *resultobj;
14734 wxPrintData *arg1 = (wxPrintData *) 0 ;
14735 bool result;
14736 PyObject * obj0 = 0 ;
14737 char *kwnames[] = {
14738 (char *) "self", NULL
14739 };
14740
14741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
14742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14743 {
14744 PyThreadState* __tstate = wxPyBeginAllowThreads();
14745 result = (bool)(arg1)->Ok();
14746
14747 wxPyEndAllowThreads(__tstate);
14748 if (PyErr_Occurred()) SWIG_fail;
14749 }
14750 resultobj = PyInt_FromLong((long)result);
14751 return resultobj;
14752 fail:
14753 return NULL;
14754 }
14755
14756
14757 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
14758 PyObject *resultobj;
14759 wxPrintData *arg1 = (wxPrintData *) 0 ;
14760 wxString *result;
14761 PyObject * obj0 = 0 ;
14762 char *kwnames[] = {
14763 (char *) "self", NULL
14764 };
14765
14766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
14767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14768 {
14769 PyThreadState* __tstate = wxPyBeginAllowThreads();
14770 {
14771 wxString const &_result_ref = (arg1)->GetPrinterName();
14772 result = (wxString *) &_result_ref;
14773 }
14774
14775 wxPyEndAllowThreads(__tstate);
14776 if (PyErr_Occurred()) SWIG_fail;
14777 }
14778 {
14779 #if wxUSE_UNICODE
14780 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14781 #else
14782 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14783 #endif
14784 }
14785 return resultobj;
14786 fail:
14787 return NULL;
14788 }
14789
14790
14791 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
14792 PyObject *resultobj;
14793 wxPrintData *arg1 = (wxPrintData *) 0 ;
14794 bool result;
14795 PyObject * obj0 = 0 ;
14796 char *kwnames[] = {
14797 (char *) "self", NULL
14798 };
14799
14800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
14801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14802 {
14803 PyThreadState* __tstate = wxPyBeginAllowThreads();
14804 result = (bool)(arg1)->GetColour();
14805
14806 wxPyEndAllowThreads(__tstate);
14807 if (PyErr_Occurred()) SWIG_fail;
14808 }
14809 resultobj = PyInt_FromLong((long)result);
14810 return resultobj;
14811 fail:
14812 return NULL;
14813 }
14814
14815
14816 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
14817 PyObject *resultobj;
14818 wxPrintData *arg1 = (wxPrintData *) 0 ;
14819 int result;
14820 PyObject * obj0 = 0 ;
14821 char *kwnames[] = {
14822 (char *) "self", NULL
14823 };
14824
14825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
14826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14827 {
14828 PyThreadState* __tstate = wxPyBeginAllowThreads();
14829 result = (int)(arg1)->GetDuplex();
14830
14831 wxPyEndAllowThreads(__tstate);
14832 if (PyErr_Occurred()) SWIG_fail;
14833 }
14834 resultobj = PyInt_FromLong((long)result);
14835 return resultobj;
14836 fail:
14837 return NULL;
14838 }
14839
14840
14841 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
14842 PyObject *resultobj;
14843 wxPrintData *arg1 = (wxPrintData *) 0 ;
14844 int result;
14845 PyObject * obj0 = 0 ;
14846 char *kwnames[] = {
14847 (char *) "self", NULL
14848 };
14849
14850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
14851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14852 {
14853 PyThreadState* __tstate = wxPyBeginAllowThreads();
14854 result = (int)(arg1)->GetPaperId();
14855
14856 wxPyEndAllowThreads(__tstate);
14857 if (PyErr_Occurred()) SWIG_fail;
14858 }
14859 resultobj = PyInt_FromLong((long)result);
14860 return resultobj;
14861 fail:
14862 return NULL;
14863 }
14864
14865
14866 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14867 PyObject *resultobj;
14868 wxPrintData *arg1 = (wxPrintData *) 0 ;
14869 wxSize *result;
14870 PyObject * obj0 = 0 ;
14871 char *kwnames[] = {
14872 (char *) "self", NULL
14873 };
14874
14875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
14876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14877 {
14878 PyThreadState* __tstate = wxPyBeginAllowThreads();
14879 {
14880 wxSize const &_result_ref = (arg1)->GetPaperSize();
14881 result = (wxSize *) &_result_ref;
14882 }
14883
14884 wxPyEndAllowThreads(__tstate);
14885 if (PyErr_Occurred()) SWIG_fail;
14886 }
14887 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
14888 return resultobj;
14889 fail:
14890 return NULL;
14891 }
14892
14893
14894 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
14895 PyObject *resultobj;
14896 wxPrintData *arg1 = (wxPrintData *) 0 ;
14897 wxPrintQuality result;
14898 PyObject * obj0 = 0 ;
14899 char *kwnames[] = {
14900 (char *) "self", NULL
14901 };
14902
14903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
14904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14905 {
14906 PyThreadState* __tstate = wxPyBeginAllowThreads();
14907 result = (arg1)->GetQuality();
14908
14909 wxPyEndAllowThreads(__tstate);
14910 if (PyErr_Occurred()) SWIG_fail;
14911 }
14912 {
14913 wxPrintQuality * resultptr;
14914 resultptr = new wxPrintQuality((wxPrintQuality &) result);
14915 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPrintQuality, 1);
14916 }
14917 return resultobj;
14918 fail:
14919 return NULL;
14920 }
14921
14922
14923 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
14924 PyObject *resultobj;
14925 wxPrintData *arg1 = (wxPrintData *) 0 ;
14926 int arg2 ;
14927 PyObject * obj0 = 0 ;
14928 char *kwnames[] = {
14929 (char *) "self",(char *) "v", NULL
14930 };
14931
14932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
14933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14934 {
14935 PyThreadState* __tstate = wxPyBeginAllowThreads();
14936 (arg1)->SetNoCopies(arg2);
14937
14938 wxPyEndAllowThreads(__tstate);
14939 if (PyErr_Occurred()) SWIG_fail;
14940 }
14941 Py_INCREF(Py_None); resultobj = Py_None;
14942 return resultobj;
14943 fail:
14944 return NULL;
14945 }
14946
14947
14948 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
14949 PyObject *resultobj;
14950 wxPrintData *arg1 = (wxPrintData *) 0 ;
14951 bool arg2 ;
14952 PyObject * obj0 = 0 ;
14953 PyObject * obj1 = 0 ;
14954 char *kwnames[] = {
14955 (char *) "self",(char *) "flag", NULL
14956 };
14957
14958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
14959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14960 arg2 = PyInt_AsLong(obj1) ? true : false;
14961 if (PyErr_Occurred()) SWIG_fail;
14962 {
14963 PyThreadState* __tstate = wxPyBeginAllowThreads();
14964 (arg1)->SetCollate(arg2);
14965
14966 wxPyEndAllowThreads(__tstate);
14967 if (PyErr_Occurred()) SWIG_fail;
14968 }
14969 Py_INCREF(Py_None); resultobj = Py_None;
14970 return resultobj;
14971 fail:
14972 return NULL;
14973 }
14974
14975
14976 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
14977 PyObject *resultobj;
14978 wxPrintData *arg1 = (wxPrintData *) 0 ;
14979 int arg2 ;
14980 PyObject * obj0 = 0 ;
14981 char *kwnames[] = {
14982 (char *) "self",(char *) "orient", NULL
14983 };
14984
14985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
14986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14987 {
14988 PyThreadState* __tstate = wxPyBeginAllowThreads();
14989 (arg1)->SetOrientation(arg2);
14990
14991 wxPyEndAllowThreads(__tstate);
14992 if (PyErr_Occurred()) SWIG_fail;
14993 }
14994 Py_INCREF(Py_None); resultobj = Py_None;
14995 return resultobj;
14996 fail:
14997 return NULL;
14998 }
14999
15000
15001 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
15002 PyObject *resultobj;
15003 wxPrintData *arg1 = (wxPrintData *) 0 ;
15004 wxString *arg2 = 0 ;
15005 bool temp2 = False ;
15006 PyObject * obj0 = 0 ;
15007 PyObject * obj1 = 0 ;
15008 char *kwnames[] = {
15009 (char *) "self",(char *) "name", NULL
15010 };
15011
15012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
15013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15014 {
15015 arg2 = wxString_in_helper(obj1);
15016 if (arg2 == NULL) SWIG_fail;
15017 temp2 = True;
15018 }
15019 {
15020 PyThreadState* __tstate = wxPyBeginAllowThreads();
15021 (arg1)->SetPrinterName((wxString const &)*arg2);
15022
15023 wxPyEndAllowThreads(__tstate);
15024 if (PyErr_Occurred()) SWIG_fail;
15025 }
15026 Py_INCREF(Py_None); resultobj = Py_None;
15027 {
15028 if (temp2)
15029 delete arg2;
15030 }
15031 return resultobj;
15032 fail:
15033 {
15034 if (temp2)
15035 delete arg2;
15036 }
15037 return NULL;
15038 }
15039
15040
15041 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15042 PyObject *resultobj;
15043 wxPrintData *arg1 = (wxPrintData *) 0 ;
15044 bool arg2 ;
15045 PyObject * obj0 = 0 ;
15046 PyObject * obj1 = 0 ;
15047 char *kwnames[] = {
15048 (char *) "self",(char *) "colour", NULL
15049 };
15050
15051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15053 arg2 = PyInt_AsLong(obj1) ? true : false;
15054 if (PyErr_Occurred()) SWIG_fail;
15055 {
15056 PyThreadState* __tstate = wxPyBeginAllowThreads();
15057 (arg1)->SetColour(arg2);
15058
15059 wxPyEndAllowThreads(__tstate);
15060 if (PyErr_Occurred()) SWIG_fail;
15061 }
15062 Py_INCREF(Py_None); resultobj = Py_None;
15063 return resultobj;
15064 fail:
15065 return NULL;
15066 }
15067
15068
15069 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
15070 PyObject *resultobj;
15071 wxPrintData *arg1 = (wxPrintData *) 0 ;
15072 int arg2 ;
15073 PyObject * obj0 = 0 ;
15074 char *kwnames[] = {
15075 (char *) "self",(char *) "duplex", NULL
15076 };
15077
15078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetDuplex",kwnames,&obj0,&arg2)) goto fail;
15079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15080 {
15081 PyThreadState* __tstate = wxPyBeginAllowThreads();
15082 (arg1)->SetDuplex((wxDuplexMode )arg2);
15083
15084 wxPyEndAllowThreads(__tstate);
15085 if (PyErr_Occurred()) SWIG_fail;
15086 }
15087 Py_INCREF(Py_None); resultobj = Py_None;
15088 return resultobj;
15089 fail:
15090 return NULL;
15091 }
15092
15093
15094 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
15095 PyObject *resultobj;
15096 wxPrintData *arg1 = (wxPrintData *) 0 ;
15097 int arg2 ;
15098 PyObject * obj0 = 0 ;
15099 char *kwnames[] = {
15100 (char *) "self",(char *) "sizeId", NULL
15101 };
15102
15103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
15104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15105 {
15106 PyThreadState* __tstate = wxPyBeginAllowThreads();
15107 (arg1)->SetPaperId((wxPaperSize )arg2);
15108
15109 wxPyEndAllowThreads(__tstate);
15110 if (PyErr_Occurred()) SWIG_fail;
15111 }
15112 Py_INCREF(Py_None); resultobj = Py_None;
15113 return resultobj;
15114 fail:
15115 return NULL;
15116 }
15117
15118
15119 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15120 PyObject *resultobj;
15121 wxPrintData *arg1 = (wxPrintData *) 0 ;
15122 wxSize *arg2 = 0 ;
15123 wxSize temp2 ;
15124 PyObject * obj0 = 0 ;
15125 PyObject * obj1 = 0 ;
15126 char *kwnames[] = {
15127 (char *) "self",(char *) "sz", NULL
15128 };
15129
15130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
15131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15132 {
15133 arg2 = &temp2;
15134 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15135 }
15136 {
15137 PyThreadState* __tstate = wxPyBeginAllowThreads();
15138 (arg1)->SetPaperSize((wxSize const &)*arg2);
15139
15140 wxPyEndAllowThreads(__tstate);
15141 if (PyErr_Occurred()) SWIG_fail;
15142 }
15143 Py_INCREF(Py_None); resultobj = Py_None;
15144 return resultobj;
15145 fail:
15146 return NULL;
15147 }
15148
15149
15150 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
15151 PyObject *resultobj;
15152 wxPrintData *arg1 = (wxPrintData *) 0 ;
15153 wxPrintQuality arg2 ;
15154 wxPrintQuality *argp2 ;
15155 PyObject * obj0 = 0 ;
15156 PyObject * obj1 = 0 ;
15157 char *kwnames[] = {
15158 (char *) "self",(char *) "quality", NULL
15159 };
15160
15161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
15162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15163 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxPrintQuality,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
15164 arg2 = *argp2;
15165 {
15166 PyThreadState* __tstate = wxPyBeginAllowThreads();
15167 (arg1)->SetQuality(arg2);
15168
15169 wxPyEndAllowThreads(__tstate);
15170 if (PyErr_Occurred()) SWIG_fail;
15171 }
15172 Py_INCREF(Py_None); resultobj = Py_None;
15173 return resultobj;
15174 fail:
15175 return NULL;
15176 }
15177
15178
15179 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15180 PyObject *resultobj;
15181 wxPrintData *arg1 = (wxPrintData *) 0 ;
15182 wxString *result;
15183 PyObject * obj0 = 0 ;
15184 char *kwnames[] = {
15185 (char *) "self", NULL
15186 };
15187
15188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
15189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15190 {
15191 PyThreadState* __tstate = wxPyBeginAllowThreads();
15192 {
15193 wxString const &_result_ref = (arg1)->GetPrinterCommand();
15194 result = (wxString *) &_result_ref;
15195 }
15196
15197 wxPyEndAllowThreads(__tstate);
15198 if (PyErr_Occurred()) SWIG_fail;
15199 }
15200 {
15201 #if wxUSE_UNICODE
15202 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15203 #else
15204 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15205 #endif
15206 }
15207 return resultobj;
15208 fail:
15209 return NULL;
15210 }
15211
15212
15213 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15214 PyObject *resultobj;
15215 wxPrintData *arg1 = (wxPrintData *) 0 ;
15216 wxString *result;
15217 PyObject * obj0 = 0 ;
15218 char *kwnames[] = {
15219 (char *) "self", NULL
15220 };
15221
15222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
15223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15224 {
15225 PyThreadState* __tstate = wxPyBeginAllowThreads();
15226 {
15227 wxString const &_result_ref = (arg1)->GetPrinterOptions();
15228 result = (wxString *) &_result_ref;
15229 }
15230
15231 wxPyEndAllowThreads(__tstate);
15232 if (PyErr_Occurred()) SWIG_fail;
15233 }
15234 {
15235 #if wxUSE_UNICODE
15236 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15237 #else
15238 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15239 #endif
15240 }
15241 return resultobj;
15242 fail:
15243 return NULL;
15244 }
15245
15246
15247 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15248 PyObject *resultobj;
15249 wxPrintData *arg1 = (wxPrintData *) 0 ;
15250 wxString *result;
15251 PyObject * obj0 = 0 ;
15252 char *kwnames[] = {
15253 (char *) "self", NULL
15254 };
15255
15256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
15257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15258 {
15259 PyThreadState* __tstate = wxPyBeginAllowThreads();
15260 {
15261 wxString const &_result_ref = (arg1)->GetPreviewCommand();
15262 result = (wxString *) &_result_ref;
15263 }
15264
15265 wxPyEndAllowThreads(__tstate);
15266 if (PyErr_Occurred()) SWIG_fail;
15267 }
15268 {
15269 #if wxUSE_UNICODE
15270 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15271 #else
15272 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15273 #endif
15274 }
15275 return resultobj;
15276 fail:
15277 return NULL;
15278 }
15279
15280
15281 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
15282 PyObject *resultobj;
15283 wxPrintData *arg1 = (wxPrintData *) 0 ;
15284 wxString *result;
15285 PyObject * obj0 = 0 ;
15286 char *kwnames[] = {
15287 (char *) "self", NULL
15288 };
15289
15290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
15291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15292 {
15293 PyThreadState* __tstate = wxPyBeginAllowThreads();
15294 {
15295 wxString const &_result_ref = (arg1)->GetFilename();
15296 result = (wxString *) &_result_ref;
15297 }
15298
15299 wxPyEndAllowThreads(__tstate);
15300 if (PyErr_Occurred()) SWIG_fail;
15301 }
15302 {
15303 #if wxUSE_UNICODE
15304 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15305 #else
15306 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15307 #endif
15308 }
15309 return resultobj;
15310 fail:
15311 return NULL;
15312 }
15313
15314
15315 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
15316 PyObject *resultobj;
15317 wxPrintData *arg1 = (wxPrintData *) 0 ;
15318 wxString *result;
15319 PyObject * obj0 = 0 ;
15320 char *kwnames[] = {
15321 (char *) "self", NULL
15322 };
15323
15324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
15325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15326 {
15327 PyThreadState* __tstate = wxPyBeginAllowThreads();
15328 {
15329 wxString const &_result_ref = (arg1)->GetFontMetricPath();
15330 result = (wxString *) &_result_ref;
15331 }
15332
15333 wxPyEndAllowThreads(__tstate);
15334 if (PyErr_Occurred()) SWIG_fail;
15335 }
15336 {
15337 #if wxUSE_UNICODE
15338 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15339 #else
15340 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15341 #endif
15342 }
15343 return resultobj;
15344 fail:
15345 return NULL;
15346 }
15347
15348
15349 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
15350 PyObject *resultobj;
15351 wxPrintData *arg1 = (wxPrintData *) 0 ;
15352 double result;
15353 PyObject * obj0 = 0 ;
15354 char *kwnames[] = {
15355 (char *) "self", NULL
15356 };
15357
15358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
15359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15360 {
15361 PyThreadState* __tstate = wxPyBeginAllowThreads();
15362 result = (double)(arg1)->GetPrinterScaleX();
15363
15364 wxPyEndAllowThreads(__tstate);
15365 if (PyErr_Occurred()) SWIG_fail;
15366 }
15367 resultobj = PyFloat_FromDouble(result);
15368 return resultobj;
15369 fail:
15370 return NULL;
15371 }
15372
15373
15374 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
15375 PyObject *resultobj;
15376 wxPrintData *arg1 = (wxPrintData *) 0 ;
15377 double result;
15378 PyObject * obj0 = 0 ;
15379 char *kwnames[] = {
15380 (char *) "self", NULL
15381 };
15382
15383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
15384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15385 {
15386 PyThreadState* __tstate = wxPyBeginAllowThreads();
15387 result = (double)(arg1)->GetPrinterScaleY();
15388
15389 wxPyEndAllowThreads(__tstate);
15390 if (PyErr_Occurred()) SWIG_fail;
15391 }
15392 resultobj = PyFloat_FromDouble(result);
15393 return resultobj;
15394 fail:
15395 return NULL;
15396 }
15397
15398
15399 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
15400 PyObject *resultobj;
15401 wxPrintData *arg1 = (wxPrintData *) 0 ;
15402 long result;
15403 PyObject * obj0 = 0 ;
15404 char *kwnames[] = {
15405 (char *) "self", NULL
15406 };
15407
15408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
15409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15410 {
15411 PyThreadState* __tstate = wxPyBeginAllowThreads();
15412 result = (long)(arg1)->GetPrinterTranslateX();
15413
15414 wxPyEndAllowThreads(__tstate);
15415 if (PyErr_Occurred()) SWIG_fail;
15416 }
15417 resultobj = PyInt_FromLong((long)result);
15418 return resultobj;
15419 fail:
15420 return NULL;
15421 }
15422
15423
15424 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
15425 PyObject *resultobj;
15426 wxPrintData *arg1 = (wxPrintData *) 0 ;
15427 long result;
15428 PyObject * obj0 = 0 ;
15429 char *kwnames[] = {
15430 (char *) "self", NULL
15431 };
15432
15433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
15434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15435 {
15436 PyThreadState* __tstate = wxPyBeginAllowThreads();
15437 result = (long)(arg1)->GetPrinterTranslateY();
15438
15439 wxPyEndAllowThreads(__tstate);
15440 if (PyErr_Occurred()) SWIG_fail;
15441 }
15442 resultobj = PyInt_FromLong((long)result);
15443 return resultobj;
15444 fail:
15445 return NULL;
15446 }
15447
15448
15449 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
15450 PyObject *resultobj;
15451 wxPrintData *arg1 = (wxPrintData *) 0 ;
15452 int result;
15453 PyObject * obj0 = 0 ;
15454 char *kwnames[] = {
15455 (char *) "self", NULL
15456 };
15457
15458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
15459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15460 {
15461 PyThreadState* __tstate = wxPyBeginAllowThreads();
15462 result = (int)(arg1)->GetPrintMode();
15463
15464 wxPyEndAllowThreads(__tstate);
15465 if (PyErr_Occurred()) SWIG_fail;
15466 }
15467 resultobj = PyInt_FromLong((long)result);
15468 return resultobj;
15469 fail:
15470 return NULL;
15471 }
15472
15473
15474 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15475 PyObject *resultobj;
15476 wxPrintData *arg1 = (wxPrintData *) 0 ;
15477 wxString *arg2 = 0 ;
15478 bool temp2 = False ;
15479 PyObject * obj0 = 0 ;
15480 PyObject * obj1 = 0 ;
15481 char *kwnames[] = {
15482 (char *) "self",(char *) "command", NULL
15483 };
15484
15485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
15486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15487 {
15488 arg2 = wxString_in_helper(obj1);
15489 if (arg2 == NULL) SWIG_fail;
15490 temp2 = True;
15491 }
15492 {
15493 PyThreadState* __tstate = wxPyBeginAllowThreads();
15494 (arg1)->SetPrinterCommand((wxString const &)*arg2);
15495
15496 wxPyEndAllowThreads(__tstate);
15497 if (PyErr_Occurred()) SWIG_fail;
15498 }
15499 Py_INCREF(Py_None); resultobj = Py_None;
15500 {
15501 if (temp2)
15502 delete arg2;
15503 }
15504 return resultobj;
15505 fail:
15506 {
15507 if (temp2)
15508 delete arg2;
15509 }
15510 return NULL;
15511 }
15512
15513
15514 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15515 PyObject *resultobj;
15516 wxPrintData *arg1 = (wxPrintData *) 0 ;
15517 wxString *arg2 = 0 ;
15518 bool temp2 = False ;
15519 PyObject * obj0 = 0 ;
15520 PyObject * obj1 = 0 ;
15521 char *kwnames[] = {
15522 (char *) "self",(char *) "options", NULL
15523 };
15524
15525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
15526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15527 {
15528 arg2 = wxString_in_helper(obj1);
15529 if (arg2 == NULL) SWIG_fail;
15530 temp2 = True;
15531 }
15532 {
15533 PyThreadState* __tstate = wxPyBeginAllowThreads();
15534 (arg1)->SetPrinterOptions((wxString const &)*arg2);
15535
15536 wxPyEndAllowThreads(__tstate);
15537 if (PyErr_Occurred()) SWIG_fail;
15538 }
15539 Py_INCREF(Py_None); resultobj = Py_None;
15540 {
15541 if (temp2)
15542 delete arg2;
15543 }
15544 return resultobj;
15545 fail:
15546 {
15547 if (temp2)
15548 delete arg2;
15549 }
15550 return NULL;
15551 }
15552
15553
15554 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15555 PyObject *resultobj;
15556 wxPrintData *arg1 = (wxPrintData *) 0 ;
15557 wxString *arg2 = 0 ;
15558 bool temp2 = False ;
15559 PyObject * obj0 = 0 ;
15560 PyObject * obj1 = 0 ;
15561 char *kwnames[] = {
15562 (char *) "self",(char *) "command", NULL
15563 };
15564
15565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
15566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15567 {
15568 arg2 = wxString_in_helper(obj1);
15569 if (arg2 == NULL) SWIG_fail;
15570 temp2 = True;
15571 }
15572 {
15573 PyThreadState* __tstate = wxPyBeginAllowThreads();
15574 (arg1)->SetPreviewCommand((wxString const &)*arg2);
15575
15576 wxPyEndAllowThreads(__tstate);
15577 if (PyErr_Occurred()) SWIG_fail;
15578 }
15579 Py_INCREF(Py_None); resultobj = Py_None;
15580 {
15581 if (temp2)
15582 delete arg2;
15583 }
15584 return resultobj;
15585 fail:
15586 {
15587 if (temp2)
15588 delete arg2;
15589 }
15590 return NULL;
15591 }
15592
15593
15594 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
15595 PyObject *resultobj;
15596 wxPrintData *arg1 = (wxPrintData *) 0 ;
15597 wxString *arg2 = 0 ;
15598 bool temp2 = False ;
15599 PyObject * obj0 = 0 ;
15600 PyObject * obj1 = 0 ;
15601 char *kwnames[] = {
15602 (char *) "self",(char *) "filename", NULL
15603 };
15604
15605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
15606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15607 {
15608 arg2 = wxString_in_helper(obj1);
15609 if (arg2 == NULL) SWIG_fail;
15610 temp2 = True;
15611 }
15612 {
15613 PyThreadState* __tstate = wxPyBeginAllowThreads();
15614 (arg1)->SetFilename((wxString const &)*arg2);
15615
15616 wxPyEndAllowThreads(__tstate);
15617 if (PyErr_Occurred()) SWIG_fail;
15618 }
15619 Py_INCREF(Py_None); resultobj = Py_None;
15620 {
15621 if (temp2)
15622 delete arg2;
15623 }
15624 return resultobj;
15625 fail:
15626 {
15627 if (temp2)
15628 delete arg2;
15629 }
15630 return NULL;
15631 }
15632
15633
15634 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
15635 PyObject *resultobj;
15636 wxPrintData *arg1 = (wxPrintData *) 0 ;
15637 wxString *arg2 = 0 ;
15638 bool temp2 = False ;
15639 PyObject * obj0 = 0 ;
15640 PyObject * obj1 = 0 ;
15641 char *kwnames[] = {
15642 (char *) "self",(char *) "path", NULL
15643 };
15644
15645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
15646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15647 {
15648 arg2 = wxString_in_helper(obj1);
15649 if (arg2 == NULL) SWIG_fail;
15650 temp2 = True;
15651 }
15652 {
15653 PyThreadState* __tstate = wxPyBeginAllowThreads();
15654 (arg1)->SetFontMetricPath((wxString const &)*arg2);
15655
15656 wxPyEndAllowThreads(__tstate);
15657 if (PyErr_Occurred()) SWIG_fail;
15658 }
15659 Py_INCREF(Py_None); resultobj = Py_None;
15660 {
15661 if (temp2)
15662 delete arg2;
15663 }
15664 return resultobj;
15665 fail:
15666 {
15667 if (temp2)
15668 delete arg2;
15669 }
15670 return NULL;
15671 }
15672
15673
15674 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
15675 PyObject *resultobj;
15676 wxPrintData *arg1 = (wxPrintData *) 0 ;
15677 double arg2 ;
15678 PyObject * obj0 = 0 ;
15679 char *kwnames[] = {
15680 (char *) "self",(char *) "x", NULL
15681 };
15682
15683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleX",kwnames,&obj0,&arg2)) goto fail;
15684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15685 {
15686 PyThreadState* __tstate = wxPyBeginAllowThreads();
15687 (arg1)->SetPrinterScaleX(arg2);
15688
15689 wxPyEndAllowThreads(__tstate);
15690 if (PyErr_Occurred()) SWIG_fail;
15691 }
15692 Py_INCREF(Py_None); resultobj = Py_None;
15693 return resultobj;
15694 fail:
15695 return NULL;
15696 }
15697
15698
15699 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
15700 PyObject *resultobj;
15701 wxPrintData *arg1 = (wxPrintData *) 0 ;
15702 double arg2 ;
15703 PyObject * obj0 = 0 ;
15704 char *kwnames[] = {
15705 (char *) "self",(char *) "y", NULL
15706 };
15707
15708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleY",kwnames,&obj0,&arg2)) goto fail;
15709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15710 {
15711 PyThreadState* __tstate = wxPyBeginAllowThreads();
15712 (arg1)->SetPrinterScaleY(arg2);
15713
15714 wxPyEndAllowThreads(__tstate);
15715 if (PyErr_Occurred()) SWIG_fail;
15716 }
15717 Py_INCREF(Py_None); resultobj = Py_None;
15718 return resultobj;
15719 fail:
15720 return NULL;
15721 }
15722
15723
15724 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
15725 PyObject *resultobj;
15726 wxPrintData *arg1 = (wxPrintData *) 0 ;
15727 double arg2 ;
15728 double arg3 ;
15729 PyObject * obj0 = 0 ;
15730 char *kwnames[] = {
15731 (char *) "self",(char *) "x",(char *) "y", NULL
15732 };
15733
15734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PrintData_SetPrinterScaling",kwnames,&obj0,&arg2,&arg3)) goto fail;
15735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15736 {
15737 PyThreadState* __tstate = wxPyBeginAllowThreads();
15738 (arg1)->SetPrinterScaling(arg2,arg3);
15739
15740 wxPyEndAllowThreads(__tstate);
15741 if (PyErr_Occurred()) SWIG_fail;
15742 }
15743 Py_INCREF(Py_None); resultobj = Py_None;
15744 return resultobj;
15745 fail:
15746 return NULL;
15747 }
15748
15749
15750 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
15751 PyObject *resultobj;
15752 wxPrintData *arg1 = (wxPrintData *) 0 ;
15753 long arg2 ;
15754 PyObject * obj0 = 0 ;
15755 char *kwnames[] = {
15756 (char *) "self",(char *) "x", NULL
15757 };
15758
15759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateX",kwnames,&obj0,&arg2)) goto fail;
15760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15761 {
15762 PyThreadState* __tstate = wxPyBeginAllowThreads();
15763 (arg1)->SetPrinterTranslateX(arg2);
15764
15765 wxPyEndAllowThreads(__tstate);
15766 if (PyErr_Occurred()) SWIG_fail;
15767 }
15768 Py_INCREF(Py_None); resultobj = Py_None;
15769 return resultobj;
15770 fail:
15771 return NULL;
15772 }
15773
15774
15775 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
15776 PyObject *resultobj;
15777 wxPrintData *arg1 = (wxPrintData *) 0 ;
15778 long arg2 ;
15779 PyObject * obj0 = 0 ;
15780 char *kwnames[] = {
15781 (char *) "self",(char *) "y", NULL
15782 };
15783
15784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateY",kwnames,&obj0,&arg2)) goto fail;
15785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15786 {
15787 PyThreadState* __tstate = wxPyBeginAllowThreads();
15788 (arg1)->SetPrinterTranslateY(arg2);
15789
15790 wxPyEndAllowThreads(__tstate);
15791 if (PyErr_Occurred()) SWIG_fail;
15792 }
15793 Py_INCREF(Py_None); resultobj = Py_None;
15794 return resultobj;
15795 fail:
15796 return NULL;
15797 }
15798
15799
15800 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
15801 PyObject *resultobj;
15802 wxPrintData *arg1 = (wxPrintData *) 0 ;
15803 long arg2 ;
15804 long arg3 ;
15805 PyObject * obj0 = 0 ;
15806 char *kwnames[] = {
15807 (char *) "self",(char *) "x",(char *) "y", NULL
15808 };
15809
15810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:PrintData_SetPrinterTranslation",kwnames,&obj0,&arg2,&arg3)) goto fail;
15811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15812 {
15813 PyThreadState* __tstate = wxPyBeginAllowThreads();
15814 (arg1)->SetPrinterTranslation(arg2,arg3);
15815
15816 wxPyEndAllowThreads(__tstate);
15817 if (PyErr_Occurred()) SWIG_fail;
15818 }
15819 Py_INCREF(Py_None); resultobj = Py_None;
15820 return resultobj;
15821 fail:
15822 return NULL;
15823 }
15824
15825
15826 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
15827 PyObject *resultobj;
15828 wxPrintData *arg1 = (wxPrintData *) 0 ;
15829 int arg2 ;
15830 PyObject * obj0 = 0 ;
15831 char *kwnames[] = {
15832 (char *) "self",(char *) "printMode", NULL
15833 };
15834
15835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPrintMode",kwnames,&obj0,&arg2)) goto fail;
15836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15837 {
15838 PyThreadState* __tstate = wxPyBeginAllowThreads();
15839 (arg1)->SetPrintMode((wxPrintMode )arg2);
15840
15841 wxPyEndAllowThreads(__tstate);
15842 if (PyErr_Occurred()) SWIG_fail;
15843 }
15844 Py_INCREF(Py_None); resultobj = Py_None;
15845 return resultobj;
15846 fail:
15847 return NULL;
15848 }
15849
15850
15851 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
15852 PyObject *obj;
15853 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15854 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
15855 Py_INCREF(obj);
15856 return Py_BuildValue((char *)"");
15857 }
15858 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
15859 PyObject *resultobj;
15860 wxPageSetupDialogData *result;
15861 char *kwnames[] = {
15862 NULL
15863 };
15864
15865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
15866 {
15867 PyThreadState* __tstate = wxPyBeginAllowThreads();
15868 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
15869
15870 wxPyEndAllowThreads(__tstate);
15871 if (PyErr_Occurred()) SWIG_fail;
15872 }
15873 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 1);
15874 return resultobj;
15875 fail:
15876 return NULL;
15877 }
15878
15879
15880 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
15881 PyObject *resultobj;
15882 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15883 PyObject * obj0 = 0 ;
15884 char *kwnames[] = {
15885 (char *) "self", NULL
15886 };
15887
15888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
15889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15890 {
15891 PyThreadState* __tstate = wxPyBeginAllowThreads();
15892 delete arg1;
15893
15894 wxPyEndAllowThreads(__tstate);
15895 if (PyErr_Occurred()) SWIG_fail;
15896 }
15897 Py_INCREF(Py_None); resultobj = Py_None;
15898 return resultobj;
15899 fail:
15900 return NULL;
15901 }
15902
15903
15904 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15905 PyObject *resultobj;
15906 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15907 bool arg2 ;
15908 PyObject * obj0 = 0 ;
15909 PyObject * obj1 = 0 ;
15910 char *kwnames[] = {
15911 (char *) "self",(char *) "flag", NULL
15912 };
15913
15914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
15915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15916 arg2 = PyInt_AsLong(obj1) ? true : false;
15917 if (PyErr_Occurred()) SWIG_fail;
15918 {
15919 PyThreadState* __tstate = wxPyBeginAllowThreads();
15920 (arg1)->EnableHelp(arg2);
15921
15922 wxPyEndAllowThreads(__tstate);
15923 if (PyErr_Occurred()) SWIG_fail;
15924 }
15925 Py_INCREF(Py_None); resultobj = Py_None;
15926 return resultobj;
15927 fail:
15928 return NULL;
15929 }
15930
15931
15932 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
15933 PyObject *resultobj;
15934 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15935 bool arg2 ;
15936 PyObject * obj0 = 0 ;
15937 PyObject * obj1 = 0 ;
15938 char *kwnames[] = {
15939 (char *) "self",(char *) "flag", NULL
15940 };
15941
15942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
15943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15944 arg2 = PyInt_AsLong(obj1) ? true : false;
15945 if (PyErr_Occurred()) SWIG_fail;
15946 {
15947 PyThreadState* __tstate = wxPyBeginAllowThreads();
15948 (arg1)->EnableMargins(arg2);
15949
15950 wxPyEndAllowThreads(__tstate);
15951 if (PyErr_Occurred()) SWIG_fail;
15952 }
15953 Py_INCREF(Py_None); resultobj = Py_None;
15954 return resultobj;
15955 fail:
15956 return NULL;
15957 }
15958
15959
15960 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
15961 PyObject *resultobj;
15962 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15963 bool arg2 ;
15964 PyObject * obj0 = 0 ;
15965 PyObject * obj1 = 0 ;
15966 char *kwnames[] = {
15967 (char *) "self",(char *) "flag", NULL
15968 };
15969
15970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
15971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15972 arg2 = PyInt_AsLong(obj1) ? true : false;
15973 if (PyErr_Occurred()) SWIG_fail;
15974 {
15975 PyThreadState* __tstate = wxPyBeginAllowThreads();
15976 (arg1)->EnableOrientation(arg2);
15977
15978 wxPyEndAllowThreads(__tstate);
15979 if (PyErr_Occurred()) SWIG_fail;
15980 }
15981 Py_INCREF(Py_None); resultobj = Py_None;
15982 return resultobj;
15983 fail:
15984 return NULL;
15985 }
15986
15987
15988 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
15989 PyObject *resultobj;
15990 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15991 bool arg2 ;
15992 PyObject * obj0 = 0 ;
15993 PyObject * obj1 = 0 ;
15994 char *kwnames[] = {
15995 (char *) "self",(char *) "flag", NULL
15996 };
15997
15998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
15999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16000 arg2 = PyInt_AsLong(obj1) ? true : false;
16001 if (PyErr_Occurred()) SWIG_fail;
16002 {
16003 PyThreadState* __tstate = wxPyBeginAllowThreads();
16004 (arg1)->EnablePaper(arg2);
16005
16006 wxPyEndAllowThreads(__tstate);
16007 if (PyErr_Occurred()) SWIG_fail;
16008 }
16009 Py_INCREF(Py_None); resultobj = Py_None;
16010 return resultobj;
16011 fail:
16012 return NULL;
16013 }
16014
16015
16016 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16017 PyObject *resultobj;
16018 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16019 bool arg2 ;
16020 PyObject * obj0 = 0 ;
16021 PyObject * obj1 = 0 ;
16022 char *kwnames[] = {
16023 (char *) "self",(char *) "flag", NULL
16024 };
16025
16026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
16027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16028 arg2 = PyInt_AsLong(obj1) ? true : false;
16029 if (PyErr_Occurred()) SWIG_fail;
16030 {
16031 PyThreadState* __tstate = wxPyBeginAllowThreads();
16032 (arg1)->EnablePrinter(arg2);
16033
16034 wxPyEndAllowThreads(__tstate);
16035 if (PyErr_Occurred()) SWIG_fail;
16036 }
16037 Py_INCREF(Py_None); resultobj = Py_None;
16038 return resultobj;
16039 fail:
16040 return NULL;
16041 }
16042
16043
16044 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16045 PyObject *resultobj;
16046 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16047 bool result;
16048 PyObject * obj0 = 0 ;
16049 char *kwnames[] = {
16050 (char *) "self", NULL
16051 };
16052
16053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
16054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16055 {
16056 PyThreadState* __tstate = wxPyBeginAllowThreads();
16057 result = (bool)(arg1)->GetDefaultMinMargins();
16058
16059 wxPyEndAllowThreads(__tstate);
16060 if (PyErr_Occurred()) SWIG_fail;
16061 }
16062 resultobj = PyInt_FromLong((long)result);
16063 return resultobj;
16064 fail:
16065 return NULL;
16066 }
16067
16068
16069 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16070 PyObject *resultobj;
16071 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16072 bool result;
16073 PyObject * obj0 = 0 ;
16074 char *kwnames[] = {
16075 (char *) "self", NULL
16076 };
16077
16078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
16079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16080 {
16081 PyThreadState* __tstate = wxPyBeginAllowThreads();
16082 result = (bool)(arg1)->GetEnableMargins();
16083
16084 wxPyEndAllowThreads(__tstate);
16085 if (PyErr_Occurred()) SWIG_fail;
16086 }
16087 resultobj = PyInt_FromLong((long)result);
16088 return resultobj;
16089 fail:
16090 return NULL;
16091 }
16092
16093
16094 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16095 PyObject *resultobj;
16096 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16097 bool result;
16098 PyObject * obj0 = 0 ;
16099 char *kwnames[] = {
16100 (char *) "self", NULL
16101 };
16102
16103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
16104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16105 {
16106 PyThreadState* __tstate = wxPyBeginAllowThreads();
16107 result = (bool)(arg1)->GetEnableOrientation();
16108
16109 wxPyEndAllowThreads(__tstate);
16110 if (PyErr_Occurred()) SWIG_fail;
16111 }
16112 resultobj = PyInt_FromLong((long)result);
16113 return resultobj;
16114 fail:
16115 return NULL;
16116 }
16117
16118
16119 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
16120 PyObject *resultobj;
16121 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16122 bool result;
16123 PyObject * obj0 = 0 ;
16124 char *kwnames[] = {
16125 (char *) "self", NULL
16126 };
16127
16128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
16129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16130 {
16131 PyThreadState* __tstate = wxPyBeginAllowThreads();
16132 result = (bool)(arg1)->GetEnablePaper();
16133
16134 wxPyEndAllowThreads(__tstate);
16135 if (PyErr_Occurred()) SWIG_fail;
16136 }
16137 resultobj = PyInt_FromLong((long)result);
16138 return resultobj;
16139 fail:
16140 return NULL;
16141 }
16142
16143
16144 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16145 PyObject *resultobj;
16146 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16147 bool result;
16148 PyObject * obj0 = 0 ;
16149 char *kwnames[] = {
16150 (char *) "self", NULL
16151 };
16152
16153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
16154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16155 {
16156 PyThreadState* __tstate = wxPyBeginAllowThreads();
16157 result = (bool)(arg1)->GetEnablePrinter();
16158
16159 wxPyEndAllowThreads(__tstate);
16160 if (PyErr_Occurred()) SWIG_fail;
16161 }
16162 resultobj = PyInt_FromLong((long)result);
16163 return resultobj;
16164 fail:
16165 return NULL;
16166 }
16167
16168
16169 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16170 PyObject *resultobj;
16171 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16172 bool result;
16173 PyObject * obj0 = 0 ;
16174 char *kwnames[] = {
16175 (char *) "self", NULL
16176 };
16177
16178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
16179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16180 {
16181 PyThreadState* __tstate = wxPyBeginAllowThreads();
16182 result = (bool)(arg1)->GetEnableHelp();
16183
16184 wxPyEndAllowThreads(__tstate);
16185 if (PyErr_Occurred()) SWIG_fail;
16186 }
16187 resultobj = PyInt_FromLong((long)result);
16188 return resultobj;
16189 fail:
16190 return NULL;
16191 }
16192
16193
16194 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16195 PyObject *resultobj;
16196 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16197 bool result;
16198 PyObject * obj0 = 0 ;
16199 char *kwnames[] = {
16200 (char *) "self", NULL
16201 };
16202
16203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
16204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16205 {
16206 PyThreadState* __tstate = wxPyBeginAllowThreads();
16207 result = (bool)(arg1)->GetDefaultInfo();
16208
16209 wxPyEndAllowThreads(__tstate);
16210 if (PyErr_Occurred()) SWIG_fail;
16211 }
16212 resultobj = PyInt_FromLong((long)result);
16213 return resultobj;
16214 fail:
16215 return NULL;
16216 }
16217
16218
16219 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16220 PyObject *resultobj;
16221 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16222 wxPoint result;
16223 PyObject * obj0 = 0 ;
16224 char *kwnames[] = {
16225 (char *) "self", NULL
16226 };
16227
16228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
16229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16230 {
16231 PyThreadState* __tstate = wxPyBeginAllowThreads();
16232 result = (arg1)->GetMarginTopLeft();
16233
16234 wxPyEndAllowThreads(__tstate);
16235 if (PyErr_Occurred()) SWIG_fail;
16236 }
16237 {
16238 wxPoint * resultptr;
16239 resultptr = new wxPoint((wxPoint &) result);
16240 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16241 }
16242 return resultobj;
16243 fail:
16244 return NULL;
16245 }
16246
16247
16248 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16249 PyObject *resultobj;
16250 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16251 wxPoint result;
16252 PyObject * obj0 = 0 ;
16253 char *kwnames[] = {
16254 (char *) "self", NULL
16255 };
16256
16257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
16258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16259 {
16260 PyThreadState* __tstate = wxPyBeginAllowThreads();
16261 result = (arg1)->GetMarginBottomRight();
16262
16263 wxPyEndAllowThreads(__tstate);
16264 if (PyErr_Occurred()) SWIG_fail;
16265 }
16266 {
16267 wxPoint * resultptr;
16268 resultptr = new wxPoint((wxPoint &) result);
16269 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16270 }
16271 return resultobj;
16272 fail:
16273 return NULL;
16274 }
16275
16276
16277 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16278 PyObject *resultobj;
16279 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16280 wxPoint result;
16281 PyObject * obj0 = 0 ;
16282 char *kwnames[] = {
16283 (char *) "self", NULL
16284 };
16285
16286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
16287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16288 {
16289 PyThreadState* __tstate = wxPyBeginAllowThreads();
16290 result = (arg1)->GetMinMarginTopLeft();
16291
16292 wxPyEndAllowThreads(__tstate);
16293 if (PyErr_Occurred()) SWIG_fail;
16294 }
16295 {
16296 wxPoint * resultptr;
16297 resultptr = new wxPoint((wxPoint &) result);
16298 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16299 }
16300 return resultobj;
16301 fail:
16302 return NULL;
16303 }
16304
16305
16306 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16307 PyObject *resultobj;
16308 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16309 wxPoint result;
16310 PyObject * obj0 = 0 ;
16311 char *kwnames[] = {
16312 (char *) "self", NULL
16313 };
16314
16315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
16316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16317 {
16318 PyThreadState* __tstate = wxPyBeginAllowThreads();
16319 result = (arg1)->GetMinMarginBottomRight();
16320
16321 wxPyEndAllowThreads(__tstate);
16322 if (PyErr_Occurred()) SWIG_fail;
16323 }
16324 {
16325 wxPoint * resultptr;
16326 resultptr = new wxPoint((wxPoint &) result);
16327 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16328 }
16329 return resultobj;
16330 fail:
16331 return NULL;
16332 }
16333
16334
16335 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16336 PyObject *resultobj;
16337 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16338 int result;
16339 PyObject * obj0 = 0 ;
16340 char *kwnames[] = {
16341 (char *) "self", NULL
16342 };
16343
16344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
16345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16346 {
16347 PyThreadState* __tstate = wxPyBeginAllowThreads();
16348 result = (int)(arg1)->GetPaperId();
16349
16350 wxPyEndAllowThreads(__tstate);
16351 if (PyErr_Occurred()) SWIG_fail;
16352 }
16353 resultobj = PyInt_FromLong((long)result);
16354 return resultobj;
16355 fail:
16356 return NULL;
16357 }
16358
16359
16360 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16361 PyObject *resultobj;
16362 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16363 wxSize result;
16364 PyObject * obj0 = 0 ;
16365 char *kwnames[] = {
16366 (char *) "self", NULL
16367 };
16368
16369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
16370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16371 {
16372 PyThreadState* __tstate = wxPyBeginAllowThreads();
16373 result = (arg1)->GetPaperSize();
16374
16375 wxPyEndAllowThreads(__tstate);
16376 if (PyErr_Occurred()) SWIG_fail;
16377 }
16378 {
16379 wxSize * resultptr;
16380 resultptr = new wxSize((wxSize &) result);
16381 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16382 }
16383 return resultobj;
16384 fail:
16385 return NULL;
16386 }
16387
16388
16389 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16390 PyObject *resultobj;
16391 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16392 wxPrintData *result;
16393 PyObject * obj0 = 0 ;
16394 char *kwnames[] = {
16395 (char *) "self", NULL
16396 };
16397
16398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
16399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16400 {
16401 PyThreadState* __tstate = wxPyBeginAllowThreads();
16402 {
16403 wxPrintData &_result_ref = (arg1)->GetPrintData();
16404 result = (wxPrintData *) &_result_ref;
16405 }
16406
16407 wxPyEndAllowThreads(__tstate);
16408 if (PyErr_Occurred()) SWIG_fail;
16409 }
16410 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
16411 return resultobj;
16412 fail:
16413 return NULL;
16414 }
16415
16416
16417 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
16418 PyObject *resultobj;
16419 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16420 bool result;
16421 PyObject * obj0 = 0 ;
16422 char *kwnames[] = {
16423 (char *) "self", NULL
16424 };
16425
16426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
16427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16428 {
16429 PyThreadState* __tstate = wxPyBeginAllowThreads();
16430 result = (bool)(arg1)->Ok();
16431
16432 wxPyEndAllowThreads(__tstate);
16433 if (PyErr_Occurred()) SWIG_fail;
16434 }
16435 resultobj = PyInt_FromLong((long)result);
16436 return resultobj;
16437 fail:
16438 return NULL;
16439 }
16440
16441
16442 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16443 PyObject *resultobj;
16444 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16445 bool arg2 ;
16446 PyObject * obj0 = 0 ;
16447 PyObject * obj1 = 0 ;
16448 char *kwnames[] = {
16449 (char *) "self",(char *) "flag", NULL
16450 };
16451
16452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
16453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16454 arg2 = PyInt_AsLong(obj1) ? true : false;
16455 if (PyErr_Occurred()) SWIG_fail;
16456 {
16457 PyThreadState* __tstate = wxPyBeginAllowThreads();
16458 (arg1)->SetDefaultInfo(arg2);
16459
16460 wxPyEndAllowThreads(__tstate);
16461 if (PyErr_Occurred()) SWIG_fail;
16462 }
16463 Py_INCREF(Py_None); resultobj = Py_None;
16464 return resultobj;
16465 fail:
16466 return NULL;
16467 }
16468
16469
16470 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16471 PyObject *resultobj;
16472 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16473 bool arg2 ;
16474 PyObject * obj0 = 0 ;
16475 PyObject * obj1 = 0 ;
16476 char *kwnames[] = {
16477 (char *) "self",(char *) "flag", NULL
16478 };
16479
16480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
16481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16482 arg2 = PyInt_AsLong(obj1) ? true : false;
16483 if (PyErr_Occurred()) SWIG_fail;
16484 {
16485 PyThreadState* __tstate = wxPyBeginAllowThreads();
16486 (arg1)->SetDefaultMinMargins(arg2);
16487
16488 wxPyEndAllowThreads(__tstate);
16489 if (PyErr_Occurred()) SWIG_fail;
16490 }
16491 Py_INCREF(Py_None); resultobj = Py_None;
16492 return resultobj;
16493 fail:
16494 return NULL;
16495 }
16496
16497
16498 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16499 PyObject *resultobj;
16500 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16501 wxPoint *arg2 = 0 ;
16502 wxPoint temp2 ;
16503 PyObject * obj0 = 0 ;
16504 PyObject * obj1 = 0 ;
16505 char *kwnames[] = {
16506 (char *) "self",(char *) "pt", NULL
16507 };
16508
16509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
16510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16511 {
16512 arg2 = &temp2;
16513 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16514 }
16515 {
16516 PyThreadState* __tstate = wxPyBeginAllowThreads();
16517 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
16518
16519 wxPyEndAllowThreads(__tstate);
16520 if (PyErr_Occurred()) SWIG_fail;
16521 }
16522 Py_INCREF(Py_None); resultobj = Py_None;
16523 return resultobj;
16524 fail:
16525 return NULL;
16526 }
16527
16528
16529 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16530 PyObject *resultobj;
16531 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16532 wxPoint *arg2 = 0 ;
16533 wxPoint temp2 ;
16534 PyObject * obj0 = 0 ;
16535 PyObject * obj1 = 0 ;
16536 char *kwnames[] = {
16537 (char *) "self",(char *) "pt", NULL
16538 };
16539
16540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
16541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16542 {
16543 arg2 = &temp2;
16544 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16545 }
16546 {
16547 PyThreadState* __tstate = wxPyBeginAllowThreads();
16548 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
16549
16550 wxPyEndAllowThreads(__tstate);
16551 if (PyErr_Occurred()) SWIG_fail;
16552 }
16553 Py_INCREF(Py_None); resultobj = Py_None;
16554 return resultobj;
16555 fail:
16556 return NULL;
16557 }
16558
16559
16560 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16561 PyObject *resultobj;
16562 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16563 wxPoint *arg2 = 0 ;
16564 wxPoint temp2 ;
16565 PyObject * obj0 = 0 ;
16566 PyObject * obj1 = 0 ;
16567 char *kwnames[] = {
16568 (char *) "self",(char *) "pt", NULL
16569 };
16570
16571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
16572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16573 {
16574 arg2 = &temp2;
16575 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16576 }
16577 {
16578 PyThreadState* __tstate = wxPyBeginAllowThreads();
16579 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
16580
16581 wxPyEndAllowThreads(__tstate);
16582 if (PyErr_Occurred()) SWIG_fail;
16583 }
16584 Py_INCREF(Py_None); resultobj = Py_None;
16585 return resultobj;
16586 fail:
16587 return NULL;
16588 }
16589
16590
16591 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16592 PyObject *resultobj;
16593 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16594 wxPoint *arg2 = 0 ;
16595 wxPoint temp2 ;
16596 PyObject * obj0 = 0 ;
16597 PyObject * obj1 = 0 ;
16598 char *kwnames[] = {
16599 (char *) "self",(char *) "pt", NULL
16600 };
16601
16602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
16603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16604 {
16605 arg2 = &temp2;
16606 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16607 }
16608 {
16609 PyThreadState* __tstate = wxPyBeginAllowThreads();
16610 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
16611
16612 wxPyEndAllowThreads(__tstate);
16613 if (PyErr_Occurred()) SWIG_fail;
16614 }
16615 Py_INCREF(Py_None); resultobj = Py_None;
16616 return resultobj;
16617 fail:
16618 return NULL;
16619 }
16620
16621
16622 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16623 PyObject *resultobj;
16624 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16625 int arg2 ;
16626 PyObject * obj0 = 0 ;
16627 char *kwnames[] = {
16628 (char *) "self",(char *) "id", NULL
16629 };
16630
16631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PageSetupDialogData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
16632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16633 {
16634 PyThreadState* __tstate = wxPyBeginAllowThreads();
16635 (arg1)->SetPaperId((wxPaperSize )arg2);
16636
16637 wxPyEndAllowThreads(__tstate);
16638 if (PyErr_Occurred()) SWIG_fail;
16639 }
16640 Py_INCREF(Py_None); resultobj = Py_None;
16641 return resultobj;
16642 fail:
16643 return NULL;
16644 }
16645
16646
16647 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16648 PyObject *resultobj;
16649 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16650 wxSize *arg2 = 0 ;
16651 wxSize temp2 ;
16652 PyObject * obj0 = 0 ;
16653 PyObject * obj1 = 0 ;
16654 char *kwnames[] = {
16655 (char *) "self",(char *) "size", NULL
16656 };
16657
16658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
16659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16660 {
16661 arg2 = &temp2;
16662 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16663 }
16664 {
16665 PyThreadState* __tstate = wxPyBeginAllowThreads();
16666 (arg1)->SetPaperSize((wxSize const &)*arg2);
16667
16668 wxPyEndAllowThreads(__tstate);
16669 if (PyErr_Occurred()) SWIG_fail;
16670 }
16671 Py_INCREF(Py_None); resultobj = Py_None;
16672 return resultobj;
16673 fail:
16674 return NULL;
16675 }
16676
16677
16678 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16679 PyObject *resultobj;
16680 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16681 wxPrintData *arg2 = 0 ;
16682 PyObject * obj0 = 0 ;
16683 PyObject * obj1 = 0 ;
16684 char *kwnames[] = {
16685 (char *) "self",(char *) "printData", NULL
16686 };
16687
16688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
16689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16690 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16691 if (arg2 == NULL) {
16692 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16693 }
16694 {
16695 PyThreadState* __tstate = wxPyBeginAllowThreads();
16696 (arg1)->SetPrintData((wxPrintData const &)*arg2);
16697
16698 wxPyEndAllowThreads(__tstate);
16699 if (PyErr_Occurred()) SWIG_fail;
16700 }
16701 Py_INCREF(Py_None); resultobj = Py_None;
16702 return resultobj;
16703 fail:
16704 return NULL;
16705 }
16706
16707
16708 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
16709 PyObject *obj;
16710 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16711 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
16712 Py_INCREF(obj);
16713 return Py_BuildValue((char *)"");
16714 }
16715 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16716 PyObject *resultobj;
16717 wxWindow *arg1 = (wxWindow *) 0 ;
16718 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
16719 wxPageSetupDialog *result;
16720 PyObject * obj0 = 0 ;
16721 PyObject * obj1 = 0 ;
16722 char *kwnames[] = {
16723 (char *) "parent",(char *) "data", NULL
16724 };
16725
16726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
16727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16728 if (obj1) {
16729 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16730 }
16731 {
16732 PyThreadState* __tstate = wxPyBeginAllowThreads();
16733 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
16734
16735 wxPyEndAllowThreads(__tstate);
16736 if (PyErr_Occurred()) SWIG_fail;
16737 }
16738 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialog, 1);
16739 return resultobj;
16740 fail:
16741 return NULL;
16742 }
16743
16744
16745 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
16746 PyObject *resultobj;
16747 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
16748 wxPageSetupDialogData *result;
16749 PyObject * obj0 = 0 ;
16750 char *kwnames[] = {
16751 (char *) "self", NULL
16752 };
16753
16754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
16755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16756 {
16757 PyThreadState* __tstate = wxPyBeginAllowThreads();
16758 {
16759 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
16760 result = (wxPageSetupDialogData *) &_result_ref;
16761 }
16762
16763 wxPyEndAllowThreads(__tstate);
16764 if (PyErr_Occurred()) SWIG_fail;
16765 }
16766 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 0);
16767 return resultobj;
16768 fail:
16769 return NULL;
16770 }
16771
16772
16773 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
16774 PyObject *resultobj;
16775 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
16776 int result;
16777 PyObject * obj0 = 0 ;
16778 char *kwnames[] = {
16779 (char *) "self", NULL
16780 };
16781
16782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
16783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16784 {
16785 PyThreadState* __tstate = wxPyBeginAllowThreads();
16786 result = (int)(arg1)->ShowModal();
16787
16788 wxPyEndAllowThreads(__tstate);
16789 if (PyErr_Occurred()) SWIG_fail;
16790 }
16791 resultobj = PyInt_FromLong((long)result);
16792 return resultobj;
16793 fail:
16794 return NULL;
16795 }
16796
16797
16798 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
16799 PyObject *obj;
16800 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16801 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
16802 Py_INCREF(obj);
16803 return Py_BuildValue((char *)"");
16804 }
16805 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16806 PyObject *resultobj;
16807 wxPrintDialogData *result;
16808 char *kwnames[] = {
16809 NULL
16810 };
16811
16812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintDialogData",kwnames)) goto fail;
16813 {
16814 PyThreadState* __tstate = wxPyBeginAllowThreads();
16815 result = (wxPrintDialogData *)new wxPrintDialogData();
16816
16817 wxPyEndAllowThreads(__tstate);
16818 if (PyErr_Occurred()) SWIG_fail;
16819 }
16820 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 1);
16821 return resultobj;
16822 fail:
16823 return NULL;
16824 }
16825
16826
16827 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16828 PyObject *resultobj;
16829 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16830 PyObject * obj0 = 0 ;
16831 char *kwnames[] = {
16832 (char *) "self", NULL
16833 };
16834
16835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
16836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16837 {
16838 PyThreadState* __tstate = wxPyBeginAllowThreads();
16839 delete arg1;
16840
16841 wxPyEndAllowThreads(__tstate);
16842 if (PyErr_Occurred()) SWIG_fail;
16843 }
16844 Py_INCREF(Py_None); resultobj = Py_None;
16845 return resultobj;
16846 fail:
16847 return NULL;
16848 }
16849
16850
16851 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16852 PyObject *resultobj;
16853 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16854 int result;
16855 PyObject * obj0 = 0 ;
16856 char *kwnames[] = {
16857 (char *) "self", NULL
16858 };
16859
16860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
16861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16862 {
16863 PyThreadState* __tstate = wxPyBeginAllowThreads();
16864 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
16865
16866 wxPyEndAllowThreads(__tstate);
16867 if (PyErr_Occurred()) SWIG_fail;
16868 }
16869 resultobj = PyInt_FromLong((long)result);
16870 return resultobj;
16871 fail:
16872 return NULL;
16873 }
16874
16875
16876 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16877 PyObject *resultobj;
16878 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16879 int result;
16880 PyObject * obj0 = 0 ;
16881 char *kwnames[] = {
16882 (char *) "self", NULL
16883 };
16884
16885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
16886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16887 {
16888 PyThreadState* __tstate = wxPyBeginAllowThreads();
16889 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
16890
16891 wxPyEndAllowThreads(__tstate);
16892 if (PyErr_Occurred()) SWIG_fail;
16893 }
16894 resultobj = PyInt_FromLong((long)result);
16895 return resultobj;
16896 fail:
16897 return NULL;
16898 }
16899
16900
16901 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16902 PyObject *resultobj;
16903 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16904 int result;
16905 PyObject * obj0 = 0 ;
16906 char *kwnames[] = {
16907 (char *) "self", NULL
16908 };
16909
16910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
16911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16912 {
16913 PyThreadState* __tstate = wxPyBeginAllowThreads();
16914 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
16915
16916 wxPyEndAllowThreads(__tstate);
16917 if (PyErr_Occurred()) SWIG_fail;
16918 }
16919 resultobj = PyInt_FromLong((long)result);
16920 return resultobj;
16921 fail:
16922 return NULL;
16923 }
16924
16925
16926 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16927 PyObject *resultobj;
16928 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16929 int result;
16930 PyObject * obj0 = 0 ;
16931 char *kwnames[] = {
16932 (char *) "self", NULL
16933 };
16934
16935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
16936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16937 {
16938 PyThreadState* __tstate = wxPyBeginAllowThreads();
16939 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
16940
16941 wxPyEndAllowThreads(__tstate);
16942 if (PyErr_Occurred()) SWIG_fail;
16943 }
16944 resultobj = PyInt_FromLong((long)result);
16945 return resultobj;
16946 fail:
16947 return NULL;
16948 }
16949
16950
16951 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
16952 PyObject *resultobj;
16953 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16954 int result;
16955 PyObject * obj0 = 0 ;
16956 char *kwnames[] = {
16957 (char *) "self", NULL
16958 };
16959
16960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
16961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16962 {
16963 PyThreadState* __tstate = wxPyBeginAllowThreads();
16964 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
16965
16966 wxPyEndAllowThreads(__tstate);
16967 if (PyErr_Occurred()) SWIG_fail;
16968 }
16969 resultobj = PyInt_FromLong((long)result);
16970 return resultobj;
16971 fail:
16972 return NULL;
16973 }
16974
16975
16976 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
16977 PyObject *resultobj;
16978 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16979 bool result;
16980 PyObject * obj0 = 0 ;
16981 char *kwnames[] = {
16982 (char *) "self", NULL
16983 };
16984
16985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
16986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16987 {
16988 PyThreadState* __tstate = wxPyBeginAllowThreads();
16989 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
16990
16991 wxPyEndAllowThreads(__tstate);
16992 if (PyErr_Occurred()) SWIG_fail;
16993 }
16994 resultobj = PyInt_FromLong((long)result);
16995 return resultobj;
16996 fail:
16997 return NULL;
16998 }
16999
17000
17001 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17002 PyObject *resultobj;
17003 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17004 bool result;
17005 PyObject * obj0 = 0 ;
17006 char *kwnames[] = {
17007 (char *) "self", NULL
17008 };
17009
17010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
17011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17012 {
17013 PyThreadState* __tstate = wxPyBeginAllowThreads();
17014 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
17015
17016 wxPyEndAllowThreads(__tstate);
17017 if (PyErr_Occurred()) SWIG_fail;
17018 }
17019 resultobj = PyInt_FromLong((long)result);
17020 return resultobj;
17021 fail:
17022 return NULL;
17023 }
17024
17025
17026 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17027 PyObject *resultobj;
17028 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17029 bool result;
17030 PyObject * obj0 = 0 ;
17031 char *kwnames[] = {
17032 (char *) "self", NULL
17033 };
17034
17035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
17036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17037 {
17038 PyThreadState* __tstate = wxPyBeginAllowThreads();
17039 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
17040
17041 wxPyEndAllowThreads(__tstate);
17042 if (PyErr_Occurred()) SWIG_fail;
17043 }
17044 resultobj = PyInt_FromLong((long)result);
17045 return resultobj;
17046 fail:
17047 return NULL;
17048 }
17049
17050
17051 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17052 PyObject *resultobj;
17053 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17054 bool result;
17055 PyObject * obj0 = 0 ;
17056 char *kwnames[] = {
17057 (char *) "self", NULL
17058 };
17059
17060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
17061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17062 {
17063 PyThreadState* __tstate = wxPyBeginAllowThreads();
17064 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
17065
17066 wxPyEndAllowThreads(__tstate);
17067 if (PyErr_Occurred()) SWIG_fail;
17068 }
17069 resultobj = PyInt_FromLong((long)result);
17070 return resultobj;
17071 fail:
17072 return NULL;
17073 }
17074
17075
17076 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17077 PyObject *resultobj;
17078 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17079 bool result;
17080 PyObject * obj0 = 0 ;
17081 char *kwnames[] = {
17082 (char *) "self", NULL
17083 };
17084
17085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
17086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17087 {
17088 PyThreadState* __tstate = wxPyBeginAllowThreads();
17089 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
17090
17091 wxPyEndAllowThreads(__tstate);
17092 if (PyErr_Occurred()) SWIG_fail;
17093 }
17094 resultobj = PyInt_FromLong((long)result);
17095 return resultobj;
17096 fail:
17097 return NULL;
17098 }
17099
17100
17101 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17102 PyObject *resultobj;
17103 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17104 int arg2 ;
17105 PyObject * obj0 = 0 ;
17106 char *kwnames[] = {
17107 (char *) "self",(char *) "v", NULL
17108 };
17109
17110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetFromPage",kwnames,&obj0,&arg2)) goto fail;
17111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17112 {
17113 PyThreadState* __tstate = wxPyBeginAllowThreads();
17114 (arg1)->SetFromPage(arg2);
17115
17116 wxPyEndAllowThreads(__tstate);
17117 if (PyErr_Occurred()) SWIG_fail;
17118 }
17119 Py_INCREF(Py_None); resultobj = Py_None;
17120 return resultobj;
17121 fail:
17122 return NULL;
17123 }
17124
17125
17126 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17127 PyObject *resultobj;
17128 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17129 int arg2 ;
17130 PyObject * obj0 = 0 ;
17131 char *kwnames[] = {
17132 (char *) "self",(char *) "v", NULL
17133 };
17134
17135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetToPage",kwnames,&obj0,&arg2)) goto fail;
17136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17137 {
17138 PyThreadState* __tstate = wxPyBeginAllowThreads();
17139 (arg1)->SetToPage(arg2);
17140
17141 wxPyEndAllowThreads(__tstate);
17142 if (PyErr_Occurred()) SWIG_fail;
17143 }
17144 Py_INCREF(Py_None); resultobj = Py_None;
17145 return resultobj;
17146 fail:
17147 return NULL;
17148 }
17149
17150
17151 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17152 PyObject *resultobj;
17153 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17154 int arg2 ;
17155 PyObject * obj0 = 0 ;
17156 char *kwnames[] = {
17157 (char *) "self",(char *) "v", NULL
17158 };
17159
17160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMinPage",kwnames,&obj0,&arg2)) goto fail;
17161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17162 {
17163 PyThreadState* __tstate = wxPyBeginAllowThreads();
17164 (arg1)->SetMinPage(arg2);
17165
17166 wxPyEndAllowThreads(__tstate);
17167 if (PyErr_Occurred()) SWIG_fail;
17168 }
17169 Py_INCREF(Py_None); resultobj = Py_None;
17170 return resultobj;
17171 fail:
17172 return NULL;
17173 }
17174
17175
17176 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17177 PyObject *resultobj;
17178 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17179 int arg2 ;
17180 PyObject * obj0 = 0 ;
17181 char *kwnames[] = {
17182 (char *) "self",(char *) "v", NULL
17183 };
17184
17185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMaxPage",kwnames,&obj0,&arg2)) goto fail;
17186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17187 {
17188 PyThreadState* __tstate = wxPyBeginAllowThreads();
17189 (arg1)->SetMaxPage(arg2);
17190
17191 wxPyEndAllowThreads(__tstate);
17192 if (PyErr_Occurred()) SWIG_fail;
17193 }
17194 Py_INCREF(Py_None); resultobj = Py_None;
17195 return resultobj;
17196 fail:
17197 return NULL;
17198 }
17199
17200
17201 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17202 PyObject *resultobj;
17203 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17204 int arg2 ;
17205 PyObject * obj0 = 0 ;
17206 char *kwnames[] = {
17207 (char *) "self",(char *) "v", NULL
17208 };
17209
17210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
17211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17212 {
17213 PyThreadState* __tstate = wxPyBeginAllowThreads();
17214 (arg1)->SetNoCopies(arg2);
17215
17216 wxPyEndAllowThreads(__tstate);
17217 if (PyErr_Occurred()) SWIG_fail;
17218 }
17219 Py_INCREF(Py_None); resultobj = Py_None;
17220 return resultobj;
17221 fail:
17222 return NULL;
17223 }
17224
17225
17226 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
17227 PyObject *resultobj;
17228 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17229 bool arg2 ;
17230 PyObject * obj0 = 0 ;
17231 PyObject * obj1 = 0 ;
17232 char *kwnames[] = {
17233 (char *) "self",(char *) "flag", NULL
17234 };
17235
17236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
17237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17238 arg2 = PyInt_AsLong(obj1) ? true : false;
17239 if (PyErr_Occurred()) SWIG_fail;
17240 {
17241 PyThreadState* __tstate = wxPyBeginAllowThreads();
17242 (arg1)->SetAllPages(arg2);
17243
17244 wxPyEndAllowThreads(__tstate);
17245 if (PyErr_Occurred()) SWIG_fail;
17246 }
17247 Py_INCREF(Py_None); resultobj = Py_None;
17248 return resultobj;
17249 fail:
17250 return NULL;
17251 }
17252
17253
17254 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17255 PyObject *resultobj;
17256 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17257 bool arg2 ;
17258 PyObject * obj0 = 0 ;
17259 PyObject * obj1 = 0 ;
17260 char *kwnames[] = {
17261 (char *) "self",(char *) "flag", NULL
17262 };
17263
17264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
17265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17266 arg2 = PyInt_AsLong(obj1) ? true : false;
17267 if (PyErr_Occurred()) SWIG_fail;
17268 {
17269 PyThreadState* __tstate = wxPyBeginAllowThreads();
17270 (arg1)->SetSelection(arg2);
17271
17272 wxPyEndAllowThreads(__tstate);
17273 if (PyErr_Occurred()) SWIG_fail;
17274 }
17275 Py_INCREF(Py_None); resultobj = Py_None;
17276 return resultobj;
17277 fail:
17278 return NULL;
17279 }
17280
17281
17282 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17283 PyObject *resultobj;
17284 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17285 bool arg2 ;
17286 PyObject * obj0 = 0 ;
17287 PyObject * obj1 = 0 ;
17288 char *kwnames[] = {
17289 (char *) "self",(char *) "flag", NULL
17290 };
17291
17292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
17293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17294 arg2 = PyInt_AsLong(obj1) ? true : false;
17295 if (PyErr_Occurred()) SWIG_fail;
17296 {
17297 PyThreadState* __tstate = wxPyBeginAllowThreads();
17298 (arg1)->SetCollate(arg2);
17299
17300 wxPyEndAllowThreads(__tstate);
17301 if (PyErr_Occurred()) SWIG_fail;
17302 }
17303 Py_INCREF(Py_None); resultobj = Py_None;
17304 return resultobj;
17305 fail:
17306 return NULL;
17307 }
17308
17309
17310 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17311 PyObject *resultobj;
17312 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17313 bool arg2 ;
17314 PyObject * obj0 = 0 ;
17315 PyObject * obj1 = 0 ;
17316 char *kwnames[] = {
17317 (char *) "self",(char *) "flag", NULL
17318 };
17319
17320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
17321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17322 arg2 = PyInt_AsLong(obj1) ? true : false;
17323 if (PyErr_Occurred()) SWIG_fail;
17324 {
17325 PyThreadState* __tstate = wxPyBeginAllowThreads();
17326 (arg1)->SetPrintToFile(arg2);
17327
17328 wxPyEndAllowThreads(__tstate);
17329 if (PyErr_Occurred()) SWIG_fail;
17330 }
17331 Py_INCREF(Py_None); resultobj = Py_None;
17332 return resultobj;
17333 fail:
17334 return NULL;
17335 }
17336
17337
17338 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17339 PyObject *resultobj;
17340 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17341 bool arg2 ;
17342 PyObject * obj0 = 0 ;
17343 PyObject * obj1 = 0 ;
17344 char *kwnames[] = {
17345 (char *) "self",(char *) "flag", NULL
17346 };
17347
17348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
17349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17350 arg2 = PyInt_AsLong(obj1) ? true : false;
17351 if (PyErr_Occurred()) SWIG_fail;
17352 {
17353 PyThreadState* __tstate = wxPyBeginAllowThreads();
17354 (arg1)->SetSetupDialog(arg2);
17355
17356 wxPyEndAllowThreads(__tstate);
17357 if (PyErr_Occurred()) SWIG_fail;
17358 }
17359 Py_INCREF(Py_None); resultobj = Py_None;
17360 return resultobj;
17361 fail:
17362 return NULL;
17363 }
17364
17365
17366 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17367 PyObject *resultobj;
17368 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17369 bool arg2 ;
17370 PyObject * obj0 = 0 ;
17371 PyObject * obj1 = 0 ;
17372 char *kwnames[] = {
17373 (char *) "self",(char *) "flag", NULL
17374 };
17375
17376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
17377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17378 arg2 = PyInt_AsLong(obj1) ? true : false;
17379 if (PyErr_Occurred()) SWIG_fail;
17380 {
17381 PyThreadState* __tstate = wxPyBeginAllowThreads();
17382 (arg1)->EnablePrintToFile(arg2);
17383
17384 wxPyEndAllowThreads(__tstate);
17385 if (PyErr_Occurred()) SWIG_fail;
17386 }
17387 Py_INCREF(Py_None); resultobj = Py_None;
17388 return resultobj;
17389 fail:
17390 return NULL;
17391 }
17392
17393
17394 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17395 PyObject *resultobj;
17396 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17397 bool arg2 ;
17398 PyObject * obj0 = 0 ;
17399 PyObject * obj1 = 0 ;
17400 char *kwnames[] = {
17401 (char *) "self",(char *) "flag", NULL
17402 };
17403
17404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
17405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17406 arg2 = PyInt_AsLong(obj1) ? true : false;
17407 if (PyErr_Occurred()) SWIG_fail;
17408 {
17409 PyThreadState* __tstate = wxPyBeginAllowThreads();
17410 (arg1)->EnableSelection(arg2);
17411
17412 wxPyEndAllowThreads(__tstate);
17413 if (PyErr_Occurred()) SWIG_fail;
17414 }
17415 Py_INCREF(Py_None); resultobj = Py_None;
17416 return resultobj;
17417 fail:
17418 return NULL;
17419 }
17420
17421
17422 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17423 PyObject *resultobj;
17424 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17425 bool arg2 ;
17426 PyObject * obj0 = 0 ;
17427 PyObject * obj1 = 0 ;
17428 char *kwnames[] = {
17429 (char *) "self",(char *) "flag", NULL
17430 };
17431
17432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
17433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17434 arg2 = PyInt_AsLong(obj1) ? true : false;
17435 if (PyErr_Occurred()) SWIG_fail;
17436 {
17437 PyThreadState* __tstate = wxPyBeginAllowThreads();
17438 (arg1)->EnablePageNumbers(arg2);
17439
17440 wxPyEndAllowThreads(__tstate);
17441 if (PyErr_Occurred()) SWIG_fail;
17442 }
17443 Py_INCREF(Py_None); resultobj = Py_None;
17444 return resultobj;
17445 fail:
17446 return NULL;
17447 }
17448
17449
17450 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17451 PyObject *resultobj;
17452 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17453 bool arg2 ;
17454 PyObject * obj0 = 0 ;
17455 PyObject * obj1 = 0 ;
17456 char *kwnames[] = {
17457 (char *) "self",(char *) "flag", NULL
17458 };
17459
17460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
17461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17462 arg2 = PyInt_AsLong(obj1) ? true : false;
17463 if (PyErr_Occurred()) SWIG_fail;
17464 {
17465 PyThreadState* __tstate = wxPyBeginAllowThreads();
17466 (arg1)->EnableHelp(arg2);
17467
17468 wxPyEndAllowThreads(__tstate);
17469 if (PyErr_Occurred()) SWIG_fail;
17470 }
17471 Py_INCREF(Py_None); resultobj = Py_None;
17472 return resultobj;
17473 fail:
17474 return NULL;
17475 }
17476
17477
17478 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17479 PyObject *resultobj;
17480 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17481 bool result;
17482 PyObject * obj0 = 0 ;
17483 char *kwnames[] = {
17484 (char *) "self", NULL
17485 };
17486
17487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
17488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17489 {
17490 PyThreadState* __tstate = wxPyBeginAllowThreads();
17491 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
17492
17493 wxPyEndAllowThreads(__tstate);
17494 if (PyErr_Occurred()) SWIG_fail;
17495 }
17496 resultobj = PyInt_FromLong((long)result);
17497 return resultobj;
17498 fail:
17499 return NULL;
17500 }
17501
17502
17503 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17504 PyObject *resultobj;
17505 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17506 bool result;
17507 PyObject * obj0 = 0 ;
17508 char *kwnames[] = {
17509 (char *) "self", NULL
17510 };
17511
17512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
17513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17514 {
17515 PyThreadState* __tstate = wxPyBeginAllowThreads();
17516 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
17517
17518 wxPyEndAllowThreads(__tstate);
17519 if (PyErr_Occurred()) SWIG_fail;
17520 }
17521 resultobj = PyInt_FromLong((long)result);
17522 return resultobj;
17523 fail:
17524 return NULL;
17525 }
17526
17527
17528 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17529 PyObject *resultobj;
17530 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17531 bool result;
17532 PyObject * obj0 = 0 ;
17533 char *kwnames[] = {
17534 (char *) "self", NULL
17535 };
17536
17537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
17538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17539 {
17540 PyThreadState* __tstate = wxPyBeginAllowThreads();
17541 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
17542
17543 wxPyEndAllowThreads(__tstate);
17544 if (PyErr_Occurred()) SWIG_fail;
17545 }
17546 resultobj = PyInt_FromLong((long)result);
17547 return resultobj;
17548 fail:
17549 return NULL;
17550 }
17551
17552
17553 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17554 PyObject *resultobj;
17555 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17556 bool result;
17557 PyObject * obj0 = 0 ;
17558 char *kwnames[] = {
17559 (char *) "self", NULL
17560 };
17561
17562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
17563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17564 {
17565 PyThreadState* __tstate = wxPyBeginAllowThreads();
17566 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
17567
17568 wxPyEndAllowThreads(__tstate);
17569 if (PyErr_Occurred()) SWIG_fail;
17570 }
17571 resultobj = PyInt_FromLong((long)result);
17572 return resultobj;
17573 fail:
17574 return NULL;
17575 }
17576
17577
17578 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
17579 PyObject *resultobj;
17580 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17581 bool result;
17582 PyObject * obj0 = 0 ;
17583 char *kwnames[] = {
17584 (char *) "self", NULL
17585 };
17586
17587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
17588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17589 {
17590 PyThreadState* __tstate = wxPyBeginAllowThreads();
17591 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
17592
17593 wxPyEndAllowThreads(__tstate);
17594 if (PyErr_Occurred()) SWIG_fail;
17595 }
17596 resultobj = PyInt_FromLong((long)result);
17597 return resultobj;
17598 fail:
17599 return NULL;
17600 }
17601
17602
17603 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17604 PyObject *resultobj;
17605 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17606 wxPrintData *result;
17607 PyObject * obj0 = 0 ;
17608 char *kwnames[] = {
17609 (char *) "self", NULL
17610 };
17611
17612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
17613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17614 {
17615 PyThreadState* __tstate = wxPyBeginAllowThreads();
17616 {
17617 wxPrintData &_result_ref = (arg1)->GetPrintData();
17618 result = (wxPrintData *) &_result_ref;
17619 }
17620
17621 wxPyEndAllowThreads(__tstate);
17622 if (PyErr_Occurred()) SWIG_fail;
17623 }
17624 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
17625 return resultobj;
17626 fail:
17627 return NULL;
17628 }
17629
17630
17631 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17632 PyObject *resultobj;
17633 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17634 wxPrintData *arg2 = 0 ;
17635 PyObject * obj0 = 0 ;
17636 PyObject * obj1 = 0 ;
17637 char *kwnames[] = {
17638 (char *) "self",(char *) "printData", NULL
17639 };
17640
17641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
17642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17643 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17644 if (arg2 == NULL) {
17645 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17646 }
17647 {
17648 PyThreadState* __tstate = wxPyBeginAllowThreads();
17649 (arg1)->SetPrintData((wxPrintData const &)*arg2);
17650
17651 wxPyEndAllowThreads(__tstate);
17652 if (PyErr_Occurred()) SWIG_fail;
17653 }
17654 Py_INCREF(Py_None); resultobj = Py_None;
17655 return resultobj;
17656 fail:
17657 return NULL;
17658 }
17659
17660
17661 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
17662 PyObject *obj;
17663 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17664 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
17665 Py_INCREF(obj);
17666 return Py_BuildValue((char *)"");
17667 }
17668 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17669 PyObject *resultobj;
17670 wxWindow *arg1 = (wxWindow *) 0 ;
17671 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
17672 wxPrintDialog *result;
17673 PyObject * obj0 = 0 ;
17674 PyObject * obj1 = 0 ;
17675 char *kwnames[] = {
17676 (char *) "parent",(char *) "data", NULL
17677 };
17678
17679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
17680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17681 if (obj1) {
17682 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17683 }
17684 {
17685 PyThreadState* __tstate = wxPyBeginAllowThreads();
17686 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
17687
17688 wxPyEndAllowThreads(__tstate);
17689 if (PyErr_Occurred()) SWIG_fail;
17690 }
17691 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialog, 1);
17692 return resultobj;
17693 fail:
17694 return NULL;
17695 }
17696
17697
17698 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17699 PyObject *resultobj;
17700 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
17701 wxPrintDialogData *result;
17702 PyObject * obj0 = 0 ;
17703 char *kwnames[] = {
17704 (char *) "self", NULL
17705 };
17706
17707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
17708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17709 {
17710 PyThreadState* __tstate = wxPyBeginAllowThreads();
17711 {
17712 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
17713 result = (wxPrintDialogData *) &_result_ref;
17714 }
17715
17716 wxPyEndAllowThreads(__tstate);
17717 if (PyErr_Occurred()) SWIG_fail;
17718 }
17719 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
17720 return resultobj;
17721 fail:
17722 return NULL;
17723 }
17724
17725
17726 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
17727 PyObject *resultobj;
17728 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
17729 wxDC *result;
17730 PyObject * obj0 = 0 ;
17731 char *kwnames[] = {
17732 (char *) "self", NULL
17733 };
17734
17735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
17736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17737 {
17738 PyThreadState* __tstate = wxPyBeginAllowThreads();
17739 result = (wxDC *)(arg1)->GetPrintDC();
17740
17741 wxPyEndAllowThreads(__tstate);
17742 if (PyErr_Occurred()) SWIG_fail;
17743 }
17744 {
17745 resultobj = wxPyMake_wxObject(result);
17746 }
17747 return resultobj;
17748 fail:
17749 return NULL;
17750 }
17751
17752
17753 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
17754 PyObject *resultobj;
17755 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
17756 int result;
17757 PyObject * obj0 = 0 ;
17758 char *kwnames[] = {
17759 (char *) "self", NULL
17760 };
17761
17762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
17763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17764 {
17765 PyThreadState* __tstate = wxPyBeginAllowThreads();
17766 result = (int)(arg1)->ShowModal();
17767
17768 wxPyEndAllowThreads(__tstate);
17769 if (PyErr_Occurred()) SWIG_fail;
17770 }
17771 resultobj = PyInt_FromLong((long)result);
17772 return resultobj;
17773 fail:
17774 return NULL;
17775 }
17776
17777
17778 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
17779 PyObject *obj;
17780 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17781 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
17782 Py_INCREF(obj);
17783 return Py_BuildValue((char *)"");
17784 }
17785 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
17786 PyObject *resultobj;
17787 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
17788 wxPrinter *result;
17789 PyObject * obj0 = 0 ;
17790 char *kwnames[] = {
17791 (char *) "data", NULL
17792 };
17793
17794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
17795 if (obj0) {
17796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17797 }
17798 {
17799 PyThreadState* __tstate = wxPyBeginAllowThreads();
17800 result = (wxPrinter *)new wxPrinter(arg1);
17801
17802 wxPyEndAllowThreads(__tstate);
17803 if (PyErr_Occurred()) SWIG_fail;
17804 }
17805 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrinter, 1);
17806 return resultobj;
17807 fail:
17808 return NULL;
17809 }
17810
17811
17812 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
17813 PyObject *resultobj;
17814 wxPrinter *arg1 = (wxPrinter *) 0 ;
17815 PyObject * obj0 = 0 ;
17816 char *kwnames[] = {
17817 (char *) "self", NULL
17818 };
17819
17820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
17821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17822 {
17823 PyThreadState* __tstate = wxPyBeginAllowThreads();
17824 delete arg1;
17825
17826 wxPyEndAllowThreads(__tstate);
17827 if (PyErr_Occurred()) SWIG_fail;
17828 }
17829 Py_INCREF(Py_None); resultobj = Py_None;
17830 return resultobj;
17831 fail:
17832 return NULL;
17833 }
17834
17835
17836 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17837 PyObject *resultobj;
17838 wxPrinter *arg1 = (wxPrinter *) 0 ;
17839 wxWindow *arg2 = (wxWindow *) 0 ;
17840 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
17841 PyObject * obj0 = 0 ;
17842 PyObject * obj1 = 0 ;
17843 PyObject * obj2 = 0 ;
17844 char *kwnames[] = {
17845 (char *) "self",(char *) "parent",(char *) "printout", NULL
17846 };
17847
17848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
17849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17850 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17851 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17852 {
17853 PyThreadState* __tstate = wxPyBeginAllowThreads();
17854 (arg1)->CreateAbortWindow(arg2,arg3);
17855
17856 wxPyEndAllowThreads(__tstate);
17857 if (PyErr_Occurred()) SWIG_fail;
17858 }
17859 Py_INCREF(Py_None); resultobj = Py_None;
17860 return resultobj;
17861 fail:
17862 return NULL;
17863 }
17864
17865
17866 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17867 PyObject *resultobj;
17868 wxPrinter *arg1 = (wxPrinter *) 0 ;
17869 wxPrintDialogData *result;
17870 PyObject * obj0 = 0 ;
17871 char *kwnames[] = {
17872 (char *) "self", NULL
17873 };
17874
17875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
17876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17877 {
17878 PyThreadState* __tstate = wxPyBeginAllowThreads();
17879 {
17880 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
17881 result = (wxPrintDialogData *) &_result_ref;
17882 }
17883
17884 wxPyEndAllowThreads(__tstate);
17885 if (PyErr_Occurred()) SWIG_fail;
17886 }
17887 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
17888 return resultobj;
17889 fail:
17890 return NULL;
17891 }
17892
17893
17894 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
17895 PyObject *resultobj;
17896 wxPrinter *arg1 = (wxPrinter *) 0 ;
17897 wxWindow *arg2 = (wxWindow *) 0 ;
17898 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
17899 int arg4 = (int) True ;
17900 bool result;
17901 PyObject * obj0 = 0 ;
17902 PyObject * obj1 = 0 ;
17903 PyObject * obj2 = 0 ;
17904 char *kwnames[] = {
17905 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
17906 };
17907
17908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:Printer_Print",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
17909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17910 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17911 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17912 {
17913 PyThreadState* __tstate = wxPyBeginAllowThreads();
17914 result = (bool)(arg1)->Print(arg2,arg3,arg4);
17915
17916 wxPyEndAllowThreads(__tstate);
17917 if (PyErr_Occurred()) SWIG_fail;
17918 }
17919 resultobj = PyInt_FromLong((long)result);
17920 return resultobj;
17921 fail:
17922 return NULL;
17923 }
17924
17925
17926 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17927 PyObject *resultobj;
17928 wxPrinter *arg1 = (wxPrinter *) 0 ;
17929 wxWindow *arg2 = (wxWindow *) 0 ;
17930 wxDC *result;
17931 PyObject * obj0 = 0 ;
17932 PyObject * obj1 = 0 ;
17933 char *kwnames[] = {
17934 (char *) "self",(char *) "parent", NULL
17935 };
17936
17937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
17938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17939 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17940 {
17941 PyThreadState* __tstate = wxPyBeginAllowThreads();
17942 result = (wxDC *)(arg1)->PrintDialog(arg2);
17943
17944 wxPyEndAllowThreads(__tstate);
17945 if (PyErr_Occurred()) SWIG_fail;
17946 }
17947 {
17948 resultobj = wxPyMake_wxObject(result);
17949 }
17950 return resultobj;
17951 fail:
17952 return NULL;
17953 }
17954
17955
17956 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
17957 PyObject *resultobj;
17958 wxPrinter *arg1 = (wxPrinter *) 0 ;
17959 wxWindow *arg2 = (wxWindow *) 0 ;
17960 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
17961 wxString *arg4 = 0 ;
17962 bool temp4 = False ;
17963 PyObject * obj0 = 0 ;
17964 PyObject * obj1 = 0 ;
17965 PyObject * obj2 = 0 ;
17966 PyObject * obj3 = 0 ;
17967 char *kwnames[] = {
17968 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
17969 };
17970
17971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17973 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17974 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17975 {
17976 arg4 = wxString_in_helper(obj3);
17977 if (arg4 == NULL) SWIG_fail;
17978 temp4 = True;
17979 }
17980 {
17981 PyThreadState* __tstate = wxPyBeginAllowThreads();
17982 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
17983
17984 wxPyEndAllowThreads(__tstate);
17985 if (PyErr_Occurred()) SWIG_fail;
17986 }
17987 Py_INCREF(Py_None); resultobj = Py_None;
17988 {
17989 if (temp4)
17990 delete arg4;
17991 }
17992 return resultobj;
17993 fail:
17994 {
17995 if (temp4)
17996 delete arg4;
17997 }
17998 return NULL;
17999 }
18000
18001
18002 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
18003 PyObject *resultobj;
18004 wxPrinter *arg1 = (wxPrinter *) 0 ;
18005 wxWindow *arg2 = (wxWindow *) 0 ;
18006 bool result;
18007 PyObject * obj0 = 0 ;
18008 PyObject * obj1 = 0 ;
18009 char *kwnames[] = {
18010 (char *) "self",(char *) "parent", NULL
18011 };
18012
18013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
18014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18015 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18016 {
18017 PyThreadState* __tstate = wxPyBeginAllowThreads();
18018 result = (bool)(arg1)->Setup(arg2);
18019
18020 wxPyEndAllowThreads(__tstate);
18021 if (PyErr_Occurred()) SWIG_fail;
18022 }
18023 resultobj = PyInt_FromLong((long)result);
18024 return resultobj;
18025 fail:
18026 return NULL;
18027 }
18028
18029
18030 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
18031 PyObject *resultobj;
18032 wxPrinter *arg1 = (wxPrinter *) 0 ;
18033 bool result;
18034 PyObject * obj0 = 0 ;
18035 char *kwnames[] = {
18036 (char *) "self", NULL
18037 };
18038
18039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
18040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18041 {
18042 PyThreadState* __tstate = wxPyBeginAllowThreads();
18043 result = (bool)(arg1)->GetAbort();
18044
18045 wxPyEndAllowThreads(__tstate);
18046 if (PyErr_Occurred()) SWIG_fail;
18047 }
18048 resultobj = PyInt_FromLong((long)result);
18049 return resultobj;
18050 fail:
18051 return NULL;
18052 }
18053
18054
18055 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
18056 PyObject *resultobj;
18057 int result;
18058 char *kwnames[] = {
18059 NULL
18060 };
18061
18062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
18063 {
18064 PyThreadState* __tstate = wxPyBeginAllowThreads();
18065 result = (int)wxPrinter::GetLastError();
18066
18067 wxPyEndAllowThreads(__tstate);
18068 if (PyErr_Occurred()) SWIG_fail;
18069 }
18070 resultobj = PyInt_FromLong((long)result);
18071 return resultobj;
18072 fail:
18073 return NULL;
18074 }
18075
18076
18077 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
18078 PyObject *obj;
18079 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18080 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
18081 Py_INCREF(obj);
18082 return Py_BuildValue((char *)"");
18083 }
18084 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
18085 PyObject *resultobj;
18086 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
18087 wxString *arg1 = (wxString *) &arg1_defvalue ;
18088 wxPyPrintout *result;
18089 bool temp1 = False ;
18090 PyObject * obj0 = 0 ;
18091 char *kwnames[] = {
18092 (char *) "title", NULL
18093 };
18094
18095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
18096 if (obj0) {
18097 {
18098 arg1 = wxString_in_helper(obj0);
18099 if (arg1 == NULL) SWIG_fail;
18100 temp1 = True;
18101 }
18102 }
18103 {
18104 PyThreadState* __tstate = wxPyBeginAllowThreads();
18105 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
18106
18107 wxPyEndAllowThreads(__tstate);
18108 if (PyErr_Occurred()) SWIG_fail;
18109 }
18110 {
18111 resultobj = wxPyMake_wxObject(result);
18112 }
18113 {
18114 if (temp1)
18115 delete arg1;
18116 }
18117 return resultobj;
18118 fail:
18119 {
18120 if (temp1)
18121 delete arg1;
18122 }
18123 return NULL;
18124 }
18125
18126
18127 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18128 PyObject *resultobj;
18129 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18130 PyObject *arg2 = (PyObject *) 0 ;
18131 PyObject *arg3 = (PyObject *) 0 ;
18132 PyObject * obj0 = 0 ;
18133 PyObject * obj1 = 0 ;
18134 PyObject * obj2 = 0 ;
18135 char *kwnames[] = {
18136 (char *) "self",(char *) "self",(char *) "_class", NULL
18137 };
18138
18139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18141 arg2 = obj1;
18142 arg3 = obj2;
18143 {
18144 PyThreadState* __tstate = wxPyBeginAllowThreads();
18145 (arg1)->_setCallbackInfo(arg2,arg3);
18146
18147 wxPyEndAllowThreads(__tstate);
18148 if (PyErr_Occurred()) SWIG_fail;
18149 }
18150 Py_INCREF(Py_None); resultobj = Py_None;
18151 return resultobj;
18152 fail:
18153 return NULL;
18154 }
18155
18156
18157 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
18158 PyObject *resultobj;
18159 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18160 wxString result;
18161 PyObject * obj0 = 0 ;
18162 char *kwnames[] = {
18163 (char *) "self", NULL
18164 };
18165
18166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
18167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18168 {
18169 PyThreadState* __tstate = wxPyBeginAllowThreads();
18170 result = ((wxPyPrintout const *)arg1)->GetTitle();
18171
18172 wxPyEndAllowThreads(__tstate);
18173 if (PyErr_Occurred()) SWIG_fail;
18174 }
18175 {
18176 #if wxUSE_UNICODE
18177 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18178 #else
18179 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18180 #endif
18181 }
18182 return resultobj;
18183 fail:
18184 return NULL;
18185 }
18186
18187
18188 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18189 PyObject *resultobj;
18190 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18191 wxDC *result;
18192 PyObject * obj0 = 0 ;
18193 char *kwnames[] = {
18194 (char *) "self", NULL
18195 };
18196
18197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
18198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18199 {
18200 PyThreadState* __tstate = wxPyBeginAllowThreads();
18201 result = (wxDC *)(arg1)->GetDC();
18202
18203 wxPyEndAllowThreads(__tstate);
18204 if (PyErr_Occurred()) SWIG_fail;
18205 }
18206 {
18207 resultobj = wxPyMake_wxObject(result);
18208 }
18209 return resultobj;
18210 fail:
18211 return NULL;
18212 }
18213
18214
18215 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18216 PyObject *resultobj;
18217 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18218 wxDC *arg2 = (wxDC *) 0 ;
18219 PyObject * obj0 = 0 ;
18220 PyObject * obj1 = 0 ;
18221 char *kwnames[] = {
18222 (char *) "self",(char *) "dc", NULL
18223 };
18224
18225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
18226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18227 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18228 {
18229 PyThreadState* __tstate = wxPyBeginAllowThreads();
18230 (arg1)->SetDC(arg2);
18231
18232 wxPyEndAllowThreads(__tstate);
18233 if (PyErr_Occurred()) SWIG_fail;
18234 }
18235 Py_INCREF(Py_None); resultobj = Py_None;
18236 return resultobj;
18237 fail:
18238 return NULL;
18239 }
18240
18241
18242 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
18243 PyObject *resultobj;
18244 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18245 int arg2 ;
18246 int arg3 ;
18247 PyObject * obj0 = 0 ;
18248 char *kwnames[] = {
18249 (char *) "self",(char *) "w",(char *) "h", NULL
18250 };
18251
18252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizePixels",kwnames,&obj0,&arg2,&arg3)) goto fail;
18253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18254 {
18255 PyThreadState* __tstate = wxPyBeginAllowThreads();
18256 (arg1)->SetPageSizePixels(arg2,arg3);
18257
18258 wxPyEndAllowThreads(__tstate);
18259 if (PyErr_Occurred()) SWIG_fail;
18260 }
18261 Py_INCREF(Py_None); resultobj = Py_None;
18262 return resultobj;
18263 fail:
18264 return NULL;
18265 }
18266
18267
18268 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
18269 PyObject *resultobj;
18270 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18271 int *arg2 = (int *) 0 ;
18272 int *arg3 = (int *) 0 ;
18273 int temp2 ;
18274 int temp3 ;
18275 PyObject * obj0 = 0 ;
18276 char *kwnames[] = {
18277 (char *) "self", NULL
18278 };
18279
18280 arg2 = &temp2;
18281 arg3 = &temp3;
18282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
18283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18284 {
18285 PyThreadState* __tstate = wxPyBeginAllowThreads();
18286 (arg1)->GetPageSizePixels(arg2,arg3);
18287
18288 wxPyEndAllowThreads(__tstate);
18289 if (PyErr_Occurred()) SWIG_fail;
18290 }
18291 Py_INCREF(Py_None); resultobj = Py_None;
18292 {
18293 PyObject *o = PyInt_FromLong((long) (*arg2));
18294 resultobj = t_output_helper(resultobj,o);
18295 }
18296 {
18297 PyObject *o = PyInt_FromLong((long) (*arg3));
18298 resultobj = t_output_helper(resultobj,o);
18299 }
18300 return resultobj;
18301 fail:
18302 return NULL;
18303 }
18304
18305
18306 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18307 PyObject *resultobj;
18308 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18309 int arg2 ;
18310 int arg3 ;
18311 PyObject * obj0 = 0 ;
18312 char *kwnames[] = {
18313 (char *) "self",(char *) "w",(char *) "h", NULL
18314 };
18315
18316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizeMM",kwnames,&obj0,&arg2,&arg3)) goto fail;
18317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18318 {
18319 PyThreadState* __tstate = wxPyBeginAllowThreads();
18320 (arg1)->SetPageSizeMM(arg2,arg3);
18321
18322 wxPyEndAllowThreads(__tstate);
18323 if (PyErr_Occurred()) SWIG_fail;
18324 }
18325 Py_INCREF(Py_None); resultobj = Py_None;
18326 return resultobj;
18327 fail:
18328 return NULL;
18329 }
18330
18331
18332 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18333 PyObject *resultobj;
18334 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18335 int *arg2 = (int *) 0 ;
18336 int *arg3 = (int *) 0 ;
18337 int temp2 ;
18338 int temp3 ;
18339 PyObject * obj0 = 0 ;
18340 char *kwnames[] = {
18341 (char *) "self", NULL
18342 };
18343
18344 arg2 = &temp2;
18345 arg3 = &temp3;
18346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
18347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18348 {
18349 PyThreadState* __tstate = wxPyBeginAllowThreads();
18350 (arg1)->GetPageSizeMM(arg2,arg3);
18351
18352 wxPyEndAllowThreads(__tstate);
18353 if (PyErr_Occurred()) SWIG_fail;
18354 }
18355 Py_INCREF(Py_None); resultobj = Py_None;
18356 {
18357 PyObject *o = PyInt_FromLong((long) (*arg2));
18358 resultobj = t_output_helper(resultobj,o);
18359 }
18360 {
18361 PyObject *o = PyInt_FromLong((long) (*arg3));
18362 resultobj = t_output_helper(resultobj,o);
18363 }
18364 return resultobj;
18365 fail:
18366 return NULL;
18367 }
18368
18369
18370 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18371 PyObject *resultobj;
18372 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18373 int arg2 ;
18374 int arg3 ;
18375 PyObject * obj0 = 0 ;
18376 char *kwnames[] = {
18377 (char *) "self",(char *) "x",(char *) "y", NULL
18378 };
18379
18380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIScreen",kwnames,&obj0,&arg2,&arg3)) goto fail;
18381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18382 {
18383 PyThreadState* __tstate = wxPyBeginAllowThreads();
18384 (arg1)->SetPPIScreen(arg2,arg3);
18385
18386 wxPyEndAllowThreads(__tstate);
18387 if (PyErr_Occurred()) SWIG_fail;
18388 }
18389 Py_INCREF(Py_None); resultobj = Py_None;
18390 return resultobj;
18391 fail:
18392 return NULL;
18393 }
18394
18395
18396 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18397 PyObject *resultobj;
18398 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18399 int *arg2 = (int *) 0 ;
18400 int *arg3 = (int *) 0 ;
18401 int temp2 ;
18402 int temp3 ;
18403 PyObject * obj0 = 0 ;
18404 char *kwnames[] = {
18405 (char *) "self", NULL
18406 };
18407
18408 arg2 = &temp2;
18409 arg3 = &temp3;
18410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
18411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18412 {
18413 PyThreadState* __tstate = wxPyBeginAllowThreads();
18414 (arg1)->GetPPIScreen(arg2,arg3);
18415
18416 wxPyEndAllowThreads(__tstate);
18417 if (PyErr_Occurred()) SWIG_fail;
18418 }
18419 Py_INCREF(Py_None); resultobj = Py_None;
18420 {
18421 PyObject *o = PyInt_FromLong((long) (*arg2));
18422 resultobj = t_output_helper(resultobj,o);
18423 }
18424 {
18425 PyObject *o = PyInt_FromLong((long) (*arg3));
18426 resultobj = t_output_helper(resultobj,o);
18427 }
18428 return resultobj;
18429 fail:
18430 return NULL;
18431 }
18432
18433
18434 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18435 PyObject *resultobj;
18436 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18437 int arg2 ;
18438 int arg3 ;
18439 PyObject * obj0 = 0 ;
18440 char *kwnames[] = {
18441 (char *) "self",(char *) "x",(char *) "y", NULL
18442 };
18443
18444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIPrinter",kwnames,&obj0,&arg2,&arg3)) goto fail;
18445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18446 {
18447 PyThreadState* __tstate = wxPyBeginAllowThreads();
18448 (arg1)->SetPPIPrinter(arg2,arg3);
18449
18450 wxPyEndAllowThreads(__tstate);
18451 if (PyErr_Occurred()) SWIG_fail;
18452 }
18453 Py_INCREF(Py_None); resultobj = Py_None;
18454 return resultobj;
18455 fail:
18456 return NULL;
18457 }
18458
18459
18460 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18461 PyObject *resultobj;
18462 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18463 int *arg2 = (int *) 0 ;
18464 int *arg3 = (int *) 0 ;
18465 int temp2 ;
18466 int temp3 ;
18467 PyObject * obj0 = 0 ;
18468 char *kwnames[] = {
18469 (char *) "self", NULL
18470 };
18471
18472 arg2 = &temp2;
18473 arg3 = &temp3;
18474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
18475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18476 {
18477 PyThreadState* __tstate = wxPyBeginAllowThreads();
18478 (arg1)->GetPPIPrinter(arg2,arg3);
18479
18480 wxPyEndAllowThreads(__tstate);
18481 if (PyErr_Occurred()) SWIG_fail;
18482 }
18483 Py_INCREF(Py_None); resultobj = Py_None;
18484 {
18485 PyObject *o = PyInt_FromLong((long) (*arg2));
18486 resultobj = t_output_helper(resultobj,o);
18487 }
18488 {
18489 PyObject *o = PyInt_FromLong((long) (*arg3));
18490 resultobj = t_output_helper(resultobj,o);
18491 }
18492 return resultobj;
18493 fail:
18494 return NULL;
18495 }
18496
18497
18498 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18499 PyObject *resultobj;
18500 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18501 bool result;
18502 PyObject * obj0 = 0 ;
18503 char *kwnames[] = {
18504 (char *) "self", NULL
18505 };
18506
18507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
18508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18509 {
18510 PyThreadState* __tstate = wxPyBeginAllowThreads();
18511 result = (bool)(arg1)->IsPreview();
18512
18513 wxPyEndAllowThreads(__tstate);
18514 if (PyErr_Occurred()) SWIG_fail;
18515 }
18516 resultobj = PyInt_FromLong((long)result);
18517 return resultobj;
18518 fail:
18519 return NULL;
18520 }
18521
18522
18523 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18524 PyObject *resultobj;
18525 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18526 bool arg2 ;
18527 PyObject * obj0 = 0 ;
18528 PyObject * obj1 = 0 ;
18529 char *kwnames[] = {
18530 (char *) "self",(char *) "p", NULL
18531 };
18532
18533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
18534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18535 arg2 = PyInt_AsLong(obj1) ? true : false;
18536 if (PyErr_Occurred()) SWIG_fail;
18537 {
18538 PyThreadState* __tstate = wxPyBeginAllowThreads();
18539 (arg1)->SetIsPreview(arg2);
18540
18541 wxPyEndAllowThreads(__tstate);
18542 if (PyErr_Occurred()) SWIG_fail;
18543 }
18544 Py_INCREF(Py_None); resultobj = Py_None;
18545 return resultobj;
18546 fail:
18547 return NULL;
18548 }
18549
18550
18551 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
18552 PyObject *resultobj;
18553 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18554 int arg2 ;
18555 int arg3 ;
18556 bool result;
18557 PyObject * obj0 = 0 ;
18558 char *kwnames[] = {
18559 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
18560 };
18561
18562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_base_OnBeginDocument",kwnames,&obj0,&arg2,&arg3)) goto fail;
18563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18564 {
18565 PyThreadState* __tstate = wxPyBeginAllowThreads();
18566 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
18567
18568 wxPyEndAllowThreads(__tstate);
18569 if (PyErr_Occurred()) SWIG_fail;
18570 }
18571 resultobj = PyInt_FromLong((long)result);
18572 return resultobj;
18573 fail:
18574 return NULL;
18575 }
18576
18577
18578 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
18579 PyObject *resultobj;
18580 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18581 PyObject * obj0 = 0 ;
18582 char *kwnames[] = {
18583 (char *) "self", NULL
18584 };
18585
18586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
18587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18588 {
18589 PyThreadState* __tstate = wxPyBeginAllowThreads();
18590 (arg1)->base_OnEndDocument();
18591
18592 wxPyEndAllowThreads(__tstate);
18593 if (PyErr_Occurred()) SWIG_fail;
18594 }
18595 Py_INCREF(Py_None); resultobj = Py_None;
18596 return resultobj;
18597 fail:
18598 return NULL;
18599 }
18600
18601
18602 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18603 PyObject *resultobj;
18604 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18605 PyObject * obj0 = 0 ;
18606 char *kwnames[] = {
18607 (char *) "self", NULL
18608 };
18609
18610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
18611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18612 {
18613 PyThreadState* __tstate = wxPyBeginAllowThreads();
18614 (arg1)->base_OnBeginPrinting();
18615
18616 wxPyEndAllowThreads(__tstate);
18617 if (PyErr_Occurred()) SWIG_fail;
18618 }
18619 Py_INCREF(Py_None); resultobj = Py_None;
18620 return resultobj;
18621 fail:
18622 return NULL;
18623 }
18624
18625
18626 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18627 PyObject *resultobj;
18628 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18629 PyObject * obj0 = 0 ;
18630 char *kwnames[] = {
18631 (char *) "self", NULL
18632 };
18633
18634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
18635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18636 {
18637 PyThreadState* __tstate = wxPyBeginAllowThreads();
18638 (arg1)->base_OnEndPrinting();
18639
18640 wxPyEndAllowThreads(__tstate);
18641 if (PyErr_Occurred()) SWIG_fail;
18642 }
18643 Py_INCREF(Py_None); resultobj = Py_None;
18644 return resultobj;
18645 fail:
18646 return NULL;
18647 }
18648
18649
18650 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18651 PyObject *resultobj;
18652 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18653 PyObject * obj0 = 0 ;
18654 char *kwnames[] = {
18655 (char *) "self", NULL
18656 };
18657
18658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
18659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18660 {
18661 PyThreadState* __tstate = wxPyBeginAllowThreads();
18662 (arg1)->base_OnPreparePrinting();
18663
18664 wxPyEndAllowThreads(__tstate);
18665 if (PyErr_Occurred()) SWIG_fail;
18666 }
18667 Py_INCREF(Py_None); resultobj = Py_None;
18668 return resultobj;
18669 fail:
18670 return NULL;
18671 }
18672
18673
18674 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18675 PyObject *resultobj;
18676 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18677 int arg2 ;
18678 bool result;
18679 PyObject * obj0 = 0 ;
18680 char *kwnames[] = {
18681 (char *) "self",(char *) "page", NULL
18682 };
18683
18684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Printout_base_HasPage",kwnames,&obj0,&arg2)) goto fail;
18685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18686 {
18687 PyThreadState* __tstate = wxPyBeginAllowThreads();
18688 result = (bool)(arg1)->base_HasPage(arg2);
18689
18690 wxPyEndAllowThreads(__tstate);
18691 if (PyErr_Occurred()) SWIG_fail;
18692 }
18693 resultobj = PyInt_FromLong((long)result);
18694 return resultobj;
18695 fail:
18696 return NULL;
18697 }
18698
18699
18700 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18701 PyObject *resultobj;
18702 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18703 int *arg2 = (int *) 0 ;
18704 int *arg3 = (int *) 0 ;
18705 int *arg4 = (int *) 0 ;
18706 int *arg5 = (int *) 0 ;
18707 int temp2 ;
18708 int temp3 ;
18709 int temp4 ;
18710 int temp5 ;
18711 PyObject * obj0 = 0 ;
18712 char *kwnames[] = {
18713 (char *) "self", NULL
18714 };
18715
18716 arg2 = &temp2;
18717 arg3 = &temp3;
18718 arg4 = &temp4;
18719 arg5 = &temp5;
18720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
18721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18722 {
18723 PyThreadState* __tstate = wxPyBeginAllowThreads();
18724 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
18725
18726 wxPyEndAllowThreads(__tstate);
18727 if (PyErr_Occurred()) SWIG_fail;
18728 }
18729 Py_INCREF(Py_None); resultobj = Py_None;
18730 {
18731 PyObject *o = PyInt_FromLong((long) (*arg2));
18732 resultobj = t_output_helper(resultobj,o);
18733 }
18734 {
18735 PyObject *o = PyInt_FromLong((long) (*arg3));
18736 resultobj = t_output_helper(resultobj,o);
18737 }
18738 {
18739 PyObject *o = PyInt_FromLong((long) (*arg4));
18740 resultobj = t_output_helper(resultobj,o);
18741 }
18742 {
18743 PyObject *o = PyInt_FromLong((long) (*arg5));
18744 resultobj = t_output_helper(resultobj,o);
18745 }
18746 return resultobj;
18747 fail:
18748 return NULL;
18749 }
18750
18751
18752 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
18753 PyObject *obj;
18754 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18755 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
18756 Py_INCREF(obj);
18757 return Py_BuildValue((char *)"");
18758 }
18759 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
18760 PyObject *resultobj;
18761 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
18762 wxWindow *arg2 = (wxWindow *) 0 ;
18763 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18764 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18765 wxSize const &arg4_defvalue = wxDefaultSize ;
18766 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18767 long arg5 = (long) 0 ;
18768 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
18769 wxString *arg6 = (wxString *) &arg6_defvalue ;
18770 wxPreviewCanvas *result;
18771 wxPoint temp3 ;
18772 wxSize temp4 ;
18773 bool temp6 = False ;
18774 PyObject * obj0 = 0 ;
18775 PyObject * obj1 = 0 ;
18776 PyObject * obj2 = 0 ;
18777 PyObject * obj3 = 0 ;
18778 PyObject * obj5 = 0 ;
18779 char *kwnames[] = {
18780 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18781 };
18782
18783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
18784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18785 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18786 if (obj2) {
18787 {
18788 arg3 = &temp3;
18789 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18790 }
18791 }
18792 if (obj3) {
18793 {
18794 arg4 = &temp4;
18795 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18796 }
18797 }
18798 if (obj5) {
18799 {
18800 arg6 = wxString_in_helper(obj5);
18801 if (arg6 == NULL) SWIG_fail;
18802 temp6 = True;
18803 }
18804 }
18805 {
18806 PyThreadState* __tstate = wxPyBeginAllowThreads();
18807 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18808
18809 wxPyEndAllowThreads(__tstate);
18810 if (PyErr_Occurred()) SWIG_fail;
18811 }
18812 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 1);
18813 {
18814 if (temp6)
18815 delete arg6;
18816 }
18817 return resultobj;
18818 fail:
18819 {
18820 if (temp6)
18821 delete arg6;
18822 }
18823 return NULL;
18824 }
18825
18826
18827 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
18828 PyObject *obj;
18829 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18830 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
18831 Py_INCREF(obj);
18832 return Py_BuildValue((char *)"");
18833 }
18834 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
18835 PyObject *resultobj;
18836 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
18837 wxFrame *arg2 = (wxFrame *) 0 ;
18838 wxString *arg3 = 0 ;
18839 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18840 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18841 wxSize const &arg5_defvalue = wxDefaultSize ;
18842 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18843 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
18844 wxString const &arg7_defvalue = wxPyFrameNameStr ;
18845 wxString *arg7 = (wxString *) &arg7_defvalue ;
18846 wxPreviewFrame *result;
18847 bool temp3 = False ;
18848 wxPoint temp4 ;
18849 wxSize temp5 ;
18850 bool temp7 = False ;
18851 PyObject * obj0 = 0 ;
18852 PyObject * obj1 = 0 ;
18853 PyObject * obj2 = 0 ;
18854 PyObject * obj3 = 0 ;
18855 PyObject * obj4 = 0 ;
18856 PyObject * obj6 = 0 ;
18857 char *kwnames[] = {
18858 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18859 };
18860
18861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
18862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18863 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18864 {
18865 arg3 = wxString_in_helper(obj2);
18866 if (arg3 == NULL) SWIG_fail;
18867 temp3 = True;
18868 }
18869 if (obj3) {
18870 {
18871 arg4 = &temp4;
18872 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18873 }
18874 }
18875 if (obj4) {
18876 {
18877 arg5 = &temp5;
18878 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18879 }
18880 }
18881 if (obj6) {
18882 {
18883 arg7 = wxString_in_helper(obj6);
18884 if (arg7 == NULL) SWIG_fail;
18885 temp7 = True;
18886 }
18887 }
18888 {
18889 PyThreadState* __tstate = wxPyBeginAllowThreads();
18890 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18891
18892 wxPyEndAllowThreads(__tstate);
18893 if (PyErr_Occurred()) SWIG_fail;
18894 }
18895 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewFrame, 1);
18896 {
18897 if (temp3)
18898 delete arg3;
18899 }
18900 {
18901 if (temp7)
18902 delete arg7;
18903 }
18904 return resultobj;
18905 fail:
18906 {
18907 if (temp3)
18908 delete arg3;
18909 }
18910 {
18911 if (temp7)
18912 delete arg7;
18913 }
18914 return NULL;
18915 }
18916
18917
18918 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
18919 PyObject *resultobj;
18920 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
18921 PyObject * obj0 = 0 ;
18922 char *kwnames[] = {
18923 (char *) "self", NULL
18924 };
18925
18926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
18927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18928 {
18929 PyThreadState* __tstate = wxPyBeginAllowThreads();
18930 (arg1)->Initialize();
18931
18932 wxPyEndAllowThreads(__tstate);
18933 if (PyErr_Occurred()) SWIG_fail;
18934 }
18935 Py_INCREF(Py_None); resultobj = Py_None;
18936 return resultobj;
18937 fail:
18938 return NULL;
18939 }
18940
18941
18942 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
18943 PyObject *resultobj;
18944 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
18945 PyObject * obj0 = 0 ;
18946 char *kwnames[] = {
18947 (char *) "self", NULL
18948 };
18949
18950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
18951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18952 {
18953 PyThreadState* __tstate = wxPyBeginAllowThreads();
18954 (arg1)->CreateControlBar();
18955
18956 wxPyEndAllowThreads(__tstate);
18957 if (PyErr_Occurred()) SWIG_fail;
18958 }
18959 Py_INCREF(Py_None); resultobj = Py_None;
18960 return resultobj;
18961 fail:
18962 return NULL;
18963 }
18964
18965
18966 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
18967 PyObject *resultobj;
18968 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
18969 PyObject * obj0 = 0 ;
18970 char *kwnames[] = {
18971 (char *) "self", NULL
18972 };
18973
18974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
18975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18976 {
18977 PyThreadState* __tstate = wxPyBeginAllowThreads();
18978 (arg1)->CreateCanvas();
18979
18980 wxPyEndAllowThreads(__tstate);
18981 if (PyErr_Occurred()) SWIG_fail;
18982 }
18983 Py_INCREF(Py_None); resultobj = Py_None;
18984 return resultobj;
18985 fail:
18986 return NULL;
18987 }
18988
18989
18990 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
18991 PyObject *resultobj;
18992 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
18993 wxPreviewControlBar *result;
18994 PyObject * obj0 = 0 ;
18995 char *kwnames[] = {
18996 (char *) "self", NULL
18997 };
18998
18999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
19000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19001 {
19002 PyThreadState* __tstate = wxPyBeginAllowThreads();
19003 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
19004
19005 wxPyEndAllowThreads(__tstate);
19006 if (PyErr_Occurred()) SWIG_fail;
19007 }
19008 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 0);
19009 return resultobj;
19010 fail:
19011 return NULL;
19012 }
19013
19014
19015 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
19016 PyObject *obj;
19017 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19018 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
19019 Py_INCREF(obj);
19020 return Py_BuildValue((char *)"");
19021 }
19022 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19023 PyObject *resultobj;
19024 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19025 long arg2 ;
19026 wxWindow *arg3 = (wxWindow *) 0 ;
19027 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19028 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19029 wxSize const &arg5_defvalue = wxDefaultSize ;
19030 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19031 long arg6 = (long) wxTAB_TRAVERSAL ;
19032 wxString const &arg7_defvalue = wxPyPanelNameStr ;
19033 wxString *arg7 = (wxString *) &arg7_defvalue ;
19034 wxPreviewControlBar *result;
19035 wxPoint temp4 ;
19036 wxSize temp5 ;
19037 bool temp7 = False ;
19038 PyObject * obj0 = 0 ;
19039 PyObject * obj2 = 0 ;
19040 PyObject * obj3 = 0 ;
19041 PyObject * obj4 = 0 ;
19042 PyObject * obj6 = 0 ;
19043 char *kwnames[] = {
19044 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19045 };
19046
19047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
19048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19049 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19050 if (obj3) {
19051 {
19052 arg4 = &temp4;
19053 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19054 }
19055 }
19056 if (obj4) {
19057 {
19058 arg5 = &temp5;
19059 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19060 }
19061 }
19062 if (obj6) {
19063 {
19064 arg7 = wxString_in_helper(obj6);
19065 if (arg7 == NULL) SWIG_fail;
19066 temp7 = True;
19067 }
19068 }
19069 {
19070 PyThreadState* __tstate = wxPyBeginAllowThreads();
19071 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19072
19073 wxPyEndAllowThreads(__tstate);
19074 if (PyErr_Occurred()) SWIG_fail;
19075 }
19076 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 1);
19077 {
19078 if (temp7)
19079 delete arg7;
19080 }
19081 return resultobj;
19082 fail:
19083 {
19084 if (temp7)
19085 delete arg7;
19086 }
19087 return NULL;
19088 }
19089
19090
19091 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19092 PyObject *resultobj;
19093 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19094 int result;
19095 PyObject * obj0 = 0 ;
19096 char *kwnames[] = {
19097 (char *) "self", NULL
19098 };
19099
19100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
19101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19102 {
19103 PyThreadState* __tstate = wxPyBeginAllowThreads();
19104 result = (int)(arg1)->GetZoomControl();
19105
19106 wxPyEndAllowThreads(__tstate);
19107 if (PyErr_Occurred()) SWIG_fail;
19108 }
19109 resultobj = PyInt_FromLong((long)result);
19110 return resultobj;
19111 fail:
19112 return NULL;
19113 }
19114
19115
19116 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19117 PyObject *resultobj;
19118 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19119 int arg2 ;
19120 PyObject * obj0 = 0 ;
19121 char *kwnames[] = {
19122 (char *) "self",(char *) "zoom", NULL
19123 };
19124
19125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PreviewControlBar_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
19126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19127 {
19128 PyThreadState* __tstate = wxPyBeginAllowThreads();
19129 (arg1)->SetZoomControl(arg2);
19130
19131 wxPyEndAllowThreads(__tstate);
19132 if (PyErr_Occurred()) SWIG_fail;
19133 }
19134 Py_INCREF(Py_None); resultobj = Py_None;
19135 return resultobj;
19136 fail:
19137 return NULL;
19138 }
19139
19140
19141 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19142 PyObject *resultobj;
19143 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19144 wxPrintPreview *result;
19145 PyObject * obj0 = 0 ;
19146 char *kwnames[] = {
19147 (char *) "self", NULL
19148 };
19149
19150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
19151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19152 {
19153 PyThreadState* __tstate = wxPyBeginAllowThreads();
19154 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
19155
19156 wxPyEndAllowThreads(__tstate);
19157 if (PyErr_Occurred()) SWIG_fail;
19158 }
19159 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 0);
19160 return resultobj;
19161 fail:
19162 return NULL;
19163 }
19164
19165
19166 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
19167 PyObject *resultobj;
19168 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19169 PyObject * obj0 = 0 ;
19170 char *kwnames[] = {
19171 (char *) "self", NULL
19172 };
19173
19174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
19175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19176 {
19177 PyThreadState* __tstate = wxPyBeginAllowThreads();
19178 (arg1)->OnNext();
19179
19180 wxPyEndAllowThreads(__tstate);
19181 if (PyErr_Occurred()) SWIG_fail;
19182 }
19183 Py_INCREF(Py_None); resultobj = Py_None;
19184 return resultobj;
19185 fail:
19186 return NULL;
19187 }
19188
19189
19190 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
19191 PyObject *resultobj;
19192 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19193 PyObject * obj0 = 0 ;
19194 char *kwnames[] = {
19195 (char *) "self", NULL
19196 };
19197
19198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
19199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19200 {
19201 PyThreadState* __tstate = wxPyBeginAllowThreads();
19202 (arg1)->OnPrevious();
19203
19204 wxPyEndAllowThreads(__tstate);
19205 if (PyErr_Occurred()) SWIG_fail;
19206 }
19207 Py_INCREF(Py_None); resultobj = Py_None;
19208 return resultobj;
19209 fail:
19210 return NULL;
19211 }
19212
19213
19214 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
19215 PyObject *resultobj;
19216 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19217 PyObject * obj0 = 0 ;
19218 char *kwnames[] = {
19219 (char *) "self", NULL
19220 };
19221
19222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
19223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19224 {
19225 PyThreadState* __tstate = wxPyBeginAllowThreads();
19226 (arg1)->OnFirst();
19227
19228 wxPyEndAllowThreads(__tstate);
19229 if (PyErr_Occurred()) SWIG_fail;
19230 }
19231 Py_INCREF(Py_None); resultobj = Py_None;
19232 return resultobj;
19233 fail:
19234 return NULL;
19235 }
19236
19237
19238 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
19239 PyObject *resultobj;
19240 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19241 PyObject * obj0 = 0 ;
19242 char *kwnames[] = {
19243 (char *) "self", NULL
19244 };
19245
19246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
19247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19248 {
19249 PyThreadState* __tstate = wxPyBeginAllowThreads();
19250 (arg1)->OnLast();
19251
19252 wxPyEndAllowThreads(__tstate);
19253 if (PyErr_Occurred()) SWIG_fail;
19254 }
19255 Py_INCREF(Py_None); resultobj = Py_None;
19256 return resultobj;
19257 fail:
19258 return NULL;
19259 }
19260
19261
19262 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
19263 PyObject *resultobj;
19264 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19265 PyObject * obj0 = 0 ;
19266 char *kwnames[] = {
19267 (char *) "self", NULL
19268 };
19269
19270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
19271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19272 {
19273 PyThreadState* __tstate = wxPyBeginAllowThreads();
19274 (arg1)->OnGoto();
19275
19276 wxPyEndAllowThreads(__tstate);
19277 if (PyErr_Occurred()) SWIG_fail;
19278 }
19279 Py_INCREF(Py_None); resultobj = Py_None;
19280 return resultobj;
19281 fail:
19282 return NULL;
19283 }
19284
19285
19286 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
19287 PyObject *obj;
19288 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19289 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
19290 Py_INCREF(obj);
19291 return Py_BuildValue((char *)"");
19292 }
19293 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19294 PyObject *resultobj;
19295 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19296 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19297 wxPrintData *arg3 = (wxPrintData *) NULL ;
19298 wxPrintPreview *result;
19299 PyObject * obj0 = 0 ;
19300 PyObject * obj1 = 0 ;
19301 PyObject * obj2 = 0 ;
19302 char *kwnames[] = {
19303 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19304 };
19305
19306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
19307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19308 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19309 if (obj2) {
19310 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19311 }
19312 {
19313 PyThreadState* __tstate = wxPyBeginAllowThreads();
19314 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
19315
19316 wxPyEndAllowThreads(__tstate);
19317 if (PyErr_Occurred()) SWIG_fail;
19318 }
19319 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 1);
19320 return resultobj;
19321 fail:
19322 return NULL;
19323 }
19324
19325
19326 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19327 PyObject *resultobj;
19328 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19329 int arg2 ;
19330 bool result;
19331 PyObject * obj0 = 0 ;
19332 char *kwnames[] = {
19333 (char *) "self",(char *) "pageNum", NULL
19334 };
19335
19336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
19337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19338 {
19339 PyThreadState* __tstate = wxPyBeginAllowThreads();
19340 result = (bool)(arg1)->SetCurrentPage(arg2);
19341
19342 wxPyEndAllowThreads(__tstate);
19343 if (PyErr_Occurred()) SWIG_fail;
19344 }
19345 resultobj = PyInt_FromLong((long)result);
19346 return resultobj;
19347 fail:
19348 return NULL;
19349 }
19350
19351
19352 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19353 PyObject *resultobj;
19354 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19355 int result;
19356 PyObject * obj0 = 0 ;
19357 char *kwnames[] = {
19358 (char *) "self", NULL
19359 };
19360
19361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
19362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19363 {
19364 PyThreadState* __tstate = wxPyBeginAllowThreads();
19365 result = (int)(arg1)->GetCurrentPage();
19366
19367 wxPyEndAllowThreads(__tstate);
19368 if (PyErr_Occurred()) SWIG_fail;
19369 }
19370 resultobj = PyInt_FromLong((long)result);
19371 return resultobj;
19372 fail:
19373 return NULL;
19374 }
19375
19376
19377 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19378 PyObject *resultobj;
19379 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19380 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19381 PyObject * obj0 = 0 ;
19382 PyObject * obj1 = 0 ;
19383 char *kwnames[] = {
19384 (char *) "self",(char *) "printout", NULL
19385 };
19386
19387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
19388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19389 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19390 {
19391 PyThreadState* __tstate = wxPyBeginAllowThreads();
19392 (arg1)->SetPrintout(arg2);
19393
19394 wxPyEndAllowThreads(__tstate);
19395 if (PyErr_Occurred()) SWIG_fail;
19396 }
19397 Py_INCREF(Py_None); resultobj = Py_None;
19398 return resultobj;
19399 fail:
19400 return NULL;
19401 }
19402
19403
19404 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19405 PyObject *resultobj;
19406 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19407 wxPyPrintout *result;
19408 PyObject * obj0 = 0 ;
19409 char *kwnames[] = {
19410 (char *) "self", NULL
19411 };
19412
19413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
19414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19415 {
19416 PyThreadState* __tstate = wxPyBeginAllowThreads();
19417 result = (wxPyPrintout *)(arg1)->GetPrintout();
19418
19419 wxPyEndAllowThreads(__tstate);
19420 if (PyErr_Occurred()) SWIG_fail;
19421 }
19422 {
19423 resultobj = wxPyMake_wxObject(result);
19424 }
19425 return resultobj;
19426 fail:
19427 return NULL;
19428 }
19429
19430
19431 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
19432 PyObject *resultobj;
19433 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19434 wxPyPrintout *result;
19435 PyObject * obj0 = 0 ;
19436 char *kwnames[] = {
19437 (char *) "self", NULL
19438 };
19439
19440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
19441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19442 {
19443 PyThreadState* __tstate = wxPyBeginAllowThreads();
19444 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
19445
19446 wxPyEndAllowThreads(__tstate);
19447 if (PyErr_Occurred()) SWIG_fail;
19448 }
19449 {
19450 resultobj = wxPyMake_wxObject(result);
19451 }
19452 return resultobj;
19453 fail:
19454 return NULL;
19455 }
19456
19457
19458 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19459 PyObject *resultobj;
19460 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19461 wxFrame *arg2 = (wxFrame *) 0 ;
19462 PyObject * obj0 = 0 ;
19463 PyObject * obj1 = 0 ;
19464 char *kwnames[] = {
19465 (char *) "self",(char *) "frame", NULL
19466 };
19467
19468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
19469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19470 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19471 {
19472 PyThreadState* __tstate = wxPyBeginAllowThreads();
19473 (arg1)->SetFrame(arg2);
19474
19475 wxPyEndAllowThreads(__tstate);
19476 if (PyErr_Occurred()) SWIG_fail;
19477 }
19478 Py_INCREF(Py_None); resultobj = Py_None;
19479 return resultobj;
19480 fail:
19481 return NULL;
19482 }
19483
19484
19485 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19486 PyObject *resultobj;
19487 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19488 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19489 PyObject * obj0 = 0 ;
19490 PyObject * obj1 = 0 ;
19491 char *kwnames[] = {
19492 (char *) "self",(char *) "canvas", NULL
19493 };
19494
19495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
19496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19497 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19498 {
19499 PyThreadState* __tstate = wxPyBeginAllowThreads();
19500 (arg1)->SetCanvas(arg2);
19501
19502 wxPyEndAllowThreads(__tstate);
19503 if (PyErr_Occurred()) SWIG_fail;
19504 }
19505 Py_INCREF(Py_None); resultobj = Py_None;
19506 return resultobj;
19507 fail:
19508 return NULL;
19509 }
19510
19511
19512 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19513 PyObject *resultobj;
19514 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19515 wxFrame *result;
19516 PyObject * obj0 = 0 ;
19517 char *kwnames[] = {
19518 (char *) "self", NULL
19519 };
19520
19521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
19522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19523 {
19524 PyThreadState* __tstate = wxPyBeginAllowThreads();
19525 result = (wxFrame *)(arg1)->GetFrame();
19526
19527 wxPyEndAllowThreads(__tstate);
19528 if (PyErr_Occurred()) SWIG_fail;
19529 }
19530 {
19531 resultobj = wxPyMake_wxObject(result);
19532 }
19533 return resultobj;
19534 fail:
19535 return NULL;
19536 }
19537
19538
19539 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19540 PyObject *resultobj;
19541 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19542 wxPreviewCanvas *result;
19543 PyObject * obj0 = 0 ;
19544 char *kwnames[] = {
19545 (char *) "self", NULL
19546 };
19547
19548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
19549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19550 {
19551 PyThreadState* __tstate = wxPyBeginAllowThreads();
19552 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
19553
19554 wxPyEndAllowThreads(__tstate);
19555 if (PyErr_Occurred()) SWIG_fail;
19556 }
19557 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 0);
19558 return resultobj;
19559 fail:
19560 return NULL;
19561 }
19562
19563
19564 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19565 PyObject *resultobj;
19566 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19567 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19568 wxDC *arg3 = 0 ;
19569 bool result;
19570 PyObject * obj0 = 0 ;
19571 PyObject * obj1 = 0 ;
19572 PyObject * obj2 = 0 ;
19573 char *kwnames[] = {
19574 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19575 };
19576
19577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
19578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19579 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19580 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19581 if (arg3 == NULL) {
19582 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19583 }
19584 {
19585 PyThreadState* __tstate = wxPyBeginAllowThreads();
19586 result = (bool)(arg1)->PaintPage(arg2,*arg3);
19587
19588 wxPyEndAllowThreads(__tstate);
19589 if (PyErr_Occurred()) SWIG_fail;
19590 }
19591 resultobj = PyInt_FromLong((long)result);
19592 return resultobj;
19593 fail:
19594 return NULL;
19595 }
19596
19597
19598 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19599 PyObject *resultobj;
19600 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19601 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19602 wxDC *arg3 = 0 ;
19603 bool result;
19604 PyObject * obj0 = 0 ;
19605 PyObject * obj1 = 0 ;
19606 PyObject * obj2 = 0 ;
19607 char *kwnames[] = {
19608 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19609 };
19610
19611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
19612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19613 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19614 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19615 if (arg3 == NULL) {
19616 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19617 }
19618 {
19619 PyThreadState* __tstate = wxPyBeginAllowThreads();
19620 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
19621
19622 wxPyEndAllowThreads(__tstate);
19623 if (PyErr_Occurred()) SWIG_fail;
19624 }
19625 resultobj = PyInt_FromLong((long)result);
19626 return resultobj;
19627 fail:
19628 return NULL;
19629 }
19630
19631
19632 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19633 PyObject *resultobj;
19634 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19635 int arg2 ;
19636 bool result;
19637 PyObject * obj0 = 0 ;
19638 char *kwnames[] = {
19639 (char *) "self",(char *) "pageNum", NULL
19640 };
19641
19642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_RenderPage",kwnames,&obj0,&arg2)) goto fail;
19643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19644 {
19645 PyThreadState* __tstate = wxPyBeginAllowThreads();
19646 result = (bool)(arg1)->RenderPage(arg2);
19647
19648 wxPyEndAllowThreads(__tstate);
19649 if (PyErr_Occurred()) SWIG_fail;
19650 }
19651 resultobj = PyInt_FromLong((long)result);
19652 return resultobj;
19653 fail:
19654 return NULL;
19655 }
19656
19657
19658 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
19659 PyObject *resultobj;
19660 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19661 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19662 PyObject * obj0 = 0 ;
19663 PyObject * obj1 = 0 ;
19664 char *kwnames[] = {
19665 (char *) "self",(char *) "canvas", NULL
19666 };
19667
19668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
19669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19670 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19671 {
19672 PyThreadState* __tstate = wxPyBeginAllowThreads();
19673 (arg1)->AdjustScrollbars(arg2);
19674
19675 wxPyEndAllowThreads(__tstate);
19676 if (PyErr_Occurred()) SWIG_fail;
19677 }
19678 Py_INCREF(Py_None); resultobj = Py_None;
19679 return resultobj;
19680 fail:
19681 return NULL;
19682 }
19683
19684
19685 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19686 PyObject *resultobj;
19687 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19688 wxPrintDialogData *result;
19689 PyObject * obj0 = 0 ;
19690 char *kwnames[] = {
19691 (char *) "self", NULL
19692 };
19693
19694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
19695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19696 {
19697 PyThreadState* __tstate = wxPyBeginAllowThreads();
19698 {
19699 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
19700 result = (wxPrintDialogData *) &_result_ref;
19701 }
19702
19703 wxPyEndAllowThreads(__tstate);
19704 if (PyErr_Occurred()) SWIG_fail;
19705 }
19706 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
19707 return resultobj;
19708 fail:
19709 return NULL;
19710 }
19711
19712
19713 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
19714 PyObject *resultobj;
19715 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19716 int arg2 ;
19717 PyObject * obj0 = 0 ;
19718 char *kwnames[] = {
19719 (char *) "self",(char *) "percent", NULL
19720 };
19721
19722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetZoom",kwnames,&obj0,&arg2)) goto fail;
19723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19724 {
19725 PyThreadState* __tstate = wxPyBeginAllowThreads();
19726 (arg1)->SetZoom(arg2);
19727
19728 wxPyEndAllowThreads(__tstate);
19729 if (PyErr_Occurred()) SWIG_fail;
19730 }
19731 Py_INCREF(Py_None); resultobj = Py_None;
19732 return resultobj;
19733 fail:
19734 return NULL;
19735 }
19736
19737
19738 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
19739 PyObject *resultobj;
19740 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19741 int result;
19742 PyObject * obj0 = 0 ;
19743 char *kwnames[] = {
19744 (char *) "self", NULL
19745 };
19746
19747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
19748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19749 {
19750 PyThreadState* __tstate = wxPyBeginAllowThreads();
19751 result = (int)(arg1)->GetZoom();
19752
19753 wxPyEndAllowThreads(__tstate);
19754 if (PyErr_Occurred()) SWIG_fail;
19755 }
19756 resultobj = PyInt_FromLong((long)result);
19757 return resultobj;
19758 fail:
19759 return NULL;
19760 }
19761
19762
19763 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19764 PyObject *resultobj;
19765 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19766 int result;
19767 PyObject * obj0 = 0 ;
19768 char *kwnames[] = {
19769 (char *) "self", NULL
19770 };
19771
19772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
19773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19774 {
19775 PyThreadState* __tstate = wxPyBeginAllowThreads();
19776 result = (int)(arg1)->GetMaxPage();
19777
19778 wxPyEndAllowThreads(__tstate);
19779 if (PyErr_Occurred()) SWIG_fail;
19780 }
19781 resultobj = PyInt_FromLong((long)result);
19782 return resultobj;
19783 fail:
19784 return NULL;
19785 }
19786
19787
19788 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19789 PyObject *resultobj;
19790 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19791 int result;
19792 PyObject * obj0 = 0 ;
19793 char *kwnames[] = {
19794 (char *) "self", NULL
19795 };
19796
19797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
19798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19799 {
19800 PyThreadState* __tstate = wxPyBeginAllowThreads();
19801 result = (int)(arg1)->GetMinPage();
19802
19803 wxPyEndAllowThreads(__tstate);
19804 if (PyErr_Occurred()) SWIG_fail;
19805 }
19806 resultobj = PyInt_FromLong((long)result);
19807 return resultobj;
19808 fail:
19809 return NULL;
19810 }
19811
19812
19813 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19814 PyObject *resultobj;
19815 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19816 bool result;
19817 PyObject * obj0 = 0 ;
19818 char *kwnames[] = {
19819 (char *) "self", NULL
19820 };
19821
19822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
19823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19824 {
19825 PyThreadState* __tstate = wxPyBeginAllowThreads();
19826 result = (bool)(arg1)->Ok();
19827
19828 wxPyEndAllowThreads(__tstate);
19829 if (PyErr_Occurred()) SWIG_fail;
19830 }
19831 resultobj = PyInt_FromLong((long)result);
19832 return resultobj;
19833 fail:
19834 return NULL;
19835 }
19836
19837
19838 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
19839 PyObject *resultobj;
19840 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19841 bool arg2 ;
19842 PyObject * obj0 = 0 ;
19843 PyObject * obj1 = 0 ;
19844 char *kwnames[] = {
19845 (char *) "self",(char *) "ok", NULL
19846 };
19847
19848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
19849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19850 arg2 = PyInt_AsLong(obj1) ? true : false;
19851 if (PyErr_Occurred()) SWIG_fail;
19852 {
19853 PyThreadState* __tstate = wxPyBeginAllowThreads();
19854 (arg1)->SetOk(arg2);
19855
19856 wxPyEndAllowThreads(__tstate);
19857 if (PyErr_Occurred()) SWIG_fail;
19858 }
19859 Py_INCREF(Py_None); resultobj = Py_None;
19860 return resultobj;
19861 fail:
19862 return NULL;
19863 }
19864
19865
19866 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
19867 PyObject *resultobj;
19868 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19869 bool arg2 ;
19870 bool result;
19871 PyObject * obj0 = 0 ;
19872 PyObject * obj1 = 0 ;
19873 char *kwnames[] = {
19874 (char *) "self",(char *) "interactive", NULL
19875 };
19876
19877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
19878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19879 arg2 = PyInt_AsLong(obj1) ? true : false;
19880 if (PyErr_Occurred()) SWIG_fail;
19881 {
19882 PyThreadState* __tstate = wxPyBeginAllowThreads();
19883 result = (bool)(arg1)->Print(arg2);
19884
19885 wxPyEndAllowThreads(__tstate);
19886 if (PyErr_Occurred()) SWIG_fail;
19887 }
19888 resultobj = PyInt_FromLong((long)result);
19889 return resultobj;
19890 fail:
19891 return NULL;
19892 }
19893
19894
19895 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
19896 PyObject *resultobj;
19897 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19898 PyObject * obj0 = 0 ;
19899 char *kwnames[] = {
19900 (char *) "self", NULL
19901 };
19902
19903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
19904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19905 {
19906 PyThreadState* __tstate = wxPyBeginAllowThreads();
19907 (arg1)->DetermineScaling();
19908
19909 wxPyEndAllowThreads(__tstate);
19910 if (PyErr_Occurred()) SWIG_fail;
19911 }
19912 Py_INCREF(Py_None); resultobj = Py_None;
19913 return resultobj;
19914 fail:
19915 return NULL;
19916 }
19917
19918
19919 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
19920 PyObject *obj;
19921 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19922 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
19923 Py_INCREF(obj);
19924 return Py_BuildValue((char *)"");
19925 }
19926 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19927 PyObject *resultobj;
19928 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19929 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19930 wxPrintData *arg3 = (wxPrintData *) NULL ;
19931 wxPyPrintPreview *result;
19932 PyObject * obj0 = 0 ;
19933 PyObject * obj1 = 0 ;
19934 PyObject * obj2 = 0 ;
19935 char *kwnames[] = {
19936 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19937 };
19938
19939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PyPrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
19940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19941 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19942 if (obj2) {
19943 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19944 }
19945 {
19946 PyThreadState* __tstate = wxPyBeginAllowThreads();
19947 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
19948
19949 wxPyEndAllowThreads(__tstate);
19950 if (PyErr_Occurred()) SWIG_fail;
19951 }
19952 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPrintPreview, 1);
19953 return resultobj;
19954 fail:
19955 return NULL;
19956 }
19957
19958
19959 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19960 PyObject *resultobj;
19961 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
19962 PyObject *arg2 = (PyObject *) 0 ;
19963 PyObject *arg3 = (PyObject *) 0 ;
19964 PyObject * obj0 = 0 ;
19965 PyObject * obj1 = 0 ;
19966 PyObject * obj2 = 0 ;
19967 char *kwnames[] = {
19968 (char *) "self",(char *) "self",(char *) "_class", NULL
19969 };
19970
19971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19973 arg2 = obj1;
19974 arg3 = obj2;
19975 {
19976 PyThreadState* __tstate = wxPyBeginAllowThreads();
19977 (arg1)->_setCallbackInfo(arg2,arg3);
19978
19979 wxPyEndAllowThreads(__tstate);
19980 if (PyErr_Occurred()) SWIG_fail;
19981 }
19982 Py_INCREF(Py_None); resultobj = Py_None;
19983 return resultobj;
19984 fail:
19985 return NULL;
19986 }
19987
19988
19989 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19990 PyObject *resultobj;
19991 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
19992 int arg2 ;
19993 bool result;
19994 PyObject * obj0 = 0 ;
19995 char *kwnames[] = {
19996 (char *) "self",(char *) "pageNum", NULL
19997 };
19998
19999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
20000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20001 {
20002 PyThreadState* __tstate = wxPyBeginAllowThreads();
20003 result = (bool)(arg1)->base_SetCurrentPage(arg2);
20004
20005 wxPyEndAllowThreads(__tstate);
20006 if (PyErr_Occurred()) SWIG_fail;
20007 }
20008 resultobj = PyInt_FromLong((long)result);
20009 return resultobj;
20010 fail:
20011 return NULL;
20012 }
20013
20014
20015 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20016 PyObject *resultobj;
20017 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20018 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20019 wxDC *arg3 = 0 ;
20020 bool result;
20021 PyObject * obj0 = 0 ;
20022 PyObject * obj1 = 0 ;
20023 PyObject * obj2 = 0 ;
20024 char *kwnames[] = {
20025 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20026 };
20027
20028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20030 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20031 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20032 if (arg3 == NULL) {
20033 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20034 }
20035 {
20036 PyThreadState* __tstate = wxPyBeginAllowThreads();
20037 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
20038
20039 wxPyEndAllowThreads(__tstate);
20040 if (PyErr_Occurred()) SWIG_fail;
20041 }
20042 resultobj = PyInt_FromLong((long)result);
20043 return resultobj;
20044 fail:
20045 return NULL;
20046 }
20047
20048
20049 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20050 PyObject *resultobj;
20051 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20052 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20053 wxDC *arg3 = 0 ;
20054 bool result;
20055 PyObject * obj0 = 0 ;
20056 PyObject * obj1 = 0 ;
20057 PyObject * obj2 = 0 ;
20058 char *kwnames[] = {
20059 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20060 };
20061
20062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20064 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20065 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20066 if (arg3 == NULL) {
20067 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20068 }
20069 {
20070 PyThreadState* __tstate = wxPyBeginAllowThreads();
20071 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
20072
20073 wxPyEndAllowThreads(__tstate);
20074 if (PyErr_Occurred()) SWIG_fail;
20075 }
20076 resultobj = PyInt_FromLong((long)result);
20077 return resultobj;
20078 fail:
20079 return NULL;
20080 }
20081
20082
20083 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20084 PyObject *resultobj;
20085 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20086 int arg2 ;
20087 bool result;
20088 PyObject * obj0 = 0 ;
20089 char *kwnames[] = {
20090 (char *) "self",(char *) "pageNum", NULL
20091 };
20092
20093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_RenderPage",kwnames,&obj0,&arg2)) goto fail;
20094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20095 {
20096 PyThreadState* __tstate = wxPyBeginAllowThreads();
20097 result = (bool)(arg1)->base_RenderPage(arg2);
20098
20099 wxPyEndAllowThreads(__tstate);
20100 if (PyErr_Occurred()) SWIG_fail;
20101 }
20102 resultobj = PyInt_FromLong((long)result);
20103 return resultobj;
20104 fail:
20105 return NULL;
20106 }
20107
20108
20109 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20110 PyObject *resultobj;
20111 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20112 int arg2 ;
20113 PyObject * obj0 = 0 ;
20114 char *kwnames[] = {
20115 (char *) "self",(char *) "percent", NULL
20116 };
20117
20118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetZoom",kwnames,&obj0,&arg2)) goto fail;
20119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20120 {
20121 PyThreadState* __tstate = wxPyBeginAllowThreads();
20122 (arg1)->base_SetZoom(arg2);
20123
20124 wxPyEndAllowThreads(__tstate);
20125 if (PyErr_Occurred()) SWIG_fail;
20126 }
20127 Py_INCREF(Py_None); resultobj = Py_None;
20128 return resultobj;
20129 fail:
20130 return NULL;
20131 }
20132
20133
20134 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
20135 PyObject *resultobj;
20136 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20137 bool arg2 ;
20138 bool result;
20139 PyObject * obj0 = 0 ;
20140 PyObject * obj1 = 0 ;
20141 char *kwnames[] = {
20142 (char *) "self",(char *) "interactive", NULL
20143 };
20144
20145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
20146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20147 arg2 = PyInt_AsLong(obj1) ? true : false;
20148 if (PyErr_Occurred()) SWIG_fail;
20149 {
20150 PyThreadState* __tstate = wxPyBeginAllowThreads();
20151 result = (bool)(arg1)->base_Print(arg2);
20152
20153 wxPyEndAllowThreads(__tstate);
20154 if (PyErr_Occurred()) SWIG_fail;
20155 }
20156 resultobj = PyInt_FromLong((long)result);
20157 return resultobj;
20158 fail:
20159 return NULL;
20160 }
20161
20162
20163 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
20164 PyObject *resultobj;
20165 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20166 PyObject * obj0 = 0 ;
20167 char *kwnames[] = {
20168 (char *) "self", NULL
20169 };
20170
20171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
20172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20173 {
20174 PyThreadState* __tstate = wxPyBeginAllowThreads();
20175 (arg1)->base_DetermineScaling();
20176
20177 wxPyEndAllowThreads(__tstate);
20178 if (PyErr_Occurred()) SWIG_fail;
20179 }
20180 Py_INCREF(Py_None); resultobj = Py_None;
20181 return resultobj;
20182 fail:
20183 return NULL;
20184 }
20185
20186
20187 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
20188 PyObject *obj;
20189 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20190 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
20191 Py_INCREF(obj);
20192 return Py_BuildValue((char *)"");
20193 }
20194 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
20195 PyObject *resultobj;
20196 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20197 wxFrame *arg2 = (wxFrame *) 0 ;
20198 wxString *arg3 = 0 ;
20199 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20200 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20201 wxSize const &arg5_defvalue = wxDefaultSize ;
20202 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20203 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20204 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20205 wxString *arg7 = (wxString *) &arg7_defvalue ;
20206 wxPyPreviewFrame *result;
20207 bool temp3 = False ;
20208 wxPoint temp4 ;
20209 wxSize temp5 ;
20210 bool temp7 = False ;
20211 PyObject * obj0 = 0 ;
20212 PyObject * obj1 = 0 ;
20213 PyObject * obj2 = 0 ;
20214 PyObject * obj3 = 0 ;
20215 PyObject * obj4 = 0 ;
20216 PyObject * obj6 = 0 ;
20217 char *kwnames[] = {
20218 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20219 };
20220
20221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20223 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20224 {
20225 arg3 = wxString_in_helper(obj2);
20226 if (arg3 == NULL) SWIG_fail;
20227 temp3 = True;
20228 }
20229 if (obj3) {
20230 {
20231 arg4 = &temp4;
20232 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20233 }
20234 }
20235 if (obj4) {
20236 {
20237 arg5 = &temp5;
20238 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20239 }
20240 }
20241 if (obj6) {
20242 {
20243 arg7 = wxString_in_helper(obj6);
20244 if (arg7 == NULL) SWIG_fail;
20245 temp7 = True;
20246 }
20247 }
20248 {
20249 PyThreadState* __tstate = wxPyBeginAllowThreads();
20250 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20251
20252 wxPyEndAllowThreads(__tstate);
20253 if (PyErr_Occurred()) SWIG_fail;
20254 }
20255 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewFrame, 1);
20256 {
20257 if (temp3)
20258 delete arg3;
20259 }
20260 {
20261 if (temp7)
20262 delete arg7;
20263 }
20264 return resultobj;
20265 fail:
20266 {
20267 if (temp3)
20268 delete arg3;
20269 }
20270 {
20271 if (temp7)
20272 delete arg7;
20273 }
20274 return NULL;
20275 }
20276
20277
20278 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20279 PyObject *resultobj;
20280 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 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:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,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_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20309 PyObject *resultobj;
20310 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20311 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20312 PyObject * obj0 = 0 ;
20313 PyObject * obj1 = 0 ;
20314 char *kwnames[] = {
20315 (char *) "self",(char *) "canvas", NULL
20316 };
20317
20318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
20319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20320 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20321 {
20322 PyThreadState* __tstate = wxPyBeginAllowThreads();
20323 (arg1)->SetPreviewCanvas(arg2);
20324
20325 wxPyEndAllowThreads(__tstate);
20326 if (PyErr_Occurred()) SWIG_fail;
20327 }
20328 Py_INCREF(Py_None); resultobj = Py_None;
20329 return resultobj;
20330 fail:
20331 return NULL;
20332 }
20333
20334
20335 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20336 PyObject *resultobj;
20337 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20338 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
20339 PyObject * obj0 = 0 ;
20340 PyObject * obj1 = 0 ;
20341 char *kwnames[] = {
20342 (char *) "self",(char *) "bar", NULL
20343 };
20344
20345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
20346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20347 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20348 {
20349 PyThreadState* __tstate = wxPyBeginAllowThreads();
20350 (arg1)->SetControlBar(arg2);
20351
20352 wxPyEndAllowThreads(__tstate);
20353 if (PyErr_Occurred()) SWIG_fail;
20354 }
20355 Py_INCREF(Py_None); resultobj = Py_None;
20356 return resultobj;
20357 fail:
20358 return NULL;
20359 }
20360
20361
20362 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
20363 PyObject *resultobj;
20364 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20365 PyObject * obj0 = 0 ;
20366 char *kwnames[] = {
20367 (char *) "self", NULL
20368 };
20369
20370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
20371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20372 {
20373 PyThreadState* __tstate = wxPyBeginAllowThreads();
20374 (arg1)->base_Initialize();
20375
20376 wxPyEndAllowThreads(__tstate);
20377 if (PyErr_Occurred()) SWIG_fail;
20378 }
20379 Py_INCREF(Py_None); resultobj = Py_None;
20380 return resultobj;
20381 fail:
20382 return NULL;
20383 }
20384
20385
20386 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20387 PyObject *resultobj;
20388 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20389 PyObject * obj0 = 0 ;
20390 char *kwnames[] = {
20391 (char *) "self", NULL
20392 };
20393
20394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
20395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20396 {
20397 PyThreadState* __tstate = wxPyBeginAllowThreads();
20398 (arg1)->base_CreateCanvas();
20399
20400 wxPyEndAllowThreads(__tstate);
20401 if (PyErr_Occurred()) SWIG_fail;
20402 }
20403 Py_INCREF(Py_None); resultobj = Py_None;
20404 return resultobj;
20405 fail:
20406 return NULL;
20407 }
20408
20409
20410 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20411 PyObject *resultobj;
20412 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20413 PyObject * obj0 = 0 ;
20414 char *kwnames[] = {
20415 (char *) "self", NULL
20416 };
20417
20418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
20419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20420 {
20421 PyThreadState* __tstate = wxPyBeginAllowThreads();
20422 (arg1)->base_CreateControlBar();
20423
20424 wxPyEndAllowThreads(__tstate);
20425 if (PyErr_Occurred()) SWIG_fail;
20426 }
20427 Py_INCREF(Py_None); resultobj = Py_None;
20428 return resultobj;
20429 fail:
20430 return NULL;
20431 }
20432
20433
20434 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
20435 PyObject *obj;
20436 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20437 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
20438 Py_INCREF(obj);
20439 return Py_BuildValue((char *)"");
20440 }
20441 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20442 PyObject *resultobj;
20443 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20444 long arg2 ;
20445 wxWindow *arg3 = (wxWindow *) 0 ;
20446 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20447 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20448 wxSize const &arg5_defvalue = wxDefaultSize ;
20449 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20450 long arg6 = (long) 0 ;
20451 wxString const &arg7_defvalue = wxPyPanelNameStr ;
20452 wxString *arg7 = (wxString *) &arg7_defvalue ;
20453 wxPyPreviewControlBar *result;
20454 wxPoint temp4 ;
20455 wxSize temp5 ;
20456 bool temp7 = False ;
20457 PyObject * obj0 = 0 ;
20458 PyObject * obj2 = 0 ;
20459 PyObject * obj3 = 0 ;
20460 PyObject * obj4 = 0 ;
20461 PyObject * obj6 = 0 ;
20462 char *kwnames[] = {
20463 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20464 };
20465
20466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PyPreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20468 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20469 if (obj3) {
20470 {
20471 arg4 = &temp4;
20472 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20473 }
20474 }
20475 if (obj4) {
20476 {
20477 arg5 = &temp5;
20478 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20479 }
20480 }
20481 if (obj6) {
20482 {
20483 arg7 = wxString_in_helper(obj6);
20484 if (arg7 == NULL) SWIG_fail;
20485 temp7 = True;
20486 }
20487 }
20488 {
20489 PyThreadState* __tstate = wxPyBeginAllowThreads();
20490 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20491
20492 wxPyEndAllowThreads(__tstate);
20493 if (PyErr_Occurred()) SWIG_fail;
20494 }
20495 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewControlBar, 1);
20496 {
20497 if (temp7)
20498 delete arg7;
20499 }
20500 return resultobj;
20501 fail:
20502 {
20503 if (temp7)
20504 delete arg7;
20505 }
20506 return NULL;
20507 }
20508
20509
20510 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20511 PyObject *resultobj;
20512 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20513 PyObject *arg2 = (PyObject *) 0 ;
20514 PyObject *arg3 = (PyObject *) 0 ;
20515 PyObject * obj0 = 0 ;
20516 PyObject * obj1 = 0 ;
20517 PyObject * obj2 = 0 ;
20518 char *kwnames[] = {
20519 (char *) "self",(char *) "self",(char *) "_class", NULL
20520 };
20521
20522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20524 arg2 = obj1;
20525 arg3 = obj2;
20526 {
20527 PyThreadState* __tstate = wxPyBeginAllowThreads();
20528 (arg1)->_setCallbackInfo(arg2,arg3);
20529
20530 wxPyEndAllowThreads(__tstate);
20531 if (PyErr_Occurred()) SWIG_fail;
20532 }
20533 Py_INCREF(Py_None); resultobj = Py_None;
20534 return resultobj;
20535 fail:
20536 return NULL;
20537 }
20538
20539
20540 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20541 PyObject *resultobj;
20542 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20543 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
20544 PyObject * obj0 = 0 ;
20545 PyObject * obj1 = 0 ;
20546 char *kwnames[] = {
20547 (char *) "self",(char *) "preview", NULL
20548 };
20549
20550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
20551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20552 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20553 {
20554 PyThreadState* __tstate = wxPyBeginAllowThreads();
20555 (arg1)->SetPrintPreview(arg2);
20556
20557 wxPyEndAllowThreads(__tstate);
20558 if (PyErr_Occurred()) SWIG_fail;
20559 }
20560 Py_INCREF(Py_None); resultobj = Py_None;
20561 return resultobj;
20562 fail:
20563 return NULL;
20564 }
20565
20566
20567 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
20568 PyObject *resultobj;
20569 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20570 PyObject * obj0 = 0 ;
20571 char *kwnames[] = {
20572 (char *) "self", NULL
20573 };
20574
20575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
20576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20577 {
20578 PyThreadState* __tstate = wxPyBeginAllowThreads();
20579 (arg1)->base_CreateButtons();
20580
20581 wxPyEndAllowThreads(__tstate);
20582 if (PyErr_Occurred()) SWIG_fail;
20583 }
20584 Py_INCREF(Py_None); resultobj = Py_None;
20585 return resultobj;
20586 fail:
20587 return NULL;
20588 }
20589
20590
20591 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
20592 PyObject *resultobj;
20593 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20594 int arg2 ;
20595 PyObject * obj0 = 0 ;
20596 char *kwnames[] = {
20597 (char *) "self",(char *) "zoom", NULL
20598 };
20599
20600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
20601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20602 {
20603 PyThreadState* __tstate = wxPyBeginAllowThreads();
20604 (arg1)->base_SetZoomControl(arg2);
20605
20606 wxPyEndAllowThreads(__tstate);
20607 if (PyErr_Occurred()) SWIG_fail;
20608 }
20609 Py_INCREF(Py_None); resultobj = Py_None;
20610 return resultobj;
20611 fail:
20612 return NULL;
20613 }
20614
20615
20616 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
20617 PyObject *obj;
20618 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20619 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
20620 Py_INCREF(obj);
20621 return Py_BuildValue((char *)"");
20622 }
20623 static PyMethodDef SwigMethods[] = {
20624 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
20625 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
20626 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
20627 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
20628 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
20629 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20630 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20631 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
20632 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
20633 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
20634 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
20635 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
20636 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
20637 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
20638 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
20639 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
20640 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
20641 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
20642 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
20643 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
20644 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
20645 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
20646 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
20647 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
20648 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
20649 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
20650 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
20651 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
20652 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
20653 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
20654 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
20655 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
20656 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
20657 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
20658 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
20659 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
20660 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
20661 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
20662 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
20663 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
20664 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
20665 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
20666 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
20667 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
20668 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
20669 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
20670 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
20671 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
20672 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
20673 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
20674 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
20675 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
20676 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
20677 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
20678 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
20679 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
20680 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
20681 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
20682 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
20683 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
20684 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
20685 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
20686 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
20687 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
20688 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
20689 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
20690 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
20691 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
20692 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
20693 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
20694 { (char *)"Dialog_SetModal", (PyCFunction) _wrap_Dialog_SetModal, METH_VARARGS | METH_KEYWORDS },
20695 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
20696 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20697 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
20698 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS },
20699 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
20700 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
20701 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
20702 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
20703 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
20704 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
20705 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
20706 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
20707 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
20708 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
20709 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
20710 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
20711 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
20712 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
20713 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
20714 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
20715 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
20716 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
20717 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
20718 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
20719 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
20720 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
20721 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
20722 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
20723 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
20724 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
20725 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
20726 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
20727 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
20728 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
20729 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
20730 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
20731 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
20732 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
20733 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
20734 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
20735 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
20736 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
20737 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
20738 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
20739 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
20740 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
20741 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
20742 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
20743 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
20744 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
20745 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
20746 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
20747 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
20748 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
20749 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
20750 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
20751 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
20752 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
20753 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
20754 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
20755 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
20756 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
20757 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
20758 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
20759 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
20760 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
20761 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
20762 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
20763 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
20764 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
20765 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
20766 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
20767 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
20768 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
20769 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
20770 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
20771 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
20772 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
20773 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
20774 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
20775 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
20776 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
20777 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
20778 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
20779 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
20780 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
20781 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
20782 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
20783 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
20784 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
20785 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
20786 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
20787 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
20788 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
20789 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
20790 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
20791 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
20792 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
20793 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
20794 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
20795 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
20796 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
20797 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
20798 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
20799 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
20800 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
20801 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
20802 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
20803 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
20804 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
20805 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
20806 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
20807 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
20808 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
20809 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
20810 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
20811 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
20812 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
20813 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
20814 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
20815 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
20816 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
20817 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
20818 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
20819 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
20820 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
20821 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
20822 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
20823 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
20824 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
20825 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
20826 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
20827 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
20828 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
20829 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
20830 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
20831 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
20832 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
20833 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
20834 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
20835 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
20836 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
20837 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
20838 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
20839 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
20840 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20841 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20842 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
20843 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
20844 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
20845 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
20846 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
20847 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
20848 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
20849 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
20850 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
20851 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
20852 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
20853 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
20854 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
20855 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
20856 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
20857 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
20858 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
20859 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
20860 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
20861 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
20862 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
20863 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
20864 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
20865 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
20866 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
20867 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
20868 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
20869 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
20870 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
20871 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
20872 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
20873 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
20874 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
20875 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
20876 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
20877 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
20878 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
20879 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
20880 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
20881 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
20882 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
20883 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
20884 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
20885 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
20886 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
20887 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
20888 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
20889 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
20890 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
20891 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
20892 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
20893 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS },
20894 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
20895 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
20896 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
20897 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
20898 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
20899 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
20900 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
20901 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
20902 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
20903 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
20904 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
20905 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
20906 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
20907 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
20908 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
20909 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
20910 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
20911 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
20912 { (char *)"ColourDialog_ShowModal", (PyCFunction) _wrap_ColourDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20913 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
20914 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
20915 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
20916 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
20917 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
20918 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
20919 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
20920 { (char *)"DirDialog_ShowModal", (PyCFunction) _wrap_DirDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20921 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
20922 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
20923 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
20924 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
20925 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
20926 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
20927 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
20928 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
20929 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
20930 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
20931 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
20932 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
20933 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
20934 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
20935 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
20936 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
20937 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
20938 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
20939 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
20940 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
20941 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
20942 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
20943 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
20944 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
20945 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
20946 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
20947 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
20948 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction) _wrap_SingleChoiceDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20949 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
20950 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
20951 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
20952 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
20953 { (char *)"TextEntryDialog_ShowModal", (PyCFunction) _wrap_TextEntryDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20954 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
20955 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
20956 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
20957 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
20958 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
20959 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
20960 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
20961 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
20962 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
20963 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
20964 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
20965 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
20966 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
20967 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
20968 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
20969 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
20970 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
20971 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
20972 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
20973 { (char *)"FontDialog_ShowModal", (PyCFunction) _wrap_FontDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20974 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
20975 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
20976 { (char *)"MessageDialog_ShowModal", (PyCFunction) _wrap_MessageDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20977 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
20978 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
20979 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
20980 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
20981 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
20982 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
20983 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
20984 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
20985 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
20986 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
20987 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
20988 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
20989 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
20990 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
20991 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
20992 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
20993 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
20994 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
20995 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
20996 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
20997 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
20998 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
20999 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
21000 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21001 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21002 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
21003 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
21004 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
21005 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
21006 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21007 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21008 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
21009 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
21010 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
21011 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
21012 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
21013 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
21014 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
21015 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
21016 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
21017 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
21018 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21019 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21020 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
21021 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
21022 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
21023 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
21024 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
21025 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21026 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21027 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
21028 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
21029 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
21030 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21031 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21032 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21033 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21034 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21035 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21036 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21037 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21038 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21039 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21040 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21041 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21042 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21043 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
21044 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21045 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21046 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21047 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21048 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21049 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
21050 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
21051 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21052 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21053 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21054 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21055 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21056 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21057 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21058 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21059 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21060 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21061 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21062 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21063 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21064 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
21065 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21066 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21067 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21068 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21069 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21070 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
21071 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
21072 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
21073 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21074 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21075 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21076 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
21077 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
21078 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
21079 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
21080 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21081 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21082 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
21083 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21084 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21085 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21086 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
21087 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
21088 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
21089 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21090 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21091 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
21092 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21093 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21094 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21095 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
21096 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21097 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21098 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21099 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21100 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21101 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
21102 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21103 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21104 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21105 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
21106 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21107 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21108 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21109 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
21110 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21111 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21112 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
21113 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
21114 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
21115 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21116 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21117 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21118 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
21119 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
21120 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
21121 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
21122 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21123 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
21124 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
21125 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
21126 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
21127 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21128 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21129 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21130 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21131 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21132 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21133 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21134 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21135 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21136 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21137 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21138 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21139 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21140 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21141 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21142 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21143 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21144 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21145 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21146 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
21147 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
21148 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
21149 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21150 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
21151 { (char *)"new_PrintDialogData", (PyCFunction) _wrap_new_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21152 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21153 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
21154 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
21155 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21156 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21157 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21158 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
21159 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
21160 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21161 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21162 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21163 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
21164 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
21165 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
21166 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
21167 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21168 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
21169 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
21170 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21171 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21172 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21173 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21174 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
21175 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21176 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21177 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21178 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
21179 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21180 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21181 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21182 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21183 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21184 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
21185 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21186 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21187 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
21188 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21189 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
21190 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
21191 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
21192 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
21193 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21194 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
21195 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21196 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
21197 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
21198 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
21199 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
21200 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
21201 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
21202 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21203 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
21204 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
21205 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
21206 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
21207 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
21208 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21209 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21210 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21211 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21212 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21213 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21214 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
21215 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
21216 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
21217 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
21218 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
21219 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
21220 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
21221 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
21222 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
21223 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
21224 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21225 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
21226 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
21227 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
21228 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21229 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21230 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
21231 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
21232 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21233 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
21234 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21235 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21236 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
21237 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
21238 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
21239 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
21240 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
21241 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
21242 { (char *)"new_PrintPreview", (PyCFunction) _wrap_new_PrintPreview, METH_VARARGS | METH_KEYWORDS },
21243 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21244 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21245 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
21246 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
21247 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
21248 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
21249 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
21250 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
21251 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
21252 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
21253 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21254 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
21255 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
21256 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21257 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
21258 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
21259 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21260 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21261 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
21262 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
21263 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
21264 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21265 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
21266 { (char *)"new_PyPrintPreview", (PyCFunction) _wrap_new_PyPrintPreview, METH_VARARGS | METH_KEYWORDS },
21267 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21268 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21269 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
21270 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21271 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
21272 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
21273 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
21274 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21275 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
21276 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
21277 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21278 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21279 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
21280 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
21281 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21282 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21283 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
21284 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21285 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21286 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21287 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
21288 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21289 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
21290 { NULL, NULL }
21291 };
21292
21293
21294 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21295
21296 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
21297 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21298 }
21299 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
21300 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
21301 }
21302 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
21303 return (void *)((wxEvent *) ((wxMenuEvent *) x));
21304 }
21305 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
21306 return (void *)((wxEvent *) ((wxCloseEvent *) x));
21307 }
21308 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
21309 return (void *)((wxEvent *) ((wxMouseEvent *) x));
21310 }
21311 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
21312 return (void *)((wxEvent *) ((wxEraseEvent *) x));
21313 }
21314 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
21315 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
21316 }
21317 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
21318 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
21319 }
21320 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
21321 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
21322 }
21323 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
21324 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
21325 }
21326 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
21327 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
21328 }
21329 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
21330 return (void *)((wxEvent *) ((wxPyEvent *) x));
21331 }
21332 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
21333 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
21334 }
21335 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
21336 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
21337 }
21338 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
21339 return (void *)((wxEvent *) ((wxIdleEvent *) x));
21340 }
21341 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
21342 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
21343 }
21344 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
21345 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
21346 }
21347 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
21348 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
21349 }
21350 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
21351 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
21352 }
21353 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
21354 return (void *)((wxEvent *) ((wxActivateEvent *) x));
21355 }
21356 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
21357 return (void *)((wxEvent *) ((wxSizeEvent *) x));
21358 }
21359 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
21360 return (void *)((wxEvent *) ((wxMoveEvent *) x));
21361 }
21362 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
21363 return (void *)((wxEvent *) ((wxPaintEvent *) x));
21364 }
21365 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
21366 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
21367 }
21368 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
21369 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
21370 }
21371 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
21372 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
21373 }
21374 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
21375 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
21376 }
21377 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
21378 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21379 }
21380 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
21381 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
21382 }
21383 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
21384 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
21385 }
21386 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
21387 return (void *)((wxEvent *) ((wxFocusEvent *) x));
21388 }
21389 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
21390 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
21391 }
21392 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
21393 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
21394 }
21395 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
21396 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
21397 }
21398 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
21399 return (void *)((wxEvent *) ((wxShowEvent *) x));
21400 }
21401 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
21402 return (void *)((wxEvent *) ((wxCommandEvent *) x));
21403 }
21404 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
21405 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
21406 }
21407 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
21408 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21409 }
21410 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
21411 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
21412 }
21413 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
21414 return (void *)((wxEvent *) ((wxKeyEvent *) x));
21415 }
21416 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
21417 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
21418 }
21419 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
21420 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
21421 }
21422 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
21423 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
21424 }
21425 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
21426 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
21427 }
21428 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
21429 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
21430 }
21431 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
21432 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
21433 }
21434 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
21435 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
21436 }
21437 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
21438 return (void *)((wxEvtHandler *) ((wxValidator *) x));
21439 }
21440 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
21441 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
21442 }
21443 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
21444 return (void *)((wxEvtHandler *) ((wxMenu *) x));
21445 }
21446 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
21447 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
21448 }
21449 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
21450 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
21451 }
21452 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
21453 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
21454 }
21455 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
21456 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
21457 }
21458 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
21459 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
21460 }
21461 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
21462 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
21463 }
21464 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
21465 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
21466 }
21467 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
21468 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
21469 }
21470 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
21471 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
21472 }
21473 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
21474 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
21475 }
21476 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
21477 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
21478 }
21479 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
21480 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
21481 }
21482 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
21483 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
21484 }
21485 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
21486 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
21487 }
21488 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
21489 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
21490 }
21491 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
21492 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
21493 }
21494 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
21495 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
21496 }
21497 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
21498 return (void *)((wxEvtHandler *) ((wxWindow *) x));
21499 }
21500 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
21501 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
21502 }
21503 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
21504 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
21505 }
21506 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
21507 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
21508 }
21509 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
21510 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
21511 }
21512 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
21513 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
21514 }
21515 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
21516 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21517 }
21518 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
21519 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
21520 }
21521 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
21522 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
21523 }
21524 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
21525 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
21526 }
21527 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
21528 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
21529 }
21530 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
21531 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
21532 }
21533 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
21534 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
21535 }
21536 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
21537 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
21538 }
21539 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
21540 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
21541 }
21542 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
21543 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
21544 }
21545 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
21546 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
21547 }
21548 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
21549 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
21550 }
21551 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
21552 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
21553 }
21554 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
21555 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
21556 }
21557 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
21558 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
21559 }
21560 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
21561 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
21562 }
21563 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
21564 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
21565 }
21566 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
21567 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
21568 }
21569 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
21570 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
21571 }
21572 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
21573 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
21574 }
21575 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
21576 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
21577 }
21578 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
21579 return (void *)((wxFrame *) ((wxProgressDialog *) x));
21580 }
21581 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
21582 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
21583 }
21584 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
21585 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21586 }
21587 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
21588 return (void *)((wxFrame *) ((wxMiniFrame *) x));
21589 }
21590 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
21591 return (void *)((wxFrame *) ((wxSplashScreen *) x));
21592 }
21593 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
21594 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
21595 }
21596 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
21597 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
21598 }
21599 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
21600 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
21601 }
21602 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
21603 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
21604 }
21605 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
21606 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21607 }
21608 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
21609 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
21610 }
21611 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
21612 return (void *)((wxObject *) ((wxSizerItem *) x));
21613 }
21614 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
21615 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
21616 }
21617 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
21618 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
21619 }
21620 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
21621 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
21622 }
21623 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
21624 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
21625 }
21626 static void *_p_wxSizerTo_p_wxObject(void *x) {
21627 return (void *)((wxObject *) ((wxSizer *) x));
21628 }
21629 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
21630 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
21631 }
21632 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
21633 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
21634 }
21635 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
21636 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
21637 }
21638 static void *_p_wxEventTo_p_wxObject(void *x) {
21639 return (void *)((wxObject *) ((wxEvent *) x));
21640 }
21641 static void *_p_wxFontDataTo_p_wxObject(void *x) {
21642 return (void *)((wxObject *) ((wxFontData *) x));
21643 }
21644 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
21645 return (void *)((wxObject *) ((wxPrintData *) x));
21646 }
21647 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
21648 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
21649 }
21650 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
21651 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
21652 }
21653 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
21654 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
21655 }
21656 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
21657 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
21658 }
21659 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
21660 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
21661 }
21662 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
21663 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
21664 }
21665 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
21666 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
21667 }
21668 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
21669 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
21670 }
21671 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
21672 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
21673 }
21674 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
21675 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
21676 }
21677 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
21678 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21679 }
21680 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
21681 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
21682 }
21683 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
21684 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
21685 }
21686 static void *_p_wxControlTo_p_wxObject(void *x) {
21687 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
21688 }
21689 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
21690 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
21691 }
21692 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
21693 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
21694 }
21695 static void *_p_wxFSFileTo_p_wxObject(void *x) {
21696 return (void *)((wxObject *) ((wxFSFile *) x));
21697 }
21698 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
21699 return (void *)((wxObject *) ((wxFindReplaceData *) x));
21700 }
21701 static void *_p_wxPySizerTo_p_wxObject(void *x) {
21702 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
21703 }
21704 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
21705 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
21706 }
21707 static void *_p_wxColourDataTo_p_wxObject(void *x) {
21708 return (void *)((wxObject *) ((wxColourData *) x));
21709 }
21710 static void *_p_wxPyEventTo_p_wxObject(void *x) {
21711 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
21712 }
21713 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
21714 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
21715 }
21716 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
21717 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
21718 }
21719 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
21720 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
21721 }
21722 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
21723 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
21724 }
21725 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
21726 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
21727 }
21728 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
21729 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
21730 }
21731 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
21732 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
21733 }
21734 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
21735 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
21736 }
21737 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
21738 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
21739 }
21740 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
21741 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
21742 }
21743 static void *_p_wxShowEventTo_p_wxObject(void *x) {
21744 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
21745 }
21746 static void *_p_wxPrinterTo_p_wxObject(void *x) {
21747 return (void *)((wxObject *) ((wxPrinter *) x));
21748 }
21749 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
21750 return (void *)((wxObject *) ((wxMenuItem *) x));
21751 }
21752 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
21753 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
21754 }
21755 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
21756 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
21757 }
21758 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
21759 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
21760 }
21761 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
21762 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
21763 }
21764 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
21765 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
21766 }
21767 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
21768 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
21769 }
21770 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
21771 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
21772 }
21773 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
21774 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
21775 }
21776 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
21777 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
21778 }
21779 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
21780 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
21781 }
21782 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
21783 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
21784 }
21785 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
21786 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
21787 }
21788 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
21789 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
21790 }
21791 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
21792 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
21793 }
21794 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
21795 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
21796 }
21797 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
21798 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
21799 }
21800 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
21801 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
21802 }
21803 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
21804 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
21805 }
21806 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
21807 return (void *)((wxObject *) ((wxImageHandler *) x));
21808 }
21809 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
21810 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
21811 }
21812 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
21813 return (void *)((wxObject *) ((wxEvtHandler *) x));
21814 }
21815 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
21816 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
21817 }
21818 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
21819 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
21820 }
21821 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
21822 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
21823 }
21824 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
21825 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
21826 }
21827 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
21828 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
21829 }
21830 static void *_p_wxImageTo_p_wxObject(void *x) {
21831 return (void *)((wxObject *) ((wxImage *) x));
21832 }
21833 static void *_p_wxFrameTo_p_wxObject(void *x) {
21834 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
21835 }
21836 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
21837 return (void *)((wxObject *) ((wxPyPrintout *) x));
21838 }
21839 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
21840 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
21841 }
21842 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
21843 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
21844 }
21845 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
21846 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
21847 }
21848 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
21849 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
21850 }
21851 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
21852 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21853 }
21854 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
21855 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
21856 }
21857 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
21858 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
21859 }
21860 static void *_p_wxWindowTo_p_wxObject(void *x) {
21861 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
21862 }
21863 static void *_p_wxMenuTo_p_wxObject(void *x) {
21864 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
21865 }
21866 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
21867 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
21868 }
21869 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
21870 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
21871 }
21872 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
21873 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
21874 }
21875 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
21876 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
21877 }
21878 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
21879 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
21880 }
21881 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
21882 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
21883 }
21884 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
21885 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
21886 }
21887 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
21888 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
21889 }
21890 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
21891 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
21892 }
21893 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
21894 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
21895 }
21896 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
21897 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
21898 }
21899 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
21900 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
21901 }
21902 static void *_p_wxSashEventTo_p_wxObject(void *x) {
21903 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
21904 }
21905 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
21906 return (void *)((wxObject *) ((wxPrintPreview *) x));
21907 }
21908 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
21909 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
21910 }
21911 static void *_p_wxPanelTo_p_wxObject(void *x) {
21912 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
21913 }
21914 static void *_p_wxDialogTo_p_wxObject(void *x) {
21915 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
21916 }
21917 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
21918 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
21919 }
21920 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
21921 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
21922 }
21923 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
21924 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
21925 }
21926 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
21927 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
21928 }
21929 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
21930 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
21931 }
21932 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
21933 return (void *)((wxObject *) ((wxFileSystem *) x));
21934 }
21935 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
21936 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
21937 }
21938 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
21939 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
21940 }
21941 static void *_p_wxPyAppTo_p_wxObject(void *x) {
21942 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
21943 }
21944 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
21945 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
21946 }
21947 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
21948 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
21949 }
21950 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
21951 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
21952 }
21953 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
21954 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
21955 }
21956 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
21957 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
21958 }
21959 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
21960 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
21961 }
21962 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
21963 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
21964 }
21965 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
21966 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
21967 }
21968 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
21969 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
21970 }
21971 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
21972 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
21973 }
21974 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
21975 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
21976 }
21977 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
21978 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
21979 }
21980 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
21981 return (void *)((wxObject *) ((wxPrintDialogData *) x));
21982 }
21983 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
21984 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
21985 }
21986 static void *_p_wxValidatorTo_p_wxObject(void *x) {
21987 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
21988 }
21989 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
21990 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
21991 }
21992 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
21993 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
21994 }
21995 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
21996 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
21997 }
21998 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
21999 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22000 }
22001 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
22002 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22003 }
22004 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
22005 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
22006 }
22007 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
22008 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
22009 }
22010 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
22011 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
22012 }
22013 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
22014 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
22015 }
22016 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
22017 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
22018 }
22019 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
22020 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
22021 }
22022 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
22023 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
22024 }
22025 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
22026 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
22027 }
22028 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
22029 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
22030 }
22031 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
22032 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
22033 }
22034 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
22035 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
22036 }
22037 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
22038 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
22039 }
22040 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
22041 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
22042 }
22043 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
22044 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
22045 }
22046 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
22047 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
22048 }
22049 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
22050 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
22051 }
22052 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22053 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
22054 }
22055 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22056 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
22057 }
22058 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
22059 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
22060 }
22061 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22062 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
22063 }
22064 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22065 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22066 }
22067 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
22068 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
22069 }
22070 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
22071 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
22072 }
22073 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
22074 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
22075 }
22076 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
22077 return (void *)((wxWindow *) ((wxMenuBar *) x));
22078 }
22079 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
22080 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
22081 }
22082 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
22083 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
22084 }
22085 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
22086 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
22087 }
22088 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
22089 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
22090 }
22091 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
22092 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
22093 }
22094 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
22095 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
22096 }
22097 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
22098 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
22099 }
22100 static void *_p_wxPanelTo_p_wxWindow(void *x) {
22101 return (void *)((wxWindow *) ((wxPanel *) x));
22102 }
22103 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
22104 return (void *)((wxWindow *) ((wxStatusBar *) x));
22105 }
22106 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
22107 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
22108 }
22109 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
22110 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
22111 }
22112 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
22113 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22114 }
22115 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
22116 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22117 }
22118 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
22119 return (void *)((wxWindow *) ((wxPopupWindow *) x));
22120 }
22121 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
22122 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
22123 }
22124 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
22125 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
22126 }
22127 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
22128 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
22129 }
22130 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
22131 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
22132 }
22133 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
22134 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
22135 }
22136 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
22137 return (void *)((wxWindow *) ((wxSashWindow *) x));
22138 }
22139 static void *_p_wxControlTo_p_wxWindow(void *x) {
22140 return (void *)((wxWindow *) ((wxControl *) x));
22141 }
22142 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
22143 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
22144 }
22145 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
22146 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22147 }
22148 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
22149 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
22150 }
22151 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
22152 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
22153 }
22154 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
22155 return (void *)((wxWindow *) ((wxPyWindow *) x));
22156 }
22157 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
22158 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
22159 }
22160 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
22161 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22162 }
22163 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
22164 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22165 }
22166 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
22167 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
22168 }
22169 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
22170 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22171 }
22172 static void *_p_wxFrameTo_p_wxWindow(void *x) {
22173 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
22174 }
22175 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
22176 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
22177 }
22178 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
22179 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
22180 }
22181 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
22182 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
22183 }
22184 static void *_p_wxDialogTo_p_wxWindow(void *x) {
22185 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
22186 }
22187 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
22188 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22189 }
22190 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
22191 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22192 }
22193 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
22194 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
22195 }
22196 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
22197 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
22198 }
22199 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
22200 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
22201 }
22202 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
22203 return (void *)((wxDialog *) ((wxColourDialog *) x));
22204 }
22205 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
22206 return (void *)((wxDialog *) ((wxDirDialog *) x));
22207 }
22208 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
22209 return (void *)((wxDialog *) ((wxFontDialog *) x));
22210 }
22211 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
22212 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
22213 }
22214 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
22215 return (void *)((wxDialog *) ((wxPrintDialog *) x));
22216 }
22217 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
22218 return (void *)((wxDialog *) ((wxFileDialog *) x));
22219 }
22220 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
22221 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
22222 }
22223 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
22224 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
22225 }
22226 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
22227 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
22228 }
22229 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
22230 return (void *)((wxDialog *) ((wxMessageDialog *) x));
22231 }
22232 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
22233 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
22234 }
22235 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
22236 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
22237 }
22238 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
22239 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
22240 }
22241 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
22242 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22243 }
22244 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
22245 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22246 }
22247 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
22248 return (void *)((wxPanel *) ((wxPyPanel *) x));
22249 }
22250 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
22251 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
22252 }
22253 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
22254 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
22255 }
22256 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
22257 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22258 }
22259 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
22260 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
22261 }
22262 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
22263 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
22264 }
22265 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
22266 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
22267 }
22268 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
22269 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
22270 }
22271 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
22272 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
22273 }
22274 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
22275 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22276 }
22277 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
22278 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
22279 }
22280 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
22281 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
22282 }
22283 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
22284 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
22285 }
22286 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
22287 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
22288 }
22289 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
22290 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
22291 }
22292 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
22293 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22294 }
22295 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
22296 static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame},{0}};
22297 static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
22298 static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
22299 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
22300 static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
22301 static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
22302 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}};
22303 static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
22304 static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
22305 static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
22306 static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
22307 static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
22308 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
22309 static swig_type_info _swigt__p_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
22310 static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
22311 static swig_type_info _swigt__p_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
22312 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
22313 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
22314 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
22315 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
22316 static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
22317 static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
22318 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent},{"_p_wxNotifyEvent"},{0}};
22319 static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
22320 static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
22321 static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
22322 static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
22323 static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
22324 static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
22325 static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
22326 static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
22327 static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
22328 static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
22329 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
22330 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}};
22331 static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
22332 static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
22333 static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox},{0}};
22334 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
22335 static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
22336 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}};
22337 static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
22338 static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
22339 static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
22340 static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
22341 static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
22342 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
22343 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}};
22344 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
22345 static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
22346 static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
22347 static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
22348 static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
22349 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}};
22350 static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow},{0}};
22351 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}};
22352 static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow},{0}};
22353 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}};
22354 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}};
22355 static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}};
22356 static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
22357 static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
22358 static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview},{0}};
22359 static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
22360 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
22361 static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
22362 static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
22363 static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
22364 static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
22365 static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
22366 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}};
22367 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}};
22368 static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
22369 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
22370 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}};
22371 static swig_type_info _swigt__p_wxPrintQuality[] = {{"_p_wxPrintQuality", 0, "wxPrintQuality *", 0},{"_p_wxPrintQuality"},{0}};
22372 static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar},{0}};
22373 static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
22374 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
22375 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
22376 static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
22377 static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
22378
22379 static swig_type_info *swig_types_initial[] = {
22380 _swigt__p_wxQueryLayoutInfoEvent,
22381 _swigt__p_wxPreviewFrame,
22382 _swigt__p_wxPyPreviewFrame,
22383 _swigt__p_wxPyPanel,
22384 _swigt__p_wxMenu,
22385 _swigt__p_wxPrintData,
22386 _swigt__p_wxFontData,
22387 _swigt__p_wxEvent,
22388 _swigt__p_wxTaskBarIcon,
22389 _swigt__p_wxIconBundle,
22390 _swigt__p_wxLayoutAlgorithm,
22391 _swigt__p_wxFindDialogEvent,
22392 _swigt__p_wxPreviewCanvas,
22393 _swigt__p_wxFont,
22394 _swigt__p_wxSplitterEvent,
22395 _swigt__p_wxRegion,
22396 _swigt__p_wxFindReplaceData,
22397 _swigt__p_int,
22398 _swigt__p_wxSize,
22399 _swigt__p_wxDC,
22400 _swigt__p_wxIcon,
22401 _swigt__p_wxMDIChildFrame,
22402 _swigt__p_wxColourData,
22403 _swigt__p_wxNotifyEvent,
22404 _swigt__p_wxPyWindow,
22405 _swigt__p_wxSplashScreen,
22406 _swigt__p_wxFindReplaceDialog,
22407 _swigt__p_wxProgressDialog,
22408 _swigt__p_wxMessageDialog,
22409 _swigt__p_wxTextEntryDialog,
22410 _swigt__p_wxSingleChoiceDialog,
22411 _swigt__p_wxMultiChoiceDialog,
22412 _swigt__p_wxFileDialog,
22413 _swigt__p_wxPrinter,
22414 _swigt__p_wxArrayInt,
22415 _swigt__p_wxEvtHandler,
22416 _swigt__p_wxCalculateLayoutEvent,
22417 _swigt__p_wxPyHtmlListBox,
22418 _swigt__p_wxPyVListBox,
22419 _swigt__p_wxRect,
22420 _swigt__p_wxMiniFrame,
22421 _swigt__p_wxFrame,
22422 _swigt__p_wxPyPrintout,
22423 _swigt__p_wxTaskBarIconEvent,
22424 _swigt__p_wxScrollWinEvent,
22425 _swigt__p_wxStatusBar,
22426 _swigt__p_wxMDIParentFrame,
22427 _swigt__p_wxPoint,
22428 _swigt__p_wxObject,
22429 _swigt__p_unsigned_long,
22430 _swigt__p_wxMDIClientWindow,
22431 _swigt__p_wxTipWindow,
22432 _swigt__p_wxSashLayoutWindow,
22433 _swigt__p_wxSplitterWindow,
22434 _swigt__p_wxPyVScrolledWindow,
22435 _swigt__p_wxPyPopupTransientWindow,
22436 _swigt__p_wxPopupWindow,
22437 _swigt__p_wxSashWindow,
22438 _swigt__p_wxTopLevelWindow,
22439 _swigt__p_wxWindow,
22440 _swigt__p_wxScrolledWindow,
22441 _swigt__p_wxSplashScreenWindow,
22442 _swigt__p_wxMenuBar,
22443 _swigt__p_wxPrintPreview,
22444 _swigt__p_wxSashEvent,
22445 _swigt__p_wxString,
22446 _swigt__p_wxPyPrintPreview,
22447 _swigt__p_wxPageSetupDialog,
22448 _swigt__p_wxFontDialog,
22449 _swigt__p_wxDirDialog,
22450 _swigt__p_wxColourDialog,
22451 _swigt__p_wxDialog,
22452 _swigt__p_wxPanel,
22453 _swigt__p_wxPrintDialog,
22454 _swigt__p_wxBitmap,
22455 _swigt__p_wxCommandEvent,
22456 _swigt__p_wxPrintQuality,
22457 _swigt__p_wxPreviewControlBar,
22458 _swigt__p_wxPyPreviewControlBar,
22459 _swigt__p_wxColour,
22460 _swigt__p_wxToolBar,
22461 _swigt__p_wxPageSetupDialogData,
22462 _swigt__p_wxPrintDialogData,
22463 0
22464 };
22465
22466
22467 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22468
22469 static swig_const_info swig_const_table[] = {
22470 { SWIG_PY_INT, (char *)"FULLSCREEN_NOMENUBAR", (long) wxFULLSCREEN_NOMENUBAR, 0, 0, 0},
22471 { SWIG_PY_INT, (char *)"FULLSCREEN_NOTOOLBAR", (long) wxFULLSCREEN_NOTOOLBAR, 0, 0, 0},
22472 { SWIG_PY_INT, (char *)"FULLSCREEN_NOSTATUSBAR", (long) wxFULLSCREEN_NOSTATUSBAR, 0, 0, 0},
22473 { SWIG_PY_INT, (char *)"FULLSCREEN_NOBORDER", (long) wxFULLSCREEN_NOBORDER, 0, 0, 0},
22474 { SWIG_PY_INT, (char *)"FULLSCREEN_NOCAPTION", (long) wxFULLSCREEN_NOCAPTION, 0, 0, 0},
22475 { SWIG_PY_INT, (char *)"FULLSCREEN_ALL", (long) wxFULLSCREEN_ALL, 0, 0, 0},
22476 { SWIG_PY_INT, (char *)"TOPLEVEL_EX_DIALOG", (long) wxTOPLEVEL_EX_DIALOG, 0, 0, 0},
22477 { SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_PARENT", (long) wxSPLASH_CENTRE_ON_PARENT, 0, 0, 0},
22478 { SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_SCREEN", (long) wxSPLASH_CENTRE_ON_SCREEN, 0, 0, 0},
22479 { SWIG_PY_INT, (char *)"SPLASH_NO_CENTRE", (long) wxSPLASH_NO_CENTRE, 0, 0, 0},
22480 { SWIG_PY_INT, (char *)"SPLASH_TIMEOUT", (long) wxSPLASH_TIMEOUT, 0, 0, 0},
22481 { SWIG_PY_INT, (char *)"SPLASH_NO_TIMEOUT", (long) wxSPLASH_NO_TIMEOUT, 0, 0, 0},
22482 { SWIG_PY_INT, (char *)"SP_NOBORDER", (long) wxSP_NOBORDER, 0, 0, 0},
22483 { SWIG_PY_INT, (char *)"SP_NOSASH", (long) wxSP_NOSASH, 0, 0, 0},
22484 { SWIG_PY_INT, (char *)"SP_PERMIT_UNSPLIT", (long) wxSP_PERMIT_UNSPLIT, 0, 0, 0},
22485 { SWIG_PY_INT, (char *)"SP_LIVE_UPDATE", (long) wxSP_LIVE_UPDATE, 0, 0, 0},
22486 { SWIG_PY_INT, (char *)"SP_3DSASH", (long) wxSP_3DSASH, 0, 0, 0},
22487 { SWIG_PY_INT, (char *)"SP_3DBORDER", (long) wxSP_3DBORDER, 0, 0, 0},
22488 { SWIG_PY_INT, (char *)"SP_BORDER", (long) wxSP_BORDER, 0, 0, 0},
22489 { SWIG_PY_INT, (char *)"SP_3D", (long) wxSP_3D, 0, 0, 0},
22490 { SWIG_PY_INT, (char *)"SPLIT_HORIZONTAL", (long) wxSPLIT_HORIZONTAL, 0, 0, 0},
22491 { SWIG_PY_INT, (char *)"SPLIT_VERTICAL", (long) wxSPLIT_VERTICAL, 0, 0, 0},
22492 { SWIG_PY_INT, (char *)"SPLIT_DRAG_NONE", (long) wxSPLIT_DRAG_NONE, 0, 0, 0},
22493 { SWIG_PY_INT, (char *)"SPLIT_DRAG_DRAGGING", (long) wxSPLIT_DRAG_DRAGGING, 0, 0, 0},
22494 { SWIG_PY_INT, (char *)"SPLIT_DRAG_LEFT_DOWN", (long) wxSPLIT_DRAG_LEFT_DOWN, 0, 0, 0},
22495 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, 0, 0, 0},
22496 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 0, 0, 0},
22497 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", (long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 0, 0, 0},
22498 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_UNSPLIT", (long) wxEVT_COMMAND_SPLITTER_UNSPLIT, 0, 0, 0},
22499 { SWIG_PY_INT, (char *)"SASH_DRAG_NONE", (long) wxSASH_DRAG_NONE, 0, 0, 0},
22500 { SWIG_PY_INT, (char *)"SASH_DRAG_DRAGGING", (long) wxSASH_DRAG_DRAGGING, 0, 0, 0},
22501 { SWIG_PY_INT, (char *)"SASH_DRAG_LEFT_DOWN", (long) wxSASH_DRAG_LEFT_DOWN, 0, 0, 0},
22502 { SWIG_PY_INT, (char *)"SW_NOBORDER", (long) wxSW_NOBORDER, 0, 0, 0},
22503 { SWIG_PY_INT, (char *)"SW_BORDER", (long) wxSW_BORDER, 0, 0, 0},
22504 { SWIG_PY_INT, (char *)"SW_3DSASH", (long) wxSW_3DSASH, 0, 0, 0},
22505 { SWIG_PY_INT, (char *)"SW_3DBORDER", (long) wxSW_3DBORDER, 0, 0, 0},
22506 { SWIG_PY_INT, (char *)"SW_3D", (long) wxSW_3D, 0, 0, 0},
22507 { SWIG_PY_INT, (char *)"SASH_TOP", (long) wxSASH_TOP, 0, 0, 0},
22508 { SWIG_PY_INT, (char *)"SASH_RIGHT", (long) wxSASH_RIGHT, 0, 0, 0},
22509 { SWIG_PY_INT, (char *)"SASH_BOTTOM", (long) wxSASH_BOTTOM, 0, 0, 0},
22510 { SWIG_PY_INT, (char *)"SASH_LEFT", (long) wxSASH_LEFT, 0, 0, 0},
22511 { SWIG_PY_INT, (char *)"SASH_NONE", (long) wxSASH_NONE, 0, 0, 0},
22512 { SWIG_PY_INT, (char *)"SASH_STATUS_OK", (long) wxSASH_STATUS_OK, 0, 0, 0},
22513 { SWIG_PY_INT, (char *)"SASH_STATUS_OUT_OF_RANGE", (long) wxSASH_STATUS_OUT_OF_RANGE, 0, 0, 0},
22514 { SWIG_PY_INT, (char *)"wxEVT_SASH_DRAGGED", (long) wxEVT_SASH_DRAGGED, 0, 0, 0},
22515 { SWIG_PY_INT, (char *)"LAYOUT_HORIZONTAL", (long) wxLAYOUT_HORIZONTAL, 0, 0, 0},
22516 { SWIG_PY_INT, (char *)"LAYOUT_VERTICAL", (long) wxLAYOUT_VERTICAL, 0, 0, 0},
22517 { SWIG_PY_INT, (char *)"LAYOUT_NONE", (long) wxLAYOUT_NONE, 0, 0, 0},
22518 { SWIG_PY_INT, (char *)"LAYOUT_TOP", (long) wxLAYOUT_TOP, 0, 0, 0},
22519 { SWIG_PY_INT, (char *)"LAYOUT_LEFT", (long) wxLAYOUT_LEFT, 0, 0, 0},
22520 { SWIG_PY_INT, (char *)"LAYOUT_RIGHT", (long) wxLAYOUT_RIGHT, 0, 0, 0},
22521 { SWIG_PY_INT, (char *)"LAYOUT_BOTTOM", (long) wxLAYOUT_BOTTOM, 0, 0, 0},
22522 { SWIG_PY_INT, (char *)"LAYOUT_LENGTH_Y", (long) wxLAYOUT_LENGTH_Y, 0, 0, 0},
22523 { SWIG_PY_INT, (char *)"LAYOUT_LENGTH_X", (long) wxLAYOUT_LENGTH_X, 0, 0, 0},
22524 { SWIG_PY_INT, (char *)"LAYOUT_MRU_LENGTH", (long) wxLAYOUT_MRU_LENGTH, 0, 0, 0},
22525 { SWIG_PY_INT, (char *)"LAYOUT_QUERY", (long) wxLAYOUT_QUERY, 0, 0, 0},
22526 { SWIG_PY_INT, (char *)"wxEVT_QUERY_LAYOUT_INFO", (long) wxEVT_QUERY_LAYOUT_INFO, 0, 0, 0},
22527 { SWIG_PY_INT, (char *)"wxEVT_CALCULATE_LAYOUT", (long) wxEVT_CALCULATE_LAYOUT, 0, 0, 0},
22528 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_MOVE", (long) wxEVT_TASKBAR_MOVE, 0, 0, 0},
22529 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DOWN", (long) wxEVT_TASKBAR_LEFT_DOWN, 0, 0, 0},
22530 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_UP", (long) wxEVT_TASKBAR_LEFT_UP, 0, 0, 0},
22531 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DOWN", (long) wxEVT_TASKBAR_RIGHT_DOWN, 0, 0, 0},
22532 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_UP", (long) wxEVT_TASKBAR_RIGHT_UP, 0, 0, 0},
22533 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DCLICK", (long) wxEVT_TASKBAR_LEFT_DCLICK, 0, 0, 0},
22534 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DCLICK", (long) wxEVT_TASKBAR_RIGHT_DCLICK, 0, 0, 0},
22535 { SWIG_PY_INT, (char *)"CHOICEDLG_STYLE", (long) wxCHOICEDLG_STYLE, 0, 0, 0},
22536 { SWIG_PY_INT, (char *)"FR_DOWN", (long) wxFR_DOWN, 0, 0, 0},
22537 { SWIG_PY_INT, (char *)"FR_WHOLEWORD", (long) wxFR_WHOLEWORD, 0, 0, 0},
22538 { SWIG_PY_INT, (char *)"FR_MATCHCASE", (long) wxFR_MATCHCASE, 0, 0, 0},
22539 { SWIG_PY_INT, (char *)"FR_REPLACEDIALOG", (long) wxFR_REPLACEDIALOG, 0, 0, 0},
22540 { SWIG_PY_INT, (char *)"FR_NOUPDOWN", (long) wxFR_NOUPDOWN, 0, 0, 0},
22541 { SWIG_PY_INT, (char *)"FR_NOMATCHCASE", (long) wxFR_NOMATCHCASE, 0, 0, 0},
22542 { SWIG_PY_INT, (char *)"FR_NOWHOLEWORD", (long) wxFR_NOWHOLEWORD, 0, 0, 0},
22543 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND", (long) wxEVT_COMMAND_FIND, 0, 0, 0},
22544 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_NEXT", (long) wxEVT_COMMAND_FIND_NEXT, 0, 0, 0},
22545 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE", (long) wxEVT_COMMAND_FIND_REPLACE, 0, 0, 0},
22546 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE_ALL", (long) wxEVT_COMMAND_FIND_REPLACE_ALL, 0, 0, 0},
22547 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_CLOSE", (long) wxEVT_COMMAND_FIND_CLOSE, 0, 0, 0},
22548 { SWIG_PY_INT, (char *)"IDM_WINDOWTILE", (long) 4001, 0, 0, 0},
22549 { SWIG_PY_INT, (char *)"IDM_WINDOWTILEHOR", (long) 4001, 0, 0, 0},
22550 { SWIG_PY_INT, (char *)"IDM_WINDOWCASCADE", (long) 4002, 0, 0, 0},
22551 { SWIG_PY_INT, (char *)"IDM_WINDOWICONS", (long) 4003, 0, 0, 0},
22552 { SWIG_PY_INT, (char *)"IDM_WINDOWNEXT", (long) 4004, 0, 0, 0},
22553 { SWIG_PY_INT, (char *)"IDM_WINDOWTILEVERT", (long) 4005, 0, 0, 0},
22554 { SWIG_PY_INT, (char *)"FIRST_MDI_CHILD", (long) 4100, 0, 0, 0},
22555 { SWIG_PY_INT, (char *)"LAST_MDI_CHILD", (long) 4600, 0, 0, 0},
22556 { SWIG_PY_INT, (char *)"PRINT_MODE_NONE", (long) wxPRINT_MODE_NONE, 0, 0, 0},
22557 { SWIG_PY_INT, (char *)"PRINT_MODE_PREVIEW", (long) wxPRINT_MODE_PREVIEW, 0, 0, 0},
22558 { SWIG_PY_INT, (char *)"PRINT_MODE_FILE", (long) wxPRINT_MODE_FILE, 0, 0, 0},
22559 { SWIG_PY_INT, (char *)"PRINT_MODE_PRINTER", (long) wxPRINT_MODE_PRINTER, 0, 0, 0},
22560 { SWIG_PY_INT, (char *)"PRINTER_NO_ERROR", (long) wxPRINTER_NO_ERROR, 0, 0, 0},
22561 { SWIG_PY_INT, (char *)"PRINTER_CANCELLED", (long) wxPRINTER_CANCELLED, 0, 0, 0},
22562 { SWIG_PY_INT, (char *)"PRINTER_ERROR", (long) wxPRINTER_ERROR, 0, 0, 0},
22563 { SWIG_PY_INT, (char *)"PREVIEW_PRINT", (long) wxPREVIEW_PRINT, 0, 0, 0},
22564 { SWIG_PY_INT, (char *)"PREVIEW_PREVIOUS", (long) wxPREVIEW_PREVIOUS, 0, 0, 0},
22565 { SWIG_PY_INT, (char *)"PREVIEW_NEXT", (long) wxPREVIEW_NEXT, 0, 0, 0},
22566 { SWIG_PY_INT, (char *)"PREVIEW_ZOOM", (long) wxPREVIEW_ZOOM, 0, 0, 0},
22567 { SWIG_PY_INT, (char *)"PREVIEW_FIRST", (long) wxPREVIEW_FIRST, 0, 0, 0},
22568 { SWIG_PY_INT, (char *)"PREVIEW_LAST", (long) wxPREVIEW_LAST, 0, 0, 0},
22569 { SWIG_PY_INT, (char *)"PREVIEW_GOTO", (long) wxPREVIEW_GOTO, 0, 0, 0},
22570 { SWIG_PY_INT, (char *)"PREVIEW_DEFAULT", (long) wxPREVIEW_DEFAULT, 0, 0, 0},
22571 { SWIG_PY_INT, (char *)"ID_PREVIEW_CLOSE", (long) wxID_PREVIEW_CLOSE, 0, 0, 0},
22572 { SWIG_PY_INT, (char *)"ID_PREVIEW_NEXT", (long) wxID_PREVIEW_NEXT, 0, 0, 0},
22573 { SWIG_PY_INT, (char *)"ID_PREVIEW_PREVIOUS", (long) wxID_PREVIEW_PREVIOUS, 0, 0, 0},
22574 { SWIG_PY_INT, (char *)"ID_PREVIEW_PRINT", (long) wxID_PREVIEW_PRINT, 0, 0, 0},
22575 { SWIG_PY_INT, (char *)"ID_PREVIEW_ZOOM", (long) wxID_PREVIEW_ZOOM, 0, 0, 0},
22576 { SWIG_PY_INT, (char *)"ID_PREVIEW_FIRST", (long) wxID_PREVIEW_FIRST, 0, 0, 0},
22577 { SWIG_PY_INT, (char *)"ID_PREVIEW_LAST", (long) wxID_PREVIEW_LAST, 0, 0, 0},
22578 { SWIG_PY_INT, (char *)"ID_PREVIEW_GOTO", (long) wxID_PREVIEW_GOTO, 0, 0, 0},
22579 {0}};
22580
22581 #ifdef __cplusplus
22582 }
22583 #endif
22584
22585 #ifdef __cplusplus
22586 extern "C"
22587 #endif
22588 SWIGEXPORT(void) SWIG_init(void) {
22589 static PyObject *SWIG_globals = 0;
22590 static int typeinit = 0;
22591 PyObject *m, *d;
22592 int i;
22593 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
22594 m = Py_InitModule((char *) SWIG_name, SwigMethods);
22595 d = PyModule_GetDict(m);
22596
22597 if (!typeinit) {
22598 for (i = 0; swig_types_initial[i]; i++) {
22599 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
22600 }
22601 typeinit = 1;
22602 }
22603 SWIG_InstallConstants(d,swig_const_table);
22604
22605 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
22606 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
22607 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
22608 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
22609 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
22610 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
22611 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
22612
22613 // Map renamed classes back to their common name for OOR
22614 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
22615 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
22616 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
22617
22618 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
22619 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
22620 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
22621 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
22622 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
22623 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
22624 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
22625 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
22626 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
22627 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
22628 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
22629 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
22630
22631 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
22632
22633 }
22634